@wildo-ai/dev-companion 1.1.10 → 1.1.11

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 (2355) hide show
  1. package/dist/esm/brand/models/accepted-brand-mark.models.d.ts.map +1 -1
  2. package/dist/esm/brand/models/accepted-brand-mark.models.js.map +1 -1
  3. package/dist/esm/brand/models/logo-creative-brief.schemas.d.ts.map +1 -1
  4. package/dist/esm/brand/models/logo-creative-brief.schemas.js.map +1 -1
  5. package/dist/esm/brand/models/logo-generation.actors-system.definitions.d.ts.map +1 -1
  6. package/dist/esm/brand/models/logo-generation.actors-system.definitions.js.map +1 -1
  7. package/dist/esm/brand/models/logo-judge.actors-system.definitions.d.ts.map +1 -1
  8. package/dist/esm/brand/models/logo-judge.actors-system.definitions.js.map +1 -1
  9. package/dist/esm/brand/models/logo-judge.schemas.d.ts.map +1 -1
  10. package/dist/esm/brand/models/logo-judge.schemas.js.map +1 -1
  11. package/dist/esm/brand/services/brand-accept.companion.service.d.ts.map +1 -1
  12. package/dist/esm/brand/services/brand-accept.companion.service.js.map +1 -1
  13. package/dist/esm/brand/services/brand-design.companion.utils.d.ts +169 -0
  14. package/dist/esm/brand/services/brand-design.companion.utils.d.ts.map +1 -0
  15. package/dist/esm/brand/services/brand-design.companion.utils.js +486 -0
  16. package/dist/esm/brand/services/brand-design.companion.utils.js.map +1 -0
  17. package/dist/esm/brand/services/brand-propagation.companion.utils.d.ts.map +1 -1
  18. package/dist/esm/brand/services/brand-propagation.companion.utils.js.map +1 -1
  19. package/dist/esm/brand/services/logo-deliberation.companion.service.d.ts.map +1 -1
  20. package/dist/esm/brand/services/logo-deliberation.companion.service.js +4 -0
  21. package/dist/esm/brand/services/logo-deliberation.companion.service.js.map +1 -1
  22. package/dist/esm/brand/services/logo-generation.companion.service.d.ts.map +1 -1
  23. package/dist/esm/brand/services/logo-generation.companion.service.js.map +1 -1
  24. package/dist/esm/brand/utils/derived-brand-assets.d.ts.map +1 -1
  25. package/dist/esm/brand/utils/derived-brand-assets.js.map +1 -1
  26. package/dist/esm/brand/utils/stage-brand-candidate.d.ts.map +1 -1
  27. package/dist/esm/brand/utils/stage-brand-candidate.js.map +1 -1
  28. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts +15 -0
  29. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts.map +1 -1
  30. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js.map +1 -1
  31. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts +47 -26
  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 +78 -22
  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.map +1 -1
  36. package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.js.map +1 -1
  37. package/dist/esm/claude-cli/models/coding-session-frame-retention.d.ts.map +1 -1
  38. package/dist/esm/claude-cli/models/coding-session-frame-retention.js.map +1 -1
  39. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts +2 -1
  40. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts.map +1 -1
  41. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js +2 -1
  42. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js.map +1 -1
  43. package/dist/esm/claude-cli/models/parked-question-answer.models.d.ts.map +1 -1
  44. package/dist/esm/claude-cli/models/parked-question-answer.models.js.map +1 -1
  45. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.d.ts.map +1 -1
  46. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.js.map +1 -1
  47. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts +1 -28
  48. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts.map +1 -1
  49. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js +35 -57
  50. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js.map +1 -1
  51. package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.d.ts.map +1 -1
  52. package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.js +2 -2
  53. package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.js.map +1 -1
  54. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +62 -1
  55. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts.map +1 -1
  56. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js +208 -23
  57. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -1
  58. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.d.ts.map +1 -1
  59. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.js.map +1 -1
  60. package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts.map +1 -1
  61. package/dist/esm/claude-cli/services/git-change-set.companion.service.js.map +1 -1
  62. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.d.ts.map +1 -1
  63. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.js +2 -1
  64. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.js.map +1 -1
  65. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts.map +1 -1
  66. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js +32 -2
  67. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js.map +1 -1
  68. package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts +18 -0
  69. package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts.map +1 -1
  70. package/dist/esm/claude-cli/services/research-evidence-store.companion.js +59 -0
  71. package/dist/esm/claude-cli/services/research-evidence-store.companion.js.map +1 -1
  72. package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.d.ts.map +1 -1
  73. package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.js.map +1 -1
  74. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.d.ts.map +1 -1
  75. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js.map +1 -1
  76. package/dist/esm/companion-api/companion-api.schemas.d.ts +1039 -409
  77. package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
  78. package/dist/esm/companion-api/companion-api.schemas.js +16 -8
  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 +24 -0
  91. package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
  92. package/dist/esm/companion-api/controllers/companion.controller.js +113 -7
  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 +9 -4
  130. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js.map +1 -1
  131. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.d.ts.map +1 -1
  132. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.js.map +1 -1
  133. package/dist/esm/core/config/primary-language.companion.utils.d.ts.map +1 -1
  134. package/dist/esm/core/config/primary-language.companion.utils.js.map +1 -1
  135. package/dist/esm/core/context/application-module-generations.companion.d.ts.map +1 -1
  136. package/dist/esm/core/context/application-module-generations.companion.js.map +1 -1
  137. package/dist/esm/core/context/companion-context.d.ts.map +1 -1
  138. package/dist/esm/core/context/companion-context.js +2 -0
  139. package/dist/esm/core/context/companion-context.js.map +1 -1
  140. package/dist/esm/core/context/companion-package-loaders.companion.d.ts.map +1 -1
  141. package/dist/esm/core/context/companion-package-loaders.companion.js.map +1 -1
  142. package/dist/esm/core/context/draft-family-values.companion.d.ts.map +1 -1
  143. package/dist/esm/core/context/draft-family-values.companion.js.map +1 -1
  144. package/dist/esm/core/inject/models/container.d.ts.map +1 -1
  145. package/dist/esm/core/inject/models/container.js +19 -7
  146. package/dist/esm/core/inject/models/container.js.map +1 -1
  147. package/dist/esm/core/inject/models/service-types.d.ts +2 -0
  148. package/dist/esm/core/inject/models/service-types.d.ts.map +1 -1
  149. package/dist/esm/core/inject/models/service-types.js +2 -0
  150. package/dist/esm/core/inject/models/service-types.js.map +1 -1
  151. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.d.ts.map +1 -1
  152. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js +78 -1
  153. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js.map +1 -1
  154. package/dist/esm/core/introspection/models/companion-introspection.models.d.ts +6 -1
  155. package/dist/esm/core/introspection/models/companion-introspection.models.d.ts.map +1 -1
  156. package/dist/esm/core/introspection/models/companion-introspection.models.js +28 -0
  157. package/dist/esm/core/introspection/models/companion-introspection.models.js.map +1 -1
  158. package/dist/esm/core/introspection/models/introspection-answer-retention.models.d.ts +24 -0
  159. package/dist/esm/core/introspection/models/introspection-answer-retention.models.d.ts.map +1 -0
  160. package/dist/esm/core/introspection/models/introspection-answer-retention.models.js +27 -0
  161. package/dist/esm/core/introspection/models/introspection-answer-retention.models.js.map +1 -0
  162. package/dist/esm/core/introspection/resources/application-secrets.companion.d.ts.map +1 -1
  163. package/dist/esm/core/introspection/resources/application-secrets.companion.js.map +1 -1
  164. package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts.map +1 -1
  165. package/dist/esm/core/introspection/resources/creation-console-answer.companion.js.map +1 -1
  166. package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts.map +1 -1
  167. package/dist/esm/core/introspection/resources/creation-console-projection.companion.js +1 -0
  168. package/dist/esm/core/introspection/resources/creation-console-projection.companion.js.map +1 -1
  169. package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts +12 -0
  170. package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts.map +1 -1
  171. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js +41 -6
  172. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js.map +1 -1
  173. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts.map +1 -1
  174. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js +48 -1
  175. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js.map +1 -1
  176. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts +17 -1
  177. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts.map +1 -1
  178. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js +167 -14
  179. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js.map +1 -1
  180. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.d.ts.map +1 -1
  181. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.js.map +1 -1
  182. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.d.ts.map +1 -1
  183. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js.map +1 -1
  184. package/dist/esm/core/introspection/resources/launch-blockers.companion.d.ts.map +1 -1
  185. package/dist/esm/core/introspection/resources/launch-blockers.companion.js.map +1 -1
  186. package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.d.ts.map +1 -1
  187. package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.js.map +1 -1
  188. package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts.map +1 -1
  189. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js.map +1 -1
  190. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts.map +1 -1
  191. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js +5 -0
  192. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js.map +1 -1
  193. package/dist/esm/core/introspection/services/introspection-input-closure.companion.d.ts.map +1 -1
  194. package/dist/esm/core/introspection/services/introspection-input-closure.companion.js.map +1 -1
  195. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts.map +1 -1
  196. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js.map +1 -1
  197. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts.map +1 -1
  198. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js.map +1 -1
  199. package/dist/esm/core/introspection/services/translation-placement.companion.service.d.ts.map +1 -1
  200. package/dist/esm/core/introspection/services/translation-placement.companion.service.js.map +1 -1
  201. package/dist/esm/core/introspection/subprocess/agent-work-declarations.behavior.d.ts +30 -0
  202. package/dist/esm/core/introspection/subprocess/agent-work-declarations.behavior.d.ts.map +1 -0
  203. package/dist/esm/core/introspection/subprocess/agent-work-declarations.behavior.js +84 -0
  204. package/dist/esm/core/introspection/subprocess/agent-work-declarations.behavior.js.map +1 -0
  205. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts +10 -8
  206. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts.map +1 -1
  207. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js +11 -9
  208. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js.map +1 -1
  209. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts +11 -2
  210. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts.map +1 -1
  211. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.js.map +1 -1
  212. package/dist/esm/core/introspection/subprocess/assertions.behavior.d.ts.map +1 -1
  213. package/dist/esm/core/introspection/subprocess/assertions.behavior.js.map +1 -1
  214. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.d.ts.map +1 -1
  215. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.js.map +1 -1
  216. package/dist/esm/core/introspection/subprocess/asset-noop-register.d.ts.map +1 -1
  217. package/dist/esm/core/introspection/subprocess/asset-noop-register.js.map +1 -1
  218. package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.d.ts.map +1 -1
  219. package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.js.map +1 -1
  220. package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.d.ts.map +1 -1
  221. package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.js.map +1 -1
  222. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts.map +1 -1
  223. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js +106 -51
  224. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js.map +1 -1
  225. package/dist/esm/core/introspection/subprocess/companion-introspection-child.d.ts.map +1 -1
  226. package/dist/esm/core/introspection/subprocess/companion-introspection-child.js +5 -2
  227. package/dist/esm/core/introspection/subprocess/companion-introspection-child.js.map +1 -1
  228. package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.d.ts.map +1 -1
  229. package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.js.map +1 -1
  230. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts +81 -7
  231. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts.map +1 -1
  232. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js +54 -4
  233. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js.map +1 -1
  234. package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.d.ts.map +1 -1
  235. package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.js.map +1 -1
  236. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.d.ts.map +1 -1
  237. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.js.map +1 -1
  238. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts.map +1 -1
  239. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.js +1 -1
  240. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.js.map +1 -1
  241. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts.map +1 -1
  242. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js.map +1 -1
  243. package/dist/esm/core/introspection/subprocess/field-value-shape.companion.d.ts +25 -0
  244. package/dist/esm/core/introspection/subprocess/field-value-shape.companion.d.ts.map +1 -0
  245. package/dist/esm/core/introspection/subprocess/field-value-shape.companion.js +44 -0
  246. package/dist/esm/core/introspection/subprocess/field-value-shape.companion.js.map +1 -0
  247. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts +13 -0
  248. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts.map +1 -1
  249. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.js +63 -10
  250. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.js.map +1 -1
  251. package/dist/esm/core/introspection/subprocess/market-context-block.builder.d.ts.map +1 -1
  252. package/dist/esm/core/introspection/subprocess/market-context-block.builder.js.map +1 -1
  253. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts.map +1 -1
  254. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.js.map +1 -1
  255. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts +19 -16
  256. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts.map +1 -1
  257. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js +64 -51
  258. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js.map +1 -1
  259. package/dist/esm/core/introspection/subprocess/resource-field-specifications.subprocess.utils.d.ts +21 -0
  260. package/dist/esm/core/introspection/subprocess/resource-field-specifications.subprocess.utils.d.ts.map +1 -0
  261. package/dist/esm/core/introspection/subprocess/resource-field-specifications.subprocess.utils.js +24 -0
  262. package/dist/esm/core/introspection/subprocess/resource-field-specifications.subprocess.utils.js.map +1 -0
  263. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.d.ts +20 -5
  264. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.d.ts.map +1 -1
  265. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.js +13 -2
  266. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.js.map +1 -1
  267. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts.map +1 -1
  268. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js +7 -0
  269. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js.map +1 -1
  270. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.d.ts +36 -1
  271. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.d.ts.map +1 -1
  272. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.js +38 -2
  273. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.js.map +1 -1
  274. package/dist/esm/core/introspection/workspace-element-index.companion.d.ts.map +1 -1
  275. package/dist/esm/core/introspection/workspace-element-index.companion.js.map +1 -1
  276. package/dist/esm/core/introspection/workspace-elements.companion.d.ts +10 -1
  277. package/dist/esm/core/introspection/workspace-elements.companion.d.ts.map +1 -1
  278. package/dist/esm/core/introspection/workspace-elements.companion.js +7 -2
  279. package/dist/esm/core/introspection/workspace-elements.companion.js.map +1 -1
  280. package/dist/esm/core/lock/wildo-saas-lock.companion.service.d.ts.map +1 -1
  281. package/dist/esm/core/lock/wildo-saas-lock.companion.service.js +2 -2
  282. package/dist/esm/core/lock/wildo-saas-lock.companion.service.js.map +1 -1
  283. package/dist/esm/core/lock/wildo-saas-lock.models.d.ts +0 -1
  284. package/dist/esm/core/lock/wildo-saas-lock.models.d.ts.map +1 -1
  285. package/dist/esm/core/lock/wildo-saas-lock.models.js +0 -1
  286. package/dist/esm/core/lock/wildo-saas-lock.models.js.map +1 -1
  287. package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts.map +1 -1
  288. package/dist/esm/core/lock/wildo-saas-lock.schemas.js.map +1 -1
  289. package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts.map +1 -1
  290. package/dist/esm/core/runtime/application-runtime-liveness.companion.js.map +1 -1
  291. package/dist/esm/core/runtime/companion-endpoint-record.d.ts.map +1 -1
  292. package/dist/esm/core/runtime/companion-endpoint-record.js.map +1 -1
  293. package/dist/esm/core/runtime/companion-env-file.d.ts.map +1 -1
  294. package/dist/esm/core/runtime/companion-env-file.js +8 -1
  295. package/dist/esm/core/runtime/companion-env-file.js.map +1 -1
  296. package/dist/esm/core/runtime/companion-self-restart.companion.d.ts.map +1 -1
  297. package/dist/esm/core/runtime/companion-self-restart.companion.js.map +1 -1
  298. package/dist/esm/core/runtime/companion-startup-assembly.d.ts.map +1 -1
  299. package/dist/esm/core/runtime/companion-startup-assembly.js +4 -0
  300. package/dist/esm/core/runtime/companion-startup-assembly.js.map +1 -1
  301. package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts.map +1 -1
  302. package/dist/esm/core/runtime/dev-compile-quiet.companion.js.map +1 -1
  303. package/dist/esm/core/runtime/event-loop-stall-monitor.companion.d.ts.map +1 -1
  304. package/dist/esm/core/runtime/event-loop-stall-monitor.companion.js +2 -1
  305. package/dist/esm/core/runtime/event-loop-stall-monitor.companion.js.map +1 -1
  306. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.d.ts.map +1 -1
  307. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.js.map +1 -1
  308. package/dist/esm/core/runtime/models/companion-runtime.models.d.ts.map +1 -1
  309. package/dist/esm/core/runtime/models/companion-runtime.models.js.map +1 -1
  310. package/dist/esm/core/runtime/provider-registry-refresh.companion.d.ts +17 -0
  311. package/dist/esm/core/runtime/provider-registry-refresh.companion.d.ts.map +1 -0
  312. package/dist/esm/core/runtime/provider-registry-refresh.companion.js +18 -0
  313. package/dist/esm/core/runtime/provider-registry-refresh.companion.js.map +1 -0
  314. package/dist/esm/core/runtime/services/file-storage-initialization.companion.d.ts.map +1 -1
  315. package/dist/esm/core/runtime/services/file-storage-initialization.companion.js.map +1 -1
  316. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts +9 -1
  317. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts.map +1 -1
  318. package/dist/esm/core/runtime/services/start-companion-application.service.js +46 -3
  319. package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -1
  320. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.d.ts +21 -2
  321. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.d.ts.map +1 -1
  322. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.js +41 -3
  323. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.js.map +1 -1
  324. package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts +1 -1
  325. package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts.map +1 -1
  326. package/dist/esm/core/runtime/utils/companion-platform-config.companion.js +44 -34
  327. package/dist/esm/core/runtime/utils/companion-platform-config.companion.js.map +1 -1
  328. package/dist/esm/core/runtime/utils/companion-workbench-topology.d.ts.map +1 -1
  329. package/dist/esm/core/runtime/utils/companion-workbench-topology.js.map +1 -1
  330. package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.d.ts.map +1 -1
  331. package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.js.map +1 -1
  332. package/dist/esm/core/specifications/chart-view-specification-context.factory.d.ts.map +1 -1
  333. package/dist/esm/core/specifications/chart-view-specification-context.factory.js.map +1 -1
  334. package/dist/esm/core/specifications/composite-view-specification-context.factory.d.ts.map +1 -1
  335. package/dist/esm/core/specifications/composite-view-specification-context.factory.js.map +1 -1
  336. package/dist/esm/core/specifications/cross-registry-rendering.shared.d.ts.map +1 -1
  337. package/dist/esm/core/specifications/cross-registry-rendering.shared.js.map +1 -1
  338. package/dist/esm/core/specifications/execution-view-specification-context.factory.d.ts.map +1 -1
  339. package/dist/esm/core/specifications/execution-view-specification-context.factory.js.map +1 -1
  340. package/dist/esm/core/specifications/feature-specification-context.factory.d.ts.map +1 -1
  341. package/dist/esm/core/specifications/feature-specification-context.factory.js.map +1 -1
  342. package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.d.ts.map +1 -1
  343. package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.js.map +1 -1
  344. package/dist/esm/core/specifications/frontend-component-specification-context.factory.d.ts.map +1 -1
  345. package/dist/esm/core/specifications/frontend-component-specification-context.factory.js.map +1 -1
  346. package/dist/esm/core/specifications/full-custom-view-specification-context.factory.d.ts.map +1 -1
  347. package/dist/esm/core/specifications/full-custom-view-specification-context.factory.js.map +1 -1
  348. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.d.ts.map +1 -1
  349. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.js.map +1 -1
  350. package/dist/esm/core/specifications/milestone-specification-context.factory.d.ts.map +1 -1
  351. package/dist/esm/core/specifications/milestone-specification-context.factory.js.map +1 -1
  352. package/dist/esm/core/specifications/non-composite-view-specification-context.shared.d.ts.map +1 -1
  353. package/dist/esm/core/specifications/non-composite-view-specification-context.shared.js.map +1 -1
  354. package/dist/esm/core/specifications/onboarding-element-rendering.shared.d.ts.map +1 -1
  355. package/dist/esm/core/specifications/onboarding-element-rendering.shared.js.map +1 -1
  356. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.d.ts.map +1 -1
  357. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.js.map +1 -1
  358. package/dist/esm/core/specifications/product-specification-context.factory.d.ts.map +1 -1
  359. package/dist/esm/core/specifications/product-specification-context.factory.js.map +1 -1
  360. package/dist/esm/core/specifications/resource-specification-context.factory.d.ts.map +1 -1
  361. package/dist/esm/core/specifications/resource-specification-context.factory.js +1 -0
  362. package/dist/esm/core/specifications/resource-specification-context.factory.js.map +1 -1
  363. package/dist/esm/core/specifications/role-specification-context.factory.d.ts.map +1 -1
  364. package/dist/esm/core/specifications/role-specification-context.factory.js.map +1 -1
  365. package/dist/esm/core/specifications/specification-context-factory.d.ts.map +1 -1
  366. package/dist/esm/core/specifications/specification-context-factory.js.map +1 -1
  367. package/dist/esm/core/specifications/specification-context-factory.models.d.ts.map +1 -1
  368. package/dist/esm/core/specifications/specification-context-factory.models.js.map +1 -1
  369. package/dist/esm/core/specifications/specification-context-factory.shared.d.ts.map +1 -1
  370. package/dist/esm/core/specifications/specification-context-factory.shared.js.map +1 -1
  371. package/dist/esm/core/specifications/system-email-template-specification-context.factory.d.ts.map +1 -1
  372. package/dist/esm/core/specifications/system-email-template-specification-context.factory.js.map +1 -1
  373. package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.d.ts.map +1 -1
  374. package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.js.map +1 -1
  375. package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.d.ts.map +1 -1
  376. package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.js.map +1 -1
  377. package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.d.ts.map +1 -1
  378. package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.js.map +1 -1
  379. package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.d.ts.map +1 -1
  380. package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.js.map +1 -1
  381. package/dist/esm/core/specifications/templates/feature/feature-all-information.template.d.ts.map +1 -1
  382. package/dist/esm/core/specifications/templates/feature/feature-all-information.template.js.map +1 -1
  383. package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.d.ts.map +1 -1
  384. package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.js.map +1 -1
  385. package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.d.ts.map +1 -1
  386. package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.js.map +1 -1
  387. package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.d.ts.map +1 -1
  388. package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.js.map +1 -1
  389. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.d.ts.map +1 -1
  390. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.js.map +1 -1
  391. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.d.ts.map +1 -1
  392. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.js.map +1 -1
  393. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.d.ts.map +1 -1
  394. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.js.map +1 -1
  395. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.d.ts.map +1 -1
  396. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.js.map +1 -1
  397. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.d.ts.map +1 -1
  398. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.js.map +1 -1
  399. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.d.ts.map +1 -1
  400. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.js.map +1 -1
  401. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.d.ts.map +1 -1
  402. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.js.map +1 -1
  403. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.d.ts.map +1 -1
  404. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.js.map +1 -1
  405. package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.d.ts.map +1 -1
  406. package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.js.map +1 -1
  407. package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.d.ts.map +1 -1
  408. package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.js.map +1 -1
  409. package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.d.ts.map +1 -1
  410. package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.js.map +1 -1
  411. package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.d.ts.map +1 -1
  412. package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.js.map +1 -1
  413. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.d.ts.map +1 -1
  414. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.js.map +1 -1
  415. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.d.ts.map +1 -1
  416. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.js.map +1 -1
  417. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.d.ts.map +1 -1
  418. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.js.map +1 -1
  419. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.d.ts.map +1 -1
  420. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.js.map +1 -1
  421. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.d.ts.map +1 -1
  422. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.js.map +1 -1
  423. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.d.ts.map +1 -1
  424. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.js.map +1 -1
  425. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.d.ts.map +1 -1
  426. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.js.map +1 -1
  427. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.d.ts.map +1 -1
  428. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.js.map +1 -1
  429. package/dist/esm/core/specifications/templates/product/product-all-information.template.d.ts.map +1 -1
  430. package/dist/esm/core/specifications/templates/product/product-all-information.template.js.map +1 -1
  431. package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.d.ts.map +1 -1
  432. package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.js.map +1 -1
  433. package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.d.ts.map +1 -1
  434. package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.js.map +1 -1
  435. package/dist/esm/core/specifications/templates/product/product-translation-context.template.d.ts.map +1 -1
  436. package/dist/esm/core/specifications/templates/product/product-translation-context.template.js.map +1 -1
  437. package/dist/esm/core/specifications/templates/resource/resource-all-information.template.d.ts.map +1 -1
  438. package/dist/esm/core/specifications/templates/resource/resource-all-information.template.js.map +1 -1
  439. package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.d.ts.map +1 -1
  440. package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.js.map +1 -1
  441. package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.d.ts.map +1 -1
  442. package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.js.map +1 -1
  443. package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.d.ts.map +1 -1
  444. package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.js.map +1 -1
  445. package/dist/esm/core/specifications/templates/role/role-all-information.template.d.ts.map +1 -1
  446. package/dist/esm/core/specifications/templates/role/role-all-information.template.js.map +1 -1
  447. package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.d.ts.map +1 -1
  448. package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.js.map +1 -1
  449. package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.d.ts.map +1 -1
  450. package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.js.map +1 -1
  451. package/dist/esm/core/specifications/templates/role/role-translation-context.template.d.ts.map +1 -1
  452. package/dist/esm/core/specifications/templates/role/role-translation-context.template.js.map +1 -1
  453. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.d.ts.map +1 -1
  454. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.js.map +1 -1
  455. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.d.ts.map +1 -1
  456. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.js.map +1 -1
  457. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.d.ts.map +1 -1
  458. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.js.map +1 -1
  459. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.d.ts.map +1 -1
  460. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.js.map +1 -1
  461. package/dist/esm/core/specifications/validate-resource-field-completeness.d.ts.map +1 -1
  462. package/dist/esm/core/specifications/validate-resource-field-completeness.js.map +1 -1
  463. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.d.ts.map +1 -1
  464. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.js +2 -2
  465. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.js.map +1 -1
  466. package/dist/esm/core/traceability/companion-traceability.models.d.ts +7 -0
  467. package/dist/esm/core/traceability/companion-traceability.models.d.ts.map +1 -1
  468. package/dist/esm/core/traceability/companion-traceability.models.js +7 -0
  469. package/dist/esm/core/traceability/companion-traceability.models.js.map +1 -1
  470. package/dist/esm/core/traceability/companion-traceability.service.d.ts +78 -0
  471. package/dist/esm/core/traceability/companion-traceability.service.d.ts.map +1 -1
  472. package/dist/esm/core/traceability/companion-traceability.service.js +157 -2
  473. package/dist/esm/core/traceability/companion-traceability.service.js.map +1 -1
  474. package/dist/esm/core/utils/atomic-write.utils.d.ts.map +1 -1
  475. package/dist/esm/core/utils/atomic-write.utils.js.map +1 -1
  476. package/dist/esm/core/utils/bounded-concurrency.utils.d.ts.map +1 -1
  477. package/dist/esm/core/utils/bounded-concurrency.utils.js.map +1 -1
  478. package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts.map +1 -1
  479. package/dist/esm/core/utils/derived-input-signature.companion.utils.js.map +1 -1
  480. package/dist/esm/core/website/website-demo-scenarios.child.d.ts +2 -0
  481. package/dist/esm/core/website/website-demo-scenarios.child.d.ts.map +1 -0
  482. package/dist/esm/core/website/website-demo-scenarios.child.js +18 -0
  483. package/dist/esm/core/website/website-demo-scenarios.child.js.map +1 -0
  484. package/dist/esm/core/website/website-source-module.companion.d.ts +65 -0
  485. package/dist/esm/core/website/website-source-module.companion.d.ts.map +1 -0
  486. package/dist/esm/core/website/website-source-module.companion.js +157 -0
  487. package/dist/esm/core/website/website-source-module.companion.js.map +1 -0
  488. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.d.ts.map +1 -1
  489. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js +3 -2
  490. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js.map +1 -1
  491. package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts +23 -0
  492. package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts.map +1 -1
  493. package/dist/esm/creation-conversation/creation-conversation.function-tools.js +94 -7
  494. package/dist/esm/creation-conversation/creation-conversation.function-tools.js.map +1 -1
  495. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts.map +1 -1
  496. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js.map +1 -1
  497. package/dist/esm/deliberations/services/deliberation.companion.service.d.ts +27 -1
  498. package/dist/esm/deliberations/services/deliberation.companion.service.d.ts.map +1 -1
  499. package/dist/esm/deliberations/services/deliberation.companion.service.js +28 -4
  500. package/dist/esm/deliberations/services/deliberation.companion.service.js.map +1 -1
  501. package/dist/esm/deliberations/services/structured-deliberation.companion.service.d.ts +3 -1
  502. package/dist/esm/deliberations/services/structured-deliberation.companion.service.d.ts.map +1 -1
  503. package/dist/esm/deliberations/services/structured-deliberation.companion.service.js +2 -1
  504. package/dist/esm/deliberations/services/structured-deliberation.companion.service.js.map +1 -1
  505. package/dist/esm/deliberations/utils/expert-agent-registration.d.ts.map +1 -1
  506. package/dist/esm/deliberations/utils/expert-agent-registration.js.map +1 -1
  507. package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts.map +1 -1
  508. package/dist/esm/deliberations/utils/load-committed-expert-agents.js.map +1 -1
  509. package/dist/esm/email/models/email-template.actors-system.definitions.d.ts.map +1 -1
  510. package/dist/esm/email/models/email-template.actors-system.definitions.js.map +1 -1
  511. package/dist/esm/email/services/application-email-word-sources.companion.service.d.ts +47 -0
  512. package/dist/esm/email/services/application-email-word-sources.companion.service.d.ts.map +1 -0
  513. package/dist/esm/email/services/application-email-word-sources.companion.service.js +98 -0
  514. package/dist/esm/email/services/application-email-word-sources.companion.service.js.map +1 -0
  515. package/dist/esm/email/services/email-spec-context-loader.companion.service.d.ts.map +1 -1
  516. package/dist/esm/email/services/email-spec-context-loader.companion.service.js.map +1 -1
  517. package/dist/esm/email/services/email-template.companion.service.d.ts +3 -1
  518. package/dist/esm/email/services/email-template.companion.service.d.ts.map +1 -1
  519. package/dist/esm/email/services/email-template.companion.service.js +39 -17
  520. package/dist/esm/email/services/email-template.companion.service.js.map +1 -1
  521. package/dist/esm/email/utils/email-labels-file-source.utils.d.ts.map +1 -1
  522. package/dist/esm/email/utils/email-labels-file-source.utils.js.map +1 -1
  523. package/dist/esm/email/utils/email-labels-tree.utils.d.ts.map +1 -1
  524. package/dist/esm/email/utils/email-labels-tree.utils.js.map +1 -1
  525. package/dist/esm/email/utils/email-template-fs-discovery.utils.d.ts.map +1 -1
  526. package/dist/esm/email/utils/email-template-fs-discovery.utils.js.map +1 -1
  527. package/dist/esm/executions/models/execution-task-snapshot.models.d.ts +77 -0
  528. package/dist/esm/executions/models/execution-task-snapshot.models.d.ts.map +1 -0
  529. package/dist/esm/executions/models/execution-task-snapshot.models.js +124 -0
  530. package/dist/esm/executions/models/execution-task-snapshot.models.js.map +1 -0
  531. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts +8 -0
  532. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts.map +1 -1
  533. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.js +23 -1
  534. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.js.map +1 -1
  535. package/dist/esm/executions/services/companion-executions.companion.service.d.ts +54 -25
  536. package/dist/esm/executions/services/companion-executions.companion.service.d.ts.map +1 -1
  537. package/dist/esm/executions/services/companion-executions.companion.service.js +214 -42
  538. package/dist/esm/executions/services/companion-executions.companion.service.js.map +1 -1
  539. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.d.ts.map +1 -1
  540. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js.map +1 -1
  541. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.d.ts.map +1 -1
  542. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js.map +1 -1
  543. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts.map +1 -1
  544. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.js.map +1 -1
  545. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts +42 -1
  546. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts.map +1 -1
  547. package/dist/esm/expert-personas/services/expert-persona.companion.service.js +103 -6
  548. package/dist/esm/expert-personas/services/expert-persona.companion.service.js.map +1 -1
  549. package/dist/esm/expert-personas/services/persona-source-ownership.d.ts.map +1 -1
  550. package/dist/esm/expert-personas/services/persona-source-ownership.js.map +1 -1
  551. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.d.ts.map +1 -1
  552. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.js.map +1 -1
  553. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.fr.d.ts +13 -0
  554. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.fr.d.ts.map +1 -0
  555. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.fr.js +13 -0
  556. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.fr.js.map +1 -0
  557. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.d.ts +2 -2
  558. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.d.ts.map +1 -1
  559. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.js +2 -2
  560. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.js.map +1 -1
  561. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.fr.d.ts +40 -0
  562. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.fr.d.ts.map +1 -0
  563. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.fr.js +40 -0
  564. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.fr.js.map +1 -0
  565. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.d.ts.map +1 -1
  566. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.js.map +1 -1
  567. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.fr.d.ts +23 -0
  568. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.fr.d.ts.map +1 -0
  569. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.fr.js +23 -0
  570. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.fr.js.map +1 -0
  571. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.d.ts.map +1 -1
  572. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.js.map +1 -1
  573. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.fr.d.ts +14 -0
  574. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.fr.d.ts.map +1 -0
  575. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.fr.js +14 -0
  576. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.fr.js.map +1 -0
  577. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.d.ts.map +1 -1
  578. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.js.map +1 -1
  579. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.fr.d.ts +12 -0
  580. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.fr.d.ts.map +1 -0
  581. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.fr.js +12 -0
  582. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.fr.js.map +1 -0
  583. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts +5 -5
  584. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts.map +1 -1
  585. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js +5 -5
  586. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js.map +1 -1
  587. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.fr.d.ts +28 -0
  588. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.fr.d.ts.map +1 -0
  589. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.fr.js +28 -0
  590. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.fr.js.map +1 -0
  591. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.d.ts.map +1 -1
  592. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.js.map +1 -1
  593. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.fr.d.ts +15 -0
  594. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.fr.d.ts.map +1 -0
  595. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.fr.js +15 -0
  596. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.fr.js.map +1 -0
  597. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.d.ts.map +1 -1
  598. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.js.map +1 -1
  599. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.fr.d.ts +17 -0
  600. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.fr.d.ts.map +1 -0
  601. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.fr.js +17 -0
  602. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.fr.js.map +1 -0
  603. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts +2 -0
  604. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts.map +1 -1
  605. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.js +3 -1
  606. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.js.map +1 -1
  607. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.fr.d.ts +26 -0
  608. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.fr.d.ts.map +1 -0
  609. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.fr.js +26 -0
  610. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.fr.js.map +1 -0
  611. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.d.ts +1 -1
  612. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.d.ts.map +1 -1
  613. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.js +1 -1
  614. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.js.map +1 -1
  615. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.fr.d.ts +20 -0
  616. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.fr.d.ts.map +1 -0
  617. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.fr.js +20 -0
  618. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.fr.js.map +1 -0
  619. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.d.ts.map +1 -1
  620. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.js.map +1 -1
  621. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.fr.d.ts +13 -0
  622. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.fr.d.ts.map +1 -0
  623. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.fr.js +13 -0
  624. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.fr.js.map +1 -0
  625. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts +6 -2
  626. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts.map +1 -1
  627. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js +6 -2
  628. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js.map +1 -1
  629. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.fr.d.ts +28 -0
  630. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.fr.d.ts.map +1 -0
  631. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.fr.js +28 -0
  632. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.fr.js.map +1 -0
  633. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.d.ts +0 -1
  634. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.d.ts.map +1 -1
  635. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.js +0 -1
  636. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.js.map +1 -1
  637. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.fr.d.ts +14 -0
  638. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.fr.d.ts.map +1 -0
  639. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.fr.js +14 -0
  640. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.fr.js.map +1 -0
  641. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_EVALUATION_EXPORT_SETTINGS.en.d.ts +29 -0
  642. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_EVALUATION_EXPORT_SETTINGS.en.d.ts.map +1 -0
  643. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_EVALUATION_EXPORT_SETTINGS.en.js +29 -0
  644. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_EVALUATION_EXPORT_SETTINGS.en.js.map +1 -0
  645. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_EVALUATION_EXPORT_SETTINGS.fr.d.ts +29 -0
  646. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_EVALUATION_EXPORT_SETTINGS.fr.d.ts.map +1 -0
  647. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_EVALUATION_EXPORT_SETTINGS.fr.js +29 -0
  648. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_EVALUATION_EXPORT_SETTINGS.fr.js.map +1 -0
  649. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.d.ts.map +1 -1
  650. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.js.map +1 -1
  651. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.fr.d.ts +32 -0
  652. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.fr.d.ts.map +1 -0
  653. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.fr.js +32 -0
  654. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.fr.js.map +1 -0
  655. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.d.ts.map +1 -1
  656. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.js.map +1 -1
  657. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.fr.d.ts +16 -0
  658. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.fr.d.ts.map +1 -0
  659. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.fr.js +16 -0
  660. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.fr.js.map +1 -0
  661. package/dist/esm/i18n/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.en.d.ts +56 -0
  662. package/dist/esm/i18n/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.en.d.ts.map +1 -0
  663. package/dist/esm/i18n/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.en.js +56 -0
  664. package/dist/esm/i18n/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.en.js.map +1 -0
  665. package/dist/esm/i18n/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.fr.d.ts +56 -0
  666. package/dist/esm/i18n/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.fr.d.ts.map +1 -0
  667. package/dist/esm/i18n/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.fr.js +56 -0
  668. package/dist/esm/i18n/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.fr.js.map +1 -0
  669. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.d.ts.map +1 -1
  670. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.js.map +1 -1
  671. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.fr.d.ts +14 -0
  672. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.fr.d.ts.map +1 -0
  673. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.fr.js +14 -0
  674. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.fr.js.map +1 -0
  675. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.d.ts +46 -9
  676. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.d.ts.map +1 -1
  677. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js +47 -10
  678. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js.map +1 -1
  679. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.fr.d.ts +106 -0
  680. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.fr.d.ts.map +1 -0
  681. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.fr.js +106 -0
  682. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.fr.js.map +1 -0
  683. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.d.ts.map +1 -1
  684. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.js.map +1 -1
  685. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.fr.d.ts +26 -0
  686. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.fr.d.ts.map +1 -0
  687. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.fr.js +26 -0
  688. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.fr.js.map +1 -0
  689. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.d.ts.map +1 -1
  690. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.js.map +1 -1
  691. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.fr.d.ts +18 -0
  692. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.fr.d.ts.map +1 -0
  693. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.fr.js +18 -0
  694. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.fr.js.map +1 -0
  695. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.d.ts.map +1 -1
  696. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.js.map +1 -1
  697. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.fr.d.ts +20 -0
  698. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.fr.d.ts.map +1 -0
  699. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.fr.js +20 -0
  700. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.fr.js.map +1 -0
  701. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.d.ts.map +1 -1
  702. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.js.map +1 -1
  703. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.fr.d.ts +13 -0
  704. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.fr.d.ts.map +1 -0
  705. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.fr.js +13 -0
  706. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.fr.js.map +1 -0
  707. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts +11 -0
  708. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts.map +1 -1
  709. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.js +12 -1
  710. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.js.map +1 -1
  711. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.fr.d.ts +32 -0
  712. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.fr.d.ts.map +1 -0
  713. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.fr.js +32 -0
  714. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.fr.js.map +1 -0
  715. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.d.ts.map +1 -1
  716. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.js.map +1 -1
  717. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.fr.d.ts +19 -0
  718. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.fr.d.ts.map +1 -0
  719. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.fr.js +19 -0
  720. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.fr.js.map +1 -0
  721. package/dist/esm/i18n/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.en.d.ts +39 -0
  722. package/dist/esm/i18n/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.en.d.ts.map +1 -0
  723. package/dist/esm/i18n/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.en.js +39 -0
  724. package/dist/esm/i18n/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.en.js.map +1 -0
  725. package/dist/esm/i18n/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.fr.d.ts +39 -0
  726. package/dist/esm/i18n/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.fr.d.ts.map +1 -0
  727. package/dist/esm/i18n/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.fr.js +39 -0
  728. package/dist/esm/i18n/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.fr.js.map +1 -0
  729. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.d.ts.map +1 -1
  730. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.js.map +1 -1
  731. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.fr.d.ts +41 -0
  732. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.fr.d.ts.map +1 -0
  733. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.fr.js +41 -0
  734. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.fr.js.map +1 -0
  735. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts +11 -1
  736. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts.map +1 -1
  737. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js +12 -2
  738. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js.map +1 -1
  739. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.fr.d.ts +74 -0
  740. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.fr.d.ts.map +1 -0
  741. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.fr.js +74 -0
  742. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.fr.js.map +1 -0
  743. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.d.ts +1 -0
  744. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.d.ts.map +1 -1
  745. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.js +2 -1
  746. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.js.map +1 -1
  747. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.fr.d.ts +14 -0
  748. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.fr.d.ts.map +1 -0
  749. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.fr.js +14 -0
  750. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.fr.js.map +1 -0
  751. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.d.ts.map +1 -1
  752. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.js.map +1 -1
  753. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.fr.d.ts +16 -0
  754. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.fr.d.ts.map +1 -0
  755. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.fr.js +16 -0
  756. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.fr.js.map +1 -0
  757. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.d.ts.map +1 -1
  758. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.js.map +1 -1
  759. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.fr.d.ts +26 -0
  760. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.fr.d.ts.map +1 -0
  761. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.fr.js +26 -0
  762. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.fr.js.map +1 -0
  763. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.d.ts.map +1 -1
  764. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.js.map +1 -1
  765. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.fr.d.ts +13 -0
  766. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.fr.d.ts.map +1 -0
  767. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.fr.js +13 -0
  768. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.fr.js.map +1 -0
  769. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.d.ts.map +1 -1
  770. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.js.map +1 -1
  771. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.fr.d.ts +14 -0
  772. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.fr.d.ts.map +1 -0
  773. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.fr.js +14 -0
  774. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.fr.js.map +1 -0
  775. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.d.ts +0 -8
  776. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.d.ts.map +1 -1
  777. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.js +1 -9
  778. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.js.map +1 -1
  779. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.fr.d.ts +19 -0
  780. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.fr.d.ts.map +1 -0
  781. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.fr.js +19 -0
  782. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.fr.js.map +1 -0
  783. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.d.ts.map +1 -1
  784. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.js.map +1 -1
  785. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.fr.d.ts +19 -0
  786. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.fr.d.ts.map +1 -0
  787. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.fr.js +19 -0
  788. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.fr.js.map +1 -0
  789. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.d.ts.map +1 -1
  790. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.js.map +1 -1
  791. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.fr.d.ts +12 -0
  792. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.fr.d.ts.map +1 -0
  793. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.fr.js +12 -0
  794. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.fr.js.map +1 -0
  795. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.d.ts +5 -10
  796. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.d.ts.map +1 -1
  797. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.js +5 -10
  798. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.js.map +1 -1
  799. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.fr.d.ts +39 -0
  800. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.fr.d.ts.map +1 -0
  801. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.fr.js +39 -0
  802. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.fr.js.map +1 -0
  803. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts +1 -1
  804. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts.map +1 -1
  805. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js +1 -1
  806. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js.map +1 -1
  807. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.d.ts +81 -0
  808. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.d.ts.map +1 -0
  809. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.js +81 -0
  810. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.js.map +1 -0
  811. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts +27 -8
  812. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts.map +1 -1
  813. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js +28 -9
  814. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js.map +1 -1
  815. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.fr.d.ts +103 -0
  816. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.fr.d.ts.map +1 -0
  817. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.fr.js +103 -0
  818. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.fr.js.map +1 -0
  819. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.d.ts.map +1 -1
  820. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.js.map +1 -1
  821. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.fr.d.ts +16 -0
  822. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.fr.d.ts.map +1 -0
  823. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.fr.js +16 -0
  824. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.fr.js.map +1 -0
  825. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.d.ts +1 -1
  826. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.d.ts.map +1 -1
  827. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.js +1 -1
  828. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.js.map +1 -1
  829. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.fr.d.ts +34 -0
  830. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.fr.d.ts.map +1 -0
  831. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.fr.js +34 -0
  832. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.fr.js.map +1 -0
  833. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.d.ts.map +1 -1
  834. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.js.map +1 -1
  835. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.fr.d.ts +12 -0
  836. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.fr.d.ts.map +1 -0
  837. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.fr.js +12 -0
  838. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.fr.js.map +1 -0
  839. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.d.ts.map +1 -1
  840. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.js.map +1 -1
  841. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.fr.d.ts +12 -0
  842. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.fr.d.ts.map +1 -0
  843. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.fr.js +12 -0
  844. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.fr.js.map +1 -0
  845. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.d.ts.map +1 -1
  846. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.js.map +1 -1
  847. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.fr.d.ts +21 -0
  848. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.fr.d.ts.map +1 -0
  849. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.fr.js +21 -0
  850. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.fr.js.map +1 -0
  851. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.d.ts.map +1 -1
  852. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.js.map +1 -1
  853. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.fr.d.ts +17 -0
  854. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.fr.d.ts.map +1 -0
  855. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.fr.js +17 -0
  856. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.fr.js.map +1 -0
  857. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.d.ts +1 -1
  858. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.d.ts.map +1 -1
  859. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.js +1 -1
  860. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.js.map +1 -1
  861. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.fr.d.ts +15 -0
  862. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.fr.d.ts.map +1 -0
  863. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.fr.js +15 -0
  864. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.fr.js.map +1 -0
  865. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.d.ts +93 -0
  866. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.d.ts.map +1 -0
  867. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.js +93 -0
  868. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.js.map +1 -0
  869. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.d.ts +93 -0
  870. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.d.ts.map +1 -0
  871. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.js +93 -0
  872. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.js.map +1 -0
  873. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.d.ts +1 -1
  874. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.d.ts.map +1 -1
  875. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.js +1 -1
  876. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.js.map +1 -1
  877. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.fr.d.ts +21 -0
  878. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.fr.d.ts.map +1 -0
  879. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.fr.js +21 -0
  880. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.fr.js.map +1 -0
  881. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.d.ts +5 -5
  882. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.d.ts.map +1 -1
  883. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.js +5 -5
  884. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.js.map +1 -1
  885. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.fr.d.ts +21 -0
  886. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.fr.d.ts.map +1 -0
  887. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.fr.js +21 -0
  888. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.fr.js.map +1 -0
  889. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.d.ts +4 -7
  890. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.d.ts.map +1 -1
  891. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.js +4 -7
  892. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.js.map +1 -1
  893. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.fr.d.ts +18 -0
  894. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.fr.d.ts.map +1 -0
  895. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.fr.js +18 -0
  896. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.fr.js.map +1 -0
  897. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.d.ts.map +1 -1
  898. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.js.map +1 -1
  899. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.fr.d.ts +14 -0
  900. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.fr.d.ts.map +1 -0
  901. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.fr.js +14 -0
  902. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.fr.js.map +1 -0
  903. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_USAGE.en.d.ts +22 -0
  904. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_USAGE.en.d.ts.map +1 -0
  905. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_USAGE.en.js +22 -0
  906. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_USAGE.en.js.map +1 -0
  907. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_USAGE.fr.d.ts +22 -0
  908. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_USAGE.fr.d.ts.map +1 -0
  909. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_USAGE.fr.js +22 -0
  910. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_USAGE.fr.js.map +1 -0
  911. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.d.ts +2 -9
  912. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.d.ts.map +1 -1
  913. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.js +2 -9
  914. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.js.map +1 -1
  915. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.fr.d.ts +15 -0
  916. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.fr.d.ts.map +1 -0
  917. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.fr.js +15 -0
  918. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.fr.js.map +1 -0
  919. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.d.ts +0 -8
  920. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.d.ts.map +1 -1
  921. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.js +1 -9
  922. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.js.map +1 -1
  923. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.fr.d.ts +18 -0
  924. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.fr.d.ts.map +1 -0
  925. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.fr.js +18 -0
  926. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.fr.js.map +1 -0
  927. package/dist/esm/i18n/components/LOW_LEVEL_AI_GRAPH_VIEWER.en.d.ts +30 -0
  928. package/dist/esm/i18n/components/LOW_LEVEL_AI_GRAPH_VIEWER.en.d.ts.map +1 -0
  929. package/dist/esm/i18n/components/LOW_LEVEL_AI_GRAPH_VIEWER.en.js +30 -0
  930. package/dist/esm/i18n/components/LOW_LEVEL_AI_GRAPH_VIEWER.en.js.map +1 -0
  931. package/dist/esm/i18n/components/LOW_LEVEL_AI_GRAPH_VIEWER.fr.d.ts +30 -0
  932. package/dist/esm/i18n/components/LOW_LEVEL_AI_GRAPH_VIEWER.fr.d.ts.map +1 -0
  933. package/dist/esm/i18n/components/LOW_LEVEL_AI_GRAPH_VIEWER.fr.js +30 -0
  934. package/dist/esm/i18n/components/LOW_LEVEL_AI_GRAPH_VIEWER.fr.js.map +1 -0
  935. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.d.ts.map +1 -1
  936. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.js.map +1 -1
  937. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.fr.d.ts +14 -0
  938. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.fr.d.ts.map +1 -0
  939. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.fr.js +14 -0
  940. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.fr.js.map +1 -0
  941. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.d.ts.map +1 -1
  942. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.js.map +1 -1
  943. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.fr.d.ts +17 -0
  944. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.fr.d.ts.map +1 -0
  945. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.fr.js +17 -0
  946. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.fr.js.map +1 -0
  947. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.d.ts.map +1 -1
  948. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.js.map +1 -1
  949. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.fr.d.ts +12 -0
  950. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.fr.d.ts.map +1 -0
  951. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.fr.js +12 -0
  952. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.fr.js.map +1 -0
  953. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.d.ts.map +1 -1
  954. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.js.map +1 -1
  955. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.fr.d.ts +12 -0
  956. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.fr.d.ts.map +1 -0
  957. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.fr.js +12 -0
  958. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.fr.js.map +1 -0
  959. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.d.ts.map +1 -1
  960. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.js.map +1 -1
  961. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.fr.d.ts +12 -0
  962. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.fr.d.ts.map +1 -0
  963. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.fr.js +12 -0
  964. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.fr.js.map +1 -0
  965. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.d.ts.map +1 -1
  966. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.js.map +1 -1
  967. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.fr.d.ts +14 -0
  968. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.fr.d.ts.map +1 -0
  969. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.fr.js +14 -0
  970. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.fr.js.map +1 -0
  971. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts +2 -1
  972. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts.map +1 -1
  973. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js +3 -2
  974. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js.map +1 -1
  975. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.fr.d.ts +60 -0
  976. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.fr.d.ts.map +1 -0
  977. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.fr.js +60 -0
  978. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.fr.js.map +1 -0
  979. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.d.ts.map +1 -1
  980. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.js.map +1 -1
  981. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.fr.d.ts +31 -0
  982. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.fr.d.ts.map +1 -0
  983. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.fr.js +31 -0
  984. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.fr.js.map +1 -0
  985. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.d.ts.map +1 -1
  986. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.js.map +1 -1
  987. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.fr.d.ts +19 -0
  988. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.fr.d.ts.map +1 -0
  989. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.fr.js +19 -0
  990. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.fr.js.map +1 -0
  991. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.d.ts.map +1 -1
  992. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.js.map +1 -1
  993. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.fr.d.ts +12 -0
  994. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.fr.d.ts.map +1 -0
  995. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.fr.js +12 -0
  996. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.fr.js.map +1 -0
  997. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.d.ts.map +1 -1
  998. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.js.map +1 -1
  999. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.fr.d.ts +21 -0
  1000. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.fr.d.ts.map +1 -0
  1001. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.fr.js +21 -0
  1002. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.fr.js.map +1 -0
  1003. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts.map +1 -1
  1004. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js.map +1 -1
  1005. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.fr.d.ts +28 -0
  1006. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.fr.d.ts.map +1 -0
  1007. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.fr.js +28 -0
  1008. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.fr.js.map +1 -0
  1009. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.d.ts.map +1 -1
  1010. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.js.map +1 -1
  1011. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.fr.d.ts +14 -0
  1012. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.fr.d.ts.map +1 -0
  1013. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.fr.js +14 -0
  1014. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.fr.js.map +1 -0
  1015. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts +1 -1
  1016. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts.map +1 -1
  1017. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.js +1 -1
  1018. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.js.map +1 -1
  1019. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.fr.d.ts +38 -0
  1020. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.fr.d.ts.map +1 -0
  1021. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.fr.js +38 -0
  1022. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.fr.js.map +1 -0
  1023. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.d.ts.map +1 -1
  1024. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.js.map +1 -1
  1025. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.fr.d.ts +25 -0
  1026. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.fr.d.ts.map +1 -0
  1027. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.fr.js +25 -0
  1028. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.fr.js.map +1 -0
  1029. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts +4 -3
  1030. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts.map +1 -1
  1031. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js +5 -4
  1032. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js.map +1 -1
  1033. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.fr.d.ts +26 -0
  1034. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.fr.d.ts.map +1 -0
  1035. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.fr.js +26 -0
  1036. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.fr.js.map +1 -0
  1037. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.d.ts.map +1 -1
  1038. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.js.map +1 -1
  1039. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.fr.d.ts +13 -0
  1040. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.fr.d.ts.map +1 -0
  1041. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.fr.js +13 -0
  1042. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.fr.js.map +1 -0
  1043. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.d.ts.map +1 -1
  1044. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.js.map +1 -1
  1045. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.fr.d.ts +15 -0
  1046. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.fr.d.ts.map +1 -0
  1047. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.fr.js +15 -0
  1048. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.fr.js.map +1 -0
  1049. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.d.ts.map +1 -1
  1050. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.js.map +1 -1
  1051. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.fr.d.ts +13 -0
  1052. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.fr.d.ts.map +1 -0
  1053. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.fr.js +13 -0
  1054. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.fr.js.map +1 -0
  1055. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.d.ts.map +1 -1
  1056. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.js.map +1 -1
  1057. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.fr.d.ts +13 -0
  1058. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.fr.d.ts.map +1 -0
  1059. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.fr.js +13 -0
  1060. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.fr.js.map +1 -0
  1061. package/dist/esm/i18n/components/LOW_LEVEL_CHIPS_INPUT.en.d.ts +15 -0
  1062. package/dist/esm/i18n/components/LOW_LEVEL_CHIPS_INPUT.en.d.ts.map +1 -0
  1063. package/dist/esm/i18n/components/LOW_LEVEL_CHIPS_INPUT.en.js +15 -0
  1064. package/dist/esm/i18n/components/LOW_LEVEL_CHIPS_INPUT.en.js.map +1 -0
  1065. package/dist/esm/i18n/components/LOW_LEVEL_CHIPS_INPUT.fr.d.ts +15 -0
  1066. package/dist/esm/i18n/components/LOW_LEVEL_CHIPS_INPUT.fr.d.ts.map +1 -0
  1067. package/dist/esm/i18n/components/LOW_LEVEL_CHIPS_INPUT.fr.js +15 -0
  1068. package/dist/esm/i18n/components/LOW_LEVEL_CHIPS_INPUT.fr.js.map +1 -0
  1069. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.d.ts.map +1 -1
  1070. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.js.map +1 -1
  1071. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.fr.d.ts +17 -0
  1072. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.fr.d.ts.map +1 -0
  1073. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.fr.js +17 -0
  1074. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.fr.js.map +1 -0
  1075. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.d.ts.map +1 -1
  1076. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.js.map +1 -1
  1077. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.fr.d.ts +13 -0
  1078. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.fr.d.ts.map +1 -0
  1079. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.fr.js +13 -0
  1080. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.fr.js.map +1 -0
  1081. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts +2 -3
  1082. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts.map +1 -1
  1083. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js +2 -3
  1084. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js.map +1 -1
  1085. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.d.ts +27 -0
  1086. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.d.ts.map +1 -0
  1087. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.js +27 -0
  1088. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.js.map +1 -0
  1089. package/dist/esm/i18n/components/LOW_LEVEL_DATEPICKER.en.d.ts +12 -0
  1090. package/dist/esm/i18n/components/LOW_LEVEL_DATEPICKER.en.d.ts.map +1 -0
  1091. package/dist/esm/i18n/components/LOW_LEVEL_DATEPICKER.en.js +12 -0
  1092. package/dist/esm/i18n/components/LOW_LEVEL_DATEPICKER.en.js.map +1 -0
  1093. package/dist/esm/i18n/components/LOW_LEVEL_DATEPICKER.fr.d.ts +12 -0
  1094. package/dist/esm/i18n/components/LOW_LEVEL_DATEPICKER.fr.d.ts.map +1 -0
  1095. package/dist/esm/i18n/components/LOW_LEVEL_DATEPICKER.fr.js +12 -0
  1096. package/dist/esm/i18n/components/LOW_LEVEL_DATEPICKER.fr.js.map +1 -0
  1097. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_PICKER.en.d.ts +12 -0
  1098. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_PICKER.en.d.ts.map +1 -0
  1099. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_PICKER.en.js +12 -0
  1100. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_PICKER.en.js.map +1 -0
  1101. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_PICKER.fr.d.ts +12 -0
  1102. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_PICKER.fr.d.ts.map +1 -0
  1103. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_PICKER.fr.js +12 -0
  1104. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_PICKER.fr.js.map +1 -0
  1105. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.d.ts +1 -0
  1106. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.d.ts.map +1 -1
  1107. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.js +2 -1
  1108. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.js.map +1 -1
  1109. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.fr.d.ts +16 -0
  1110. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.fr.d.ts.map +1 -0
  1111. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.fr.js +16 -0
  1112. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.fr.js.map +1 -0
  1113. package/dist/esm/i18n/components/LOW_LEVEL_DATE_RANGE_PICKER.en.d.ts +12 -0
  1114. package/dist/esm/i18n/components/LOW_LEVEL_DATE_RANGE_PICKER.en.d.ts.map +1 -0
  1115. package/dist/esm/i18n/components/LOW_LEVEL_DATE_RANGE_PICKER.en.js +12 -0
  1116. package/dist/esm/i18n/components/LOW_LEVEL_DATE_RANGE_PICKER.en.js.map +1 -0
  1117. package/dist/esm/i18n/components/LOW_LEVEL_DATE_RANGE_PICKER.fr.d.ts +12 -0
  1118. package/dist/esm/i18n/components/LOW_LEVEL_DATE_RANGE_PICKER.fr.d.ts.map +1 -0
  1119. package/dist/esm/i18n/components/LOW_LEVEL_DATE_RANGE_PICKER.fr.js +12 -0
  1120. package/dist/esm/i18n/components/LOW_LEVEL_DATE_RANGE_PICKER.fr.js.map +1 -0
  1121. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.d.ts.map +1 -1
  1122. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.js.map +1 -1
  1123. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.fr.d.ts +13 -0
  1124. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.fr.d.ts.map +1 -0
  1125. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.fr.js +13 -0
  1126. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.fr.js.map +1 -0
  1127. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.d.ts.map +1 -1
  1128. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.js.map +1 -1
  1129. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.fr.d.ts +12 -0
  1130. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.fr.d.ts.map +1 -0
  1131. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.fr.js +12 -0
  1132. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.fr.js.map +1 -0
  1133. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.d.ts.map +1 -1
  1134. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.js.map +1 -1
  1135. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.fr.d.ts +12 -0
  1136. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.fr.d.ts.map +1 -0
  1137. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.fr.js +12 -0
  1138. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.fr.js.map +1 -0
  1139. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.d.ts.map +1 -1
  1140. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.js.map +1 -1
  1141. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.fr.d.ts +21 -0
  1142. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.fr.d.ts.map +1 -0
  1143. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.fr.js +21 -0
  1144. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.fr.js.map +1 -0
  1145. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.d.ts.map +1 -1
  1146. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.js.map +1 -1
  1147. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.fr.d.ts +12 -0
  1148. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.fr.d.ts.map +1 -0
  1149. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.fr.js +12 -0
  1150. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.fr.js.map +1 -0
  1151. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.d.ts.map +1 -1
  1152. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.js.map +1 -1
  1153. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.fr.d.ts +12 -0
  1154. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.fr.d.ts.map +1 -0
  1155. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.fr.js +12 -0
  1156. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.fr.js.map +1 -0
  1157. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts +1 -1
  1158. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts.map +1 -1
  1159. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.js +1 -1
  1160. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.js.map +1 -1
  1161. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.fr.d.ts +22 -0
  1162. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.fr.d.ts.map +1 -0
  1163. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.fr.js +22 -0
  1164. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.fr.js.map +1 -0
  1165. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.d.ts.map +1 -1
  1166. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.js.map +1 -1
  1167. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.fr.d.ts +14 -0
  1168. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.fr.d.ts.map +1 -0
  1169. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.fr.js +14 -0
  1170. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.fr.js.map +1 -0
  1171. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.d.ts +1 -1
  1172. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.d.ts.map +1 -1
  1173. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.js +1 -1
  1174. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.js.map +1 -1
  1175. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.fr.d.ts +17 -0
  1176. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.fr.d.ts.map +1 -0
  1177. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.fr.js +17 -0
  1178. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.fr.js.map +1 -0
  1179. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.d.ts +1 -1
  1180. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.d.ts.map +1 -1
  1181. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.js +1 -1
  1182. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.js.map +1 -1
  1183. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.fr.d.ts +16 -0
  1184. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.fr.d.ts.map +1 -0
  1185. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.fr.js +16 -0
  1186. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.fr.js.map +1 -0
  1187. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.d.ts.map +1 -1
  1188. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.js.map +1 -1
  1189. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.fr.d.ts +15 -0
  1190. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.fr.d.ts.map +1 -0
  1191. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.fr.js +15 -0
  1192. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.fr.js.map +1 -0
  1193. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.d.ts.map +1 -1
  1194. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.js.map +1 -1
  1195. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.fr.d.ts +14 -0
  1196. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.fr.d.ts.map +1 -0
  1197. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.fr.js +14 -0
  1198. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.fr.js.map +1 -0
  1199. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.d.ts.map +1 -1
  1200. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.js.map +1 -1
  1201. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.fr.d.ts +12 -0
  1202. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.fr.d.ts.map +1 -0
  1203. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.fr.js +12 -0
  1204. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.fr.js.map +1 -0
  1205. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.d.ts.map +1 -1
  1206. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.js.map +1 -1
  1207. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.fr.d.ts +12 -0
  1208. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.fr.d.ts.map +1 -0
  1209. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.fr.js +12 -0
  1210. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.fr.js.map +1 -0
  1211. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.d.ts.map +1 -1
  1212. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.js.map +1 -1
  1213. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.fr.d.ts +12 -0
  1214. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.fr.d.ts.map +1 -0
  1215. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.fr.js +12 -0
  1216. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.fr.js.map +1 -0
  1217. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.d.ts.map +1 -1
  1218. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.js.map +1 -1
  1219. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.fr.d.ts +12 -0
  1220. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.fr.d.ts.map +1 -0
  1221. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.fr.js +12 -0
  1222. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.fr.js.map +1 -0
  1223. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.d.ts.map +1 -1
  1224. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.js.map +1 -1
  1225. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.fr.d.ts +12 -0
  1226. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.fr.d.ts.map +1 -0
  1227. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.fr.js +12 -0
  1228. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.fr.js.map +1 -0
  1229. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.d.ts.map +1 -1
  1230. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.js.map +1 -1
  1231. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.fr.d.ts +12 -0
  1232. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.fr.d.ts.map +1 -0
  1233. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.fr.js +12 -0
  1234. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.fr.js.map +1 -0
  1235. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.d.ts.map +1 -1
  1236. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.js.map +1 -1
  1237. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.fr.d.ts +12 -0
  1238. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.fr.d.ts.map +1 -0
  1239. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.fr.js +12 -0
  1240. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.fr.js.map +1 -0
  1241. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.d.ts.map +1 -1
  1242. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.js.map +1 -1
  1243. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.fr.d.ts +14 -0
  1244. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.fr.d.ts.map +1 -0
  1245. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.fr.js +14 -0
  1246. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.fr.js.map +1 -0
  1247. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.d.ts.map +1 -1
  1248. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.js.map +1 -1
  1249. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.fr.d.ts +23 -0
  1250. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.fr.d.ts.map +1 -0
  1251. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.fr.js +23 -0
  1252. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.fr.js.map +1 -0
  1253. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LIMIT_INDICATOR.en.d.ts +13 -0
  1254. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LIMIT_INDICATOR.en.d.ts.map +1 -0
  1255. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LIMIT_INDICATOR.en.js +13 -0
  1256. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LIMIT_INDICATOR.en.js.map +1 -0
  1257. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LIMIT_INDICATOR.fr.d.ts +13 -0
  1258. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LIMIT_INDICATOR.fr.d.ts.map +1 -0
  1259. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LIMIT_INDICATOR.fr.js +13 -0
  1260. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LIMIT_INDICATOR.fr.js.map +1 -0
  1261. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.d.ts.map +1 -1
  1262. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.js.map +1 -1
  1263. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.fr.d.ts +13 -0
  1264. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.fr.d.ts.map +1 -0
  1265. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.fr.js +13 -0
  1266. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.fr.js.map +1 -0
  1267. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.d.ts +2 -2
  1268. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.d.ts.map +1 -1
  1269. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.js +2 -2
  1270. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.js.map +1 -1
  1271. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.fr.d.ts +30 -0
  1272. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.fr.d.ts.map +1 -0
  1273. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.fr.js +30 -0
  1274. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.fr.js.map +1 -0
  1275. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.d.ts +1 -1
  1276. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.d.ts.map +1 -1
  1277. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.js +1 -1
  1278. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.js.map +1 -1
  1279. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.fr.d.ts +16 -0
  1280. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.fr.d.ts.map +1 -0
  1281. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.fr.js +16 -0
  1282. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.fr.js.map +1 -0
  1283. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts +13 -3
  1284. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts.map +1 -1
  1285. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js +14 -4
  1286. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js.map +1 -1
  1287. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.fr.d.ts +49 -0
  1288. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.fr.d.ts.map +1 -0
  1289. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.fr.js +49 -0
  1290. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.fr.js.map +1 -0
  1291. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.d.ts +1 -1
  1292. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.d.ts.map +1 -1
  1293. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.js +1 -1
  1294. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.js.map +1 -1
  1295. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.fr.d.ts +30 -0
  1296. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.fr.d.ts.map +1 -0
  1297. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.fr.js +30 -0
  1298. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.fr.js.map +1 -0
  1299. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.d.ts.map +1 -1
  1300. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.js.map +1 -1
  1301. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.fr.d.ts +21 -0
  1302. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.fr.d.ts.map +1 -0
  1303. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.fr.js +21 -0
  1304. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.fr.js.map +1 -0
  1305. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.d.ts +1 -1
  1306. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.d.ts.map +1 -1
  1307. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.js +1 -1
  1308. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.js.map +1 -1
  1309. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.fr.d.ts +12 -0
  1310. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.fr.d.ts.map +1 -0
  1311. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.fr.js +12 -0
  1312. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.fr.js.map +1 -0
  1313. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_DURATION.en.d.ts +12 -0
  1314. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_DURATION.en.d.ts.map +1 -0
  1315. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_DURATION.en.js +12 -0
  1316. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_DURATION.en.js.map +1 -0
  1317. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_DURATION.fr.d.ts +12 -0
  1318. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_DURATION.fr.d.ts.map +1 -0
  1319. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_DURATION.fr.js +12 -0
  1320. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_DURATION.fr.js.map +1 -0
  1321. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts +5 -5
  1322. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts.map +1 -1
  1323. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.js +5 -5
  1324. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.js.map +1 -1
  1325. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.fr.d.ts +67 -0
  1326. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.fr.d.ts.map +1 -0
  1327. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.fr.js +67 -0
  1328. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.fr.js.map +1 -0
  1329. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_MONEY.en.d.ts +12 -0
  1330. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_MONEY.en.d.ts.map +1 -0
  1331. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_MONEY.en.js +12 -0
  1332. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_MONEY.en.js.map +1 -0
  1333. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_MONEY.fr.d.ts +12 -0
  1334. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_MONEY.fr.d.ts.map +1 -0
  1335. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_MONEY.fr.js +12 -0
  1336. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_MONEY.fr.js.map +1 -0
  1337. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.d.ts.map +1 -1
  1338. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.js.map +1 -1
  1339. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.fr.d.ts +12 -0
  1340. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.fr.d.ts.map +1 -0
  1341. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.fr.js +12 -0
  1342. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.fr.js.map +1 -0
  1343. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_RANGE_MONEY.en.d.ts +12 -0
  1344. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_RANGE_MONEY.en.d.ts.map +1 -0
  1345. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_RANGE_MONEY.en.js +12 -0
  1346. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_RANGE_MONEY.en.js.map +1 -0
  1347. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_RANGE_MONEY.fr.d.ts +12 -0
  1348. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_RANGE_MONEY.fr.d.ts.map +1 -0
  1349. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_RANGE_MONEY.fr.js +12 -0
  1350. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_RANGE_MONEY.fr.js.map +1 -0
  1351. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts.map +1 -1
  1352. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.js.map +1 -1
  1353. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.fr.d.ts +18 -0
  1354. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.fr.d.ts.map +1 -0
  1355. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.fr.js +18 -0
  1356. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.fr.js.map +1 -0
  1357. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.d.ts +6 -6
  1358. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.d.ts.map +1 -1
  1359. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.js +6 -6
  1360. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.js.map +1 -1
  1361. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.fr.d.ts +43 -0
  1362. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.fr.d.ts.map +1 -0
  1363. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.fr.js +43 -0
  1364. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.fr.js.map +1 -0
  1365. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.d.ts.map +1 -1
  1366. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.js.map +1 -1
  1367. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.fr.d.ts +19 -0
  1368. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.fr.d.ts.map +1 -0
  1369. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.fr.js +19 -0
  1370. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.fr.js.map +1 -0
  1371. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.d.ts.map +1 -1
  1372. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.js.map +1 -1
  1373. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.fr.d.ts +12 -0
  1374. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.fr.d.ts.map +1 -0
  1375. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.fr.js +12 -0
  1376. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.fr.js.map +1 -0
  1377. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.d.ts.map +1 -1
  1378. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.js.map +1 -1
  1379. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.fr.d.ts +12 -0
  1380. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.fr.d.ts.map +1 -0
  1381. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.fr.js +12 -0
  1382. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.fr.js.map +1 -0
  1383. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.d.ts.map +1 -1
  1384. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.js.map +1 -1
  1385. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.fr.d.ts +16 -0
  1386. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.fr.d.ts.map +1 -0
  1387. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.fr.js +16 -0
  1388. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.fr.js.map +1 -0
  1389. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.d.ts.map +1 -1
  1390. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.js.map +1 -1
  1391. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.fr.d.ts +17 -0
  1392. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.fr.d.ts.map +1 -0
  1393. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.fr.js +17 -0
  1394. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.fr.js.map +1 -0
  1395. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.d.ts.map +1 -1
  1396. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.js.map +1 -1
  1397. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.fr.d.ts +15 -0
  1398. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.fr.d.ts.map +1 -0
  1399. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.fr.js +15 -0
  1400. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.fr.js.map +1 -0
  1401. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.d.ts.map +1 -1
  1402. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.js.map +1 -1
  1403. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.fr.d.ts +13 -0
  1404. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.fr.d.ts.map +1 -0
  1405. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.fr.js +13 -0
  1406. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.fr.js.map +1 -0
  1407. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.d.ts.map +1 -1
  1408. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.js.map +1 -1
  1409. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.fr.d.ts +13 -0
  1410. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.fr.d.ts.map +1 -0
  1411. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.fr.js +13 -0
  1412. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.fr.js.map +1 -0
  1413. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.d.ts +1 -1
  1414. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.d.ts.map +1 -1
  1415. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.js +1 -1
  1416. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.js.map +1 -1
  1417. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.fr.d.ts +13 -0
  1418. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.fr.d.ts.map +1 -0
  1419. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.fr.js +13 -0
  1420. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.fr.js.map +1 -0
  1421. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.d.ts.map +1 -1
  1422. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.js.map +1 -1
  1423. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.fr.d.ts +13 -0
  1424. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.fr.d.ts.map +1 -0
  1425. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.fr.js +13 -0
  1426. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.fr.js.map +1 -0
  1427. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.d.ts.map +1 -1
  1428. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.js.map +1 -1
  1429. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.fr.d.ts +14 -0
  1430. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.fr.d.ts.map +1 -0
  1431. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.fr.js +14 -0
  1432. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.fr.js.map +1 -0
  1433. package/dist/esm/i18n/components/LOW_LEVEL_STEPPER.en.d.ts +13 -0
  1434. package/dist/esm/i18n/components/LOW_LEVEL_STEPPER.en.d.ts.map +1 -0
  1435. package/dist/esm/i18n/components/LOW_LEVEL_STEPPER.en.js +13 -0
  1436. package/dist/esm/i18n/components/LOW_LEVEL_STEPPER.en.js.map +1 -0
  1437. package/dist/esm/i18n/components/LOW_LEVEL_STEPPER.fr.d.ts +13 -0
  1438. package/dist/esm/i18n/components/LOW_LEVEL_STEPPER.fr.d.ts.map +1 -0
  1439. package/dist/esm/i18n/components/LOW_LEVEL_STEPPER.fr.js +13 -0
  1440. package/dist/esm/i18n/components/LOW_LEVEL_STEPPER.fr.js.map +1 -0
  1441. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.d.ts +1 -0
  1442. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.d.ts.map +1 -1
  1443. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.js +2 -1
  1444. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.js.map +1 -1
  1445. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.fr.d.ts +16 -0
  1446. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.fr.d.ts.map +1 -0
  1447. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.fr.js +16 -0
  1448. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.fr.js.map +1 -0
  1449. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.d.ts.map +1 -1
  1450. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.js.map +1 -1
  1451. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.fr.d.ts +19 -0
  1452. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.fr.d.ts.map +1 -0
  1453. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.fr.js +19 -0
  1454. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.fr.js.map +1 -0
  1455. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK.en.d.ts +32 -0
  1456. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK.en.d.ts.map +1 -0
  1457. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK.en.js +32 -0
  1458. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK.en.js.map +1 -0
  1459. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK.fr.d.ts +32 -0
  1460. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK.fr.d.ts.map +1 -0
  1461. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK.fr.js +32 -0
  1462. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK.fr.js.map +1 -0
  1463. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.d.ts.map +1 -1
  1464. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.js.map +1 -1
  1465. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.fr.d.ts +44 -0
  1466. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.fr.d.ts.map +1 -0
  1467. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.fr.js +44 -0
  1468. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.fr.js.map +1 -0
  1469. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.d.ts.map +1 -1
  1470. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.js.map +1 -1
  1471. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.fr.d.ts +39 -0
  1472. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.fr.d.ts.map +1 -0
  1473. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.fr.js +39 -0
  1474. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.fr.js.map +1 -0
  1475. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_LEGAL_NOTICE.en.d.ts +30 -0
  1476. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_LEGAL_NOTICE.en.d.ts.map +1 -0
  1477. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_LEGAL_NOTICE.en.js +30 -0
  1478. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_LEGAL_NOTICE.en.js.map +1 -0
  1479. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_LEGAL_NOTICE.fr.d.ts +30 -0
  1480. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_LEGAL_NOTICE.fr.d.ts.map +1 -0
  1481. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_LEGAL_NOTICE.fr.js +30 -0
  1482. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_LEGAL_NOTICE.fr.js.map +1 -0
  1483. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.d.ts.map +1 -1
  1484. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.js.map +1 -1
  1485. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.fr.d.ts +17 -0
  1486. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.fr.d.ts.map +1 -0
  1487. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.fr.js +17 -0
  1488. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.fr.js.map +1 -0
  1489. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts.map +1 -1
  1490. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js.map +1 -1
  1491. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.d.ts +45 -0
  1492. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.d.ts.map +1 -0
  1493. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.js +45 -0
  1494. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.js.map +1 -0
  1495. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.d.ts.map +1 -1
  1496. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.js.map +1 -1
  1497. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.fr.d.ts +22 -0
  1498. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.fr.d.ts.map +1 -0
  1499. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.fr.js +22 -0
  1500. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.fr.js.map +1 -0
  1501. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.d.ts.map +1 -1
  1502. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.js.map +1 -1
  1503. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.fr.d.ts +14 -0
  1504. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.fr.d.ts.map +1 -0
  1505. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.fr.js +14 -0
  1506. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.fr.js.map +1 -0
  1507. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.d.ts.map +1 -1
  1508. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.js.map +1 -1
  1509. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.fr.d.ts +16 -0
  1510. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.fr.d.ts.map +1 -0
  1511. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.fr.js +16 -0
  1512. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.fr.js.map +1 -0
  1513. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.d.ts.map +1 -1
  1514. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.js.map +1 -1
  1515. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.fr.d.ts +17 -0
  1516. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.fr.d.ts.map +1 -0
  1517. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.fr.js +17 -0
  1518. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.fr.js.map +1 -0
  1519. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.d.ts.map +1 -1
  1520. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.js.map +1 -1
  1521. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.fr.d.ts +24 -0
  1522. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.fr.d.ts.map +1 -0
  1523. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.fr.js +24 -0
  1524. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.fr.js.map +1 -0
  1525. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts.map +1 -1
  1526. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js.map +1 -1
  1527. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.fr.d.ts +18 -0
  1528. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.fr.d.ts.map +1 -0
  1529. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.fr.js +18 -0
  1530. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.fr.js.map +1 -0
  1531. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts +4 -0
  1532. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts.map +1 -1
  1533. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js +5 -1
  1534. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js.map +1 -1
  1535. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.fr.d.ts +53 -0
  1536. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.fr.d.ts.map +1 -0
  1537. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.fr.js +53 -0
  1538. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.fr.js.map +1 -0
  1539. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.d.ts.map +1 -1
  1540. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.js.map +1 -1
  1541. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.fr.d.ts +32 -0
  1542. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.fr.d.ts.map +1 -0
  1543. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.fr.js +32 -0
  1544. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.fr.js.map +1 -0
  1545. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.d.ts +2 -2
  1546. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.d.ts.map +1 -1
  1547. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.js +2 -2
  1548. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.js.map +1 -1
  1549. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.fr.d.ts +46 -0
  1550. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.fr.d.ts.map +1 -0
  1551. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.fr.js +46 -0
  1552. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.fr.js.map +1 -0
  1553. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.d.ts +2 -2
  1554. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.d.ts.map +1 -1
  1555. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.js +2 -2
  1556. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.js.map +1 -1
  1557. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.fr.d.ts +37 -0
  1558. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.fr.d.ts.map +1 -0
  1559. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.fr.js +37 -0
  1560. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.fr.js.map +1 -0
  1561. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.d.ts +2 -2
  1562. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.d.ts.map +1 -1
  1563. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.js +2 -2
  1564. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.js.map +1 -1
  1565. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.fr.d.ts +59 -0
  1566. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.fr.d.ts.map +1 -0
  1567. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.fr.js +59 -0
  1568. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.fr.js.map +1 -0
  1569. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.d.ts +4 -1
  1570. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.d.ts.map +1 -1
  1571. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.js +5 -2
  1572. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.js.map +1 -1
  1573. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.fr.d.ts +19 -0
  1574. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.fr.d.ts.map +1 -0
  1575. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.fr.js +19 -0
  1576. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.fr.js.map +1 -0
  1577. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.d.ts +1 -0
  1578. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.d.ts.map +1 -1
  1579. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.js +2 -1
  1580. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.js.map +1 -1
  1581. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.fr.d.ts +16 -0
  1582. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.fr.d.ts.map +1 -0
  1583. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.fr.js +16 -0
  1584. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.fr.js.map +1 -0
  1585. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.d.ts.map +1 -1
  1586. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.js.map +1 -1
  1587. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.fr.d.ts +14 -0
  1588. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.fr.d.ts.map +1 -0
  1589. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.fr.js +14 -0
  1590. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.fr.js.map +1 -0
  1591. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts +2 -0
  1592. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts.map +1 -1
  1593. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.js +3 -1
  1594. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.js.map +1 -1
  1595. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.fr.d.ts +62 -0
  1596. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.fr.d.ts.map +1 -0
  1597. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.fr.js +62 -0
  1598. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.fr.js.map +1 -0
  1599. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.d.ts.map +1 -1
  1600. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.js.map +1 -1
  1601. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.fr.d.ts +15 -0
  1602. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.fr.d.ts.map +1 -0
  1603. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.fr.js +15 -0
  1604. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.fr.js.map +1 -0
  1605. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts.map +1 -1
  1606. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js.map +1 -1
  1607. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.fr.d.ts +22 -0
  1608. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.fr.d.ts.map +1 -0
  1609. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.fr.js +22 -0
  1610. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.fr.js.map +1 -0
  1611. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.d.ts.map +1 -1
  1612. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.js.map +1 -1
  1613. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.fr.d.ts +13 -0
  1614. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.fr.d.ts.map +1 -0
  1615. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.fr.js +13 -0
  1616. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.fr.js.map +1 -0
  1617. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts +4 -5
  1618. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts.map +1 -1
  1619. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js +4 -5
  1620. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js.map +1 -1
  1621. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.fr.d.ts +38 -0
  1622. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.fr.d.ts.map +1 -0
  1623. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.fr.js +38 -0
  1624. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.fr.js.map +1 -0
  1625. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.d.ts +5 -5
  1626. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.d.ts.map +1 -1
  1627. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.js +5 -5
  1628. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.js.map +1 -1
  1629. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.fr.d.ts +18 -0
  1630. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.fr.d.ts.map +1 -0
  1631. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.fr.js +18 -0
  1632. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.fr.js.map +1 -0
  1633. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts +5 -4
  1634. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts.map +1 -1
  1635. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js +6 -5
  1636. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js.map +1 -1
  1637. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.fr.d.ts +30 -0
  1638. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.fr.d.ts.map +1 -0
  1639. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.fr.js +30 -0
  1640. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.fr.js.map +1 -0
  1641. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.d.ts.map +1 -1
  1642. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.js.map +1 -1
  1643. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.fr.d.ts +17 -0
  1644. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.fr.d.ts.map +1 -0
  1645. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.fr.js +17 -0
  1646. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.fr.js.map +1 -0
  1647. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.d.ts.map +1 -1
  1648. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.js.map +1 -1
  1649. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.fr.d.ts +24 -0
  1650. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.fr.d.ts.map +1 -0
  1651. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.fr.js +24 -0
  1652. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.fr.js.map +1 -0
  1653. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_RECORD_SHARING.en.d.ts +30 -0
  1654. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_RECORD_SHARING.en.d.ts.map +1 -0
  1655. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_RECORD_SHARING.en.js +30 -0
  1656. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_RECORD_SHARING.en.js.map +1 -0
  1657. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_RECORD_SHARING.fr.d.ts +30 -0
  1658. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_RECORD_SHARING.fr.d.ts.map +1 -0
  1659. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_RECORD_SHARING.fr.js +30 -0
  1660. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_RECORD_SHARING.fr.js.map +1 -0
  1661. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.d.ts +0 -1
  1662. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.d.ts.map +1 -1
  1663. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.js +0 -1
  1664. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.js.map +1 -1
  1665. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.fr.d.ts +15 -0
  1666. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.fr.d.ts.map +1 -0
  1667. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.fr.js +15 -0
  1668. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.fr.js.map +1 -0
  1669. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.d.ts.map +1 -1
  1670. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.js.map +1 -1
  1671. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.fr.d.ts +13 -0
  1672. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.fr.d.ts.map +1 -0
  1673. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.fr.js +13 -0
  1674. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.fr.js.map +1 -0
  1675. package/dist/esm/i18n/components/guidance_announcement.en.d.ts.map +1 -1
  1676. package/dist/esm/i18n/components/guidance_announcement.en.js.map +1 -1
  1677. package/dist/esm/i18n/components/guidance_announcement.fr.d.ts +12 -0
  1678. package/dist/esm/i18n/components/guidance_announcement.fr.d.ts.map +1 -0
  1679. package/dist/esm/i18n/components/guidance_announcement.fr.js +12 -0
  1680. package/dist/esm/i18n/components/guidance_announcement.fr.js.map +1 -0
  1681. package/dist/esm/i18n/components/guidance_banner.en.d.ts.map +1 -1
  1682. package/dist/esm/i18n/components/guidance_banner.en.js.map +1 -1
  1683. package/dist/esm/i18n/components/guidance_banner.fr.d.ts +13 -0
  1684. package/dist/esm/i18n/components/guidance_banner.fr.d.ts.map +1 -0
  1685. package/dist/esm/i18n/components/guidance_banner.fr.js +13 -0
  1686. package/dist/esm/i18n/components/guidance_banner.fr.js.map +1 -0
  1687. package/dist/esm/i18n/components/guidance_card.en.d.ts.map +1 -1
  1688. package/dist/esm/i18n/components/guidance_card.en.js.map +1 -1
  1689. package/dist/esm/i18n/components/guidance_card.fr.d.ts +12 -0
  1690. package/dist/esm/i18n/components/guidance_card.fr.d.ts.map +1 -0
  1691. package/dist/esm/i18n/components/guidance_card.fr.js +12 -0
  1692. package/dist/esm/i18n/components/guidance_card.fr.js.map +1 -0
  1693. package/dist/esm/i18n/components/guidance_checklist.en.d.ts +1 -1
  1694. package/dist/esm/i18n/components/guidance_checklist.en.d.ts.map +1 -1
  1695. package/dist/esm/i18n/components/guidance_checklist.en.js +1 -1
  1696. package/dist/esm/i18n/components/guidance_checklist.en.js.map +1 -1
  1697. package/dist/esm/i18n/components/guidance_checklist.fr.d.ts +16 -0
  1698. package/dist/esm/i18n/components/guidance_checklist.fr.d.ts.map +1 -0
  1699. package/dist/esm/i18n/components/guidance_checklist.fr.js +16 -0
  1700. package/dist/esm/i18n/components/guidance_checklist.fr.js.map +1 -0
  1701. package/dist/esm/i18n/components/guidance_checklist_item.en.d.ts.map +1 -1
  1702. package/dist/esm/i18n/components/guidance_checklist_item.en.js.map +1 -1
  1703. package/dist/esm/i18n/components/guidance_checklist_item.fr.d.ts +14 -0
  1704. package/dist/esm/i18n/components/guidance_checklist_item.fr.d.ts.map +1 -0
  1705. package/dist/esm/i18n/components/guidance_checklist_item.fr.js +14 -0
  1706. package/dist/esm/i18n/components/guidance_checklist_item.fr.js.map +1 -0
  1707. package/dist/esm/i18n/components/guidance_modal.en.d.ts.map +1 -1
  1708. package/dist/esm/i18n/components/guidance_modal.en.js.map +1 -1
  1709. package/dist/esm/i18n/components/guidance_modal.fr.d.ts +15 -0
  1710. package/dist/esm/i18n/components/guidance_modal.fr.d.ts.map +1 -0
  1711. package/dist/esm/i18n/components/guidance_modal.fr.js +15 -0
  1712. package/dist/esm/i18n/components/guidance_modal.fr.js.map +1 -0
  1713. package/dist/esm/i18n/components/guidance_onboarding_view.en.d.ts.map +1 -1
  1714. package/dist/esm/i18n/components/guidance_onboarding_view.en.js.map +1 -1
  1715. package/dist/esm/i18n/components/guidance_onboarding_view.fr.d.ts +18 -0
  1716. package/dist/esm/i18n/components/guidance_onboarding_view.fr.d.ts.map +1 -0
  1717. package/dist/esm/i18n/components/guidance_onboarding_view.fr.js +18 -0
  1718. package/dist/esm/i18n/components/guidance_onboarding_view.fr.js.map +1 -0
  1719. package/dist/esm/i18n/components/guidance_survey.en.d.ts.map +1 -1
  1720. package/dist/esm/i18n/components/guidance_survey.en.js.map +1 -1
  1721. package/dist/esm/i18n/components/guidance_survey.fr.d.ts +19 -0
  1722. package/dist/esm/i18n/components/guidance_survey.fr.d.ts.map +1 -0
  1723. package/dist/esm/i18n/components/guidance_survey.fr.js +19 -0
  1724. package/dist/esm/i18n/components/guidance_survey.fr.js.map +1 -0
  1725. package/dist/esm/i18n/components/guidance_tooltip.en.d.ts.map +1 -1
  1726. package/dist/esm/i18n/components/guidance_tooltip.en.js.map +1 -1
  1727. package/dist/esm/i18n/components/guidance_tooltip.fr.d.ts +13 -0
  1728. package/dist/esm/i18n/components/guidance_tooltip.fr.d.ts.map +1 -0
  1729. package/dist/esm/i18n/components/guidance_tooltip.fr.js +13 -0
  1730. package/dist/esm/i18n/components/guidance_tooltip.fr.js.map +1 -0
  1731. package/dist/esm/i18n/components/guidance_tour.en.d.ts.map +1 -1
  1732. package/dist/esm/i18n/components/guidance_tour.en.js.map +1 -1
  1733. package/dist/esm/i18n/components/guidance_tour.fr.d.ts +17 -0
  1734. package/dist/esm/i18n/components/guidance_tour.fr.d.ts.map +1 -0
  1735. package/dist/esm/i18n/components/guidance_tour.fr.js +17 -0
  1736. package/dist/esm/i18n/components/guidance_tour.fr.js.map +1 -0
  1737. package/dist/esm/i18n/components/progression_achievement_badge.en.d.ts.map +1 -1
  1738. package/dist/esm/i18n/components/progression_achievement_badge.en.js.map +1 -1
  1739. package/dist/esm/i18n/components/progression_achievement_badge.fr.d.ts +14 -0
  1740. package/dist/esm/i18n/components/progression_achievement_badge.fr.d.ts.map +1 -0
  1741. package/dist/esm/i18n/components/progression_achievement_badge.fr.js +14 -0
  1742. package/dist/esm/i18n/components/progression_achievement_badge.fr.js.map +1 -0
  1743. package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts +1 -1
  1744. package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts.map +1 -1
  1745. package/dist/esm/i18n/components/progression_milestone_tracker.en.js +1 -1
  1746. package/dist/esm/i18n/components/progression_milestone_tracker.en.js.map +1 -1
  1747. package/dist/esm/i18n/components/progression_milestone_tracker.fr.d.ts +20 -0
  1748. package/dist/esm/i18n/components/progression_milestone_tracker.fr.d.ts.map +1 -0
  1749. package/dist/esm/i18n/components/progression_milestone_tracker.fr.js +20 -0
  1750. package/dist/esm/i18n/components/progression_milestone_tracker.fr.js.map +1 -0
  1751. package/dist/esm/i18n/composite_views/app.build-plan.en.d.ts +19 -0
  1752. package/dist/esm/i18n/composite_views/app.build-plan.en.d.ts.map +1 -0
  1753. package/dist/esm/i18n/composite_views/app.build-plan.en.js +20 -0
  1754. package/dist/esm/i18n/composite_views/app.build-plan.en.js.map +1 -0
  1755. package/dist/esm/i18n/composite_views/app.build-plan.fr.d.ts +16 -0
  1756. package/dist/esm/i18n/composite_views/app.build-plan.fr.d.ts.map +1 -0
  1757. package/dist/esm/i18n/composite_views/app.build-plan.fr.js +16 -0
  1758. package/dist/esm/i18n/composite_views/app.build-plan.fr.js.map +1 -0
  1759. package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts.map +1 -1
  1760. package/dist/esm/i18n/composite_views/app.creation-conversation.en.js +37 -14
  1761. package/dist/esm/i18n/composite_views/app.creation-conversation.en.js.map +1 -1
  1762. package/dist/esm/i18n/composite_views/app.creation-conversation.fr.d.ts +316 -0
  1763. package/dist/esm/i18n/composite_views/app.creation-conversation.fr.d.ts.map +1 -0
  1764. package/dist/esm/i18n/composite_views/app.creation-conversation.fr.js +316 -0
  1765. package/dist/esm/i18n/composite_views/app.creation-conversation.fr.js.map +1 -0
  1766. package/dist/esm/i18n/composite_views/app.creation-dossier.en.d.ts.map +1 -1
  1767. package/dist/esm/i18n/composite_views/app.creation-dossier.en.js.map +1 -1
  1768. package/dist/esm/i18n/composite_views/app.creation-dossier.fr.d.ts +48 -0
  1769. package/dist/esm/i18n/composite_views/app.creation-dossier.fr.d.ts.map +1 -0
  1770. package/dist/esm/i18n/composite_views/app.creation-dossier.fr.js +48 -0
  1771. package/dist/esm/i18n/composite_views/app.creation-dossier.fr.js.map +1 -0
  1772. package/dist/esm/i18n/composite_views/app.domain-model.en.d.ts +6 -0
  1773. package/dist/esm/i18n/composite_views/app.domain-model.en.d.ts.map +1 -1
  1774. package/dist/esm/i18n/composite_views/app.domain-model.en.js +111 -1
  1775. package/dist/esm/i18n/composite_views/app.domain-model.en.js.map +1 -1
  1776. package/dist/esm/i18n/composite_views/app.domain-model.fr.d.ts +114 -0
  1777. package/dist/esm/i18n/composite_views/app.domain-model.fr.d.ts.map +1 -0
  1778. package/dist/esm/i18n/composite_views/app.domain-model.fr.js +114 -0
  1779. package/dist/esm/i18n/composite_views/app.domain-model.fr.js.map +1 -0
  1780. package/dist/esm/i18n/composite_views/app.playbook-map.en.d.ts +19 -0
  1781. package/dist/esm/i18n/composite_views/app.playbook-map.en.d.ts.map +1 -0
  1782. package/dist/esm/i18n/composite_views/app.playbook-map.en.js +20 -0
  1783. package/dist/esm/i18n/composite_views/app.playbook-map.en.js.map +1 -0
  1784. package/dist/esm/i18n/composite_views/app.playbook-map.fr.d.ts +16 -0
  1785. package/dist/esm/i18n/composite_views/app.playbook-map.fr.d.ts.map +1 -0
  1786. package/dist/esm/i18n/composite_views/app.playbook-map.fr.js +16 -0
  1787. package/dist/esm/i18n/composite_views/app.playbook-map.fr.js.map +1 -0
  1788. package/dist/esm/i18n/control-plane-label-blocks.d.ts +554 -0
  1789. package/dist/esm/i18n/control-plane-label-blocks.d.ts.map +1 -1
  1790. package/dist/esm/i18n/control-plane-label-blocks.js +111 -11
  1791. package/dist/esm/i18n/control-plane-label-blocks.js.map +1 -1
  1792. package/dist/esm/i18n/errors_guidance/errors-guidance.en.d.ts.map +1 -1
  1793. package/dist/esm/i18n/errors_guidance/errors-guidance.en.js.map +1 -1
  1794. package/dist/esm/i18n/errors_guidance/errors-guidance.fr.d.ts +22 -0
  1795. package/dist/esm/i18n/errors_guidance/errors-guidance.fr.d.ts.map +1 -0
  1796. package/dist/esm/i18n/errors_guidance/errors-guidance.fr.js +22 -0
  1797. package/dist/esm/i18n/errors_guidance/errors-guidance.fr.js.map +1 -0
  1798. package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts +12 -0
  1799. package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts.map +1 -1
  1800. package/dist/esm/i18n/errors_messages/errors-messages.en.js +15 -0
  1801. package/dist/esm/i18n/errors_messages/errors-messages.en.js.map +1 -1
  1802. package/dist/esm/i18n/errors_messages/errors-messages.fr.d.ts +103 -0
  1803. package/dist/esm/i18n/errors_messages/errors-messages.fr.d.ts.map +1 -0
  1804. package/dist/esm/i18n/errors_messages/errors-messages.fr.js +103 -0
  1805. package/dist/esm/i18n/errors_messages/errors-messages.fr.js.map +1 -0
  1806. package/dist/esm/i18n/index.d.ts +13 -6
  1807. package/dist/esm/i18n/index.d.ts.map +1 -1
  1808. package/dist/esm/i18n/index.js +13 -6
  1809. package/dist/esm/i18n/index.js.map +1 -1
  1810. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts +819 -0
  1811. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts.map +1 -1
  1812. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js +25 -1
  1813. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js.map +1 -1
  1814. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.fr.d.ts +3031 -0
  1815. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.fr.d.ts.map +1 -0
  1816. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.fr.js +3031 -0
  1817. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.fr.js.map +1 -0
  1818. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts +45 -0
  1819. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts.map +1 -1
  1820. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js +2 -0
  1821. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js.map +1 -1
  1822. package/dist/esm/i18n/resources/wildoApplicationActorTasks.fr.d.ts +976 -0
  1823. package/dist/esm/i18n/resources/wildoApplicationActorTasks.fr.d.ts.map +1 -0
  1824. package/dist/esm/i18n/resources/wildoApplicationActorTasks.fr.js +976 -0
  1825. package/dist/esm/i18n/resources/wildoApplicationActorTasks.fr.js.map +1 -0
  1826. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts +45 -0
  1827. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts.map +1 -1
  1828. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js +2 -0
  1829. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js.map +1 -1
  1830. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.fr.d.ts +602 -0
  1831. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.fr.d.ts.map +1 -0
  1832. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.fr.js +602 -0
  1833. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.fr.js.map +1 -0
  1834. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.d.ts.map +1 -1
  1835. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.js.map +1 -1
  1836. package/dist/esm/i18n/resources/workbenchApplicationSecrets.fr.d.ts +102 -0
  1837. package/dist/esm/i18n/resources/workbenchApplicationSecrets.fr.d.ts.map +1 -0
  1838. package/dist/esm/i18n/resources/workbenchApplicationSecrets.fr.js +102 -0
  1839. package/dist/esm/i18n/resources/workbenchApplicationSecrets.fr.js.map +1 -0
  1840. package/dist/esm/i18n/resources/workbenchAspects.en.d.ts.map +1 -1
  1841. package/dist/esm/i18n/resources/workbenchAspects.en.js +4 -0
  1842. package/dist/esm/i18n/resources/workbenchAspects.en.js.map +1 -1
  1843. package/dist/esm/i18n/resources/workbenchAspects.fr.d.ts +1847 -0
  1844. package/dist/esm/i18n/resources/workbenchAspects.fr.d.ts.map +1 -0
  1845. package/dist/esm/i18n/resources/workbenchAspects.fr.js +1847 -0
  1846. package/dist/esm/i18n/resources/workbenchAspects.fr.js.map +1 -0
  1847. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts.map +1 -1
  1848. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js.map +1 -1
  1849. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.fr.d.ts +159 -0
  1850. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.fr.d.ts.map +1 -0
  1851. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.fr.js +159 -0
  1852. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.fr.js.map +1 -0
  1853. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts +16 -0
  1854. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts.map +1 -1
  1855. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js +15 -4
  1856. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js.map +1 -1
  1857. package/dist/esm/i18n/resources/workbenchBuildDispatches.fr.d.ts +115 -0
  1858. package/dist/esm/i18n/resources/workbenchBuildDispatches.fr.d.ts.map +1 -0
  1859. package/dist/esm/i18n/resources/workbenchBuildDispatches.fr.js +115 -0
  1860. package/dist/esm/i18n/resources/workbenchBuildDispatches.fr.js.map +1 -0
  1861. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts +37 -5
  1862. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts.map +1 -1
  1863. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js +47 -5
  1864. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js.map +1 -1
  1865. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.fr.d.ts +130 -0
  1866. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.fr.d.ts.map +1 -0
  1867. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.fr.js +130 -0
  1868. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.fr.js.map +1 -0
  1869. package/dist/esm/i18n/resources/workbenchBuildTaskRecords.en.d.ts +371 -0
  1870. package/dist/esm/i18n/resources/workbenchBuildTaskRecords.en.d.ts.map +1 -0
  1871. package/dist/esm/i18n/resources/workbenchBuildTaskRecords.en.js +144 -0
  1872. package/dist/esm/i18n/resources/workbenchBuildTaskRecords.en.js.map +1 -0
  1873. package/dist/esm/i18n/resources/workbenchBuildTaskRecords.fr.d.ts +376 -0
  1874. package/dist/esm/i18n/resources/workbenchBuildTaskRecords.fr.d.ts.map +1 -0
  1875. package/dist/esm/i18n/resources/workbenchBuildTaskRecords.fr.js +376 -0
  1876. package/dist/esm/i18n/resources/workbenchBuildTaskRecords.fr.js.map +1 -0
  1877. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.d.ts.map +1 -1
  1878. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.js.map +1 -1
  1879. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.fr.d.ts +109 -0
  1880. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.fr.d.ts.map +1 -0
  1881. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.fr.js +109 -0
  1882. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.fr.js.map +1 -0
  1883. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.d.ts.map +1 -1
  1884. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.js.map +1 -1
  1885. package/dist/esm/i18n/resources/workbenchCreationHomeLines.fr.d.ts +100 -0
  1886. package/dist/esm/i18n/resources/workbenchCreationHomeLines.fr.d.ts.map +1 -0
  1887. package/dist/esm/i18n/resources/workbenchCreationHomeLines.fr.js +100 -0
  1888. package/dist/esm/i18n/resources/workbenchCreationHomeLines.fr.js.map +1 -0
  1889. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.d.ts.map +1 -1
  1890. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.js.map +1 -1
  1891. package/dist/esm/i18n/resources/workbenchCreationOutcomes.fr.d.ts +100 -0
  1892. package/dist/esm/i18n/resources/workbenchCreationOutcomes.fr.d.ts.map +1 -0
  1893. package/dist/esm/i18n/resources/workbenchCreationOutcomes.fr.js +100 -0
  1894. package/dist/esm/i18n/resources/workbenchCreationOutcomes.fr.js.map +1 -0
  1895. package/dist/esm/i18n/resources/workbenchDomainResources.en.d.ts.map +1 -1
  1896. package/dist/esm/i18n/resources/workbenchDomainResources.en.js.map +1 -1
  1897. package/dist/esm/i18n/resources/workbenchDomainResources.fr.d.ts +126 -0
  1898. package/dist/esm/i18n/resources/workbenchDomainResources.fr.d.ts.map +1 -0
  1899. package/dist/esm/i18n/resources/workbenchDomainResources.fr.js +126 -0
  1900. package/dist/esm/i18n/resources/workbenchDomainResources.fr.js.map +1 -0
  1901. package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts.map +1 -1
  1902. package/dist/esm/i18n/resources/workbenchDossierEntries.en.js.map +1 -1
  1903. package/dist/esm/i18n/resources/workbenchDossierEntries.fr.d.ts +199 -0
  1904. package/dist/esm/i18n/resources/workbenchDossierEntries.fr.d.ts.map +1 -0
  1905. package/dist/esm/i18n/resources/workbenchDossierEntries.fr.js +199 -0
  1906. package/dist/esm/i18n/resources/workbenchDossierEntries.fr.js.map +1 -0
  1907. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.d.ts.map +1 -1
  1908. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.js.map +1 -1
  1909. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.fr.d.ts +117 -0
  1910. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.fr.d.ts.map +1 -0
  1911. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.fr.js +117 -0
  1912. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.fr.js.map +1 -0
  1913. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.d.ts.map +1 -1
  1914. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.js.map +1 -1
  1915. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.fr.d.ts +126 -0
  1916. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.fr.d.ts.map +1 -0
  1917. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.fr.js +126 -0
  1918. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.fr.js.map +1 -0
  1919. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.d.ts.map +1 -1
  1920. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.js.map +1 -1
  1921. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.fr.d.ts +94 -0
  1922. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.fr.d.ts.map +1 -0
  1923. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.fr.js +94 -0
  1924. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.fr.js.map +1 -0
  1925. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts +69 -0
  1926. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts.map +1 -1
  1927. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js +28 -0
  1928. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js.map +1 -1
  1929. package/dist/esm/i18n/resources/workbenchPlaybookRuns.fr.d.ts +244 -0
  1930. package/dist/esm/i18n/resources/workbenchPlaybookRuns.fr.d.ts.map +1 -0
  1931. package/dist/esm/i18n/resources/workbenchPlaybookRuns.fr.js +244 -0
  1932. package/dist/esm/i18n/resources/workbenchPlaybookRuns.fr.js.map +1 -0
  1933. package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts +36 -0
  1934. package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts.map +1 -1
  1935. package/dist/esm/i18n/resources/workbenchPlaybooks.en.js +28 -0
  1936. package/dist/esm/i18n/resources/workbenchPlaybooks.en.js.map +1 -1
  1937. package/dist/esm/i18n/resources/workbenchPlaybooks.fr.d.ts +231 -0
  1938. package/dist/esm/i18n/resources/workbenchPlaybooks.fr.d.ts.map +1 -0
  1939. package/dist/esm/i18n/resources/workbenchPlaybooks.fr.js +231 -0
  1940. package/dist/esm/i18n/resources/workbenchPlaybooks.fr.js.map +1 -0
  1941. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts.map +1 -1
  1942. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js.map +1 -1
  1943. package/dist/esm/i18n/resources/workbenchRunWriteRecords.fr.d.ts +123 -0
  1944. package/dist/esm/i18n/resources/workbenchRunWriteRecords.fr.d.ts.map +1 -0
  1945. package/dist/esm/i18n/resources/workbenchRunWriteRecords.fr.js +123 -0
  1946. package/dist/esm/i18n/resources/workbenchRunWriteRecords.fr.js.map +1 -0
  1947. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts +438 -2
  1948. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
  1949. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js +110 -2
  1950. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js.map +1 -1
  1951. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.fr.d.ts +6727 -0
  1952. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.fr.d.ts.map +1 -0
  1953. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.fr.js +6727 -0
  1954. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.fr.js.map +1 -0
  1955. package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts +25 -0
  1956. package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts.map +1 -1
  1957. package/dist/esm/i18n/resources/workbenchTraceSessions.en.js +30 -0
  1958. package/dist/esm/i18n/resources/workbenchTraceSessions.en.js.map +1 -1
  1959. package/dist/esm/i18n/resources/workbenchTraceSessions.fr.d.ts +139 -0
  1960. package/dist/esm/i18n/resources/workbenchTraceSessions.fr.d.ts.map +1 -0
  1961. package/dist/esm/i18n/resources/workbenchTraceSessions.fr.js +139 -0
  1962. package/dist/esm/i18n/resources/workbenchTraceSessions.fr.js.map +1 -0
  1963. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.d.ts.map +1 -1
  1964. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.js.map +1 -1
  1965. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.fr.d.ts +112 -0
  1966. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.fr.d.ts.map +1 -0
  1967. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.fr.js +112 -0
  1968. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.fr.js.map +1 -0
  1969. package/dist/esm/i18n/system_enums/application-creation.en.d.ts +144 -0
  1970. package/dist/esm/i18n/system_enums/application-creation.en.d.ts.map +1 -1
  1971. package/dist/esm/i18n/system_enums/application-creation.en.js +150 -0
  1972. package/dist/esm/i18n/system_enums/application-creation.en.js.map +1 -1
  1973. package/dist/esm/i18n/system_enums/application-creation.fr.d.ts +450 -0
  1974. package/dist/esm/i18n/system_enums/application-creation.fr.d.ts.map +1 -0
  1975. package/dist/esm/i18n/system_enums/application-creation.fr.js +450 -0
  1976. package/dist/esm/i18n/system_enums/application-creation.fr.js.map +1 -0
  1977. package/dist/esm/i18n/system_enums/compliance-programme.en.d.ts +8 -0
  1978. package/dist/esm/i18n/system_enums/compliance-programme.en.d.ts.map +1 -1
  1979. package/dist/esm/i18n/system_enums/compliance-programme.en.js +8 -0
  1980. package/dist/esm/i18n/system_enums/compliance-programme.en.js.map +1 -1
  1981. package/dist/esm/i18n/system_enums/compliance-programme.fr.d.ts +114 -0
  1982. package/dist/esm/i18n/system_enums/compliance-programme.fr.d.ts.map +1 -0
  1983. package/dist/esm/i18n/system_enums/compliance-programme.fr.js +114 -0
  1984. package/dist/esm/i18n/system_enums/compliance-programme.fr.js.map +1 -0
  1985. package/dist/esm/i18n/system_enums/flows-actors.en.d.ts +68 -0
  1986. package/dist/esm/i18n/system_enums/flows-actors.en.d.ts.map +1 -1
  1987. package/dist/esm/i18n/system_enums/flows-actors.en.js +89 -0
  1988. package/dist/esm/i18n/system_enums/flows-actors.en.js.map +1 -1
  1989. package/dist/esm/i18n/system_enums/flows-actors.fr.d.ts +96 -0
  1990. package/dist/esm/i18n/system_enums/flows-actors.fr.d.ts.map +1 -0
  1991. package/dist/esm/i18n/system_enums/flows-actors.fr.js +96 -0
  1992. package/dist/esm/i18n/system_enums/flows-actors.fr.js.map +1 -0
  1993. package/dist/esm/i18n/system_enums/form-answer-values.en.d.ts +204 -0
  1994. package/dist/esm/i18n/system_enums/form-answer-values.en.d.ts.map +1 -0
  1995. package/dist/esm/i18n/system_enums/form-answer-values.en.js +204 -0
  1996. package/dist/esm/i18n/system_enums/form-answer-values.en.js.map +1 -0
  1997. package/dist/esm/i18n/system_enums/form-answer-values.fr.d.ts +199 -0
  1998. package/dist/esm/i18n/system_enums/form-answer-values.fr.d.ts.map +1 -0
  1999. package/dist/esm/i18n/system_enums/form-answer-values.fr.js +199 -0
  2000. package/dist/esm/i18n/system_enums/form-answer-values.fr.js.map +1 -0
  2001. package/dist/esm/i18n/system_enums/localization.en.d.ts.map +1 -1
  2002. package/dist/esm/i18n/system_enums/localization.en.js.map +1 -1
  2003. package/dist/esm/i18n/system_enums/localization.fr.d.ts +74 -0
  2004. package/dist/esm/i18n/system_enums/localization.fr.d.ts.map +1 -0
  2005. package/dist/esm/i18n/system_enums/localization.fr.js +74 -0
  2006. package/dist/esm/i18n/system_enums/localization.fr.js.map +1 -0
  2007. package/dist/esm/i18n/system_enums/market.en.d.ts.map +1 -1
  2008. package/dist/esm/i18n/system_enums/market.en.js.map +1 -1
  2009. package/dist/esm/i18n/system_enums/market.fr.d.ts +194 -0
  2010. package/dist/esm/i18n/system_enums/market.fr.d.ts.map +1 -0
  2011. package/dist/esm/i18n/system_enums/market.fr.js +194 -0
  2012. package/dist/esm/i18n/system_enums/market.fr.js.map +1 -0
  2013. package/dist/esm/i18n/system_enums/processor-register.en.d.ts.map +1 -1
  2014. package/dist/esm/i18n/system_enums/processor-register.en.js.map +1 -1
  2015. package/dist/esm/i18n/system_enums/processor-register.fr.d.ts +37 -0
  2016. package/dist/esm/i18n/system_enums/processor-register.fr.d.ts.map +1 -0
  2017. package/dist/esm/i18n/system_enums/processor-register.fr.js +37 -0
  2018. package/dist/esm/i18n/system_enums/processor-register.fr.js.map +1 -0
  2019. package/dist/esm/i18n/system_enums/risk-register.en.d.ts +1 -0
  2020. package/dist/esm/i18n/system_enums/risk-register.en.d.ts.map +1 -1
  2021. package/dist/esm/i18n/system_enums/risk-register.en.js +1 -0
  2022. package/dist/esm/i18n/system_enums/risk-register.en.js.map +1 -1
  2023. package/dist/esm/i18n/system_enums/risk-register.fr.d.ts +37 -0
  2024. package/dist/esm/i18n/system_enums/risk-register.fr.d.ts.map +1 -0
  2025. package/dist/esm/i18n/system_enums/risk-register.fr.js +37 -0
  2026. package/dist/esm/i18n/system_enums/risk-register.fr.js.map +1 -0
  2027. package/dist/esm/i18n/system_enums/workbench-build.en.d.ts +27 -1
  2028. package/dist/esm/i18n/system_enums/workbench-build.en.d.ts.map +1 -1
  2029. package/dist/esm/i18n/system_enums/workbench-build.en.js +40 -1
  2030. package/dist/esm/i18n/system_enums/workbench-build.en.js.map +1 -1
  2031. package/dist/esm/i18n/system_enums/workbench-build.fr.d.ts +58 -0
  2032. package/dist/esm/i18n/system_enums/workbench-build.fr.d.ts.map +1 -0
  2033. package/dist/esm/i18n/system_enums/workbench-build.fr.js +58 -0
  2034. package/dist/esm/i18n/system_enums/workbench-build.fr.js.map +1 -0
  2035. package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts.map +1 -1
  2036. package/dist/esm/i18n/system_enums/workbench-creation-home.en.js.map +1 -1
  2037. package/dist/esm/i18n/system_enums/workbench-creation-home.fr.d.ts +39 -0
  2038. package/dist/esm/i18n/system_enums/workbench-creation-home.fr.d.ts.map +1 -0
  2039. package/dist/esm/i18n/system_enums/workbench-creation-home.fr.js +39 -0
  2040. package/dist/esm/i18n/system_enums/workbench-creation-home.fr.js.map +1 -0
  2041. package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts.map +1 -1
  2042. package/dist/esm/i18n/system_enums/workbench-dossier.en.js.map +1 -1
  2043. package/dist/esm/i18n/system_enums/workbench-dossier.fr.d.ts +26 -0
  2044. package/dist/esm/i18n/system_enums/workbench-dossier.fr.d.ts.map +1 -0
  2045. package/dist/esm/i18n/system_enums/workbench-dossier.fr.js +26 -0
  2046. package/dist/esm/i18n/system_enums/workbench-dossier.fr.js.map +1 -0
  2047. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.d.ts.map +1 -1
  2048. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.js.map +1 -1
  2049. package/dist/esm/i18n/system_enums/workbench-playbook-run.fr.d.ts +17 -0
  2050. package/dist/esm/i18n/system_enums/workbench-playbook-run.fr.d.ts.map +1 -0
  2051. package/dist/esm/i18n/system_enums/workbench-playbook-run.fr.js +17 -0
  2052. package/dist/esm/i18n/system_enums/workbench-playbook-run.fr.js.map +1 -0
  2053. package/dist/esm/i18n/system_enums/workbench-secrets.en.d.ts +1 -0
  2054. package/dist/esm/i18n/system_enums/workbench-secrets.en.d.ts.map +1 -1
  2055. package/dist/esm/i18n/system_enums/workbench-secrets.en.js +1 -0
  2056. package/dist/esm/i18n/system_enums/workbench-secrets.en.js.map +1 -1
  2057. package/dist/esm/i18n/system_enums/workbench-secrets.fr.d.ts +45 -0
  2058. package/dist/esm/i18n/system_enums/workbench-secrets.fr.d.ts.map +1 -0
  2059. package/dist/esm/i18n/system_enums/workbench-secrets.fr.js +45 -0
  2060. package/dist/esm/i18n/system_enums/workbench-secrets.fr.js.map +1 -0
  2061. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.d.ts.map +1 -1
  2062. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.js.map +1 -1
  2063. package/dist/esm/i18n/system_enums/workbench-specification-artifact.fr.d.ts +23 -0
  2064. package/dist/esm/i18n/system_enums/workbench-specification-artifact.fr.d.ts.map +1 -0
  2065. package/dist/esm/i18n/system_enums/workbench-specification-artifact.fr.js +23 -0
  2066. package/dist/esm/i18n/system_enums/workbench-specification-artifact.fr.js.map +1 -0
  2067. package/dist/esm/i18n-labelling/models/companion-own-label-unit.models.d.ts +100 -0
  2068. package/dist/esm/i18n-labelling/models/companion-own-label-unit.models.d.ts.map +1 -0
  2069. package/dist/esm/i18n-labelling/models/companion-own-label-unit.models.js +63 -0
  2070. package/dist/esm/i18n-labelling/models/companion-own-label-unit.models.js.map +1 -0
  2071. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.d.ts +7 -0
  2072. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.d.ts.map +1 -1
  2073. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.js +9 -0
  2074. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.js.map +1 -1
  2075. package/dist/esm/i18n-labelling/models/labelling-progress.models.d.ts.map +1 -1
  2076. package/dist/esm/i18n-labelling/models/labelling-progress.models.js.map +1 -1
  2077. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts +32 -2
  2078. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts.map +1 -1
  2079. package/dist/esm/i18n-labelling/models/labelling-unit.models.js +22 -0
  2080. package/dist/esm/i18n-labelling/models/labelling-unit.models.js.map +1 -1
  2081. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.d.ts.map +1 -1
  2082. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js.map +1 -1
  2083. package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.d.ts.map +1 -1
  2084. package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.js.map +1 -1
  2085. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.d.ts +6 -0
  2086. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.d.ts.map +1 -1
  2087. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js +31 -2
  2088. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js.map +1 -1
  2089. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts +38 -0
  2090. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts.map +1 -1
  2091. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js +129 -8
  2092. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js.map +1 -1
  2093. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts.map +1 -1
  2094. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js +23 -3
  2095. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js.map +1 -1
  2096. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts +43 -3
  2097. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts.map +1 -1
  2098. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js +204 -43
  2099. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js.map +1 -1
  2100. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts +69 -0
  2101. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts.map +1 -1
  2102. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js +477 -36
  2103. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js.map +1 -1
  2104. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.d.ts.map +1 -1
  2105. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.js.map +1 -1
  2106. package/dist/esm/i18n-labelling/utils/companion-own-label-units.utils.d.ts +89 -0
  2107. package/dist/esm/i18n-labelling/utils/companion-own-label-units.utils.d.ts.map +1 -0
  2108. package/dist/esm/i18n-labelling/utils/companion-own-label-units.utils.js +195 -0
  2109. package/dist/esm/i18n-labelling/utils/companion-own-label-units.utils.js.map +1 -0
  2110. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts.map +1 -1
  2111. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js.map +1 -1
  2112. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.d.ts +11 -21
  2113. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.d.ts.map +1 -1
  2114. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.js +41 -7
  2115. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.js.map +1 -1
  2116. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts +14 -0
  2117. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts.map +1 -1
  2118. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.js +6 -0
  2119. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.js.map +1 -1
  2120. package/dist/esm/i18n-labelling/utils/function-tool-label-keys.utils.d.ts +38 -0
  2121. package/dist/esm/i18n-labelling/utils/function-tool-label-keys.utils.d.ts.map +1 -0
  2122. package/dist/esm/i18n-labelling/utils/function-tool-label-keys.utils.js +68 -0
  2123. package/dist/esm/i18n-labelling/utils/function-tool-label-keys.utils.js.map +1 -0
  2124. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.d.ts.map +1 -1
  2125. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.js.map +1 -1
  2126. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.d.ts.map +1 -1
  2127. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.js.map +1 -1
  2128. package/dist/esm/i18n-labelling/utils/label-file-source.utils.d.ts.map +1 -1
  2129. package/dist/esm/i18n-labelling/utils/label-file-source.utils.js.map +1 -1
  2130. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.d.ts +78 -1
  2131. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.d.ts.map +1 -1
  2132. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.js +114 -14
  2133. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.js.map +1 -1
  2134. package/dist/esm/i18n-labelling/utils/label-typography.utils.d.ts +55 -0
  2135. package/dist/esm/i18n-labelling/utils/label-typography.utils.d.ts.map +1 -0
  2136. package/dist/esm/i18n-labelling/utils/label-typography.utils.js +71 -0
  2137. package/dist/esm/i18n-labelling/utils/label-typography.utils.js.map +1 -0
  2138. package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.d.ts.map +1 -1
  2139. package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.js.map +1 -1
  2140. package/dist/esm/i18n-labelling/utils/named-label-keys.utils.d.ts +27 -0
  2141. package/dist/esm/i18n-labelling/utils/named-label-keys.utils.d.ts.map +1 -0
  2142. package/dist/esm/i18n-labelling/utils/named-label-keys.utils.js +21 -0
  2143. package/dist/esm/i18n-labelling/utils/named-label-keys.utils.js.map +1 -0
  2144. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.d.ts.map +1 -1
  2145. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.js.map +1 -1
  2146. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts.map +1 -1
  2147. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js.map +1 -1
  2148. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.d.ts.map +1 -1
  2149. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.js.map +1 -1
  2150. package/dist/esm/i18n-labelling/utils/rejected-chunk-answer-recovery.utils.d.ts +84 -0
  2151. package/dist/esm/i18n-labelling/utils/rejected-chunk-answer-recovery.utils.d.ts.map +1 -0
  2152. package/dist/esm/i18n-labelling/utils/rejected-chunk-answer-recovery.utils.js +125 -0
  2153. package/dist/esm/i18n-labelling/utils/rejected-chunk-answer-recovery.utils.js.map +1 -0
  2154. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.d.ts.map +1 -1
  2155. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.js.map +1 -1
  2156. package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.d.ts.map +1 -1
  2157. package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.js.map +1 -1
  2158. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts +27 -0
  2159. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts.map +1 -1
  2160. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js +78 -23
  2161. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js.map +1 -1
  2162. package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.d.ts.map +1 -1
  2163. package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.js.map +1 -1
  2164. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts +41 -1
  2165. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts.map +1 -1
  2166. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js +35 -4
  2167. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js.map +1 -1
  2168. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.d.ts.map +1 -1
  2169. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.js.map +1 -1
  2170. package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.d.ts.map +1 -1
  2171. package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.js.map +1 -1
  2172. package/dist/esm/index.d.ts.map +1 -1
  2173. package/dist/esm/index.js.map +1 -1
  2174. package/dist/esm/market/services/market-generation.companion.service.d.ts.map +1 -1
  2175. package/dist/esm/market/services/market-generation.companion.service.js.map +1 -1
  2176. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.d.ts.map +1 -1
  2177. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.js.map +1 -1
  2178. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts.map +1 -1
  2179. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js.map +1 -1
  2180. package/dist/esm/meta-workflows/models/application-line-catalog.models.d.ts.map +1 -1
  2181. package/dist/esm/meta-workflows/models/application-line-catalog.models.js.map +1 -1
  2182. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.d.ts.map +1 -1
  2183. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js.map +1 -1
  2184. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.d.ts.map +1 -1
  2185. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js +1 -1
  2186. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js.map +1 -1
  2187. package/dist/esm/meta-workflows/models/build-brief-content-trust.models.d.ts +62 -0
  2188. package/dist/esm/meta-workflows/models/build-brief-content-trust.models.d.ts.map +1 -0
  2189. package/dist/esm/meta-workflows/models/build-brief-content-trust.models.js +72 -0
  2190. package/dist/esm/meta-workflows/models/build-brief-content-trust.models.js.map +1 -0
  2191. package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts +2 -27
  2192. package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts.map +1 -1
  2193. package/dist/esm/meta-workflows/models/build-task-rearm.models.js +4 -31
  2194. package/dist/esm/meta-workflows/models/build-task-rearm.models.js.map +1 -1
  2195. package/dist/esm/meta-workflows/models/carried-verification-failure.models.d.ts.map +1 -1
  2196. package/dist/esm/meta-workflows/models/carried-verification-failure.models.js.map +1 -1
  2197. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.d.ts.map +1 -1
  2198. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.js.map +1 -1
  2199. package/dist/esm/meta-workflows/models/creation-intervention.models.d.ts +8 -5
  2200. package/dist/esm/meta-workflows/models/creation-intervention.models.d.ts.map +1 -1
  2201. package/dist/esm/meta-workflows/models/creation-intervention.models.js +10 -6
  2202. package/dist/esm/meta-workflows/models/creation-intervention.models.js.map +1 -1
  2203. package/dist/esm/meta-workflows/models/generation-step-progress.models.d.ts.map +1 -1
  2204. package/dist/esm/meta-workflows/models/generation-step-progress.models.js.map +1 -1
  2205. package/dist/esm/meta-workflows/models/human-decision-settler.models.d.ts.map +1 -1
  2206. package/dist/esm/meta-workflows/models/human-decision-settler.models.js.map +1 -1
  2207. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts.map +1 -1
  2208. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js.map +1 -1
  2209. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.d.ts.map +1 -1
  2210. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js.map +1 -1
  2211. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts +1 -0
  2212. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts.map +1 -1
  2213. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js +1 -0
  2214. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js.map +1 -1
  2215. package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts +23 -3
  2216. package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts.map +1 -1
  2217. package/dist/esm/meta-workflows/models/playbook-run-record.models.js +64 -10
  2218. package/dist/esm/meta-workflows/models/playbook-run-record.models.js.map +1 -1
  2219. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.d.ts.map +1 -1
  2220. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.js.map +1 -1
  2221. package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.d.ts.map +1 -1
  2222. package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.js.map +1 -1
  2223. package/dist/esm/meta-workflows/models/website-copy-review.models.d.ts.map +1 -1
  2224. package/dist/esm/meta-workflows/models/website-copy-review.models.js.map +1 -1
  2225. package/dist/esm/meta-workflows/models/website-visual-review.actors-system.definitions.d.ts +36 -0
  2226. package/dist/esm/meta-workflows/models/website-visual-review.actors-system.definitions.d.ts.map +1 -0
  2227. package/dist/esm/meta-workflows/models/website-visual-review.actors-system.definitions.js +86 -0
  2228. package/dist/esm/meta-workflows/models/website-visual-review.actors-system.definitions.js.map +1 -0
  2229. package/dist/esm/meta-workflows/models/website-visual-review.models.d.ts +83 -0
  2230. package/dist/esm/meta-workflows/models/website-visual-review.models.d.ts.map +1 -0
  2231. package/dist/esm/meta-workflows/models/website-visual-review.models.js +33 -0
  2232. package/dist/esm/meta-workflows/models/website-visual-review.models.js.map +1 -0
  2233. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.d.ts.map +1 -1
  2234. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.js.map +1 -1
  2235. package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.d.ts.map +1 -1
  2236. package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.js.map +1 -1
  2237. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +284 -29
  2238. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts.map +1 -1
  2239. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js +937 -125
  2240. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js.map +1 -1
  2241. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.d.ts.map +1 -1
  2242. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.js.map +1 -1
  2243. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts +273 -27
  2244. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts.map +1 -1
  2245. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js +532 -46
  2246. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js.map +1 -1
  2247. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts +187 -14
  2248. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts.map +1 -1
  2249. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js +445 -21
  2250. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js.map +1 -1
  2251. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts +93 -2
  2252. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts.map +1 -1
  2253. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js +485 -51
  2254. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js.map +1 -1
  2255. package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.d.ts.map +1 -1
  2256. package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.js +3 -2
  2257. package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.js.map +1 -1
  2258. package/dist/esm/meta-workflows/services/application-build-website-visual-review.companion.service.d.ts +104 -0
  2259. package/dist/esm/meta-workflows/services/application-build-website-visual-review.companion.service.d.ts.map +1 -0
  2260. package/dist/esm/meta-workflows/services/application-build-website-visual-review.companion.service.js +336 -0
  2261. package/dist/esm/meta-workflows/services/application-build-website-visual-review.companion.service.js.map +1 -0
  2262. package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.d.ts.map +1 -1
  2263. package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.js.map +1 -1
  2264. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.d.ts.map +1 -1
  2265. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js.map +1 -1
  2266. package/dist/esm/meta-workflows/services/build-brief-third-party-screening.companion.d.ts +111 -0
  2267. package/dist/esm/meta-workflows/services/build-brief-third-party-screening.companion.d.ts.map +1 -0
  2268. package/dist/esm/meta-workflows/services/build-brief-third-party-screening.companion.js +290 -0
  2269. package/dist/esm/meta-workflows/services/build-brief-third-party-screening.companion.js.map +1 -0
  2270. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.d.ts.map +1 -1
  2271. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.js.map +1 -1
  2272. package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.d.ts.map +1 -1
  2273. package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.js.map +1 -1
  2274. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts.map +1 -1
  2275. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js.map +1 -1
  2276. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.d.ts.map +1 -1
  2277. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js +1 -1
  2278. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js.map +1 -1
  2279. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.d.ts.map +1 -1
  2280. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.js.map +1 -1
  2281. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.d.ts.map +1 -1
  2282. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js +2 -2
  2283. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js.map +1 -1
  2284. package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.d.ts.map +1 -1
  2285. package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.js.map +1 -1
  2286. package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts.map +1 -1
  2287. package/dist/esm/meta-workflows/services/dossier.companion.service.js +25 -5
  2288. package/dist/esm/meta-workflows/services/dossier.companion.service.js.map +1 -1
  2289. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.d.ts.map +1 -1
  2290. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.js.map +1 -1
  2291. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.d.ts.map +1 -1
  2292. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.js.map +1 -1
  2293. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.d.ts.map +1 -1
  2294. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.js.map +1 -1
  2295. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts +33 -5
  2296. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts.map +1 -1
  2297. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js +119 -11
  2298. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js.map +1 -1
  2299. package/dist/esm/meta-workflows/services/governed-document-texts.companion.d.ts.map +1 -1
  2300. package/dist/esm/meta-workflows/services/governed-document-texts.companion.js.map +1 -1
  2301. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.d.ts.map +1 -1
  2302. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.js.map +1 -1
  2303. package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.d.ts.map +1 -1
  2304. package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.js.map +1 -1
  2305. package/dist/esm/meta-workflows/services/landed-module-import.companion.d.ts.map +1 -1
  2306. package/dist/esm/meta-workflows/services/landed-module-import.companion.js.map +1 -1
  2307. package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.d.ts.map +1 -1
  2308. package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.js.map +1 -1
  2309. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.d.ts +1 -1
  2310. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.d.ts.map +1 -1
  2311. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js +5 -5
  2312. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js.map +1 -1
  2313. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts.map +1 -1
  2314. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js.map +1 -1
  2315. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts +92 -7
  2316. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts.map +1 -1
  2317. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js +567 -86
  2318. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
  2319. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts +5 -0
  2320. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts.map +1 -1
  2321. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js +15 -10
  2322. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js.map +1 -1
  2323. package/dist/esm/meta-workflows/services/provider-registry-brief.companion.utils.d.ts +39 -0
  2324. package/dist/esm/meta-workflows/services/provider-registry-brief.companion.utils.d.ts.map +1 -0
  2325. package/dist/esm/meta-workflows/services/provider-registry-brief.companion.utils.js +117 -0
  2326. package/dist/esm/meta-workflows/services/provider-registry-brief.companion.utils.js.map +1 -0
  2327. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.d.ts.map +1 -1
  2328. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.js.map +1 -1
  2329. package/dist/esm/meta-workflows/services/website-demo-facts.models.d.ts +43 -0
  2330. package/dist/esm/meta-workflows/services/website-demo-facts.models.d.ts.map +1 -0
  2331. package/dist/esm/meta-workflows/services/website-demo-facts.models.js +99 -0
  2332. package/dist/esm/meta-workflows/services/website-demo-facts.models.js.map +1 -0
  2333. package/dist/esm/meta-workflows/services/website-section-design.models.d.ts +46 -0
  2334. package/dist/esm/meta-workflows/services/website-section-design.models.d.ts.map +1 -0
  2335. package/dist/esm/meta-workflows/services/website-section-design.models.js +99 -0
  2336. package/dist/esm/meta-workflows/services/website-section-design.models.js.map +1 -0
  2337. package/dist/esm/meta-workflows/services/website-visual-camera.companion.d.ts +18 -0
  2338. package/dist/esm/meta-workflows/services/website-visual-camera.companion.d.ts.map +1 -0
  2339. package/dist/esm/meta-workflows/services/website-visual-camera.companion.js +71 -0
  2340. package/dist/esm/meta-workflows/services/website-visual-camera.companion.js.map +1 -0
  2341. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.d.ts.map +1 -1
  2342. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.js.map +1 -1
  2343. package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts +62 -0
  2344. package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts.map +1 -1
  2345. package/dist/esm/technical-doc/services/technical-doc.companion.service.js +133 -34
  2346. package/dist/esm/technical-doc/services/technical-doc.companion.service.js.map +1 -1
  2347. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts.map +1 -1
  2348. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js.map +1 -1
  2349. package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.d.ts.map +1 -1
  2350. package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.js.map +1 -1
  2351. package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.d.ts.map +1 -1
  2352. package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.js.map +1 -1
  2353. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts.map +1 -1
  2354. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js.map +1 -1
  2355. package/package.json +32 -18
@@ -1 +1 @@
1
- {"version":3,"file":"application-build-dispatch.companion.service.js","sourceRoot":"","sources":["../../../../src/meta-workflows/services/application-build-dispatch.companion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,+BAA+B,EAAE,MAAM,sEAAsE,CAAC;AACvH,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,yDAAyD,CAAC;AAC5H,OAAO,EACL,6BAA6B,EAC7B,iCAAiC,EACjC,kBAAkB,EAClB,0BAA0B,EAC1B,+BAA+B,EAC/B,oBAAoB,GAGrB,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EACL,8BAA8B,EAC9B,kBAAkB,EAClB,qBAAqB,GAGtB,MAAM,2DAA2D,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,wBAAwB,EAA0B,MAAM,sCAAsC,CAAC;AAC/H,OAAO,EAAE,mCAAmC,EAAE,oCAAoC,EAAE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,CAAC,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,IAAI,CAAC;IAC5F,OAAO;QACL,SAAS,EAAE,8CAA8C;QACzD,SAAS,EAAE,oDAAoD;QAC/D,OAAO,EAAE;YACP,cAAc,EAAE,MAAM;YACtB,GAAG,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC;gBACvB,CAAC,CAAC;oBACE,oBAAoB,EAAE,UAAU;oBAChC,cAAc,EAAE,gGAAgG;0BAC5G,+DAA+D;iBACpE;gBACH,CAAC,CAAC,EAAE,CAAC;YACP,GAAG,CAAC,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,kBAAkB,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YAClF,IAAI,EAAE,mHAAmH;kBACrH,mFAAmF;SACxF;KACF,CAAC;AACJ,CAAC","sourcesContent":["import {\n type MetaWorkflow_ApplicationCodingTaskContract,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport { createHash } from 'node:crypto';\nimport { readdirSync } from 'node:fs';\nimport { readFile } from 'node:fs/promises';\nimport { join } from 'node:path';\n\nimport { inject, injectable } from 'inversify';\nimport { ApplicationSchemaPlanObligation } from '../../core/config/application-schema-plan-obligation.companion.utils';\nimport { experienceTaskSkillRefs, taskHasExperienceProduct } from './application-build-experience-skills.companion.service';\nimport {\n buildWebsitePlanContextSource,\n citedRequirementRefsByWebsiteTask,\n deliveringTasksFor,\n deriveWebsiteClaimDelivery,\n describeWebsiteTaskCopySubjects,\n websiteTaskSkillRefs,\n type WebsiteClaimDelivery,\n type WebsiteTaskCopySubject,\n} from './application-build-website-context.companion.service';\nimport {\n collectWebsiteCopyDeclarations,\n currentWebsiteCopy,\n reviewWebsiteTaskCopy,\n type RawWebsiteCopyFinding,\n type WebsiteCopyAlsoReviewed,\n} from './application-build-website-copy-review.companion.service';\nimport { readWebsiteCopyReview, WebsiteCopyReviewOutcome, type WebsiteCopyReview } from '../models/website-copy-review.models';\nimport { WEBSITE_COPY_REVIEW_JUDGE_AGENT_REF, WebsiteCopyReviewVerdictOutputSchema } from '../models/website-copy-review.actors-system.definitions';\nimport {\n WORKBENCH_TASK_CORRELATION_DOMAIN,\n Workbench_BuildDispatchPhase,\n Workbench_BuildTaskStuckReason,\n WorkbenchBuildPlanTaskStatus,\n WorkbenchTaskCorrelationRef,\n sanitizeWorkbenchCreationPlaneIdentity,\n} from '@wildo-ai/platform-core-shared';\n\nimport {\n assemblyRepairTaskRef,\n composeAssemblyRepairCodingContract,\n composeBuildTaskCodingContract,\n slugifyRegistryIdentifier,\n type BuildTaskContextSource,\n decidedFamilyValuesFromCompanionExports,\n indexDecidedAspects,\n mergePlaybookSpend,\n PlaybookSpendMeasurement,\n readApplicationDisplayName,\n readEngineCapabilityEnabled,\n SAAS_CONFIG_FILE_NAME,\n type PlaybookSpend,\n} from '@wildo-ai/application-creation-runtime';\nimport type { ActorExecutionOpenRequest, ActorsSystemBackendService, AgentsBackendService, LoggerService, OpenedActorExecution } from '@wildo-ai/saas-backend-lib';\nimport { SAAS_SERVICE_TYPES, describeCaughtError } from '@wildo-ai/saas-backend-lib';\nimport { Actor_Task_Topics, FlowsActors_Status, type FlowsActors_Agent_Invocation } from '@wildo-ai/saas-models';\nimport { PER_SERVICE_WEBSITE_CONFIG_FILE_NAME, resolveStaticWebsiteServiceEntry } from '@wildo-ai/saas-website/config-loader';\nimport {\n ApplicationSpecificationFamily,\n BUILD_PLAN_TASK_GRAPH_HARD_FLOOR_CODES,\n BuildPlanResourceStage,\n BuildPlanTaskGraphSchema,\n type BuildPlanTaskProduct,\n BuildPlanTaskTargetKind,\n BuildPlanTaskProductKind,\n DomainPlanTenancyModel,\n MetaWorkflow_FunctionalTopic,\n PlacementDisposition,\n PlacementPlanSchema,\n PlacementSurface,\n RoadmapSnapshotSchema,\n selectReadyBuildPlanTasks,\n type PlacementPlan,\n validateBuildPlanTaskGraph,\n type BuildPlanTask,\n} from '@wildo-ai/saas-specifications/application-creation';\n\nimport { relatedWorkspaceResources } from '../../core/introspection/workspace-element-index.companion';\nimport { describeWorkspaceFreshness, readWorkspaceElements } from '../../core/introspection/workspace-elements.companion';\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport type { CompanionContext } from '../../core/context/companion-context';\nimport { CompanionIntrospectionService } from '../../core/introspection/services/companion-introspection.companion.service';\nimport { loadSpecificationsCompanionExports } from '../../core/context/companion-package-loaders.companion';\nimport { waitForDevCompileQuiet } from '../../core/runtime/dev-compile-quiet.companion';\nimport { loadConfig, loadInfraEnvConfig, loadSaasConfig, readBuildParallelism, WildoEnvironment } from '@wildo-ai/platform-config-lib';\nimport { CodingRunConcurrency } from '../../claude-cli/models/concurrent-coding-runs.models';\nimport {\n CodingAgentDispatchCompanionService,\n type ApplicationCodingTaskSettledOutcome,\n} from '../../claude-cli/services/coding-agent-dispatch.companion.service';\nimport {\n CodingRunFailureAttribution,\n CodingRunStart,\n deriveCodingRunStart,\n isApplicationCodingContractRefusal,\n readSettledRunFailureMessage,\n resolveApplicationCodingTaskVerificationPlans,\n type ApplicationCodingTaskRunAdmission,\n type ApplicationCodingUnmetRequirement,\n} from '../../claude-cli/models/coding-agent-dispatch.models';\nimport { GitChangeSetCompanionService } from '../../claude-cli/services/git-change-set.companion.service';\nimport type { CodingAgentUsageLimit } from '../../claude-cli/models/coding-agent-usage-limit.models';\nimport type { AcceptedChangeCommitCompanionService } from '../../claude-cli/services/accepted-change-commit.companion.service';\nimport type { CompanionExecutionSessionContext } from '../../core/traceability/companion-traceability.models';\nimport { CompanionExecutionsCompanionService } from '../../executions/services/companion-executions.companion.service';\nimport { CompanionExecutionsListQuerySchema } from '../../companion-api/companion-api.schemas';\nimport { APPLICATION_CODING_SYSTEM_REF } from '../models/application-coding-agent.actors-system.definitions';\nimport {\n readApplicationBootFailures,\n readUnavailableApplicationRuntimes,\n type ApplicationBootFailure,\n type UnavailableApplicationRuntime,\n} from '../../core/runtime/application-runtime-liveness.companion';\nimport type { CarriedVerificationDiagnosis } from '../models/carried-verification-failure.models';\nimport type { GenerationStepProgress } from '../models/generation-step-progress.models';\nimport {\n BuildTaskRearmReason,\n MAXIMUM_INTERFERENCE_REARMS,\n OPERATOR_BUILD_TASK_REARM_REASONS,\n NothingToRearmError,\n readBuildTaskInterference,\n landedOverrideContextSource,\n readBuildTaskLandedOverride,\n readBuildTaskRearm,\n type BuildTaskInterference,\n type BuildTaskLandedOverride,\n type BuildTaskRearm,\n} from '../models/build-task-rearm.models';\nimport { APPLICATION_BUILD_GENERATION_STEP_ACTOR_REF, APPLICATION_BUILD_SYSTEM_REF } from '../models/application-build.actors-system.definitions';\nimport { readRecordedPlaybookSpend } from '../models/playbook-run-record.models';\nimport {\n ApplicationBuildGenerationStep,\n ApplicationBuildGenerationStepCompanionService,\n GENERATION_STEP_WRITE_SCOPE,\n GenerationStepWriteScope,\n type ApplicationBuildGenerationStepLandedCondition,\n ApplicationBuildGenerationStepLandedKind,\n type ApplicationBuildGenerationStepRunResult,\n SchemaPlanSyncState,\n} from './application-build-generation-step.companion.service';\nimport { INSTALLED_SKILL_INDEX_RELATIVE_PATH, readApplicationCapabilityFacts, sliceSkillIndexForTask } from './build-task-brief-application-facts.companion';\nimport {\n ApplicationBuildTaskNotACodingTaskError,\n resolveAssemblyRepairCodingPolicy,\n resolveBuildPlanTaskCodingPolicy,\n BuildPlanTaskLandedProbeKind,\n buildPlanTaskLandedProbePaths,\n declarationsAppearAt,\n labelFileDeclaresKeys,\n labelPacksDeclareKeyPrefix,\n launcherShellIdentity,\n placementSubjectShellIdentity,\n ProductDeclarationRelation,\n productDerivedSkillRefs,\n resourceSchemaFilePath,\n schemaSourceDeclaresPersonalData,\n targetDerivedSkillRefs,\n resolveBuildTaskLandedProbes,\n resolveUndraftableDocumentRef,\n settingsDestinationShellIdentity,\n shellModuleContributionFile,\n shellSurfaceConfigFile,\n WEBSITE_LABEL_PACK_PATHS,\n type BuildPlanTaskLandedProbe,\n} from './application-build-task-coding-policy.companion.service';\nimport { resolveApplicationAssemblyCheckRefs } from './application-assembly-checks.companion.utils';\nimport { BrandAssetPurpose } from '@wildo-ai/saas-specifications';\nimport { hasAcceptedBrandMark } from '../../brand/models/accepted-brand-mark.models';\nimport {\n ASSEMBLY_FAILURE_CONTEXT_SOURCE_REF,\n ASSEMBLY_REPAIR_GUIDANCE,\n ASSEMBLY_REPAIR_TARGET_KIND,\n MAXIMUM_ASSEMBLY_REPAIRS_PER_CHECK,\n assemblyRepairAttemptsThisRound,\n describeWithheldAssemblyRepairs,\n isAssemblyRepairTaskRef,\n readGivenAssemblyFailure,\n selectAssemblyRepair,\n type AssemblyFailureContextContent,\n type AssemblyRepairWithheldReason,\n type BuildDispatchRunSummary,\n} from './application-assembly-repair.companion.utils';\nimport type { AppShellPlacementContentResult } from '../../core/introspection/subprocess/app-shell-placement-content.behavior';\n\n/** No build plan, or nothing left to do. Named so the transport can say which. */\n\nexport class ApplicationBuildPlanUnavailableError extends Error {}\nexport class ApplicationBuildPlanExhaustedError extends Error {\n /**\n * The counts, carried STRUCTURALLY rather than only inside the sentence.\n *\n * A finished plan is something a surface wants to SAY — \"39 of 39 landed\" — and until these were\n * fields the only copy lived in prose the reader would have had to parse. A board that parses\n * another component's error message is a board that breaks when somebody improves the wording.\n */\n public constructor(\n message: string,\n public readonly taskCount: number,\n public readonly landedCount: number,\n /** WHICH tasks landed — so a finished plan can still say which of them no run of their own produced (#2217). */\n public readonly landedTaskRefs: readonly string[] = [],\n /**\n * Whether the application the finished plan built ASSEMBLES (#2222) — set by a dispatch door, which is where\n * \"the build is finished\" is claimed; absent from the cheap read door, which never runs a compiler.\n */\n public readonly assembly?: ApplicationAssemblyVerdict,\n ) {\n super(message);\n }\n}\n\n/**\n * The answer to \"does the application this plan built assemble?\" (#2222), from the checks every package owes.\n *\n * A finished plan used to be the end of the question: in `app-creation-test-004` the build would have read 92 of 92\n * with a website that did not compile, because each task typechecks only the package it wrote and a file can reach\n * git without its task's checks (a wave's reconciliation commit). MARKED, never a refusal of anything that already\n * landed — `application-creation-directive.md`: what the operator does next is fix the package, so the verdict says\n * which package and what the compiler said, and leaves the landed work alone.\n */\nexport interface ApplicationAssemblyVerdict {\n readonly passed: boolean;\n readonly checkRefs: readonly string[];\n /**\n * `output` is an EXCERPT of what the check printed: the first lines of the captured stdout (where `tsc` writes its\n * diagnostics), else of stderr. The capture is a bounded tail, so on a very long run these are the first lines\n * of that tail, not necessarily the compiler's first error.\n */\n readonly failed: ReadonlyArray<{ readonly checkRef: string; readonly output: string }>;\n /** A check that could not be RUN (no compiler, no built registry): not a verdict about the application. */\n readonly couldNotRun?: string;\n /**\n * The failing checks no repair was dispatched for, and why (#2283): their repairs this round are spent, or the\n * last one was given this same failure. Absent when nothing was withheld.\n */\n readonly repairsWithheld?: readonly { readonly checkRef: string; readonly reason: AssemblyRepairWithheldReason }[];\n}\n\n/**\n * Why a read door cannot ANSWER with an exception.\n *\n * `prepareNextBuildTask` serves two kinds of caller: the READS (`describeNextBuildTask`, and\n * `describeNextBuildTaskOrExhaustion` for a surface that must render \"there is none\") and the two\n * DISPATCH doors. The throw is right for a DISPATCH — the caller asked to run something, there is\n * nothing to run, and a door that silently did nothing would be worse. It is wrong for a READ: \"what\n * is next?\" answered by \"nothing, everything landed\" is an ANSWER, and the terminal success of the\n * whole build lane is not a failure to look. The same holds for \"nothing, every ready task is stuck\"\n * (#1451), whose answer is the remedy.\n *\n * Measured 2026-09-18, when Wonder CRM became the first application to finish a plan (39 of 39): the\n * workbench's `requestCompanion` threw on the non-2xx, `useCompanionRead` caught it into `error`, and\n * the board rendered `BoardReadError` — the primitive it defines as \"could not look\", against\n * `BoardEmpty` for \"looked, nothing there\". The last screen of the journey the workbench exists to\n * drive reported the finish as a fault.\n *\n * Reads tolerate, acceptance refuses — `continuity-drift-and-cas-basis.md` Rule 1's split — and\n * `application-creation-directive.md`'s test verbatim: if this refuses, what does the operator do\n * next? Nothing. There is no artifact to fix, so the state is REPRESENTABLE instead.\n */\nexport interface ApplicationBuildPlanExhaustion {\n readonly taskCount: number;\n readonly landedCount: number;\n}\n\n/**\n * What the read door answers: a plan to run, or the reason there is none. Never an exception for either.\n *\n * Three shapes, and exactly one holds: a `plan`; no plan and `exhausted` (every task landed); or no plan,\n * `stuckQueue`, and a non-empty `stuckTasks` (every ready task is stuck, #1451). `stuckTasks` is present beside a plan\n * too, naming what that selection passed over.\n */\n/**\n * How far the queue got when every ready task turned out to be stuck — the same progress a plan row\n * carries, so a stuck row can say \"3 of 5 landed, 2 ready\" instead of zeroes it does not mean.\n */\nexport interface ApplicationBuildStuckQueue {\n readonly taskCount: number;\n readonly readyTaskRefs: readonly string[];\n readonly landedTaskRefs: readonly string[];\n readonly unverifiableLandedTaskRefs: readonly string[];\n}\n\nexport interface ApplicationBuildDispatchDescription {\n readonly plan: ApplicationBuildDispatchPlan | null;\n /** Present exactly when `plan` is null because every task has landed. */\n readonly exhausted?: ApplicationBuildPlanExhaustion;\n /** Present exactly when `plan` is null because every ready task is stuck. */\n readonly stuckQueue?: ApplicationBuildStuckQueue;\n /** Every ready task dispatch passed over, and why. Empty when nothing was skipped. */\n readonly stuckTasks: readonly ApplicationBuildStuckTask[];\n /**\n * The landed tasks no run of their own ever started (#2217): the probe found the product before anything ran.\n * Beside every answer — a next task, a stuck queue, a finished plan — because \"92 of 92 landed\" is precisely the\n * sentence it must qualify. ABSENT — not empty — when the run history was truncated at the page cap, because a\n * partial history cannot say a task never ran; and absent from a caller older than the field.\n */\n readonly landedBeforeAnyRunTaskRefs?: readonly string[];\n}\n\n/** What one landing resolution found — every answer a caller needs, from the pass it asked for. */\ninterface LandedTaskResolution {\n readonly landed: ReadonlySet<string>;\n /** Landed WITHOUT proof: a task that declares no product and has a completed run. */\n readonly unverifiableLandedTaskRefs: readonly string[];\n /** Schema-plan-gated generation steps whose check could not be ANSWERED on this pass. */\n readonly unanswerableSchemaPlanTaskRefs: ReadonlySet<string>;\n /**\n * Each generation step's landed condition, as this pass resolved it. A reader that needs the condition again (the\n * records) takes it from here: resolving a labels step's condition plans every labelling unit (#2504 review F7).\n */\n readonly generationStepConditions: ReadonlyMap<string, ApplicationBuildGenerationStepLandedCondition>;\n}\n\n/** The ref of the `database-migrations` step the dispatch host derives when a plan owes it and omits it (#1027). */\nexport const HOST_DERIVED_DATABASE_MIGRATIONS_TASK_REF = 'build-task-database-migrations';\n\n/** The ref of the `documentation-publication` step the host derives for a plan that authors chapters (#1273). */\nexport const HOST_DERIVED_DOCUMENTATION_PUBLICATION_TASK_REF = 'build-task-documentation-publication';\n\n/** The ref of the `i18n-translations` step the host derives after a plan's labels step, for a multi-locale application (#2204). */\nexport const HOST_DERIVED_I18N_TRANSLATIONS_TASK_REF = 'build-task-i18n-translations';\n\n/** The ref of the `engine-capabilities` step the host derives when the decisions imply a capability nothing turned on (#2497). */\nexport const HOST_DERIVED_ENGINE_CAPABILITIES_TASK_REF = 'build-task-engine-capabilities';\n\n/**\n * The ref prefix of a FOLLOW-UP task the host derives when a completed coding run reports a requirement it could not\n * fully meet (#2496): `build-task-follow-up-<origin>-<requirement>`. A follow-up's own report derives nothing further, so\n * the chain is one step long; what it leaves unmet is shown on its record.\n */\nexport const HOST_DERIVED_FOLLOW_UP_TASK_REF_PREFIX = 'build-task-follow-up-';\n\n/** The ref of the `display-name` step the host derives when the brand's name is not yet the application's (#2505). */\nexport const HOST_DERIVED_DISPLAY_NAME_TASK_REF = 'build-task-display-name';\n\n/*\n * How far a build dispatch got is `Workbench_BuildDispatchPhase` in `@wildo-ai/platform-core-shared` —\n * NOT declared here, and deliberately not re-exported from here either (a re-export outside a declared\n * public entrypoint is its own defect). It moved there because the WORKBENCH reads these values to\n * decide how a dispatch renders and a browser bundle cannot import this package; that enum's docstring\n * carries the semantics of each member and why the two executors settle at different ones.\n */\n\n/**\n * One dispatch, newest first in {@link ApplicationBuildDispatchCompanionService.readDetachedDispatches}.\n * A PROJECTION of the dispatch's actor-system execution since #1359, not a record anything keeps.\n */\nexport interface ApplicationBuildDetachedDispatchRecord {\n readonly taskRef: string;\n /** When the task was SELECTED — the execution's creation instant. */\n readonly startedAt: string;\n readonly phase: Workbench_BuildDispatchPhase;\n /** When the phase left SUBMITTED. */\n readonly settledAt?: string;\n /** The durable actor-task row an ADMITTED coding run writes its real outcome to. */\n readonly codingTaskId?: string;\n readonly error?: string;\n /** The conversation the dispatch was started from, when it was (#1454, Step 7). */\n readonly conversationId?: string;\n}\n\n/** A coding run's reported tokens, per dimension (#2232). Read off `CodingAgent_Usage` on the run's row. */\nexport interface CodingRunReportedTokens {\n readonly inputTokens?: number;\n readonly outputTokens?: number;\n readonly cacheReadTokens?: number;\n readonly cacheWriteTokens?: number;\n /** As reported; when the agent reported none, the sum of the dimensions it did report. */\n readonly totalTokens?: number;\n}\n\n/**\n * The tokens a run's recorded usage carries, or `undefined` when it carries none. Read by SHAPE: the row\n * crossed a JSON boundary, and `CodingAgent_Usage` makes every field optional.\n */\nexport function readCodingRunReportedTokens(usage: unknown): CodingRunReportedTokens | undefined {\n if (typeof usage !== 'object' || usage === null) return undefined;\n const bag = usage as Record<string, unknown>;\n const count = (key: string): number | undefined => (typeof bag[key] === 'number' && Number.isFinite(bag[key]) && (bag[key] as number) >= 0 ? bag[key] as number : undefined);\n const dimensions = {\n inputTokens: count('inputTokens'),\n outputTokens: count('outputTokens'),\n cacheReadTokens: count('cachedReadTokens'),\n cacheWriteTokens: count('cachedWriteTokens'),\n };\n const reported = Object.values(dimensions).filter((value): value is number => value !== undefined);\n const totalTokens = count('totalTokens') ?? (reported.length > 0 ? reported.reduce((sum, value) => sum + value, 0) : undefined);\n const tokens = Object.fromEntries(Object.entries({ ...dimensions, totalTokens }).filter((entry) => entry[1] !== undefined));\n return Object.keys(tokens).length > 0 ? tokens as CodingRunReportedTokens : undefined;\n}\n\n/**\n * One ATTEMPT at a build task — one actor execution, read from its own durable row (#1521).\n *\n * Nothing new is written to produce this: every dispatch has been an execution since #1359, so the\n * attempt history already existed and was read only five-at-a-time, newest first, across the whole\n * plan. This groups it by task.\n */\nexport interface ApplicationBuildTaskAttempt {\n /** The execution's own task id — the row an operator opens to read the full outcome. */\n readonly runTaskId: string;\n /**\n * A companion GENERATION step (labels, migrations, translations) rather than a coding run (#2232 review).\n * Both are attempts at a build task, but a generation step is no agent run: it has no agent-reported tokens or\n * cost, so counting it among the coding runs listed it as \"cost not reported by the agent\" and made every\n * coding-run total a false floor. Its own model calls' spend is {@link generationStepSpend}. Absent for a coding run.\n */\n readonly generationStep?: true;\n /**\n * What a GENERATION STEP's model calls spent, as its row records it (#2232). A labels or translations pass is\n * model calls priced by the provider, not an agent's reported cost, so it is a {@link PlaybookSpend}, the same\n * reading a playbook run's figure is. Absent on a coding run, and on a step whose row predates the field.\n */\n readonly generationStepSpend?: PlaybookSpend;\n /** This run was started past a landing the operator said was wrong, and why (#2217). */\n readonly landedOverride?: BuildTaskLandedOverride;\n readonly startedAt: string;\n readonly settledAt?: string;\n /** The execution's status, from the actor plane's own vocabulary. */\n readonly status: FlowsActors_Status;\n /** The coding lane's typed disposition, when the run recorded one (`ApplicationCodingTaskDisposition`). */\n readonly disposition?: string;\n readonly error?: string;\n /** Set when an operator put the task back in the queue after this run (#1535): the run no longer holds it. */\n readonly rearm?: BuildTaskRearm;\n /** Checks that were already red when this run started, each with its diagnosis (#1529). */\n readonly carriedFailures?: readonly CarriedVerificationDiagnosis[];\n /** Checks this run ran GREEN — what tells a repair that a carried red has since been cleared. */\n readonly passedCheckRefs?: readonly string[];\n /*\n * What the durable row already recorded about the run and nothing read (#1541): each answers a question\n * the first end-to-end run's post-mortem answered with a script over the raw rows.\n */\n /**\n * What the run cost, as the agent reported it: its session's cumulative total, so a whole run's cost\n * however many turns it took (#2232). Absent when the agent reported none — never read as zero.\n */\n readonly cost?: { readonly amount: number; readonly currency: string };\n /**\n * The tokens the run reported (#2232), each dimension present only when reported. A coding run's total\n * is mostly prompt-cache reads (on app-creation-test-004, 1.1M of a 1.2M-token run), so the cache read\n * is kept apart: it is what a total that looks enormous is made of.\n */\n readonly tokens?: CodingRunReportedTokens;\n /** Checks the run FAILED, as this run's own (a carried red is in `carriedFailures`, not here). */\n readonly failedCheckRefs?: readonly string[];\n /** Why the agent's turn ended — `max_tokens` or `refusal` leave a change set that reads as complete and is not. */\n readonly agentStopReason?: string;\n /** Permission requests the ceiling or the task's scope refused. */\n readonly deniedPermissionCount?: number;\n /** Paths changed during the run outside the task's declared scope — recorded, never refused. */\n readonly outOfScopePaths?: readonly string[];\n /** Files the run itself changed (exclusive to the run, appeared during it, or committed during it). */\n readonly filesChanged?: number;\n /** The runs that shared the tree with this one, and the paths both changed (#1528). Absent for a run alone. */\n readonly concurrency?: { readonly overlappingTaskRefs: readonly string[]; readonly contendedPaths: readonly string[] };\n /** It failed while other runs were editing the tree, so the failure may be theirs; the budget forgives a bounded number. */\n readonly interferenceSuspected?: true;\n /**\n * It COMPLETED, and a sibling of its wave overwrote its declared product (#2210): which runs, which files,\n * and whether the wave re-ran the task for it. Absent for a run nobody interfered with.\n */\n readonly interference?: BuildTaskInterference;\n /**\n * The run ended without ever starting, by the HOST's act: refused at admission, or left selected by\n * a stopped process (#1581). Shown in the history, because it explains why nothing ran, and counted\n * by no summary figure, because it was no attempt of the task's (`CodingRunStart.REFUSED_BY_HOST`).\n */\n readonly refusedBeforeStart?: true;\n /**\n * Nothing ran: either a host refusal (above) or admission refusing the task's OWN contract, which IS\n * an attempt the budget counts. Either way no agent worked, so the run could report no cost.\n */\n readonly ranNothing?: true;\n /**\n * Whose failure a failed run was (#1581): the budget forgives HOST failures up to a bound, so this is\n * what explains a task that failed three times and was still offered again.\n */\n readonly failureAttribution?: CodingRunFailureAttribution;\n /**\n * Requirements the run's agent reported it could NOT fully meet, from its closing report's typed block (#2496). A\n * completed run's entries derive follow-up tasks ({@link HOST_DERIVED_FOLLOW_UP_TASK_REF_PREFIX}); every run's are shown.\n */\n readonly unmetRequirements?: readonly ApplicationCodingUnmetRequirement[];\n /** The agent wrote the block and it did not parse: the gap was stated and could not be read (#2496). */\n readonly unmetRequirementsMalformed?: string;\n /**\n * What the review of a website task's copy found, once the run completed (#2593): claims its cited requirements do\n * not back, figures that disagree with their declarations. Advisory, like `unmetRequirements`: shown, never a reason\n * the task does not land. Absent for a run that was not a website run or is not reviewed yet.\n */\n readonly websiteCopyReview?: WebsiteCopyReview;\n}\n\n/**\n * Whether an attempt COUNTS as one of the task's: everything but a host refusal. A refusal of the task's\n * own contract counts although nothing ran, because the attempt budget counts it (#1581).\n */\nexport function isCountedBuildTaskAttempt(attempt: Pick<ApplicationBuildTaskAttempt, 'refusedBeforeStart'>): boolean {\n return attempt.refusedBeforeStart !== true;\n}\n\n/**\n * A red the build keeps meeting and no task caused — owed a repair, with its diagnosis (#1529).\n *\n * Grouped per check across every attempt that carried it, because that is the unit a repair fixes: one\n * broken generated file reds one check for every task that verifies against it.\n */\nexport interface ApplicationBuildRepairOwed {\n readonly checkRef: string;\n /** The first attempt that met it red — when the breakage is known to predate. */\n readonly firstSeenAt: string;\n readonly lastSeenAt: string;\n /** The tasks whose attempts met it red: the work this red has been taxing. */\n readonly affectedTaskRefs: readonly string[];\n /** From the most recent attempt that carried it. */\n readonly diagnosis: CarriedVerificationDiagnosis;\n}\n\n/** A landing probe that is NOT satisfied at HEAD — exactly what landing searched for, and where. */\nexport interface ApplicationBuildTaskUnmetProbe {\n readonly probe: BuildPlanTaskLandedProbe;\n /** For a shell probe: what the surface is missing, still carries, or could not be asked (#1538). */\n readonly shell?: ShellProbeExplanation;\n /**\n * Whether the WORKING TREE satisfies it. `true` = the product is written and not committed (an\n * acceptance question); `false` = it is absent (a declaration or a work question). These lead to\n * different remedies, and \"not landed\" alone cannot tell them apart.\n */\n readonly satisfiedInWorkingTree: boolean;\n}\n\n/**\n * Everything the build knows about ONE task, in one read (#1521).\n *\n * The case it exists for: \"not landed\" hid three facts — never dispatched, dispatched and FAILED, and\n * dispatched, SUCCEEDED, and unprovable — and the third burned hours on the #1273 run because it is\n * indistinguishable from the first on every other surface. Here they are three different shapes:\n * no attempts; a failed attempt; a completed attempt with `unmetProbes`.\n */\nexport interface ApplicationBuildTaskRecord {\n readonly taskRef: string;\n readonly targetKind: string;\n readonly status: WorkbenchBuildPlanTaskStatus;\n /**\n * The follow-up tasks the host derived from this task's reported unmet requirements (#2496), as the plan carries them.\n * Named here so a reader never has to restate the derivation: absent means none was derived, whatever the attempts say.\n */\n readonly followUpTaskRefs?: readonly string[];\n /** Present on a follow-up task: the task whose reported gap derived it (#2496). */\n readonly followUpOf?: string;\n /** Newest first. Empty = never dispatched. */\n readonly attempts: readonly ApplicationBuildTaskAttempt[];\n /** READY tasks only: why dispatch passes over it, from the SAME classification the selector uses. */\n readonly stuck?: ApplicationBuildStuckTask;\n /** Not landed and attempted at least once: the probes HEAD does not satisfy. */\n readonly unmetProbes?: readonly ApplicationBuildTaskUnmetProbe[];\n /** A generation step that lands on schema-plan state rather than on files: that state, when not in sync. */\n readonly schemaPlanSyncState?: SchemaPlanSyncState;\n /**\n * A generation step whose landing cannot be judged, and why (#2504): a labels plan that hides units the application\n * owes. Carried so the board and `wildo context journey` name the cause, instead of listing nothing.\n */\n readonly landingBlockedBy?: string;\n /** BLOCKED tasks only: the prerequisites that have not landed. */\n readonly waitingOn?: readonly string[];\n /** LANDED with no product to prove — RAN-not-PROVEN (`application-creation-directive.md`). */\n readonly unverifiable?: boolean;\n /**\n * LANDED, and no run of this task ever started (#2217): the probe found the product before anything ran. It may\n * be true — a sibling task's run wrote it, or a person did — or the probe may be reading something that is not\n * the product (#2216 read a comment). The board must not show it as a bare `landed`, which reads as \"built by its\n * own run\". `probedPaths` is where the probe found it; `wildo build run <task> --despite-landed` runs it anyway.\n */\n readonly landedBeforeAnyRun?: { readonly probedPaths: readonly string[] };\n /**\n * A generation step running in this companion right now: how far it has got (#2215). Without it a\n * step that runs for hours reads \"running\" the whole time, and slow cannot be told from stuck.\n */\n readonly progress?: GenerationStepProgress;\n}\n\nexport interface ApplicationBuildTaskRecords {\n readonly tasks: readonly ApplicationBuildTaskRecord[];\n readonly summary: {\n readonly taskCount: number;\n readonly landed: number;\n /** Of `landed`, the tasks no run of their own ever started (#2217) — see {@link ApplicationBuildTaskRecord.landedBeforeAnyRun}. */\n readonly landedBeforeAnyRun: number;\n readonly blocked: number;\n /** READY and no run ever STARTED — the work simply not reached yet. A refused dispatch starts nothing (#1581). */\n readonly readyNeverAttempted: number;\n /** READY, attempted, not stuck — a failed run the loop will re-offer. */\n readonly readyToRetry: number;\n /** READY and passed over, per typed reason. */\n readonly stuckByReason: Readonly<Record<Workbench_BuildTaskStuckReason, number>>;\n /** Runs that STARTED. A dispatch refused before admission is in its task's history and not here (#1581). */\n readonly attempts: number;\n /**\n * Attempts that COMPLETED on a task that has still not landed — dispatches that bought nothing.\n * The band-level stall signal: it grows while the landed count does not.\n */\n readonly completedAttemptsWithoutLanding: number;\n /** Tasks attempted more than once without landing — the per-task stall signal. */\n readonly repeatedlyAttemptedWithoutLanding: readonly string[];\n /** What the build has spent, per currency, and how much of it on tasks that have not landed (#1541). */\n readonly spend: ReturnType<typeof deriveBuildSpend>;\n /**\n * Parallel-build observability (#1528): the degree the lane runs at now, and across every attempt\n * how many overlapped another run, how many failed while suspected of interference, and which paths\n * two runs both changed.\n */\n readonly parallelism: {\n readonly degree: number;\n readonly overlappingAttempts: number;\n readonly interferenceSuspectedAttempts: number;\n /** Completed attempts whose product a sibling overwrote (#2210). */\n readonly interferedCompletedAttempts: number;\n readonly contendedPaths: readonly string[];\n };\n };\n /**\n * TRUE when an attempt listing reached its page cap, so some attempts may be missing. Said rather\n * than hidden: a count read off a truncated listing is a claim about the query, not the build.\n */\n readonly attemptsTruncated: boolean;\n /**\n * The application's runtimes a live dev-loop supervisor has PAUSED (#1537) — the application being\n * built cannot start. Said beside the build rather than gating it: most tasks build fine against a\n * dead backend, and refusing them would turn a visible problem into a stalled lane. Absent when no\n * supervisor could answer.\n */\n readonly unavailableRuntimes?: readonly UnavailableApplicationRuntime[];\n /**\n * The backends whose own start record says their last start FAILED (#2405), with the refusal. Unlike a paused\n * supervisor this is read in every dev-loop mode, including an app-creator application with no supervisor. The wave\n * stops filling while one is listed; this is where `wildo build tasks` shows why. Absent when there is none.\n */\n readonly bootFailures?: readonly ApplicationBuildRecordsBootFailure[];\n /**\n * Reds the build keeps meeting that no task caused (#1529), each with the files it names and what\n * generated them. A check that a LATER attempt ran green is cleared and not listed.\n */\n readonly repairsOwed: readonly ApplicationBuildRepairOwed[];\n}\n\n/** The actor-plane page cap the attempt listing reads under; hitting it sets `attemptsTruncated`. */\nconst BUILD_TASK_ATTEMPT_PAGE_CAP = 200;\n\n/** How long one listing of the latest completed coding runs serves the plan reads of a burst (#2496 review F8). */\nconst LATEST_COMPLETED_CODING_RUNS_TTL_MS = 2_000;\n\n/**\n * How many of its OWN failures a build task may spend before dispatch stops offering it (#1536).\n * Three, because the first end-to-end run's two repeating tasks each failed three times identically:\n * a third identical failure says the dispatch, not luck, is the problem. Released by a re-arm.\n */\nexport const MAXIMUM_ATTRIBUTABLE_FAILED_ATTEMPTS = 3;\n\n/** How much of a failed check's output a retry is shown — enough for a compiler's first errors, not a log. */\nconst PREVIOUS_ATTEMPT_OUTPUT_TAIL_CHARS = 2000;\n\n/**\n * The follow-up task ref for one reported gap (#2496): the origin, the requirement, and a token of the REPORTING RUN, so\n * the same report derives the same task on every read while a later run reporting the gap again derives a NEW task (the\n * old follow-up's completed run must not land the new report at birth). Always a slug the graph schema accepts: a\n * requirement ref with no ASCII letter or digit (an agent may write `—` or `要件`) is named by a digest instead, so no\n * agent-written string can make the plan unreadable.\n */\nexport function deriveFollowUpTaskRef(originTaskRef: string, requirementRef: string, reportingRunTaskId: string): string {\n const slug = (value: string) => value.toLowerCase().replace(/[^a-z0-9]+/gu, '-').replace(/^-+|-+$/gu, '');\n const digest = (value: string) => createHash('sha256').update(value).digest('hex');\n const origin = slug(originTaskRef.replace(/^build-task-/u, '')) || `t${digest(originTaskRef).slice(0, 8)}`;\n const requirement = slug(requirementRef) || `r${digest(requirementRef).slice(0, 8)}`;\n return `${HOST_DERIVED_FOLLOW_UP_TASK_REF_PREFIX}${origin}-${requirement}-${digest(reportingRunTaskId).slice(0, 6)}`;\n}\n\nfunction projectBuildTaskAttempt(execution: {\n readonly systemRef?: string;\n readonly status: FlowsActors_Status;\n readonly createdAt: string;\n readonly finishedAt?: string;\n readonly standaloneTasks: readonly { readonly _id: string; readonly input?: unknown; readonly output?: unknown; readonly memory?: unknown; readonly startedAt?: string }[];\n}): { readonly taskRef: string; readonly attempt: ApplicationBuildTaskAttempt } | null {\n const task = execution.standaloneTasks[0];\n const taskRef = (task?.input as { taskRef?: unknown } | undefined)?.taskRef;\n if (!task || typeof taskRef !== 'string') return null;\n const output = task.output as {\n disposition?: unknown;\n carriedVerificationDiagnoses?: unknown;\n carriedVerificationFailures?: unknown;\n verification?: unknown;\n usage?: { cost?: { amount?: unknown; currency?: unknown } } & Record<string, unknown>;\n agentStopReason?: unknown;\n deniedPermissionCount?: unknown;\n scopeAssessment?: { outOfScopePaths?: unknown };\n changeSetSummary?: { stats?: Record<string, unknown> };\n concurrency?: { overlappingTaskRefs?: unknown; contendedPaths?: unknown };\n interferenceSuspected?: unknown;\n failureAttribution?: unknown;\n unmetRequirements?: unknown;\n unmetRequirementsMalformed?: unknown;\n } | undefined;\n const rearm = readBuildTaskRearm(task.memory);\n const unmetRequirements = Array.isArray(output?.unmetRequirements)\n ? (output!.unmetRequirements as { requirementRef?: unknown; missing?: unknown }[])\n .filter((entry) => typeof entry?.requirementRef === 'string' && typeof entry.missing === 'string')\n .map((entry) => ({ requirementRef: entry.requirementRef as string, missing: entry.missing as string }))\n : [];\n const landedOverride = readBuildTaskLandedOverride(task.input);\n const interference = readBuildTaskInterference(task.memory);\n const websiteCopyReview = readWebsiteCopyReview(task.memory);\n const carriedFailures = Array.isArray(output?.carriedVerificationDiagnoses)\n ? (output!.carriedVerificationDiagnoses as CarriedVerificationDiagnosis[]).filter((entry) => typeof entry?.checkRef === 'string')\n : [];\n const verification = Array.isArray(output?.verification)\n ? (output!.verification as { checkRef?: unknown; outcome?: { success?: unknown } }[]).filter((entry) => typeof entry?.checkRef === 'string')\n : [];\n const passedCheckRefs = verification.filter((entry) => entry.outcome?.success === true).map((entry) => String(entry.checkRef));\n const carriedRefs = new Set(Array.isArray(output?.carriedVerificationFailures) ? (output!.carriedVerificationFailures as unknown[]).map(String) : []);\n const failedCheckRefs = verification\n .filter((entry) => entry.outcome?.success === false && !carriedRefs.has(String(entry.checkRef)))\n .map((entry) => String(entry.checkRef));\n const cost = output?.usage?.cost;\n // Whichever key the run's writer used (#2390): `failure` for a refusal or a step, `error` and its siblings for a coding run.\n const failureMessage = readSettledRunFailureMessage(output);\n const tokens = readCodingRunReportedTokens(output?.usage);\n const stats = output?.changeSetSummary?.stats;\n const count = (value: unknown): number => (typeof value === 'number' && Number.isFinite(value) ? value : 0);\n const outOfScopePaths = Array.isArray(output?.scopeAssessment?.outOfScopePaths)\n ? (output!.scopeAssessment!.outOfScopePaths as unknown[]).map(String)\n : [];\n return {\n taskRef,\n attempt: {\n runTaskId: String(task._id),\n ...(execution.systemRef === APPLICATION_BUILD_SYSTEM_REF ? { generationStep: true as const } : {}),\n ...(() => {\n if (execution.systemRef !== APPLICATION_BUILD_SYSTEM_REF) return {};\n const generationStepSpend = readRecordedPlaybookSpend((task.output as { spend?: unknown } | undefined)?.spend);\n return generationStepSpend ? { generationStepSpend } : {};\n })(),\n startedAt: execution.createdAt,\n ...(execution.finishedAt ? { settledAt: execution.finishedAt } : {}),\n status: execution.status,\n ...(typeof output?.disposition === 'string' ? { disposition: output.disposition } : {}),\n ...(failureMessage !== undefined ? { error: failureMessage } : {}),\n ...(rearm ? { rearm } : {}),\n ...(landedOverride ? { landedOverride } : {}),\n ...(carriedFailures.length > 0 ? { carriedFailures } : {}),\n ...(passedCheckRefs.length > 0 ? { passedCheckRefs } : {}),\n ...(typeof cost?.amount === 'number' && typeof cost.currency === 'string' ? { cost: { amount: cost.amount, currency: cost.currency } } : {}),\n ...(tokens ? { tokens } : {}),\n ...(failedCheckRefs.length > 0 ? { failedCheckRefs } : {}),\n ...(typeof output?.agentStopReason === 'string' ? { agentStopReason: output.agentStopReason } : {}),\n ...(typeof output?.deniedPermissionCount === 'number' ? { deniedPermissionCount: output.deniedPermissionCount } : {}),\n ...(outOfScopePaths.length > 0 ? { outOfScopePaths } : {}),\n ...(stats ? { filesChanged: count(stats['runExclusive']) + count(stats['appearedDuringRun']) + count(stats['committedDuringRun']) } : {}),\n ...(Array.isArray(output?.concurrency?.overlappingTaskRefs) ? {\n concurrency: {\n overlappingTaskRefs: (output!.concurrency!.overlappingTaskRefs as unknown[]).map(String),\n contendedPaths: Array.isArray(output!.concurrency!.contendedPaths) ? (output!.concurrency!.contendedPaths as unknown[]).map(String) : [],\n },\n } : {}),\n ...(output?.interferenceSuspected === true ? { interferenceSuspected: true as const } : {}),\n ...(interference ? { interference } : {}),\n ...(typeof output?.failureAttribution === 'string' ? { failureAttribution: output.failureAttribution as CodingRunFailureAttribution } : {}),\n ...(unmetRequirements.length > 0 ? { unmetRequirements } : {}),\n ...(typeof output?.unmetRequirementsMalformed === 'string' ? { unmetRequirementsMalformed: output.unmetRequirementsMalformed } : {}),\n ...(websiteCopyReview ? { websiteCopyReview } : {}),\n ...refusalMarks(deriveCodingRunStart({ status: execution.status, ...(task.startedAt ? { startedAt: task.startedAt } : {}), ...(output ? { output } : {}) })),\n },\n };\n}\n\n/**\n * What one website run's copy review covers (#2593): the task's own subjects, and — for a PAGE task — every section of\n * its page whose section task has no completed run of its own. A page agent that wrote its sections' bodies despite\n * its boundary leaves those tasks landed by probe with no run to review them, so the page run's review covers them.\n */\nfunction websiteCopyReviewScope(\n task: BuildPlanTask,\n tasks: readonly BuildPlanTask[],\n companionExports: unknown,\n latest: ReadonlyMap<string, ApplicationBuildTaskAttempt>,\n deliveryOf?: (requirementRef: string) => WebsiteClaimDelivery,\n): { readonly own: readonly WebsiteTaskCopySubject[]; readonly alsoReviewed: readonly WebsiteCopyAlsoReviewed[] } {\n const own = describeWebsiteTaskCopySubjects(task, companionExports, deliveryOf) ?? [];\n const pageRefs = new Set(task.produces.flatMap((product) => (product.kind === BuildPlanTaskProductKind.WEBSITE_PAGE ? [product.pageRef] : [])));\n if (pageRefs.size === 0) return { own, alsoReviewed: [] };\n const alsoReviewed = tasks\n .filter((candidate) => candidate.taskRef !== task.taskRef && candidate.target.kind === BuildPlanTaskTargetKind.WEBSITE && !latest.has(candidate.taskRef)\n && candidate.produces.some((product) => product.kind === BuildPlanTaskProductKind.WEBSITE_SECTION && pageRefs.has(product.pageRef)))\n .map((candidate) => ({ taskRef: candidate.taskRef, subjects: describeWebsiteTaskCopySubjects(candidate, companionExports, deliveryOf) ?? [] }))\n .filter((entry) => entry.subjects.length > 0);\n return { own, alsoReviewed };\n}\n\n/** A locale's website pack from a tree reader, `undefined` when absent or not a flat object. */\nasync function readWebsiteLabelPack(reader: CommittedTreeReader, locale: string): Promise<Readonly<Record<string, unknown>> | undefined> {\n const text = await reader.readText(`website/src/i18n/${locale}.json`);\n if (text === undefined) return undefined;\n try {\n const parsed: unknown = JSON.parse(text);\n return typeof parsed === 'object' && parsed !== null && !Array.isArray(parsed) ? parsed as Record<string, unknown> : undefined;\n } catch {\n return undefined;\n }\n}\n\nfunction sameWebsiteCopy(left: Readonly<Record<string, string>>, right: Readonly<Record<string, string>>): boolean {\n const keys = Object.keys(left);\n return keys.length === Object.keys(right).length && keys.every((key) => right[key] === left[key]);\n}\n\n/** What an attempt's record says about a run that never started (`deriveCodingRunStart`, #1581). */\nfunction refusalMarks(start: CodingRunStart): { refusedBeforeStart?: true; ranNothing?: true } {\n if (start === CodingRunStart.REFUSED_BY_HOST) return { refusedBeforeStart: true, ranNothing: true };\n if (start === CodingRunStart.REFUSED_CONTRACT) return { ranNothing: true };\n return {};\n}\n\n/**\n * What the build has SPENT, per currency (#1541): every attempt's reported cost, and the part of it\n * spent on tasks that have not landed. Rounded at this boundary to the cent, because it accumulates.\n *\n * `attemptsWithoutReportedCost` counts SETTLED attempts whose run reported no cost (#1507): an agent may\n * report none, and those attempts are not in the totals — which are then a floor, and say so, rather\n * than quietly reading an unpriced attempt as free. An attempt still running has no cost yet and is not\n * counted.\n *\n * `totalTokens` / `cacheReadTokens` (#2232) sum what the runs REPORTED, present only when at least one did.\n * Generation steps are left out of every figure here: they are no agent runs and report neither.\n * Tokens are reported where a cost may not be (an agent priced by subscription, a provider that prices\n * nothing), so they are the figure that says a run worked when its cost is unknown.\n */\nexport function deriveBuildSpend(records: readonly Pick<ApplicationBuildTaskRecord, 'status' | 'attempts'>[]): {\n readonly total: Readonly<Record<string, number>>;\n readonly onTasksNotLanded: Readonly<Record<string, number>>;\n readonly attemptsWithoutReportedCost: number;\n readonly totalTokens?: number;\n readonly cacheReadTokens?: number;\n /** The generation steps' own spend (#2232), apart from the coding runs. Absent when no step ran. */\n readonly generationSteps?: ApplicationBuildGenerationStepSpend;\n} {\n const total: Record<string, number> = {};\n const onTasksNotLanded: Record<string, number> = {};\n let attemptsWithoutReportedCost = 0;\n const tokens: { totalTokens?: number; cacheReadTokens?: number } = {};\n const generationSpends: PlaybookSpend[] = [];\n let generationSteps = 0;\n let generationStepsWithoutRecordedSpend = 0;\n for (const record of records) {\n for (const attempt of record.attempts) {\n // A run that never started could report no cost: it is not an unpriced attempt (#1581).\n if (attempt.ranNothing === true) continue;\n // A generation step is no agent run: its model calls are its own figure, never an unpriced coding run (#2232).\n if (attempt.generationStep === true) {\n if (attempt.settledAt === undefined) continue;\n generationSteps += 1;\n // A step no meter observed recorded nothing either: counted apart, never merged in as spending nothing.\n if (attempt.generationStepSpend && attempt.generationStepSpend.measurement !== PlaybookSpendMeasurement.NOT_OBSERVED) generationSpends.push(attempt.generationStepSpend);\n else generationStepsWithoutRecordedSpend += 1;\n continue;\n }\n for (const key of ['totalTokens', 'cacheReadTokens'] as const) {\n const value = attempt.tokens?.[key];\n if (value !== undefined) tokens[key] = (tokens[key] ?? 0) + value;\n }\n if (!attempt.cost) {\n if (attempt.settledAt !== undefined) attemptsWithoutReportedCost += 1;\n continue;\n }\n total[attempt.cost.currency] = (total[attempt.cost.currency] ?? 0) + attempt.cost.amount;\n if (record.status !== WorkbenchBuildPlanTaskStatus.LANDED) {\n onTasksNotLanded[attempt.cost.currency] = (onTasksNotLanded[attempt.cost.currency] ?? 0) + attempt.cost.amount;\n }\n }\n }\n const cents = (sums: Record<string, number>) => Object.fromEntries(Object.entries(sums).map(([currency, amount]) => [currency, Math.round(amount * 100) / 100]));\n return {\n total: cents(total),\n onTasksNotLanded: cents(onTasksNotLanded),\n attemptsWithoutReportedCost,\n ...tokens,\n ...(generationSteps > 0 ? { generationSteps: {\n steps: generationSteps,\n stepsWithoutRecordedSpend: generationStepsWithoutRecordedSpend,\n // Absent when no step recorded one: an empty merge would read \"measured, 0 calls\" beside steps that recorded nothing.\n ...(generationSpends.length > 0 ? { spend: mergePlaybookSpend(generationSpends) } : {}),\n } } : {}),\n };\n}\n\n/**\n * What the build's generation steps spent (#2232): how many settled, how many have no recorded spend (a row\n * from before #2232), and their merged spend. The merged spend's own `measurement` says whether any call\n * reported no usage; a step with no recorded spend is counted apart, never as free.\n */\nexport interface ApplicationBuildGenerationStepSpend {\n readonly steps: number;\n readonly stepsWithoutRecordedSpend: number;\n /** The steps' recorded spend, merged. Absent when no step recorded one. */\n readonly spend?: PlaybookSpend;\n}\n\n/**\n * The reds owed a repair, from every attempt's record (#1529). Pure over the attempts, so what counts as\n * \"still owed\" is pinned rather than implied: a check is cleared once any attempt that started AFTER the\n * last one carrying it ran it green.\n */\nexport function deriveRepairsOwed(attemptsByTask: ReadonlyMap<string, readonly ApplicationBuildTaskAttempt[]>): ApplicationBuildRepairOwed[] {\n const byCheck = new Map<string, { firstSeenAt: string; lastSeenAt: string; affected: Set<string>; diagnosis: CarriedVerificationDiagnosis }>();\n const passes: { checkRef: string; at: string }[] = [];\n for (const [taskRef, attempts] of attemptsByTask) {\n for (const attempt of attempts) {\n for (const checkRef of attempt.passedCheckRefs ?? []) passes.push({ checkRef, at: attempt.startedAt });\n for (const carried of attempt.carriedFailures ?? []) {\n const entry = byCheck.get(carried.checkRef);\n if (entry === undefined) {\n byCheck.set(carried.checkRef, { firstSeenAt: attempt.startedAt, lastSeenAt: attempt.startedAt, affected: new Set([taskRef]), diagnosis: carried });\n continue;\n }\n entry.affected.add(taskRef);\n if (attempt.startedAt < entry.firstSeenAt) entry.firstSeenAt = attempt.startedAt;\n if (attempt.startedAt > entry.lastSeenAt) {\n entry.lastSeenAt = attempt.startedAt;\n entry.diagnosis = carried;\n }\n }\n }\n }\n return [...byCheck]\n .filter(([checkRef, entry]) => !passes.some((pass) => pass.checkRef === checkRef && pass.at > entry.lastSeenAt))\n .map(([checkRef, entry]) => ({\n checkRef,\n firstSeenAt: entry.firstSeenAt,\n lastSeenAt: entry.lastSeenAt,\n affectedTaskRefs: [...entry.affected].sort(),\n diagnosis: entry.diagnosis,\n }))\n .sort((left, right) => left.firstSeenAt.localeCompare(right.firstSeenAt));\n}\n\n/** What the next dispatch WOULD be. Returned unconfirmed, so a creator sees the scope before anything runs. */\nexport interface ApplicationBuildDispatchPlan {\n readonly taskRef: string;\n readonly objective: string;\n readonly targetKind: string;\n /**\n * What the task DECLARES it will produce (#1432).\n *\n * Carried on the plan because the plan is what the coding-run judge is given, and its treatment asks\n * whether the run implemented the dispatched task's target and stage — a question nothing can answer\n * from a taskRef and a target kind. It is also what a creator reading an unconfirmed plan needs in\n * order to see the scope: the mutation prefixes say where the agent may write, and only this says\n * what is supposed to come out.\n */\n readonly produces: readonly BuildPlanTaskProduct[];\n /**\n * Present exactly when the next task is a companion generation step. A build plan INTERLEAVES two\n * executors — coding tasks for a coding agent, and companion generation steps (labels, seeds, emails)\n * the companion runs itself — and this route serves BOTH: `dispatch-next` routes by the task's own\n * `target.kind`. (An earlier version refused generation steps by name; now that an executor exists,\n * the refusal would be a hole in the build lane, not a boundary.)\n */\n readonly generationStepRef?: string;\n readonly allowedPathPrefixes: readonly string[];\n readonly prohibitedPathPrefixes: readonly string[];\n readonly requiredChecks: readonly string[];\n readonly installedSkillRefs: readonly string[];\n readonly readyTaskRefs: readonly string[];\n readonly landedTaskRefs: readonly string[];\n /**\n * The subset of `landedTaskRefs` that landed WITHOUT PROOF — a task declaring no product, which has\n * a completed run and therefore cannot be held against the queue, but whose work nothing verified.\n *\n * A subset rather than a separate state on purpose: for scheduling these tasks ARE landed, and a\n * caller that forgot this field would schedule correctly and merely report less. The opposite\n * shape — a third status the scheduler must interpret — is how a task nobody handled becomes a\n * task nobody runs.\n *\n * Empty is the healthy answer and the one a regenerated plan produces (#600): a task that declares\n * what it produces is proven landed or is not landed, with no third case.\n */\n readonly unverifiableLandedTaskRefs: readonly string[];\n}\n\n/**\n * A build task that has been SELECTED and composed, before either executor has touched it.\n *\n * Named rather than inlined on `prepareNextBuildTask` because both dispatch doors now pass one of\n * these to a shared executor — the seam that makes selection happen exactly once per dispatch.\n *\n * `stuckTasks` rides the selection that produced it, so a concurrent pass can never be reported in\n * its place (#1451).\n */\ntype PreparedBuildTask = (\n | { readonly kind: 'CODING'; readonly plan: ApplicationBuildDispatchPlan; readonly contract: ReturnType<typeof composeBuildTaskCodingContract>; readonly stuckTasks: readonly ApplicationBuildStuckTask[] }\n | { readonly kind: 'GENERATION_STEP'; readonly plan: ApplicationBuildDispatchPlan; readonly task: BuildPlanTask; readonly stuckTasks: readonly ApplicationBuildStuckTask[] }\n) & {\n /** Set only when the selection EXERCISED an override: the task read landed and the operator ran it anyway (#2217). */\n readonly landedOverride?: BuildTaskLandedOverride;\n};\n\n\n/**\n * The stuck reasons a landed override passes (#2217): a COMPLETED earlier run, with or without its writes\n * committed — that run is the landing the operator says is wrong. Every other reason still refuses the task.\n */\nconst LANDED_OVERRIDE_RELEASES: ReadonlySet<Workbench_BuildTaskStuckReason> = new Set([\n Workbench_BuildTaskStuckReason.COMPLETED_UNLANDED,\n Workbench_BuildTaskStuckReason.COMPLETED_AWAITING_COMMIT,\n]);\n\n/** How long a CONCURRENT admission waits for the compile watchers before starting anyway (#1528). */\nconst CONCURRENT_ADMISSION_COMPILE_QUIET_MS = 30_000;\n\n/** Dispatches one wave call may make per slot before it returns and lets the next call continue. */\nexport const WAVE_DISPATCHES_PER_DEGREE = 4;\n\n/** Why a wave stopped taking new tasks — it always still drains the runs already live. */\nexport enum ApplicationBuildWaveStop {\n /** No task is ready and no run is live: the plan is done, blocked, or every ready task is stuck. */\n NOTHING_READY = 'nothing-ready',\n /** The call reached its dispatch cap; the next call continues. */\n DISPATCH_CAP = 'dispatch-cap',\n /** The next ready task is a generation step this call already ran, and its landing is still unmet. */\n GENERATION_STEP_REPEATED = 'generation-step-repeated',\n /** An admission was refused; the refusal is on the dispatch entry. */\n DISPATCH_REFUSED = 'dispatch-refused',\n /**\n * The coding agent's account hit its usage limit (#2388): every turn started before its reset would be\n * refused the same way, so the wave starts none. `usageLimit` on the result says when it resumes, and the\n * build lane submits the next wave then.\n */\n CODING_AGENT_USAGE_LIMITED = 'coding-agent-usage-limited',\n /**\n * The application's backend no longer starts (#2405): its own start record says the last start FAILED, after the\n * newest commit had its chance to restart it. Every task landed now would be built on, and verified against, an\n * application that cannot run. `bootFailures` on the result names the backend, its refusal and the runs this wave\n * landed (`wildo build tasks` names every task landed since the last good start, across waves). While runs are live\n * the filling only pauses and asks again at the next settle; with none live it stops. A task named with\n * `wildo build run` still runs, because re-running the task that broke it is the repair.\n */\n APPLICATION_DOES_NOT_BOOT = 'application-does-not-boot',\n}\n\n/**\n * The next-task doors' refusal while the application's backend does not start (#2405). A CONFLICT: the request is\n * valid, the application's state forbids it, and the message names the refusal and the repair.\n */\nexport class ApplicationDoesNotBootError extends Error {\n public constructor(public readonly bootFailures: readonly ApplicationBootFailure[]) {\n super(`The application's backend does not start, so no next task is dispatched: ${bootFailures\n .map((failure) => `${failure.serviceIdentifier} — ${failure.message ?? 'no reason recorded'}`).join('; ')}. `\n + 'Fix the task that broke it: wildo build run <taskRef> --despite-landed --reason operator-judgement --note \"<the refusal>\".');\n this.name = 'ApplicationDoesNotBootError';\n }\n}\n\n/**\n * A backend start failure as the build records show it (#2405 review F3): with the tasks whose coding run COMPLETED\n * since the backend's last good start, across waves — the candidates for the break. Empty when the backend never\n * started cleanly in this record, or when nothing has completed since.\n */\nexport interface ApplicationBuildRecordsBootFailure extends ApplicationBootFailure {\n readonly candidateTaskRefs: readonly string[];\n}\n\n/** A backend start failure that stopped a wave (#2405), with the runs this wave landed that may have caused it. */\nexport interface ApplicationBuildBootFailure extends ApplicationBootFailure {\n /** Coding runs of THIS wave that completed: the candidates when the backend broke during it. Empty if it was broken before. */\n readonly landedThisWave: readonly string[];\n}\n\n/** One task a wave dispatched: a coding admission, a generation step, or the refusal that ended the filling. */\nexport interface ApplicationBuildWaveDispatch {\n readonly plan: ApplicationBuildDispatchPlan;\n readonly admission?: ApplicationCodingTaskRunAdmission;\n readonly generationStep?: ApplicationBuildGenerationStepRunResult;\n readonly error?: string;\n}\n\n/** What one wave call did (#1528). */\nexport interface ApplicationBuildWaveResult {\n readonly degree: number;\n readonly mode: CodingRunConcurrency;\n readonly dispatched: readonly ApplicationBuildWaveDispatch[];\n /** Each coding run's settled outcome, in settle order; `null` for a row that could not be classified. */\n readonly outcomes: readonly (ApplicationCodingTaskSettledOutcome | null)[];\n /**\n * The end-of-wave repair (#1805): per run it named, how many paths its ONE commit carried (0 for a run\n * that contributed nothing to it).\n */\n readonly reconciliation: readonly { readonly taskId: string; readonly committedPaths: number; readonly error?: string }[];\n /**\n * The runs that completed and lost their product to a sibling, found once the wave's tree was reconciled,\n * and what was done about each (#2210). Empty for a single-flight wave, which has no sibling.\n */\n readonly interferenceRepairs: readonly ApplicationBuildInterferenceRepair[];\n readonly stoppedFillingBecause: ApplicationBuildWaveStop;\n /** Set when the wave stopped because the backend does not start (`APPLICATION_DOES_NOT_BOOT`, #2405). */\n readonly bootFailures?: readonly ApplicationBuildBootFailure[];\n /**\n * The usage limit that stopped the filling (`CODING_AGENT_USAGE_LIMITED`, #2388): when the lane resumes,\n * and the run that met it. Absent for every other stop.\n */\n readonly usageLimit?: CodingAgentUsageLimit & { readonly taskRef: string; readonly runTaskId: string };\n /**\n * Present when the wave ended because the PLAN is exhausted — every task landed — and says whether the application\n * those tasks built assembles (#2222). A parallel build ends here rather than at a single dispatch door, so this\n * is where \"the build is finished\" is claimed for it.\n */\n readonly assembly?: ApplicationAssemblyVerdict;\n /**\n * The repairs the wave's end ran because the finished plan did not assemble (#2283), in order: which check each\n * repaired and how its run settled (`null` when the row could not be classified). `assembly` is the verdict after\n * the last of them.\n */\n readonly assemblyRepairs?: readonly { readonly checkRef: string; readonly taskRef: string; readonly outcome: ApplicationCodingTaskSettledOutcome | null }[];\n}\n\n/**\n * One completed run whose declared product a concurrent sibling overwrote (#2210), and its repair: the task\n * is re-armed and run again ALONE, so nothing can overwrite the second attempt. `rerun` is absent when the\n * bound was already spent (`interference.requeued` is then false and the task waits for a person).\n */\nexport interface ApplicationBuildInterferenceRepair {\n readonly taskRef: string;\n /** The completed run that lost its product. */\n readonly runTaskId: string;\n readonly interference: BuildTaskInterference;\n readonly rerun?: {\n readonly dispatch?: ApplicationBuildDispatchResult;\n readonly outcome?: ApplicationCodingTaskSettledOutcome | null;\n /** The re-run could not be dispatched; the task stays re-armed, so the next dispatch offers it. */\n readonly error?: string;\n };\n}\n\n/**\n * One dispatched build task's outcome — exactly one of the two executor results is present, matching the\n * plan's `targetKind`. `admission` for a coding run; `generationStep` for a companion generation step.\n */\nexport interface ApplicationBuildDispatchResult {\n readonly plan: ApplicationBuildDispatchPlan;\n readonly admission?: ApplicationCodingTaskRunAdmission;\n readonly generationStep?: ApplicationBuildGenerationStepRunResult;\n}\n\n/**\n * Dispatch the next ready build-plan task to a coding agent.\n *\n * ## The chain, and who owns each link\n *\n * | link | owner |\n * |---|---|\n * | which tasks have landed | GIT — a task has landed when the files it produces are committed |\n * | which are READY | `selectReadyBuildPlanTasks` in `_core` — pure, prerequisite-closed |\n * | what a task may touch | `resolveBuildPlanTaskCodingPolicy` — the ONLY place a `target.kind` becomes paths |\n * | the contract | `composeBuildTaskCodingContract` in the runtime — pure, schema-pinned |\n * | the run | `CodingAgentDispatchCompanionService` — mutation lock, git baseline, change-set capture |\n *\n * Nothing in that chain is decided by a model. The agent is handed a task and a boundary; it does not\n * choose either.\n *\n * ## There is no confirmation flag, and that was a correction\n *\n * `dispatchNextBuildTask` ran only when the caller also passed `confirmWorkspaceMutation: true`. It was\n * removed the day it was written, because it protected nothing the mechanism does not already protect:\n * the scope is derived from the task's CLOSED `target.kind` and cannot be widened, the mutation lock\n * admits one workspace-mutating run at a time, the run is bracketed by a git baseline snapshot and a\n * change-set capture so every touched path is visible and revertible, the required checks gate the\n * result, and acceptance is a separate act: the loop's commit under the autonomy posture, authored as\n * the companion and refusing what it cannot vouch for, or a person's (#1534).\n *\n * A caller that posts to this route is asking for a coding run — that IS the route. Making them say so\n * twice is the acceptance ceremony this whole migration exists to remove, and a field that feels like a\n * control while enforcing nothing is the exact failure mode recorded in the plan's objective.\n *\n * What was genuinely useful in it — seeing the scope before committing to a run — is a READ, and lives at\n * `describeNextBuildTask` below.\n */\n/**\n * A ready task that has already been run to a working result — the loop guard's typed refusal.\n *\n * Distinct from `ApplicationBuildPlanExhaustedError`, which means the OPPOSITE and is a healthy\n * terminal state. Conflating them would let an operator read a money-burning loop as \"the build is\n * finished\".\n */\n/**\n * A build wave was asked for while one is already running in this companion (#2208 review M1).\n *\n * A second wave would double the width the person set, and it would break the first wave's end: that wave\n * commits what its runs left and re-runs interfered tasks ALONE \"now that nothing is writing\", which is false\n * while a second wave's runs are live. Refused as a CONFLICT — nothing is wrong with the request, the\n * companion's state forbids it — and the remedy is to wait for the running wave, whose feed line ends it.\n */\nexport class ApplicationBuildWaveInFlightError extends Error {\n public constructor(public readonly startedAt: string) {\n super(`A build wave is already running (started ${startedAt}). Follow it with \\`wildo creation feed --follow\\`; `\n + 'start the next one once it has ended — it takes the tasks that are ready then.');\n }\n}\n\nexport class ApplicationBuildTaskCompletedButUnlandedError extends Error {\n /**\n * `stuckTasks` is every ready task that cannot move, as typed facts. The message explains the FIRST;\n * the read door answers with all of them, so a board never has to parse this prose (#1451).\n */\n public constructor(\n message: string,\n public readonly taskRef: string,\n public readonly priorTaskId: string,\n public readonly stuckTasks: readonly ApplicationBuildStuckTask[],\n public readonly queue: ApplicationBuildStuckQueue,\n ) {\n super(message);\n this.name = 'ApplicationBuildTaskCompletedButUnlandedError';\n }\n}\n\n/**\n * A NAMED task was asked for and it is not READY (#1454, Step 7): landed already, blocked on a\n * prerequisite, or not in the plan. The graph still decides what may run; naming a task only lets\n * the creator pick among the ready ones. `standing` and the unmet refs are what the answer needs.\n */\nexport enum ApplicationBuildTaskStanding {\n /** The task has landed: its declared product is committed. */\n LANDED = 'landed',\n /** The task waits on a prerequisite that has not landed. */\n BLOCKED = 'blocked',\n /** The plan holds no such task. */\n UNKNOWN = 'unknown',\n}\n\nexport class ApplicationBuildTaskNotReadyError extends Error {\n public constructor(\n message: string,\n public readonly taskRef: string,\n public readonly standing: ApplicationBuildTaskStanding,\n public readonly unmetPrerequisiteTaskRefs: readonly string[],\n ) {\n super(message);\n this.name = 'ApplicationBuildTaskNotReadyError';\n }\n}\n\n/** Where a dispatch was started from, carried onto the run's row so the conversation shows it (#1454, Step 7). */\nexport interface ApplicationBuildDispatchOrigin {\n readonly conversationId?: string;\n /** An operator ran a task the landing probe calls landed, and why (#2217). */\n readonly landedOverride?: BuildTaskLandedOverride;\n}\n\n/** A NAMED selection, and — for a task that reads landed — the operator's override of that landing (#2217). */\nexport interface ApplicationBuildTaskSelection {\n readonly taskRef: string;\n readonly despiteLanded?: BuildTaskLandedOverride;\n}\n\n/**\n * Why a READY task cannot make progress is `Workbench_BuildTaskStuckReason` in\n * `@wildo-ai/platform-core-shared`. It moved there in #1451 so the board can render it; this service\n * is its only producer.\n */\nexport interface ApplicationBuildStuckTask {\n readonly taskRef: string;\n /** The run that proves it is stuck; empty for a task that is unbuildable before any run. */\n readonly priorTaskId: string;\n readonly completedAt?: string;\n readonly reason: Workbench_BuildTaskStuckReason;\n /** Set only for `COMPLETED_AWAITING_COMMIT`: the probed paths that are present but not committed. */\n readonly uncommittedPaths?: readonly string[];\n /** Set only for `NO_DOCUMENT_BLUEPRINT`, so the message can name the ref that has no blueprint. */\n readonly documentRef?: string;\n /**\n * The parked run's own question, carried so the refusal is complete on its own.\n *\n * Until #1359 this was the ONLY place the question survived a companion restart: the operator\n * surface read an in-process map that a restart emptied, exactly when this guard matters. The\n * surface now reads the run's waiting execution, so both hold it — and the message still carries\n * it, because a refusal that sends its reader elsewhere for the one fact it is about is a worse\n * refusal, whatever the elsewhere.\n */\n readonly question?: string;\n}\n\n\n/**\n * The committed tree as ONE landing resolution reads it: each path is asked at most once (#1005).\n *\n * A plan's tasks probe the same few files. A resource's schema, config and ui-behaviour tasks all read\n * that resource's files, so resolving probe by probe spawned git for the same path again and again. The\n * answer cannot change within one resolution, which is also what the landed set it builds assumes.\n */\n/**\n * The same two questions are also asked of the WORKING TREE (`createWorktreeReader`), only to explain a\n * stuck task — never to decide landing. There \"committed\" reads as \"present on disk\".\n */\ninterface CommittedTreeReader {\n isCommitted(subjectRelativePath: string): Promise<boolean>;\n readText(subjectRelativePath: string): Promise<string | undefined>;\n /**\n * Answer `isCommitted` for a whole path set up front, in a bounded number of git spawns.\n *\n * Pure acceleration: it seeds the same memo `isCommitted` would have filled one path at a time, so\n * a path this does not cover still resolves on demand and the answers are identical either way.\n */\n primeCommitted(subjectRelativePaths: readonly string[]): Promise<void>;\n /** The same, for committed TEXT: one `cat-file --batch` instead of one `show` per path. */\n primeTexts(subjectRelativePaths: readonly string[]): Promise<void>;\n /**\n * What the resolved shell carries and what the placement plan decided — ONE introspection per\n * landing resolution, however many shell probes ask (#1538). The paths it names are then asked of\n * THIS reader, so the committed reader and the working-tree reader give their own answers.\n */\n shellWitness(): Promise<ShellWitness>;\n}\n\n/**\n * The shell, as a landing probe needs it (#1538). Three-valued by construction: a witness that could\n * not be READ (no placement plan, no frontend, the introspection failed) is never a \"no\" — it lands\n * nothing and says why, the distinction `check:schema-plan-drift` draws between drift and could-not-ask.\n */\nexport type ShellWitness =\n | { readonly answered: false; readonly reason: string }\n | {\n readonly answered: true;\n /** Entry identities each surface carries in the RESOLVED configuration. */\n readonly carried: ReadonlyMap<PlacementSurface, ReadonlySet<string>>;\n /** The files each surface is composed from — the application's config and every contributing module's. */\n readonly contributingPaths: ReadonlyMap<PlacementSurface, readonly string[]>;\n /** Identities the plan PLACED on each surface. */\n readonly placed: ReadonlyMap<PlacementSurface, readonly string[]>;\n /** Identities the plan DECLINED — to be carried by no surface. */\n readonly declined: readonly string[];\n /**\n * Who each carried entry is shown to, per surface and identity (#2512): every audience the surface carries that\n * identity with, `undefined` for everyone.\n */\n readonly carriedAudiences: ReadonlyMap<PlacementSurface, ReadonlyMap<string, readonly PlacementAudienceLayers[]>>;\n /** Who the plan shows each placed identity to, per surface and layer. */\n readonly placedAudiences: ReadonlyMap<PlacementSurface, ReadonlyMap<string, PlacementAudienceLayers>>;\n };\n\n/** Why a shell probe is or is not satisfied — what the build record reports for it. */\nexport interface ShellProbeExplanation {\n readonly satisfied: boolean;\n /** Set when the witness could not be read: the probe is then unsatisfied without being a \"no\". */\n readonly unanswerable?: string;\n /** Placed subjects the surface does not carry. */\n readonly missing: readonly string[];\n /** Declined subjects the surface still carries. */\n readonly declinedButPresent: readonly string[];\n /**\n * Placed subjects the surface carries but shows to a different audience than the plan decided (#2512), each as\n * `<identity>: plan <audience>, shell <audience>`. Both directions count: a restriction the code dropped leaves the\n * entry visible to people it was not for, and one the code added hides it from people it was for.\n */\n readonly audienceMismatches: readonly string[];\n /** Contributing files that differ from HEAD (committed reader) or are absent (working-tree reader). */\n readonly uncommittedPaths: readonly string[];\n}\n\n/**\n * Every path one landed probe consults.\n *\n * One definition, because the two callers must agree: the batch that PRIMES the committed-tree reader\n * and the pass that reports a task's produced-but-uncommitted paths. A probe set gathered differently\n * in the two places would leave exactly the paths they disagree about resolving one spawn-pair at a\n * time — the cost the batch exists to remove, reappearing only for the paths nobody compared.\n */\nfunction landedProbePaths(probe: BuildPlanTaskLandedProbe): readonly string[] {\n // Delegates to the policy module's exhaustive definition. This used to be a second, non-exhaustive\n // copy of it — the thing this docstring says must not exist — and a new probe kind was a type error\n // here rather than a decision there (#1538).\n return buildPlanTaskLandedProbePaths(probe);\n}\n\n/** The probes that read the resolved shell rather than a file (#1538). */\ntype ShellLandedProbe = Extract<BuildPlanTaskLandedProbe, { kind: BuildPlanTaskLandedProbeKind.SHELL_SURFACE_CARRIES_PLAN | BuildPlanTaskLandedProbeKind.SHELL_CARRIES_A_PLACEMENT }>;\nfunction isShellProbe(probe: BuildPlanTaskLandedProbe): probe is ShellLandedProbe {\n return probe.kind === BuildPlanTaskLandedProbeKind.SHELL_SURFACE_CARRIES_PLAN || probe.kind === BuildPlanTaskLandedProbeKind.SHELL_CARRIES_A_PLACEMENT;\n}\n\n/** Store the pending read BEFORE awaiting it, so probes of one path running in parallel share it. */\nfunction memoizeByPath<T>(cache: Map<string, Promise<T>>, subjectRelativePath: string, read: () => Promise<T>): Promise<T> {\n const cached = cache.get(subjectRelativePath);\n if (cached) return cached;\n const pending = read();\n cache.set(subjectRelativePath, pending);\n return pending;\n}\n\n/** How many dispatches the narrative carries. Five is what the in-memory list kept; the board renders that many. */\nconst DISPATCH_NARRATIVE_LENGTH = 5;\n\n/**\n * How far a dispatch got, read off its execution row — see `Workbench_BuildDispatchPhase` for what\n * each member means and why the two executors resolve at different moments.\n *\n * - **A coding run** (`application-coding.system`): `PENDING` is SUBMITTED. Once its task has a start\n * instant it is ADMITTED and STAYS so however it ends — the phase names the hand-off, and the\n * outcome is the task row `codingTaskId` points at. A run that ended WITHOUT ever starting is the\n * only coding FAILED: the dispatch threw before admission.\n * - **A generation step** (`application-build.system`): running is SUBMITTED (nothing has resolved\n * yet), `COMPLETED` is FINISHED, and any other ending — failed, or aborted by a restart — is FAILED.\n */\nexport function projectBuildDispatchPhase(row: { readonly systemRef: string; readonly status: FlowsActors_Status; readonly taskStarted: boolean }): Workbench_BuildDispatchPhase {\n if (row.systemRef === APPLICATION_CODING_SYSTEM_REF) {\n if (row.taskStarted) return Workbench_BuildDispatchPhase.ADMITTED;\n return row.status === FlowsActors_Status.PENDING ? Workbench_BuildDispatchPhase.SUBMITTED : Workbench_BuildDispatchPhase.FAILED;\n }\n if (row.status === FlowsActors_Status.COMPLETED) return Workbench_BuildDispatchPhase.FINISHED;\n return row.status === FlowsActors_Status.PROCESSING || row.status === FlowsActors_Status.PENDING\n ? Workbench_BuildDispatchPhase.SUBMITTED\n : Workbench_BuildDispatchPhase.FAILED;\n}\n\n/**\n * One execution row as a dispatch record, or `null` for a row that is not a build dispatch — an\n * execution with no task, or a task naming no build-plan task (a coding run dispatched by something\n * other than the build plan would be one).\n */\nfunction projectBuildDispatchRecord(execution: {\n readonly systemRef: string;\n readonly status: FlowsActors_Status;\n readonly createdAt: string;\n readonly finishedAt?: string;\n readonly standaloneTasks: readonly { readonly _id: string; readonly input?: unknown; readonly output?: unknown; readonly startedAt?: string }[];\n}): ApplicationBuildDetachedDispatchRecord | null {\n const task = execution.standaloneTasks[0];\n const input = task?.input as { taskRef?: unknown; conversationId?: unknown } | undefined;\n if (!task || typeof input?.taskRef !== 'string') return null;\n const taskStarted = typeof task.startedAt === 'string';\n const phase = projectBuildDispatchPhase({ systemRef: execution.systemRef, status: execution.status, taskStarted });\n const isCodingRun = execution.systemRef === APPLICATION_CODING_SYSTEM_REF;\n const failure = readSettledRunFailureMessage(task.output);\n // When the phase LEFT `SUBMITTED`: admission for a coding run, the end of the step otherwise.\n const settledAt = phase === Workbench_BuildDispatchPhase.SUBMITTED ? undefined\n : isCodingRun && taskStarted ? task.startedAt\n : execution.finishedAt;\n return {\n taskRef: input.taskRef,\n startedAt: execution.createdAt,\n phase,\n ...(settledAt !== undefined ? { settledAt } : {}),\n ...(isCodingRun && taskStarted ? { codingTaskId: String(task._id) } : {}),\n ...(phase === Workbench_BuildDispatchPhase.FAILED && typeof failure === 'string' ? { error: failure } : {}),\n ...(typeof input.conversationId === 'string' ? { conversationId: input.conversationId } : {}),\n };\n}\n\n@injectable()\nexport class ApplicationBuildDispatchCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n /** Set once the follow-up derivation has warned that the coding-run listing hit its cap (#2496 review N1). */\n private followUpListingTruncationWarned = false;\n /** See `readLatestCompletedCodingRuns`. */\n private latestCompletedCodingRuns: { readonly at: number; readonly value: Promise<{ readonly latest: ReadonlyMap<string, ApplicationBuildTaskAttempt>; readonly truncated: boolean }> } | undefined;\n /**\n * When the wave running in this companion started; `undefined` when none is (#2208 review M1). One process\n * owns every wave — the console, a lane child and an explicit playbook run all reach {@link dispatchBuildWave}\n * here — so an in-process marker is the whole population, and a restart (which ends every run) clears it.\n */\n private liveWaveStartedAt: string | undefined;\n\n public constructor(\n @inject(SAAS_SERVICE_TYPES.Logger) private readonly logger: LoggerService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext) private readonly companionContext: CompanionContext,\n @inject(COMPANION_SERVICE_TYPES.CodingAgentDispatchService) private readonly dispatch: CodingAgentDispatchCompanionService,\n @inject(COMPANION_SERVICE_TYPES.GitChangeSetService) private readonly git: GitChangeSetCompanionService,\n @inject(COMPANION_SERVICE_TYPES.BuildGenerationStepService) private readonly generationSteps: ApplicationBuildGenerationStepCompanionService,\n @inject(COMPANION_SERVICE_TYPES.IntrospectionService) private readonly introspection: CompanionIntrospectionService,\n // The engine's execution driver and the rows it writes (#1359): every dispatch is an execution.\n @inject(SAAS_SERVICE_TYPES.ActorsSystemBackendService) private readonly actorsSystem: ActorsSystemBackendService,\n @inject(COMPANION_SERVICE_TYPES.ExecutionsService) private readonly executions: CompanionExecutionsCompanionService,\n /*\n * The accept door, given the one thing it cannot know from below: whether a concurrent run's files carry\n * its task's declared product (#2209). Bound in the container like every other dependency, so the\n * companion always registers the witness; typed optional only so a test harness that builds this service\n * positionally need not hand it one.\n */\n @inject(COMPANION_SERVICE_TYPES.AcceptedChangeCommitService) acceptedChangeCommit?: AcceptedChangeCommitCompanionService,\n /*\n * The model call behind the website-copy review (#2593). Bound in the container like everything else; typed\n * optional for the reason `acceptedChangeCommit` is, and without it no review runs, because there is no judge.\n */\n @inject(SAAS_SERVICE_TYPES.AgentsBackendService) private readonly agents?: AgentsBackendService,\n ) {\n this.logDebug = this.logger.debugByType('ApplicationBuildDispatchCompanionService');\n acceptedChangeCommit?.registerConcurrentRunProductWitness({\n pathsLackingOwnProduct: (taskRef, candidatePaths) => this.pathsLackingOwnProduct(taskRef, candidatePaths),\n });\n if (this.agents !== undefined) {\n /*\n * A completed run only REQUESTS the sweep, which reviews any completed website run with no review — this one\n * included — and any whose copy another task's run has since rewritten. Enqueueing the run's own review beside it\n * judged a run twice in a wave: a sweep queued by an earlier completion reached the new run before its own review\n * did (#2593 re-review M1).\n */\n this.dispatch.registerRunCompletedListener(() => {\n void this.requestWebsiteCopySweep();\n });\n }\n }\n\n /**\n * Every copy review runs through this one queue (#2593): two reviews running at once cannot see each other's record\n * before it is written, so they would judge the same run twice, each paying a judge call.\n */\n private websiteCopyReviews: Promise<unknown> | undefined;\n\n private enqueueWebsiteCopyReview<T>(work: () => Promise<T>): Promise<T> {\n const next = (this.websiteCopyReviews ?? Promise.resolve()).then(work, work);\n this.websiteCopyReviews = next.catch(() => undefined);\n return next;\n }\n\n /** The sweep already queued and not yet started, which a further request joins rather than queueing another. */\n private queuedWebsiteCopySweep: { readonly retryNotReviewed: boolean; readonly done: Promise<void> } | undefined;\n\n /**\n * Review every website run whose copy has no review, or changed since its review (#2593 review M3, M4). A run's\n * review is started when it completes and is lost when the companion restarts during the judge call, and copy one\n * task wrote can be rewritten by another task's run; the sweep is what catches both. Requested after every completed\n * run (coalesced: a wave's completions share one sweep) and once at startup. A NOT_REVIEWED review is retried only\n * when asked (`retryNotReviewed`, the startup sweep): retrying a provider that refuses on every completion would pay\n * for a refusal each time. Never throws.\n */\n public requestWebsiteCopySweep(options: { readonly retryNotReviewed?: boolean } = {}): Promise<void> {\n const retryNotReviewed = options.retryNotReviewed === true;\n const queued = this.queuedWebsiteCopySweep;\n if (queued !== undefined && (queued.retryNotReviewed || !retryNotReviewed)) return queued.done;\n const done = this.enqueueWebsiteCopyReview(async () => {\n if (this.queuedWebsiteCopySweep?.done === done) this.queuedWebsiteCopySweep = undefined;\n await this.sweepWebsiteCopy(retryNotReviewed);\n });\n this.queuedWebsiteCopySweep = { retryNotReviewed, done };\n return done;\n }\n\n /**\n * Runs whose review could not be RECORDED (the record door refused them: not found among the completed runs it lists),\n * skipped for the life of the process (#2593 re-review L1). Without this, every later sweep would find the run still\n * unreviewed and pay another judge call for a verdict that again cannot be written.\n */\n private readonly unrecordableWebsiteCopyRuns = new Set<string>();\n\n private async sweepWebsiteCopy(retryNotReviewed: boolean): Promise<void> {\n if (this.agents === undefined) return;\n try {\n // Before build-decompose there is no plan and nothing to review: quietly, not as a failed sweep.\n if (!(await this.hasAuthoredBuildPlan())) return;\n const plan = await this.readBuildPlan();\n const websiteTasks = plan.tasks.filter((task) => task.target.kind === BuildPlanTaskTargetKind.WEBSITE);\n if (websiteTasks.length === 0) return;\n const companionExports = await loadSpecificationsCompanionExports(this.companionContext);\n const { latest } = await this.fetchLatestCompletedCodingRuns();\n const worktree = this.createWorktreeReader();\n for (const task of websiteTasks) {\n const run = latest.get(task.taskRef);\n if (run === undefined || this.unrecordableWebsiteCopyRuns.has(run.runTaskId)) continue;\n const review = run.websiteCopyReview;\n if (review?.outcome === WebsiteCopyReviewOutcome.NOT_REVIEWED && !retryNotReviewed) continue;\n if (review?.outcome === WebsiteCopyReviewOutcome.REVIEWED && review.locale !== undefined) {\n const scope = websiteCopyReviewScope(task, plan.tasks, companionExports, latest);\n const pack = await readWebsiteLabelPack(worktree, review.locale);\n const current = pack === undefined ? {} : currentWebsiteCopy([...scope.own, ...scope.alsoReviewed.flatMap((entry) => entry.subjects)], pack);\n if (sameWebsiteCopy(current, review.reviewedCopy ?? {})) continue;\n }\n await this.reviewWebsiteCopyOfRun(task.taskRef, run.runTaskId);\n }\n } catch (error) {\n this.logger.warn('Could not sweep the website copy for runs whose review is missing or out of date', { error: describeCaughtError(error) });\n }\n }\n\n /**\n * Review the copy a COMPLETED website run wrote, and record the review on that run (#2593). Reached through the\n * sweep, which every completed run requests whichever door ran it (a wave, `wildo build run`, a lane), and left to\n * finish on its own: it is advisory, so nothing waits for it and nothing it finds changes whether the task lands.\n * Call it only from inside the review queue; a direct call races the sweep.\n *\n * Reads the WORKING tree, not HEAD: the run's own writes are what is reviewed, and under a posture that keeps\n * acceptance with a person they are not committed yet. The standings are derived NOW, by the function that wrote the\n * task's brief, and recorded beside the findings, because a standing moves: a requirement IN_PROGRESS today may be\n * DELIVERED tomorrow, and a finding is read against the standing it was found under.\n *\n * Never throws. A review that cannot run is recorded as NOT_REVIEWED with its reason; a task that is not a website\n * task, or a plan that cannot be read, records nothing, because there is no copy to speak of.\n */\n public async reviewWebsiteCopyOfRun(taskRef: string, runTaskId: string, session?: CompanionExecutionSessionContext): Promise<WebsiteCopyReview | undefined> {\n const agents = this.agents;\n if (agents === undefined) return undefined;\n try {\n const plan = await this.readBuildPlan();\n const task = plan.tasks.find((candidate) => candidate.taskRef === taskRef);\n if (task === undefined || task.target.kind !== BuildPlanTaskTargetKind.WEBSITE) return undefined;\n const companionExports = await loadSpecificationsCompanionExports(this.companionContext);\n const deliveryOf = await this.resolveWebsiteClaimDelivery(companionExports);\n const { latest } = await this.fetchLatestCompletedCodingRuns();\n const scope = websiteCopyReviewScope(task, plan.tasks, companionExports, latest, deliveryOf);\n if (scope.own.length === 0 && describeWebsiteTaskCopySubjects(task, companionExports) === undefined) return undefined;\n const saasRoot = this.companionContext.saasRoot;\n const worktree = this.createWorktreeReader();\n const locales = WEBSITE_LABEL_PACK_PATHS.map((path) => path.slice(path.lastIndexOf('/') + 1, -'.json'.length));\n // Read fresh, once per review: a build task may have just declared the retention schedule, a provider choice, or the site.\n const freshSaasConfig = loadSaasConfig(join(saasRoot, 'wildo.saas.config.ts'), { freshModuleCache: true })\n .then((config) => config ?? this.companionContext.saasConfig, () => this.companionContext.saasConfig);\n const review = await reviewWebsiteTaskCopy(scope.own, {\n defaultLocale: async () => {\n try {\n // Not `loadWebsiteConfig`, which memoizes per path for the life of the process: a long-lived reader reads it now.\n const [, service] = resolveStaticWebsiteServiceEntry(await freshSaasConfig);\n const config = await loadConfig<{ defaultLocale?: unknown }>(join(saasRoot, service.path, PER_SERVICE_WEBSITE_CONFIG_FILE_NAME), { freshModuleCache: true });\n return typeof config.defaultLocale === 'string' ? { locale: config.defaultLocale } : { unreadable: 'its config declares no defaultLocale' };\n } catch (error) {\n return { unreadable: describeCaughtError(error) };\n }\n },\n availableLocales: async () => locales,\n readLabelPack: (locale) => readWebsiteLabelPack(worktree, locale),\n readFile: (relativePath) => worktree.readText(relativePath),\n declarations: async () => {\n let productionInfraConfig: unknown;\n let productionInfraUnreadable: string | undefined;\n try {\n // Environment ids are open slugs; `production` is the conventional one, and no other declares itself production.\n productionInfraConfig = (await loadInfraEnvConfig(saasRoot, WildoEnvironment.PRODUCTION, { freshModuleCache: true }))?.config;\n } catch (error) {\n productionInfraUnreadable = describeCaughtError(error);\n }\n return collectWebsiteCopyDeclarations({ saasConfig: await freshSaasConfig, productionInfraConfig, ...(productionInfraUnreadable !== undefined ? { productionInfraUnreadable } : {}) });\n },\n judge: async (prompt) => {\n const invocation: FlowsActors_Agent_Invocation<any, any> = {\n agentRef: WEBSITE_COPY_REVIEW_JUDGE_AGENT_REF,\n initiator: {},\n invocationContext: [],\n input: { prompt, schema: WebsiteCopyReviewVerdictOutputSchema },\n output: { object: {} },\n executionContext: {},\n artifactBindings: [],\n };\n const response = await agents.invokeAgent(invocation);\n const parsed = WebsiteCopyReviewVerdictOutputSchema.safeParse((response.output as { object?: unknown } | undefined)?.object);\n if (!parsed.success) throw new Error(`the judge's answer did not match its schema: ${parsed.error.issues.map((issue) => issue.message).join('; ')}`);\n return { findings: parsed.data.findings as readonly RawWebsiteCopyFinding[] };\n },\n now: () => new Date(),\n }, scope.alsoReviewed);\n try {\n await this.dispatch.recordWebsiteCopyReview(taskRef, runTaskId, review, session);\n } catch (error) {\n this.unrecordableWebsiteCopyRuns.add(runTaskId);\n throw error;\n }\n if (review.findings.length > 0) {\n this.logger.warn('The copy a website task wrote claims what its build does not back (advisory; the task still lands)', {\n taskRef, runTaskId, findings: review.findings.map((finding) => `${finding.kind} ${finding.labelKey}`),\n });\n }\n return review;\n } catch (error) {\n this.logger.warn('Could not review the copy of a completed website run', { taskRef, runTaskId, error: describeCaughtError(error) });\n return undefined;\n }\n }\n\n /**\n * Of the paths a concurrent run is about to commit under its task's name, the ones a landing probe of that\n * task names and that do NOT carry the task's declared product (#2209) — read from the tree AS THE COMMIT\n * WOULD LEAVE IT, by the very predicate landing uses ({@link isLandedProbeSatisfied}), so the accept and the\n * landing check cannot disagree about whether the commit holds the product.\n *\n * Only probes naming one of the paths are asked: a probe about another file says nothing about this\n * commit. SHELL probes are not asked here: the shell they read is composed from many files and resolved\n * from the live tree by introspection, so it cannot be read \"as this commit leaves it\", and a shell-placement\n * run's own files are its configuration rather than a list several runs append to. A task the plan no\n * longer holds declares nothing to check. A plan that cannot be read throws: the accept then commits\n * nothing under the run's name, and the wave reconciliation takes the files as writer unknown.\n */\n private async pathsLackingOwnProduct(taskRef: string, candidatePaths: readonly string[]): Promise<readonly string[]> {\n const graph = await this.readBuildPlan();\n const task = graph.tasks.find((candidate) => candidate.taskRef === taskRef);\n if (!task) return [];\n const committing = new Set(candidatePaths);\n const prospective = this.createProspectiveCommitReader(committing);\n const lacking = new Set<string>();\n for (const probe of resolveBuildTaskLandedProbes(task)) {\n if (isShellProbe(probe)) continue;\n const named = landedProbePaths(probe).filter((path) => committing.has(path));\n if (named.length === 0) continue;\n if (await this.isLandedProbeSatisfied(probe, prospective)) continue;\n for (const path of named) lacking.add(path);\n }\n return [...lacking].sort();\n }\n\n /**\n * The application workspace's top-level entries — the raw material of a coding run's mutation\n * scope since #1268.\n *\n * ## Read per dispatch, and deliberately NOT cached\n *\n * The listing changes when a composition scenario adds a package (`wildo compose add-website`,\n * `add-technical-doc`, `add-minion`, `add-worker-node`), and the whole point of deriving it is that\n * a package added yesterday is writable today. A cache turns that into a REFUSAL — the run confined\n * away from the package it was asked to write — which is the defect the widening removes, arriving\n * back through the door marked \"performance\". One `readdir` per dispatch, against a dispatch that\n * runs a coding agent for minutes, is not a cost worth that.\n *\n * ## An unreadable workspace answers NOTHING rather than throwing\n *\n * The scope is ADDITIVE, so an empty answer degrades a run to its task-derived scope — today's\n * behaviour — instead of failing a dispatch over a directory listing. A workspace this process\n * cannot list is a condition the contract composer's own empty-scope refusal will catch if it\n * matters, and one that says nothing about whether this task can run.\n */\n private readApplicationWorkspaceEntries(): readonly string[] {\n try {\n return readdirSync(this.companionContext.saasRoot);\n } catch (error) {\n this.logDebug('Could not list the application workspace; a coding run keeps its task-derived scope', {\n saasRoot: this.companionContext.saasRoot,\n error: describeCaughtError(error),\n });\n return [];\n }\n }\n\n /**\n * What the next run would be, without running it. Pure read — nothing is locked, created or started.\n *\n * REQUIRES a task: an exhausted plan throws, exactly as the dispatch doors do. That is right for its\n * caller — a `dryRun` build-dispatch playbook, which is rehearsing a run and has nothing to rehearse\n * when the plan is finished.\n *\n * A surface that wants to SHOW the queue's state rather than act on it wants\n * `describeNextBuildTaskOrExhaustion` instead. The two are kept apart rather than merged because\n * \"give me the next task\" and \"tell me whether there is one\" are different questions, and only the\n * second can be answered by \"there is none\".\n */\n public async describeNextBuildTask(): Promise<ApplicationBuildDispatchPlan> {\n return (await this.prepareNextBuildTask()).plan;\n }\n\n /**\n * The same read for a caller that is about to RUN the build (#2208): the one a build wave asks before it\n * is submitted. It refuses exactly as the one-task door refuses — including an exhausted plan's assembly\n * verdict (#2222), which {@link describeNextBuildTask} leaves out because a dry run has nothing to check.\n * Without it, `wildo build run` at a parallelism above one answered \"every task landed\" with no word on\n * whether the application builds, which is the claim #2222 exists to qualify.\n */\n public async describeNextBuildTaskBeforeRunning(): Promise<ApplicationBuildDispatchPlan> {\n return (await this.prepareNextBuildTaskOrQualifyExhaustion()).plan;\n }\n\n /**\n * The same read, for a caller that must be able to render \"there is nothing left\".\n *\n * The catch narrows to TWO classes — exhausted, and every-ready-task-stuck — and that is the part\n * worth guarding. A catch-all would make every\n * genuine failure to look — an unreadable specifications export, a missing build plan, a broken\n * landing probe — report itself as a finished build, which is the most reassuring possible lie a\n * read can tell.\n */\n public async describeNextBuildTaskOrExhaustion(): Promise<ApplicationBuildDispatchDescription> {\n // The landed refs come back WITH the answer, never parked on the instance: two reads interleave at every await\n // (see `LandedTaskResolution`), and one would qualify its answer with the other's set.\n const { description, landedTaskRefs } = await this.describeNextBuildTaskOrExhaustionUnqualified();\n if (landedTaskRefs.length === 0) return description;\n const { started, truncated } = await this.listBuildTaskRefsWithAStartedRun();\n // A truncated history cannot say a task NEVER ran: the claim is withheld rather than made on a partial page.\n if (truncated) return description;\n return { ...description, landedBeforeAnyRunTaskRefs: landedTaskRefs.filter((taskRef) => !started.has(taskRef)) };\n }\n\n /**\n * Every build task with at least one run that STARTED — the population a landing can be \"its own\" against. A\n * dispatch refused before it started is not one (#1581). Read from the same actor rows and the same page cap as\n * the build record, so the two surfaces cannot disagree about which tasks ran.\n */\n private async listBuildTaskRefsWithAStartedRun(): Promise<{ readonly started: ReadonlySet<string>; readonly truncated: boolean }> {\n const listed = await Promise.all([APPLICATION_CODING_SYSTEM_REF, APPLICATION_BUILD_SYSTEM_REF].map((systemRef) =>\n this.executions.listActorExecutions(CompanionExecutionsListQuerySchema.parse({ systemRef, limit: BUILD_TASK_ATTEMPT_PAGE_CAP }))));\n const started = new Set<string>();\n for (const projected of listed.flat().map(projectBuildTaskAttempt)) {\n if (projected !== null && isCountedBuildTaskAttempt(projected.attempt)) started.add(projected.taskRef);\n }\n return { started, truncated: listed.some((page) => page.length >= BUILD_TASK_ATTEMPT_PAGE_CAP) };\n }\n\n private async describeNextBuildTaskOrExhaustionUnqualified(): Promise<{\n readonly description: ApplicationBuildDispatchDescription;\n readonly landedTaskRefs: readonly string[];\n }> {\n try {\n const prepared = await this.prepareNextBuildTask();\n return { description: { plan: prepared.plan, stuckTasks: prepared.stuckTasks }, landedTaskRefs: prepared.plan.landedTaskRefs };\n } catch (error) {\n if (error instanceof ApplicationBuildPlanExhaustedError) {\n return {\n description: { plan: null, exhausted: { taskCount: error.taskCount, landedCount: error.landedCount }, stuckTasks: [] },\n landedTaskRefs: error.landedTaskRefs,\n };\n }\n /*\n * Every ready task is stuck — an ANSWER, for the same reason exhaustion is (#1451). It used to\n * escape this door, fail the creation board's row derivation, and render as \"could not look\"\n * at the one moment the board had a precise answer and a remedy to show. The dispatch doors\n * still throw it: there, the caller asked to run something and nothing can run.\n */\n if (error instanceof ApplicationBuildTaskCompletedButUnlandedError) {\n return { description: { plan: null, stuckQueue: error.queue, stuckTasks: error.stuckTasks }, landedTaskRefs: error.queue.landedTaskRefs };\n }\n throw error;\n }\n }\n\n /**\n * The last few dispatches, newest first — read from the ACTOR PLANE since #1359.\n *\n * ## What this was, and why it moved\n *\n * An in-memory list of the last five dispatches, added 2026-09-04 when a 40-minute i18n generation\n * step outlived the HTTP request that started it and left an operator blind for half the run. It\n * was the right diagnosis and a second, weaker execution plane: a coding run already had a durable\n * row, a generation step had NONE, and a companion restart — ordinary here — emptied the list, so\n * the dispatch most worth explaining was the one nothing remembered.\n *\n * Every dispatch is now an actor-system execution from the moment its task is SELECTED — a coding\n * run on `application-coding.system` (opened `PENDING`, started at admission), a generation step\n * on `application-build.system` — and this method is a PROJECTION of those rows. It holds nothing.\n *\n * ## The phase is derived, and means what it always meant\n *\n * `Workbench_BuildDispatchPhase` stays the wire vocabulary until the board reads the actor rows\n * directly (#1362); {@link projectBuildDispatchPhase} maps a row onto it without changing a\n * member's meaning — in particular a coding run stays `ADMITTED` once it has started, however it\n * ends, because the phase names the HAND-OFF and the run's outcome is the task row it points at.\n */\n public async readDetachedDispatches(session?: CompanionExecutionSessionContext): Promise<readonly ApplicationBuildDetachedDispatchRecord[]> {\n const listed = await Promise.all([APPLICATION_CODING_SYSTEM_REF, APPLICATION_BUILD_SYSTEM_REF].map((systemRef) =>\n this.executions.listActorExecutions(CompanionExecutionsListQuerySchema.parse({ systemRef, limit: DISPATCH_NARRATIVE_LENGTH }), session)));\n return listed.flat()\n .map(projectBuildDispatchRecord)\n .filter((record): record is ApplicationBuildDetachedDispatchRecord => record !== null)\n .sort((left, right) => right.startedAt.localeCompare(left.startedAt))\n .slice(0, DISPATCH_NARRATIVE_LENGTH);\n }\n\n /**\n * Fire the next ready build task WITHOUT holding an HTTP request over it. Returns the selected\n * plan immediately. {@link readDetachedDispatches} then says how far it got: a companion generation\n * step reaches FINISHED there, while a coding task reaches ADMITTED with the durable actor-task row\n * that holds its actual outcome. The same single-flight properties hold — this is the same\n * execution, minus the requirement that a socket survive it.\n *\n * It SELECTS ONCE. Until 2026-09-17 it prepared a task for its own 202 and then called\n * `dispatchNextBuildTask`, which prepared AGAIN — two independent selections against a working\n * tree that a landing run can move between them, so the plan reported to the caller was not\n * guaranteed to be the plan that ran. Both halves now share one `prepared`.\n *\n * It OPENS BEFORE IT ANSWERS. The 202 says the dispatch is running, so its execution must exist\n * before the 202 is sent. It used to be opened inside {@link executePreparedBuildTask}, after this\n * method had returned: on 2026-09-24 (scratch-journey, `build-task-i18n-labels`) the supervisor\n * stopped the companion two seconds after the answer and before the open, and the dispatch left no\n * row at all. Nothing listed it, nothing swept it, and the caller had been told it was running.\n * Opened first, a run the process loses is an orphan the startup sweep settles visibly. A refusal\n * to open (the worktree is held) now reaches the caller instead of a debug log.\n */\n public submitBuildDispatchDetached(\n session?: CompanionExecutionSessionContext,\n /**\n * Run THIS task instead of the next ready one — `wildo build run <taskRef>` (#1652). The same\n * readiness applies: a task that is not ready is refused before anything opens, exactly as\n * {@link dispatchBuildTask} refuses it.\n */\n selection?: ApplicationBuildTaskSelection,\n ): Promise<ApplicationBuildDispatchPlan> {\n return this.prepareNextBuildTaskOrQualifyExhaustion(selection).then(async (prepared) => {\n // The override rides the run's row only when it was exercised, so a run's record never claims one it did not use.\n const origin: ApplicationBuildDispatchOrigin | undefined = prepared.landedOverride ? { landedOverride: prepared.landedOverride } : undefined;\n const opened = await this.openPreparedBuildTask(prepared, session, origin);\n void this.executePreparedBuildTask(prepared, session, origin, CodingRunConcurrency.SINGLE_FLIGHT, opened).catch((error: unknown) => {\n // The failure is ON THE ACTOR PLANE already, with this message: a coding dispatch refused\n // before admission settled ABORTED (FAILED when its own contract was invalid, #1581), a\n // generation step that threw settled FAILED. Logged because a detached run has no caller.\n this.logDebug('Detached build dispatch failed', { taskRef: prepared.plan.taskRef, error: describeCaughtError(error) });\n });\n return prepared.plan;\n });\n }\n\n /**\n * Run the next ready build-plan task, routed by its own `target.kind`: a coding task goes to the coding\n * agent (bounded by its scope, locked, captured and verified); a companion generation step runs the\n * companion's own pipeline for that step. One route, two executors — the interleaving IS the build loop.\n *\n * The workbench dispatches through THIS method and the CLI through its detached sibling; both leave\n * the same rows, because the record is a property of a DISPATCH and not of the door that asked.\n */\n public async dispatchNextBuildTask(\n session?: CompanionExecutionSessionContext,\n ): Promise<ApplicationBuildDispatchResult> {\n return this.executePreparedBuildTask(await this.prepareNextBuildTaskOrQualifyExhaustion(), session);\n }\n\n /**\n * {@link prepareNextBuildTask} for a DISPATCH door (#2222): when nothing is left to run, the refusal says whether\n * the application those tasks built assembles. The dispatch doors are where \"the build is finished\" is claimed —\n * `wildo build run` with nothing ready, the loop's next step — so that is where the claim is checked. The read\n * door (`describeNextBuildTaskOrExhaustion`) stays a read: it runs on every board poll and never spawns a compiler.\n *\n * And when it does NOT assemble, the next work is a REPAIR of the first failing check (#2283), within the bounds\n * {@link selectAssemblyRepair} keeps, rather than a refusal a person has to act on. Only for the NEXT-task door: a\n * caller that named a task asked about that task, and is refused with the verdict as before. While a repair runs,\n * the door refuses rather than asking the checks again under it: the repair is writing the tree they read.\n */\n private async prepareNextBuildTaskOrQualifyExhaustion(selection?: ApplicationBuildTaskSelection): Promise<PreparedBuildTask> {\n const prepared = await this.prepareNextBuildTaskOrRepair(selection);\n /*\n * The boot gate, for the single-task doors (#2405 review F1): `wildo build run --single`, the workbench and a\n * playbook's single dispatch all reach this method, and none of them may start the NEXT ordinary task into an\n * application that cannot start. A NAMED task passes (re-running the task that broke it is the repair), and so does\n * an assembly repair (it exists to make a failing check, the running backend among them, pass). The wave reads the\n * same records before every slot.\n */\n if (selection === undefined && !isAssemblyRepairTaskRef(prepared.plan.taskRef)) {\n const notBooting = await this.readCurrentBootFailures();\n if (notBooting.length > 0) throw new ApplicationDoesNotBootError(notBooting);\n }\n return prepared;\n }\n\n private async prepareNextBuildTaskOrRepair(selection?: ApplicationBuildTaskSelection): Promise<PreparedBuildTask> {\n try {\n return await this.prepareNextBuildTask(selection);\n } catch (error) {\n if (!(error instanceof ApplicationBuildPlanExhaustedError) || error.assembly !== undefined) throw error;\n // Either door: a check asked while a repair writes the tree reports on a tree in mid-edit.\n const liveRepair = await this.findLiveAssemblyRepair();\n if (liveRepair !== undefined) {\n throw new ApplicationBuildPlanExhaustedError(\n `${error.message} The assembly repair ${liveRepair} is running; ask again once it settles.`,\n error.taskCount, error.landedCount, error.landedTaskRefs,\n );\n }\n if (selection !== undefined) throw await this.qualifyExhaustion(error);\n const assessed = await this.assessAssembly();\n const repair = await this.prepareAssemblyRepair(assessed, error);\n if (repair.prepared !== undefined) return repair.prepared;\n throw this.exhaustedWithAssembly(error, assessed, repair.withheld);\n }\n }\n\n private async qualifyExhaustion(error: ApplicationBuildPlanExhaustedError): Promise<ApplicationBuildPlanExhaustedError> {\n return this.exhaustedWithAssembly(error, await this.assessAssembly(), []);\n }\n\n /**\n * Ask every assembly check (#2222). `failed[].detail` is the longer tail a repair is given (#2283); the verdict\n * keeps the five-line excerpt it always showed.\n */\n private async assessAssembly(): Promise<{\n readonly checkRefs: readonly string[];\n readonly failed: readonly { readonly checkRef: string; readonly output: string; readonly detail: string }[];\n readonly couldNotRun?: string;\n }> {\n const checkRefs = resolveApplicationAssemblyCheckRefs(this.companionContext.saasRoot);\n const { verification, infrastructureError, unrunCheckRefs } = await this.dispatch.runApplicationVerificationChecks(checkRefs);\n // A check that never RAN is not a verdict about the application (#2222 review): it is kept out of `failed`.\n const unrun = new Set(unrunCheckRefs ?? []);\n const failed = verification\n .filter(({ checkRef, outcome }) => !outcome.success && !unrun.has(checkRef))\n .map(({ checkRef, outcome }) => {\n // tsc prints its diagnostics to stdout, so stdout first; stderr when a crash left nothing there.\n const tail = [outcome.stdoutTail, outcome.stderrTail].map((entry) => entry.trim()).find((entry) => entry.length > 0) ?? '';\n return { checkRef, output: tail.split('\\n').slice(0, 5).join('\\n') || outcome.message, detail: tail || outcome.message };\n });\n const couldNotRun = unrun.size > 0 || infrastructureError\n ? `${[...unrun].join(', ') || 'a check'}: ${infrastructureError ? describeCaughtError(infrastructureError) : 'did not run'}`\n : undefined;\n return { checkRefs, failed, ...(couldNotRun !== undefined ? { couldNotRun } : {}) };\n }\n\n private exhaustedWithAssembly(\n error: ApplicationBuildPlanExhaustedError,\n assessed: Awaited<ReturnType<ApplicationBuildDispatchCompanionService['assessAssembly']>>,\n withheld: readonly { readonly checkRef: string; readonly reason: AssemblyRepairWithheldReason }[],\n ): ApplicationBuildPlanExhaustedError {\n const { checkRefs, couldNotRun } = assessed;\n const assembly = this.toAssemblyVerdict(assessed, withheld);\n const { failed } = assembly;\n const unanswered = couldNotRun !== undefined ? `\\nNot answered (the check could not run, which says nothing about the application): ${couldNotRun}` : '';\n const verdict = assembly.passed\n ? ` The application assembles: ${checkRefs.length} check(s) passed.`\n : failed.length > 0\n ? ` But the application does NOT assemble — the plan's tasks landed and the program they make does not build: `\n + failed.map((entry) => `${entry.checkRef}:\\n${entry.output}`).join('\\n')\n + '\\nFix the failing package (or re-run the task that owns it), then ask again.' + describeWithheldAssemblyRepairs(withheld) + unanswered\n : ` Whether the application assembles could not be checked: ${couldNotRun}`;\n return new ApplicationBuildPlanExhaustedError(`${error.message}${verdict}`, error.taskCount, error.landedCount, error.landedTaskRefs, assembly);\n }\n\n private toAssemblyVerdict(\n assessed: Awaited<ReturnType<ApplicationBuildDispatchCompanionService['assessAssembly']>>,\n withheld: readonly { readonly checkRef: string; readonly reason: AssemblyRepairWithheldReason }[],\n ): ApplicationAssemblyVerdict {\n const failed = assessed.failed.map(({ checkRef, output }) => ({ checkRef, output }));\n return {\n passed: failed.length === 0 && assessed.couldNotRun === undefined,\n checkRefs: assessed.checkRefs,\n failed,\n ...(assessed.couldNotRun !== undefined ? { couldNotRun: assessed.couldNotRun } : {}),\n ...(withheld.length > 0 ? { repairsWithheld: withheld } : {}),\n };\n }\n\n /** The taskRef of a live assembly repair, or `undefined`. A plane that cannot be read answers `undefined`: the admission still refuses a second run. */\n private async findLiveAssemblyRepair(): Promise<string | undefined> {\n try {\n return (await this.dispatch.listInFlightCodingRuns()).map((run) => run.taskRef).find((taskRef): taskRef is string => taskRef !== null && isAssemblyRepairTaskRef(taskRef));\n } catch (error) {\n this.logDebug('Could not list the live coding runs before asking the assembly checks', { error: describeCaughtError(error) });\n return undefined;\n }\n }\n\n /**\n * The repair the failing checks are owed now, prepared exactly as a coding task is (#2283), or the checks it is\n * withheld from. See `application-assembly-repair.companion.utils.ts` for the bounds, and\n * `composeAssemblyRepairCodingContract` for why a repair is not a build-plan task.\n *\n * The run history that bounds it is the build's own execution rows, where each repair records the check and the\n * failure it was given (`assemblyRepair` on the row input). If they cannot be read, nothing is repaired: a bound that\n * cannot be measured is not spent on a guess, and the refusal still names the failing checks.\n *\n * A repair's context is the failure and its previous failed attempt, nothing else. It gets no skill and no live-query\n * menu, unlike a build task: a build task's skills come from what it builds, and a repair builds nothing new, it\n * makes a named check pass, and the check's own output is the most specific brief there is. Revisit if repairs are\n * measured failing for want of knowledge they would have had.\n */\n private async prepareAssemblyRepair(\n assessed: Awaited<ReturnType<ApplicationBuildDispatchCompanionService['assessAssembly']>>,\n exhausted: ApplicationBuildPlanExhaustedError,\n ): Promise<{ readonly prepared?: PreparedBuildTask; readonly withheld: readonly { readonly checkRef: string; readonly reason: AssemblyRepairWithheldReason }[] }> {\n if (assessed.failed.length === 0) return { withheld: [] };\n let runs: readonly BuildDispatchRunSummary[];\n try {\n runs = await this.listBuildDispatchRuns();\n } catch (error) {\n this.logger.warn('Could not read the build\\'s runs; no assembly repair is dispatched', { error: describeCaughtError(error) });\n return { withheld: [] };\n }\n const workspaceEntries = this.readApplicationWorkspaceEntries();\n const decision = selectAssemblyRepair(\n assessed.failed,\n assemblyRepairAttemptsThisRound(runs),\n (checkRef) => resolveAssemblyRepairCodingPolicy(checkRef, workspaceEntries).requiredCheckRefs,\n );\n if (decision.repair === undefined) return { withheld: decision.withheld };\n const failure = assessed.failed.find((entry) => entry.checkRef === decision.repair!.checkRef)!;\n const content: AssemblyFailureContextContent = {\n checkRef: failure.checkRef,\n output: failure.output,\n ...(failure.detail !== failure.output ? { detail: failure.detail } : {}),\n guidance: ASSEMBLY_REPAIR_GUIDANCE,\n };\n const contextSources: BuildTaskContextSource[] = [{ sourceRef: ASSEMBLY_FAILURE_CONTEXT_SOURCE_REF, originRef: 'application-creation:origin/dev-companion', content }];\n const boundary = resolveAssemblyRepairCodingPolicy(failure.checkRef, workspaceEntries);\n const taskRef = assemblyRepairTaskRef(failure.checkRef);\n // The previous repair of this check that FAILED, as a retry of a build task is shown its (#1536). Best-effort.\n try {\n const [latest] = await this.dispatch.listAttributableFailedRunsForBuildTask(taskRef, undefined, { includeRearmed: true });\n if (latest !== undefined) contextSources.push(previousAttemptContextSource(latest));\n } catch (error) {\n this.logDebug('Previous-repair source omitted from the repair context', { taskRef, error: describeCaughtError(error) });\n }\n const contract = composeAssemblyRepairCodingContract({\n checkRef: failure.checkRef,\n boundary,\n contextSources,\n objectiveRef: 'application-creation:objective/build-plan',\n });\n // Owed, not yet dispatched: the read before a wave asks this too, and dispatches nothing.\n this.logger.warn('The finished build plan does not assemble; a repair of the first failing check is owed', {\n checkRef: failure.checkRef, taskRef, withheld: decision.withheld, maximumRepairsPerCheck: MAXIMUM_ASSEMBLY_REPAIRS_PER_CHECK,\n });\n const plan: ApplicationBuildDispatchPlan = {\n taskRef,\n // The failure's first line rides the objective, so the advisory judge grades the repair against what it was given.\n objective: `Every build-plan task landed and ${failure.checkRef} fails: repair the application so that it passes. `\n + `It printed: ${failure.output.split('\\n')[0] ?? ''}`,\n targetKind: ASSEMBLY_REPAIR_TARGET_KIND,\n produces: [],\n allowedPathPrefixes: contract.mutationScope.allowedPathPrefixes,\n prohibitedPathPrefixes: contract.mutationScope.prohibitedPathPrefixes,\n requiredChecks: contract.verificationIntent.requiredChecks,\n installedSkillRefs: contract.installedSkillRefs,\n readyTaskRefs: [],\n landedTaskRefs: exhausted.landedTaskRefs,\n unverifiableLandedTaskRefs: [],\n };\n return { prepared: { kind: 'CODING', plan, contract, stuckTasks: [] }, withheld: decision.withheld };\n }\n\n /** The build's dispatch rows, coding runs and generation steps, as {@link assemblyRepairAttemptsThisRound} reads them. */\n private async listBuildDispatchRuns(): Promise<BuildDispatchRunSummary[]> {\n const listed = await Promise.all([APPLICATION_CODING_SYSTEM_REF, APPLICATION_BUILD_SYSTEM_REF].map((systemRef) =>\n this.executions.listActorExecutions(CompanionExecutionsListQuerySchema.parse({ systemRef, limit: BUILD_TASK_ATTEMPT_PAGE_CAP }))));\n return listed.flat().flatMap((execution) => {\n const task = execution.standaloneTasks[0];\n const taskRef = (task?.input as { taskRef?: unknown } | undefined)?.taskRef;\n return typeof taskRef === 'string' ? [{ taskRef, startedAt: execution.createdAt, status: execution.status, input: task!.input }] : [];\n });\n }\n\n /**\n * Run THIS task (#1454, Step 7). Admitted only when it is READY: the same selection as\n * `dispatchNextBuildTask`, narrowed to one candidate, so every stuck-task rule still applies and a\n * task that is landed, blocked or unknown answers `ApplicationBuildTaskNotReadyError` instead of\n * running. `origin` is stamped on the run's row so the conversation it came from shows it.\n */\n public async dispatchBuildTask(\n taskRef: string,\n session?: CompanionExecutionSessionContext,\n origin?: ApplicationBuildDispatchOrigin,\n ): Promise<ApplicationBuildDispatchResult> {\n return this.executePreparedBuildTask(await this.prepareNextBuildTask({ taskRef }), session, origin);\n }\n\n /**\n * What running THIS task would mean, without running it: where it may write, what it must pass,\n * and how much context the coding run would carry — what an assistant says before asking for the\n * money. Throws exactly what `dispatchBuildTask` would refuse with.\n */\n public async describeBuildTaskDispatch(taskRef: string): Promise<{\n readonly plan: ApplicationBuildDispatchPlan;\n readonly stuckTasks: readonly ApplicationBuildStuckTask[];\n /** The coding contract's summed context estimate, in tokens; absent for a generation step. */\n readonly contextTokens?: number;\n }> {\n const prepared = await this.prepareNextBuildTask({ taskRef });\n const contextTokens = prepared.kind === 'CODING'\n ? (prepared.contract as { contextSelection?: { maximumTokenBudget?: number } }).contextSelection?.maximumTokenBudget\n : undefined;\n return { plan: prepared.plan, stuckTasks: prepared.stuckTasks, ...(contextTokens !== undefined ? { contextTokens } : {}) };\n }\n\n /**\n * Execute an ALREADY SELECTED task. The one seam both doors run through, so neither can drift from\n * the other about how a target kind is routed — and so selection happens exactly once per dispatch.\n *\n * Both routes are ENGINE-DRIVEN executions (#1359), which is what makes a dispatch visible from\n * selection to outcome without this service remembering anything.\n */\n /**\n * Open a prepared task's execution without running it: the generation step's own row, or the\n * coding run's `PENDING` selection row. For a caller that must answer only once the run is durable\n * ({@link submitBuildDispatchDetached}).\n */\n private async openPreparedBuildTask(\n prepared: PreparedBuildTask,\n session?: CompanionExecutionSessionContext,\n origin?: ApplicationBuildDispatchOrigin,\n mode: CodingRunConcurrency = CodingRunConcurrency.SINGLE_FLIGHT,\n ): Promise<OpenedActorExecution> {\n if (prepared.kind === 'GENERATION_STEP') {\n const openedStep = await this.actorsSystem.openActorExecution(this.buildGenerationStepExecutionRequest(prepared, session, origin));\n // Its row is on the dispatch history from this moment; see `executePreparedBuildTask`.\n this.dispatch.announceRunStateChanged();\n return openedStep;\n }\n // Announced by the coding service itself when it opens the PENDING execution.\n return this.dispatch.openSelectedApplicationCodingExecution(prepared.contract as MetaWorkflow_ApplicationCodingTaskContract, session, origin, mode);\n }\n\n /** The execution a generation step is: one task of the build system's programmatic actor. */\n private buildGenerationStepExecutionRequest(\n prepared: PreparedBuildTask,\n session?: CompanionExecutionSessionContext,\n origin?: ApplicationBuildDispatchOrigin,\n ): ActorExecutionOpenRequest<CompanionExecutionSessionContext | undefined> {\n return {\n systemRef: APPLICATION_BUILD_SYSTEM_REF,\n actorRef: APPLICATION_BUILD_GENERATION_STEP_ACTOR_REF,\n scope: session,\n task: {\n title: `Build generation step ${prepared.plan.taskRef}`,\n description: `Companion generation step ${String(prepared.plan.generationStepRef)} of the application build plan.`,\n topic: Actor_Task_Topics.IMPLEMENTATION,\n input: {\n taskRef: prepared.plan.taskRef,\n generationStepRef: prepared.plan.generationStepRef ?? null,\n ...(origin?.conversationId ? { conversationId: origin.conversationId } : {}),\n ...(origin?.landedOverride ? { landedOverride: origin.landedOverride } : {}),\n },\n // The same cross-plane join a coding task carries, so the board matches either kind of\n // dispatch to its build-plan row by one key.\n correlation: {\n domain: WORKBENCH_TASK_CORRELATION_DOMAIN,\n refs: { [WorkbenchTaskCorrelationRef.BUILD_PLAN_TASK]: sanitizeWorkbenchCreationPlaneIdentity(prepared.plan.taskRef) },\n },\n },\n };\n }\n\n private async executePreparedBuildTask(\n prepared: PreparedBuildTask,\n session?: CompanionExecutionSessionContext,\n origin?: ApplicationBuildDispatchOrigin,\n /** CONCURRENT only from {@link dispatchBuildWave} (#1528). */\n mode: CodingRunConcurrency = CodingRunConcurrency.SINGLE_FLIGHT,\n /** Already opened by {@link openPreparedBuildTask}; opened here otherwise. */\n opened?: OpenedActorExecution,\n ): Promise<ApplicationBuildDispatchResult> {\n if (prepared.kind === 'GENERATION_STEP') {\n this.logDebug('Running a companion generation step', {\n taskRef: prepared.plan.taskRef,\n generationStepRef: prepared.plan.generationStepRef,\n });\n /*\n * A generation step IS an execution of the build system's one PROGRAMMATIC actor: opened before\n * the pipeline starts, settled COMPLETED with what it produced, or FAILED with the pipeline's\n * own message when it throws (the driver rethrows it unchanged for this method's caller).\n */\n /*\n * Announced when the step's execution OPENS and again once its row is TERMINAL, however it ended\n * (#1310). The creation boards read that row: it is a line of the dispatch history while it\n * runs, and its ending is what a failed step's line and the next task it unblocks are read\n * from. A running step is NOT in the selection's in-flight set (that counts coding runs), so\n * the open announcement is about the history, not about readiness. When `opened` is supplied,\n * {@link openPreparedBuildTask} already announced the open.\n */\n const openedStep = opened ?? await this.actorsSystem.openActorExecution(this.buildGenerationStepExecutionRequest(prepared, session, origin));\n if (!opened) this.dispatch.announceRunStateChanged();\n const generationStep = await this.actorsSystem.completeActorExecution(\n openedStep,\n /*\n * Inside the coding lane's attribution window, and accepted under the autonomy posture there\n * (#1534): the step lands on COMMITTED paths and is exempt from the loop guard, so an\n * uncommitted step would be re-selected forever. See `runGenerationStepInWorktreeWindow`.\n */\n (opened) => this.dispatch.runGenerationStepInWorktreeWindow({\n taskRef: prepared.plan.taskRef,\n taskId: opened.taskId,\n execute: () => this.generationSteps.executeGenerationStep(prepared.task, session),\n // Its claims when a concurrent wave shares the tree (#2240): the roots derived from its evidence paths.\n ownedPathPrefixes: prepared.plan.allowedPathPrefixes,\n ...(session ? { sessionContext: session } : {}),\n }),\n session,\n {\n // The step's PRODUCT is files on disk; the row names them so a reader need not re-derive where to look.\n // And what its model calls spent (#2232): the build's cost is incomplete without its generation steps.\n concludeAs: (result) => ({\n status: FlowsActors_Status.COMPLETED,\n taskOutput: { generationStepRef: result.generationStepRef, evidencePaths: result.evidencePaths, spend: result.spend },\n }),\n // A failed run spent money too — also when the step itself succeeded and what followed it threw.\n recordBesideFailure: () => {\n const spend = this.generationSteps.spentByGenerationStep(prepared.task);\n return spend ? { spend } : null;\n },\n },\n ).finally(() => this.dispatch.announceRunStateChanged());\n return { plan: prepared.plan, generationStep };\n }\n this.logDebug('Dispatching a build task to the coding agent', {\n taskRef: prepared.plan.taskRef,\n allowedPathPrefixes: prepared.plan.allowedPathPrefixes,\n });\n const contract = prepared.contract as MetaWorkflow_ApplicationCodingTaskContract;\n /*\n * Opened at SELECTION, `PENDING`: what follows can take minutes and can fail, and until #1359 that\n * stretch existed only in memory. The coding service STARTS this same execution at admission.\n */\n const selected = opened ?? await this.dispatch.openSelectedApplicationCodingExecution(contract, session, origin, mode);\n try {\n /*\n * The churn gate, and deliberately NOT the retry (#265): a coding turn MUTATES the workspace, so\n * a kill mid-turn leaves a change-set the attribution machinery must reconcile — re-dispatching\n * blind on top of that is how two half-runs interleave. The gate raises the odds the turn never\n * meets the respawn; a killed coding run stays what it is today, a visibly aborted task an\n * operator re-dispatches deliberately.\n */\n await waitForDevCompileQuiet({\n frameworkRepositoryRoot: this.companionContext.resolvedHomes.framework.repositoryRoot,\n log: (message, context) => this.logDebug(message, { taskRef: prepared.plan.taskRef, ...context }),\n /*\n * Siblings in a wave keep the compilers busy by design (#1528), so a concurrent admission waits\n * briefly rather than up to five minutes per slot. A run a respawn then kills stays what it is\n * everywhere: a visibly aborted task, retried.\n */\n ...(mode === CodingRunConcurrency.CONCURRENT ? { maximumWaitMs: CONCURRENT_ADMISSION_COMPILE_QUIET_MS } : {}),\n });\n const admission = await this.dispatch.runApplicationCodingTask(contract, session, selected, origin, mode);\n return { plan: prepared.plan, admission };\n } catch (error) {\n /*\n * The run never STARTED — a rejection from admission means exactly that, by the coding\n * service's contract — so the execution opened at selection is this method's to settle.\n * Best-effort: the dispatch's own error is what the caller must see, and a settle that also\n * fails leaves a PENDING row the startup reconcile sweeps.\n *\n * ABORTED, not FAILED (#1581). A refusal here — the worktree held by another run — is the HOST\n * declining to start the run, and the attempt budget counts\n * FAILED coding runs as the task's own failures (`listAttributableFailedRunsForBuildTask`).\n * Settled FAILED, three worktree-busy refusals retired a task that never ran. The message is\n * still on the row, and the board's dispatch record still reads it as a failed dispatch.\n *\n * One refusal IS the task's own: admission refused its CONTRACT — in practice an unregistered\n * verification check, since a contract that does not parse is refused at open, before this row\n * exists — marked by `isApplicationCodingContractRefusal`. Nothing about the\n * host would make it pass next time, so it settles FAILED with `failureAttribution: TASK`: the\n * budget counts it, and the board shows it as the attempt it is — otherwise it could never retire\n * and would hold the head of the queue on every dispatch.\n */\n const failure = { message: describeCaughtError(error).slice(0, 400) };\n await this.actorsSystem.settleActorExecution(\n selected,\n isApplicationCodingContractRefusal(error)\n ? { status: FlowsActors_Status.FAILED, taskOutput: { failure, failureAttribution: CodingRunFailureAttribution.TASK } }\n : { status: FlowsActors_Status.ABORTED, failure },\n session,\n ).catch((settleError: unknown) => {\n this.logDebug('A build dispatch failed before admission and its execution could not be settled', {\n taskRef: prepared.plan.taskRef, settleError: describeCaughtError(settleError),\n });\n }).finally(() => {\n /*\n * The PENDING row left the in-flight set (#1310, fifth review F1), which is an input of the\n * next-task selection, and no coding chain will announce this ending, because none started.\n * Announced whether or not the settle itself succeeded.\n */\n this.dispatch.announceRunStateChanged();\n });\n throw error;\n }\n }\n\n\n /**\n * The coding agent's usage limit holding the build now (#2388), or undefined. The CODING_AGENT tier asks it to\n * send a single-flight build through the wave while a limit holds, so one path pauses and resumes both.\n */\n public readCodingAgentUsageLimitHold(): ApplicationBuildWaveResult['usageLimit'] {\n return this.dispatch.readCodingAgentUsageLimitHold();\n }\n\n /**\n * Run the build with up to {@link readBuildParallelism} coding runs at once in the ONE worktree\n * (#1528) — a rolling pool rather than fixed batches: when a run settles its slot is refilled with\n * whatever is then ready, so a task that just landed unlocks its dependents in the same call.\n *\n * Optimistic by decision (Paul, 2026-09-24): runs share the tree and may edit the same files, the way\n * parallel Claude Code sessions do every day. What is prevented is only a task being built twice at\n * once (the per-task subject and the IN_FLIGHT skip). What is REPAIRED is at the end: once every run\n * has settled, {@link CodingAgentDispatchCompanionService.reconcileWaveAcceptance} commits what the\n * runs' own accepts left, as one change naming every run whose writes it may carry (#1805); then\n * {@link repairInterferedTasks} re-runs, ALONE, each task whose completed run lost its product to a\n * sibling (#2210). What is OBSERVED is on each run's row (`concurrency`, `interferenceSuspected`, and the\n * `interference` memory entry).\n *\n * Bounded per call: at most {@link WAVE_DISPATCHES_PER_DEGREE} dispatches per slot, and a generation\n * step at most once — a step whose landing stays unmet would otherwise be re-selected forever. The\n * interference re-runs are outside that cap, bounded per task by `MAXIMUM_INTERFERENCE_REARMS` and at most\n * one per completed run of this wave. The next call continues from wherever the build stands.\n *\n * With a degree of 1 this is one single-flight dispatch awaited to its outcome: exactly the lane as\n * it was.\n */\n public async dispatchBuildWave(session?: CompanionExecutionSessionContext): Promise<ApplicationBuildWaveResult> {\n this.assertNoBuildWaveInFlight();\n this.liveWaveStartedAt = new Date().toISOString();\n try {\n return await this.runBuildWave(session);\n } finally {\n this.liveWaveStartedAt = undefined;\n }\n }\n\n /**\n * Refuse while a build wave runs in this companion (#2208 review M1) — the check a caller makes BEFORE it\n * submits a detached wave, so the refusal reaches it now rather than as a failed run in the feed. The marker\n * spans the whole wave, including its end-of-wave commit and repair, when no coding run may be live.\n */\n public assertNoBuildWaveInFlight(): void {\n if (this.liveWaveStartedAt !== undefined) throw new ApplicationBuildWaveInFlightError(this.liveWaveStartedAt);\n }\n\n private async runBuildWave(session?: CompanionExecutionSessionContext): Promise<ApplicationBuildWaveResult> {\n const degree = readBuildParallelism(this.companionContext.saasRoot);\n const mode = degree > 1 ? CodingRunConcurrency.CONCURRENT : CodingRunConcurrency.SINGLE_FLIGHT;\n const maximumDispatches = degree * WAVE_DISPATCHES_PER_DEGREE;\n const dispatched: ApplicationBuildWaveDispatch[] = [];\n const inFlight = new Map<string, Promise<{ readonly taskId: string; readonly outcome: ApplicationCodingTaskSettledOutcome | null }>>();\n const generationStepsRun = new Set<string>();\n let stoppedFillingBecause: ApplicationBuildWaveStop | undefined;\n // When the wave began: a concurrent run that recorded writes since then shared its tree (#1805).\n const startedAt = new Date().toISOString();\n\n let usageLimit: ApplicationBuildWaveResult['usageLimit'];\n let bootFailures: readonly ApplicationBootFailure[] | undefined;\n\n const fill = async (): Promise<void> => {\n while (stoppedFillingBecause === undefined && inFlight.size < degree) {\n if (dispatched.length >= maximumDispatches) {\n stoppedFillingBecause = ApplicationBuildWaveStop.DISPATCH_CAP;\n return;\n }\n /*\n * And before every slot, whether the application still STARTS (#2405). On app-creation-test-005 one task broke\n * the backend's start and about 45 more landed on top over four hours, each verified by typechecks that could\n * not see it. The live runs drain; nothing new starts into an application that cannot run.\n */\n const notBooting = await this.readCurrentBootFailures();\n if (notBooting.length > 0) {\n bootFailures = notBooting;\n /*\n * While runs are live this PAUSES the filling rather than ending it (#2405 review F2): a sibling half-way\n * through writing a configuration can make one restart fail, and its own completion may repair it. The next\n * settle asks again. With nothing live there is nothing left to wait for, and the wave stops.\n */\n if (inFlight.size > 0) return;\n stoppedFillingBecause = ApplicationBuildWaveStop.APPLICATION_DOES_NOT_BOOT;\n return;\n }\n bootFailures = undefined;\n let prepared: PreparedBuildTask;\n try {\n prepared = await this.prepareNextBuildTask();\n } catch (error) {\n if (error instanceof ApplicationBuildPlanExhaustedError || error instanceof ApplicationBuildTaskCompletedButUnlandedError) {\n // Nothing ready NOW. While runs are live that is a pause, not an end: a settle may unlock more.\n if (inFlight.size === 0) stoppedFillingBecause = ApplicationBuildWaveStop.NOTHING_READY;\n return;\n }\n throw error;\n }\n if (prepared.kind === 'GENERATION_STEP') {\n if (generationStepsRun.has(prepared.plan.taskRef)) {\n stoppedFillingBecause = ApplicationBuildWaveStop.GENERATION_STEP_REPEATED;\n return;\n }\n generationStepsRun.add(prepared.plan.taskRef);\n dispatched.push(await this.executePreparedBuildTask(prepared, session));\n continue;\n }\n /*\n * Before every CODING slot, including the refill after a run settles (#2388): a sibling that just met the\n * account's usage limit makes every coding turn started before its reset certain to fail the same way. On\n * app-creation-test-005 the refill went on regardless, and four tasks spent three or four attempts each in\n * five minutes. The live runs still drain; nothing new starts. Asked after the selection, which only reads,\n * so a generation step — run on the configured model providers, not on the coding agent's account — still\n * runs (#2388 review F8d).\n */\n const held = this.dispatch.readCodingAgentUsageLimitHold();\n if (held) {\n stoppedFillingBecause = ApplicationBuildWaveStop.CODING_AGENT_USAGE_LIMITED;\n usageLimit = held;\n return;\n }\n try {\n const result = await this.executePreparedBuildTask(prepared, session, undefined, mode);\n dispatched.push(result);\n const taskId = result.admission!.taskId;\n inFlight.set(taskId, this.awaitCodingRunOutcome(taskId, session).then((outcome) => ({ taskId, outcome })));\n } catch (error) {\n // A refused admission is recorded and ends the filling; the live runs still drain.\n dispatched.push({ plan: prepared.plan, error: describeCaughtError(error) });\n stoppedFillingBecause = ApplicationBuildWaveStop.DISPATCH_REFUSED;\n return;\n }\n }\n };\n\n const outcomes: Array<ApplicationCodingTaskSettledOutcome | null> = [];\n const settledTaskIds: string[] = [];\n await fill();\n while (inFlight.size > 0) {\n const settled = await Promise.race(inFlight.values());\n inFlight.delete(settled.taskId);\n outcomes.push(settled.outcome);\n settledTaskIds.push(settled.taskId);\n await fill();\n }\n // A pause on a failing start that the drained runs did not clear ends the wave on it, not on \"nothing ready\".\n if (stoppedFillingBecause === undefined && bootFailures !== undefined) stoppedFillingBecause = ApplicationBuildWaveStop.APPLICATION_DOES_NOT_BOOT;\n stoppedFillingBecause ??= ApplicationBuildWaveStop.NOTHING_READY;\n\n /*\n * REPAIR, now that nothing is writing: what the runs' own accepts left in the tree is committed as ONE\n * change naming every run whose writes it may carry — failed runs INCLUDED, since a failed run's files\n * sit in the same tree and a finisher's capture holds them (#1805). Only when the wave was concurrent:\n * a single-flight run's own accept never meets a sibling.\n */\n const reconciliation = mode === CodingRunConcurrency.CONCURRENT && settledTaskIds.length > 0\n ? await this.dispatch.reconcileWaveAcceptance({ startedAt, taskIds: settledTaskIds })\n : [];\n /*\n * And the repair reconciliation cannot make (#2210): a run that COMPLETED but whose product a sibling\n * overwrote. Its file is now committed, holding the siblings' work and not its own, so no commit can\n * bring it back; only running the task again can. Asked after the reconciliation, so landing reads the\n * tree every run's work has reached.\n */\n const interferenceRepairs = mode === CodingRunConcurrency.CONCURRENT\n ? await this.repairInterferedTasks(outcomes, session)\n : [];\n /*\n * #2222: a wave that ran out of ready work may have FINISHED the plan. Asked after the reconciliation and the\n * repairs, so it reads the tree every run's work reached — and only on NOTHING_READY, the one stop that can mean\n * \"done\" (a cap, a refusal or a repeated step leaves work behind).\n */\n const { assembly, repairs: assemblyRepairs } = stoppedFillingBecause === ApplicationBuildWaveStop.NOTHING_READY\n ? await this.assemblyIfPlanExhausted(session)\n : { assembly: undefined, repairs: [] };\n /*\n * A hold that began after the filling stopped — a draining run, an interference re-run or an assembly repair\n * meeting the limit — is reported too, so the lane resumes the build after the reset whatever stopped it.\n */\n usageLimit ??= this.dispatch.readCodingAgentUsageLimitHold();\n const landedThisWave = outcomes.filter((outcome) => outcome?.succeeded === true && outcome.taskRef !== null).map((outcome) => outcome!.taskRef!);\n return {\n degree, mode, dispatched, outcomes, reconciliation, interferenceRepairs, stoppedFillingBecause,\n ...(bootFailures ? { bootFailures: bootFailures.map((failure) => ({ ...failure, landedThisWave })) } : {}),\n ...(usageLimit ? { usageLimit } : {}),\n ...(assembly ? { assembly } : {}),\n ...(assemblyRepairs.length > 0 ? { assemblyRepairs } : {}),\n };\n }\n\n /**\n * The application backends whose last start failed and still describe the tree (#2405), read from the backends' own\n * start records. Empty when there is none, or when no local dev loop runs (nothing to ask): only an observed failure\n * stops a wave, never an absence of evidence. The newest commit is what `readApplicationBootFailures` weighs a failure\n * against, so a restart still pending on a fresh commit is not mistaken for a failure of that commit.\n */\n private async readCurrentBootFailures(): Promise<readonly ApplicationBootFailure[]> {\n try {\n const newestCommitUnixTime = await this.git.lastCommitUnixTime('.');\n return await readApplicationBootFailures(this.companionContext.saasRoot, {\n newestCommitAtMs: newestCommitUnixTime === undefined ? undefined : newestCommitUnixTime * 1000,\n }) ?? [];\n } catch (error) {\n this.logDebug('Could not read the backend start records; the wave does not gate on them', { error: describeCaughtError(error) });\n return [];\n }\n }\n\n /**\n * The assembly verdict when no task is ready because every one landed; absent when work remains or is stuck.\n *\n * When the finished plan does not assemble, the wave REPAIRS it here (#2283): it asks the next-task door, which\n * answers with a repair of the first failing check while one is owed, runs that repair ALONE, waits for it, and\n * asks again, until the door answers with a verdict. The door's per-check bounds end the loop; the ceiling below\n * only guards against a repair that never counts, one the host keeps refusing before it starts.\n */\n private async assemblyIfPlanExhausted(session?: CompanionExecutionSessionContext): Promise<{\n readonly assembly?: ApplicationAssemblyVerdict;\n readonly repairs: NonNullable<ApplicationBuildWaveResult['assemblyRepairs']>;\n }> {\n const repairs: Array<NonNullable<ApplicationBuildWaveResult['assemblyRepairs']>[number]> = [];\n const ceiling = MAXIMUM_ASSEMBLY_REPAIRS_PER_CHECK * resolveApplicationAssemblyCheckRefs(this.companionContext.saasRoot).length;\n for (;;) {\n // A repair is a coding turn too: none starts into the account's usage limit, and the resumed wave asks again (#2388).\n if (this.dispatch.readCodingAgentUsageLimitHold()) return { repairs };\n let prepared: PreparedBuildTask;\n try {\n prepared = await this.prepareNextBuildTaskOrQualifyExhaustion();\n } catch (error) {\n return { ...(error instanceof ApplicationBuildPlanExhaustedError && error.assembly ? { assembly: error.assembly } : {}), repairs };\n }\n // A ready task means the plan is not finished after all, so there is no verdict to give.\n if (!isAssemblyRepairTaskRef(prepared.plan.taskRef)) return { repairs };\n // Past the ceiling the repair is not run, and the wave still says whether the application assembles (#2283 review F2).\n if (repairs.length >= ceiling) return { assembly: this.toAssemblyVerdict(await this.assessAssembly(), []), repairs };\n const checkRef = prepared.kind === 'CODING' ? readGivenAssemblyFailure(prepared.contract)?.checkRef ?? prepared.plan.taskRef : prepared.plan.taskRef;\n try {\n const dispatched = await this.executePreparedBuildTask(prepared, session);\n const outcome = dispatched.admission ? await this.awaitCodingRunOutcome(dispatched.admission.taskId, session) : null;\n repairs.push({ checkRef, taskRef: prepared.plan.taskRef, outcome });\n } catch (error) {\n // The repair could not run (a held worktree, a refused admission); the plan is still finished, so the wave still answers.\n this.logger.warn('An assembly repair could not be run at the end of the wave', { checkRef, error: describeCaughtError(error) });\n return { assembly: this.toAssemblyVerdict(await this.assessAssembly(), []), repairs };\n }\n }\n }\n\n /**\n * DETECT and REPAIR a product a sibling overwrote (#2210) — the half of the parallel wave's\n * detect-and-repair decision (Paul, 2026-09-24, recorded in `concurrent-coding-runs.models.ts`) that only\n * covered FAILED runs until then. A run that succeeded and then lost its write was reported\n * `completed_unlanded` (\"fix what it declares, or the work\") and waited for a person, although nothing in\n * the task was wrong. Measured on `app-creation-test-004` (2026-10-01, degree 5): two of five chapters were\n * lost from one chapters index, and both landed only when a person re-ran each task alone.\n *\n * A completed run counts as interfered when, all three:\n * - its task has not landed, and its declared product is missing from the WORKING tree too (present there\n * it was merely left uncommitted, which re-running would not fix);\n * - another run of the wave overlapped it in time (`describeCodingRunOverlap`, computed now that every\n * window is closed);\n * - one of the files read by the task's UNMET probes (the missing product's files, never a satisfied\n * product's) was changed by that overlapping run too.\n * Suspected, never proven, like `interferenceSuspected` on a failed run: the wave sees that a sibling wrote\n * the product's file during the run, not which line it replaced.\n *\n * The repair re-arms the task with `INTERFERED_BY_CONCURRENT_RUN` and runs it again SINGLE-FLIGHT, at once:\n * the concurrent runs have all settled, so the re-run edits the file as it now stands and nothing can\n * overwrite it. It is not prevention — the wave still runs every task concurrently, as decided — it is the\n * repair, made where the evidence is. Bounded by {@link MAXIMUM_INTERFERENCE_REARMS} per task. Sequential,\n * because the re-runs are single-flight.\n */\n private async repairInterferedTasks(\n outcomes: readonly (ApplicationCodingTaskSettledOutcome | null)[],\n session?: CompanionExecutionSessionContext,\n ): Promise<ApplicationBuildInterferenceRepair[]> {\n const completed = outcomes.filter((outcome): outcome is ApplicationCodingTaskSettledOutcome & { taskRef: string } => outcome?.succeeded === true && outcome.taskRef !== null);\n if (completed.length === 0) return [];\n /*\n * Best-effort, like every repair here: the wave's runs are settled and reconciled already, and a detection\n * that cannot read the plan must not turn that result into a thrown wave. Logged, so a silent miss is not\n * the outcome; the task then reads `completed_unlanded`, as it did before #2210.\n */\n let graph: Awaited<ReturnType<typeof this.readBuildPlan>>;\n try {\n graph = await this.readBuildPlan();\n } catch (error) {\n this.logger.warn('Could not look for completed runs a sibling interfered with at the end of the wave', { error: describeCaughtError(error) });\n return [];\n }\n const repairs: ApplicationBuildInterferenceRepair[] = [];\n for (const run of completed) {\n try {\n /*\n * Landing and the working tree are read again for EACH run: a previous run's single-flight re-run has\n * rewritten the shared file since, and a reading taken before it would judge this run on stale text.\n */\n const landed = (await this.resolveLandedTaskRefs(graph.tasks)).landed;\n const repair = await this.repairIfInterfered(run, graph, landed, this.createWorktreeReader(), session);\n if (repair) repairs.push(repair);\n } catch (error) {\n this.logger.warn('Could not repair a completed run a sibling may have interfered with', { taskRef: run.taskRef, runTaskId: run.taskId, error: describeCaughtError(error) });\n }\n }\n return repairs;\n }\n\n /** One run of {@link repairInterferedTasks}: `undefined` when it was not interfered with. */\n private async repairIfInterfered(\n run: ApplicationCodingTaskSettledOutcome & { taskRef: string },\n graph: Awaited<ReturnType<typeof this.readBuildPlan>>,\n landed: ReadonlySet<string>,\n worktree: CommittedTreeReader,\n session?: CompanionExecutionSessionContext,\n ): Promise<ApplicationBuildInterferenceRepair | undefined> {\n if (landed.has(run.taskRef)) return undefined;\n const task = graph.tasks.find((candidate) => candidate.taskRef === run.taskRef);\n if (!task) return undefined;\n const probes = resolveBuildTaskLandedProbes(task).filter((probe) => !isShellProbe(probe));\n if (probes.length === 0) return undefined;\n const presentInWorktree = await Promise.all(probes.map((probe) => this.isLandedProbeSatisfied(probe, worktree)));\n if (presentInWorktree.every(Boolean)) return undefined;\n const overlap = this.dispatch.describeCodingRunOverlap(run.taskId);\n if (!overlap) return undefined;\n // Only the MISSING product's files: a satisfied probe on a file a sibling also touched says nothing about why\n // another probe of the task is unmet, and counting it would blame a sibling for the task's own omission.\n const productPaths = new Set(probes.filter((_, index) => !presentInWorktree[index]).flatMap(landedProbePaths));\n const contendedProductPaths = overlap.contendedPaths.filter((path) => productPaths.has(path));\n if (contendedProductPaths.length === 0) return undefined;\n\n const previousRequeues = (await this.dispatch.listCompletedRunsForBuildTask(run.taskRef, session))\n .filter((candidate) => candidate.taskId !== run.taskId && candidate.interference?.requeued === true).length;\n const detected = { overlappingTaskRefs: overlap.overlappingTaskRefs, contendedProductPaths, detectedAt: new Date().toISOString() };\n if (previousRequeues >= MAXIMUM_INTERFERENCE_REARMS) {\n const interference: BuildTaskInterference = { ...detected, requeued: false };\n await this.dispatch.recordBuildTaskInterference(run.taskRef, run.taskId, interference, session);\n this.logger.warn('A completed run lost its product to a concurrent sibling again, and the interference re-runs are spent; the task waits for a person', {\n taskRef: run.taskRef, runTaskId: run.taskId, previousRequeues, ...interference,\n });\n return { taskRef: run.taskRef, runTaskId: run.taskId, interference };\n }\n /*\n * Re-armed FIRST, recorded after, so `requeued` states what happened: a re-arm that throws leaves a record\n * saying the task was NOT requeued, which neither spends the bound nor tells `why` the wave re-ran it.\n */\n let requeued = true;\n let rearmError: string | undefined;\n try {\n await this.dispatch.rearmBuildTask(run.taskRef, {\n reason: BuildTaskRearmReason.INTERFERED_BY_CONCURRENT_RUN,\n note: `Concurrent run(s) ${detected.overlappingTaskRefs.join(', ')} changed ${contendedProductPaths.join(', ')} during this run, and the product this task declares is missing from it (suspected interference); the build wave re-runs it alone.`,\n }, session);\n } catch (error) {\n requeued = false;\n rearmError = describeCaughtError(error);\n }\n const interference: BuildTaskInterference = { ...detected, requeued };\n await this.dispatch.recordBuildTaskInterference(run.taskRef, run.taskId, interference, session);\n if (!requeued) {\n this.logger.warn('A completed run lost its product to a concurrent sibling, and its task could not be re-armed; it waits for a person', {\n taskRef: run.taskRef, runTaskId: run.taskId, error: rearmError, ...interference,\n });\n return { taskRef: run.taskRef, runTaskId: run.taskId, interference, rerun: { error: rearmError } };\n }\n this.logger.warn('A completed run lost its product to a concurrent sibling; re-running its task alone', {\n taskRef: run.taskRef, runTaskId: run.taskId, ...interference,\n });\n /*\n * Not into the account's usage limit (#2388): the re-run would fail like every other turn before the reset.\n * The task is re-armed already, so the wave that resumes after the reset offers it.\n */\n const held = this.dispatch.readCodingAgentUsageLimitHold();\n if (held) {\n return { taskRef: run.taskRef, runTaskId: run.taskId, interference, rerun: { error: `not re-run: the coding agent's usage limit holds the build until ${held.resumesAt}; the next wave runs it` } };\n }\n let rerun: NonNullable<ApplicationBuildInterferenceRepair['rerun']>;\n try {\n const dispatched = await this.dispatchBuildTask(run.taskRef, session);\n const rerunTaskId = dispatched.admission?.taskId;\n rerun = { dispatch: dispatched, outcome: rerunTaskId ? await this.awaitCodingRunOutcome(rerunTaskId, session) : null };\n } catch (error) {\n rerun = { error: describeCaughtError(error) };\n }\n return { taskRef: run.taskRef, runTaskId: run.taskId, interference, rerun };\n }\n\n /**\n * Wait for one admitted coding run to SETTLE, then report what it actually did.\n *\n * `dispatchNextBuildTask` resolves at ADMISSION for a coding target — the lock is held, the durable\n * row exists, and the agent has not written a line yet. That is the right contract for a caller\n * that wants to watch (the detached record says `ADMITTED` and hands over the task id), and the\n * wrong one for a caller that REPORTS AN OUTCOME: the first playbook run through this tier recorded\n * `ok: true` at a `finishedAt` equal to the coding run's `startedAt`, so a green run described work\n * that was still executing and no evaluation could ever see a result.\n *\n * Two steps because they fail differently. The settlement is in-process and is `null` for a row this\n * process did not admit — a restart, or a previous generation — in which case there is nothing to\n * wait for and the durable row already holds whatever is knowable. The read is durable and answers\n * `null` only when the row cannot be classified at all, which a caller must report as \"unknown\",\n * never as a failed run.\n */\n public async awaitCodingRunOutcome(\n taskId: string,\n session?: CompanionExecutionSessionContext,\n ): Promise<ApplicationCodingTaskSettledOutcome | null> {\n const settlement = this.dispatch.awaitApplicationCodingTaskSettlement(taskId);\n if (settlement) await settlement;\n return this.dispatch.readApplicationCodingTaskOutcome(taskId, session);\n }\n\n /**\n * The task the dispatcher would select has ALREADY been run to a working result and is still\n * not landed — so selecting it again is a loop, not progress.\n *\n * Refused rather than re-dispatched because each iteration spawns a coding agent and costs real\n * money: measured 2026-09-10 on Wonder CRM at roughly $7.50 a turn, three turns, same task\n * (#606). Every run SUCCEEDED; what fails is the plan's ability to say the work landed.\n *\n * The remedy is never \"run it again\" — it is to fix what the task declares it PRODUCES, or to\n * fix the work so the declared product exists. Naming both in the message keeps an operator out\n * of the coding host, which is the wrong place to look: the run is not the defect.\n */\n private buildUnlandableTaskError(stuck: readonly ApplicationBuildStuckTask[], queue: ApplicationBuildStuckQueue): Error {\n const entry = stuck[0]!;\n const stuckCount = stuck.length;\n const { taskRef, priorTaskId, completedAt } = entry;\n const when = completedAt === undefined ? '' : ` at ${completedAt}`;\n const others = stuckCount > 1 ? ` ${stuckCount - 1} other ready task(s) are stuck the same way.` : '';\n /*\n * Four ways to be stuck, four DIFFERENT remedies — so they must not share prose. A message that\n * sent an operator to fix a `produces` declaration while a live question sat unanswered, or while\n * the real fault was a document the catalog does not define, is a message that costs a session.\n */\n if (entry.reason === Workbench_BuildTaskStuckReason.PARKED_AWAITING_ANSWER) {\n return new ApplicationBuildTaskCompletedButUnlandedError(\n `Build task \"${taskRef}\" is PARKED on an unanswered question (task ${priorTaskId}), so dispatching it `\n + 'again would abandon that run\\'s persisted session and lose the question with it. The question is: '\n + `${entry.question ?? '(not recorded on the durable row)'} — answer it through the coding-agent resume `\n + 'door, or retire the task from the plan if it cannot be built as declared. Do not re-dispatch.'\n + `${others}`,\n taskRef,\n priorTaskId,\n stuck,\n queue,\n );\n }\n if (entry.reason === Workbench_BuildTaskStuckReason.NO_DOCUMENT_BLUEPRINT) {\n return new ApplicationBuildTaskCompletedButUnlandedError(\n `Build task \"${taskRef}\" declares it produces the governed document \"${entry.documentRef}\", which the engine `\n + 'catalog does not define — so there is no blueprint saying what it must contain, and a run could only '\n + 'INVENT its structure, which the authoring skill forbids. No agent can complete it. Declare a document '\n + `the catalog defines (a candidate carries \\`document:<namespace>.<id>\\`), or retire the task.`\n + (entry.priorTaskId === ''\n ? ''\n : ` NOTE: a run for it is PARKED on a question (task ${entry.priorTaskId}); retiring the task abandons `\n + `that session. The question is: ${entry.question ?? '(not recorded)'}`)\n + others,\n taskRef,\n priorTaskId,\n stuck,\n queue,\n );\n }\n if (entry.reason === Workbench_BuildTaskStuckReason.IN_FLIGHT) {\n return new ApplicationBuildTaskCompletedButUnlandedError(\n `Build task \"${taskRef}\" is being built right now by a live coding run, so it is not offered again until `\n + `that run settles. Nothing to do: the next dispatch after it settles picks up wherever the build then stands.${others}`,\n taskRef,\n priorTaskId,\n stuck,\n queue,\n );\n }\n if (entry.reason === Workbench_BuildTaskStuckReason.ATTEMPTS_EXHAUSTED) {\n return new ApplicationBuildTaskCompletedButUnlandedError(\n `Build task \"${taskRef}\" has failed ${MAXIMUM_ATTRIBUTABLE_FAILED_ATTEMPTS} times (latest: task ${priorTaskId}${when}), `\n + 'each a failure of its own making, so it is not offered again as the same dispatch. Read the latest run\\'s '\n + 'failure (its verification output and closing report are on that task row), fix the cause, then put it back '\n + `with \\`wildo build rearm ${taskRef} --reason <why> --note <what was fixed>\\`.${others}`,\n taskRef,\n priorTaskId,\n stuck,\n queue,\n );\n }\n if (entry.reason === Workbench_BuildTaskStuckReason.COMPLETED_AWAITING_COMMIT) {\n return new ApplicationBuildTaskCompletedButUnlandedError(\n `Build task \"${taskRef}\" already completed${when} (task ${priorTaskId}) and its declared product IS in the `\n + `working tree, uncommitted: ${(entry.uncommittedPaths ?? []).join(', ')}. Landing means committed, because `\n + 'acceptance is a commit — review the run\\'s change set and commit it (with the rest of what the run '\n + `wrote), and the task lands. Do not re-dispatch, and do not change its \\`produces\\` declaration.${others}`,\n taskRef,\n priorTaskId,\n stuck,\n queue,\n );\n }\n return new ApplicationBuildTaskCompletedButUnlandedError(\n `Build task \"${taskRef}\" already completed${when} (task ${priorTaskId}) and is STILL not landed, so `\n + 'dispatching it again would re-run work that succeeded. Its landed probes are derived from what '\n + 'the task declares it `produces`, and they are unmet in the working tree as well as at HEAD: either '\n + 'that declaration is empty or wrong, or the run did not produce it. Fix the declaration or the work — do not re-dispatch. '\n + `Once the cause is fixed, put the task back with \\`wildo build rearm ${taskRef} --reason <why> --note <what was fixed>\\`.${others}`,\n taskRef,\n priorTaskId,\n stuck,\n queue,\n );\n }\n\n /**\n * Select the task to run: the NEXT ready one, or — with `selection` — the NAMED one, which must be\n * among the ready ones. The stuck-task rules below apply to either; naming a task never lets it\n * skip them.\n */\n /**\n * WHY a ready build task cannot make progress — or `null` when it can be dispatched.\n *\n * ONE classification, called by both the selector (`prepareNextBuildTask`, which skips a stuck task)\n * and the per-task record (`describeBuildTaskRecords`, which reports it). Until #1521 it lived inline\n * in the selection loop, so the only surface that ever saw a task's reason was the loop guard's\n * refusal, thrown away on every ordinary round. Two copies would be two answers to one question.\n *\n * Generation steps are not asked: their landing is a typed condition of their own, and one of them\n * is legitimately re-runnable.\n */\n private async classifyStuckBuildTask(\n candidate: BuildPlanTask,\n /** The build tasks with a live coding run, when the caller already read them once for a whole selection. */\n inFlightTaskRefs?: ReadonlySet<string>,\n ): Promise<ApplicationBuildStuckTask | null> {\n /*\n * FIRST, because it is the one reason that is progress rather than a fault: a run of this task is\n * live (#1528). Under a parallel wave the next selection must pass over it, or two agents build the\n * same task. The engine's per-task subject refuses the second one anyway; this keeps the wave from\n * spending a slot on the refusal.\n */\n const inFlight = inFlightTaskRefs !== undefined\n ? (inFlightTaskRefs.has(candidate.taskRef) ? { executionId: '' } : null)\n : await this.dispatch.findInFlightRunForBuildTask(candidate.taskRef);\n if (inFlight !== null) {\n return { taskRef: candidate.taskRef, priorTaskId: '', reason: Workbench_BuildTaskStuckReason.IN_FLIGHT };\n }\n /*\n * Asked BEFORE any durable-run lookup, because it is the one reason that does not need a run to\n * have happened: a task producing a document the catalog cannot describe is unbuildable from the\n * moment it is authored, and dispatching it spends a full agent turn to rediscover that. Wonder\n * CRM's plan carries two.\n */\n const undraftableDocumentRef = resolveUndraftableDocumentRef(candidate);\n if (undraftableDocumentRef !== undefined) {\n /*\n * A task can be BOTH unbuildable and parked — Wonder CRM's GDPR task is exactly that. The\n * document fault is the one that decides (no run can ever complete it), but retiring a task\n * with a live persisted session is a deliberate act, so the park is named rather than dropped.\n */\n const alsoParked = await this.dispatch.findParkedRunForBuildTask(candidate.taskRef);\n return {\n taskRef: candidate.taskRef,\n priorTaskId: alsoParked?.taskId ?? '',\n reason: Workbench_BuildTaskStuckReason.NO_DOCUMENT_BLUEPRINT,\n documentRef: undraftableDocumentRef,\n question: alsoParked?.question,\n };\n }\n const priorRun = await this.dispatch.findCompletedRunForBuildTask(candidate.taskRef);\n if (priorRun !== null) {\n const uncommittedPaths = await this.resolveProducedButUncommittedPaths(candidate);\n return {\n taskRef: candidate.taskRef,\n priorTaskId: priorRun.taskId,\n completedAt: priorRun.completedAt,\n reason: uncommittedPaths === undefined ? Workbench_BuildTaskStuckReason.COMPLETED_UNLANDED : Workbench_BuildTaskStuckReason.COMPLETED_AWAITING_COMMIT,\n uncommittedPaths,\n };\n }\n /*\n * A run that SUSPENDED is not a completed run, so the lookup above cannot see it — and without\n * this second question the task is offered again on every dispatch, forever. Measured\n * 2026-09-16 on Wonder CRM: `build-task-gdpr-data-handling-governance` parked on a question,\n * and the next dry run selected the same task. The anti-loop guard was answering honestly\n * about the wrong population.\n *\n * Skipped, never blocking: the parked run keeps its persisted session, its dependents keep\n * waiting, and the rest of the plan proceeds.\n */\n const parkedRun = await this.dispatch.findParkedRunForBuildTask(candidate.taskRef);\n if (parkedRun !== null) {\n return { taskRef: candidate.taskRef, priorTaskId: parkedRun.taskId, reason: Workbench_BuildTaskStuckReason.PARKED_AWAITING_ANSWER, question: parkedRun.question };\n }\n /*\n * The ATTEMPT BUDGET (#1536). A failed run is re-offered by design — it is exactly what an\n * operator should be able to retry — and until this nothing counted: on the first end-to-end run\n * two tasks ran three times each for $69, re-dispatched identically. Only the task's own failures\n * count (a check already red before a run no longer fails it), so this retires a task for what IT\n * did; the re-arm door releases it once the cause is fixed.\n */\n const failedRuns = await this.dispatch.listAttributableFailedRunsForBuildTask(candidate.taskRef);\n if (failedRuns.length >= MAXIMUM_ATTRIBUTABLE_FAILED_ATTEMPTS) {\n return {\n taskRef: candidate.taskRef,\n priorTaskId: failedRuns[0]!.taskId,\n ...(failedRuns[0]!.settledAt ? { completedAt: failedRuns[0]!.settledAt } : {}),\n reason: Workbench_BuildTaskStuckReason.ATTEMPTS_EXHAUSTED,\n };\n }\n return null;\n }\n\n private async prepareNextBuildTask(selection?: ApplicationBuildTaskSelection): Promise<PreparedBuildTask> {\n const graph = await this.readBuildPlan();\n const resolution = await this.resolveLandedTaskRefs(graph.tasks);\n const landedTaskRefs = resolution.landed;\n\n const ready = selectReadyBuildPlanTasks(graph, landedTaskRefs);\n /*\n * A task the probe calls LANDED, run anyway because the operator says the landing is wrong (#2217). Only a\n * landed task whose prerequisites have all landed: the override answers \"this landing is false\", never \"skip\n * the graph\". Readiness is otherwise unchanged, and the override is exercised only when it is needed — a\n * `despiteLanded` on a task that is simply ready runs it as an ordinary dispatch and records nothing.\n */\n let forced: BuildPlanTask | undefined;\n if (selection !== undefined && !ready.some((candidate) => candidate.taskRef === selection.taskRef)) {\n const named = graph.tasks.find((candidate) => candidate.taskRef === selection.taskRef);\n const standing = named === undefined ? ApplicationBuildTaskStanding.UNKNOWN\n : landedTaskRefs.has(named.taskRef) ? ApplicationBuildTaskStanding.LANDED\n : ApplicationBuildTaskStanding.BLOCKED;\n const unmet = named === undefined ? [] : named.prerequisiteTaskRefs.filter((prerequisite) => !landedTaskRefs.has(prerequisite));\n if (standing === ApplicationBuildTaskStanding.LANDED && selection.despiteLanded !== undefined && unmet.length === 0) {\n forced = named;\n } else {\n throw new ApplicationBuildTaskNotReadyError(\n standing === ApplicationBuildTaskStanding.UNKNOWN ? `The build plan holds no task \"${selection.taskRef}\".`\n : standing === ApplicationBuildTaskStanding.LANDED\n ? `Task ${selection.taskRef} has already landed: its landing probe finds its product committed. If that landing is wrong, `\n + `run it anyway, saying why: wildo build run ${selection.taskRef} --despite-landed --reason <${OPERATOR_BUILD_TASK_REARM_REASONS.join('|')}> --note \"<why>\".`\n : `Task ${selection.taskRef} is not ready: it waits on ${unmet.join(', ')}.`,\n selection.taskRef,\n standing,\n unmet,\n );\n }\n }\n if (ready.length === 0 && forced === undefined) {\n throw new ApplicationBuildPlanExhaustedError(\n `Every task in the build plan has landed, or none is ready: ${graph.tasks.length} task(s), `\n + `${landedTaskRefs.size} landed.`,\n graph.tasks.length,\n landedTaskRefs.size,\n [...landedTaskRefs].sort(),\n );\n }\n /*\n * The FIRST ready task, in graph order — routed by its own `target.kind`, never reordered.\n *\n * Deliberately not a choice among the ready set: the graph already encodes the ordering its author\n * intended, and something picking among ready tasks would be a second scheduler disagreeing with the\n * first. (An earlier version skipped generation steps to find a coding task and refused when none\n * remained — correct while no executor existed, a hole in the lane once one did: the first authored\n * generation step parked the Wonder Todos build behind a named 409 forever.)\n */\n /*\n * THE FIRST ready task in graph order — SKIPPING any that has already run and still cannot prove\n * it landed. Skipping is not reordering: the graph's order is preserved, a known-stuck task is\n * removed from it.\n *\n * Such a task declared a product and the run did not produce it, so the declaration or the work\n * is wrong. Re-offering it is the money-burning loop; REFUSING THE WHOLE QUEUE for it — which is\n * what this did until 2026-09-12 — is the gate `application-creation-directive.md` forbids, one\n * task later. One over-derived field would freeze an entire 42-task build.\n *\n * It is SKIPPED rather than MARKED, and the asymmetry against the no-product case above is the\n * whole design. A task declaring nothing can never be proven by any run, so marking it is the\n * only way the lane moves — measured at 1 of 42 reachable otherwise. A task whose product is\n * merely ABSENT is provable: fix the declaration or the work and it lands. So it stays NOT\n * landed, its dependents correctly wait, and every unrelated branch proceeds.\n */\n const stuck: ApplicationBuildStuckTask[] = [];\n let selected: BuildPlanTask | undefined;\n let unanswerableGenerationStep: BuildPlanTask | undefined;\n const candidates = forced !== undefined ? [forced]\n : selection === undefined ? ready : ready.filter((candidate) => candidate.taskRef === selection.taskRef);\n // Read ONCE per selection: a wave selects repeatedly over a wide ready set (#1528).\n const inFlightTaskRefs = new Set((await this.dispatch.listInFlightCodingRuns()).flatMap((run) => (run.taskRef ? [run.taskRef] : [])));\n for (const candidate of candidates) {\n /*\n * Generation steps are exempt: their landing is the generation-step service's own typed\n * condition rather than a product declaration, and one of them (`i18n-labels`) is legitimately\n * re-runnable when the locale set changes.\n */\n if (candidate.target?.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP) {\n /*\n * …except one whose schema-plan check could not be ANSWERED (`SchemaPlanSyncState.UNANSWERABLE`).\n * It cannot land, and running it only throws (every cause is listed on that member — no built\n * registry and a planner-contract mismatch among them), so holding the head of the queue for it stops every other task: the\n * whole-queue refusal this loop exists not to be. Passed over, not dropped: when nothing else is\n * ready it is still selected below, so its executor's refusal names the cause.\n */\n if (resolution.unanswerableSchemaPlanTaskRefs.has(candidate.taskRef)) {\n unanswerableGenerationStep ??= candidate;\n continue;\n }\n selected = candidate;\n break;\n }\n const stuckEntry = await this.classifyStuckBuildTask(candidate, inFlightTaskRefs);\n /*\n * A forced task's earlier COMPLETED run is the very landing the operator overrides, so it does not hold the\n * task. A live run, a parked session or an undraftable document still does: forcing past those would start\n * a second agent, abandon a persisted conversation, or spend a turn on a product no run can make.\n */\n if (stuckEntry !== null && !(candidate === forced && LANDED_OVERRIDE_RELEASES.has(stuckEntry.reason))) {\n stuck.push(stuckEntry);\n continue;\n }\n selected = candidate;\n break;\n }\n if (selected === undefined && unanswerableGenerationStep !== undefined) {\n selected = unanswerableGenerationStep;\n } else if (unanswerableGenerationStep !== undefined) {\n this.logger.warn?.(\n 'Build dispatch passed over a migration step whose `wildo db diff --check` neither passed nor reported drift '\n + '(no accepted schema plan, no built backend registry, a CLI that could not import or spawn, a timeout, an '\n + 'unparseable lockfile, or an engine planner-contract mismatch — run `wildo db diff` to see which). The rest '\n + 'of the plan proceeds; the step is offered again once the check answers.',\n { deferredTaskRef: unanswerableGenerationStep.taskRef, selectedTaskRef: selected?.taskRef },\n );\n }\n if (selected === undefined) {\n /*\n * Everything ready has already run and none of it landed. A DISTINCT terminal from\n * `ApplicationBuildPlanExhaustedError`, which means the opposite and is healthy — conflating\n * them would let a wholly stuck build read as a finished one.\n */\n throw this.buildUnlandableTaskError(stuck, {\n taskCount: graph.tasks.length,\n readyTaskRefs: ready.map((entry) => entry.taskRef),\n landedTaskRefs: [...landedTaskRefs].sort(),\n unverifiableLandedTaskRefs: resolution.unverifiableLandedTaskRefs,\n });\n }\n // A task being built right now is not a finding (#1528); only the rest are worth a warning.\n if (stuck.some((entry) => entry.reason !== Workbench_BuildTaskStuckReason.IN_FLIGHT)) {\n const stuckByReason = Object.fromEntries(\n Object.values(Workbench_BuildTaskStuckReason).map((reason) => [reason, stuck.filter((entry) => entry.reason === reason).map((entry) => entry.taskRef)]),\n );\n this.logger.warn?.(\n `Build dispatch skipped ${stuck.length} ready task(s) that cannot make progress. Those that already RAN `\n + 'either wrote their product without committing it (commit it to land them) or declared a product the '\n + 'run did not produce (the declaration or the work is wrong). Those that are '\n + 'PARKED are waiting on an answer, and re-dispatching one would abandon its persisted session. Their '\n + 'dependents stay blocked while the rest of the plan proceeds.',\n { skippedTaskRefs: stuck.map((entry) => entry.taskRef), stuckByReason, selectedTaskRef: selected.taskRef },\n );\n }\n const task = selected;\n if (task.target?.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP) {\n const evidencePaths = await this.generationSteps.resolveGenerationStepEvidencePaths(task);\n /*\n * The step's write scope: its evidence directories, or exactly its evidence files when others write the directories\n * around them (#2505 review F2, see GENERATION_STEP_WRITE_SCOPE). A file at the application root is always its own\n * root: its directory would be the whole tree (#2497). An unknown step ref keeps the narrower answer.\n */\n const writesFilesOnly = GENERATION_STEP_WRITE_SCOPE[task.target.generationStepRef as ApplicationBuildGenerationStep] !== GenerationStepWriteScope.EVIDENCE_DIRECTORIES;\n const evidenceRoots = [...new Set(evidencePaths.map((evidencePath) => {\n const directory = evidencePath.split('/').slice(0, -1).join('/');\n return writesFilesOnly || directory === '' ? evidencePath : `${directory}/`;\n }))].sort();\n const plan: ApplicationBuildDispatchPlan = {\n taskRef: task.taskRef,\n objective: task.objective,\n targetKind: task.target.kind,\n produces: task.produces,\n generationStepRef: task.target.generationStepRef,\n allowedPathPrefixes: evidenceRoots,\n prohibitedPathPrefixes: [],\n // The pipelines validate their own output; skills are a coding agent's channel, not this executor's.\n requiredChecks: [],\n installedSkillRefs: [],\n readyTaskRefs: ready.map((entry) => entry.taskRef),\n landedTaskRefs: [...landedTaskRefs].sort(),\n unverifiableLandedTaskRefs: resolution.unverifiableLandedTaskRefs,\n };\n return { kind: 'GENERATION_STEP', plan, task, stuckTasks: stuck, ...(task === forced && selection?.despiteLanded ? { landedOverride: selection.despiteLanded } : {}) };\n }\n const boundary = resolveBuildPlanTaskCodingPolicy(\n task as Parameters<typeof resolveBuildPlanTaskCodingPolicy>[0],\n this.readApplicationWorkspaceEntries(),\n );\n const landedOverride = task === forced ? selection?.despiteLanded : undefined;\n const contract = await this.composeTaskCodingContract(task, boundary, graph.tasks.length, landedOverride);\n\n const plan: ApplicationBuildDispatchPlan = {\n taskRef: task.taskRef,\n objective: task.objective,\n targetKind: task.target!.kind,\n produces: task.produces,\n allowedPathPrefixes: contract.mutationScope.allowedPathPrefixes,\n prohibitedPathPrefixes: contract.mutationScope.prohibitedPathPrefixes,\n requiredChecks: contract.verificationIntent.requiredChecks,\n installedSkillRefs: contract.installedSkillRefs,\n readyTaskRefs: ready.map((entry) => entry.taskRef),\n landedTaskRefs: [...landedTaskRefs].sort(),\n unverifiableLandedTaskRefs: resolution.unverifiableLandedTaskRefs,\n };\n\n return { kind: 'CODING', plan, contract, stuckTasks: stuck, ...(landedOverride ? { landedOverride } : {}) };\n }\n\n /**\n * Which tasks have landed, read from GIT.\n *\n * A task has landed when every file it PRODUCES is committed — tracked, and with HEAD, index and worktree\n * in agreement. Not \"the file exists\": an untracked or half-edited file is work in progress, and treating\n * it as landed would let the next task build on something nobody accepted.\n *\n * This replaced a replay of a journal stream that had no writer anywhere, so the answer was permanently\n * \"nothing has landed\" and the loop could never advance past its first task. Git also answers correctly\n * after a restart, on a fresh clone, and on the other side of a branch switch — none of which an\n * in-memory journal can.\n */\n /**\n * How far the current build plan's execution has progressed — the eligibility board's input for the\n * \"plan complete ⇒ re-decompose is sequencing, not a live option\" gate. `undefined` when the\n * application has no (valid) build plan: absence of a plan is not zero-of-zero progress.\n */\n public async resolveBuildExecutionProgress(): Promise<{\n readonly totalTasks: number;\n readonly landedTasks: number;\n readonly readyTasksAllStuck?: readonly string[];\n } | undefined> {\n let plan: Awaited<ReturnType<typeof this.readBuildPlan>>;\n try {\n plan = await this.readBuildPlan();\n } catch {\n return undefined;\n }\n const { landed } = await this.resolveLandedTaskRefs(plan.tasks);\n const progress = { totalTasks: plan.tasks.length, landedTasks: landed.size };\n const readyTasksAllStuck = await this.resolveReadyTasksAllStuck(plan, landed);\n return readyTasksAllStuck === undefined ? progress : { ...progress, readyTasksAllStuck };\n }\n\n /**\n * The ready tasks, when EVERY one is stuck — the state in which `dispatchNextBuildTask` refuses\n * before starting anything (#1547). The eligibility board withholds the dispatch playbook on it, so an\n * unattended loop stops offering a run that can only fail.\n *\n * Asked with the SAME classification the selector uses, so the board and the dispatcher cannot\n * disagree about whether anything can run. A generation step is never stuck by that classification,\n * so a ready one means something is dispatchable. Undefined whenever the answer is not positively\n * \"all stuck\" — nothing ready, something dispatchable, or a classification that threw — because a gate\n * that closes on an unreadable answer withholds work that may well be runnable.\n */\n private async resolveReadyTasksAllStuck(\n plan: Awaited<ReturnType<typeof this.readBuildPlan>>,\n landed: ReadonlySet<string>,\n ): Promise<readonly string[] | undefined> {\n if (landed.size >= plan.tasks.length) return undefined;\n const ready = selectReadyBuildPlanTasks(plan, landed);\n if (ready.length === 0) return undefined;\n const stuck: string[] = [];\n for (const task of ready) {\n if (task.target?.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP) return undefined;\n let entry: ApplicationBuildStuckTask | null;\n try {\n entry = await this.classifyStuckBuildTask(task);\n } catch {\n return undefined;\n }\n // A task being built right now is progress, not stuck: the plan is not blocked while a wave runs.\n if (entry === null || entry.reason === Workbench_BuildTaskStuckReason.IN_FLIGHT) return undefined;\n stuck.push(task.taskRef);\n }\n return stuck;\n }\n\n /**\n * What LANDED, and what of it was PROVEN — the maturity reading's evidence input (#1496).\n *\n * Exposed here rather than recomputed by the reading, because \"did this task land\" is a question\n * about committed bytes that this service already answers, and a second implementation of it is\n * how two surfaces come to disagree about whether a task is done.\n *\n * The two sets differ by `unverifiableLandedTaskRefs`: a task that declares no product cannot be\n * probed, so a completed durable run lands it as RAN-not-PROVEN rather than stalling the queue\n * (`application-creation-directive.md` — mark, never gate). A requirement whose only build work is\n * such a task stops at `BUILT`, which is the honest reading of it.\n *\n * `undefined` when the application has no build plan OR its plan cannot be read — absence is not\n * an empty landing, and a reading that treated it as one would report every requirement as unbuilt\n * for a reason that has nothing to do with the requirements.\n *\n * Absence is tested DIRECTLY, like `describeBuildPlanBoard` beside it and for its reason:\n * `readBuildPlan` throws the same class for a plan that exists and fails validation, so catching\n * alone would flatten \"could not look\" into \"nothing there\" — and here that difference is a\n * landed artifact saying an application has built nothing.\n */\n public async resolveLandedTaskEvidence(): Promise<{ readonly landedTaskRefs: readonly string[]; readonly provenTaskRefs: readonly string[] } | undefined> {\n if (!(await this.hasAuthoredBuildPlan())) return undefined;\n let plan: Awaited<ReturnType<typeof this.readBuildPlan>>;\n try {\n plan = await this.readBuildPlan();\n } catch {\n return undefined;\n }\n const resolution = await this.resolveLandedTaskRefs(plan.tasks);\n const unverifiable = new Set(resolution.unverifiableLandedTaskRefs);\n const landedTaskRefs = [...resolution.landed];\n return { landedTaskRefs, provenTaskRefs: landedTaskRefs.filter((taskRef) => !unverifiable.has(taskRef)) };\n }\n\n /**\n * The per-task build record an operator or an agent reads in ONE call (#1521).\n *\n * Composed entirely from what already exists — the plan, the landing resolution, the actor plane's\n * execution rows, and the stuck classification the selector uses — and stored nowhere. A second\n * ledger of attempts would be a second answer to \"what happened to this task\", and the rows the\n * engine already writes are the first.\n *\n * `undefined` when the application has no build plan, for the reason `resolveLandedTaskEvidence`\n * gives: absence is not an empty build.\n */\n /**\n * Put a build task back in the queue after the reason it did not land was fixed (#1535). The ref must\n * be a task of THIS build plan: re-arming a ref the plan does not carry would record a decision about\n * nothing, and a typo would read as success.\n */\n public async rearmBuildTask(\n taskRef: string,\n request: { readonly reason: BuildTaskRearmReason; readonly note: string },\n session?: CompanionExecutionSessionContext,\n ): Promise<{ readonly rearmedRunTaskIds: readonly string[]; readonly rearm: BuildTaskRearm }> {\n const plan = await this.readBuildPlan();\n if (!plan.tasks.some((task) => task.taskRef === taskRef)) {\n throw new NothingToRearmError(`\"${taskRef}\" is not a task of this application's build plan, so there is nothing to re-arm.`);\n }\n return this.dispatch.rearmBuildTask(taskRef, request, session);\n }\n\n /**\n * Where a task's landing was found: its probes' paths, or a generation step's evidence paths. Empty for a probe\n * that names no fixed file (a shell surface, a schema-plan state) — the record then says \"found\" without a place\n * rather than inventing one.\n */\n private async resolveLandedEvidencePaths(task: BuildPlanTask): Promise<readonly string[]> {\n if (task.target?.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP) {\n const condition = await this.generationSteps.resolveGenerationStepLandedCondition(task);\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.ACCEPTED_BRAND_MARK) return [condition.modulePath];\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.ENGINE_CAPABILITIES_ENABLED) return [condition.configPath];\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.LABEL_PLAN_INCOMPLETE) return [];\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.LANDED_PROBES) {\n const candidates = [...new Set(condition.probes.flatMap(landedProbePaths))];\n const committed = await this.git.selectCommittedPaths(candidates);\n return candidates.filter((path) => committed.has(path));\n }\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.DISPLAY_NAME_APPLIED) return [condition.configPath];\n return condition.kind === ApplicationBuildGenerationStepLandedKind.COMMITTED_PATHS ? [...condition.paths] : [];\n }\n // Only the paths that ARE committed: a label probe reads one candidate per language, and naming the dozens\n // that do not exist would say the product was found in files that are not there.\n const candidates = [...new Set(resolveBuildTaskLandedProbes(task).flatMap(landedProbePaths))];\n const committed = await this.git.selectCommittedPaths(candidates);\n return candidates.filter((path) => committed.has(path));\n }\n\n public async describeBuildTaskRecords(session?: CompanionExecutionSessionContext): Promise<ApplicationBuildTaskRecords | undefined> {\n if (!(await this.hasAuthoredBuildPlan())) return undefined;\n const plan = await this.readBuildPlan();\n const resolution = await this.resolveLandedTaskRefs(plan.tasks);\n const ready = new Set(selectReadyBuildPlanTasks(plan, resolution.landed).map((task) => task.taskRef));\n const unverifiable = new Set(resolution.unverifiableLandedTaskRefs);\n\n const listed = await Promise.all([APPLICATION_CODING_SYSTEM_REF, APPLICATION_BUILD_SYSTEM_REF].map((systemRef) =>\n this.executions.listActorExecutions(CompanionExecutionsListQuerySchema.parse({ systemRef, limit: BUILD_TASK_ATTEMPT_PAGE_CAP }), session)));\n const attemptsTruncated = listed.some((page) => page.length >= BUILD_TASK_ATTEMPT_PAGE_CAP);\n const attemptsByTask = new Map<string, ApplicationBuildTaskAttempt[]>();\n for (const projected of listed.flat().map(projectBuildTaskAttempt)) {\n if (projected === null) continue;\n const list = attemptsByTask.get(projected.taskRef) ?? [];\n list.push(projected.attempt);\n attemptsByTask.set(projected.taskRef, list);\n }\n for (const list of attemptsByTask.values()) list.sort((left, right) => right.startedAt.localeCompare(left.startedAt));\n\n const committedTree = this.createCommittedTreeReader();\n const worktree = this.createWorktreeReader();\n const records: ApplicationBuildTaskRecord[] = [];\n for (const task of plan.tasks) {\n const attempts = attemptsByTask.get(task.taskRef) ?? [];\n const landed = resolution.landed.has(task.taskRef);\n const status = landed ? WorkbenchBuildPlanTaskStatus.LANDED\n : ready.has(task.taskRef) ? WorkbenchBuildPlanTaskStatus.READY\n : WorkbenchBuildPlanTaskStatus.BLOCKED;\n const isGenerationStep = task.target?.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP;\n const stuck = status === WorkbenchBuildPlanTaskStatus.READY && !isGenerationStep\n ? await this.classifyStuckBuildTask(task) : null;\n let unmetProbes: ApplicationBuildTaskUnmetProbe[] | undefined;\n let schemaPlanSyncState: SchemaPlanSyncState | undefined;\n let landingBlockedBy: string | undefined;\n // The condition the landing pass already resolved; resolved again only for a step it did not see.\n const generationStepCondition = !landed && isGenerationStep\n ? resolution.generationStepConditions.get(task.taskRef) ?? await this.generationSteps.resolveGenerationStepLandedCondition(task)\n : undefined;\n // Named whether or not the step has run (#2504): a labels plan that hides owed units blocks it before its first attempt.\n if (generationStepCondition?.kind === ApplicationBuildGenerationStepLandedKind.LABEL_PLAN_INCOMPLETE) landingBlockedBy = generationStepCondition.detail;\n if (!landed && attempts.some(isCountedBuildTaskAttempt)) {\n if (isGenerationStep && generationStepCondition !== undefined) {\n const condition = generationStepCondition;\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.SCHEMA_PLAN_IN_SYNC) {\n schemaPlanSyncState = await this.generationSteps.readSchemaPlanSyncState();\n } else if (condition.kind === ApplicationBuildGenerationStepLandedKind.NOT_OWED) {\n // Unreachable while NOT_OWED always lands, and stated rather than read as \"no unmet probe\".\n unmetProbes = [];\n } else if (condition.kind === ApplicationBuildGenerationStepLandedKind.ACCEPTED_BRAND_MARK) {\n // What is missing is a MASTER asset in the module, not the module (the scaffold commits it): say that (#2410).\n unmetProbes = [{\n probe: {\n kind: BuildPlanTaskLandedProbeKind.COMMITTED_FILE_DECLARES,\n path: condition.modulePath,\n declarations: [`BrandAssetPurpose.${BrandAssetPurpose.MASTER}`],\n site: { relation: ProductDeclarationRelation.SET },\n },\n satisfiedInWorkingTree: await this.readsAcceptedBrandMark(condition.modulePath, worktree),\n }];\n } else if (condition.kind === ApplicationBuildGenerationStepLandedKind.DISPLAY_NAME_APPLIED) {\n unmetProbes = [{\n probe: {\n kind: BuildPlanTaskLandedProbeKind.COMMITTED_FILE_DECLARES,\n path: condition.configPath,\n declarations: [`displayName: ${JSON.stringify(condition.displayName)}`],\n site: { relation: ProductDeclarationRelation.SET },\n },\n satisfiedInWorkingTree: await this.displayNameApplied(condition, worktree).catch(() => false),\n }];\n } else if (condition.kind === ApplicationBuildGenerationStepLandedKind.LABEL_PLAN_INCOMPLETE) {\n // Nothing a file can satisfy: the plan itself is partial (#2504). Its cause rides on the record.\n unmetProbes = [];\n } else if (condition.kind === ApplicationBuildGenerationStepLandedKind.LANDED_PROBES) {\n unmetProbes = [];\n for (const probe of condition.probes) {\n if (await this.isLandedProbeSatisfied(probe, committedTree)) continue;\n unmetProbes.push({ probe, satisfiedInWorkingTree: await this.isLandedProbeSatisfied(probe, worktree) });\n }\n } else if (condition.kind === ApplicationBuildGenerationStepLandedKind.ENGINE_CAPABILITIES_ENABLED) {\n // One unmet probe per capability the committed configuration does not enable (#2497). The working tree is\n // read best-effort: a configuration mid-edit that does not parse must not fail the whole records read.\n const notInWorktree = new Set(await this.capabilitiesNotEnabledIn(condition, worktree).catch(() => condition.capabilities));\n unmetProbes = (await this.capabilitiesNotEnabledIn(condition, committedTree)).map((capability) => ({\n probe: {\n kind: BuildPlanTaskLandedProbeKind.COMMITTED_FILE_DECLARES,\n path: condition.configPath,\n // The condition is ENABLED, not declared: the scaffold declares most capabilities as `enabled: false`.\n declarations: [`[EngineCapability.${capability}]: { enabled: true }`],\n site: { relation: ProductDeclarationRelation.SET },\n },\n satisfiedInWorkingTree: !notInWorktree.has(capability),\n }));\n } else {\n unmetProbes = [];\n for (const path of condition.paths) {\n const probe: BuildPlanTaskLandedProbe = { kind: BuildPlanTaskLandedProbeKind.COMMITTED_FILE, path };\n if (await this.isLandedProbeSatisfied(probe, committedTree)) continue;\n unmetProbes.push({ probe, satisfiedInWorkingTree: await this.isLandedProbeSatisfied(probe, worktree) });\n }\n }\n } else {\n unmetProbes = [];\n for (const probe of resolveBuildTaskLandedProbes(task)) {\n if (await this.isLandedProbeSatisfied(probe, committedTree)) continue;\n unmetProbes.push({\n probe,\n satisfiedInWorkingTree: await this.isLandedProbeSatisfied(probe, worktree),\n ...(isShellProbe(probe) ? { shell: await this.explainShellProbe(probe, committedTree) } : {}),\n });\n }\n }\n }\n const waitingOn = status === WorkbenchBuildPlanTaskStatus.BLOCKED\n ? task.prerequisiteTaskRefs.filter((prerequisite) => !resolution.landed.has(prerequisite)) : undefined;\n // A refused dispatch started nothing, so it does not make the landing the task's own (#1581). Never asserted\n // on a TRUNCATED listing: an early task's runs may be the ones the page cap dropped, and \"never run\" would be\n // false — and an invitation to pay for a re-run (#2217 review).\n const progress = isGenerationStep ? this.generationSteps.readGenerationStepProgress(task.taskRef) : undefined;\n const landedBeforeAnyRun = landed && !attemptsTruncated && !attempts.some(isCountedBuildTaskAttempt)\n ? { probedPaths: await this.resolveLandedEvidencePaths(task) } : undefined;\n const followUpTaskRefs = plan.tasks\n .filter((candidate) => candidate.taskRef.startsWith(HOST_DERIVED_FOLLOW_UP_TASK_REF_PREFIX) && candidate.prerequisiteTaskRefs[0] === task.taskRef)\n .map((candidate) => candidate.taskRef);\n records.push({\n taskRef: task.taskRef,\n targetKind: String(task.target?.kind ?? ''),\n status,\n ...(followUpTaskRefs.length > 0 ? { followUpTaskRefs } : {}),\n ...(task.taskRef.startsWith(HOST_DERIVED_FOLLOW_UP_TASK_REF_PREFIX) && task.prerequisiteTaskRefs[0] !== undefined ? { followUpOf: task.prerequisiteTaskRefs[0] } : {}),\n attempts,\n ...(stuck !== null ? { stuck } : {}),\n ...(unmetProbes !== undefined ? { unmetProbes } : {}),\n ...(schemaPlanSyncState !== undefined ? { schemaPlanSyncState } : {}),\n ...(landingBlockedBy !== undefined ? { landingBlockedBy } : {}),\n ...(waitingOn !== undefined ? { waitingOn } : {}),\n ...(landed && unverifiable.has(task.taskRef) ? { unverifiable: true } : {}),\n ...(landedBeforeAnyRun !== undefined ? { landedBeforeAnyRun } : {}),\n ...(progress !== undefined ? { progress } : {}),\n });\n }\n\n const stuckByReason = Object.fromEntries(\n Object.values(Workbench_BuildTaskStuckReason).map((reason) => [reason, records.filter((record) => record.stuck?.reason === reason).length]),\n ) as Record<Workbench_BuildTaskStuckReason, number>;\n const notLanded = records.filter((record) => record.status !== WorkbenchBuildPlanTaskStatus.LANDED);\n // A dispatch refused before it started is shown in its task's history and counted by no figure below (#1581).\n const started = (record: ApplicationBuildTaskRecord) => record.attempts.filter(isCountedBuildTaskAttempt);\n const unavailableRuntimes = await readUnavailableApplicationRuntimes(this.companionContext.saasRoot);\n /*\n * The candidates for a break, from every attempt the records hold (#2405 review F3), not only one wave's: a run that\n * settled at the end of one wave breaks the start the NEXT wave meets.\n */\n const bootFailures: ApplicationBuildRecordsBootFailure[] = (await this.readCurrentBootFailures()).map((failure) => ({\n ...failure,\n candidateTaskRefs: failure.lastStartedAt === null ? [] : records\n .filter((record) => record.attempts.some((attempt) => attempt.status === FlowsActors_Status.COMPLETED\n // No upper bound (#2405 re-review R1): the watcher restarts the backend on working-tree writes, so the start\n // usually fails while the breaking run is still running its checks, and that run settles AFTER the failure.\n && attempt.settledAt !== undefined && attempt.settledAt > failure.lastStartedAt!))\n .map((record) => record.taskRef),\n }));\n return {\n tasks: records,\n summary: {\n taskCount: records.length,\n landed: records.length - notLanded.length,\n landedBeforeAnyRun: records.filter((record) => record.landedBeforeAnyRun !== undefined).length,\n blocked: records.filter((record) => record.status === WorkbenchBuildPlanTaskStatus.BLOCKED).length,\n readyNeverAttempted: records.filter((record) => record.status === WorkbenchBuildPlanTaskStatus.READY && started(record).length === 0).length,\n readyToRetry: records.filter((record) => record.status === WorkbenchBuildPlanTaskStatus.READY && started(record).length > 0 && !record.stuck).length,\n stuckByReason,\n attempts: records.reduce((total, record) => total + started(record).length, 0),\n completedAttemptsWithoutLanding: notLanded.reduce(\n (total, record) => total + record.attempts.filter((attempt) => attempt.status === FlowsActors_Status.COMPLETED).length, 0),\n repeatedlyAttemptedWithoutLanding: notLanded.filter((record) => started(record).length > 1).map((record) => record.taskRef),\n spend: deriveBuildSpend(records),\n parallelism: {\n degree: readBuildParallelism(this.companionContext.saasRoot),\n overlappingAttempts: records.reduce((total, record) => total + record.attempts.filter((attempt) => attempt.concurrency !== undefined).length, 0),\n interferenceSuspectedAttempts: records.reduce((total, record) => total + record.attempts.filter((attempt) => attempt.interferenceSuspected === true).length, 0),\n interferedCompletedAttempts: records.reduce((total, record) => total + record.attempts.filter((attempt) => attempt.interference !== undefined).length, 0),\n contendedPaths: [...new Set(records.flatMap((record) => record.attempts.flatMap((attempt) => attempt.concurrency?.contendedPaths ?? [])))].sort(),\n },\n },\n attemptsTruncated,\n ...(unavailableRuntimes === undefined ? {} : { unavailableRuntimes }),\n ...(bootFailures.length > 0 ? { bootFailures } : {}),\n repairsOwed: deriveRepairsOwed(attemptsByTask),\n };\n }\n\n /**\n * Every build-plan task in the DISPATCH view — the creation board's `workbenchBuildPlanTasks`\n * rows (`workbench-creation-board-resources.md`, Phase 2).\n *\n * `status` is computed per read, never stored: `landed` = the task's evidence paths are all\n * committed (the same resolution the dispatcher itself selects by), `ready` = every prerequisite\n * landed and it has not, `blocked` = otherwise. Exactly one holds.\n *\n * An application with NO authored build plan answers ZERO TASKS rather than throwing: the plan\n * file legitimately does not exist until build-decompose runs, so \"nothing there yet\" is the\n * true answer. Absence is tested DIRECTLY (the exports carry no `buildPlanSpecification`) rather\n * than by catching `ApplicationBuildPlanUnavailableError`, because `readBuildPlan` throws that\n * SAME class for a plan that exists and fails schema or semantic validation — and flattening an\n * invalid plan into an empty board would be \"could not look\" wearing \"nothing there\".\n */\n public async describeBuildPlanBoard(): Promise<readonly {\n readonly taskRef: string;\n readonly objective: string;\n readonly targetKind: string;\n readonly functionalTopic: string;\n readonly status: WorkbenchBuildPlanTaskStatus;\n readonly prerequisiteTaskRefs: readonly string[];\n }[]> {\n if (!(await this.hasAuthoredBuildPlan())) return [];\n\n const plan = await this.readBuildPlan();\n const { landed } = await this.resolveLandedTaskRefs(plan.tasks);\n const ready = new Set(selectReadyBuildPlanTasks(plan, landed).map((task) => task.taskRef));\n return plan.tasks.map((task) => ({\n taskRef: task.taskRef,\n objective: task.objective,\n targetKind: String(task.target?.kind ?? ''),\n functionalTopic: String(task.functionalTopic),\n status: landed.has(task.taskRef) ? WorkbenchBuildPlanTaskStatus.LANDED\n : ready.has(task.taskRef) ? WorkbenchBuildPlanTaskStatus.READY\n : WorkbenchBuildPlanTaskStatus.BLOCKED,\n prerequisiteTaskRefs: task.prerequisiteTaskRefs,\n }));\n }\n\n /**\n * What ONE landing resolution found — returned rather than parked on the instance.\n *\n * These two were fields (`lastUnverifiableLandedTaskRefs`, `lastUnanswerableSchemaPlanTaskRefs`),\n * written as the probe's last statement and read by its caller one microtask later. The service is\n * a singleton in a process serving concurrent requests and the probe is spawn-heavy, so two\n * in-flight resolutions interleave at every await and the caller could read the OTHER pass's\n * answer — a requirement dropping from VERIFIED to BUILT because a workbench poll landed between\n * two lines. Returning them makes each caller's answer its own by construction (#1496's review).\n */\n private async resolveLandedTaskRefs(tasks: readonly BuildPlanTask[]): Promise<LandedTaskResolution> {\n const landed = new Set<string>();\n const unverifiable = new Set<string>();\n const unanswerable = new Set<string>();\n const committedTree = this.createCommittedTreeReader();\n /*\n * Ask git ONCE for the whole plan's probe paths, before the per-task loop asks for them one at a\n * time. Each `isCommitted` costs an `ls-files` + `status` PAIR of subprocesses, and a plan's\n * probes run to hundreds of distinct paths — so this loop was the companion's dominant cost and,\n * because a spawn storm starves the event loop, the reason `/health/ready` stopped answering\n * inside the ten seconds the workbench allows it (see `selectCommittedPaths`, which records the\n * measurement and the repo-root-prefix trap it contains).\n *\n * Only `COMMITTED_FILE` probes, because they are the only kind that asks `isCommitted` — the two\n * DECLARES kinds answer from `readText` instead, and priming their paths would ask git a question\n * whose answer is then discarded. It would be harmless and free inside the batch, which is\n * exactly why it has to be deliberate rather than convenient: it would also silently widen what\n * `application-build-dispatch-landing-path-reuse` measures.\n *\n * Generation-step conditions ARE gathered, by resolving them once into a map the loop then reads.\n * \"They are few, and they still resolve per path\" was true of the TASKS and wrong about the\n * PATHS: the i18n steps' evidence is `planner units x their locales`, so three generation-step\n * tasks expanded to seventeen `status --porcelain` spawns per resolution — measured at the spawn\n * site 2026-09-22, where they were the largest source left after the probe paths were batched.\n * Resolving the condition here rather than inside the loop is what lets them join the same batch\n * without asking for each condition twice.\n */\n const generationStepConditions = new Map<string, ApplicationBuildGenerationStepLandedCondition>();\n for (const task of tasks) {\n if (task.target?.kind !== BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP) continue;\n generationStepConditions.set(task.taskRef, await this.generationSteps.resolveGenerationStepLandedCondition(task));\n }\n await committedTree.primeCommitted([\n ...tasks.flatMap((task) => resolveBuildTaskLandedProbes(task)\n .filter((probe) => probe.kind === BuildPlanTaskLandedProbeKind.COMMITTED_FILE)\n .flatMap(landedProbePaths)),\n ...[...generationStepConditions.values()].flatMap((condition) => (\n condition.kind === ApplicationBuildGenerationStepLandedKind.COMMITTED_PATHS ? condition.paths : []\n )),\n ...[...generationStepConditions.values()].flatMap((condition) => (\n condition.kind === ApplicationBuildGenerationStepLandedKind.LANDED_PROBES\n ? condition.probes.filter((probe) => probe.kind === BuildPlanTaskLandedProbeKind.COMMITTED_FILE).flatMap(landedProbePaths)\n : []\n )),\n ]);\n /*\n * And ONE `cat-file --batch` for every path whose committed TEXT a DECLARES probe will read,\n * rather than a `git show` each. Measured at the spawn site 2026-09-22, these were 20 of 45\n * spawns in a ten-second window — four distinct paths, re-read once per resolution.\n *\n * `ANY_COMMITTED_FILE_DECLARES` short-circuits, so this reads candidates the lazy route might\n * have skipped. That is deliberate and it is not a cost: the whole set rides one subprocess, and\n * the bytes are the same bytes. What it buys is that the count no longer depends on which\n * candidate happened to satisfy the probe first.\n */\n await committedTree.primeTexts([\n ...tasks.flatMap((task) => resolveBuildTaskLandedProbes(task)\n .filter((probe) => probe.kind !== BuildPlanTaskLandedProbeKind.COMMITTED_FILE)\n .flatMap(landedProbePaths)),\n // The engine-capabilities step reads the committed configuration's text (#2497): one batch, not its own spawn.\n ...[...generationStepConditions.values()].flatMap((condition) => (\n condition.kind === ApplicationBuildGenerationStepLandedKind.LANDED_PROBES\n ? condition.probes.filter((probe) => probe.kind !== BuildPlanTaskLandedProbeKind.COMMITTED_FILE).flatMap(landedProbePaths)\n : []\n )),\n ...[...generationStepConditions.values()].flatMap((condition) => (\n condition.kind === ApplicationBuildGenerationStepLandedKind.ENGINE_CAPABILITIES_ENABLED\n || condition.kind === ApplicationBuildGenerationStepLandedKind.DISPLAY_NAME_APPLIED ? [condition.configPath] : []\n )),\n ]);\n for (const task of tasks) {\n if (task.target?.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP) {\n /*\n * A generation step declares HOW it proves it landed, because not every step proves it with\n * files. Most name the exact unit files their pipelines write (see that service's JSDoc for\n * why a directory prefix would be dishonest). The migration step cannot — its artifact is\n * `backend-api/migrations/<timestamp>_<name>/migration.sql` and the timestamp is minted\n * during the run — so it lands on the STATE it exists to reach instead.\n *\n * Read the condition, never the evidence paths: for the migration step those name the\n * accepted lockfile, which predates the step, so landing on it would pass having verified\n * nothing.\n */\n // Resolved ONCE above, so its paths could join the batch; reading it again here would ask the\n // generation-step service the same question twice per resolution.\n const condition = generationStepConditions.get(task.taskRef)\n ?? await this.generationSteps.resolveGenerationStepLandedCondition(task);\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.SCHEMA_PLAN_IN_SYNC) {\n const syncState = await this.generationSteps.readSchemaPlanSyncState();\n if (syncState === SchemaPlanSyncState.IN_SYNC) landed.add(task.taskRef);\n else if (syncState === SchemaPlanSyncState.UNANSWERABLE) unanswerable.add(task.taskRef);\n continue;\n }\n // The application owes this step nothing (a translation step on a one-locale app): landed, or it\n // would sit at the head of the queue forever on an evidence list that is empty by construction.\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.NOT_OWED) {\n landed.add(task.taskRef);\n continue;\n }\n // The logo step: landed on a committed MASTER asset the committed module lists, never on the module's\n // presence — the scaffold commits the module empty (#2410).\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.ACCEPTED_BRAND_MARK) {\n if (await this.readsAcceptedBrandMark(condition.modulePath, committedTree)) landed.add(task.taskRef);\n continue;\n }\n // A labels plan that hides owed units never lands (#2504).\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.LABEL_PLAN_INCOMPLETE) continue;\n // The labels step (#2504): every unit file committed and every frontend root id declared.\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.LANDED_PROBES) {\n const satisfied = await Promise.all(condition.probes.map((probe) => this.isLandedProbeSatisfied(probe, committedTree)));\n if (satisfied.every(Boolean)) landed.add(task.taskRef);\n continue;\n }\n // The display-name step: landed when the committed configuration carries the brand's name (#2505).\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.DISPLAY_NAME_APPLIED) {\n if (await this.displayNameApplied(condition, committedTree)) landed.add(task.taskRef);\n continue;\n }\n // The engine-capabilities step: landed when the committed configuration enables every capability it owes (#2497).\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.ENGINE_CAPABILITIES_ENABLED) {\n if ((await this.capabilitiesNotEnabledIn(condition, committedTree)).length === 0) landed.add(task.taskRef);\n continue;\n }\n if (condition.paths.length === 0) continue;\n const committedPaths = await Promise.all(condition.paths.map((path) => committedTree.isCommitted(path)));\n if (committedPaths.every(Boolean)) landed.add(task.taskRef);\n continue;\n }\n const probes = resolveBuildTaskLandedProbes(task);\n if (probes.length === 0) {\n /*\n * A task that declares NO product cannot prove it landed — and that is a WORKFLOW gap, not a\n * gate. `application-creation-directive.md` asks the deciding question directly: if this\n * refuses, what does the operator do next? The answer here is \"declare what the task\n * produces\", which is authoring work — so it must MARK and let the loop continue, exactly as\n * an unapproved release travels with its advisory instead of stopping the build.\n *\n * It was a gate until 2026-09-12, and the cost is measured. Readiness is \"not landed\", so an\n * unprovable task is ready FOREVER and is permanently `ready[0]`: `dispatch-next` re-ran\n * `build-task-contact-schema` three times at roughly $7.50 a turn, and the loop guard below\n * then converted that into a permanent refusal at the same task. Both are stuck; neither is\n * honest about WHY. Against Wonder CRM's 42-task plan the two candidate fixes measure\n * 1 reachable (skip it, leave its dependents blocked) against 42 (run it once, mark it,\n * advance) — because every product-declaring task there sits behind one that declares none.\n *\n * So landing here means RAN, not PROVEN, and the difference is carried rather than hidden:\n * the ref goes into `unverifiableLandedTaskRefs`, which rides the dispatch plan to every\n * caller. Keyed on a COMPLETED durable run, never on the task's mere existence — a task\n * nobody has run has not landed by any reading, and admitting it would let the whole plan\n * report itself finished having done nothing.\n */\n /*\n * A FOLLOW-UP (#2496) lands here too, even when its own run still reports a gap: it declares no product, so it\n * lands RAN-not-PROVEN, and the gap stays on its run's record, where the build record shows it under \"reported a\n * requirement still unmet\". Holding it unlanded was tried (review F7) and is the defect\n * `application-creation-directive.md` names: the only remedy was a person's decision, and meanwhile the whole\n * plan read as stuck. To have the gap worked again, a person runs the follow-up once more, saying why:\n * `wildo build run <ref> --despite-landed --reason operator-judgement --note \"<why>\"`.\n */\n const priorRun = await this.dispatch.findCompletedRunForBuildTask(task.taskRef);\n if (priorRun !== null) {\n landed.add(task.taskRef);\n unverifiable.add(task.taskRef);\n }\n continue;\n }\n const answered = await Promise.all(probes.map((probe) => this.isLandedProbeSatisfied(probe, committedTree)));\n if (answered.every(Boolean)) landed.add(task.taskRef);\n }\n return { landed, unverifiableLandedTaskRefs: [...unverifiable].sort(), unanswerableSchemaPlanTaskRefs: unanswerable, generationStepConditions };\n }\n\n /**\n * Which of a stuck task's probed paths hold its product in the WORKING TREE while failing at HEAD —\n * or `undefined` when the working tree does not satisfy the probes either.\n *\n * Explanation only, never landing: a task satisfied here is still NOT landed, because the worktree\n * is work in progress until it is committed. What this decides is which remedy the refusal names.\n * Asked only for a task that already ran and is stuck, so it costs nothing on the hot path.\n */\n private async resolveProducedButUncommittedPaths(task: BuildPlanTask): Promise<readonly string[] | undefined> {\n const probes = resolveBuildTaskLandedProbes(task);\n if (probes.length === 0) return undefined;\n const worktree = this.createWorktreeReader();\n const satisfied = await Promise.all(probes.map((probe) => this.isLandedProbeSatisfied(probe, worktree)));\n if (!satisfied.every(Boolean)) return undefined;\n const committedTree = this.createCommittedTreeReader();\n const paths = [...new Set(probes.flatMap(landedProbePaths))];\n const committed = await Promise.all(paths.map((path) => committedTree.isCommitted(path)));\n // A shell probe names no fixed path: the files that must be committed are the ones the RESOLVED\n // shell says compose the surface, so they come from its explanation (#1538).\n const shellUncommitted = (await Promise.all(probes.filter(isShellProbe).map((probe) => this.explainShellProbe(probe, committedTree))))\n .flatMap((explanation) => explanation.uncommittedPaths);\n return [...new Set([...paths.filter((_, index) => !committed[index]), ...shellUncommitted])].sort();\n }\n\n /**\n * Does the resolved-assets module, as `tree` holds it, record an accepted brand mark (#2410)? The same predicate the\n * logo step's skip check uses, so the step and its landing cannot disagree about what \"accepted\" means.\n */\n private async readsAcceptedBrandMark(modulePath: string, tree: CommittedTreeReader): Promise<boolean> {\n return hasAcceptedBrandMark(await tree.readText(modulePath), (path) => tree.isCommitted(path));\n }\n\n /** The working tree behind the same reader shape: a path \"is committed\" here when it exists on disk. Never throws. */\n private createWorktreeReader(): CommittedTreeReader {\n const texts = new Map<string, Promise<string | undefined>>();\n const readText = (path: string) => memoizeByPath(texts, path, () => readFile(join(this.companionContext.saasRoot, path), 'utf8').catch(() => undefined));\n return {\n isCommitted: async (path) => (await readText(path)) !== undefined,\n readText,\n // Reading the worktree spawns nothing, so there is no batch to win here.\n primeCommitted: async () => {},\n primeTexts: async () => {},\n shellWitness: this.memoizedShellWitness(),\n };\n }\n\n /**\n * The tree as a pathspec commit of `committing` would leave it (#2209): those paths as they stand on disk\n * (`commitPaths` takes each whole working file), every other path as HEAD has it. Behind the reader shape\n * landing asks, so the accept asks exactly landing's question of the commit it is about to make.\n */\n private createProspectiveCommitReader(committing: ReadonlySet<string>): CommittedTreeReader {\n const worktree = this.createWorktreeReader();\n const committed = this.createCommittedTreeReader();\n return {\n isCommitted: (path) => (committing.has(path) ? worktree.isCommitted(path) : committed.isCommitted(path)),\n readText: (path) => (committing.has(path) ? worktree.readText(path) : committed.readText(path)),\n primeCommitted: (paths) => committed.primeCommitted(paths.filter((path) => !committing.has(path))),\n primeTexts: (paths) => committed.primeTexts(paths.filter((path) => !committing.has(path))),\n shellWitness: committed.shellWitness,\n };\n }\n\n /** A fresh {@link CommittedTreeReader} for one landing resolution; never shared across resolutions. */\n private createCommittedTreeReader(): CommittedTreeReader {\n const committed = new Map<string, Promise<boolean>>();\n const texts = new Map<string, Promise<string | undefined>>();\n return {\n isCommitted: (path) => memoizeByPath(committed, path, () => this.git.isWorktreePathCommitted(path)),\n readText: (path) => memoizeByPath(texts, path, () => this.git.readCommittedText(path)),\n primeCommitted: async (paths) => {\n /*\n * One batched answer for the whole set, seeded into the SAME memo the per-path route fills.\n * Paths already resolved (or in flight) are left alone: their answer is the one this\n * resolution has been handing out, and replacing it mid-pass would let one landing decision\n * rest on two different readings of the tree.\n */\n const unanswered = [...new Set(paths)].filter((path) => !committed.has(path));\n if (unanswered.length === 0) return;\n const committedPaths = await this.git.selectCommittedPaths(unanswered);\n for (const path of unanswered) {\n if (!committed.has(path)) committed.set(path, Promise.resolve(committedPaths.has(path)));\n }\n },\n primeTexts: async (paths) => {\n // Same contract as `primeCommitted`: seed the memo `readText` fills, never replace an answer\n // this resolution has already handed out.\n const unread = [...new Set(paths)].filter((path) => !texts.has(path));\n if (unread.length === 0) return;\n const committedTexts = await this.git.readCommittedTexts(unread);\n for (const path of unread) {\n if (!texts.has(path)) texts.set(path, Promise.resolve(committedTexts.get(path)));\n }\n },\n shellWitness: this.memoizedShellWitness(),\n };\n }\n\n /**\n * Is one landed probe satisfied by the COMMITTED tree?\n *\n * Every answer is about committed bytes (`readCommittedText` returns nothing for an uncommitted or\n * half-edited path), so landing survives a restart, a fresh clone and a branch switch — git is the\n * accepted state, and two branches with different answers merge.\n *\n * A declaration is matched as a WHOLE WORD, not as a substring. `deal.schemas.ts` carries prose\n * naming its own build tasks, so a bare `includes` would find `pipelineStageId` inside a comment\n * that merely mentions it and report a task landed on its own documentation. A TypeScript or\n * JavaScript file is read with its comments blanked first (#2216), because whole-word matching alone\n * counted a mention in a comment: a page task wrote every section ref of its plan into its sections\n * file's header, and 18 section tasks of `app-creation-test-004` read landed with no section written.\n * A STRING mention still counts — an AST question is the sound version and needs the introspection\n * subprocess — so this errs toward LANDED only for a file that names the symbol in code without\n * declaring it, and never for the scaffold shapes that produced #597, where the symbol is absent.\n */\n /** A once-per-reader memo of {@link resolveShellWitness}, so a landing resolution introspects at most once. */\n private memoizedShellWitness(): () => Promise<ShellWitness> {\n let pending: Promise<ShellWitness> | undefined;\n return () => (pending ??= this.resolveShellWitness());\n }\n\n /**\n * The resolved shell beside the placement plan (#1538): what each surface carries, by identity,\n * against what the plan PLACED there and what it DECLINED.\n *\n * Read through introspection because the identities exist only in the RESOLVED configuration: a\n * module's contribution merges into the shell at runtime, and the tree's text spells none of the\n * plan's refs. Every failure is an `answered: false` with its reason — never a throw, which would\n * abort the whole landing resolution for one surface, and never an empty \"carries nothing\", which\n * would read as a real no.\n */\n private async resolveShellWitness(): Promise<ShellWitness> {\n const exports = await loadSpecificationsCompanionExports(this.companionContext);\n const authored = (exports as unknown as Record<string, unknown>).placementPlanSpecification;\n if (authored === undefined || authored === null) {\n return { answered: false, reason: 'The application has no placement plan, so nothing says what its shell should carry.' };\n }\n const plan = PlacementPlanSchema.safeParse(authored);\n if (!plan.success) {\n return { answered: false, reason: `The placement plan does not satisfy its schema: ${plan.error.issues.slice(0, 2).map((issue) => `${issue.path.join('.')}: ${issue.message}`).join('; ')}` };\n }\n const serviceKey = this.introspection.describeCatalog().defaultFrontendServiceKey;\n if (!serviceKey) {\n return { answered: false, reason: 'The application declares no SaaS frontend to read its shell from.' };\n }\n let shell: AppShellPlacementContentResult;\n try {\n const result = await this.introspection.requestInfo({ serviceKey, behavior: 'app-shell-placement-content' });\n if (!result.success) return { answered: false, reason: `The shell could not be read: ${result.error.message}` };\n shell = result.data as AppShellPlacementContentResult;\n } catch (error) {\n return { answered: false, reason: `The shell could not be read: ${describeCaughtError(error)}` };\n }\n\n const carried = new Map<PlacementSurface, Set<string>>();\n const carriedAudiences = new Map<PlacementSurface, Map<string, PlacementAudienceLayers[]>>();\n const contributingPaths = new Map<PlacementSurface, string[]>();\n for (const row of shell.surfaces) {\n const identities = new Set<string>();\n const audiences = new Map<string, PlacementAudienceLayers[]>();\n for (const launcher of row.launchers) {\n const identity = launcherShellIdentity(launcher);\n if (identity === undefined) continue;\n identities.add(identity);\n const layers: PlacementAudienceLayers = {\n ...(launcher.visibleToRoles === undefined ? {} : { item: launcher.visibleToRoles }),\n ...(launcher.sectionVisibleToRoles === undefined ? {} : { section: launcher.sectionVisibleToRoles }),\n };\n audiences.set(identity, [...(audiences.get(identity) ?? []), layers]);\n }\n carriedAudiences.set(row.surface, audiences);\n for (const destinationRef of row.destinationRefs) identities.add(settingsDestinationShellIdentity(destinationRef));\n carried.set(row.surface, identities);\n contributingPaths.set(row.surface, [shellSurfaceConfigFile(row.surface), ...row.contributingModuleIds.map(shellModuleContributionFile)]);\n }\n const expectations = derivePlacementPlanShellExpectations(plan.data);\n const placed = new Map([...expectations.placed].map(([surface, entries]) => [surface, entries.map((entry) => entry.shellIdentity)] as const));\n const placedAudiences = new Map([...expectations.placed].map(([surface, entries]) => [\n surface, new Map(entries.map((entry) => [entry.shellIdentity, entry.audience] as const)),\n ] as const));\n const declined = expectations.declined.map((entry) => entry.shellIdentity);\n return { answered: true, carried, contributingPaths, placed, declined, carriedAudiences, placedAudiences };\n }\n\n /**\n * Why a shell probe is or is not satisfied (#1538) — the answer landing uses, and the detail the build\n * record and the stuck classification report. One function, so the three cannot disagree.\n */\n private async explainShellProbe(\n probe: ShellLandedProbe,\n tree: CommittedTreeReader,\n ): Promise<ShellProbeExplanation> {\n const witness = await tree.shellWitness();\n if (!witness.answered) {\n return { satisfied: false, unanswerable: witness.reason, missing: [], declinedButPresent: [], audienceMismatches: [], uncommittedPaths: [] };\n }\n const uncommittedOf = async (surface: PlacementSurface): Promise<string[]> => {\n const paths = witness.contributingPaths.get(surface) ?? [];\n const committed = await Promise.all(paths.map((path) => tree.isCommitted(path)));\n return paths.filter((_, index) => !committed[index]);\n };\n if (probe.kind === BuildPlanTaskLandedProbeKind.SHELL_SURFACE_CARRIES_PLAN) {\n const carried = witness.carried.get(probe.surface) ?? new Set<string>();\n const missing = (witness.placed.get(probe.surface) ?? []).filter((identity) => !carried.has(identity));\n const declinedButPresent = witness.declined.filter((identity) => carried.has(identity));\n // Every entry carrying a placed identity must show it to the audience the plan decided.\n const carriedAudiences = witness.carriedAudiences.get(probe.surface) ?? new Map();\n const audienceMismatches = [...(witness.placedAudiences.get(probe.surface) ?? new Map())].flatMap(([identity, expected]) => {\n const shown = carriedAudiences.get(identity) ?? [];\n const wrong = shown.filter((audience) => !samePlacementAudienceLayers(expected, audience));\n return wrong.length === 0 ? [] : [`${identity}: plan ${describePlacementAudience(expected)}, shell ${wrong.map(describePlacementAudience).join(' and ')}`];\n });\n const uncommittedPaths = await uncommittedOf(probe.surface);\n return {\n satisfied: missing.length === 0 && declinedButPresent.length === 0 && audienceMismatches.length === 0 && uncommittedPaths.length === 0,\n missing,\n declinedButPresent,\n audienceMismatches,\n uncommittedPaths,\n };\n }\n // SHELL_CARRIES_A_PLACEMENT: some surface carries some subject the plan placed on it, from files at HEAD.\n const allUncommitted: string[] = [];\n for (const [surface, identities] of witness.placed) {\n const carried = witness.carried.get(surface) ?? new Set<string>();\n if (!identities.some((identity) => carried.has(identity))) continue;\n const uncommittedPaths = await uncommittedOf(surface);\n if (uncommittedPaths.length === 0) return { satisfied: true, missing: [], declinedButPresent: [], audienceMismatches: [], uncommittedPaths: [] };\n allUncommitted.push(...uncommittedPaths);\n }\n return {\n satisfied: false,\n missing: allUncommitted.length > 0 ? [] : [...witness.placed.values()].flat(),\n declinedButPresent: [],\n audienceMismatches: [],\n uncommittedPaths: [...new Set(allUncommitted)],\n };\n }\n\n private async isLandedProbeSatisfied(probe: BuildPlanTaskLandedProbe, tree: CommittedTreeReader): Promise<boolean> {\n switch (probe.kind) {\n case BuildPlanTaskLandedProbeKind.COMMITTED_FILE:\n return tree.isCommitted(probe.path);\n case BuildPlanTaskLandedProbeKind.COMMITTED_FILE_DECLARES: {\n const text = await tree.readText(probe.path);\n if (typeof text !== 'string') return false;\n /*\n * The probe's SITE says whether the declarations are a set or a relation, and where a relation\n * must sit (#1539). A relation read as a set reports a missing edge as landed (#1273 — six of\n * eleven relationship tasks).\n */\n // The PATH rides along so a script source is read with its comments blanked (#2216): prose naming a\n // product is not the product.\n return declarationsAppearAt(text, probe.declarations, probe.site, probe.path);\n }\n case BuildPlanTaskLandedProbeKind.ANY_COMMITTED_FILE_DECLARES: {\n const texts = await Promise.all(probe.paths.map((path) => tree.readText(path)));\n return texts.some((text, index) => typeof text === 'string' && declarationsAppearAt(text, probe.declarations, probe.site, probe.paths[index]));\n }\n // #2216: a section's words, in every committed locale pack.\n case BuildPlanTaskLandedProbeKind.COMMITTED_LABEL_PACKS_DECLARE:\n return labelPacksDeclareKeyPrefix(await Promise.all(probe.paths.map((path) => tree.readText(path))), probe.keyPrefix);\n // #2504: a labelling unit's planned keys, each exactly, in its committed primary-locale file.\n case BuildPlanTaskLandedProbeKind.COMMITTED_LABEL_FILE_DECLARES_KEYS:\n return labelFileDeclaresKeys(await tree.readText(probe.path), probe.keys);\n case BuildPlanTaskLandedProbeKind.SHELL_SURFACE_CARRIES_PLAN:\n case BuildPlanTaskLandedProbeKind.SHELL_CARRIES_A_PLACEMENT:\n return (await this.explainShellProbe(probe, tree)).satisfied;\n default: {\n const unhandled: never = probe;\n throw new Error(`Unhandled build-plan landed probe ${JSON.stringify(unhandled)}.`);\n }\n }\n }\n\n /**\n * Whether the application has AUTHORED a build plan at all — the one absence test every read of the plan shares.\n *\n * A plan legitimately does not exist until `build-decompose` has run, so every NEW application starts in this\n * state, and \"no plan yet\" is a true answer rather than a failure. It is tested DIRECTLY, never by catching\n * `ApplicationBuildPlanUnavailableError`, because `readBuildPlan` throws that same class for a plan that EXISTS\n * and fails validation — flattening an invalid plan into \"nothing there\" would be \"could not look\" wearing\n * \"nothing there\".\n *\n * Two reads use it: the board's task list, which had it inline, and the next-task projection, which did not —\n * so on every new application the board's dispatch-plan list answered 500 CONFIGURATION, logged at high\n * severity with an alert, on every poll (measured 2026-09-21, the first minutes of the end-to-end run #1273).\n */\n public async hasAuthoredBuildPlan(): Promise<boolean> {\n const exports = await loadSpecificationsCompanionExports(this.companionContext);\n const authored = (exports as unknown as Record<string, unknown>).buildPlanSpecification;\n return authored !== undefined && authored !== null;\n }\n\n /** The application's accepted build plan, validated before anything is selected from it. */\n private async readBuildPlan(): ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync> {\n const exports = await loadSpecificationsCompanionExports(this.companionContext);\n const authored = (exports as unknown as Record<string, unknown>).buildPlanSpecification;\n if (authored === undefined || authored === null) {\n throw new ApplicationBuildPlanUnavailableError(\n 'This application has no build plan. Run the build-decompose playbook first.',\n );\n }\n const parsed = BuildPlanTaskGraphSchema.safeParse(authored);\n if (!parsed.success) {\n throw new ApplicationBuildPlanUnavailableError(\n `The application's build plan does not satisfy its schema: ${parsed.error.issues.slice(0, 3).map((issue) => `${issue.path.join('.')}: ${issue.message}`).join('; ')}`,\n );\n }\n // Semantic validation too, not just the shape: a graph whose ordering is unsound would let\n // `selectReadyBuildPlanTasks` report a task ready before the work it depends on can have landed.\n //\n // Gated on the FLOOR codes, not on `findings.length > 0` as it was until 2026-09-09. That older\n // reading made this gate disagree with the landing gate about the same graph: an authoring\n // warning — a resource stage whose predecessor is absent from the plan, which is legitimate when\n // the tree already carries that stage — landed happily at the semantic authority and then made\n // the whole plan permanently undispatchable HERE, with the refusal naming a warning. One\n // classification, named once in `_core` beside the codes.\n const findings = validateBuildPlanTaskGraph(parsed.data);\n const blocking = findings.filter((finding) => BUILD_PLAN_TASK_GRAPH_HARD_FLOOR_CODES.includes(finding.code));\n if (blocking.length > 0) {\n throw new ApplicationBuildPlanUnavailableError(\n `The application's build plan fails semantic validation: ${blocking.slice(0, 3).map((finding) => finding.message).join('; ')}`,\n );\n }\n return this.withHostDerivedWebsiteClaimPrerequisites(this.withHostDerivedTranslationStep(\n this.withHostDerivedDocumentationPublicationStep(\n await this.withHostDerivedMigrationStep(await this.withHostDerivedEngineCapabilitiesStep(await this.withHostDerivedDisplayNameStep(await this.withHostDerivedFollowUpTasks(parsed.data)))),\n ),\n ), exports);\n }\n\n /**\n * A website task waits for the tasks that BUILD what its copy describes (#2507 re-review N1).\n *\n * Its copy is written once, from each cited requirement's standing at dispatch. The decomposer orders a section only\n * after its page, so website tasks ran beside the module tasks serving their requirements, read IN_PROGRESS, and wrote\n * \"coming soon\" for features that shipped an hour later, with nothing ever rewriting them. So each website task gains\n * a prerequisite on every task delivering a requirement it cites (website and documentation tasks excluded), follow-ups\n * included, as they are appended before this step.\n *\n * A page waits on everything its sections cite, since its title and description summarize them, so one feature task\n * that stays stuck holds back the whole page and its sections (re-review R4). That is the plan-stuck path, by design.\n *\n * A delivering task that itself waits on a website task would close a cycle with the added edges. Each website task's\n * edges are kept or dropped TOGETHER, re-checked against the schema and the semantic floors (PREREQUISITE_CYCLE among\n * them), so one cycle costs only the tasks it involves (re-review R2), and each is named in a warning: an ordering\n * preference is never the reason the plan cannot be read.\n */\n private withHostDerivedWebsiteClaimPrerequisites(\n graph: Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>>,\n companionExports: unknown,\n ): Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>> {\n const citedByTask = citedRequirementRefsByWebsiteTask(graph.tasks, companionExports);\n const additions = new Map<string, readonly string[]>();\n for (const task of graph.tasks) {\n const cited = citedByTask.get(task.taskRef) ?? [];\n const delivering = cited.flatMap((requirementRef) => deliveringTasksFor(requirementRef, graph.tasks)).map((entry) => entry.taskRef);\n const added = [...new Set(delivering)].filter((taskRef) => taskRef !== task.taskRef && !task.prerequisiteTaskRefs.includes(taskRef));\n if (added.length > 0) additions.set(task.taskRef, added);\n }\n if (additions.size === 0) return graph;\n const withEdges = (current: typeof graph, edges: ReadonlyMap<string, readonly string[]>) => BuildPlanTaskGraphSchema.safeParse({\n ...current,\n tasks: current.tasks.map((task) => {\n const added = edges.get(task.taskRef);\n return added === undefined ? task : { ...task, prerequisiteTaskRefs: [...task.prerequisiteTaskRefs, ...added] };\n }),\n });\n const isValid = (candidate: ReturnType<typeof withEdges>): candidate is Extract<ReturnType<typeof withEdges>, { success: true }> => candidate.success\n && !validateBuildPlanTaskGraph(candidate.data).some((finding) => BUILD_PLAN_TASK_GRAPH_HARD_FLOOR_CODES.includes(finding.code));\n const all = withEdges(graph, additions);\n if (isValid(all)) return all.data;\n // Some task's edges close a cycle: add them task by task, keeping each set that leaves the plan valid.\n let current = graph;\n for (const [taskRef, added] of additions) {\n const candidate = withEdges(current, new Map([[taskRef, added]]));\n if (isValid(candidate)) {\n current = candidate.data;\n } else {\n this.logger.warn?.(`Website task \"${taskRef}\" keeps its authored prerequisites: waiting on the tasks its claims cite would make the plan invalid`, { wouldWaitOn: added });\n }\n }\n return current;\n }\n\n /**\n * The build plan as the DISPATCH HOST reads it: the authored graph, plus the `database-migrations`\n * generation step whenever the application owes one and the plan does not author it (#1027).\n *\n * ## Why the host derives it rather than trusting the plan\n *\n * `bottom_up.build-decompose`'s method requires that step for every PostgreSQL-backed application,\n * and Wonder CRM's regenerated plan (2026-09-13) carried none — while all six of its schema tasks\n * could only write `shared-lib/`, never `backend-api/migrations/`. Each accepted schema change would\n * have left the model ahead of the accepted plan, and the application's boot gate refuses a missing\n * column (`postgresql_table_schema_mismatch`), so the lane would have taken its own application down.\n *\n * The model was given the rule and never the fact the rule keys on: the brief's workspace truth does\n * not state the database engine, and the method's instruction to `rg` the infra config is a command a\n * generation call cannot run. The validator could not catch it either — it receives the graph alone.\n * And no judgement is involved: whether a migration step is owed is a TOTAL function of two facts the\n * host already holds (`derive-before-you-ask.md`, \"could a function have produced my answer?\").\n *\n * ## The population, and the shape\n *\n * - Owed, per `assessSchemaPlanObligation`, in two cases that differ in whether a schema stage matters:\n * - an ACCEPTED plan and at least one SCHEMA stage — schema changes are what create drift against it;\n * - a declared PostgreSQL store with NO plan yet (#1144), with or without a schema stage — the initial\n * migration is owed by the ENGINE's resources alone, and the backend cannot boot before it exists.\n * This case was invisible while the lockfile was the only fact read: the foundation playbook was\n * believed to write the baseline and never did.\n * An UNDETERMINED store with a schema stage derives the step too, so the obligation stays visible: its\n * sync state is unanswerable, so it is passed over while other work is ready, and when nothing is its\n * refusal names why the store could not be read. A MongoDB-backed application is never offered it.\n * - An AUTHORED `database-migrations` step always wins. The derivation fills an omission; it never\n * second-guesses a plan that states its own ordering.\n * - PREPENDED, with NO prerequisites. Its landing condition is `SCHEMA_PLAN_IN_SYNC`, so it is landed\n * whenever the model and the accepted plan agree and becomes the FIRST ready task the moment an\n * accepted schema change creates drift — which is when it has to run, before anything restarts the\n * backend against a table it cannot build. The method's \"after the last schema stage\" was rejected\n * as the ordering: a schema task the loop guard skips forever (a stuck task never lands) would hold\n * the migration step behind it forever too.\n * - The obligation is read only after an authored step is ruled out, and costs a `stat` whenever a plan\n * is accepted; the authored infra config is loaded only for an application with no lockfile.\n *\n * ## What it costs\n *\n * `SCHEMA_PLAN_IN_SYNC` runs `wildo db diff --check` on every landed resolution, so every build-plan\n * read for such an application now asks the schema planner. Only an IN_SYNC answer lands the step. A\n * DRIFTED answer puts it first. An UNANSWERABLE one (any answer that is neither pass nor drift; the\n * causes are listed on `SchemaPlanSyncState`) leaves it un-landed but PASSED OVER while other tasks are ready, because running it then only throws.\n * This said an unanswerable check \"reads as NOT in sync, the step is offered, and running it over a\n * clean plan generates nothing\" — true of a clean plan, false of an unanswerable one, where offering\n * it first made every dispatch fail and stopped the whole plan (review, 2026-09-13).\n */\n /**\n * A plan that generates labels, for an application that enables more than one locale, owes a step\n * that TRANSLATES them (#2204).\n *\n * Translation used to be the second half of `i18n-labels`, so the graph had no node for \"the labels\n * exist\" separate from \"every locale is translated\", and every step that needed only the first\n * waited for the second. Measured on app-creation-test-004 (2026-10-01): the primary-locale labels\n * existed within minutes, translation into four locales ran for hours, and the documentation portal\n * — which reads primary-locale labels only — stayed dark the whole time.\n *\n * Derived rather than authored, for the reason {@link withHostDerivedMigrationStep} is: the\n * obligation follows from what the application declares (a second enabled locale) and from the plan\n * carrying a labels step, not from a decision the plan makes. A plan that authors its own\n * `i18n-translations` step gets none derived.\n *\n * - **Its only prerequisite is the labels step**, since translation reads the primary-locale files.\n * - **Nothing is made to depend on it.** The website and the application read their label files at\n * run time, so a translation landing needs no republish, and the portal is single-locale (#1993).\n * - **A one-locale application gets nothing**: the step would have no evidence paths, and an empty\n * list never lands, so it would sit at the head of the queue forever.\n */\n private withHostDerivedTranslationStep(\n graph: Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>>,\n ): Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>> {\n const isGenerationStep = (task: (typeof graph.tasks)[number], step: ApplicationBuildGenerationStep): boolean =>\n task.target?.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP && task.target.generationStepRef === step;\n if (graph.tasks.some((task) => isGenerationStep(task, ApplicationBuildGenerationStep.I18N_TRANSLATIONS))) return graph;\n\n const labelStepRefs = graph.tasks\n .filter((task) => isGenerationStep(task, ApplicationBuildGenerationStep.I18N_LABELS))\n .map((task) => task.taskRef);\n if (labelStepRefs.length === 0) return graph;\n if (this.generationSteps.resolveTranslationTargetLocales().length === 0) return graph;\n\n if (graph.tasks.some((task) => task.taskRef === HOST_DERIVED_I18N_TRANSLATIONS_TASK_REF)) {\n // Same refusal as the other derived steps: a duplicate ref is rejected by the graph schema.\n this.logger.warn?.(\n `The build plan owes an i18n-translations step, but \"${HOST_DERIVED_I18N_TRANSLATIONS_TASK_REF}\" already names another task; not deriving it.`,\n );\n return graph;\n }\n\n return BuildPlanTaskGraphSchema.parse({\n ...graph,\n tasks: [\n ...graph.tasks,\n {\n taskRef: HOST_DERIVED_I18N_TRANSLATIONS_TASK_REF,\n objective: 'Translate the application\\'s labels into every enabled locale other than the primary one. '\n + 'Derived by the dispatch host because the build plan generates primary-locale labels and the application '\n + 'enables further locales.',\n target: {\n kind: BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP,\n generationStepRef: ApplicationBuildGenerationStep.I18N_TRANSLATIONS,\n },\n produces: [],\n functionalTopic: MetaWorkflow_FunctionalTopic.ASSEMBLE_VERIFY_AND_ITERATE,\n skillRefs: ['i18n-translation-rerun'],\n prerequisiteTaskRefs: labelStepRefs,\n servesRefs: [],\n },\n ],\n });\n }\n\n /**\n * A plan that authors documentation CHAPTERS owes a step that PUBLISHES them.\n *\n * Derived rather than authored, for the reason {@link withHostDerivedMigrationStep} is: the\n * obligation follows from what the plan CONTAINS, not from a decision the plan makes. An\n * application with a documentation chapter owes a portal; one without owes nothing.\n *\n * Measured on the first end-to-end journey run (#1273). The plan carried SIX\n * `DOCUMENTATION_CHAPTER` tasks and no publication step, so the chapters were authored and nothing\n * rendered them. The cost was not only an unbuilt portal: `technical-doc/src/pages/search.tsx`\n * imports the search index the publish writes, so that package could not typecheck at all, and\n * `check:technical-doc-typecheck` stayed red for the whole build — failing a documentation task on\n * a red it did not cause, at $19.33. Publishing by hand made 87 outputs and turned the check green\n * in one command.\n *\n * ## The prerequisites are the whole design\n *\n * Unlike the migration step, this one cannot run with `prerequisiteTaskRefs: []`:\n *\n * - **every chapter task**, or it renders a portal missing the chapters still being written;\n * - **`i18n-labels`**, and that one is not a nicety. Publication resolves the application's\n * organization-role documentation and REFUSES without the primary-locale label — *\"requires\n * primary-locale label 'roles.ORG_ADMIN.label'; generate the application's role labels before\n * publishing documentation\"*. Run before labels, it fails on exactly that, which is how the\n * first hand-run of this pipeline failed.\n *\n * Both are read off the graph, so a plan with no labels step simply contributes no such edge\n * rather than acquiring a dangling one.\n *\n * `i18n-labels` means the PRIMARY locale only. Translation is the separate `i18n-translations` step\n * ({@link withHostDerivedTranslationStep}), and publication deliberately has no edge to it: the\n * portal reads primary-locale labels and nothing else, so waiting on translation only kept it dark\n * for hours (#2204).\n */\n private withHostDerivedDocumentationPublicationStep(\n graph: Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>>,\n ): Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>> {\n const authorsPublicationStep = graph.tasks.some((task) => task.target?.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP\n && task.target.generationStepRef === ApplicationBuildGenerationStep.DOCUMENTATION_PUBLICATION);\n if (authorsPublicationStep) return graph;\n\n const chapterTaskRefs = graph.tasks\n .filter((task) => (task.produces ?? []).some((product) => product.kind === BuildPlanTaskProductKind.DOCUMENTATION_CHAPTER))\n .map((task) => task.taskRef);\n if (chapterTaskRefs.length === 0) return graph;\n\n if (graph.tasks.some((task) => task.taskRef === HOST_DERIVED_DOCUMENTATION_PUBLICATION_TASK_REF)) {\n // Same refusal as the migration step's: deriving would duplicate a ref, which the graph schema\n // rejects — so say so rather than silently dropping the obligation.\n this.logger.warn?.(\n `The build plan owes a documentation-publication step, but \"${HOST_DERIVED_DOCUMENTATION_PUBLICATION_TASK_REF}\" already names another task; not deriving it.`,\n );\n return graph;\n }\n\n const labelStepRefs = graph.tasks\n .filter((task) => task.target?.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP\n && task.target.generationStepRef === ApplicationBuildGenerationStep.I18N_LABELS)\n .map((task) => task.taskRef);\n\n return BuildPlanTaskGraphSchema.parse({\n ...graph,\n tasks: [\n ...graph.tasks,\n {\n taskRef: HOST_DERIVED_DOCUMENTATION_PUBLICATION_TASK_REF,\n objective: 'Publish the application\\'s customer documentation portal, so the chapters this build authored are '\n + 'something a reader can reach. Derived by the dispatch host because the build plan authors documentation '\n + 'chapters and does not author the step that renders them.',\n target: {\n kind: BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP,\n generationStepRef: ApplicationBuildGenerationStep.DOCUMENTATION_PUBLICATION,\n },\n produces: [],\n functionalTopic: MetaWorkflow_FunctionalTopic.ASSEMBLE_VERIFY_AND_ITERATE,\n skillRefs: ['application-consumer-documentation-authoring'],\n prerequisiteTaskRefs: [...chapterTaskRefs, ...labelStepRefs],\n servesRefs: [],\n },\n ],\n });\n }\n\n /**\n * The build plan with an `engine-capabilities` step at its head whenever the application's decisions imply a\n * capability its COMMITTED configuration does not enable (#2497).\n *\n * The foundation step is where those capabilities were turned on, and a build can be planned without it:\n * app-creation-test-005's capability composition was blocked (#2416), its modules came from ensure-module\n * tasks, and it shipped `ORGANIZATIONS: false` and no transactional email under an organization-tenancy plan.\n * Derived for the reason {@link withHostDerivedMigrationStep} is: the obligation follows from what the\n * application declares, not from a decision the plan makes, and the decomposer was never given the fact.\n *\n * - **Committed, not the working tree**, so derivation and landing ask the same question: a capability enabled\n * and not yet committed keeps the step unlanded until it is, as every other step's files do.\n * - **At the head, with no edges.** Composed resources assume their primary scope's capability, so it runs\n * first; and nothing names it as a prerequisite, because once it has landed the host derives it no longer\n * and an edge to it would dangle.\n * - **Only what a step can satisfy.** A capability only a commercial provider serves (BILLING, SMS) is left\n * out by the derivation, or the step could never land and would hold the build.\n * - **Best effort.** A derivation that cannot be read derives nothing: the foundation's own run is still the\n * primary door, and refusing the whole plan over this read would trade a missing capability for a stopped build.\n */\n private async withHostDerivedEngineCapabilitiesStep(\n graph: Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>>,\n ): Promise<Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>>> {\n const authorsStep = graph.tasks.some((task) => task.target?.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP\n && task.target.generationStepRef === ApplicationBuildGenerationStep.ENGINE_CAPABILITIES);\n if (authorsStep) return graph;\n let unmet: readonly string[];\n try {\n const condition = await this.generationSteps.resolveGenerationStepLandedCondition({\n taskRef: HOST_DERIVED_ENGINE_CAPABILITIES_TASK_REF,\n target: { kind: BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP, generationStepRef: ApplicationBuildGenerationStep.ENGINE_CAPABILITIES },\n } as BuildPlanTask);\n if (condition.kind !== ApplicationBuildGenerationStepLandedKind.ENGINE_CAPABILITIES_ENABLED) return graph;\n unmet = await this.capabilitiesNotEnabledIn(condition, this.createCommittedTreeReader());\n } catch (error) {\n this.logger.warn?.('Could not derive the engine capabilities this application\\'s decisions imply; deriving no step for them', {\n error: describeCaughtError(error),\n });\n return graph;\n }\n if (unmet.length === 0) return graph;\n if (graph.tasks.some((task) => task.taskRef === HOST_DERIVED_ENGINE_CAPABILITIES_TASK_REF)) {\n this.logger.warn?.(\n `The build plan owes an engine-capabilities step, but \"${HOST_DERIVED_ENGINE_CAPABILITIES_TASK_REF}\" already names another task; not deriving it.`,\n );\n return graph;\n }\n return BuildPlanTaskGraphSchema.parse({\n ...graph,\n tasks: [\n {\n taskRef: HOST_DERIVED_ENGINE_CAPABILITIES_TASK_REF,\n objective: `Turn on the engine capabilities this application's decisions imply and its configuration does not enable: ${unmet.join(', ')}. `\n + 'Derived by the dispatch host, the same derivation the foundation step applies.',\n target: {\n kind: BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP,\n generationStepRef: ApplicationBuildGenerationStep.ENGINE_CAPABILITIES,\n },\n produces: [],\n functionalTopic: MetaWorkflow_FunctionalTopic.CONFIGURE_APPLICATION_FOUNDATION,\n skillRefs: ['config-saas'],\n prerequisiteTaskRefs: [],\n servesRefs: [],\n },\n ...graph.tasks,\n ],\n });\n }\n\n /**\n * Where each requirement stands in the build, for the website copy that cites it (#2507 review F1, F5): the tasks\n * serving it, whether each landed, what a run serving it reported still unmet, and the roadmap phase delivering it.\n * A requirement is DELIVERED only when it is served, every serving task landed, no serving run reported it unmet,\n * and no phase AFTER the current one is the only one delivering it.\n *\n * Website tasks are left out of the serving set: a page does not deliver the capability it describes. Best effort:\n * `undefined` when the plan or its landings cannot be read, and the brief then describes nothing as available.\n */\n private async resolveWebsiteClaimDelivery(companionExports: unknown): Promise<((requirementRef: string) => WebsiteClaimDelivery) | undefined> {\n try {\n const plan = await this.readBuildPlan();\n const { landed } = await this.resolveLandedTaskRefs(plan.tasks);\n const runs = await this.readLatestCompletedCodingRuns().catch(() => undefined);\n const roadmap = RoadmapSnapshotSchema.safeParse(\n decidedFamilyValuesFromCompanionExports(companionExports as Record<string, unknown>)[ApplicationSpecificationFamily.ROADMAP],\n );\n const phases = roadmap.success ? roadmap.data.phases : [];\n return (requirementRef) => deriveWebsiteClaimDelivery(requirementRef, {\n tasks: plan.tasks,\n landedTaskRefs: landed,\n reportedMissing: (taskRef, ref) => runs?.latest.get(taskRef)?.unmetRequirements?.find((entry) => entry.requirementRef === ref)?.missing,\n // The follow-up `withHostDerivedFollowUpTasks` derives for THIS report, by the same function (re-review R1).\n followUpTaskRefFor: (originTaskRef, ref) => {\n const reportingRun = runs?.latest.get(originTaskRef);\n return reportingRun === undefined ? undefined : deriveFollowUpTaskRef(originTaskRef, ref, reportingRun.runTaskId);\n },\n phases,\n });\n } catch (error) {\n this.logger.warn?.('Website claim delivery could not be read; the brief will describe nothing as available', { error: describeCaughtError(error) });\n return undefined;\n }\n }\n\n /**\n * The latest COMPLETED coding run of each build task (#2496), read by the follow-up derivation and cached for two\n * seconds: `readBuildPlan` runs on every board poll and dispatch, and one listing per burst is enough. Nothing that\n * decides LANDING reads it, so a listing up to two seconds old can only delay a follow-up by one poll. `truncated` says the listing hit its page cap, so an old origin's report may be missing from it.\n */\n private readLatestCompletedCodingRuns(): Promise<{ readonly latest: ReadonlyMap<string, ApplicationBuildTaskAttempt>; readonly truncated: boolean }> {\n const now = Date.now();\n if (this.latestCompletedCodingRuns !== undefined && now - this.latestCompletedCodingRuns.at < LATEST_COMPLETED_CODING_RUNS_TTL_MS) {\n return this.latestCompletedCodingRuns.value;\n }\n const value = this.fetchLatestCompletedCodingRuns();\n this.latestCompletedCodingRuns = { at: now, value };\n value.catch(() => { this.latestCompletedCodingRuns = undefined; });\n return value;\n }\n\n /** {@link readLatestCompletedCodingRuns} without its cache: for a reader that must see a record it just wrote (#2593). */\n private async fetchLatestCompletedCodingRuns(): Promise<{ readonly latest: ReadonlyMap<string, ApplicationBuildTaskAttempt>; readonly truncated: boolean }> {\n const rows = await this.executions.listActorExecutions(\n CompanionExecutionsListQuerySchema.parse({ systemRef: APPLICATION_CODING_SYSTEM_REF, status: FlowsActors_Status.COMPLETED, limit: BUILD_TASK_ATTEMPT_PAGE_CAP }),\n );\n const latest = new Map<string, ApplicationBuildTaskAttempt>();\n for (const projected of rows.map(projectBuildTaskAttempt)) {\n if (projected === null || projected.attempt.status !== FlowsActors_Status.COMPLETED) continue;\n const previous = latest.get(projected.taskRef);\n if (previous === undefined || previous.startedAt < projected.attempt.startedAt) latest.set(projected.taskRef, projected.attempt);\n }\n return { latest, truncated: rows.length >= BUILD_TASK_ATTEMPT_PAGE_CAP };\n }\n\n /**\n * A follow-up task for every requirement a COMPLETED coding run reported still unmet (#2496).\n *\n * 005's workers wrote \"office/field access is only partly met\" and \"the roles do nothing yet … it still needs its own\n * work\" into closing reports that every run was accepted on, and no later task, coherence entry or judge picked any of\n * it up. A run now states such a gap in a typed block; this derives the task that answers it, so the gap re-enters the\n * build loop instead of ending in prose. Under the YOLO posture it marks and proceeds: the reporting run still lands.\n *\n * - Read off each task's LATEST COMPLETED run, so a re-run that no longer reports the gap drops its follow-up, and a\n * re-run reporting it again derives a new one (its ref carries the reporting run's token).\n * - The follow-up keeps the origin's target and skills and waits on the ORIGIN only: waiting on every task serving the\n * requirement would hold it behind any of them that never lands. Its objective names those tasks, and its scope is\n * the origin's, so it cannot redo their work.\n * - Only for a target that lands by a completed run: a follow-up on a shell placement would read as landed through the\n * origin's probe without ever running, which is the silence this exists to remove, and a generation step is run by\n * the companion, never by a coding run, so a follow-up there would never run at all. Both are excluded by name.\n * - A follow-up's own report derives nothing further, which keeps the chain one step long. The follow-up still lands\n * (RAN-not-PROVEN, see `resolveLandedTaskRefs`), and its record keeps the gap it still reports, for a person to read.\n * - One bad entry is skipped and named, never the reason the plan cannot be read.\n */\n private async withHostDerivedFollowUpTasks(\n graph: Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>>,\n ): Promise<Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>>> {\n let runs: Awaited<ReturnType<typeof this.readLatestCompletedCodingRuns>>;\n try {\n runs = await this.readLatestCompletedCodingRuns();\n } catch (error) {\n this.logger.warn?.('Could not read the coding runs; deriving no follow-up tasks', { error: describeCaughtError(error) });\n return graph;\n }\n const taskRefs = new Set(graph.tasks.map((task) => task.taskRef));\n let current = graph;\n for (const origin of graph.tasks) {\n if (origin.taskRef.startsWith(HOST_DERIVED_FOLLOW_UP_TASK_REF_PREFIX)) continue;\n const latest = runs.latest.get(origin.taskRef);\n for (const unmet of latest?.unmetRequirements ?? []) {\n const taskRef = deriveFollowUpTaskRef(origin.taskRef, unmet.requirementRef, latest!.runTaskId);\n if (taskRefs.has(taskRef)) {\n this.logger.warn?.(`A reported gap derives \"${taskRef}\", which already names another task; not deriving it`, { origin: origin.taskRef, requirementRef: unmet.requirementRef });\n continue;\n }\n const servingTasks = graph.tasks\n .filter((task) => task.taskRef !== origin.taskRef && task.servesRefs.includes(unmet.requirementRef))\n .map((task) => task.taskRef);\n const followUp = {\n taskRef,\n objective: `Meet ${unmet.requirementRef}, which ${origin.taskRef} reported still unmet: ${unmet.missing} `\n + 'Read what is already built first: if a task that ran since has met it, change nothing and say so. '\n + (servingTasks.length > 0 ? `Other tasks serving it: ${servingTasks.join(', ')}; their work is theirs. ` : '')\n + 'Derived by the dispatch host from that run\\'s closing report.',\n target: origin.target,\n produces: [],\n functionalTopic: origin.functionalTopic,\n skillRefs: origin.skillRefs,\n prerequisiteTaskRefs: [origin.taskRef],\n // Only a ref the origin serves: a free-text ref would be a dangling citation in the plan.\n servesRefs: origin.servesRefs.includes(unmet.requirementRef) ? [unmet.requirementRef] : [],\n } as BuildPlanTask;\n if (origin.target.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP || resolveBuildTaskLandedProbes(followUp).length > 0) {\n this.logger.warn?.(`A reported gap on ${origin.taskRef} (${origin.target.kind}) derives no follow-up: that target does not land by a coding run, so a follow-up would read as landed without running. The gap stays on the run's record.`, { requirementRef: unmet.requirementRef });\n continue;\n }\n const extended = BuildPlanTaskGraphSchema.safeParse({ ...current, tasks: [...current.tasks, followUp] });\n if (!extended.success) {\n this.logger.warn?.(`A reported gap on ${origin.taskRef} could not become a follow-up task; it stays on the run's record`, { requirementRef: unmet.requirementRef, issues: extended.error.issues.map((issue) => issue.message) });\n continue;\n }\n current = extended.data;\n taskRefs.add(taskRef);\n }\n }\n /*\n * Whenever the cap is hit, derived or not (#2496 review N1): the gap the cap hides is exactly the case that derives\n * nothing. Once per process, since the plan is read on every board poll and the answer does not change between them.\n */\n if (runs.truncated && !this.followUpListingTruncationWarned) {\n this.followUpListingTruncationWarned = true;\n this.logger.warn?.(`The coding-run listing hit its ${BUILD_TASK_ATTEMPT_PAGE_CAP}-run cap: a gap an older run reported may not have derived its follow-up.`);\n }\n return current;\n }\n\n /**\n * The build plan with a `display-name` step at its head whenever the landed brand's name is not the COMMITTED\n * `displayName` (#2505). Derived for the reason {@link withHostDerivedEngineCapabilitiesStep} is: the brand decided\n * the name, and applying it is a consequence, not a decision the plan makes. No edges, so it never dangles once it\n * has landed and is derived no longer. Best effort: an unreadable brand derives nothing.\n */\n private async withHostDerivedDisplayNameStep(\n graph: Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>>,\n ): Promise<Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>>> {\n const authorsStep = graph.tasks.some((task) => task.target?.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP\n && task.target.generationStepRef === ApplicationBuildGenerationStep.DISPLAY_NAME);\n if (authorsStep) return graph;\n let condition: Awaited<ReturnType<typeof this.generationSteps.resolveGenerationStepLandedCondition>>;\n try {\n condition = await this.generationSteps.resolveGenerationStepLandedCondition({\n taskRef: HOST_DERIVED_DISPLAY_NAME_TASK_REF,\n target: { kind: BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP, generationStepRef: ApplicationBuildGenerationStep.DISPLAY_NAME },\n } as BuildPlanTask);\n } catch (error) {\n this.logger.warn?.('Could not read the brand\\'s name; deriving no display-name step', { error: describeCaughtError(error) });\n return graph;\n }\n if (condition.kind !== ApplicationBuildGenerationStepLandedKind.DISPLAY_NAME_APPLIED) return graph;\n if (await this.displayNameApplied(condition, this.createCommittedTreeReader())) return graph;\n if (graph.tasks.some((task) => task.taskRef === HOST_DERIVED_DISPLAY_NAME_TASK_REF)) {\n this.logger.warn?.(`The build plan owes a display-name step, but \"${HOST_DERIVED_DISPLAY_NAME_TASK_REF}\" already names another task; not deriving it.`);\n return graph;\n }\n return BuildPlanTaskGraphSchema.parse({\n ...graph,\n tasks: [\n {\n taskRef: HOST_DERIVED_DISPLAY_NAME_TASK_REF,\n objective: `Name the application \"${condition.displayName}\", as its brand decided: the SaaS config's displayName and every file the scaffold wrote the provisional name into. `\n + 'Derived by the dispatch host because the brand names the application and nothing has applied it.',\n target: {\n kind: BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP,\n generationStepRef: ApplicationBuildGenerationStep.DISPLAY_NAME,\n },\n produces: [],\n functionalTopic: MetaWorkflow_FunctionalTopic.CONFIGURE_APPLICATION_FOUNDATION,\n skillRefs: ['config-saas'],\n prerequisiteTaskRefs: [],\n servesRefs: [],\n },\n ...graph.tasks,\n ],\n });\n }\n\n /** Does `tree`'s configuration declare the display name a DISPLAY_NAME_APPLIED condition names (#2505)? */\n private async displayNameApplied(condition: { readonly configPath: string; readonly displayName: string }, tree: CommittedTreeReader): Promise<boolean> {\n const content = await tree.readText(condition.configPath);\n return content !== undefined && content !== null && readApplicationDisplayName(content) === condition.displayName;\n }\n\n /** The capabilities an ENGINE_CAPABILITIES_ENABLED condition names that `tree`'s configuration does not enable (#2497). */\n private async capabilitiesNotEnabledIn(\n condition: { readonly configPath: string; readonly capabilities: readonly string[] },\n tree: CommittedTreeReader,\n ): Promise<readonly string[]> {\n const content = await tree.readText(condition.configPath);\n // No committed configuration (or none readable) enables nothing.\n if (content === undefined || content === null) return [...condition.capabilities];\n return condition.capabilities.filter((capability) => readEngineCapabilityEnabled({ filePath: condition.configPath, content, capability }) !== true);\n }\n\n private async withHostDerivedMigrationStep(\n graph: Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>>,\n ): Promise<Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>>> {\n const authorsMigrationStep = graph.tasks.some((task) => task.target?.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP\n && task.target.generationStepRef === ApplicationBuildGenerationStep.DATABASE_MIGRATIONS);\n if (authorsMigrationStep) return graph;\n const hasSchemaStage = graph.tasks.some((task) => task.target?.kind === BuildPlanTaskTargetKind.RESOURCE_STAGE\n && task.target.stage === BuildPlanResourceStage.SCHEMA);\n const { obligation } = await this.generationSteps.assessSchemaPlanObligation();\n const owed = obligation === ApplicationSchemaPlanObligation.BASELINE_OWED\n || (hasSchemaStage && (obligation === ApplicationSchemaPlanObligation.ACCEPTED_PLAN || obligation === ApplicationSchemaPlanObligation.UNDETERMINED));\n if (!owed) return graph;\n if (graph.tasks.some((task) => task.taskRef === HOST_DERIVED_DATABASE_MIGRATIONS_TASK_REF)) {\n // The ref is taken by a task that is NOT a migration step. Deriving would duplicate a ref, which\n // the graph schema refuses — so say so rather than silently dropping the obligation.\n this.logger.warn?.(\n `The build plan owes a database-migrations step, but \"${HOST_DERIVED_DATABASE_MIGRATIONS_TASK_REF}\" already names another task; not deriving it.`,\n );\n return graph;\n }\n return BuildPlanTaskGraphSchema.parse({\n ...graph,\n tasks: [\n {\n taskRef: HOST_DERIVED_DATABASE_MIGRATIONS_TASK_REF,\n objective: (obligation === ApplicationSchemaPlanObligation.BASELINE_OWED\n ? 'Generate the initial migration and its schema-plan baseline, so the tables this PostgreSQL application declares exist before its backend boots. '\n : 'Migrate the schema drift that accepted schema-stage changes created, so the application can still boot. ')\n + 'Derived by the dispatch host because the build plan owes this step and does not author it.',\n target: {\n kind: BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP,\n generationStepRef: ApplicationBuildGenerationStep.DATABASE_MIGRATIONS,\n },\n produces: [],\n functionalTopic: MetaWorkflow_FunctionalTopic.MODEL_DOMAIN_GRAPH,\n skillRefs: ['application-database-migrations'],\n prerequisiteTaskRefs: [],\n servesRefs: [],\n },\n ...graph.tasks,\n ],\n });\n }\n\n /**\n * What the run is allowed to see — the PUSH floor of the dispatch lane's context (issue #253).\n *\n * Widened 2026-09-02 from \"the task itself and nothing else yet\" to the lean mandatory core the\n * epic's re-analysis decided, and deliberately no further: everything an agent might need beyond\n * its target's blast radius is the PULL door's job (`wildo context …`, issue #252), which the\n * `live-queries` source below points at. Anticipating everything here would be the planner trap\n * (#254) re-entering through the push door. Everything is model-safe by construction — the\n * application's own accepted build plan, its own live registry, its own domain plan, its installed\n * skill index and its own configuration (#2495) — and the contract's composer re-asserts\n * `SAFE_FOR_MODEL` on every source regardless.\n *\n * The skill-index source is the one deliberate widening past \"the target's blast radius\" (#2495):\n * measured over 005's coding runs, workers never opened the index and read the engine's compiled\n * code instead, so a door they do not know to open is not a pull door. It carries only the domains\n * the task's own skills belong to (median ~5 KB over 005's plan; a website task reaches ~26 KB,\n * the Website domain being the index's largest), plus the names of the others.\n *\n * ## Failure posture: best-effort on the derived sources, deliberately\n *\n * The playbook lane's workspace-truth section fails CLOSED, because a tool-less planner with no\n * workspace truth invents module ids. A CODING agent is the opposite case on both counts: it has\n * tools (it can read the tree, and the door), so a missing derived source degrades speed rather\n * than truth — while refusing the dispatch because a subprocess hiccuped would block the build on\n * context the run could recover for itself. So: the TASK is always present, the derived sources\n * are added when their reads succeed, and a failed read is a WARN naming what was omitted.\n *\n * ## No new cache, verified rather than assumed\n *\n * The re-analysis asked for the introspection read to be cached across a 55-task plan. It already\n * is: `CompanionIntrospectionService.requestInfo` carries its own source-state derivation cache,\n * keyed on the observed workspace state — asking again after nothing changed is a cache hit, and\n * a landed task invalidates it by changing the sources it hashes. Adding a second cache here would\n * be a copy that can only ever disagree.\n */\n\n /** The coding contract for one task: its skills resolved once, and carried by both the contract and its self-description. */\n private async composeTaskCodingContract(\n task: BuildPlanTask,\n boundary: Parameters<typeof composeBuildTaskCodingContract>[0]['boundary'],\n totalTasks: number,\n landedOverride?: BuildTaskLandedOverride,\n ): Promise<ReturnType<typeof composeBuildTaskCodingContract>> {\n const skillRefs = await this.resolveTaskSkillRefs(task);\n const contextSources = await this.buildContextSources(task, totalTasks, skillRefs);\n return composeBuildTaskCodingContract({\n task,\n boundary,\n // An operator ran this task although its probe calls it landed: the run is told why (#2409).\n contextSources: landedOverride ? [...contextSources, landedOverrideContextSource(landedOverride)] : contextSources,\n objectiveRef: 'application-creation:objective/build-plan',\n installedSkillRefs: skillRefs,\n });\n }\n\n /**\n * The skills a coding task is authored with — the ONE list the contract's `installedSkillRefs`, the\n * task self-description and the dispatch plan all carry. A website task's are DERIVED from the website\n * plan (a section is authored with the skill its kind names), and an experience task's from its\n * products (a view, a frontend configuration, a milestone, a piece of guidance — #1660), not trusted\n * from the decomposer's model; every other task keeps what it declared.\n *\n * One list on purpose: the agent's prompt loads `installedSkillRefs` and treats context sources as\n * data, so a derivation that reached only the self-description was a skill the agent was never told to\n * load — the first version of this fix did exactly that.\n *\n * Whichever list that is, the skills the task's PRODUCTS require are added to it (#1832): an inbound\n * channel handler is authored with `inbound-channels` on every path, including a task that also carries\n * an experience product and so takes the experience derivation. So are the skills its TARGET requires\n * (#2495): a CONFIG task on a resource whose schema declares personal data carries the retention skill.\n */\n private async resolveTaskSkillRefs(task: BuildPlanTask): Promise<readonly string[]> {\n const targetDeclaresPersonalData = await this.targetResourceDeclaresPersonalData(task);\n return [...new Set([...(await this.resolveTargetSkillRefs(task)), ...productDerivedSkillRefs(task), ...targetDerivedSkillRefs(task, { targetDeclaresPersonalData })])];\n }\n\n /**\n * Whether a resource-stage task's target DECLARES personal data in its schema (#2495), read from the file its SCHEMA\n * task wrote (every CONFIG task depends on it). A schema that cannot be read is answered `false` and logged: the\n * retention skill is then not routed, which is the state before #2495, never a guess.\n */\n private async targetResourceDeclaresPersonalData(task: BuildPlanTask): Promise<boolean> {\n if (task.target.kind !== BuildPlanTaskTargetKind.RESOURCE_STAGE || task.target.stage !== BuildPlanResourceStage.CONFIG) return false;\n const schemaPath = resourceSchemaFilePath(task.target.moduleRef, task.target.resourceRef);\n try {\n return schemaSourceDeclaresPersonalData(await readFile(join(this.companionContext.saasRoot, schemaPath), 'utf8'));\n } catch (error) {\n this.logger.warn('Personal-data probe skipped: the target schema could not be read, so the retention skill is not routed', { taskRef: task.taskRef, schemaPath, error: String(error) });\n return false;\n }\n }\n\n private async resolveTargetSkillRefs(task: BuildPlanTask): Promise<readonly string[]> {\n if (task.target.kind === BuildPlanTaskTargetKind.WEBSITE) {\n try {\n return websiteTaskSkillRefs(task, await loadSpecificationsCompanionExports(this.companionContext));\n } catch (error) {\n this.logger.warn('Website skill derivation skipped; the task keeps its declared skills', { taskRef: task.taskRef, error: String(error) });\n return task.skillRefs;\n }\n }\n if (taskHasExperienceProduct(task)) {\n try {\n return experienceTaskSkillRefs(task, await loadSpecificationsCompanionExports(this.companionContext));\n } catch (error) {\n // Only an execution view needs the plan; every other experience product still derives from itself.\n this.logger.warn('Experience plan unreadable; skills derived from the products alone', { taskRef: task.taskRef, error: String(error) });\n return experienceTaskSkillRefs(task, undefined);\n }\n }\n return task.skillRefs;\n }\n\n private async buildContextSources(task: BuildPlanTask, totalTasks: number, skillRefs: readonly string[]): Promise<readonly BuildTaskContextSource[]> {\n const sources: BuildTaskContextSource[] = [buildTaskSelfDescriptionContextSource(task, totalTasks, skillRefs)];\n\n /*\n * WHAT THE LAST ATTEMPT RAN INTO (#1536). A retry used to be byte-identical to the attempt that\n * failed, which is the definition of the loop an attempt budget exists to stop: the one input the\n * next attempt lacks is how the previous one failed. Shown with the re-arm note when there is one,\n * because \"it failed like this, and this was fixed\" is exactly what a retry needs. Best-effort.\n */\n try {\n const [latest] = await this.dispatch.listAttributableFailedRunsForBuildTask(task.taskRef, undefined, { includeRearmed: true });\n if (latest !== undefined) sources.push(previousAttemptContextSource(latest));\n } catch (error) {\n this.logDebug('Previous-attempt source omitted from the dispatch context', { taskRef: task.taskRef, error: String(error) });\n }\n\n /*\n * WHAT HAPPENED TO THE LAST COMPLETED ATTEMPT, when a sibling overwrote its product (#2210). The re-run\n * meets a shared file that now holds other tasks' entries and not its own; told nothing, an agent may\n * \"restore\" the file to what it wrote last time and remove theirs. Only the LATEST completed run is\n * read, so a task that has since completed cleanly is not told about an old collision. Best-effort.\n */\n try {\n const [latestCompleted] = [...(await this.dispatch.listCompletedRunsForBuildTask(task.taskRef))]\n .sort((left, right) => (right.completedAt ?? '').localeCompare(left.completedAt ?? ''));\n if (latestCompleted?.interference !== undefined) sources.push(interferedAttemptContextSource(latestCompleted.taskId, latestCompleted.interference));\n } catch (error) {\n this.logDebug('Interfered-attempt source omitted from the dispatch context', { taskRef: task.taskRef, error: String(error) });\n }\n\n /*\n * The DOOR MENU — tier-0 of the pull half: the live-query ids and the two commands that expand\n * them. Ids only, not descriptions: `wildo context list` IS the descriptions, one command away,\n * and rendering ~27 descriptions into every dispatch prompt would spend the budget this source\n * exists to save. Read from the same catalog the CLI menu serves, so it cannot drift from what\n * the companion actually answers.\n */\n const catalog = this.introspection.describeCatalog();\n sources.push({\n sourceRef: 'application-creation:context/live-queries',\n originRef: 'application-creation:origin/dev-companion',\n content: {\n guidance: 'Live application state is one shell command away — prefer asking over re-deriving from the tree. '\n + '`wildo context list` prints the menu with descriptions; `wildo context info <behaviorId>` runs one query; '\n + '`wildo context journey` shows the creation journey; `wildo context coherence` the cross-family coherence report; '\n + '`wildo context elements map|get|related` retrieves the product decisions already made (ICPs, requirements, phases…) '\n + 'a subset at a time — map first, then get the refs your task needs.',\n behaviorIds: catalog.behaviors.map((behavior) => behavior.behaviorId),\n },\n });\n\n /*\n * THE SKILLS BEYOND THE ROUTED ONES (#2495). Measured over ~100 coding runs of app-creation-test-005: the skill\n * index was opened 0 times, and where the routed skills fell short the workers read the engine's compiled `dist`.\n * The index is installed in the application; the brief carries the sections of the domains its routed skills\n * belong to (every sibling skill, with its trigger phrases) and the name of every other domain. Best-effort.\n */\n try {\n const indexMarkdown = await readFile(join(this.companionContext.saasRoot, INSTALLED_SKILL_INDEX_RELATIVE_PATH), 'utf8');\n const slice = sliceSkillIndexForTask(indexMarkdown, skillRefs);\n if (slice !== undefined) {\n sources.push({\n sourceRef: 'application-creation:context/skill-index',\n originRef: 'application-creation:origin/installed-skill-index',\n content: {\n guidance: `Your installed skills are listed above; these are the domains they belong to, with every sibling skill. A skill named here is at \\`.claude/skills/<id>/SKILL.md\\` — read it before reaching for the engine's compiled code. The whole catalogue is \\`${INSTALLED_SKILL_INDEX_RELATIVE_PATH}\\`.`,\n routedDomains: slice.routedDomains,\n otherDomains: slice.otherDomains,\n },\n });\n }\n } catch (error) {\n // WARN, as the method's other omissions: a brief silently missing its skill index is the 005 state again.\n this.logger.warn('Skill-index source omitted from the dispatch context', { taskRef: task.taskRef, error: String(error) });\n }\n\n /*\n * WHAT THE APPLICATION HAS TURNED ON (#2495). 005 shipped ORGANIZATIONS disabled under an organization-scoped domain\n * plan, and no worker could see it. Read from the configuration (total over the capability vocabulary) and the\n * domain plan's tenancy decision; a contradiction between them is stated, never resolved here. Best-effort.\n */\n try {\n const configContent = await readFile(join(this.companionContext.saasRoot, SAAS_CONFIG_FILE_NAME), 'utf8');\n let tenancy: DomainPlanTenancyModel | undefined;\n try {\n const exports = await loadSpecificationsCompanionExports(this.companionContext);\n const declared = (exports as { domainPlanSpecification?: { tenancy?: unknown } }).domainPlanSpecification?.tenancy;\n tenancy = Object.values(DomainPlanTenancyModel).find((member) => member === declared);\n } catch {\n // No readable domain plan: the capabilities still reach the brief, without the tenancy comparison.\n }\n const facts = readApplicationCapabilityFacts({ configContent, configPath: SAAS_CONFIG_FILE_NAME, tenancy });\n sources.push({\n sourceRef: 'application-creation:context/application-capabilities',\n originRef: 'application-creation:origin/application-configuration',\n content: {\n ...facts,\n note: 'Engine capabilities as `wildo.saas.config.ts` declares them. Build only on what is enabled: an organization-scoped resource or an '\n + 'organization role assumes ORGANIZATIONS, a sent email assumes EMAIL_TRANSACTIONAL. A capability this task needs and the configuration '\n + 'does not enable is reported in your result, not enabled by you.',\n },\n });\n } catch (error) {\n this.logger.warn('Application-capabilities source omitted from the dispatch context', { taskRef: task.taskRef, error: String(error) });\n }\n\n const moduleRef = task.target && 'moduleRef' in task.target ? task.target.moduleRef : undefined;\n const resourceRef = task.target && 'resourceRef' in task.target ? task.target.resourceRef : undefined;\n\n // WORKSPACE TRUTH, sliced to the target: the target module's real resources and present schema\n // fields, plus the exact list of every module id (counts stay exact — a slice that hid the\n // population would under-report, and an agent that invents a module id dispatches a no-op).\n try {\n const backendServiceKey = Object.entries(this.companionContext.servicesByKey)\n .find(([, service]) => !service.frontendType)?.[0];\n if (backendServiceKey) {\n const result = await this.introspection.requestInfo({ serviceKey: backendServiceKey, behavior: 'resources-registry' });\n if (result.success) {\n const snapshot = result.data as {\n modules?: ReadonlyArray<{ moduleId: string; resourceTypes: readonly string[] }>;\n resourceSchemaFields?: Record<string, readonly string[]>;\n };\n const modules = snapshot.modules ?? [];\n const targetModule = moduleRef === undefined\n ? undefined\n : modules.find((sharedModule) => slugifyRegistryIdentifier(sharedModule.moduleId) === moduleRef);\n sources.push({\n sourceRef: 'application-creation:context/workspace-truth',\n originRef: 'application-creation:origin/resources-registry-introspection',\n content: {\n allModuleIds: modules.map((sharedModule) => sharedModule.moduleId),\n ...(targetModule\n ? {\n targetModule: {\n moduleId: targetModule.moduleId,\n resources: targetModule.resourceTypes.map((resourceType) => ({\n resourceType,\n slugRef: slugifyRegistryIdentifier(resourceType),\n presentSchemaFields: snapshot.resourceSchemaFields?.[resourceType] ?? [],\n })),\n },\n }\n : {}),\n note: 'A resource listed here already EXISTS as a registered skeleton — its task is enrichment, not creation. '\n + 'A domain-plan resource NOT listed here does not exist yet. Full registry: `wildo context info resources-registry`.',\n },\n });\n } else {\n this.logDebug('Workspace-truth source omitted from the dispatch context (introspection failed)', { taskRef: task.taskRef });\n }\n }\n } catch (error) {\n this.logger.warn('Workspace-truth source omitted from the dispatch context', { taskRef: task.taskRef, error: String(error) });\n }\n\n /*\n * THE TARGET RESOURCE AND WHAT IT IS CONNECTED TO (#1437).\n *\n * The module slice above answers \"what else is in this module\", which is neither what a\n * resource-targeted task needs nor all of it: it OVER-supplies the siblings the task never\n * touches, and UNDER-supplies the engine resources the target's own foreign keys point at —\n * `users`, `organizations`, the scope anchors, which are the most load-bearing edges a resource\n * has and are in no application module at all. It also carries field NAMES only: no\n * relationships, no operations, no specification prose.\n *\n * One hop from the target is the honest neighbourhood. Two hops reaches most of the application\n * through the scope anchors, which is the whole-registry answer with extra steps.\n *\n * Best-effort like every source here, and it costs a derivation the first time (~35 s) that\n * every later task on this application reads from cache. A dispatch runs for minutes and spends\n * real money; paying that once to stop the agent guessing at a relationship is the cheaper half.\n */\n if (resourceRef !== undefined) {\n try {\n const backendServiceKey = Object.entries(this.companionContext.servicesByKey)\n .find(([, service]) => !service.frontendType)?.[0];\n if (backendServiceKey) {\n const { index, freshness } = await readWorkspaceElements(this.introspection, backendServiceKey);\n /*\n * The plan addresses resources by SLUG and the registry by `resourceType`; they differ\n * (`todoList` vs `todo-list`). Resolved by slugifying the index's own keys rather than by\n * un-slugifying the ref, because the slug is lossy and the registry is the authority on\n * which resources exist.\n */\n const resourceType = [...index.resources.keys()].find((candidate) => slugifyRegistryIdentifier(candidate) === resourceRef);\n const related = resourceType === undefined ? undefined : relatedWorkspaceResources(index, resourceType);\n if (related) {\n sources.push({\n sourceRef: 'application-creation:context/target-resource-neighbourhood',\n originRef: 'application-creation:origin/application-domain-model',\n content: {\n freshness: describeWorkspaceFreshness(freshness),\n target: resourceType,\n edges: related.edges,\n resources: related.resources,\n ...(related.unresolved.length > 0 ? { unresolvedNeighbours: related.unresolved } : {}),\n note: 'The target resource as it EXISTS today, with its fields, operations and relationships, plus the '\n + 'resources one hop away. Direction matters: `foreignKeyHolderResourceType` says which side carries the key. '\n + 'Ask for more with `wildo context workspace get <resourceType>` or `wildo context workspace related <resourceType>`.',\n },\n });\n } else {\n // Said rather than omitted: a target the registry does not carry is a CREATION task, and\n // an absent section would read as a failed read.\n this.logDebug('Target resource is not registered yet — no neighbourhood to supply', { taskRef: task.taskRef, resourceRef });\n }\n }\n } catch (error) {\n this.logger.warn('Target-resource neighbourhood omitted from the dispatch context', { taskRef: task.taskRef, error: String(error) });\n }\n }\n\n // THE DOMAIN-PLAN SLICE for the target: WHAT this task's objective enriches toward, in the\n // application's own accepted words — the module semantics and, for a relationship task, the\n // relationship drafts touching the target. Absent plan (older app, or foundation not run) is\n // simply absent; nothing here invents a fallback.\n try {\n const exports = await loadSpecificationsCompanionExports(this.companionContext);\n const domainPlan = (exports as { domainPlanSpecification?: unknown }).domainPlanSpecification as {\n modules?: ReadonlyArray<{ relatedModuleId: string; mainResources?: readonly string[]; supportingResources?: readonly string[] }>;\n relationships?: ReadonlyArray<{ relationshipRef: string; sourceResourceRef: string; targetResourceRef: string }>;\n lifecycles?: ReadonlyArray<{ resourceRef: string; transitions: ReadonlyArray<{ createsResourceRef?: string }> }>;\n } | undefined;\n const planModules = domainPlan?.modules ?? [];\n const targetPlanModule = moduleRef === undefined\n ? undefined\n : planModules.find((planModule) => slugifyRegistryIdentifier(planModule.relatedModuleId) === moduleRef);\n if (targetPlanModule) {\n const moduleResourceSlugs = new Set(\n [...(targetPlanModule.mainResources ?? []), ...(targetPlanModule.supportingResources ?? [])]\n .map((resourceType) => slugifyRegistryIdentifier(resourceType)),\n );\n sources.push({\n sourceRef: 'application-creation:context/domain-plan-slice',\n originRef: 'application-creation:origin/domain-plan',\n content: {\n targetModule: targetPlanModule,\n ...(resourceRef !== undefined ? { targetResourceRef: resourceRef } : {}),\n relationshipsTouchingModule: (domainPlan?.relationships ?? []).filter((relationship) =>\n moduleResourceSlugs.has(slugifyRegistryIdentifier(relationship.sourceResourceRef))\n || moduleResourceSlugs.has(slugifyRegistryIdentifier(relationship.targetResourceRef))),\n /*\n * The states, transitions and stamped fields of the module's resources (#2491 review F5), and any lifecycle\n * whose conversion creates one of them. The schema task creates the status enum and the stamped fields\n * from these, and a transition task needs its starting states; carried only in prose objectives, the\n * states were whatever the decomposer happened to restate.\n */\n lifecyclesTouchingModule: (domainPlan?.lifecycles ?? []).filter((lifecycle) =>\n moduleResourceSlugs.has(slugifyRegistryIdentifier(lifecycle.resourceRef))\n || lifecycle.transitions.some((transition) => transition.createsResourceRef !== undefined\n && moduleResourceSlugs.has(slugifyRegistryIdentifier(transition.createsResourceRef)))),\n },\n });\n }\n } catch (error) {\n this.logger.warn('Domain-plan slice omitted from the dispatch context', { taskRef: task.taskRef, error: String(error) });\n }\n\n // WHAT THIS TASK IS FOR (#1419): the full text of every element its `servesRefs` names — the\n // requirements, phases, success criteria and constraints it answers to — and a map of the other\n // tasks building the same module. Without it the agent knew WHAT to build and not what it was for:\n // no acceptance criterion, no served success criterion, no constraint. A deterministic derivation\n // through the one decided-element index (#1416), so it sits inside the push floor of decision\n // #251 — nothing here chooses context.\n try {\n const servedSource = buildServedElementsContextSource(task, await loadSpecificationsCompanionExports(this.companionContext));\n if (servedSource !== null) sources.push(servedSource);\n } catch (error) {\n this.logger.warn('Served-elements source omitted from the dispatch context', { taskRef: task.taskRef, error: String(error) });\n }\n\n // WHAT A WEBSITE TASK IS BUILDING: its page or section as the website plan decided it, and the\n // boundary between a page task and its section tasks. See `buildWebsitePlanContextSource`.\n if (task.target.kind === BuildPlanTaskTargetKind.WEBSITE) {\n try {\n const companionExports = await loadSpecificationsCompanionExports(this.companionContext);\n const websiteSource = buildWebsitePlanContextSource(task, companionExports, await this.resolveWebsiteClaimDelivery(companionExports));\n if (websiteSource !== null) sources.push(websiteSource);\n } catch (error) {\n this.logger.warn('Website-plan source omitted from the dispatch context', { taskRef: task.taskRef, error: String(error) });\n }\n }\n\n // WHAT A SHELL TASK MUST MAKE THE SHELL CARRY (#1554): the placement plan's decisions for its\n // surface, in the identities the landing probe compares. Same derivation as the probe's witness.\n if (task.target.kind === BuildPlanTaskTargetKind.SHELL_PLACEMENT) {\n try {\n sources.push(buildShellPlacementPlanContextSource(task.target.surface, await loadSpecificationsCompanionExports(this.companionContext)));\n } catch (error) {\n this.logger.warn('Shell-placement-plan source omitted from the dispatch context', { taskRef: task.taskRef, error: String(error) });\n }\n }\n\n return sources;\n }\n}\n\n/**\n * The previous FAILED attempt of a task, as a retry is shown it (#1536): its disposition, each check it\n * failed with the tail of that check's output, the agent's own closing words, and the re-arm note when\n * an operator released it. Read off the durable row; nothing new is recorded to produce it.\n */\nexport function previousAttemptContextSource(run: {\n readonly taskId: string;\n readonly settledAt?: string;\n /** When the run started; absent for one that never did (`deriveCodingRunStart`). */\n readonly startedAt?: string;\n readonly memory: unknown;\n readonly output: Record<string, unknown>;\n}): BuildTaskContextSource {\n const tail = (value: unknown): string | undefined =>\n typeof value === 'string' && value.length > 0 ? value.slice(-PREVIOUS_ATTEMPT_OUTPUT_TAIL_CHARS) : undefined;\n const verification = Array.isArray(run.output.verification) ? run.output.verification : [];\n const failedChecks = verification\n .filter((entry): entry is { checkRef?: unknown; outcome?: Record<string, unknown> } => typeof entry === 'object' && entry !== null)\n .filter((entry) => entry.outcome?.success === false)\n .map((entry) => ({\n checkRef: String(entry.checkRef ?? ''),\n ...(tail(entry.outcome?.message) ? { message: tail(entry.outcome?.message) } : {}),\n ...(tail(entry.outcome?.stdoutTail) ? { stdoutTail: tail(entry.outcome?.stdoutTail) } : {}),\n ...(tail(entry.outcome?.stderrTail) ? { stderrTail: tail(entry.outcome?.stderrTail) } : {}),\n }));\n const rearm = readBuildTaskRearm(run.memory);\n // A coding run records its failure as `error`, a refusal as `failure` — one reader for both (#2390).\n const failureMessage = readSettledRunFailureMessage(run.output);\n /*\n * Three different histories, told apart (#1581, second review A5). Telling the agent \"repeat the same\n * approach and it fails the same way\" is right only when the approach WAS judged: a turn the host took\n * away, or a dispatch refused before anything ran, judged nothing about the work.\n */\n // The budget lists FAILED runs only; whether one ever started is the shared derivation's answer.\n const start = deriveCodingRunStart({ status: FlowsActors_Status.FAILED, ...(run.startedAt ? { startedAt: run.startedAt } : {}), output: run.output });\n const guidance = start === CodingRunStart.REFUSED_CONTRACT\n ? 'A previous dispatch of this task was refused at admission for its OWN contract — nothing ran. The '\n + 'refusal below names what the contract gets wrong (for example a verification check this host does '\n + 'not register); dispatching it unchanged is refused the same way.'\n : start === CodingRunStart.REFUSED_BY_HOST\n ? 'A previous dispatch of this task was refused before it started, so nothing ran and nothing was judged. '\n + 'The refusal is below for context; it is not a verdict on any approach.'\n : run.output.failureAttribution === CodingRunFailureAttribution.HOST\n ? 'The previous attempt of this task was stopped by the HOST, not by its work: the turn was taken away '\n + '(a provider limit, a killed process, an operator cancel) or the result could not be recorded. Nothing '\n + 'about the approach was judged; start the work normally, and read what it had reached if that helps.'\n : 'This task was attempted before and FAILED. Read why before starting: repeating the same approach '\n + 'will fail the same way. Fix what the failure names; do not work around a check.';\n return {\n sourceRef: 'application-creation:context/previous-attempt',\n originRef: 'application-creation:origin/dev-companion',\n content: {\n guidance,\n runTaskId: run.taskId,\n ...(typeof run.output.failureAttribution === 'string' ? { failureAttribution: run.output.failureAttribution } : {}),\n ...(typeof failureMessage === 'string' ? { failure: failureMessage } : {}),\n ...(run.settledAt ? { failedAt: run.settledAt } : {}),\n ...(typeof run.output.disposition === 'string' ? { disposition: run.output.disposition } : {}),\n failedChecks,\n ...(tail(run.output.agentOutputTail) ? { agentClosingWords: tail(run.output.agentOutputTail) } : {}),\n ...(rearm ? { rearmedBecause: { reason: rearm.reason, note: rearm.note } } : {}),\n },\n };\n}\n\n/**\n * The previous COMPLETED attempt lost its product to a concurrent run (#2210). Pure, so what the re-run is\n * told can be pinned without composing a dispatch.\n */\nexport function interferedAttemptContextSource(runTaskId: string, interference: BuildTaskInterference): BuildTaskContextSource {\n return {\n sourceRef: 'application-creation:context/interfered-attempt',\n originRef: 'application-creation:origin/dev-companion',\n content: {\n guidance: 'The previous attempt of this task COMPLETED, but other tasks running at the same time edited the same '\n + 'file(s) and its product was overwritten before it was committed. Nothing about the approach was judged. '\n + 'The files below are SHARED: open them as they stand now, add this task\\'s product beside what the other '\n + 'tasks put there, and do not remove or rewrite entries this task did not author.',\n runTaskId,\n sharedFiles: interference.contendedProductPaths,\n concurrentTasks: interference.overlappingTaskRefs,\n detectedAt: interference.detectedAt,\n },\n };\n}\n\n/**\n * The task's own DETERMINISTIC self-description — no introspection, no LLM.\n *\n * The first (and mandatory) context source of every coding task: what the task is, what it must\n * produce, and how its landing will be judged. A pure function of the task, so what the agent is told\n * about its own accountability can be pinned without composing a dispatch.\n *\n * (It was first extracted so a RESUME could rebuild a contract cheaply; that caller went when a parked\n * run's resume moved onto its actor execution in 02e241ae, which carries the context itself.)\n */\nexport function buildTaskSelfDescriptionContextSource(\n task: BuildPlanTask,\n totalTasks: number,\n /** The skills the agent is told to author with — the task's own unless the host derived better (a website task). */\n skillRefs: readonly string[] = task.skillRefs,\n): BuildTaskContextSource {\n return {\n sourceRef: 'application-creation:context/build-task',\n originRef: 'application-creation:origin/build-plan',\n content: {\n taskRef: task.taskRef,\n objective: task.objective,\n target: task.target,\n /*\n * WHAT THIS RUN IS ACCOUNTABLE FOR, and the agent has to be told.\n *\n * Landing is decided from `produces` (#597), so an agent that is not shown the artifacts it\n * must deliver can do excellent work on the objective's prose and still leave the task\n * unlanded — the host would re-offer it forever, and the cause would be invisible to\n * everyone. Handing it over costs nothing and is the same shape as `target`: a semantic\n * declaration the model reads, never a path it could author.\n */\n produces: task.produces,\n /*\n * HOW LANDING IS DECIDED, exactly (#1554). `produces` is the task's declaration; these are the\n * probes the host evaluates after the run, resolved by the same function landing calls. They\n * differ where the declaration is not what the tree spells: a SHELL_PLACEMENT task's refs name\n * the placement plan's decisions and appear in no file, so its probe asks what the composed\n * shell CARRIES (the `shell-placement-plan` source spells that out). An agent shown only\n * `produces` authored those refs as text, got one of two right by guessing from the objective,\n * and the run finished `completed_unlanded`.\n */\n landedWhen: resolveBuildTaskLandedProbes(task),\n /*\n * THE REQUIREMENTS THIS TASK SERVES (#2496). The agent reports one it could not fully meet against these refs, in\n * its closing report's `wildo-unmet-requirements` block; without them it could only describe a gap in prose, which\n * is how 005's workers said \"the roles do nothing yet\" and nothing ever acted on it.\n */\n servesRefs: task.servesRefs,\n functionalTopic: task.functionalTopic,\n skillRefs,\n prerequisiteTaskRefs: task.prerequisiteTaskRefs,\n positionInPlan: `one of ${totalTasks} tasks in the application's accepted build plan`,\n },\n };\n}\n\n/** One plan decision, with the identity the shell probe compares it by. */\nexport interface PlacementPlanShellExpectation {\n readonly decision: PlacementPlan['decisions'][number];\n readonly shellIdentity: string;\n /**\n * Who the placed entry is shown to (#2512), PER LAYER: the decision's own `visibleToRoles` (written on the entry) and\n * its sidebar group's (written on the section). Never combined into one list: the browser expands core roles through\n * their inheritance, so an `ORG_MEMBER` group with an `ORG_ADMIN` decision intersects to nothing while admins see the\n * row. Each absent means everyone.\n */\n readonly audience: PlacementAudienceLayers;\n}\n\n/** The two layers a sidebar row's audience is written in; `undefined` is everyone. */\nexport interface PlacementAudienceLayers {\n readonly item?: readonly string[];\n readonly section?: readonly string[];\n}\n\n/** Whether two audiences admit the same roles; `undefined` is everyone. */\nfunction samePlacementAudience(left: readonly string[] | undefined, right: readonly string[] | undefined): boolean {\n if (left === undefined || right === undefined) return left === right;\n const leftSet = new Set(left);\n return leftSet.size === new Set(right).size && right.every((role) => leftSet.has(role));\n}\n\n/** Whether both layers admit the same roles. */\nfunction samePlacementAudienceLayers(left: PlacementAudienceLayers, right: PlacementAudienceLayers): boolean {\n return samePlacementAudience(left.section, right.section) && samePlacementAudience(left.item, right.item);\n}\n\n/** An audience as a reader sees it in a build record: `everyone`, or each restricted layer. */\nfunction describePlacementAudience(audience: PlacementAudienceLayers): string {\n const list = (roles: readonly string[]) => `[${[...roles].sort().join(', ')}]`;\n const layers = [\n ...(audience.section === undefined ? [] : [`section ${list(audience.section)}`]),\n ...(audience.item === undefined ? [] : [`item ${list(audience.item)}`]),\n ];\n return layers.length === 0 ? 'everyone' : layers.join(' + ');\n}\n\n/** What a placement plan asks of the shell, decision by decision. */\nexport interface PlacementPlanShellExpectations {\n /** What the plan PLACED on each surface. */\n readonly placed: ReadonlyMap<PlacementSurface, readonly PlacementPlanShellExpectation[]>;\n /** What the plan DECLINED — to be carried by no surface. */\n readonly declined: readonly PlacementPlanShellExpectation[];\n}\n\n/**\n * The PLAN half of the shell witness (#1538), as a pure function of the plan.\n *\n * Two readers need it and must not disagree: the landing probe, which compares it with what the\n * composed shell carries, and the coding agent, which has to be told it BEFORE the run (#1554). One\n * derivation is what makes \"the agent was shown the criterion it is judged by\" true by construction\n * rather than by two loops agreeing.\n */\nexport function derivePlacementPlanShellExpectations(plan: PlacementPlan): PlacementPlanShellExpectations {\n const placed = new Map<PlacementSurface, PlacementPlanShellExpectation[]>();\n const declined: PlacementPlanShellExpectation[] = [];\n const groupAudience = new Map(plan.groups.map((group) => [`${group.surface}::${group.groupRef}`, group.visibleToRoles] as const));\n for (const decision of plan.decisions) {\n const shellIdentity = placementSubjectShellIdentity(decision.subject);\n if (decision.disposition === PlacementDisposition.DECLINED) {\n // A declined subject is shown to nobody, so it has no audience to compare.\n declined.push({ decision, shellIdentity, audience: {} });\n continue;\n }\n const address = decision.address;\n const section = address.surface === PlacementSurface.SIDEBAR ? groupAudience.get(`${address.surface}::${address.groupRef}`) : undefined;\n const audience: PlacementAudienceLayers = {\n ...(decision.visibleToRoles === undefined ? {} : { item: decision.visibleToRoles }),\n ...(section === undefined ? {} : { section }),\n };\n const entry = { decision, shellIdentity, audience };\n placed.set(address.surface, [...(placed.get(address.surface) ?? []), entry]);\n }\n return { placed, declined };\n}\n\n/**\n * A SHELL_PLACEMENT task's landing criterion, spelled for the agent that has to meet it (#1554).\n *\n * The task's `produces` names the plan's decision refs, which no file spells; the probe asks whether\n * the composed surface carries every subject the plan PLACED there and none it DECLINED, from\n * committed files. So the agent is handed the decisions themselves — subject, address and rationale —\n * each with the identity the probe compares, plus the command that reads the shell as the probe\n * reads it, so it can check its own work before finishing.\n *\n * Never `null` for a shell task: a missing or invalid plan is SAID, because \"nothing to place\" and\n * \"nothing says what to place\" lead the agent to opposite conclusions — the witness draws the same line.\n */\nexport function buildShellPlacementPlanContextSource(surface: PlacementSurface, companionExports: unknown): BuildTaskContextSource {\n const base = { sourceRef: 'application-creation:context/shell-placement-plan', originRef: 'application-creation:origin/specification-families' };\n const authored = (companionExports as Record<string, unknown> | null)?.['placementPlanSpecification'];\n const parsed = authored === undefined || authored === null ? undefined : PlacementPlanSchema.safeParse(authored);\n if (parsed === undefined || !parsed.success) {\n return {\n ...base,\n content: {\n surface,\n unanswerable: parsed === undefined\n ? 'The application has no placement plan, so nothing says what this surface should carry; the task cannot land until one exists.'\n : `The placement plan does not satisfy its schema (${parsed.error.issues.slice(0, 2).map((issue) => `${issue.path.join('.')}: ${issue.message}`).join('; ')}); the task cannot land until it does.`,\n },\n };\n }\n const describe = ({ decision, shellIdentity, audience }: PlacementPlanShellExpectation) => ({\n decisionRef: decision.decisionRef,\n subject: decision.subject,\n ...(decision.disposition === PlacementDisposition.PLACED ? { address: decision.address } : {}),\n rationale: decision.rationale,\n shellIdentity,\n // The entry's OWN audience, written on the entry; its section's is on its group in `groupsOnThisSurface`.\n ...(audience.item === undefined ? {} : { visibleToRoles: audience.item }),\n });\n const expectations = derivePlacementPlanShellExpectations(parsed.data);\n // The containers this surface is grouped into (sidebar sections, settings categories), with their purpose and audience.\n const groupsOnThisSurface = parsed.data.groups.filter((group) => group.surface === surface).map((group) => ({\n groupRef: group.groupRef,\n purpose: group.purpose,\n order: group.order,\n ...(group.visibleToRoles === undefined ? {} : { visibleToRoles: group.visibleToRoles }),\n }));\n return {\n ...base,\n content: {\n surface,\n landingCriterion: `This task lands when the ${surface} surface, as the composed shell resolves it, carries every subject `\n + 'placed on it below and none of the declined subjects, and every file that surface is composed from is committed. '\n + 'The declarationRefs in `produces` name these decisions; they are never spelled in the tree, so writing them as text lands nothing. '\n + 'Roles are written per layer, exactly as listed: a group\\'s `visibleToRoles` as `runtimeAvailability.visibleToRoles` on its '\n + 'sidebar section, and an entry\\'s own `visibleToRoles` on the entry. A layer that lists none carries none.',\n ...(groupsOnThisSurface.length === 0 ? {} : { groupsOnThisSurface }),\n placedOnThisSurface: (expectations.placed.get(surface) ?? []).map(describe),\n declinedEverywhere: expectations.declined.map(describe),\n selfCheck: '`wildo context info app-shell-placement-content` reports what each surface carries, in the same identities as '\n + '`shellIdentity` above. Run it before finishing: a placed identity it does not list is still missing.',\n },\n };\n}\n\n/**\n * The elements a build task SERVES, resolved, plus a map of its module's other tasks (#1419).\n *\n * Reads the task's own `servesRefs` edge through the decided-element index, so resolution is the same\n * membership routing every other surface uses. A ref that resolves to nothing is REPORTED in the\n * source, never skipped: the agent must know the task claims to serve something the application has\n * not decided (Wonder CRM carries one), rather than conclude it serves nothing. `null` when the task\n * declares nothing to serve and has no sibling in its module — the source would be empty.\n */\nexport function buildServedElementsContextSource(task: BuildPlanTask, companionExports: unknown): BuildTaskContextSource | null {\n const index = indexDecidedAspects(decidedFamilyValuesFromCompanionExports(companionExports as Record<string, unknown>));\n const TASK_ASPECT = 'build-plan.task';\n const SERVES_FIELD = 'servesRefs';\n const served = index.links\n .filter((link) => link.field === SERVES_FIELD && link.from.aspectKey === TASK_ASPECT && link.from.ref === task.taskRef)\n .map((link) => ({\n aspectKey: link.to.aspectKey,\n family: link.to.family,\n ref: link.to.ref,\n element: link.to.item,\n }));\n const unresolved = index.unresolved\n .filter((entry) => entry.field === SERVES_FIELD && entry.fromAspectKey === TASK_ASPECT && entry.fromRef === task.taskRef)\n .map((entry) => entry.key);\n\n const moduleRef = task.target && 'moduleRef' in task.target ? task.target.moduleRef : undefined;\n const moduleTasks = moduleRef === undefined\n ? []\n : (index.aspects.get(TASK_ASPECT)?.elements ?? [])\n .filter((element) => element.ref !== task.taskRef)\n .filter((element) => {\n const target = (element.item as { target?: { moduleRef?: string } }).target;\n return target?.moduleRef === moduleRef;\n })\n .map((element) => ({ taskRef: element.ref, objective: element.label }));\n\n if (served.length === 0 && unresolved.length === 0 && moduleTasks.length === 0) return null;\n return {\n sourceRef: 'application-creation:context/served-elements',\n originRef: 'application-creation:origin/specification-families',\n content: {\n servedElements: served,\n ...(unresolved.length > 0\n ? {\n unresolvedServesRefs: unresolved,\n unresolvedNote: 'These servesRefs name nothing the application has decided. Do not invent what they would say; '\n + 'build what the resolved elements require, and report the gap.',\n }\n : {}),\n ...(moduleRef !== undefined ? { moduleRef, otherTasksInModule: moduleTasks } : {}),\n note: 'servedElements are what this task is accountable to — its acceptance criteria. otherTasksInModule is a map only: '\n + 'read a sibling with `wildo context elements get --refs <taskRef>` if you need it.',\n },\n };\n}\n"]}
1
+ {"version":3,"file":"application-build-dispatch.companion.service.js","sourceRoot":"","sources":["../../../../../src/meta-workflows/services/application-build-dispatch.companion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EACL,+BAA+B,EAC/B,gCAAgC,GAEjC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,mCAAmC,EAAE,MAAM,+BAA+B,CAAC;AACpF,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,WAAW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CAAC;oBACE,oBAAoB,EAAE,UAAU;oBAChC,cAAc,EAAE,gGAAgG;0BAC5G,+DAA+D;iBACpE;gBACH,CAAC,CAAC,EAAE,CAAC;YACP,GAAG,CAAC,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,kBAAkB,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YAClF,IAAI,EAAE,mHAAmH;kBACrH,mFAAmF;SACxF;KACF,CAAC;AACJ,CAAC","sourcesContent":["import {\n MetaWorkflow_ContextSourceTrust,\n ResearchProvenanceCatalogReading,\n type MetaWorkflow_ApplicationCodingTaskContract,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport { readCompiledResearchInformedContent } from '@wildo-ai/framework-knowledge';\nimport { createHash } from 'node:crypto';\nimport { readdirSync } from 'node:fs';\nimport { readFile } from 'node:fs/promises';\nimport { join } from 'node:path';\n\nimport { inject, injectable, optional } from 'inversify';\nimport { AvailableLanguage } from '@wildo-ai/presets-components-models';\nimport { ApplicationSchemaPlanObligation } from '../../core/config/application-schema-plan-obligation.companion.utils';\nimport { experienceTaskSkillRefs, taskHasExperienceProduct } from './application-build-experience-skills.companion.service';\nimport {\n buildWebsitePlanContextSource,\n citedRequirementRefsByWebsiteTask,\n deliveringTasksFor,\n deriveWebsiteClaimDelivery,\n deriveWebsiteTaskOrdering,\n describeWebsiteTaskCopySubjects,\n describeWebsiteTaskVisualSubjects,\n websiteTaskDemoResourceRef,\n websiteTaskSkillRefs,\n type WebsiteClaimDelivery,\n type WebsiteSectionDemoFactsResolution,\n type WebsiteTaskCopySubject,\n} from './application-build-website-context.companion.service';\nimport { websiteDemoResourceFacts } from './website-demo-facts.models';\nimport {\n collectWebsiteCopyDeclarations,\n currentWebsiteCopy,\n reviewWebsiteTaskCopy,\n type RawWebsiteCopyFinding,\n type WebsiteCopyAlsoReviewed,\n} from './application-build-website-copy-review.companion.service';\nimport { readWebsiteCopyReview, WebsiteCopyReviewOutcome, type WebsiteCopyReview } from '../models/website-copy-review.models';\nimport { WEBSITE_COPY_REVIEW_JUDGE_AGENT_REF, WebsiteCopyReviewVerdictOutputSchema } from '../models/website-copy-review.actors-system.definitions';\nimport { reviewWebsiteTaskVisuals, type RawWebsiteVisualFinding } from './application-build-website-visual-review.companion.service';\nimport { lookAtWebsite, readWebsiteShotAsDataUri, readWebsiteVisualRubric } from './website-visual-camera.companion';\nimport { readWebsiteVisualReview, WebsiteVisualReviewOutcome, type WebsiteVisualReview } from '../models/website-visual-review.models';\nimport { WEBSITE_VISUAL_REVIEW_JUDGE_AGENT_REF, WebsiteVisualReviewVerdictOutputSchema } from '../models/website-visual-review.actors-system.definitions';\nimport {\n CodingRunFailureAttribution,\n WORKBENCH_TASK_CORRELATION_DOMAIN,\n Workbench_BuildDispatchPhase,\n Workbench_BuildTaskStuckReason,\n WorkbenchBuildPlanTaskStatus,\n WorkbenchTaskCorrelationRef,\n sanitizeWorkbenchCreationPlaneIdentity,\n BuildTaskRearmReason,\n OPERATOR_BUILD_TASK_REARM_REASONS,\n BrandDesignState,\n DesignTokenBlockState,\n SchemaPlanSyncState,\n} from '@wildo-ai/platform-core-shared';\n\nimport {\n assemblyRepairTaskRef,\n composeAssemblyRepairCodingContract,\n composeBuildTaskCodingContract,\n slugifyRegistryIdentifier,\n type BuildTaskContextSource,\n decidedFamilyValuesFromCompanionExports,\n indexDecidedAspects,\n mergePlaybookSpend,\n PlaybookSpendMeasurement,\n readApplicationDisplayName,\n readEngineCapabilityEnabled,\n SAAS_CONFIG_FILE_NAME,\n type PlaybookSpend,\n} from '@wildo-ai/application-creation-runtime';\nimport type { ActorExecutionOpenRequest, ActorsSystemBackendService, AgentsBackendService, ContentSafetyBackendService, LoggerService, OpenedActorExecution } from '@wildo-ai/saas-backend-lib';\nimport { SAAS_SERVICE_TYPES, describeCaughtError } from '@wildo-ai/saas-backend-lib';\nimport { Actor_Task_Topics, FlowsActors_Status, type AgentWorkDeclarations, type AgentWorkShortfall, type FlowsActors_Agent_Invocation } from '@wildo-ai/saas-models';\nimport { PER_SERVICE_WEBSITE_CONFIG_FILE_NAME, resolveStaticWebsiteServiceEntry } from '@wildo-ai/saas-website/config-loader';\nimport {\n ApplicationSpecificationFamily,\n BUILD_PLAN_TASK_GRAPH_HARD_FLOOR_CODES,\n BuildPlanResourceStage,\n BuildPlanTaskGraphSchema,\n type BuildPlanTaskProduct,\n BuildPlanTaskTargetKind,\n BuildPlanTaskProductKind,\n FrontendConfigSurface,\n DomainPlanTenancyModel,\n MetaWorkflow_FunctionalTopic,\n PlacementDisposition,\n PlacementPlanSchema,\n PlacementSurface,\n RoadmapSnapshotSchema,\n selectReadyBuildPlanTasks,\n type PlacementPlan,\n validateBuildPlanTaskGraph,\n type BuildPlanTask,\n} from '@wildo-ai/saas-specifications/application-creation';\n\nimport { relatedWorkspaceResources } from '../../core/introspection/workspace-element-index.companion';\nimport { BRIEF_PROVENANCE_UNAVAILABLE_SOURCE_REF, ThirdPartyBriefContent } from '../models/build-brief-content-trust.models';\nimport { BriefScreeningVerdicts, screenThirdPartyBriefElements } from './build-brief-third-party-screening.companion';\nimport { onCompanionProviderRegistryRefreshed } from '../../core/runtime/provider-registry-refresh.companion';\nimport { describeWorkspaceFreshness, readWorkspaceElements } from '../../core/introspection/workspace-elements.companion';\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport type { CompanionContext } from '../../core/context/companion-context';\nimport { CompanionIntrospectionService } from '../../core/introspection/services/companion-introspection.companion.service';\nimport { loadSpecificationsCompanionExports } from '../../core/context/companion-package-loaders.companion';\nimport { waitForDevCompileQuiet } from '../../core/runtime/dev-compile-quiet.companion';\nimport { loadConfig, loadInfraEnvConfig, loadSaasConfig, readBuildParallelism, WildoEnvironment } from '@wildo-ai/platform-config-lib';\nimport { CodingRunConcurrency } from '../../claude-cli/models/concurrent-coding-runs.models';\nimport {\n CodingAgentDispatchCompanionService,\n type ApplicationCodingTaskSettledOutcome,\n} from '../../claude-cli/services/coding-agent-dispatch.companion.service';\nimport {\n CodingRunStart,\n deriveCodingRunStart,\n isApplicationCodingContractRefusal,\n readSettledRunFailureMessage,\n resolveApplicationCodingTaskVerificationPlans,\n type ApplicationCodingTaskRunAdmission,\n type ApplicationCodingUnmetRequirement,\n} from '../../claude-cli/models/coding-agent-dispatch.models';\nimport { GitChangeSetCompanionService } from '../../claude-cli/services/git-change-set.companion.service';\nimport type { CodingAgentUsageLimit } from '../../claude-cli/models/coding-agent-usage-limit.models';\nimport type { AcceptedChangeCommitCompanionService } from '../../claude-cli/services/accepted-change-commit.companion.service';\nimport type { CompanionExecutionSessionContext } from '../../core/traceability/companion-traceability.models';\nimport { CompanionExecutionsCompanionService } from '../../executions/services/companion-executions.companion.service';\nimport { CompanionExecutionsListQuerySchema } from '../../companion-api/companion-api.schemas';\nimport { APPLICATION_CODING_SYSTEM_REF } from '../models/application-coding-agent.actors-system.definitions';\nimport {\n readApplicationBootFailures,\n readUnavailableApplicationRuntimes,\n type ApplicationBootFailure,\n type UnavailableApplicationRuntime,\n} from '../../core/runtime/application-runtime-liveness.companion';\nimport type { CarriedVerificationDiagnosis } from '../models/carried-verification-failure.models';\nimport type { GenerationStepProgress } from '../models/generation-step-progress.models';\nimport {\n MAXIMUM_INTERFERENCE_REARMS,\n NothingToRearmError,\n readBuildTaskInterference,\n landedOverrideContextSource,\n readBuildTaskLandedOverride,\n readBuildTaskRearm,\n type BuildTaskInterference,\n type BuildTaskLandedOverride,\n type BuildTaskRearm,\n} from '../models/build-task-rearm.models';\nimport { APPLICATION_BUILD_GENERATION_STEP_ACTOR_REF, APPLICATION_BUILD_SYSTEM_REF } from '../models/application-build.actors-system.definitions';\nimport { readRecordedPlaybookSpend } from '../models/playbook-run-record.models';\nimport {\n ApplicationBuildGenerationStep,\n ApplicationBuildGenerationStepCompanionService,\n type ApplicationBuildGenerationStepLandedCondition,\n ApplicationBuildGenerationStepLandedKind,\n type ApplicationBuildGenerationStepRunResult,\n readDesignSystemConfigImportsBrandDesign,\n} from './application-build-generation-step.companion.service';\nimport { INSTALLED_SKILL_INDEX_RELATIVE_PATH, readApplicationCapabilityFacts, sliceSkillIndexForTask } from './build-task-brief-application-facts.companion';\nimport {\n ApplicationBuildTaskNotACodingTaskError,\n resolveAssemblyRepairCodingPolicy,\n resolveBuildPlanTaskCodingPolicy,\n BuildPlanTaskLandedProbeKind,\n buildPlanTaskLandedProbePaths,\n declarationsAppearAt,\n findAgentWorkShortfalls,\n findRelationshipConferredRoleShortfalls,\n unreadableResourceConfigurationFor,\n relativeImportedFiles,\n relationshipConferralsOf,\n type RelationshipConferralWitness,\n flowsActorsIndexImportedFiles,\n labelFileDeclaresKeys,\n labelPacksDeclareKeyPrefix,\n launcherShellIdentity,\n placementSubjectShellIdentity,\n ProductDeclarationRelation,\n productDerivedSkillRefs,\n resourceSchemaFilePath,\n schemaSourceDeclaresPersonalData,\n targetDerivedSkillRefs,\n resolveBuildTaskLandedProbes,\n resolveUndraftableDocumentRef,\n settingsDestinationShellIdentity,\n shellModuleContributionFile,\n shellSurfaceConfigFile,\n websiteLabelPackPath,\n type BuildPlanTaskLandedProbe,\n} from './application-build-task-coding-policy.companion.service';\nimport { resolveApplicationAssemblyCheckRefs } from './application-assembly-checks.companion.utils';\nimport { BrandAssetPurpose } from '@wildo-ai/saas-specifications';\nimport { hasAcceptedBrandMark } from '../../brand/models/accepted-brand-mark.models';\nimport {\n ASSEMBLY_FAILURE_CONTEXT_SOURCE_REF,\n ASSEMBLY_REPAIR_GUIDANCE,\n ASSEMBLY_REPAIR_TARGET_KIND,\n MAXIMUM_ASSEMBLY_REPAIRS_PER_CHECK,\n assemblyRepairAttemptsThisRound,\n describeWithheldAssemblyRepairs,\n isAssemblyRepairTaskRef,\n readGivenAssemblyFailure,\n selectAssemblyRepair,\n type AssemblyFailureContextContent,\n type AssemblyRepairWithheldReason,\n type BuildDispatchRunSummary,\n} from './application-assembly-repair.companion.utils';\nimport type { AppShellPlacementContentResult } from '../../core/introspection/subprocess/app-shell-placement-content.behavior';\n\n/** No build plan, or nothing left to do. Named so the transport can say which. */\n\nexport class ApplicationBuildPlanUnavailableError extends Error {}\nexport class ApplicationBuildPlanExhaustedError extends Error {\n /**\n * The counts, carried STRUCTURALLY rather than only inside the sentence.\n *\n * A finished plan is something a surface wants to SAY — \"39 of 39 landed\" — and until these were\n * fields the only copy lived in prose the reader would have had to parse. A board that parses\n * another component's error message is a board that breaks when somebody improves the wording.\n */\n public constructor(\n message: string,\n public readonly taskCount: number,\n public readonly landedCount: number,\n /** WHICH tasks landed — so a finished plan can still say which of them no run of their own produced (#2217). */\n public readonly landedTaskRefs: readonly string[] = [],\n /**\n * Whether the application the finished plan built ASSEMBLES (#2222) — set by a dispatch door, which is where\n * \"the build is finished\" is claimed; absent from the cheap read door, which never runs a compiler.\n */\n public readonly assembly?: ApplicationAssemblyVerdict,\n ) {\n super(message);\n }\n}\n\n/**\n * The answer to \"does the application this plan built assemble?\" (#2222), from the checks every package owes.\n *\n * A finished plan used to be the end of the question: in `app-creation-test-004` the build would have read 92 of 92\n * with a website that did not compile, because each task typechecks only the package it wrote and a file can reach\n * git without its task's checks (a wave's reconciliation commit). MARKED, never a refusal of anything that already\n * landed — `application-creation-directive.md`: what the operator does next is fix the package, so the verdict says\n * which package and what the compiler said, and leaves the landed work alone.\n */\nexport interface ApplicationAssemblyVerdict {\n readonly passed: boolean;\n readonly checkRefs: readonly string[];\n /**\n * `output` is an EXCERPT of what the check printed: the first lines of the captured stdout (where `tsc` writes its\n * diagnostics), else of stderr. The capture is a bounded tail, so on a very long run these are the first lines\n * of that tail, not necessarily the compiler's first error.\n */\n readonly failed: ReadonlyArray<{ readonly checkRef: string; readonly output: string }>;\n /** A check that could not be RUN (no compiler, no built registry): not a verdict about the application. */\n readonly couldNotRun?: string;\n /**\n * The failing checks no repair was dispatched for, and why (#2283): their repairs this round are spent, or the\n * last one was given this same failure. Absent when nothing was withheld.\n */\n readonly repairsWithheld?: readonly { readonly checkRef: string; readonly reason: AssemblyRepairWithheldReason }[];\n}\n\n/**\n * Why a read door cannot ANSWER with an exception.\n *\n * `prepareNextBuildTask` serves two kinds of caller: the READS (`describeNextBuildTask`, and\n * `describeNextBuildTaskOrExhaustion` for a surface that must render \"there is none\") and the two\n * DISPATCH doors. The throw is right for a DISPATCH — the caller asked to run something, there is\n * nothing to run, and a door that silently did nothing would be worse. It is wrong for a READ: \"what\n * is next?\" answered by \"nothing, everything landed\" is an ANSWER, and the terminal success of the\n * whole build lane is not a failure to look. The same holds for \"nothing, every ready task is stuck\"\n * (#1451), whose answer is the remedy.\n *\n * Measured 2026-09-18, when Wonder CRM became the first application to finish a plan (39 of 39): the\n * workbench's `requestCompanion` threw on the non-2xx, `useCompanionRead` caught it into `error`, and\n * the board rendered `BoardReadError` — the primitive it defines as \"could not look\", against\n * `BoardEmpty` for \"looked, nothing there\". The last screen of the journey the workbench exists to\n * drive reported the finish as a fault.\n *\n * Reads tolerate, acceptance refuses — `continuity-drift-and-cas-basis.md` Rule 1's split — and\n * `application-creation-directive.md`'s test verbatim: if this refuses, what does the operator do\n * next? Nothing. There is no artifact to fix, so the state is REPRESENTABLE instead.\n */\nexport interface ApplicationBuildPlanExhaustion {\n readonly taskCount: number;\n readonly landedCount: number;\n}\n\n/**\n * What the read door answers: a plan to run, or the reason there is none. Never an exception for either.\n *\n * Three shapes, and exactly one holds: a `plan`; no plan and `exhausted` (every task landed); or no plan,\n * `stuckQueue`, and a non-empty `stuckTasks` (every ready task is stuck, #1451). `stuckTasks` is present beside a plan\n * too, naming what that selection passed over.\n */\n/**\n * How far the queue got when every ready task turned out to be stuck — the same progress a plan row\n * carries, so a stuck row can say \"3 of 5 landed, 2 ready\" instead of zeroes it does not mean.\n */\nexport interface ApplicationBuildStuckQueue {\n readonly taskCount: number;\n readonly readyTaskRefs: readonly string[];\n readonly landedTaskRefs: readonly string[];\n readonly unverifiableLandedTaskRefs: readonly string[];\n}\n\nexport interface ApplicationBuildDispatchDescription {\n readonly plan: ApplicationBuildDispatchPlan | null;\n /** Present exactly when `plan` is null because every task has landed. */\n readonly exhausted?: ApplicationBuildPlanExhaustion;\n /** Present exactly when `plan` is null because every ready task is stuck. */\n readonly stuckQueue?: ApplicationBuildStuckQueue;\n /** Every ready task dispatch passed over, and why. Empty when nothing was skipped. */\n readonly stuckTasks: readonly ApplicationBuildStuckTask[];\n /**\n * The landed tasks no run of their own ever started (#2217): the probe found the product before anything ran.\n * Beside every answer — a next task, a stuck queue, a finished plan — because \"92 of 92 landed\" is precisely the\n * sentence it must qualify. ABSENT — not empty — when the run history was truncated at the page cap, because a\n * partial history cannot say a task never ran; and absent from a caller older than the field.\n */\n readonly landedBeforeAnyRunTaskRefs?: readonly string[];\n}\n\n/** What one landing resolution found — every answer a caller needs, from the pass it asked for. */\ninterface LandedTaskResolution {\n readonly landed: ReadonlySet<string>;\n /** Landed WITHOUT proof: a task that declares no product and has a completed run. */\n readonly unverifiableLandedTaskRefs: readonly string[];\n /**\n * Generation steps whose landing check could not be ANSWERED on this pass: a migration step whose\n * schema-plan check neither passed nor reported drift, or a `design-tokens` step whose block check did\n * not run. Running either now would only fail the same way, so the selector passes over them.\n */\n readonly unanswerableGenerationStepTaskRefs: ReadonlySet<string>;\n /**\n * Each generation step's landed condition, as this pass resolved it. A reader that needs the condition again (the\n * records) takes it from here: resolving a labels step's condition plans every labelling unit (#2504 review F7).\n */\n readonly generationStepConditions: ReadonlyMap<string, ApplicationBuildGenerationStepLandedCondition>;\n}\n\n/** The ref of the `database-migrations` step the dispatch host derives when a plan owes it and omits it (#1027). */\nexport const HOST_DERIVED_DATABASE_MIGRATIONS_TASK_REF = 'build-task-database-migrations';\n\n/** The ref of the `documentation-publication` step the host derives for a plan that authors chapters (#1273). */\nexport const HOST_DERIVED_DOCUMENTATION_PUBLICATION_TASK_REF = 'build-task-documentation-publication';\n\n/** The ref of the `i18n-translations` step the host derives after a plan's labels step, for a multi-locale application (#2204). */\nexport const HOST_DERIVED_I18N_TRANSLATIONS_TASK_REF = 'build-task-i18n-translations';\n\n/** The ref of the `design-tokens` step the host derives after every task that writes the design-system config (#2358). */\nexport const HOST_DERIVED_DESIGN_TOKENS_TASK_REF = 'build-task-design-tokens';\n\n/** The ref of the `design-system-brand` step the host derives before every task that writes the design-system config (#2353). */\nexport const HOST_DERIVED_DESIGN_SYSTEM_BRAND_TASK_REF = 'build-task-design-system-brand';\n\n/**\n * Does this build task write the application's design-system config — and so oblige the `design-tokens`\n * step to run after it, and the `design-system-brand` step to run before it?\n *\n * One shape: a coding task targeting the DESIGN_SYSTEM frontend config surface, the only target whose mutation\n * scope includes that file. The predicate is keyed on the TARGET rather than on a declared product, because the\n * target is what the coding policy grants write access from; a product declared on any other target could not\n * have written the file. The brand step does not write the config; it writes a module the config imports, and\n * {@link isDesignTokenBlockInputWriter} is the predicate that covers both.\n */\nexport function isDesignSystemConfigWriter(task: BuildPlanTask): boolean {\n return task.target?.kind === BuildPlanTaskTargetKind.APPLICATION_FRONTEND_CONFIG\n && task.target.configSurface === FrontendConfigSurface.DESIGN_SYSTEM;\n}\n\n/**\n * Does this build task build the website (a page or a section of it)? The site's theme is composed from the brand's\n * website palette and personality (`website/src/brand-theme.ts`, which the scaffold imports), so a plan that builds the\n * site owes the brand step even when it writes no design-system config (#2742 step 5d).\n */\nexport function isWebsiteBuildTask(task: BuildPlanTask): boolean {\n return task.target?.kind === BuildPlanTaskTargetKind.WEBSITE\n || task.produces.some((product) => product.kind === BuildPlanTaskProductKind.WEBSITE_PAGE || product.kind === BuildPlanTaskProductKind.WEBSITE_SECTION);\n}\n\n/** Is this build task the `design-system-brand` generation step? */\nexport function isDesignSystemBrandStep(task: BuildPlanTask): boolean {\n return task.target?.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP\n && task.target.generationStepRef === ApplicationBuildGenerationStep.DESIGN_SYSTEM_BRAND;\n}\n\n/**\n * Does this build task write a file the stylesheet's design-token block is a function of? The config's writers,\n * and the brand step, whose module the config imports (#2353). The `design-tokens` step waits on all of them,\n * so the block is regenerated from the config's final state whichever of them moved last.\n */\nexport function isDesignTokenBlockInputWriter(task: BuildPlanTask): boolean {\n return isDesignSystemConfigWriter(task) || isDesignSystemBrandStep(task);\n}\n\n/** The ref of the `engine-capabilities` step the host derives when the decisions imply a capability nothing turned on (#2497). */\nexport const HOST_DERIVED_ENGINE_CAPABILITIES_TASK_REF = 'build-task-engine-capabilities';\n\n/**\n * The ref prefix of a FOLLOW-UP task the host derives when a completed coding run reports a requirement it could not\n * fully meet (#2496): `build-task-follow-up-<origin>-<requirement>`. A follow-up's own report derives nothing further, so\n * the chain is one step long; what it leaves unmet is shown on its record.\n */\nexport const HOST_DERIVED_FOLLOW_UP_TASK_REF_PREFIX = 'build-task-follow-up-';\n\n/** The ref of the `display-name` step the host derives when the brand's name is not yet the application's (#2505). */\nexport const HOST_DERIVED_DISPLAY_NAME_TASK_REF = 'build-task-display-name';\n\n/*\n * How far a build dispatch got is `Workbench_BuildDispatchPhase` in `@wildo-ai/platform-core-shared` —\n * NOT declared here, and deliberately not re-exported from here either (a re-export outside a declared\n * public entrypoint is its own defect). It moved there because the WORKBENCH reads these values to\n * decide how a dispatch renders and a browser bundle cannot import this package; that enum's docstring\n * carries the semantics of each member and why the two executors settle at different ones.\n */\n\n/**\n * One dispatch, newest first in {@link ApplicationBuildDispatchCompanionService.readDetachedDispatches}.\n * A PROJECTION of the dispatch's actor-system execution since #1359, not a record anything keeps.\n */\nexport interface ApplicationBuildDetachedDispatchRecord {\n /**\n * The execution this dispatch IS — what tells two attempts at one task apart (#2530). They used to be told apart by\n * task and start instant, which a second's resolution made the same for two attempts started together.\n */\n readonly executionId: string;\n readonly taskRef: string;\n /** When the task was SELECTED — the execution's creation instant. */\n readonly startedAt: string;\n readonly phase: Workbench_BuildDispatchPhase;\n /** When the phase left SUBMITTED. */\n readonly settledAt?: string;\n /** The durable actor-task row an ADMITTED coding run writes its real outcome to. */\n readonly codingTaskId?: string;\n /**\n * How the dispatch's run stands — its execution's status — and when it ended (#2523). The phase names the\n * hand-off and, for a coding run, stops at ADMITTED; a reader asking whether a dispatch has ended, and\n * how, reads these.\n */\n readonly runStatus: FlowsActors_Status;\n readonly runFinishedAt?: string;\n readonly error?: string;\n /**\n * Whose failure a FAILED coding run was, as the run recorded it (#1581): the task's, or the host's (a signed-out agent,\n * a spent quota, a killed turn). Read by the dispatch's page and card to link the coding lane where its trouble shows\n * (#2530 review M2). Absent for a run that did not fail, a generation step, and a run recorded before the field.\n */\n readonly failureAttribution?: CodingRunFailureAttribution;\n /** The conversation the dispatch was started from, when it was (#1454, Step 7). */\n readonly conversationId?: string;\n}\n\n/** A coding run's reported tokens, per dimension (#2232). Read off `CodingAgent_Usage` on the run's row. */\nexport interface CodingRunReportedTokens {\n readonly inputTokens?: number;\n readonly outputTokens?: number;\n readonly cacheReadTokens?: number;\n readonly cacheWriteTokens?: number;\n /** As reported; when the agent reported none, the sum of the dimensions it did report. */\n readonly totalTokens?: number;\n}\n\n/**\n * The tokens a run's recorded usage carries, or `undefined` when it carries none. Read by SHAPE: the row\n * crossed a JSON boundary, and `CodingAgent_Usage` makes every field optional.\n */\nexport function readCodingRunReportedTokens(usage: unknown): CodingRunReportedTokens | undefined {\n if (typeof usage !== 'object' || usage === null) return undefined;\n const bag = usage as Record<string, unknown>;\n const count = (key: string): number | undefined => (typeof bag[key] === 'number' && Number.isFinite(bag[key]) && (bag[key] as number) >= 0 ? bag[key] as number : undefined);\n const dimensions = {\n inputTokens: count('inputTokens'),\n outputTokens: count('outputTokens'),\n cacheReadTokens: count('cachedReadTokens'),\n cacheWriteTokens: count('cachedWriteTokens'),\n };\n const reported = Object.values(dimensions).filter((value): value is number => value !== undefined);\n const totalTokens = count('totalTokens') ?? (reported.length > 0 ? reported.reduce((sum, value) => sum + value, 0) : undefined);\n const tokens = Object.fromEntries(Object.entries({ ...dimensions, totalTokens }).filter((entry) => entry[1] !== undefined));\n return Object.keys(tokens).length > 0 ? tokens as CodingRunReportedTokens : undefined;\n}\n\n/**\n * One ATTEMPT at a build task — one actor execution, read from its own durable row (#1521).\n *\n * Nothing new is written to produce this: every dispatch has been an execution since #1359, so the\n * attempt history already existed and was read only five-at-a-time, newest first, across the whole\n * plan. This groups it by task.\n */\nexport interface ApplicationBuildTaskAttempt {\n /** The execution's own task id — the row an operator opens to read the full outcome. */\n readonly runTaskId: string;\n /**\n * A companion GENERATION step (labels, migrations, translations) rather than a coding run (#2232 review).\n * Both are attempts at a build task, but a generation step is no agent run: it has no agent-reported tokens or\n * cost, so counting it among the coding runs listed it as \"cost not reported by the agent\" and made every\n * coding-run total a false floor. Its own model calls' spend is {@link generationStepSpend}. Absent for a coding run.\n */\n readonly generationStep?: true;\n /**\n * What a GENERATION STEP's model calls spent, as its row records it (#2232). A labels or translations pass is\n * model calls priced by the provider, not an agent's reported cost, so it is a {@link PlaybookSpend}, the same\n * reading a playbook run's figure is. Absent on a coding run, and on a step whose row predates the field.\n */\n readonly generationStepSpend?: PlaybookSpend;\n /** This run was started past a landing the operator said was wrong, and why (#2217). */\n readonly landedOverride?: BuildTaskLandedOverride;\n readonly startedAt: string;\n readonly settledAt?: string;\n /** The execution's status, from the actor plane's own vocabulary. */\n readonly status: FlowsActors_Status;\n /** The coding lane's typed disposition, when the run recorded one (`ApplicationCodingTaskDisposition`). */\n readonly disposition?: string;\n readonly error?: string;\n /** Set when an operator put the task back in the queue after this run (#1535): the run no longer holds it. */\n readonly rearm?: BuildTaskRearm;\n /** Checks that were already red when this run started, each with its diagnosis (#1529). */\n readonly carriedFailures?: readonly CarriedVerificationDiagnosis[];\n /** Checks this run ran GREEN — what tells a repair that a carried red has since been cleared. */\n readonly passedCheckRefs?: readonly string[];\n /*\n * What the durable row already recorded about the run and nothing read (#1541): each answers a question\n * the first end-to-end run's post-mortem answered with a script over the raw rows.\n */\n /**\n * What the run cost, as the agent reported it: its session's cumulative total, so a whole run's cost\n * however many turns it took (#2232). Absent when the agent reported none — never read as zero.\n */\n readonly cost?: { readonly amount: number; readonly currency: string };\n /**\n * The tokens the run reported (#2232), each dimension present only when reported. A coding run's total\n * is mostly prompt-cache reads (on app-creation-test-004, 1.1M of a 1.2M-token run), so the cache read\n * is kept apart: it is what a total that looks enormous is made of.\n */\n readonly tokens?: CodingRunReportedTokens;\n /** Checks the run FAILED, as this run's own (a carried red is in `carriedFailures`, not here). */\n readonly failedCheckRefs?: readonly string[];\n /** Why the agent's turn ended — `max_tokens` or `refusal` leave a change set that reads as complete and is not. */\n readonly agentStopReason?: string;\n /** Permission requests the ceiling or the task's scope refused. */\n readonly deniedPermissionCount?: number;\n /** Paths changed during the run outside the task's declared scope — recorded, never refused. */\n readonly outOfScopePaths?: readonly string[];\n /** Files the run itself changed (exclusive to the run, appeared during it, or committed during it). */\n readonly filesChanged?: number;\n /** The runs that shared the tree with this one, and the paths both changed (#1528). Absent for a run alone. */\n readonly concurrency?: { readonly overlappingTaskRefs: readonly string[]; readonly contendedPaths: readonly string[] };\n /** It failed while other runs were editing the tree, so the failure may be theirs; the budget forgives a bounded number. */\n readonly interferenceSuspected?: true;\n /**\n * It COMPLETED, and a sibling of its wave overwrote its declared product (#2210): which runs, which files,\n * and whether the wave re-ran the task for it. Absent for a run nobody interfered with.\n */\n readonly interference?: BuildTaskInterference;\n /**\n * The run ended without ever starting, by the HOST's act: refused at admission, or left selected by\n * a stopped process (#1581). Shown in the history, because it explains why nothing ran, and counted\n * by no summary figure, because it was no attempt of the task's (`CodingRunStart.REFUSED_BY_HOST`).\n */\n readonly refusedBeforeStart?: true;\n /**\n * Nothing ran: either a host refusal (above) or admission refusing the task's OWN contract, which IS\n * an attempt the budget counts. Either way no agent worked, so the run could report no cost.\n */\n readonly ranNothing?: true;\n /**\n * Whose failure a failed run was (#1581): the budget forgives HOST failures up to a bound, so this is\n * what explains a task that failed three times and was still offered again.\n */\n readonly failureAttribution?: CodingRunFailureAttribution;\n /**\n * Requirements the run's agent reported it could NOT fully meet, from its closing report's typed block (#2496). A\n * completed run's entries derive follow-up tasks ({@link HOST_DERIVED_FOLLOW_UP_TASK_REF_PREFIX}); every run's are shown.\n */\n readonly unmetRequirements?: readonly ApplicationCodingUnmetRequirement[];\n /** The agent wrote the block and it did not parse: the gap was stated and could not be read (#2496). */\n readonly unmetRequirementsMalformed?: string;\n /**\n * What the review of a website task's copy found, once the run completed (#2593): claims its cited requirements do\n * not back, figures that disagree with their declarations. Advisory, like `unmetRequirements`: shown, never a reason\n * the task does not land. Absent for a run that was not a website run or is not reviewed yet.\n */\n readonly websiteCopyReview?: WebsiteCopyReview;\n /**\n * What the review of a website task's DRAWING found, once the run completed (#2785): rubric rules its sections break\n * as photographed, and what the camera measured. Advisory like the copy review: shown, never a reason the task does\n * not land. Absent for a run that was not a website run or is not reviewed yet.\n */\n readonly websiteVisualReview?: WebsiteVisualReview;\n}\n\n/**\n * Whether an attempt COUNTS as one of the task's: everything but a host refusal. A refusal of the task's\n * own contract counts although nothing ran, because the attempt budget counts it (#1581).\n */\nexport function isCountedBuildTaskAttempt(attempt: Pick<ApplicationBuildTaskAttempt, 'refusedBeforeStart'>): boolean {\n return attempt.refusedBeforeStart !== true;\n}\n\n/**\n * A red the build keeps meeting and no task caused — owed a repair, with its diagnosis (#1529).\n *\n * Grouped per check across every attempt that carried it, because that is the unit a repair fixes: one\n * broken generated file reds one check for every task that verifies against it.\n */\nexport interface ApplicationBuildRepairOwed {\n readonly checkRef: string;\n /** The first attempt that met it red — when the breakage is known to predate. */\n readonly firstSeenAt: string;\n readonly lastSeenAt: string;\n /** The tasks whose attempts met it red: the work this red has been taxing. */\n readonly affectedTaskRefs: readonly string[];\n /** From the most recent attempt that carried it. */\n readonly diagnosis: CarriedVerificationDiagnosis;\n}\n\n/** A landing probe that is NOT satisfied at HEAD — exactly what landing searched for, and where. */\nexport interface ApplicationBuildTaskUnmetProbe {\n readonly probe: BuildPlanTaskLandedProbe;\n /** For a shell probe: what the surface is missing, still carries, or could not be asked (#1538). */\n readonly shell?: ShellProbeExplanation;\n /** For a registry probe: what the application does not register as planned, or why it could not be read (#2966). */\n readonly registered?: AgentWorkProbeExplanation;\n /**\n * Whether the WORKING TREE satisfies it. `true` = the product is written and not committed (an\n * acceptance question); `false` = it is absent (a declaration or a work question). These lead to\n * different remedies, and \"not landed\" alone cannot tell them apart.\n */\n readonly satisfiedInWorkingTree: boolean;\n}\n\n/**\n * Everything the build knows about ONE task, in one read (#1521).\n *\n * The case it exists for: \"not landed\" hid three facts — never dispatched, dispatched and FAILED, and\n * dispatched, SUCCEEDED, and unprovable — and the third burned hours on the #1273 run because it is\n * indistinguishable from the first on every other surface. Here they are three different shapes:\n * no attempts; a failed attempt; a completed attempt with `unmetProbes`.\n */\nexport interface ApplicationBuildTaskRecord {\n readonly taskRef: string;\n readonly targetKind: string;\n readonly status: WorkbenchBuildPlanTaskStatus;\n /**\n * The follow-up tasks the host derived from this task's reported unmet requirements (#2496), as the plan carries them.\n * Named here so a reader never has to restate the derivation: absent means none was derived, whatever the attempts say.\n */\n readonly followUpTaskRefs?: readonly string[];\n /** Present on a follow-up task: the task whose reported gap derived it (#2496). */\n readonly followUpOf?: string;\n /** Newest first. Empty = never dispatched. */\n readonly attempts: readonly ApplicationBuildTaskAttempt[];\n /** READY tasks only: why dispatch passes over it, from the SAME classification the selector uses. */\n readonly stuck?: ApplicationBuildStuckTask;\n /** Not landed and attempted at least once: the probes HEAD does not satisfy. */\n readonly unmetProbes?: readonly ApplicationBuildTaskUnmetProbe[];\n /** A generation step that lands on schema-plan state rather than on files: that state, when not in sync. */\n readonly schemaPlanSyncState?: SchemaPlanSyncState;\n /** The `design-tokens` step, not landed and attempted: whether its stylesheet block is stale or could not be checked. */\n readonly designTokenBlockState?: DesignTokenBlockState;\n /** The `design-system-brand` step, not landed and attempted: whether its module is stale or the brand could not be read. */\n readonly brandDesignState?: BrandDesignState;\n /**\n * A generation step whose landing cannot be judged, and why (#2504): a labels plan that hides units the application\n * owes. Carried so the board and `wildo context journey` name the cause, instead of listing nothing.\n */\n readonly landingBlockedBy?: string;\n /** BLOCKED tasks only: the prerequisites that have not landed. */\n readonly waitingOn?: readonly string[];\n /** LANDED with no product to prove — RAN-not-PROVEN (`application-creation-directive.md`). */\n readonly unverifiable?: boolean;\n /**\n * LANDED, and no run of this task ever started (#2217): the probe found the product before anything ran. It may\n * be true — a sibling task's run wrote it, or a person did — or the probe may be reading something that is not\n * the product (#2216 read a comment). The board must not show it as a bare `landed`, which reads as \"built by its\n * own run\". `probedPaths` is where the probe found it; `wildo build run <task> --despite-landed` runs it anyway.\n */\n readonly landedBeforeAnyRun?: { readonly probedPaths: readonly string[] };\n /**\n * A generation step running in this companion right now: how far it has got (#2215). Without it a\n * step that runs for hours reads \"running\" the whole time, and slow cannot be told from stuck.\n */\n readonly progress?: GenerationStepProgress;\n}\n\nexport interface ApplicationBuildTaskRecords {\n readonly tasks: readonly ApplicationBuildTaskRecord[];\n readonly summary: {\n readonly taskCount: number;\n readonly landed: number;\n /** Of `landed`, the tasks no run of their own ever started (#2217) — see {@link ApplicationBuildTaskRecord.landedBeforeAnyRun}. */\n readonly landedBeforeAnyRun: number;\n readonly blocked: number;\n /** READY and no run ever STARTED — the work simply not reached yet. A refused dispatch starts nothing (#1581). */\n readonly readyNeverAttempted: number;\n /** READY, attempted, not stuck — a failed run the loop will re-offer. */\n readonly readyToRetry: number;\n /** READY and passed over, per typed reason. */\n readonly stuckByReason: Readonly<Record<Workbench_BuildTaskStuckReason, number>>;\n /** Runs that STARTED. A dispatch refused before admission is in its task's history and not here (#1581). */\n readonly attempts: number;\n /**\n * Attempts that COMPLETED on a task that has still not landed — dispatches that bought nothing.\n * The band-level stall signal: it grows while the landed count does not.\n */\n readonly completedAttemptsWithoutLanding: number;\n /** Tasks attempted more than once without landing — the per-task stall signal. */\n readonly repeatedlyAttemptedWithoutLanding: readonly string[];\n /** What the build has spent, per currency, and how much of it on tasks that have not landed (#1541). */\n readonly spend: ReturnType<typeof deriveBuildSpend>;\n /**\n * Parallel-build observability (#1528): the degree the lane runs at now, and across every attempt\n * how many overlapped another run, how many failed while suspected of interference, and which paths\n * two runs both changed.\n */\n readonly parallelism: {\n readonly degree: number;\n readonly overlappingAttempts: number;\n readonly interferenceSuspectedAttempts: number;\n /** Completed attempts whose product a sibling overwrote (#2210). */\n readonly interferedCompletedAttempts: number;\n readonly contendedPaths: readonly string[];\n };\n };\n /**\n * TRUE when an attempt listing reached its page cap, so some attempts may be missing. Said rather\n * than hidden: a count read off a truncated listing is a claim about the query, not the build.\n */\n readonly attemptsTruncated: boolean;\n /**\n * The application's runtimes a live dev-loop supervisor has PAUSED (#1537) — the application being\n * built cannot start. Said beside the build rather than gating it: most tasks build fine against a\n * dead backend, and refusing them would turn a visible problem into a stalled lane. Absent when no\n * supervisor could answer.\n */\n readonly unavailableRuntimes?: readonly UnavailableApplicationRuntime[];\n /**\n * The backends whose own start record says their last start FAILED (#2405), with the refusal. Unlike a paused\n * supervisor this is read in every dev-loop mode, including an app-creator application with no supervisor. The wave\n * stops filling while one is listed; this is where `wildo build tasks` shows why. Absent when there is none.\n */\n readonly bootFailures?: readonly ApplicationBuildRecordsBootFailure[];\n /**\n * Reds the build keeps meeting that no task caused (#1529), each with the files it names and what\n * generated them. A check that a LATER attempt ran green is cleared and not listed.\n */\n readonly repairsOwed: readonly ApplicationBuildRepairOwed[];\n}\n\n/**\n * The window of NEWEST runs a reader asks under when it is about recent runs only (the assembly repair's attempts this\n * round). A reader of a task's whole history (the build record, which tasks ever started a run, each task's latest\n * completed run for the follow-up derivation) reads to {@link BUILD_TASK_RECORD_HISTORY_CEILING} instead.\n */\nconst BUILD_TASK_ATTEMPT_PAGE_CAP = 200;\n\n/** How long one listing of the latest completed coding runs serves the plan reads of a burst (#2496 review F8). */\nconst LATEST_COMPLETED_CODING_RUNS_TTL_MS = 2_000;\n\n/**\n * How far back the BUILD RECORD reads each coding system's runs (#2530): the record is every attempt at every task, and a\n * window of the newest 200 is not that. On a long build that window held only the latest runs, so an early task attempted\n * six times showed fewer, and a task run long ago showed none.\n *\n * Still a bound, and still said (`attemptsTruncated`): the read pages from the database, newest first, so its cost grows\n * with the history, and an unbounded one would bring back what #2186 removed. Ten times the window: a whole creation run\n * fits under it many times over (a build is tens of tasks, each run a few times, plus the playbooks' own coding runs).\n * The other readers keep the window, since they ask about the newest runs only (what is in flight, what failed last).\n */\nexport const BUILD_TASK_RECORD_HISTORY_CEILING = 2_000;\n\n/**\n * How many of its OWN failures a build task may spend before dispatch stops offering it (#1536).\n * Three, because the first end-to-end run's two repeating tasks each failed three times identically:\n * a third identical failure says the dispatch, not luck, is the problem. Released by a re-arm.\n */\nexport const MAXIMUM_ATTRIBUTABLE_FAILED_ATTEMPTS = 3;\n\n/** How much of a failed check's output a retry is shown — enough for a compiler's first errors, not a log. */\nconst PREVIOUS_ATTEMPT_OUTPUT_TAIL_CHARS = 2000;\n\n/**\n * The follow-up task ref for one reported gap (#2496): the origin, the requirement, and a token of the REPORTING RUN, so\n * the same report derives the same task on every read while a later run reporting the gap again derives a NEW task (the\n * old follow-up's completed run must not land the new report at birth). Always a slug the graph schema accepts: a\n * requirement ref with no ASCII letter or digit (an agent may write `—` or `要件`) is named by a digest instead, so no\n * agent-written string can make the plan unreadable.\n */\nexport function deriveFollowUpTaskRef(originTaskRef: string, requirementRef: string, reportingRunTaskId: string): string {\n const slug = (value: string) => value.toLowerCase().replace(/[^a-z0-9]+/gu, '-').replace(/^-+|-+$/gu, '');\n const digest = (value: string) => createHash('sha256').update(value).digest('hex');\n const origin = slug(originTaskRef.replace(/^build-task-/u, '')) || `t${digest(originTaskRef).slice(0, 8)}`;\n const requirement = slug(requirementRef) || `r${digest(requirementRef).slice(0, 8)}`;\n return `${HOST_DERIVED_FOLLOW_UP_TASK_REF_PREFIX}${origin}-${requirement}-${digest(reportingRunTaskId).slice(0, 6)}`;\n}\n\nfunction projectBuildTaskAttempt(execution: {\n readonly systemRef?: string;\n readonly status: FlowsActors_Status;\n // The stored row's instants are dates (#2187); the attempt this builds carries ISO strings.\n readonly createdAt: Date;\n readonly finishedAt?: Date;\n readonly standaloneTasks: readonly { readonly _id: string; readonly input?: unknown; readonly output?: unknown; readonly memory?: unknown; readonly startedAt?: string }[];\n}): { readonly taskRef: string; readonly attempt: ApplicationBuildTaskAttempt } | null {\n const task = execution.standaloneTasks[0];\n const taskRef = (task?.input as { taskRef?: unknown } | undefined)?.taskRef;\n if (!task || typeof taskRef !== 'string') return null;\n const output = task.output as {\n disposition?: unknown;\n carriedVerificationDiagnoses?: unknown;\n carriedVerificationFailures?: unknown;\n verification?: unknown;\n usage?: { cost?: { amount?: unknown; currency?: unknown } } & Record<string, unknown>;\n agentStopReason?: unknown;\n deniedPermissionCount?: unknown;\n scopeAssessment?: { outOfScopePaths?: unknown };\n changeSetSummary?: { stats?: Record<string, unknown> };\n concurrency?: { overlappingTaskRefs?: unknown; contendedPaths?: unknown };\n interferenceSuspected?: unknown;\n failureAttribution?: unknown;\n unmetRequirements?: unknown;\n unmetRequirementsMalformed?: unknown;\n } | undefined;\n const rearm = readBuildTaskRearm(task.memory);\n const unmetRequirements = Array.isArray(output?.unmetRequirements)\n ? (output!.unmetRequirements as { requirementRef?: unknown; missing?: unknown }[])\n .filter((entry) => typeof entry?.requirementRef === 'string' && typeof entry.missing === 'string')\n .map((entry) => ({ requirementRef: entry.requirementRef as string, missing: entry.missing as string }))\n : [];\n const landedOverride = readBuildTaskLandedOverride(task.input);\n const interference = readBuildTaskInterference(task.memory);\n const websiteCopyReview = readWebsiteCopyReview(task.memory);\n const websiteVisualReview = readWebsiteVisualReview(task.memory);\n const carriedFailures = Array.isArray(output?.carriedVerificationDiagnoses)\n ? (output!.carriedVerificationDiagnoses as CarriedVerificationDiagnosis[]).filter((entry) => typeof entry?.checkRef === 'string')\n : [];\n const verification = Array.isArray(output?.verification)\n ? (output!.verification as { checkRef?: unknown; outcome?: { success?: unknown } }[]).filter((entry) => typeof entry?.checkRef === 'string')\n : [];\n const passedCheckRefs = verification.filter((entry) => entry.outcome?.success === true).map((entry) => String(entry.checkRef));\n const carriedRefs = new Set(Array.isArray(output?.carriedVerificationFailures) ? (output!.carriedVerificationFailures as unknown[]).map(String) : []);\n const failedCheckRefs = verification\n .filter((entry) => entry.outcome?.success === false && !carriedRefs.has(String(entry.checkRef)))\n .map((entry) => String(entry.checkRef));\n const cost = output?.usage?.cost;\n // Whichever key the run's writer used (#2390): `failure` for a refusal or a step, `error` and its siblings for a coding run.\n const failureMessage = readSettledRunFailureMessage(output);\n const tokens = readCodingRunReportedTokens(output?.usage);\n const stats = output?.changeSetSummary?.stats;\n const count = (value: unknown): number => (typeof value === 'number' && Number.isFinite(value) ? value : 0);\n const outOfScopePaths = Array.isArray(output?.scopeAssessment?.outOfScopePaths)\n ? (output!.scopeAssessment!.outOfScopePaths as unknown[]).map(String)\n : [];\n return {\n taskRef,\n attempt: {\n runTaskId: String(task._id),\n ...(execution.systemRef === APPLICATION_BUILD_SYSTEM_REF ? { generationStep: true as const } : {}),\n ...(() => {\n if (execution.systemRef !== APPLICATION_BUILD_SYSTEM_REF) return {};\n const generationStepSpend = readRecordedPlaybookSpend((task.output as { spend?: unknown } | undefined)?.spend);\n return generationStepSpend ? { generationStepSpend } : {};\n })(),\n startedAt: execution.createdAt.toISOString(),\n ...(execution.finishedAt ? { settledAt: execution.finishedAt.toISOString() } : {}),\n status: execution.status,\n ...(typeof output?.disposition === 'string' ? { disposition: output.disposition } : {}),\n ...(failureMessage !== undefined ? { error: failureMessage } : {}),\n ...(rearm ? { rearm } : {}),\n ...(landedOverride ? { landedOverride } : {}),\n ...(carriedFailures.length > 0 ? { carriedFailures } : {}),\n ...(passedCheckRefs.length > 0 ? { passedCheckRefs } : {}),\n ...(typeof cost?.amount === 'number' && typeof cost.currency === 'string' ? { cost: { amount: cost.amount, currency: cost.currency } } : {}),\n ...(tokens ? { tokens } : {}),\n ...(failedCheckRefs.length > 0 ? { failedCheckRefs } : {}),\n ...(typeof output?.agentStopReason === 'string' ? { agentStopReason: output.agentStopReason } : {}),\n ...(typeof output?.deniedPermissionCount === 'number' ? { deniedPermissionCount: output.deniedPermissionCount } : {}),\n ...(outOfScopePaths.length > 0 ? { outOfScopePaths } : {}),\n ...(stats ? { filesChanged: count(stats['runExclusive']) + count(stats['appearedDuringRun']) + count(stats['committedDuringRun']) } : {}),\n ...(Array.isArray(output?.concurrency?.overlappingTaskRefs) ? {\n concurrency: {\n overlappingTaskRefs: (output!.concurrency!.overlappingTaskRefs as unknown[]).map(String),\n contendedPaths: Array.isArray(output!.concurrency!.contendedPaths) ? (output!.concurrency!.contendedPaths as unknown[]).map(String) : [],\n },\n } : {}),\n ...(output?.interferenceSuspected === true ? { interferenceSuspected: true as const } : {}),\n ...(interference ? { interference } : {}),\n ...(typeof output?.failureAttribution === 'string' ? { failureAttribution: output.failureAttribution as CodingRunFailureAttribution } : {}),\n ...(unmetRequirements.length > 0 ? { unmetRequirements } : {}),\n ...(typeof output?.unmetRequirementsMalformed === 'string' ? { unmetRequirementsMalformed: output.unmetRequirementsMalformed } : {}),\n ...(websiteCopyReview ? { websiteCopyReview } : {}),\n ...(websiteVisualReview ? { websiteVisualReview } : {}),\n ...refusalMarks(deriveCodingRunStart({ status: execution.status, ...(task.startedAt ? { startedAt: task.startedAt } : {}), ...(output ? { output } : {}) })),\n },\n };\n}\n\n/**\n * What one website run's copy review covers (#2593): the task's own subjects, and — for a PAGE task — every section of\n * its page whose section task has no completed run of its own. A page agent that wrote its sections' bodies despite\n * its boundary leaves those tasks landed by probe with no run to review them, so the page run's review covers them.\n */\nfunction websiteCopyReviewScope(\n task: BuildPlanTask,\n tasks: readonly BuildPlanTask[],\n companionExports: unknown,\n latest: ReadonlyMap<string, ApplicationBuildTaskAttempt>,\n deliveryOf?: (requirementRef: string) => WebsiteClaimDelivery,\n): { readonly own: readonly WebsiteTaskCopySubject[]; readonly alsoReviewed: readonly WebsiteCopyAlsoReviewed[] } {\n const own = describeWebsiteTaskCopySubjects(task, companionExports, deliveryOf) ?? [];\n const pageRefs = new Set(task.produces.flatMap((product) => (product.kind === BuildPlanTaskProductKind.WEBSITE_PAGE ? [product.pageRef] : [])));\n if (pageRefs.size === 0) return { own, alsoReviewed: [] };\n const alsoReviewed = tasks\n .filter((candidate) => candidate.taskRef !== task.taskRef && candidate.target.kind === BuildPlanTaskTargetKind.WEBSITE && !latest.has(candidate.taskRef)\n && candidate.produces.some((product) => product.kind === BuildPlanTaskProductKind.WEBSITE_SECTION && pageRefs.has(product.pageRef)))\n .map((candidate) => ({ taskRef: candidate.taskRef, subjects: describeWebsiteTaskCopySubjects(candidate, companionExports, deliveryOf) ?? [] }))\n .filter((entry) => entry.subjects.length > 0);\n return { own, alsoReviewed };\n}\n\n/** A locale's website pack (by its CODE) from a tree reader, `undefined` when absent or not a flat object. */\nexport async function readWebsiteLabelPack(reader: { readText(subjectRelativePath: string): Promise<string | undefined> }, locale: string): Promise<Readonly<Record<string, unknown>> | undefined> {\n const text = await reader.readText(websiteLabelPackPath(locale));\n if (text === undefined) return undefined;\n try {\n const parsed: unknown = JSON.parse(text);\n return typeof parsed === 'object' && parsed !== null && !Array.isArray(parsed) ? parsed as Record<string, unknown> : undefined;\n } catch {\n return undefined;\n }\n}\n\nfunction sameWebsiteCopy(left: Readonly<Record<string, string>>, right: Readonly<Record<string, string>>): boolean {\n const keys = Object.keys(left);\n return keys.length === Object.keys(right).length && keys.every((key) => right[key] === left[key]);\n}\n\n/** What an attempt's record says about a run that never started (`deriveCodingRunStart`, #1581). */\nfunction refusalMarks(start: CodingRunStart): { refusedBeforeStart?: true; ranNothing?: true } {\n if (start === CodingRunStart.REFUSED_BY_HOST) return { refusedBeforeStart: true, ranNothing: true };\n if (start === CodingRunStart.REFUSED_CONTRACT) return { ranNothing: true };\n return {};\n}\n\n/**\n * What the build has SPENT, per currency (#1541): every attempt's reported cost, and the part of it\n * spent on tasks that have not landed. Rounded at this boundary to the cent, because it accumulates.\n *\n * `attemptsWithoutReportedCost` counts SETTLED attempts whose run reported no cost (#1507): an agent may\n * report none, and those attempts are not in the totals — which are then a floor, and say so, rather\n * than quietly reading an unpriced attempt as free. An attempt still running has no cost yet and is not\n * counted.\n *\n * `totalTokens` / `cacheReadTokens` (#2232) sum what the runs REPORTED, present only when at least one did.\n * Generation steps are left out of every figure here: they are no agent runs and report neither.\n * Tokens are reported where a cost may not be (an agent priced by subscription, a provider that prices\n * nothing), so they are the figure that says a run worked when its cost is unknown.\n */\nexport function deriveBuildSpend(records: readonly Pick<ApplicationBuildTaskRecord, 'status' | 'attempts'>[]): {\n readonly total: Readonly<Record<string, number>>;\n readonly onTasksNotLanded: Readonly<Record<string, number>>;\n readonly attemptsWithoutReportedCost: number;\n readonly totalTokens?: number;\n readonly cacheReadTokens?: number;\n /** The generation steps' own spend (#2232), apart from the coding runs. Absent when no step ran. */\n readonly generationSteps?: ApplicationBuildGenerationStepSpend;\n} {\n const total: Record<string, number> = {};\n const onTasksNotLanded: Record<string, number> = {};\n let attemptsWithoutReportedCost = 0;\n const tokens: { totalTokens?: number; cacheReadTokens?: number } = {};\n const generationSpends: PlaybookSpend[] = [];\n let generationSteps = 0;\n let generationStepsWithoutRecordedSpend = 0;\n for (const record of records) {\n for (const attempt of record.attempts) {\n // A run that never started could report no cost: it is not an unpriced attempt (#1581).\n if (attempt.ranNothing === true) continue;\n // A generation step is no agent run: its model calls are its own figure, never an unpriced coding run (#2232).\n if (attempt.generationStep === true) {\n if (attempt.settledAt === undefined) continue;\n generationSteps += 1;\n // A step no meter observed recorded nothing either: counted apart, never merged in as spending nothing.\n if (attempt.generationStepSpend && attempt.generationStepSpend.measurement !== PlaybookSpendMeasurement.NOT_OBSERVED) generationSpends.push(attempt.generationStepSpend);\n else generationStepsWithoutRecordedSpend += 1;\n continue;\n }\n for (const key of ['totalTokens', 'cacheReadTokens'] as const) {\n const value = attempt.tokens?.[key];\n if (value !== undefined) tokens[key] = (tokens[key] ?? 0) + value;\n }\n if (!attempt.cost) {\n if (attempt.settledAt !== undefined) attemptsWithoutReportedCost += 1;\n continue;\n }\n total[attempt.cost.currency] = (total[attempt.cost.currency] ?? 0) + attempt.cost.amount;\n if (record.status !== WorkbenchBuildPlanTaskStatus.LANDED) {\n onTasksNotLanded[attempt.cost.currency] = (onTasksNotLanded[attempt.cost.currency] ?? 0) + attempt.cost.amount;\n }\n }\n }\n const cents = (sums: Record<string, number>) => Object.fromEntries(Object.entries(sums).map(([currency, amount]) => [currency, Math.round(amount * 100) / 100]));\n return {\n total: cents(total),\n onTasksNotLanded: cents(onTasksNotLanded),\n attemptsWithoutReportedCost,\n ...tokens,\n ...(generationSteps > 0 ? { generationSteps: {\n steps: generationSteps,\n stepsWithoutRecordedSpend: generationStepsWithoutRecordedSpend,\n // Absent when no step recorded one: an empty merge would read \"measured, 0 calls\" beside steps that recorded nothing.\n ...(generationSpends.length > 0 ? { spend: mergePlaybookSpend(generationSpends) } : {}),\n } } : {}),\n };\n}\n\n/**\n * What the build's generation steps spent (#2232): how many settled, how many have no recorded spend (a row\n * from before #2232), and their merged spend. The merged spend's own `measurement` says whether any call\n * reported no usage; a step with no recorded spend is counted apart, never as free.\n */\nexport interface ApplicationBuildGenerationStepSpend {\n readonly steps: number;\n readonly stepsWithoutRecordedSpend: number;\n /** The steps' recorded spend, merged. Absent when no step recorded one. */\n readonly spend?: PlaybookSpend;\n}\n\n/**\n * The reds owed a repair, from every attempt's record (#1529). Pure over the attempts, so what counts as\n * \"still owed\" is pinned rather than implied: a check is cleared once any attempt that started AFTER the\n * last one carrying it ran it green.\n */\nexport function deriveRepairsOwed(attemptsByTask: ReadonlyMap<string, readonly ApplicationBuildTaskAttempt[]>): ApplicationBuildRepairOwed[] {\n const byCheck = new Map<string, { firstSeenAt: string; lastSeenAt: string; affected: Set<string>; diagnosis: CarriedVerificationDiagnosis }>();\n const passes: { checkRef: string; at: string }[] = [];\n for (const [taskRef, attempts] of attemptsByTask) {\n for (const attempt of attempts) {\n for (const checkRef of attempt.passedCheckRefs ?? []) passes.push({ checkRef, at: attempt.startedAt });\n for (const carried of attempt.carriedFailures ?? []) {\n const entry = byCheck.get(carried.checkRef);\n if (entry === undefined) {\n byCheck.set(carried.checkRef, { firstSeenAt: attempt.startedAt, lastSeenAt: attempt.startedAt, affected: new Set([taskRef]), diagnosis: carried });\n continue;\n }\n entry.affected.add(taskRef);\n if (attempt.startedAt < entry.firstSeenAt) entry.firstSeenAt = attempt.startedAt;\n if (attempt.startedAt > entry.lastSeenAt) {\n entry.lastSeenAt = attempt.startedAt;\n entry.diagnosis = carried;\n }\n }\n }\n }\n return [...byCheck]\n .filter(([checkRef, entry]) => !passes.some((pass) => pass.checkRef === checkRef && pass.at > entry.lastSeenAt))\n .map(([checkRef, entry]) => ({\n checkRef,\n firstSeenAt: entry.firstSeenAt,\n lastSeenAt: entry.lastSeenAt,\n affectedTaskRefs: [...entry.affected].sort(),\n diagnosis: entry.diagnosis,\n }))\n .sort((left, right) => left.firstSeenAt.localeCompare(right.firstSeenAt));\n}\n\n/** What the next dispatch WOULD be. Returned unconfirmed, so a creator sees the scope before anything runs. */\nexport interface ApplicationBuildDispatchPlan {\n readonly taskRef: string;\n readonly objective: string;\n readonly targetKind: string;\n /**\n * What the task DECLARES it will produce (#1432).\n *\n * Carried on the plan because the plan is what the coding-run judge is given, and its treatment asks\n * whether the run implemented the dispatched task's target and stage — a question nothing can answer\n * from a taskRef and a target kind. It is also what a creator reading an unconfirmed plan needs in\n * order to see the scope: the mutation prefixes say where the agent may write, and only this says\n * what is supposed to come out.\n */\n readonly produces: readonly BuildPlanTaskProduct[];\n /**\n * Present exactly when the next task is a companion generation step. A build plan INTERLEAVES two\n * executors — coding tasks for a coding agent, and companion generation steps (labels, seeds, emails)\n * the companion runs itself — and this route serves BOTH: `dispatch-next` routes by the task's own\n * `target.kind`. (An earlier version refused generation steps by name; now that an executor exists,\n * the refusal would be a hole in the build lane, not a boundary.)\n */\n readonly generationStepRef?: string;\n readonly allowedPathPrefixes: readonly string[];\n readonly prohibitedPathPrefixes: readonly string[];\n readonly requiredChecks: readonly string[];\n readonly installedSkillRefs: readonly string[];\n readonly readyTaskRefs: readonly string[];\n readonly landedTaskRefs: readonly string[];\n /**\n * The subset of `landedTaskRefs` that landed WITHOUT PROOF — a task declaring no product, which has\n * a completed run and therefore cannot be held against the queue, but whose work nothing verified.\n *\n * A subset rather than a separate state on purpose: for scheduling these tasks ARE landed, and a\n * caller that forgot this field would schedule correctly and merely report less. The opposite\n * shape — a third status the scheduler must interpret — is how a task nobody handled becomes a\n * task nobody runs.\n *\n * Empty is the healthy answer and the one a regenerated plan produces (#600): a task that declares\n * what it produces is proven landed or is not landed, with no third case.\n */\n readonly unverifiableLandedTaskRefs: readonly string[];\n}\n\n/**\n * A build task that has been SELECTED and composed, before either executor has touched it.\n *\n * Named rather than inlined on `prepareNextBuildTask` because both dispatch doors now pass one of\n * these to a shared executor — the seam that makes selection happen exactly once per dispatch.\n *\n * `stuckTasks` rides the selection that produced it, so a concurrent pass can never be reported in\n * its place (#1451).\n */\ntype PreparedBuildTask = (\n | { readonly kind: 'CODING'; readonly plan: ApplicationBuildDispatchPlan; readonly contract: ReturnType<typeof composeBuildTaskCodingContract>; readonly stuckTasks: readonly ApplicationBuildStuckTask[] }\n | { readonly kind: 'GENERATION_STEP'; readonly plan: ApplicationBuildDispatchPlan; readonly task: BuildPlanTask; readonly stuckTasks: readonly ApplicationBuildStuckTask[] }\n) & {\n /** Set only when the selection EXERCISED an override: the task read landed and the operator ran it anyway (#2217). */\n readonly landedOverride?: BuildTaskLandedOverride;\n};\n\n\n/**\n * The stuck reasons a landed override passes (#2217): a COMPLETED earlier run, with or without its writes\n * committed — that run is the landing the operator says is wrong. Every other reason still refuses the task.\n */\nconst LANDED_OVERRIDE_RELEASES: ReadonlySet<Workbench_BuildTaskStuckReason> = new Set([\n Workbench_BuildTaskStuckReason.COMPLETED_UNLANDED,\n Workbench_BuildTaskStuckReason.COMPLETED_AWAITING_COMMIT,\n]);\n\n/** How long a CONCURRENT admission waits for the compile watchers before starting anyway (#1528). */\nconst CONCURRENT_ADMISSION_COMPILE_QUIET_MS = 30_000;\n\n/** Dispatches one wave call may make per slot before it returns and lets the next call continue. */\nexport const WAVE_DISPATCHES_PER_DEGREE = 4;\n\n/** Why a wave stopped taking new tasks — it always still drains the runs already live. */\nexport enum ApplicationBuildWaveStop {\n /** No task is ready and no run is live: the plan is done, blocked, or every ready task is stuck. */\n NOTHING_READY = 'nothing-ready',\n /** The call reached its dispatch cap; the next call continues. */\n DISPATCH_CAP = 'dispatch-cap',\n /** The next ready task is a generation step this call already ran, and its landing is still unmet. */\n GENERATION_STEP_REPEATED = 'generation-step-repeated',\n /** An admission was refused; the refusal is on the dispatch entry. */\n DISPATCH_REFUSED = 'dispatch-refused',\n /**\n * The coding agent's account hit its usage limit (#2388): every turn started before its reset would be\n * refused the same way, so the wave starts none. `usageLimit` on the result says when it resumes, and the\n * build lane submits the next wave then.\n */\n CODING_AGENT_USAGE_LIMITED = 'coding-agent-usage-limited',\n /**\n * The application's backend no longer starts (#2405): its own start record says the last start FAILED, after the\n * newest commit had its chance to restart it. Every task landed now would be built on, and verified against, an\n * application that cannot run. `bootFailures` on the result names the backend, its refusal and the runs this wave\n * landed (`wildo build tasks` names every task landed since the last good start, across waves). While runs are live\n * the filling only pauses and asks again at the next settle; with none live it stops. A task named with\n * `wildo build run` still runs, because re-running the task that broke it is the repair.\n */\n APPLICATION_DOES_NOT_BOOT = 'application-does-not-boot',\n}\n\n/**\n * The next-task doors' refusal while the application's backend does not start (#2405). A CONFLICT: the request is\n * valid, the application's state forbids it, and the message names the refusal and the repair.\n */\nexport class ApplicationDoesNotBootError extends Error {\n public constructor(public readonly bootFailures: readonly ApplicationBootFailure[]) {\n super(`The application's backend does not start, so no next task is dispatched: ${bootFailures\n .map((failure) => `${failure.serviceIdentifier} — ${failure.message ?? 'no reason recorded'}`).join('; ')}. `\n + 'Fix the task that broke it: wildo build run <taskRef> --despite-landed --reason operator-judgement --note \"<the refusal>\".');\n this.name = 'ApplicationDoesNotBootError';\n }\n}\n\n/**\n * A backend start failure as the build records show it (#2405 review F3): with the tasks whose coding run COMPLETED\n * since the backend's last good start, across waves — the candidates for the break. Empty when the backend never\n * started cleanly in this record, or when nothing has completed since.\n */\nexport interface ApplicationBuildRecordsBootFailure extends ApplicationBootFailure {\n readonly candidateTaskRefs: readonly string[];\n}\n\n/** A backend start failure that stopped a wave (#2405), with the runs this wave landed that may have caused it. */\nexport interface ApplicationBuildBootFailure extends ApplicationBootFailure {\n /** Coding runs of THIS wave that completed: the candidates when the backend broke during it. Empty if it was broken before. */\n readonly landedThisWave: readonly string[];\n}\n\n/** One task a wave dispatched: a coding admission, a generation step, or the refusal that ended the filling. */\nexport interface ApplicationBuildWaveDispatch {\n readonly plan: ApplicationBuildDispatchPlan;\n readonly admission?: ApplicationCodingTaskRunAdmission;\n readonly generationStep?: ApplicationBuildGenerationStepRunResult;\n readonly error?: string;\n}\n\n/** What one wave call did (#1528). */\nexport interface ApplicationBuildWaveResult {\n readonly degree: number;\n readonly mode: CodingRunConcurrency;\n readonly dispatched: readonly ApplicationBuildWaveDispatch[];\n /** Each coding run's settled outcome, in settle order; `null` for a row that could not be classified. */\n readonly outcomes: readonly (ApplicationCodingTaskSettledOutcome | null)[];\n /**\n * The end-of-wave repair (#1805): per run it named, how many paths its ONE commit carried (0 for a run\n * that contributed nothing to it).\n */\n readonly reconciliation: readonly { readonly taskId: string; readonly committedPaths: number; readonly error?: string }[];\n /**\n * The runs that completed and lost their product to a sibling, found once the wave's tree was reconciled,\n * and what was done about each (#2210). Empty for a single-flight wave, which has no sibling.\n */\n readonly interferenceRepairs: readonly ApplicationBuildInterferenceRepair[];\n readonly stoppedFillingBecause: ApplicationBuildWaveStop;\n /** Set when the wave stopped because the backend does not start (`APPLICATION_DOES_NOT_BOOT`, #2405). */\n readonly bootFailures?: readonly ApplicationBuildBootFailure[];\n /**\n * The usage limit that stopped the filling (`CODING_AGENT_USAGE_LIMITED`, #2388): when the lane resumes,\n * and the run that met it. Absent for every other stop.\n */\n readonly usageLimit?: CodingAgentUsageLimit & { readonly taskRef: string; readonly runTaskId: string };\n /**\n * Present when the wave ended because the PLAN is exhausted — every task landed — and says whether the application\n * those tasks built assembles (#2222). A parallel build ends here rather than at a single dispatch door, so this\n * is where \"the build is finished\" is claimed for it.\n */\n readonly assembly?: ApplicationAssemblyVerdict;\n /**\n * The repairs the wave's end ran because the finished plan did not assemble (#2283), in order: which check each\n * repaired and how its run settled (`null` when the row could not be classified). `assembly` is the verdict after\n * the last of them.\n */\n readonly assemblyRepairs?: readonly { readonly checkRef: string; readonly taskRef: string; readonly outcome: ApplicationCodingTaskSettledOutcome | null }[];\n}\n\n/**\n * One completed run whose declared product a concurrent sibling overwrote (#2210), and its repair: the task\n * is re-armed and run again ALONE, so nothing can overwrite the second attempt. `rerun` is absent when the\n * bound was already spent (`interference.requeued` is then false and the task waits for a person).\n */\nexport interface ApplicationBuildInterferenceRepair {\n readonly taskRef: string;\n /** The completed run that lost its product. */\n readonly runTaskId: string;\n readonly interference: BuildTaskInterference;\n readonly rerun?: {\n readonly dispatch?: ApplicationBuildDispatchResult;\n readonly outcome?: ApplicationCodingTaskSettledOutcome | null;\n /** The re-run could not be dispatched; the task stays re-armed, so the next dispatch offers it. */\n readonly error?: string;\n };\n}\n\n/**\n * One dispatched build task's outcome — exactly one of the two executor results is present, matching the\n * plan's `targetKind`. `admission` for a coding run; `generationStep` for a companion generation step.\n */\nexport interface ApplicationBuildDispatchResult {\n readonly plan: ApplicationBuildDispatchPlan;\n readonly admission?: ApplicationCodingTaskRunAdmission;\n readonly generationStep?: ApplicationBuildGenerationStepRunResult;\n}\n\n/**\n * Dispatch the next ready build-plan task to a coding agent.\n *\n * ## The chain, and who owns each link\n *\n * | link | owner |\n * |---|---|\n * | which tasks have landed | GIT — a task has landed when the files it produces are committed |\n * | which are READY | `selectReadyBuildPlanTasks` in `_core` — pure, prerequisite-closed |\n * | what a task may touch | `resolveBuildPlanTaskCodingPolicy` — the ONLY place a `target.kind` becomes paths |\n * | the contract | `composeBuildTaskCodingContract` in the runtime — pure, schema-pinned |\n * | the run | `CodingAgentDispatchCompanionService` — mutation lock, git baseline, change-set capture |\n *\n * Nothing in that chain is decided by a model. The agent is handed a task and a boundary; it does not\n * choose either.\n *\n * ## There is no confirmation flag, and that was a correction\n *\n * `dispatchNextBuildTask` ran only when the caller also passed `confirmWorkspaceMutation: true`. It was\n * removed the day it was written, because it protected nothing the mechanism does not already protect:\n * the scope is derived from the task's CLOSED `target.kind` and cannot be widened, the mutation lock\n * admits one workspace-mutating run at a time, the run is bracketed by a git baseline snapshot and a\n * change-set capture so every touched path is visible and revertible, the required checks gate the\n * result, and acceptance is a separate act: the loop's commit under the autonomy posture, authored as\n * the companion and refusing what it cannot vouch for, or a person's (#1534).\n *\n * A caller that posts to this route is asking for a coding run — that IS the route. Making them say so\n * twice is the acceptance ceremony this whole migration exists to remove, and a field that feels like a\n * control while enforcing nothing is the exact failure mode recorded in the plan's objective.\n *\n * What was genuinely useful in it — seeing the scope before committing to a run — is a READ, and lives at\n * `describeNextBuildTask` below.\n */\n/**\n * A ready task that has already been run to a working result — the loop guard's typed refusal.\n *\n * Distinct from `ApplicationBuildPlanExhaustedError`, which means the OPPOSITE and is a healthy\n * terminal state. Conflating them would let an operator read a money-burning loop as \"the build is\n * finished\".\n */\n/**\n * A build wave was asked for while one is already running in this companion (#2208 review M1).\n *\n * A second wave would double the width the person set, and it would break the first wave's end: that wave\n * commits what its runs left and re-runs interfered tasks ALONE \"now that nothing is writing\", which is false\n * while a second wave's runs are live. Refused as a CONFLICT — nothing is wrong with the request, the\n * companion's state forbids it — and the remedy is to wait for the running wave, whose feed line ends it.\n */\nexport class ApplicationBuildWaveInFlightError extends Error {\n public constructor(public readonly startedAt: string) {\n super(`A build wave is already running (started ${startedAt}). Follow it with \\`wildo creation feed --follow\\`; `\n + 'start the next one once it has ended — it takes the tasks that are ready then.');\n }\n}\n\nexport class ApplicationBuildTaskCompletedButUnlandedError extends Error {\n /**\n * `stuckTasks` is every ready task that cannot move, as typed facts. The message explains the FIRST;\n * the read door answers with all of them, so a board never has to parse this prose (#1451).\n */\n public constructor(\n message: string,\n public readonly taskRef: string,\n public readonly priorTaskId: string,\n public readonly stuckTasks: readonly ApplicationBuildStuckTask[],\n public readonly queue: ApplicationBuildStuckQueue,\n ) {\n super(message);\n this.name = 'ApplicationBuildTaskCompletedButUnlandedError';\n }\n}\n\n/**\n * A NAMED task was asked for and it is not READY (#1454, Step 7): landed already, blocked on a\n * prerequisite, or not in the plan. The graph still decides what may run; naming a task only lets\n * the creator pick among the ready ones. `standing` and the unmet refs are what the answer needs.\n */\nexport enum ApplicationBuildTaskStanding {\n /** The task has landed: its declared product is committed. */\n LANDED = 'landed',\n /** The task waits on a prerequisite that has not landed. */\n BLOCKED = 'blocked',\n /** The plan holds no such task. */\n UNKNOWN = 'unknown',\n}\n\nexport class ApplicationBuildTaskNotReadyError extends Error {\n public constructor(\n message: string,\n public readonly taskRef: string,\n public readonly standing: ApplicationBuildTaskStanding,\n public readonly unmetPrerequisiteTaskRefs: readonly string[],\n ) {\n super(message);\n this.name = 'ApplicationBuildTaskNotReadyError';\n }\n}\n\n/** Where a dispatch was started from, carried onto the run's row so the conversation shows it (#1454, Step 7). */\nexport interface ApplicationBuildDispatchOrigin {\n readonly conversationId?: string;\n /** An operator ran a task the landing probe calls landed, and why (#2217). */\n readonly landedOverride?: BuildTaskLandedOverride;\n}\n\n/** A NAMED selection, and — for a task that reads landed — the operator's override of that landing (#2217). */\nexport interface ApplicationBuildTaskSelection {\n readonly taskRef: string;\n readonly despiteLanded?: BuildTaskLandedOverride;\n}\n\n/**\n * Why a READY task cannot make progress is `Workbench_BuildTaskStuckReason` in\n * `@wildo-ai/platform-core-shared`. It moved there in #1451 so the board can render it; this service\n * is its only producer.\n */\nexport interface ApplicationBuildStuckTask {\n readonly taskRef: string;\n /** The run that proves it is stuck; empty for a task that is unbuildable before any run. */\n readonly priorTaskId: string;\n readonly completedAt?: string;\n readonly reason: Workbench_BuildTaskStuckReason;\n /** Set only for `COMPLETED_AWAITING_COMMIT`: the probed paths that are present but not committed. */\n readonly uncommittedPaths?: readonly string[];\n /** Set only for `NO_DOCUMENT_BLUEPRINT`, so the message can name the ref that has no blueprint. */\n readonly documentRef?: string;\n /**\n * The parked run's own question, carried so the refusal is complete on its own.\n *\n * Until #1359 this was the ONLY place the question survived a companion restart: the operator\n * surface read an in-process map that a restart emptied, exactly when this guard matters. The\n * surface now reads the run's waiting execution, so both hold it — and the message still carries\n * it, because a refusal that sends its reader elsewhere for the one fact it is about is a worse\n * refusal, whatever the elsewhere.\n */\n readonly question?: string;\n}\n\n\n/**\n * The most files a configuration's relative-import closure is followed to (#2305 review). A configuration reaches a\n * handful (measured: at most 8 across the dogfood applications); the bound stops a pathological import graph from\n * turning one landing resolution into a walk of the application. A closure that reaches it is not answered: the files\n * past it were never asked about, so landing on the part that was read would be the defect the closure exists to stop.\n */\nconst CONFIGURATION_IMPORT_CLOSURE_LIMIT = 200;\n\n/**\n * The committed tree as ONE landing resolution reads it: each path is asked at most once (#1005).\n *\n * A plan's tasks probe the same few files. A resource's schema, config and ui-behaviour tasks all read\n * that resource's files, so resolving probe by probe spawned git for the same path again and again. The\n * answer cannot change within one resolution, which is also what the landed set it builds assumes.\n */\n/**\n * The same two questions are also asked of the WORKING TREE (`createWorktreeReader`), only to explain a\n * stuck task — never to decide landing. There \"committed\" reads as \"present on disk\".\n */\ninterface CommittedTreeReader {\n isCommitted(subjectRelativePath: string): Promise<boolean>;\n readText(subjectRelativePath: string): Promise<string | undefined>;\n /**\n * Answer `isCommitted` for a whole path set up front, in a bounded number of git spawns.\n *\n * Pure acceleration: it seeds the same memo `isCommitted` would have filled one path at a time, so\n * a path this does not cover still resolves on demand and the answers are identical either way.\n */\n primeCommitted(subjectRelativePaths: readonly string[]): Promise<void>;\n /** The same, for committed TEXT: one `cat-file --batch` instead of one `show` per path. */\n primeTexts(subjectRelativePaths: readonly string[]): Promise<void>;\n /**\n * What the resolved shell carries and what the placement plan decided — ONE introspection per\n * landing resolution, however many shell probes ask (#1538). The paths it names are then asked of\n * THIS reader, so the committed reader and the working-tree reader give their own answers.\n */\n shellWitness(): Promise<ShellWitness>;\n /**\n * What the application's backend registers of its agent work (#2966) — ONE introspection per landing resolution,\n * however many registry probes ask. Like the shell, the files a probe then requires are asked of THIS reader.\n */\n agentWorkWitness(): Promise<AgentWorkWitness>;\n /** The application's relationship kinds, read from its configuration once per landing resolution (#2305 S6). */\n relationshipConferralWitness(): Promise<RelationshipConferralWitness>;\n}\n\n/** The introspection half of a reader: answered from the live application, identical for every tree one resolution reads. */\ntype IntrospectionWitnesses = Pick<CommittedTreeReader, 'shellWitness' | 'agentWorkWitness' | 'relationshipConferralWitness'>;\n\n/**\n * The application's registered agent work, as a registry probe needs it (#2966). Three-valued like {@link ShellWitness}:\n * a registry that could not be READ (no backend, a failed introspection, a backend that does not build) lands nothing\n * and says why, never \"nothing is registered\".\n */\nexport type AgentWorkWitness =\n | { readonly answered: false; readonly reason: string }\n | { readonly answered: true; readonly declarations: AgentWorkDeclarations };\n\n/** Why a registry probe is or is not satisfied — what the build record reports for it (#2966). */\nexport interface AgentWorkProbeExplanation {\n readonly satisfied: boolean;\n /** Set when the registry could not be read: the probe is then unsatisfied without being a \"no\". */\n readonly unanswerable?: string;\n /** What the task's module does not register as planned, typed; empty when the product is registered as planned. */\n readonly missing: readonly AgentWorkShortfall[];\n /** Registration files, or files the agent index imports, that differ from HEAD (committed reader) or are absent (working tree). */\n readonly uncommittedPaths: readonly string[];\n}\n\n/**\n * The shell, as a landing probe needs it (#1538). Three-valued by construction: a witness that could\n * not be READ (no placement plan, no frontend, the introspection failed) is never a \"no\" — it lands\n * nothing and says why, the distinction `check:schema-plan-drift` draws between drift and could-not-ask.\n */\nexport type ShellWitness =\n | { readonly answered: false; readonly reason: string }\n | {\n readonly answered: true;\n /** Entry identities each surface carries in the RESOLVED configuration. */\n readonly carried: ReadonlyMap<PlacementSurface, ReadonlySet<string>>;\n /** The files each surface is composed from — the application's config and every contributing module's. */\n readonly contributingPaths: ReadonlyMap<PlacementSurface, readonly string[]>;\n /** Identities the plan PLACED on each surface. */\n readonly placed: ReadonlyMap<PlacementSurface, readonly string[]>;\n /** Identities the plan DECLINED — to be carried by no surface. */\n readonly declined: readonly string[];\n /**\n * Who each carried entry is shown to, per surface and identity (#2512): every audience the surface carries that\n * identity with, `undefined` for everyone.\n */\n readonly carriedAudiences: ReadonlyMap<PlacementSurface, ReadonlyMap<string, readonly PlacementAudienceLayers[]>>;\n /** Who the plan shows each placed identity to, per surface and layer. */\n readonly placedAudiences: ReadonlyMap<PlacementSurface, ReadonlyMap<string, PlacementAudienceLayers>>;\n };\n\n/** Why a shell probe is or is not satisfied — what the build record reports for it. */\nexport interface ShellProbeExplanation {\n readonly satisfied: boolean;\n /** Set when the witness could not be read: the probe is then unsatisfied without being a \"no\". */\n readonly unanswerable?: string;\n /** Placed subjects the surface does not carry. */\n readonly missing: readonly string[];\n /** Declined subjects the surface still carries. */\n readonly declinedButPresent: readonly string[];\n /**\n * Placed subjects the surface carries but shows to a different audience than the plan decided (#2512), each as\n * `<identity>: plan <audience>, shell <audience>`. Both directions count: a restriction the code dropped leaves the\n * entry visible to people it was not for, and one the code added hides it from people it was for.\n */\n readonly audienceMismatches: readonly string[];\n /** Contributing files that differ from HEAD (committed reader) or are absent (working-tree reader). */\n readonly uncommittedPaths: readonly string[];\n}\n\n/**\n * Every path one landed probe consults.\n *\n * One definition, because the two callers must agree: the batch that PRIMES the committed-tree reader\n * and the pass that reports a task's produced-but-uncommitted paths. A probe set gathered differently\n * in the two places would leave exactly the paths they disagree about resolving one spawn-pair at a\n * time — the cost the batch exists to remove, reappearing only for the paths nobody compared.\n */\nfunction landedProbePaths(probe: BuildPlanTaskLandedProbe): readonly string[] {\n // Delegates to the policy module's exhaustive definition. This used to be a second, non-exhaustive\n // copy of it — the thing this docstring says must not exist — and a new probe kind was a type error\n // here rather than a decision there (#1538).\n return buildPlanTaskLandedProbePaths(probe);\n}\n\n/** The probes that read the resolved shell rather than a file (#1538). */\ntype ShellLandedProbe = Extract<BuildPlanTaskLandedProbe, { kind: BuildPlanTaskLandedProbeKind.SHELL_SURFACE_CARRIES_PLAN | BuildPlanTaskLandedProbeKind.SHELL_CARRIES_A_PLACEMENT }>;\nfunction isShellProbe(probe: BuildPlanTaskLandedProbe): probe is ShellLandedProbe {\n return probe.kind === BuildPlanTaskLandedProbeKind.SHELL_SURFACE_CARRIES_PLAN || probe.kind === BuildPlanTaskLandedProbeKind.SHELL_CARRIES_A_PLACEMENT;\n}\n\n/** The probe that reads the backend's registry rather than a file (#2966). */\ntype AgentWorkLandedProbe = Extract<BuildPlanTaskLandedProbe, { kind: BuildPlanTaskLandedProbeKind.AGENT_WORK_REGISTERED }>;\nfunction isAgentWorkProbe(probe: BuildPlanTaskLandedProbe): probe is AgentWorkLandedProbe {\n return probe.kind === BuildPlanTaskLandedProbeKind.AGENT_WORK_REGISTERED;\n}\n\n/**\n * A probe answered by INTROSPECTING the live application rather than by reading named files: the shell (#1538) and the\n * agent-work registry (#2966). Neither can be read \"as a commit would leave it\", so the questions that need exactly\n * that — the prospective accept, the interference repair — leave them out, as they always left the shell out.\n */\nfunction isIntrospectedProbe(probe: BuildPlanTaskLandedProbe): boolean {\n return isShellProbe(probe) || isAgentWorkProbe(probe);\n}\n\n/** Store the pending read BEFORE awaiting it, so probes of one path running in parallel share it. */\nfunction memoizeByPath<T>(cache: Map<string, Promise<T>>, subjectRelativePath: string, read: () => Promise<T>): Promise<T> {\n const cached = cache.get(subjectRelativePath);\n if (cached) return cached;\n const pending = read();\n cache.set(subjectRelativePath, pending);\n return pending;\n}\n\n/** How many dispatches the narrative carries. Five is what the in-memory list kept; the board renders that many. */\nconst DISPATCH_NARRATIVE_LENGTH = 5;\n\n/**\n * How far a dispatch got, read off its execution row — see `Workbench_BuildDispatchPhase` for what\n * each member means and why the two executors resolve at different moments.\n *\n * - **A coding run** (`application-coding.system`): `PENDING` is SUBMITTED. Once its task has a start\n * instant it is ADMITTED and STAYS so however it ends — the phase names the hand-off, and the\n * outcome is the task row `codingTaskId` points at. A run that ended WITHOUT ever starting is the\n * only coding FAILED: the dispatch threw before admission.\n * - **A generation step** (`application-build.system`): running is SUBMITTED (nothing has resolved\n * yet), `COMPLETED` is FINISHED, and any other ending — failed, or aborted by a restart — is FAILED.\n */\nexport function projectBuildDispatchPhase(row: { readonly systemRef: string; readonly status: FlowsActors_Status; readonly taskStarted: boolean }): Workbench_BuildDispatchPhase {\n if (row.systemRef === APPLICATION_CODING_SYSTEM_REF) {\n if (row.taskStarted) return Workbench_BuildDispatchPhase.ADMITTED;\n return row.status === FlowsActors_Status.PENDING ? Workbench_BuildDispatchPhase.SUBMITTED : Workbench_BuildDispatchPhase.FAILED;\n }\n if (row.status === FlowsActors_Status.COMPLETED) return Workbench_BuildDispatchPhase.FINISHED;\n return row.status === FlowsActors_Status.PROCESSING || row.status === FlowsActors_Status.PENDING\n ? Workbench_BuildDispatchPhase.SUBMITTED\n : Workbench_BuildDispatchPhase.FAILED;\n}\n\n/**\n * One execution row as a dispatch record, or `null` for a row that is not a build dispatch — an\n * execution with no task, or a task naming no build-plan task (a coding run dispatched by something\n * other than the build plan would be one).\n */\nfunction projectBuildDispatchRecord(execution: {\n readonly _id: unknown;\n readonly systemRef: string;\n readonly status: FlowsActors_Status;\n // The stored row's instants are dates (#2187); the record this builds carries ISO strings.\n readonly createdAt: Date;\n readonly finishedAt?: Date;\n readonly standaloneTasks: readonly { readonly _id: string; readonly input?: unknown; readonly output?: unknown; readonly startedAt?: string }[];\n}): ApplicationBuildDetachedDispatchRecord | null {\n const task = execution.standaloneTasks[0];\n const input = task?.input as { taskRef?: unknown; conversationId?: unknown } | undefined;\n if (!task || typeof input?.taskRef !== 'string') return null;\n const taskStarted = typeof task.startedAt === 'string';\n const phase = projectBuildDispatchPhase({ systemRef: execution.systemRef, status: execution.status, taskStarted });\n const isCodingRun = execution.systemRef === APPLICATION_CODING_SYSTEM_REF;\n const failure = readSettledRunFailureMessage(task.output);\n const failureAttribution = Object.values(CodingRunFailureAttribution).find((value) => value === (task.output as { failureAttribution?: unknown } | undefined)?.failureAttribution);\n // When the phase LEFT `SUBMITTED`: admission for a coding run, the end of the step otherwise.\n const settledAt = phase === Workbench_BuildDispatchPhase.SUBMITTED ? undefined\n : isCodingRun && taskStarted ? task.startedAt\n : execution.finishedAt?.toISOString();\n return {\n executionId: String(execution._id),\n taskRef: input.taskRef,\n startedAt: execution.createdAt.toISOString(),\n phase,\n ...(settledAt !== undefined ? { settledAt } : {}),\n ...(isCodingRun && taskStarted ? { codingTaskId: String(task._id) } : {}),\n runStatus: execution.status,\n ...(execution.finishedAt ? { runFinishedAt: execution.finishedAt.toISOString() } : {}),\n ...(phase === Workbench_BuildDispatchPhase.FAILED && typeof failure === 'string' ? { error: failure } : {}),\n ...(isCodingRun && failureAttribution ? { failureAttribution } : {}),\n ...(typeof input.conversationId === 'string' ? { conversationId: input.conversationId } : {}),\n };\n}\n\n@injectable()\nexport class ApplicationBuildDispatchCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n /** Set once the follow-up derivation has warned that the coding-run listing hit its cap (#2496 review N1). */\n private followUpListingTruncationWarned = false;\n /** Set once a brief has warned that the compiled catalog could not say which elements are research-informed (#2846). */\n private unreadableProvenanceWarned = false;\n /** The CLEAN and WITHHELD verdicts this process received, so an element is screened once, not on every task (#2846 review M2). */\n private readonly briefScreeningVerdicts = new BriefScreeningVerdicts();\n /** See `readLatestCompletedCodingRuns`. */\n private latestCompletedCodingRuns: { readonly at: number; readonly value: Promise<{ readonly latest: ReadonlyMap<string, ApplicationBuildTaskAttempt>; readonly truncated: boolean } | undefined> } | undefined;\n /**\n * When the wave running in this companion started; `undefined` when none is (#2208 review M1). One process\n * owns every wave — the console, a lane child and an explicit playbook run all reach {@link dispatchBuildWave}\n * here — so an in-process marker is the whole population, and a restart (which ends every run) clears it.\n */\n private liveWaveStartedAt: string | undefined;\n\n public constructor(\n @inject(SAAS_SERVICE_TYPES.Logger) private readonly logger: LoggerService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext) private readonly companionContext: CompanionContext,\n @inject(COMPANION_SERVICE_TYPES.CodingAgentDispatchService) private readonly dispatch: CodingAgentDispatchCompanionService,\n @inject(COMPANION_SERVICE_TYPES.GitChangeSetService) private readonly git: GitChangeSetCompanionService,\n @inject(COMPANION_SERVICE_TYPES.BuildGenerationStepService) private readonly generationSteps: ApplicationBuildGenerationStepCompanionService,\n @inject(COMPANION_SERVICE_TYPES.IntrospectionService) private readonly introspection: CompanionIntrospectionService,\n // The engine's execution driver and the rows it writes (#1359): every dispatch is an execution.\n @inject(SAAS_SERVICE_TYPES.ActorsSystemBackendService) private readonly actorsSystem: ActorsSystemBackendService,\n @inject(COMPANION_SERVICE_TYPES.ExecutionsService) private readonly executions: CompanionExecutionsCompanionService,\n /*\n * The accept door, given the one thing it cannot know from below: whether a concurrent run's files carry\n * its task's declared product (#2209). Bound in the container like every other dependency, so the\n * companion always registers the witness; typed optional only so a test harness that builds this service\n * positionally need not hand it one.\n */\n @inject(COMPANION_SERVICE_TYPES.AcceptedChangeCommitService) acceptedChangeCommit?: AcceptedChangeCommitCompanionService,\n /*\n * The model call behind the website-copy review (#2593). Bound in the container like everything else; typed\n * optional for the reason `acceptedChangeCommit` is, and without it no review runs, because there is no judge.\n */\n @inject(SAAS_SERVICE_TYPES.AgentsBackendService) private readonly agents?: AgentsBackendService,\n /*\n * The classifier a brief's third-party text is screened through (#2846): the engine's one content-safety seam, the\n * same the application's agents use, answering from the provider the application binds in its `companion` scope.\n * Optional: unbound (or bound with no provider), third-party sections travel MARKED as unscreened; the lane never stops.\n */\n @inject(SAAS_SERVICE_TYPES.ContentSafetyService) @optional() private readonly contentSafety?: ContentSafetyBackendService,\n ) {\n this.logDebug = this.logger.debugByType('ApplicationBuildDispatchCompanionService');\n // A rebuilt provider registry may have rotated a classifier's key or host under the same ref (#2846 review N2).\n onCompanionProviderRegistryRefreshed(() => this.briefScreeningVerdicts.clear());\n acceptedChangeCommit?.registerConcurrentRunProductWitness({\n pathsLackingOwnProduct: (taskRef, candidatePaths) => this.pathsLackingOwnProduct(taskRef, candidatePaths),\n });\n if (this.agents !== undefined) {\n /*\n * A completed run only REQUESTS the sweep, which reviews any completed website run with no review — this one\n * included — and any whose copy another task's run has since rewritten. Enqueueing the run's own review beside it\n * judged a run twice in a wave: a sweep queued by an earlier completion reached the new run before its own review\n * did (#2593 re-review M1).\n */\n this.dispatch.registerRunCompletedListener(() => {\n void this.requestWebsiteCopySweep();\n void this.requestWebsiteVisualSweep();\n });\n }\n }\n\n /**\n * Every copy review runs through this one queue (#2593): two reviews running at once cannot see each other's record\n * before it is written, so they would judge the same run twice, each paying a judge call.\n */\n private websiteCopyReviews: Promise<unknown> | undefined;\n\n private enqueueWebsiteCopyReview<T>(work: () => Promise<T>): Promise<T> {\n const next = (this.websiteCopyReviews ?? Promise.resolve()).then(work, work);\n this.websiteCopyReviews = next.catch(() => undefined);\n return next;\n }\n\n /** The sweep already queued and not yet started, which a further request joins rather than queueing another. */\n private queuedWebsiteCopySweep: { readonly retryNotReviewed: boolean; readonly done: Promise<void> } | undefined;\n\n /**\n * Review every website run whose copy has no review, or changed since its review (#2593 review M3, M4). A run's\n * review is started when it completes and is lost when the companion restarts during the judge call, and copy one\n * task wrote can be rewritten by another task's run; the sweep is what catches both. Requested after every completed\n * run (coalesced: a wave's completions share one sweep) and once at startup. A NOT_REVIEWED review is retried only\n * when asked (`retryNotReviewed`, the startup sweep): retrying a provider that refuses on every completion would pay\n * for a refusal each time. Never throws.\n */\n public requestWebsiteCopySweep(options: { readonly retryNotReviewed?: boolean } = {}): Promise<void> {\n const retryNotReviewed = options.retryNotReviewed === true;\n const queued = this.queuedWebsiteCopySweep;\n if (queued !== undefined && (queued.retryNotReviewed || !retryNotReviewed)) return queued.done;\n const done = this.enqueueWebsiteCopyReview(async () => {\n if (this.queuedWebsiteCopySweep?.done === done) this.queuedWebsiteCopySweep = undefined;\n await this.sweepWebsiteCopy(retryNotReviewed);\n });\n this.queuedWebsiteCopySweep = { retryNotReviewed, done };\n return done;\n }\n\n /**\n * Runs whose review could not be RECORDED (the record door refused them: not found among the completed runs it lists),\n * skipped for the life of the process (#2593 re-review L1). Without this, every later sweep would find the run still\n * unreviewed and pay another judge call for a verdict that again cannot be written.\n */\n private readonly unrecordableWebsiteCopyRuns = new Set<string>();\n\n private async sweepWebsiteCopy(retryNotReviewed: boolean): Promise<void> {\n if (this.agents === undefined) return;\n try {\n // Before build-decompose there is no plan and nothing to review: quietly, not as a failed sweep.\n if (!(await this.hasAuthoredBuildPlan())) return;\n const plan = await this.readBuildPlan();\n const websiteTasks = plan.tasks.filter((task) => task.target.kind === BuildPlanTaskTargetKind.WEBSITE);\n if (websiteTasks.length === 0) return;\n const companionExports = await loadSpecificationsCompanionExports(this.companionContext);\n // Runs nobody could list (the reader said so): nothing to review this pass, and the next sweep asks again.\n const runs = await this.fetchLatestCompletedCodingRuns();\n if (runs === undefined) return;\n const { latest } = runs;\n const worktree = this.createWorktreeReader();\n for (const task of websiteTasks) {\n const run = latest.get(task.taskRef);\n if (run === undefined || this.unrecordableWebsiteCopyRuns.has(run.runTaskId)) continue;\n const review = run.websiteCopyReview;\n if (review?.outcome === WebsiteCopyReviewOutcome.NOT_REVIEWED && !retryNotReviewed) continue;\n if (review?.outcome === WebsiteCopyReviewOutcome.REVIEWED && review.locale !== undefined) {\n const scope = websiteCopyReviewScope(task, plan.tasks, companionExports, latest);\n const pack = await readWebsiteLabelPack(worktree, review.locale);\n const current = pack === undefined ? {} : currentWebsiteCopy([...scope.own, ...scope.alsoReviewed.flatMap((entry) => entry.subjects)], pack);\n if (sameWebsiteCopy(current, review.reviewedCopy ?? {})) continue;\n }\n await this.reviewWebsiteCopyOfRun(task.taskRef, run.runTaskId);\n }\n } catch (error) {\n this.logger.warn('Could not sweep the website copy for runs whose review is missing or out of date', { error: describeCaughtError(error) });\n }\n }\n\n /**\n * Review the copy a COMPLETED website run wrote, and record the review on that run (#2593). Reached through the\n * sweep, which every completed run requests whichever door ran it (a wave, `wildo build run`, a lane), and left to\n * finish on its own: it is advisory, so nothing waits for it and nothing it finds changes whether the task lands.\n * Call it only from inside the review queue; a direct call races the sweep.\n *\n * Reads the WORKING tree, not HEAD: the run's own writes are what is reviewed, and under a posture that keeps\n * acceptance with a person they are not committed yet. The standings are derived NOW, by the function that wrote the\n * task's brief, and recorded beside the findings, because a standing moves: a requirement IN_PROGRESS today may be\n * DELIVERED tomorrow, and a finding is read against the standing it was found under.\n *\n * Never throws. A review that cannot run is recorded as NOT_REVIEWED with its reason; a task that is not a website\n * task, or a plan that cannot be read, records nothing, because there is no copy to speak of.\n */\n public async reviewWebsiteCopyOfRun(taskRef: string, runTaskId: string, session?: CompanionExecutionSessionContext): Promise<WebsiteCopyReview | undefined> {\n const agents = this.agents;\n if (agents === undefined) return undefined;\n try {\n const plan = await this.readBuildPlan();\n const task = plan.tasks.find((candidate) => candidate.taskRef === taskRef);\n if (task === undefined || task.target.kind !== BuildPlanTaskTargetKind.WEBSITE) return undefined;\n const companionExports = await loadSpecificationsCompanionExports(this.companionContext);\n const deliveryOf = await this.resolveWebsiteClaimDelivery(companionExports);\n // Runs nobody could list record nothing, like a plan that cannot be read: the next sweep redoes it.\n const runs = await this.fetchLatestCompletedCodingRuns();\n if (runs === undefined) return undefined;\n const { latest } = runs;\n const scope = websiteCopyReviewScope(task, plan.tasks, companionExports, latest, deliveryOf);\n if (scope.own.length === 0 && describeWebsiteTaskCopySubjects(task, companionExports) === undefined) return undefined;\n const saasRoot = this.companionContext.saasRoot;\n const worktree = this.createWorktreeReader();\n // Every language CODE the vocabulary has; each pack's file is named by its path segment (`websiteLabelPackPath`).\n const locales = Object.values(AvailableLanguage).map(String);\n // Read fresh, once per review: a build task may have just declared the retention schedule, a provider choice, or the site.\n const freshSaasConfig = loadSaasConfig(join(saasRoot, 'wildo.saas.config.ts'), { freshModuleCache: true })\n .then((config) => config ?? this.companionContext.saasConfig, () => this.companionContext.saasConfig);\n const review = await reviewWebsiteTaskCopy(scope.own, {\n defaultLocale: async () => {\n try {\n // Not `loadWebsiteConfig`, which memoizes per path for the life of the process: a long-lived reader reads it now.\n const [, service] = resolveStaticWebsiteServiceEntry(await freshSaasConfig);\n const config = await loadConfig<{ defaultLocale?: unknown }>(join(saasRoot, service.path, PER_SERVICE_WEBSITE_CONFIG_FILE_NAME), { freshModuleCache: true });\n return typeof config.defaultLocale === 'string' ? { locale: config.defaultLocale } : { unreadable: 'its config declares no defaultLocale' };\n } catch (error) {\n return { unreadable: describeCaughtError(error) };\n }\n },\n availableLocales: async () => locales,\n readLabelPack: (locale) => readWebsiteLabelPack(worktree, locale),\n readFile: (relativePath) => worktree.readText(relativePath),\n declarations: async () => {\n let productionInfraConfig: unknown;\n let productionInfraUnreadable: string | undefined;\n try {\n // Environment ids are open slugs; `production` is the conventional one, and no other declares itself production.\n productionInfraConfig = (await loadInfraEnvConfig(saasRoot, WildoEnvironment.PRODUCTION, { freshModuleCache: true }))?.config;\n } catch (error) {\n productionInfraUnreadable = describeCaughtError(error);\n }\n return collectWebsiteCopyDeclarations({ saasConfig: await freshSaasConfig, productionInfraConfig, ...(productionInfraUnreadable !== undefined ? { productionInfraUnreadable } : {}) });\n },\n judge: async (prompt) => {\n const invocation: FlowsActors_Agent_Invocation<any, any> = {\n agentRef: WEBSITE_COPY_REVIEW_JUDGE_AGENT_REF,\n initiator: {},\n invocationContext: [],\n input: { prompt, schema: WebsiteCopyReviewVerdictOutputSchema },\n output: { object: {} },\n executionContext: {},\n artifactBindings: [],\n };\n const response = await agents.invokeAgent(invocation);\n const parsed = WebsiteCopyReviewVerdictOutputSchema.safeParse((response.output as { object?: unknown } | undefined)?.object);\n if (!parsed.success) throw new Error(`the judge's answer did not match its schema: ${parsed.error.issues.map((issue) => issue.message).join('; ')}`);\n return { findings: parsed.data.findings as readonly RawWebsiteCopyFinding[] };\n },\n now: () => new Date(),\n }, scope.alsoReviewed);\n try {\n await this.dispatch.recordWebsiteCopyReview(taskRef, runTaskId, review, session);\n } catch (error) {\n this.unrecordableWebsiteCopyRuns.add(runTaskId);\n throw error;\n }\n if (review.findings.length > 0) {\n this.logger.warn('The copy a website task wrote claims what its build does not back (advisory; the task still lands)', {\n taskRef, runTaskId, findings: review.findings.map((finding) => `${finding.kind} ${finding.labelKey}`),\n });\n }\n return review;\n } catch (error) {\n this.logger.warn('Could not review the copy of a completed website run', { taskRef, runTaskId, error: describeCaughtError(error) });\n return undefined;\n }\n }\n\n /**\n * The visual reviews' own queue (#2785): one at a time, for the copy reviews' reason (two at once would judge one run\n * twice), and apart from them, because a drawing and its words are judged independently and neither waits on the other.\n */\n private websiteVisualReviews: Promise<unknown> | undefined;\n\n private queuedWebsiteVisualSweep: { readonly retryNotReviewed: boolean; readonly done: Promise<void> } | undefined;\n\n /** Runs whose visual review could not be recorded, skipped for the life of the process (the copy reviews' L1). */\n private readonly unrecordableWebsiteVisualRuns = new Set<string>();\n\n /**\n * Review every completed website run whose DRAWING has no review (#2785), coalesced like the copy sweep: requested\n * after every completed run and once at startup, where a NOT_REVIEWED review is retried (`retryNotReviewed`): the\n * usual reason is a website that was not running, and a later start may find it up. A REVIEWED run is not judged\n * again: screenshots differ from one take to the next, so \"the drawing changed\" cannot be told from the pixels, and a\n * later run that redraws a section is reviewed as its own run. Never throws.\n */\n public requestWebsiteVisualSweep(options: { readonly retryNotReviewed?: boolean } = {}): Promise<void> {\n const retryNotReviewed = options.retryNotReviewed === true;\n const queued = this.queuedWebsiteVisualSweep;\n if (queued !== undefined && (queued.retryNotReviewed || !retryNotReviewed)) return queued.done;\n const work = async () => {\n if (this.queuedWebsiteVisualSweep?.done === done) this.queuedWebsiteVisualSweep = undefined;\n await this.sweepWebsiteVisuals(retryNotReviewed);\n };\n const done: Promise<void> = (this.websiteVisualReviews ?? Promise.resolve()).then(work, work);\n this.websiteVisualReviews = done.catch(() => undefined);\n this.queuedWebsiteVisualSweep = { retryNotReviewed, done };\n return done;\n }\n\n private async sweepWebsiteVisuals(retryNotReviewed: boolean): Promise<void> {\n if (this.agents === undefined) return;\n try {\n if (!(await this.hasAuthoredBuildPlan())) return;\n const plan = await this.readBuildPlan();\n const websiteTasks = plan.tasks.filter((task) => task.target.kind === BuildPlanTaskTargetKind.WEBSITE);\n if (websiteTasks.length === 0) return;\n const runs = await this.fetchLatestCompletedCodingRuns();\n if (runs === undefined) return;\n for (const task of websiteTasks) {\n const run = runs.latest.get(task.taskRef);\n if (run === undefined || this.unrecordableWebsiteVisualRuns.has(run.runTaskId)) continue;\n const review = run.websiteVisualReview;\n if (review?.outcome === WebsiteVisualReviewOutcome.REVIEWED) continue;\n if (review?.outcome === WebsiteVisualReviewOutcome.NOT_REVIEWED && !retryNotReviewed) continue;\n await this.reviewWebsiteVisualsOfRun(task.taskRef, run.runTaskId);\n }\n } catch (error) {\n this.logger.warn('Could not sweep the website drawings for runs whose visual review is missing', { error: describeCaughtError(error) });\n }\n }\n\n /**\n * Photograph what a COMPLETED website run drew and judge it against the visual quality rubric, then record the review\n * on that run (#2785). Advisory: nothing waits for it and nothing it finds changes whether the task lands. Reads the\n * RUNNING website (`wildo website look`), so the review describes the site as served: a website that is not running\n * records NOT_REVIEWED with the camera's reason, retried at the next startup. Call it only from inside the visual\n * review queue. Never throws.\n */\n public async reviewWebsiteVisualsOfRun(taskRef: string, runTaskId: string, session?: CompanionExecutionSessionContext): Promise<WebsiteVisualReview | undefined> {\n const agents = this.agents;\n if (agents === undefined) return undefined;\n try {\n const plan = await this.readBuildPlan();\n const task = plan.tasks.find((candidate) => candidate.taskRef === taskRef);\n if (task === undefined || task.target.kind !== BuildPlanTaskTargetKind.WEBSITE) return undefined;\n const companionExports = await loadSpecificationsCompanionExports(this.companionContext);\n const subjects = describeWebsiteTaskVisualSubjects(task, companionExports);\n if (subjects === undefined) return undefined;\n const saasRoot = this.companionContext.saasRoot;\n // Throwaway and gitignored: the pictures the findings are about, kept for a person to open.\n const outputDirectory = join(saasRoot, '.wildo-saas', 'tmp', 'website-visual-review', runTaskId);\n const review = await reviewWebsiteTaskVisuals(subjects, {\n look: (routePath, sectionRefs) => lookAtWebsite({ saasRoot, routePath, sectionRefs, outputDirectory }),\n readImage: readWebsiteShotAsDataUri,\n rubric: readWebsiteVisualRubric,\n judge: async (prompt, images) => {\n const invocation: FlowsActors_Agent_Invocation<any, any> = {\n agentRef: WEBSITE_VISUAL_REVIEW_JUDGE_AGENT_REF,\n initiator: {},\n invocationContext: [],\n input: { prompt, schema: WebsiteVisualReviewVerdictOutputSchema, images: images.map((image) => ({ type: 'image', image })) },\n output: { object: {} },\n executionContext: {},\n artifactBindings: [],\n };\n const response = await agents.invokeAgent(invocation);\n const parsed = WebsiteVisualReviewVerdictOutputSchema.safeParse((response.output as { object?: unknown } | undefined)?.object);\n if (!parsed.success) throw new Error(`the judge's answer did not match its schema: ${parsed.error.issues.map((issue) => issue.message).join('; ')}`);\n return { findings: parsed.data.findings as readonly RawWebsiteVisualFinding[] };\n },\n now: () => new Date(),\n });\n try {\n await this.dispatch.recordWebsiteVisualReview(taskRef, runTaskId, review, session);\n } catch (error) {\n this.unrecordableWebsiteVisualRuns.add(runTaskId);\n throw error;\n }\n if (review.findings.length > 0 || review.measurements.length > 0) {\n this.logger.warn('What a website task drew breaks the visual rubric or failed a measurement (advisory; the task still lands)', {\n taskRef, runTaskId, findings: review.findings.map((finding) => `${finding.viewport} ${finding.sectionRef ?? 'page'}: ${finding.rule}`), measurements: review.measurements.length,\n });\n }\n return review;\n } catch (error) {\n this.logger.warn('Could not review the drawing of a completed website run', { taskRef, runTaskId, error: describeCaughtError(error) });\n return undefined;\n }\n }\n\n /**\n * Of the paths a concurrent run is about to commit under its task's name, the ones a landing probe of that\n * task names and that do NOT carry the task's declared product (#2209) — read from the tree AS THE COMMIT\n * WOULD LEAVE IT, by the very predicate landing uses ({@link isLandedProbeSatisfied}), so the accept and the\n * landing check cannot disagree about whether the commit holds the product.\n *\n * Only probes naming one of the paths are asked: a probe about another file says nothing about this\n * commit. SHELL probes are not asked here: the shell they read is composed from many files and resolved\n * from the live tree by introspection, so it cannot be read \"as this commit leaves it\", and a shell-placement\n * run's own files are its configuration rather than a list several runs append to. A task the plan no\n * longer holds declares nothing to check. A plan that cannot be read throws: the accept then commits\n * nothing under the run's name, and the wave reconciliation takes the files as writer unknown.\n */\n private async pathsLackingOwnProduct(taskRef: string, candidatePaths: readonly string[]): Promise<readonly string[]> {\n const graph = await this.readBuildPlan();\n const task = graph.tasks.find((candidate) => candidate.taskRef === taskRef);\n if (!task) return [];\n const committing = new Set(candidatePaths);\n const prospective = this.createProspectiveCommitReader(committing);\n const lacking = new Set<string>();\n for (const probe of resolveBuildTaskLandedProbes(task)) {\n if (isIntrospectedProbe(probe)) continue;\n const named = landedProbePaths(probe).filter((path) => committing.has(path));\n if (named.length === 0) continue;\n if (await this.isLandedProbeSatisfied(probe, prospective)) continue;\n for (const path of named) lacking.add(path);\n }\n return [...lacking].sort();\n }\n\n /**\n * The application workspace's top-level entries — the raw material of a coding run's mutation\n * scope since #1268.\n *\n * ## Read per dispatch, and deliberately NOT cached\n *\n * The listing changes when a composition scenario adds a package (`wildo compose add-website`,\n * `add-technical-doc`, `add-minion`, `add-worker-node`), and the whole point of deriving it is that\n * a package added yesterday is writable today. A cache turns that into a REFUSAL — the run confined\n * away from the package it was asked to write — which is the defect the widening removes, arriving\n * back through the door marked \"performance\". One `readdir` per dispatch, against a dispatch that\n * runs a coding agent for minutes, is not a cost worth that.\n *\n * ## An unreadable workspace answers NOTHING rather than throwing\n *\n * The scope is ADDITIVE, so an empty answer degrades a run to its task-derived scope — today's\n * behaviour — instead of failing a dispatch over a directory listing. A workspace this process\n * cannot list is a condition the contract composer's own empty-scope refusal will catch if it\n * matters, and one that says nothing about whether this task can run.\n */\n private readApplicationWorkspaceEntries(): readonly string[] {\n try {\n return readdirSync(this.companionContext.saasRoot);\n } catch (error) {\n this.logDebug('Could not list the application workspace; a coding run keeps its task-derived scope', {\n saasRoot: this.companionContext.saasRoot,\n error: describeCaughtError(error),\n });\n return [];\n }\n }\n\n /**\n * What the next run would be, without running it. Pure read — nothing is locked, created or started.\n *\n * REQUIRES a task: an exhausted plan throws, exactly as the dispatch doors do. That is right for its\n * caller — a `dryRun` build-dispatch playbook, which is rehearsing a run and has nothing to rehearse\n * when the plan is finished.\n *\n * A surface that wants to SHOW the queue's state rather than act on it wants\n * `describeNextBuildTaskOrExhaustion` instead. The two are kept apart rather than merged because\n * \"give me the next task\" and \"tell me whether there is one\" are different questions, and only the\n * second can be answered by \"there is none\".\n */\n public async describeNextBuildTask(): Promise<ApplicationBuildDispatchPlan> {\n return (await this.prepareNextBuildTask()).plan;\n }\n\n /**\n * The same read for a caller that is about to RUN the build (#2208): the one a build wave asks before it\n * is submitted. It refuses exactly as the one-task door refuses — including an exhausted plan's assembly\n * verdict (#2222), which {@link describeNextBuildTask} leaves out because a dry run has nothing to check.\n * Without it, `wildo build run` at a parallelism above one answered \"every task landed\" with no word on\n * whether the application builds, which is the claim #2222 exists to qualify.\n */\n public async describeNextBuildTaskBeforeRunning(): Promise<ApplicationBuildDispatchPlan> {\n return (await this.prepareNextBuildTaskOrQualifyExhaustion()).plan;\n }\n\n /**\n * The same read, for a caller that must be able to render \"there is nothing left\".\n *\n * The catch narrows to TWO classes — exhausted, and every-ready-task-stuck — and that is the part\n * worth guarding. A catch-all would make every\n * genuine failure to look — an unreadable specifications export, a missing build plan, a broken\n * landing probe — report itself as a finished build, which is the most reassuring possible lie a\n * read can tell.\n */\n public async describeNextBuildTaskOrExhaustion(): Promise<ApplicationBuildDispatchDescription> {\n // The landed refs come back WITH the answer, never parked on the instance: two reads interleave at every await\n // (see `LandedTaskResolution`), and one would qualify its answer with the other's set.\n const { description, landedTaskRefs } = await this.describeNextBuildTaskOrExhaustionUnqualified();\n if (landedTaskRefs.length === 0) return description;\n const { started, truncated } = await this.listBuildTaskRefsWithAStartedRun();\n // A truncated history cannot say a task NEVER ran: the claim is withheld rather than made on a partial page.\n if (truncated) return description;\n return { ...description, landedBeforeAnyRunTaskRefs: landedTaskRefs.filter((taskRef) => !started.has(taskRef)) };\n }\n\n /**\n * Every build task with at least one run that STARTED — the population a landing can be \"its own\" against. A\n * dispatch refused before it started is not one (#1581). Read from the same actor rows and to the same ceiling as\n * the build record ({@link BUILD_TASK_RECORD_HISTORY_CEILING}), so the two surfaces cannot disagree about which\n * tasks ran: the plan withholding \"landed before any run\" on a history the record reads whole was #2530's review M1.\n */\n private async listBuildTaskRefsWithAStartedRun(): Promise<{ readonly started: ReadonlySet<string>; readonly truncated: boolean }> {\n const listed = await Promise.all([APPLICATION_CODING_SYSTEM_REF, APPLICATION_BUILD_SYSTEM_REF].map((systemRef) =>\n this.executions.listActorExecutions({ systemRef, limit: BUILD_TASK_RECORD_HISTORY_CEILING })));\n const started = new Set<string>();\n for (const projected of listed.flat().map(projectBuildTaskAttempt)) {\n if (projected !== null && isCountedBuildTaskAttempt(projected.attempt)) started.add(projected.taskRef);\n }\n return { started, truncated: listed.some((page) => page.length >= BUILD_TASK_RECORD_HISTORY_CEILING) };\n }\n\n private async describeNextBuildTaskOrExhaustionUnqualified(): Promise<{\n readonly description: ApplicationBuildDispatchDescription;\n readonly landedTaskRefs: readonly string[];\n }> {\n try {\n const prepared = await this.prepareNextBuildTask();\n return { description: { plan: prepared.plan, stuckTasks: prepared.stuckTasks }, landedTaskRefs: prepared.plan.landedTaskRefs };\n } catch (error) {\n if (error instanceof ApplicationBuildPlanExhaustedError) {\n return {\n description: { plan: null, exhausted: { taskCount: error.taskCount, landedCount: error.landedCount }, stuckTasks: [] },\n landedTaskRefs: error.landedTaskRefs,\n };\n }\n /*\n * Every ready task is stuck — an ANSWER, for the same reason exhaustion is (#1451). It used to\n * escape this door, fail the creation board's row derivation, and render as \"could not look\"\n * at the one moment the board had a precise answer and a remedy to show. The dispatch doors\n * still throw it: there, the caller asked to run something and nothing can run.\n */\n if (error instanceof ApplicationBuildTaskCompletedButUnlandedError) {\n return { description: { plan: null, stuckQueue: error.queue, stuckTasks: error.stuckTasks }, landedTaskRefs: error.queue.landedTaskRefs };\n }\n throw error;\n }\n }\n\n /**\n * The last few dispatches, newest first — read from the ACTOR PLANE since #1359.\n *\n * ## What this was, and why it moved\n *\n * An in-memory list of the last five dispatches, added 2026-09-04 when a 40-minute i18n generation\n * step outlived the HTTP request that started it and left an operator blind for half the run. It\n * was the right diagnosis and a second, weaker execution plane: a coding run already had a durable\n * row, a generation step had NONE, and a companion restart — ordinary here — emptied the list, so\n * the dispatch most worth explaining was the one nothing remembered.\n *\n * Every dispatch is now an actor-system execution from the moment its task is SELECTED — a coding\n * run on `application-coding.system` (opened `PENDING`, started at admission), a generation step\n * on `application-build.system` — and this method is a PROJECTION of those rows. It holds nothing.\n *\n * ## The phase is derived, and means what it always meant\n *\n * `Workbench_BuildDispatchPhase` stays the wire vocabulary until the board reads the actor rows\n * directly (#1362); {@link projectBuildDispatchPhase} maps a row onto it without changing a\n * member's meaning — in particular a coding run stays `ADMITTED` once it has started, however it\n * ends, because the phase names the HAND-OFF and the run's outcome is the task row it points at.\n */\n public async readDetachedDispatches(session?: CompanionExecutionSessionContext): Promise<readonly ApplicationBuildDetachedDispatchRecord[]> {\n const listed = await Promise.all([APPLICATION_CODING_SYSTEM_REF, APPLICATION_BUILD_SYSTEM_REF].map((systemRef) =>\n this.executions.listActorExecutions(CompanionExecutionsListQuerySchema.parse({ systemRef, limit: DISPATCH_NARRATIVE_LENGTH }), session)));\n return listed.flat()\n .map(projectBuildDispatchRecord)\n .filter((record): record is ApplicationBuildDetachedDispatchRecord => record !== null)\n .sort((left, right) => right.startedAt.localeCompare(left.startedAt))\n .slice(0, DISPATCH_NARRATIVE_LENGTH);\n }\n\n /**\n * Fire the next ready build task WITHOUT holding an HTTP request over it. Returns the selected\n * plan immediately. {@link readDetachedDispatches} then says how far it got: a companion generation\n * step reaches FINISHED there, while a coding task reaches ADMITTED with the durable actor-task row\n * that holds its actual outcome. The same single-flight properties hold — this is the same\n * execution, minus the requirement that a socket survive it.\n *\n * It SELECTS ONCE. Until 2026-09-17 it prepared a task for its own 202 and then called\n * `dispatchNextBuildTask`, which prepared AGAIN — two independent selections against a working\n * tree that a landing run can move between them, so the plan reported to the caller was not\n * guaranteed to be the plan that ran. Both halves now share one `prepared`.\n *\n * It OPENS BEFORE IT ANSWERS. The 202 says the dispatch is running, so its execution must exist\n * before the 202 is sent. It used to be opened inside {@link executePreparedBuildTask}, after this\n * method had returned: on 2026-09-24 (scratch-journey, `build-task-i18n-labels`) the supervisor\n * stopped the companion two seconds after the answer and before the open, and the dispatch left no\n * row at all. Nothing listed it, nothing swept it, and the caller had been told it was running.\n * Opened first, a run the process loses is an orphan the startup sweep settles visibly. A refusal\n * to open (the worktree is held) now reaches the caller instead of a debug log.\n */\n public submitBuildDispatchDetached(\n session?: CompanionExecutionSessionContext,\n /**\n * Run THIS task instead of the next ready one — `wildo build run <taskRef>` (#1652). The same\n * readiness applies: a task that is not ready is refused before anything opens, exactly as\n * {@link dispatchBuildTask} refuses it.\n */\n selection?: ApplicationBuildTaskSelection,\n ): Promise<ApplicationBuildDispatchPlan> {\n return this.prepareNextBuildTaskOrQualifyExhaustion(selection).then(async (prepared) => {\n // The override rides the run's row only when it was exercised, so a run's record never claims one it did not use.\n const origin: ApplicationBuildDispatchOrigin | undefined = prepared.landedOverride ? { landedOverride: prepared.landedOverride } : undefined;\n const opened = await this.openPreparedBuildTask(prepared, session, origin);\n void this.executePreparedBuildTask(prepared, session, origin, CodingRunConcurrency.SINGLE_FLIGHT, opened).catch((error: unknown) => {\n // The failure is ON THE ACTOR PLANE already, with this message: a coding dispatch refused\n // before admission settled ABORTED (FAILED when its own contract was invalid, #1581), a\n // generation step that threw settled FAILED. Logged because a detached run has no caller.\n this.logDebug('Detached build dispatch failed', { taskRef: prepared.plan.taskRef, error: describeCaughtError(error) });\n });\n return prepared.plan;\n });\n }\n\n /**\n * Run the next ready build-plan task, routed by its own `target.kind`: a coding task goes to the coding\n * agent (bounded by its scope, locked, captured and verified); a companion generation step runs the\n * companion's own pipeline for that step. One route, two executors — the interleaving IS the build loop.\n *\n * The workbench dispatches through THIS method and the CLI through its detached sibling; both leave\n * the same rows, because the record is a property of a DISPATCH and not of the door that asked.\n */\n public async dispatchNextBuildTask(\n session?: CompanionExecutionSessionContext,\n ): Promise<ApplicationBuildDispatchResult> {\n return this.executePreparedBuildTask(await this.prepareNextBuildTaskOrQualifyExhaustion(), session);\n }\n\n /**\n * {@link prepareNextBuildTask} for a DISPATCH door (#2222): when nothing is left to run, the refusal says whether\n * the application those tasks built assembles. The dispatch doors are where \"the build is finished\" is claimed —\n * `wildo build run` with nothing ready, the loop's next step — so that is where the claim is checked. The read\n * door (`describeNextBuildTaskOrExhaustion`) stays a read: it runs on every board poll and never spawns a compiler.\n *\n * And when it does NOT assemble, the next work is a REPAIR of the first failing check (#2283), within the bounds\n * {@link selectAssemblyRepair} keeps, rather than a refusal a person has to act on. Only for the NEXT-task door: a\n * caller that named a task asked about that task, and is refused with the verdict as before. While a repair runs,\n * the door refuses rather than asking the checks again under it: the repair is writing the tree they read.\n */\n private async prepareNextBuildTaskOrQualifyExhaustion(selection?: ApplicationBuildTaskSelection): Promise<PreparedBuildTask> {\n const prepared = await this.prepareNextBuildTaskOrRepair(selection);\n /*\n * The boot gate, for the single-task doors (#2405 review F1): `wildo build run --single`, the workbench and a\n * playbook's single dispatch all reach this method, and none of them may start the NEXT ordinary task into an\n * application that cannot start. A NAMED task passes (re-running the task that broke it is the repair), and so does\n * an assembly repair (it exists to make a failing check, the running backend among them, pass). The wave reads the\n * same records before every slot.\n */\n if (selection === undefined && !isAssemblyRepairTaskRef(prepared.plan.taskRef)) {\n const notBooting = await this.readCurrentBootFailures();\n if (notBooting.length > 0) throw new ApplicationDoesNotBootError(notBooting);\n }\n return prepared;\n }\n\n private async prepareNextBuildTaskOrRepair(selection?: ApplicationBuildTaskSelection): Promise<PreparedBuildTask> {\n try {\n return await this.prepareNextBuildTask(selection);\n } catch (error) {\n if (!(error instanceof ApplicationBuildPlanExhaustedError) || error.assembly !== undefined) throw error;\n // Either door: a check asked while a repair writes the tree reports on a tree in mid-edit.\n const liveRepair = await this.findLiveAssemblyRepair();\n if (liveRepair !== undefined) {\n throw new ApplicationBuildPlanExhaustedError(\n `${error.message} The assembly repair ${liveRepair} is running; ask again once it settles.`,\n error.taskCount, error.landedCount, error.landedTaskRefs,\n );\n }\n if (selection !== undefined) throw await this.qualifyExhaustion(error);\n const assessed = await this.assessAssembly();\n const repair = await this.prepareAssemblyRepair(assessed, error);\n if (repair.prepared !== undefined) return repair.prepared;\n throw this.exhaustedWithAssembly(error, assessed, repair.withheld);\n }\n }\n\n private async qualifyExhaustion(error: ApplicationBuildPlanExhaustedError): Promise<ApplicationBuildPlanExhaustedError> {\n return this.exhaustedWithAssembly(error, await this.assessAssembly(), []);\n }\n\n /**\n * Ask every assembly check (#2222). `failed[].detail` is the longer tail a repair is given (#2283); the verdict\n * keeps the five-line excerpt it always showed.\n */\n private async assessAssembly(): Promise<{\n readonly checkRefs: readonly string[];\n readonly failed: readonly { readonly checkRef: string; readonly output: string; readonly detail: string }[];\n readonly couldNotRun?: string;\n }> {\n const checkRefs = resolveApplicationAssemblyCheckRefs(this.companionContext.saasRoot);\n const { verification, infrastructureError, unrunCheckRefs } = await this.dispatch.runApplicationVerificationChecks(checkRefs);\n // A check that never RAN is not a verdict about the application (#2222 review): it is kept out of `failed`.\n const unrun = new Set(unrunCheckRefs ?? []);\n const failed = verification\n .filter(({ checkRef, outcome }) => !outcome.success && !unrun.has(checkRef))\n .map(({ checkRef, outcome }) => {\n // tsc prints its diagnostics to stdout, so stdout first; stderr when a crash left nothing there.\n const tail = [outcome.stdoutTail, outcome.stderrTail].map((entry) => entry.trim()).find((entry) => entry.length > 0) ?? '';\n return { checkRef, output: tail.split('\\n').slice(0, 5).join('\\n') || outcome.message, detail: tail || outcome.message };\n });\n const couldNotRun = unrun.size > 0 || infrastructureError\n ? `${[...unrun].join(', ') || 'a check'}: ${infrastructureError ? describeCaughtError(infrastructureError) : 'did not run'}`\n : undefined;\n return { checkRefs, failed, ...(couldNotRun !== undefined ? { couldNotRun } : {}) };\n }\n\n private exhaustedWithAssembly(\n error: ApplicationBuildPlanExhaustedError,\n assessed: Awaited<ReturnType<ApplicationBuildDispatchCompanionService['assessAssembly']>>,\n withheld: readonly { readonly checkRef: string; readonly reason: AssemblyRepairWithheldReason }[],\n ): ApplicationBuildPlanExhaustedError {\n const { checkRefs, couldNotRun } = assessed;\n const assembly = this.toAssemblyVerdict(assessed, withheld);\n const { failed } = assembly;\n const unanswered = couldNotRun !== undefined ? `\\nNot answered (the check could not run, which says nothing about the application): ${couldNotRun}` : '';\n const verdict = assembly.passed\n ? ` The application assembles: ${checkRefs.length} check(s) passed.`\n : failed.length > 0\n ? ` But the application does NOT assemble — the plan's tasks landed and the program they make does not build: `\n + failed.map((entry) => `${entry.checkRef}:\\n${entry.output}`).join('\\n')\n + '\\nFix the failing package (or re-run the task that owns it), then ask again.' + describeWithheldAssemblyRepairs(withheld) + unanswered\n : ` Whether the application assembles could not be checked: ${couldNotRun}`;\n return new ApplicationBuildPlanExhaustedError(`${error.message}${verdict}`, error.taskCount, error.landedCount, error.landedTaskRefs, assembly);\n }\n\n private toAssemblyVerdict(\n assessed: Awaited<ReturnType<ApplicationBuildDispatchCompanionService['assessAssembly']>>,\n withheld: readonly { readonly checkRef: string; readonly reason: AssemblyRepairWithheldReason }[],\n ): ApplicationAssemblyVerdict {\n const failed = assessed.failed.map(({ checkRef, output }) => ({ checkRef, output }));\n return {\n passed: failed.length === 0 && assessed.couldNotRun === undefined,\n checkRefs: assessed.checkRefs,\n failed,\n ...(assessed.couldNotRun !== undefined ? { couldNotRun: assessed.couldNotRun } : {}),\n ...(withheld.length > 0 ? { repairsWithheld: withheld } : {}),\n };\n }\n\n /** The taskRef of a live assembly repair, or `undefined`. A plane that cannot be read answers `undefined`: the admission still refuses a second run. */\n private async findLiveAssemblyRepair(): Promise<string | undefined> {\n try {\n return (await this.dispatch.listInFlightCodingRuns()).map((run) => run.taskRef).find((taskRef): taskRef is string => taskRef !== null && isAssemblyRepairTaskRef(taskRef));\n } catch (error) {\n this.logDebug('Could not list the live coding runs before asking the assembly checks', { error: describeCaughtError(error) });\n return undefined;\n }\n }\n\n /**\n * The repair the failing checks are owed now, prepared exactly as a coding task is (#2283), or the checks it is\n * withheld from. See `application-assembly-repair.companion.utils.ts` for the bounds, and\n * `composeAssemblyRepairCodingContract` for why a repair is not a build-plan task.\n *\n * The run history that bounds it is the build's own execution rows, where each repair records the check and the\n * failure it was given (`assemblyRepair` on the row input). If they cannot be read, nothing is repaired: a bound that\n * cannot be measured is not spent on a guess, and the refusal still names the failing checks.\n *\n * A repair's context is the failure and its previous failed attempt, nothing else. It gets no skill and no live-query\n * menu, unlike a build task: a build task's skills come from what it builds, and a repair builds nothing new, it\n * makes a named check pass, and the check's own output is the most specific brief there is. Revisit if repairs are\n * measured failing for want of knowledge they would have had.\n */\n private async prepareAssemblyRepair(\n assessed: Awaited<ReturnType<ApplicationBuildDispatchCompanionService['assessAssembly']>>,\n exhausted: ApplicationBuildPlanExhaustedError,\n ): Promise<{ readonly prepared?: PreparedBuildTask; readonly withheld: readonly { readonly checkRef: string; readonly reason: AssemblyRepairWithheldReason }[] }> {\n if (assessed.failed.length === 0) return { withheld: [] };\n let runs: readonly BuildDispatchRunSummary[];\n try {\n runs = await this.listBuildDispatchRuns();\n } catch (error) {\n this.logger.warn('Could not read the build\\'s runs; no assembly repair is dispatched', { error: describeCaughtError(error) });\n return { withheld: [] };\n }\n const workspaceEntries = this.readApplicationWorkspaceEntries();\n const decision = selectAssemblyRepair(\n assessed.failed,\n assemblyRepairAttemptsThisRound(runs),\n (checkRef) => resolveAssemblyRepairCodingPolicy(checkRef, workspaceEntries).requiredCheckRefs,\n );\n if (decision.repair === undefined) return { withheld: decision.withheld };\n const failure = assessed.failed.find((entry) => entry.checkRef === decision.repair!.checkRef)!;\n const content: AssemblyFailureContextContent = {\n checkRef: failure.checkRef,\n output: failure.output,\n ...(failure.detail !== failure.output ? { detail: failure.detail } : {}),\n guidance: ASSEMBLY_REPAIR_GUIDANCE,\n };\n // The application's own check output (#2846: trusted, its own tools on its own tree; what a tool printed is #2937's).\n const contextSources: BuildTaskContextSource[] = [{\n sourceRef: ASSEMBLY_FAILURE_CONTEXT_SOURCE_REF,\n originRef: 'application-creation:origin/dev-companion',\n trust: MetaWorkflow_ContextSourceTrust.TRUSTED,\n content,\n }];\n const boundary = resolveAssemblyRepairCodingPolicy(failure.checkRef, workspaceEntries);\n const taskRef = assemblyRepairTaskRef(failure.checkRef);\n // The previous repair of this check that FAILED, as a retry of a build task is shown its (#1536). Best-effort.\n try {\n const [latest] = await this.dispatch.listAttributableFailedRunsForBuildTask(taskRef, undefined, { includeRearmed: true });\n if (latest !== undefined) contextSources.push(previousAttemptContextSource(latest));\n } catch (error) {\n this.logDebug('Previous-repair source omitted from the repair context', { taskRef, error: describeCaughtError(error) });\n }\n const contract = composeAssemblyRepairCodingContract({\n checkRef: failure.checkRef,\n boundary,\n contextSources,\n objectiveRef: 'application-creation:objective/build-plan',\n });\n // Owed, not yet dispatched: the read before a wave asks this too, and dispatches nothing.\n this.logger.warn('The finished build plan does not assemble; a repair of the first failing check is owed', {\n checkRef: failure.checkRef, taskRef, withheld: decision.withheld, maximumRepairsPerCheck: MAXIMUM_ASSEMBLY_REPAIRS_PER_CHECK,\n });\n const plan: ApplicationBuildDispatchPlan = {\n taskRef,\n // The failure's first line rides the objective, so the advisory judge grades the repair against what it was given.\n objective: `Every build-plan task landed and ${failure.checkRef} fails: repair the application so that it passes. `\n + `It printed: ${failure.output.split('\\n')[0] ?? ''}`,\n targetKind: ASSEMBLY_REPAIR_TARGET_KIND,\n produces: [],\n allowedPathPrefixes: contract.mutationScope.allowedPathPrefixes,\n prohibitedPathPrefixes: contract.mutationScope.prohibitedPathPrefixes,\n requiredChecks: contract.verificationIntent.requiredChecks,\n installedSkillRefs: contract.installedSkillRefs,\n readyTaskRefs: [],\n landedTaskRefs: exhausted.landedTaskRefs,\n unverifiableLandedTaskRefs: [],\n };\n return { prepared: { kind: 'CODING', plan, contract, stuckTasks: [] }, withheld: decision.withheld };\n }\n\n /** The build's dispatch rows, coding runs and generation steps, as {@link assemblyRepairAttemptsThisRound} reads them. */\n private async listBuildDispatchRuns(): Promise<BuildDispatchRunSummary[]> {\n const listed = await Promise.all([APPLICATION_CODING_SYSTEM_REF, APPLICATION_BUILD_SYSTEM_REF].map((systemRef) =>\n this.executions.listActorExecutions(CompanionExecutionsListQuerySchema.parse({ systemRef, limit: BUILD_TASK_ATTEMPT_PAGE_CAP }))));\n return listed.flat().flatMap((execution) => {\n const task = execution.standaloneTasks[0];\n const taskRef = (task?.input as { taskRef?: unknown } | undefined)?.taskRef;\n return typeof taskRef === 'string' ? [{ taskRef, startedAt: execution.createdAt.toISOString(), status: execution.status, input: task!.input }] : [];\n });\n }\n\n /**\n * Run THIS task (#1454, Step 7). Admitted only when it is READY: the same selection as\n * `dispatchNextBuildTask`, narrowed to one candidate, so every stuck-task rule still applies and a\n * task that is landed, blocked or unknown answers `ApplicationBuildTaskNotReadyError` instead of\n * running. `origin` is stamped on the run's row so the conversation it came from shows it.\n */\n public async dispatchBuildTask(\n taskRef: string,\n session?: CompanionExecutionSessionContext,\n origin?: ApplicationBuildDispatchOrigin,\n ): Promise<ApplicationBuildDispatchResult> {\n return this.executePreparedBuildTask(await this.prepareNextBuildTask({ taskRef }), session, origin);\n }\n\n /**\n * What running THIS task would mean, without running it: where it may write, what it must pass,\n * and how much context the coding run would carry — what an assistant says before asking for the\n * money. Throws exactly what `dispatchBuildTask` would refuse with.\n */\n public async describeBuildTaskDispatch(taskRef: string): Promise<{\n readonly plan: ApplicationBuildDispatchPlan;\n readonly stuckTasks: readonly ApplicationBuildStuckTask[];\n /** The coding contract's summed context estimate, in tokens; absent for a generation step. */\n readonly contextTokens?: number;\n }> {\n const prepared = await this.prepareNextBuildTask({ taskRef });\n const contextTokens = prepared.kind === 'CODING'\n ? (prepared.contract as { contextSelection?: { maximumTokenBudget?: number } }).contextSelection?.maximumTokenBudget\n : undefined;\n return { plan: prepared.plan, stuckTasks: prepared.stuckTasks, ...(contextTokens !== undefined ? { contextTokens } : {}) };\n }\n\n /**\n * Execute an ALREADY SELECTED task. The one seam both doors run through, so neither can drift from\n * the other about how a target kind is routed — and so selection happens exactly once per dispatch.\n *\n * Both routes are ENGINE-DRIVEN executions (#1359), which is what makes a dispatch visible from\n * selection to outcome without this service remembering anything.\n */\n /**\n * Open a prepared task's execution without running it: the generation step's own row, or the\n * coding run's `PENDING` selection row. For a caller that must answer only once the run is durable\n * ({@link submitBuildDispatchDetached}).\n */\n private async openPreparedBuildTask(\n prepared: PreparedBuildTask,\n session?: CompanionExecutionSessionContext,\n origin?: ApplicationBuildDispatchOrigin,\n mode: CodingRunConcurrency = CodingRunConcurrency.SINGLE_FLIGHT,\n ): Promise<OpenedActorExecution> {\n if (prepared.kind === 'GENERATION_STEP') {\n const openedStep = await this.actorsSystem.openActorExecution(this.buildGenerationStepExecutionRequest(prepared, session, origin));\n // Its row is on the dispatch history from this moment; see `executePreparedBuildTask`.\n this.dispatch.announceRunStateChanged();\n return openedStep;\n }\n // Announced by the coding service itself when it opens the PENDING execution.\n return this.dispatch.openSelectedApplicationCodingExecution(prepared.contract as MetaWorkflow_ApplicationCodingTaskContract, session, origin, mode);\n }\n\n /** The execution a generation step is: one task of the build system's programmatic actor. */\n private buildGenerationStepExecutionRequest(\n prepared: PreparedBuildTask,\n session?: CompanionExecutionSessionContext,\n origin?: ApplicationBuildDispatchOrigin,\n ): ActorExecutionOpenRequest<CompanionExecutionSessionContext | undefined> {\n return {\n systemRef: APPLICATION_BUILD_SYSTEM_REF,\n actorRef: APPLICATION_BUILD_GENERATION_STEP_ACTOR_REF,\n scope: session,\n task: {\n title: `Build generation step ${prepared.plan.taskRef}`,\n description: `Companion generation step ${String(prepared.plan.generationStepRef)} of the application build plan.`,\n topic: Actor_Task_Topics.IMPLEMENTATION,\n input: {\n taskRef: prepared.plan.taskRef,\n generationStepRef: prepared.plan.generationStepRef ?? null,\n ...(origin?.conversationId ? { conversationId: origin.conversationId } : {}),\n ...(origin?.landedOverride ? { landedOverride: origin.landedOverride } : {}),\n },\n // The same cross-plane join a coding task carries, so the board matches either kind of\n // dispatch to its build-plan row by one key.\n correlation: {\n domain: WORKBENCH_TASK_CORRELATION_DOMAIN,\n refs: { [WorkbenchTaskCorrelationRef.BUILD_PLAN_TASK]: sanitizeWorkbenchCreationPlaneIdentity(prepared.plan.taskRef) },\n },\n },\n };\n }\n\n private async executePreparedBuildTask(\n prepared: PreparedBuildTask,\n session?: CompanionExecutionSessionContext,\n origin?: ApplicationBuildDispatchOrigin,\n /** CONCURRENT only from {@link dispatchBuildWave} (#1528). */\n mode: CodingRunConcurrency = CodingRunConcurrency.SINGLE_FLIGHT,\n /** Already opened by {@link openPreparedBuildTask}; opened here otherwise. */\n opened?: OpenedActorExecution,\n ): Promise<ApplicationBuildDispatchResult> {\n if (prepared.kind === 'GENERATION_STEP') {\n this.logDebug('Running a companion generation step', {\n taskRef: prepared.plan.taskRef,\n generationStepRef: prepared.plan.generationStepRef,\n });\n /*\n * A generation step IS an execution of the build system's one PROGRAMMATIC actor: opened before\n * the pipeline starts, settled COMPLETED with what it produced, or FAILED with the pipeline's\n * own message when it throws (the driver rethrows it unchanged for this method's caller).\n */\n /*\n * Announced when the step's execution OPENS and again once its row is TERMINAL, however it ended\n * (#1310). The creation boards read that row: it is a line of the dispatch history while it\n * runs, and its ending is what a failed step's line and the next task it unblocks are read\n * from. A running step is NOT in the selection's in-flight set (that counts coding runs), so\n * the open announcement is about the history, not about readiness. When `opened` is supplied,\n * {@link openPreparedBuildTask} already announced the open.\n */\n const openedStep = opened ?? await this.actorsSystem.openActorExecution(this.buildGenerationStepExecutionRequest(prepared, session, origin));\n if (!opened) this.dispatch.announceRunStateChanged();\n const generationStep = await this.actorsSystem.completeActorExecution(\n openedStep,\n /*\n * Inside the coding lane's attribution window, and accepted under the autonomy posture there\n * (#1534): the step lands on COMMITTED paths and is exempt from the loop guard, so an\n * uncommitted step would be re-selected forever. See `runGenerationStepInWorktreeWindow`.\n */\n (opened) => this.dispatch.runGenerationStepInWorktreeWindow({\n taskRef: prepared.plan.taskRef,\n taskId: opened.taskId,\n execute: () => this.generationSteps.executeGenerationStep(prepared.task, session),\n // Its claims when a concurrent wave shares the tree (#2240): the roots derived from its evidence paths.\n ownedPathPrefixes: prepared.plan.allowedPathPrefixes,\n ...(session ? { sessionContext: session } : {}),\n }),\n session,\n {\n // The step's PRODUCT is files on disk; the row names them so a reader need not re-derive where to look.\n // And what its model calls spent (#2232): the build's cost is incomplete without its generation steps.\n concludeAs: (result) => ({\n status: FlowsActors_Status.COMPLETED,\n taskOutput: { generationStepRef: result.generationStepRef, evidencePaths: result.evidencePaths, spend: result.spend },\n }),\n // A failed run spent money too — also when the step itself succeeded and what followed it threw.\n recordBesideFailure: () => {\n const spend = this.generationSteps.spentByGenerationStep(prepared.task);\n return spend ? { spend } : null;\n },\n },\n ).finally(() => this.dispatch.announceRunStateChanged());\n return { plan: prepared.plan, generationStep };\n }\n this.logDebug('Dispatching a build task to the coding agent', {\n taskRef: prepared.plan.taskRef,\n allowedPathPrefixes: prepared.plan.allowedPathPrefixes,\n });\n const contract = prepared.contract as MetaWorkflow_ApplicationCodingTaskContract;\n /*\n * Opened at SELECTION, `PENDING`: what follows can take minutes and can fail, and until #1359 that\n * stretch existed only in memory. The coding service STARTS this same execution at admission.\n */\n const selected = opened ?? await this.dispatch.openSelectedApplicationCodingExecution(contract, session, origin, mode);\n try {\n /*\n * The churn gate, and deliberately NOT the retry (#265): a coding turn MUTATES the workspace, so\n * a kill mid-turn leaves a change-set the attribution machinery must reconcile — re-dispatching\n * blind on top of that is how two half-runs interleave. The gate raises the odds the turn never\n * meets the respawn; a killed coding run stays what it is today, a visibly aborted task an\n * operator re-dispatches deliberately.\n */\n await waitForDevCompileQuiet({\n frameworkRepositoryRoot: this.companionContext.resolvedHomes.framework.repositoryRoot,\n log: (message, context) => this.logDebug(message, { taskRef: prepared.plan.taskRef, ...context }),\n /*\n * Siblings in a wave keep the compilers busy by design (#1528), so a concurrent admission waits\n * briefly rather than up to five minutes per slot. A run a respawn then kills stays what it is\n * everywhere: a visibly aborted task, retried.\n */\n ...(mode === CodingRunConcurrency.CONCURRENT ? { maximumWaitMs: CONCURRENT_ADMISSION_COMPILE_QUIET_MS } : {}),\n });\n const admission = await this.dispatch.runApplicationCodingTask(contract, session, selected, origin, mode);\n return { plan: prepared.plan, admission };\n } catch (error) {\n /*\n * The run never STARTED — a rejection from admission means exactly that, by the coding\n * service's contract — so the execution opened at selection is this method's to settle.\n * Best-effort: the dispatch's own error is what the caller must see, and a settle that also\n * fails leaves a PENDING row the startup reconcile sweeps.\n *\n * ABORTED, not FAILED (#1581). A refusal here — the worktree held by another run — is the HOST\n * declining to start the run, and the attempt budget counts\n * FAILED coding runs as the task's own failures (`listAttributableFailedRunsForBuildTask`).\n * Settled FAILED, three worktree-busy refusals retired a task that never ran. The message is\n * still on the row, and the board's dispatch record still reads it as a failed dispatch.\n *\n * One refusal IS the task's own: admission refused its CONTRACT — in practice an unregistered\n * verification check, since a contract that does not parse is refused at open, before this row\n * exists — marked by `isApplicationCodingContractRefusal`. Nothing about the\n * host would make it pass next time, so it settles FAILED with `failureAttribution: TASK`: the\n * budget counts it, and the board shows it as the attempt it is — otherwise it could never retire\n * and would hold the head of the queue on every dispatch.\n */\n const failure = { message: describeCaughtError(error).slice(0, 400) };\n await this.actorsSystem.settleActorExecution(\n selected,\n isApplicationCodingContractRefusal(error)\n ? { status: FlowsActors_Status.FAILED, taskOutput: { failure, failureAttribution: CodingRunFailureAttribution.TASK } }\n : { status: FlowsActors_Status.ABORTED, failure },\n session,\n ).catch((settleError: unknown) => {\n this.logDebug('A build dispatch failed before admission and its execution could not be settled', {\n taskRef: prepared.plan.taskRef, settleError: describeCaughtError(settleError),\n });\n }).finally(() => {\n /*\n * The PENDING row left the in-flight set (#1310, fifth review F1), which is an input of the\n * next-task selection, and no coding chain will announce this ending, because none started.\n * Announced whether or not the settle itself succeeded.\n */\n this.dispatch.announceRunStateChanged();\n });\n throw error;\n }\n }\n\n\n /**\n * The coding agent's usage limit holding the build now (#2388), or undefined. The CODING_AGENT tier asks it to\n * send a single-flight build through the wave while a limit holds, so one path pauses and resumes both.\n */\n public readCodingAgentUsageLimitHold(): ApplicationBuildWaveResult['usageLimit'] {\n return this.dispatch.readCodingAgentUsageLimitHold();\n }\n\n /**\n * Run the build with up to {@link readBuildParallelism} coding runs at once in the ONE worktree\n * (#1528) — a rolling pool rather than fixed batches: when a run settles its slot is refilled with\n * whatever is then ready, so a task that just landed unlocks its dependents in the same call.\n *\n * Optimistic by decision (Paul, 2026-09-24): runs share the tree and may edit the same files, the way\n * parallel Claude Code sessions do every day. What is prevented is only a task being built twice at\n * once (the per-task subject and the IN_FLIGHT skip). What is REPAIRED is at the end: once every run\n * has settled, {@link CodingAgentDispatchCompanionService.reconcileWaveAcceptance} commits what the\n * runs' own accepts left, as one change naming every run whose writes it may carry (#1805); then\n * {@link repairInterferedTasks} re-runs, ALONE, each task whose completed run lost its product to a\n * sibling (#2210). What is OBSERVED is on each run's row (`concurrency`, `interferenceSuspected`, and the\n * `interference` memory entry).\n *\n * Bounded per call: at most {@link WAVE_DISPATCHES_PER_DEGREE} dispatches per slot, and a generation\n * step at most once — a step whose landing stays unmet would otherwise be re-selected forever. The\n * interference re-runs are outside that cap, bounded per task by `MAXIMUM_INTERFERENCE_REARMS` and at most\n * one per completed run of this wave. The next call continues from wherever the build stands.\n *\n * With a degree of 1 this is one single-flight dispatch awaited to its outcome: exactly the lane as\n * it was.\n */\n public async dispatchBuildWave(session?: CompanionExecutionSessionContext): Promise<ApplicationBuildWaveResult> {\n this.assertNoBuildWaveInFlight();\n this.liveWaveStartedAt = new Date().toISOString();\n try {\n return await this.runBuildWave(session);\n } finally {\n this.liveWaveStartedAt = undefined;\n }\n }\n\n /**\n * Refuse while a build wave runs in this companion (#2208 review M1) — the check a caller makes BEFORE it\n * submits a detached wave, so the refusal reaches it now rather than as a failed run in the feed. The marker\n * spans the whole wave, including its end-of-wave commit and repair, when no coding run may be live.\n */\n public assertNoBuildWaveInFlight(): void {\n if (this.liveWaveStartedAt !== undefined) throw new ApplicationBuildWaveInFlightError(this.liveWaveStartedAt);\n }\n\n private async runBuildWave(session?: CompanionExecutionSessionContext): Promise<ApplicationBuildWaveResult> {\n const degree = readBuildParallelism(this.companionContext.saasRoot);\n const mode = degree > 1 ? CodingRunConcurrency.CONCURRENT : CodingRunConcurrency.SINGLE_FLIGHT;\n const maximumDispatches = degree * WAVE_DISPATCHES_PER_DEGREE;\n const dispatched: ApplicationBuildWaveDispatch[] = [];\n const inFlight = new Map<string, Promise<{ readonly taskId: string; readonly outcome: ApplicationCodingTaskSettledOutcome | null }>>();\n const generationStepsRun = new Set<string>();\n let stoppedFillingBecause: ApplicationBuildWaveStop | undefined;\n // When the wave began: a concurrent run that recorded writes since then shared its tree (#1805).\n const startedAt = new Date().toISOString();\n\n let usageLimit: ApplicationBuildWaveResult['usageLimit'];\n let bootFailures: readonly ApplicationBootFailure[] | undefined;\n\n const fill = async (): Promise<void> => {\n while (stoppedFillingBecause === undefined && inFlight.size < degree) {\n if (dispatched.length >= maximumDispatches) {\n stoppedFillingBecause = ApplicationBuildWaveStop.DISPATCH_CAP;\n return;\n }\n /*\n * And before every slot, whether the application still STARTS (#2405). On app-creation-test-005 one task broke\n * the backend's start and about 45 more landed on top over four hours, each verified by typechecks that could\n * not see it. The live runs drain; nothing new starts into an application that cannot run.\n */\n const notBooting = await this.readCurrentBootFailures();\n if (notBooting.length > 0) {\n bootFailures = notBooting;\n /*\n * While runs are live this PAUSES the filling rather than ending it (#2405 review F2): a sibling half-way\n * through writing a configuration can make one restart fail, and its own completion may repair it. The next\n * settle asks again. With nothing live there is nothing left to wait for, and the wave stops.\n */\n if (inFlight.size > 0) return;\n stoppedFillingBecause = ApplicationBuildWaveStop.APPLICATION_DOES_NOT_BOOT;\n return;\n }\n bootFailures = undefined;\n let prepared: PreparedBuildTask;\n try {\n prepared = await this.prepareNextBuildTask();\n } catch (error) {\n if (error instanceof ApplicationBuildPlanExhaustedError || error instanceof ApplicationBuildTaskCompletedButUnlandedError) {\n // Nothing ready NOW. While runs are live that is a pause, not an end: a settle may unlock more.\n if (inFlight.size === 0) stoppedFillingBecause = ApplicationBuildWaveStop.NOTHING_READY;\n return;\n }\n throw error;\n }\n if (prepared.kind === 'GENERATION_STEP') {\n if (generationStepsRun.has(prepared.plan.taskRef)) {\n stoppedFillingBecause = ApplicationBuildWaveStop.GENERATION_STEP_REPEATED;\n return;\n }\n generationStepsRun.add(prepared.plan.taskRef);\n dispatched.push(await this.executePreparedBuildTask(prepared, session));\n continue;\n }\n /*\n * Before every CODING slot, including the refill after a run settles (#2388): a sibling that just met the\n * account's usage limit makes every coding turn started before its reset certain to fail the same way. On\n * app-creation-test-005 the refill went on regardless, and four tasks spent three or four attempts each in\n * five minutes. The live runs still drain; nothing new starts. Asked after the selection, which only reads,\n * so a generation step — run on the configured model providers, not on the coding agent's account — still\n * runs (#2388 review F8d).\n */\n const held = this.dispatch.readCodingAgentUsageLimitHold();\n if (held) {\n stoppedFillingBecause = ApplicationBuildWaveStop.CODING_AGENT_USAGE_LIMITED;\n usageLimit = held;\n return;\n }\n try {\n const result = await this.executePreparedBuildTask(prepared, session, undefined, mode);\n dispatched.push(result);\n const taskId = result.admission!.taskId;\n inFlight.set(taskId, this.awaitCodingRunOutcome(taskId, session).then((outcome) => ({ taskId, outcome })));\n } catch (error) {\n // A refused admission is recorded and ends the filling; the live runs still drain.\n dispatched.push({ plan: prepared.plan, error: describeCaughtError(error) });\n stoppedFillingBecause = ApplicationBuildWaveStop.DISPATCH_REFUSED;\n return;\n }\n }\n };\n\n const outcomes: Array<ApplicationCodingTaskSettledOutcome | null> = [];\n const settledTaskIds: string[] = [];\n await fill();\n while (inFlight.size > 0) {\n const settled = await Promise.race(inFlight.values());\n inFlight.delete(settled.taskId);\n outcomes.push(settled.outcome);\n settledTaskIds.push(settled.taskId);\n await fill();\n }\n // A pause on a failing start that the drained runs did not clear ends the wave on it, not on \"nothing ready\".\n if (stoppedFillingBecause === undefined && bootFailures !== undefined) stoppedFillingBecause = ApplicationBuildWaveStop.APPLICATION_DOES_NOT_BOOT;\n stoppedFillingBecause ??= ApplicationBuildWaveStop.NOTHING_READY;\n\n /*\n * REPAIR, now that nothing is writing: what the runs' own accepts left in the tree is committed as ONE\n * change naming every run whose writes it may carry — failed runs INCLUDED, since a failed run's files\n * sit in the same tree and a finisher's capture holds them (#1805). Only when the wave was concurrent:\n * a single-flight run's own accept never meets a sibling.\n */\n const reconciliation = mode === CodingRunConcurrency.CONCURRENT && settledTaskIds.length > 0\n ? await this.dispatch.reconcileWaveAcceptance({ startedAt, taskIds: settledTaskIds })\n : [];\n /*\n * And the repair reconciliation cannot make (#2210): a run that COMPLETED but whose product a sibling\n * overwrote. Its file is now committed, holding the siblings' work and not its own, so no commit can\n * bring it back; only running the task again can. Asked after the reconciliation, so landing reads the\n * tree every run's work has reached.\n */\n const interferenceRepairs = mode === CodingRunConcurrency.CONCURRENT\n ? await this.repairInterferedTasks(outcomes, session)\n : [];\n /*\n * #2222: a wave that ran out of ready work may have FINISHED the plan. Asked after the reconciliation and the\n * repairs, so it reads the tree every run's work reached — and only on NOTHING_READY, the one stop that can mean\n * \"done\" (a cap, a refusal or a repeated step leaves work behind).\n */\n const { assembly, repairs: assemblyRepairs } = stoppedFillingBecause === ApplicationBuildWaveStop.NOTHING_READY\n ? await this.assemblyIfPlanExhausted(session)\n : { assembly: undefined, repairs: [] };\n /*\n * A hold that began after the filling stopped — a draining run, an interference re-run or an assembly repair\n * meeting the limit — is reported too, so the lane resumes the build after the reset whatever stopped it.\n */\n usageLimit ??= this.dispatch.readCodingAgentUsageLimitHold();\n const landedThisWave = outcomes.filter((outcome) => outcome?.succeeded === true && outcome.taskRef !== null).map((outcome) => outcome!.taskRef!);\n return {\n degree, mode, dispatched, outcomes, reconciliation, interferenceRepairs, stoppedFillingBecause,\n ...(bootFailures ? { bootFailures: bootFailures.map((failure) => ({ ...failure, landedThisWave })) } : {}),\n ...(usageLimit ? { usageLimit } : {}),\n ...(assembly ? { assembly } : {}),\n ...(assemblyRepairs.length > 0 ? { assemblyRepairs } : {}),\n };\n }\n\n /**\n * The application backends whose last start failed and still describe the tree (#2405), read from the backends' own\n * start records. Empty when there is none, or when no local dev loop runs (nothing to ask): only an observed failure\n * stops a wave, never an absence of evidence. The newest commit is what `readApplicationBootFailures` weighs a failure\n * against, so a restart still pending on a fresh commit is not mistaken for a failure of that commit.\n */\n private async readCurrentBootFailures(): Promise<readonly ApplicationBootFailure[]> {\n try {\n const newestCommitUnixTime = await this.git.lastCommitUnixTime('.');\n return await readApplicationBootFailures(this.companionContext.saasRoot, {\n newestCommitAtMs: newestCommitUnixTime === undefined ? undefined : newestCommitUnixTime * 1000,\n }) ?? [];\n } catch (error) {\n this.logDebug('Could not read the backend start records; the wave does not gate on them', { error: describeCaughtError(error) });\n return [];\n }\n }\n\n /**\n * The assembly verdict when no task is ready because every one landed; absent when work remains or is stuck.\n *\n * When the finished plan does not assemble, the wave REPAIRS it here (#2283): it asks the next-task door, which\n * answers with a repair of the first failing check while one is owed, runs that repair ALONE, waits for it, and\n * asks again, until the door answers with a verdict. The door's per-check bounds end the loop; the ceiling below\n * only guards against a repair that never counts, one the host keeps refusing before it starts.\n */\n private async assemblyIfPlanExhausted(session?: CompanionExecutionSessionContext): Promise<{\n readonly assembly?: ApplicationAssemblyVerdict;\n readonly repairs: NonNullable<ApplicationBuildWaveResult['assemblyRepairs']>;\n }> {\n const repairs: Array<NonNullable<ApplicationBuildWaveResult['assemblyRepairs']>[number]> = [];\n const ceiling = MAXIMUM_ASSEMBLY_REPAIRS_PER_CHECK * resolveApplicationAssemblyCheckRefs(this.companionContext.saasRoot).length;\n for (;;) {\n // A repair is a coding turn too: none starts into the account's usage limit, and the resumed wave asks again (#2388).\n if (this.dispatch.readCodingAgentUsageLimitHold()) return { repairs };\n let prepared: PreparedBuildTask;\n try {\n prepared = await this.prepareNextBuildTaskOrQualifyExhaustion();\n } catch (error) {\n return { ...(error instanceof ApplicationBuildPlanExhaustedError && error.assembly ? { assembly: error.assembly } : {}), repairs };\n }\n // A ready task means the plan is not finished after all, so there is no verdict to give.\n if (!isAssemblyRepairTaskRef(prepared.plan.taskRef)) return { repairs };\n // Past the ceiling the repair is not run, and the wave still says whether the application assembles (#2283 review F2).\n if (repairs.length >= ceiling) return { assembly: this.toAssemblyVerdict(await this.assessAssembly(), []), repairs };\n const checkRef = prepared.kind === 'CODING' ? readGivenAssemblyFailure(prepared.contract)?.checkRef ?? prepared.plan.taskRef : prepared.plan.taskRef;\n try {\n const dispatched = await this.executePreparedBuildTask(prepared, session);\n const outcome = dispatched.admission ? await this.awaitCodingRunOutcome(dispatched.admission.taskId, session) : null;\n repairs.push({ checkRef, taskRef: prepared.plan.taskRef, outcome });\n } catch (error) {\n // The repair could not run (a held worktree, a refused admission); the plan is still finished, so the wave still answers.\n this.logger.warn('An assembly repair could not be run at the end of the wave', { checkRef, error: describeCaughtError(error) });\n return { assembly: this.toAssemblyVerdict(await this.assessAssembly(), []), repairs };\n }\n }\n }\n\n /**\n * DETECT and REPAIR a product a sibling overwrote (#2210) — the half of the parallel wave's\n * detect-and-repair decision (Paul, 2026-09-24, recorded in `concurrent-coding-runs.models.ts`) that only\n * covered FAILED runs until then. A run that succeeded and then lost its write was reported\n * `completed_unlanded` (\"fix what it declares, or the work\") and waited for a person, although nothing in\n * the task was wrong. Measured on `app-creation-test-004` (2026-10-01, degree 5): two of five chapters were\n * lost from one chapters index, and both landed only when a person re-ran each task alone.\n *\n * A completed run counts as interfered when, all three:\n * - its task has not landed, and its declared product is missing from the WORKING tree too (present there\n * it was merely left uncommitted, which re-running would not fix);\n * - another run of the wave overlapped it in time (`describeCodingRunOverlap`, computed now that every\n * window is closed);\n * - one of the files read by the task's UNMET probes (the missing product's files, never a satisfied\n * product's) was changed by that overlapping run too.\n * Suspected, never proven, like `interferenceSuspected` on a failed run: the wave sees that a sibling wrote\n * the product's file during the run, not which line it replaced.\n *\n * The repair re-arms the task with `INTERFERED_BY_CONCURRENT_RUN` and runs it again SINGLE-FLIGHT, at once:\n * the concurrent runs have all settled, so the re-run edits the file as it now stands and nothing can\n * overwrite it. It is not prevention — the wave still runs every task concurrently, as decided — it is the\n * repair, made where the evidence is. Bounded by {@link MAXIMUM_INTERFERENCE_REARMS} per task. Sequential,\n * because the re-runs are single-flight.\n */\n private async repairInterferedTasks(\n outcomes: readonly (ApplicationCodingTaskSettledOutcome | null)[],\n session?: CompanionExecutionSessionContext,\n ): Promise<ApplicationBuildInterferenceRepair[]> {\n const completed = outcomes.filter((outcome): outcome is ApplicationCodingTaskSettledOutcome & { taskRef: string } => outcome?.succeeded === true && outcome.taskRef !== null);\n if (completed.length === 0) return [];\n /*\n * Best-effort, like every repair here: the wave's runs are settled and reconciled already, and a detection\n * that cannot read the plan must not turn that result into a thrown wave. Logged, so a silent miss is not\n * the outcome; the task then reads `completed_unlanded`, as it did before #2210.\n */\n let graph: Awaited<ReturnType<typeof this.readBuildPlan>>;\n try {\n graph = await this.readBuildPlan();\n } catch (error) {\n this.logger.warn('Could not look for completed runs a sibling interfered with at the end of the wave', { error: describeCaughtError(error) });\n return [];\n }\n const repairs: ApplicationBuildInterferenceRepair[] = [];\n for (const run of completed) {\n try {\n /*\n * Landing and the working tree are read again for EACH run: a previous run's single-flight re-run has\n * rewritten the shared file since, and a reading taken before it would judge this run on stale text.\n */\n const landed = (await this.resolveLandedTaskRefs(graph.tasks)).landed;\n const repair = await this.repairIfInterfered(run, graph, landed, this.createWorktreeReader(), session);\n if (repair) repairs.push(repair);\n } catch (error) {\n this.logger.warn('Could not repair a completed run a sibling may have interfered with', { taskRef: run.taskRef, runTaskId: run.taskId, error: describeCaughtError(error) });\n }\n }\n return repairs;\n }\n\n /** One run of {@link repairInterferedTasks}: `undefined` when it was not interfered with. */\n private async repairIfInterfered(\n run: ApplicationCodingTaskSettledOutcome & { taskRef: string },\n graph: Awaited<ReturnType<typeof this.readBuildPlan>>,\n landed: ReadonlySet<string>,\n worktree: CommittedTreeReader,\n session?: CompanionExecutionSessionContext,\n ): Promise<ApplicationBuildInterferenceRepair | undefined> {\n if (landed.has(run.taskRef)) return undefined;\n const task = graph.tasks.find((candidate) => candidate.taskRef === run.taskRef);\n if (!task) return undefined;\n const probes = resolveBuildTaskLandedProbes(task).filter((probe) => !isIntrospectedProbe(probe));\n if (probes.length === 0) return undefined;\n const presentInWorktree = await Promise.all(probes.map((probe) => this.isLandedProbeSatisfied(probe, worktree)));\n if (presentInWorktree.every(Boolean)) return undefined;\n const overlap = this.dispatch.describeCodingRunOverlap(run.taskId);\n if (!overlap) return undefined;\n // Only the MISSING product's files: a satisfied probe on a file a sibling also touched says nothing about why\n // another probe of the task is unmet, and counting it would blame a sibling for the task's own omission.\n const productPaths = new Set(probes.filter((_, index) => !presentInWorktree[index]).flatMap(landedProbePaths));\n const contendedProductPaths = overlap.contendedPaths.filter((path) => productPaths.has(path));\n if (contendedProductPaths.length === 0) return undefined;\n\n const previousRequeues = (await this.dispatch.listCompletedRunsForBuildTask(run.taskRef, session))\n .filter((candidate) => candidate.taskId !== run.taskId && candidate.interference?.requeued === true).length;\n const detected = { overlappingTaskRefs: overlap.overlappingTaskRefs, contendedProductPaths, detectedAt: new Date().toISOString() };\n if (previousRequeues >= MAXIMUM_INTERFERENCE_REARMS) {\n const interference: BuildTaskInterference = { ...detected, requeued: false };\n await this.dispatch.recordBuildTaskInterference(run.taskRef, run.taskId, interference, session);\n this.logger.warn('A completed run lost its product to a concurrent sibling again, and the interference re-runs are spent; the task waits for a person', {\n taskRef: run.taskRef, runTaskId: run.taskId, previousRequeues, ...interference,\n });\n return { taskRef: run.taskRef, runTaskId: run.taskId, interference };\n }\n /*\n * Re-armed FIRST, recorded after, so `requeued` states what happened: a re-arm that throws leaves a record\n * saying the task was NOT requeued, which neither spends the bound nor tells `why` the wave re-ran it.\n */\n let requeued = true;\n let rearmError: string | undefined;\n try {\n await this.dispatch.rearmBuildTask(run.taskRef, {\n reason: BuildTaskRearmReason.INTERFERED_BY_CONCURRENT_RUN,\n note: `Concurrent run(s) ${detected.overlappingTaskRefs.join(', ')} changed ${contendedProductPaths.join(', ')} during this run, and the product this task declares is missing from it (suspected interference); the build wave re-runs it alone.`,\n }, session);\n } catch (error) {\n requeued = false;\n rearmError = describeCaughtError(error);\n }\n const interference: BuildTaskInterference = { ...detected, requeued };\n await this.dispatch.recordBuildTaskInterference(run.taskRef, run.taskId, interference, session);\n if (!requeued) {\n this.logger.warn('A completed run lost its product to a concurrent sibling, and its task could not be re-armed; it waits for a person', {\n taskRef: run.taskRef, runTaskId: run.taskId, error: rearmError, ...interference,\n });\n return { taskRef: run.taskRef, runTaskId: run.taskId, interference, rerun: { error: rearmError } };\n }\n this.logger.warn('A completed run lost its product to a concurrent sibling; re-running its task alone', {\n taskRef: run.taskRef, runTaskId: run.taskId, ...interference,\n });\n /*\n * Not into the account's usage limit (#2388): the re-run would fail like every other turn before the reset.\n * The task is re-armed already, so the wave that resumes after the reset offers it.\n */\n const held = this.dispatch.readCodingAgentUsageLimitHold();\n if (held) {\n return { taskRef: run.taskRef, runTaskId: run.taskId, interference, rerun: { error: `not re-run: the coding agent's usage limit holds the build until ${held.resumesAt}; the next wave runs it` } };\n }\n let rerun: NonNullable<ApplicationBuildInterferenceRepair['rerun']>;\n try {\n const dispatched = await this.dispatchBuildTask(run.taskRef, session);\n const rerunTaskId = dispatched.admission?.taskId;\n rerun = { dispatch: dispatched, outcome: rerunTaskId ? await this.awaitCodingRunOutcome(rerunTaskId, session) : null };\n } catch (error) {\n rerun = { error: describeCaughtError(error) };\n }\n return { taskRef: run.taskRef, runTaskId: run.taskId, interference, rerun };\n }\n\n /**\n * Wait for one admitted coding run to SETTLE, then report what it actually did.\n *\n * `dispatchNextBuildTask` resolves at ADMISSION for a coding target — the lock is held, the durable\n * row exists, and the agent has not written a line yet. That is the right contract for a caller\n * that wants to watch (the detached record says `ADMITTED` and hands over the task id), and the\n * wrong one for a caller that REPORTS AN OUTCOME: the first playbook run through this tier recorded\n * `ok: true` at a `finishedAt` equal to the coding run's `startedAt`, so a green run described work\n * that was still executing and no evaluation could ever see a result.\n *\n * Two steps because they fail differently. The settlement is in-process and is `null` for a row this\n * process did not admit — a restart, or a previous generation — in which case there is nothing to\n * wait for and the durable row already holds whatever is knowable. The read is durable and answers\n * `null` only when the row cannot be classified at all, which a caller must report as \"unknown\",\n * never as a failed run.\n */\n public async awaitCodingRunOutcome(\n taskId: string,\n session?: CompanionExecutionSessionContext,\n ): Promise<ApplicationCodingTaskSettledOutcome | null> {\n const settlement = this.dispatch.awaitApplicationCodingTaskSettlement(taskId);\n if (settlement) await settlement;\n return this.dispatch.readApplicationCodingTaskOutcome(taskId, session);\n }\n\n /**\n * The task the dispatcher would select has ALREADY been run to a working result and is still\n * not landed — so selecting it again is a loop, not progress.\n *\n * Refused rather than re-dispatched because each iteration spawns a coding agent and costs real\n * money: measured 2026-09-10 on Wonder CRM at roughly $7.50 a turn, three turns, same task\n * (#606). Every run SUCCEEDED; what fails is the plan's ability to say the work landed.\n *\n * The remedy is never \"run it again\" — it is to fix what the task declares it PRODUCES, or to\n * fix the work so the declared product exists. Naming both in the message keeps an operator out\n * of the coding host, which is the wrong place to look: the run is not the defect.\n */\n private buildUnlandableTaskError(stuck: readonly ApplicationBuildStuckTask[], queue: ApplicationBuildStuckQueue): Error {\n const entry = stuck[0]!;\n const stuckCount = stuck.length;\n const { taskRef, priorTaskId, completedAt } = entry;\n const when = completedAt === undefined ? '' : ` at ${completedAt}`;\n const others = stuckCount > 1 ? ` ${stuckCount - 1} other ready task(s) are stuck the same way.` : '';\n /*\n * Four ways to be stuck, four DIFFERENT remedies — so they must not share prose. A message that\n * sent an operator to fix a `produces` declaration while a live question sat unanswered, or while\n * the real fault was a document the catalog does not define, is a message that costs a session.\n */\n if (entry.reason === Workbench_BuildTaskStuckReason.PARKED_AWAITING_ANSWER) {\n return new ApplicationBuildTaskCompletedButUnlandedError(\n `Build task \"${taskRef}\" is PARKED on an unanswered question (task ${priorTaskId}), so dispatching it `\n + 'again would abandon that run\\'s persisted session and lose the question with it. The question is: '\n + `${entry.question ?? '(not recorded on the durable row)'} — answer it through the coding-agent resume `\n + 'door, or retire the task from the plan if it cannot be built as declared. Do not re-dispatch.'\n + `${others}`,\n taskRef,\n priorTaskId,\n stuck,\n queue,\n );\n }\n if (entry.reason === Workbench_BuildTaskStuckReason.NO_DOCUMENT_BLUEPRINT) {\n return new ApplicationBuildTaskCompletedButUnlandedError(\n `Build task \"${taskRef}\" declares it produces the governed document \"${entry.documentRef}\", which the engine `\n + 'catalog does not define — so there is no blueprint saying what it must contain, and a run could only '\n + 'INVENT its structure, which the authoring skill forbids. No agent can complete it. Declare a document '\n + `the catalog defines (a candidate carries \\`document:<namespace>.<id>\\`), or retire the task.`\n + (entry.priorTaskId === ''\n ? ''\n : ` NOTE: a run for it is PARKED on a question (task ${entry.priorTaskId}); retiring the task abandons `\n + `that session. The question is: ${entry.question ?? '(not recorded)'}`)\n + others,\n taskRef,\n priorTaskId,\n stuck,\n queue,\n );\n }\n if (entry.reason === Workbench_BuildTaskStuckReason.IN_FLIGHT) {\n return new ApplicationBuildTaskCompletedButUnlandedError(\n `Build task \"${taskRef}\" is being built right now (a live coding run, or the companion running its generation step), so it is not offered again until `\n + `that run settles. Nothing to do: the next dispatch after it settles picks up wherever the build then stands.${others}`,\n taskRef,\n priorTaskId,\n stuck,\n queue,\n );\n }\n if (entry.reason === Workbench_BuildTaskStuckReason.ATTEMPTS_EXHAUSTED) {\n return new ApplicationBuildTaskCompletedButUnlandedError(\n `Build task \"${taskRef}\" has failed ${MAXIMUM_ATTRIBUTABLE_FAILED_ATTEMPTS} times (latest: task ${priorTaskId}${when}), `\n + 'each a failure of its own making, so it is not offered again as the same dispatch. Read the latest run\\'s '\n + 'failure (its verification output and closing report are on that task row), fix the cause, then put it back '\n + `with \\`wildo build rearm ${taskRef} --reason <why> --note <what was fixed>\\`.${others}`,\n taskRef,\n priorTaskId,\n stuck,\n queue,\n );\n }\n if (entry.reason === Workbench_BuildTaskStuckReason.COMPLETED_AWAITING_COMMIT) {\n return new ApplicationBuildTaskCompletedButUnlandedError(\n `Build task \"${taskRef}\" already completed${when} (task ${priorTaskId}) and its declared product IS in the `\n + `working tree, uncommitted: ${(entry.uncommittedPaths ?? []).join(', ')}. Landing means committed, because `\n + 'acceptance is a commit — review the run\\'s change set and commit it (with the rest of what the run '\n + `wrote), and the task lands. Do not re-dispatch, and do not change its \\`produces\\` declaration.${others}`,\n taskRef,\n priorTaskId,\n stuck,\n queue,\n );\n }\n return new ApplicationBuildTaskCompletedButUnlandedError(\n `Build task \"${taskRef}\" already completed${when} (task ${priorTaskId}) and is STILL not landed, so `\n + 'dispatching it again would re-run work that succeeded. Its landed probes are derived from what '\n + 'the task declares it `produces`, and they are unmet in the working tree as well as at HEAD: either '\n + 'that declaration is empty or wrong, or the run did not produce it. Fix the declaration or the work — do not re-dispatch. '\n + `Once the cause is fixed, put the task back with \\`wildo build rearm ${taskRef} --reason <why> --note <what was fixed>\\`.${others}`,\n taskRef,\n priorTaskId,\n stuck,\n queue,\n );\n }\n\n /**\n * Select the task to run: the NEXT ready one, or — with `selection` — the NAMED one, which must be\n * among the ready ones. The stuck-task rules below apply to either; naming a task never lets it\n * skip them.\n */\n /**\n * WHY a ready build task cannot make progress — or `null` when it can be dispatched.\n *\n * ONE classification, called by both the selector (`prepareNextBuildTask`, which skips a stuck task)\n * and the per-task record (`describeBuildTaskRecords`, which reports it). Until #1521 it lived inline\n * in the selection loop, so the only surface that ever saw a task's reason was the loop guard's\n * refusal, thrown away on every ordinary round. Two copies would be two answers to one question.\n *\n * Generation steps are not asked: their landing is a typed condition of their own, and one of them\n * is legitimately re-runnable.\n */\n private async classifyStuckBuildTask(\n candidate: BuildPlanTask,\n /** The build tasks with a live coding run, when the caller already read them once for a whole selection. */\n inFlightTaskRefs?: ReadonlySet<string>,\n ): Promise<ApplicationBuildStuckTask | null> {\n /*\n * FIRST, because it is the one reason that is progress rather than a fault: a run of this task is\n * live (#1528). Under a parallel wave the next selection must pass over it, or two agents build the\n * same task. The engine's per-task subject refuses the second one anyway; this keeps the wave from\n * spending a slot on the refusal.\n */\n const inFlight = inFlightTaskRefs !== undefined\n ? (inFlightTaskRefs.has(candidate.taskRef) ? { executionId: '' } : null)\n : await this.dispatch.findInFlightRunForBuildTask(candidate.taskRef);\n if (inFlight !== null) {\n return { taskRef: candidate.taskRef, priorTaskId: '', reason: Workbench_BuildTaskStuckReason.IN_FLIGHT };\n }\n /*\n * Asked BEFORE any durable-run lookup, because it is the one reason that does not need a run to\n * have happened: a task producing a document the catalog cannot describe is unbuildable from the\n * moment it is authored, and dispatching it spends a full agent turn to rediscover that. Wonder\n * CRM's plan carries two.\n */\n const undraftableDocumentRef = resolveUndraftableDocumentRef(candidate);\n if (undraftableDocumentRef !== undefined) {\n /*\n * A task can be BOTH unbuildable and parked — Wonder CRM's GDPR task is exactly that. The\n * document fault is the one that decides (no run can ever complete it), but retiring a task\n * with a live persisted session is a deliberate act, so the park is named rather than dropped.\n */\n const alsoParked = await this.dispatch.findParkedRunForBuildTask(candidate.taskRef);\n return {\n taskRef: candidate.taskRef,\n priorTaskId: alsoParked?.taskId ?? '',\n reason: Workbench_BuildTaskStuckReason.NO_DOCUMENT_BLUEPRINT,\n documentRef: undraftableDocumentRef,\n question: alsoParked?.question,\n };\n }\n const priorRun = await this.dispatch.findCompletedRunForBuildTask(candidate.taskRef);\n if (priorRun !== null) {\n const uncommittedPaths = await this.resolveProducedButUncommittedPaths(candidate);\n return {\n taskRef: candidate.taskRef,\n priorTaskId: priorRun.taskId,\n completedAt: priorRun.completedAt,\n reason: uncommittedPaths === undefined ? Workbench_BuildTaskStuckReason.COMPLETED_UNLANDED : Workbench_BuildTaskStuckReason.COMPLETED_AWAITING_COMMIT,\n uncommittedPaths,\n };\n }\n /*\n * A run that SUSPENDED is not a completed run, so the lookup above cannot see it — and without\n * this second question the task is offered again on every dispatch, forever. Measured\n * 2026-09-16 on Wonder CRM: `build-task-gdpr-data-handling-governance` parked on a question,\n * and the next dry run selected the same task. The anti-loop guard was answering honestly\n * about the wrong population.\n *\n * Skipped, never blocking: the parked run keeps its persisted session, its dependents keep\n * waiting, and the rest of the plan proceeds.\n */\n const parkedRun = await this.dispatch.findParkedRunForBuildTask(candidate.taskRef);\n if (parkedRun !== null) {\n return { taskRef: candidate.taskRef, priorTaskId: parkedRun.taskId, reason: Workbench_BuildTaskStuckReason.PARKED_AWAITING_ANSWER, question: parkedRun.question };\n }\n /*\n * The ATTEMPT BUDGET (#1536). A failed run is re-offered by design — it is exactly what an\n * operator should be able to retry — and until this nothing counted: on the first end-to-end run\n * two tasks ran three times each for $69, re-dispatched identically. Only the task's own failures\n * count (a check already red before a run no longer fails it), so this retires a task for what IT\n * did; the re-arm door releases it once the cause is fixed.\n */\n const failedRuns = await this.dispatch.listAttributableFailedRunsForBuildTask(candidate.taskRef);\n if (failedRuns.length >= MAXIMUM_ATTRIBUTABLE_FAILED_ATTEMPTS) {\n return {\n taskRef: candidate.taskRef,\n priorTaskId: failedRuns[0]!.taskId,\n ...(failedRuns[0]!.settledAt ? { completedAt: failedRuns[0]!.settledAt } : {}),\n reason: Workbench_BuildTaskStuckReason.ATTEMPTS_EXHAUSTED,\n };\n }\n return null;\n }\n\n private async prepareNextBuildTask(selection?: ApplicationBuildTaskSelection): Promise<PreparedBuildTask> {\n const graph = await this.readBuildPlan();\n const resolution = await this.resolveLandedTaskRefs(graph.tasks);\n const landedTaskRefs = resolution.landed;\n\n const ready = selectReadyBuildPlanTasks(graph, landedTaskRefs);\n /*\n * A task the probe calls LANDED, run anyway because the operator says the landing is wrong (#2217). Only a\n * landed task whose prerequisites have all landed: the override answers \"this landing is false\", never \"skip\n * the graph\". Readiness is otherwise unchanged, and the override is exercised only when it is needed — a\n * `despiteLanded` on a task that is simply ready runs it as an ordinary dispatch and records nothing.\n */\n let forced: BuildPlanTask | undefined;\n if (selection !== undefined && !ready.some((candidate) => candidate.taskRef === selection.taskRef)) {\n const named = graph.tasks.find((candidate) => candidate.taskRef === selection.taskRef);\n const standing = named === undefined ? ApplicationBuildTaskStanding.UNKNOWN\n : landedTaskRefs.has(named.taskRef) ? ApplicationBuildTaskStanding.LANDED\n : ApplicationBuildTaskStanding.BLOCKED;\n const unmet = named === undefined ? [] : named.prerequisiteTaskRefs.filter((prerequisite) => !landedTaskRefs.has(prerequisite));\n if (standing === ApplicationBuildTaskStanding.LANDED && selection.despiteLanded !== undefined && unmet.length === 0) {\n forced = named;\n } else {\n throw new ApplicationBuildTaskNotReadyError(\n standing === ApplicationBuildTaskStanding.UNKNOWN ? `The build plan holds no task \"${selection.taskRef}\".`\n : standing === ApplicationBuildTaskStanding.LANDED\n ? `Task ${selection.taskRef} has already landed: its landing probe finds its product committed. If that landing is wrong, `\n + `run it anyway, saying why: wildo build run ${selection.taskRef} --despite-landed --reason <${OPERATOR_BUILD_TASK_REARM_REASONS.join('|')}> --note \"<why>\".`\n : `Task ${selection.taskRef} is not ready: it waits on ${unmet.join(', ')}.`,\n selection.taskRef,\n standing,\n unmet,\n );\n }\n }\n if (ready.length === 0 && forced === undefined) {\n throw new ApplicationBuildPlanExhaustedError(\n `Every task in the build plan has landed, or none is ready: ${graph.tasks.length} task(s), `\n + `${landedTaskRefs.size} landed.`,\n graph.tasks.length,\n landedTaskRefs.size,\n [...landedTaskRefs].sort(),\n );\n }\n /*\n * The FIRST ready task, in graph order — routed by its own `target.kind`, never reordered.\n *\n * Deliberately not a choice among the ready set: the graph already encodes the ordering its author\n * intended, and something picking among ready tasks would be a second scheduler disagreeing with the\n * first. (An earlier version skipped generation steps to find a coding task and refused when none\n * remained — correct while no executor existed, a hole in the lane once one did: the first authored\n * generation step parked the Wonder Todos build behind a named 409 forever.)\n */\n /*\n * THE FIRST ready task in graph order — SKIPPING any that has already run and still cannot prove\n * it landed. Skipping is not reordering: the graph's order is preserved, a known-stuck task is\n * removed from it.\n *\n * Such a task declared a product and the run did not produce it, so the declaration or the work\n * is wrong. Re-offering it is the money-burning loop; REFUSING THE WHOLE QUEUE for it — which is\n * what this did until 2026-09-12 — is the gate `application-creation-directive.md` forbids, one\n * task later. One over-derived field would freeze an entire 42-task build.\n *\n * It is SKIPPED rather than MARKED, and the asymmetry against the no-product case above is the\n * whole design. A task declaring nothing can never be proven by any run, so marking it is the\n * only way the lane moves — measured at 1 of 42 reachable otherwise. A task whose product is\n * merely ABSENT is provable: fix the declaration or the work and it lands. So it stays NOT\n * landed, its dependents correctly wait, and every unrelated branch proceeds.\n */\n const stuck: ApplicationBuildStuckTask[] = [];\n let selected: BuildPlanTask | undefined;\n let unanswerableGenerationStep: BuildPlanTask | undefined;\n const candidates = forced !== undefined ? [forced]\n : selection === undefined ? ready : ready.filter((candidate) => candidate.taskRef === selection.taskRef);\n // Read ONCE per selection: a wave selects repeatedly over a wide ready set (#1528).\n const inFlightTaskRefs = new Set((await this.dispatch.listInFlightCodingRuns()).flatMap((run) => (run.taskRef ? [run.taskRef] : [])));\n for (const candidate of candidates) {\n /*\n * Generation steps are exempt: their landing is the generation-step service's own typed\n * condition rather than a product declaration, and one of them (`i18n-labels`) is legitimately\n * re-runnable when the locale set changes.\n */\n if (candidate.target?.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP) {\n /*\n * A step that is RUNNING is passed over first (#2531 review M2, and its re-review F1). A generation step holds no\n * worktree lease and is not a coding run, so the in-flight read above never sees it: a second dispatch of it\n * opened a second execution, which lost the workspace lock and settled FAILED as the task's newest attempt while\n * the first was still working. Its progress is held in this companion while it runs, and a restart ends it with\n * the process, so that is the whole answer. Passed over like a live coding run, so naming it refuses with\n * IN_FLIGHT. It is checked BEFORE an unanswerable landing check: a check can read as unanswerable mid-run (a\n * stylesheet half written, a schema check timing out during a migration), and a running step kept as the\n * fallback below would be started again whenever nothing else was ready.\n */\n if (this.generationSteps.readGenerationStepProgress(candidate.taskRef) !== undefined) {\n stuck.push({ taskRef: candidate.taskRef, priorTaskId: '', reason: Workbench_BuildTaskStuckReason.IN_FLIGHT });\n continue;\n }\n /*\n * …and one whose landing check could not be ANSWERED (`SchemaPlanSyncState.UNANSWERABLE` for a\n * migration step, `DesignTokenBlockState.UNANSWERABLE` for the design-tokens step,\n * `BrandDesignState.UNANSWERABLE` for the design-system-brand step). It cannot land,\n * and running it only throws (every cause is listed on those members — no built registry, a\n * planner-contract mismatch, a design-system config that does not load among them), so holding the\n * head of the queue for it stops every other task: the whole-queue refusal this loop exists not to\n * be. Passed over, not dropped: when nothing else is ready it is still selected below, so its\n * executor's refusal names the cause.\n */\n if (resolution.unanswerableGenerationStepTaskRefs.has(candidate.taskRef)) {\n unanswerableGenerationStep ??= candidate;\n continue;\n }\n selected = candidate;\n break;\n }\n const stuckEntry = await this.classifyStuckBuildTask(candidate, inFlightTaskRefs);\n /*\n * A forced task's earlier COMPLETED run is the very landing the operator overrides, so it does not hold the\n * task. A live run, a parked session or an undraftable document still does: forcing past those would start\n * a second agent, abandon a persisted conversation, or spend a turn on a product no run can make.\n */\n if (stuckEntry !== null && !(candidate === forced && LANDED_OVERRIDE_RELEASES.has(stuckEntry.reason))) {\n stuck.push(stuckEntry);\n continue;\n }\n selected = candidate;\n break;\n }\n if (selected === undefined && unanswerableGenerationStep !== undefined) {\n selected = unanswerableGenerationStep;\n } else if (unanswerableGenerationStep !== undefined) {\n const deferredStepRef = unanswerableGenerationStep.target?.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP\n ? unanswerableGenerationStep.target.generationStepRef : undefined;\n this.logger.warn?.(\n (deferredStepRef === ApplicationBuildGenerationStep.DESIGN_TOKENS\n ? 'Build dispatch passed over the design-tokens step: `wildo design-tokens validate` neither confirmed nor refuted '\n + 'the stylesheet block (a design-system config that does not load, a stylesheet with no design-token markers, '\n + 'or a CLI that could not start or timed out — run `wildo design-tokens validate` to see which).'\n : deferredStepRef === ApplicationBuildGenerationStep.DESIGN_SYSTEM_BRAND\n ? 'Build dispatch passed over the design-system-brand step: the brand\\'s visual tone could not be read (a '\n + 'specifications package that does not evaluate, or a host without introspection — run '\n + '`wildo context info brand-visual-tone` to see which).'\n // #2694: before, this step owed nothing on an unreadable brand, so it was never passed over and had no words here.\n : deferredStepRef === ApplicationBuildGenerationStep.DISPLAY_NAME\n ? 'Build dispatch passed over the display-name step: the brand could not be read, so whether the application owes '\n + 'its name is unknown (the specifications package did not load; the step\\'s build-task record names the error).'\n : 'Build dispatch passed over a migration step whose `wildo db diff --check` neither passed nor reported drift '\n + '(no accepted schema plan, no built backend registry, a CLI that could not import or spawn, a timeout, an '\n + 'unparseable lockfile, or an engine planner-contract mismatch — run `wildo db diff` to see which).')\n + ' The rest of the plan proceeds; the step is offered again once the check answers.',\n { deferredTaskRef: unanswerableGenerationStep.taskRef, selectedTaskRef: selected?.taskRef },\n );\n }\n if (selected === undefined) {\n /*\n * Everything ready has already run and none of it landed. A DISTINCT terminal from\n * `ApplicationBuildPlanExhaustedError`, which means the opposite and is healthy — conflating\n * them would let a wholly stuck build read as a finished one.\n */\n throw this.buildUnlandableTaskError(stuck, {\n taskCount: graph.tasks.length,\n readyTaskRefs: ready.map((entry) => entry.taskRef),\n landedTaskRefs: [...landedTaskRefs].sort(),\n unverifiableLandedTaskRefs: resolution.unverifiableLandedTaskRefs,\n });\n }\n // A task being built right now is not a finding (#1528); only the rest are worth a warning.\n if (stuck.some((entry) => entry.reason !== Workbench_BuildTaskStuckReason.IN_FLIGHT)) {\n const stuckByReason = Object.fromEntries(\n Object.values(Workbench_BuildTaskStuckReason).map((reason) => [reason, stuck.filter((entry) => entry.reason === reason).map((entry) => entry.taskRef)]),\n );\n this.logger.warn?.(\n `Build dispatch skipped ${stuck.length} ready task(s) that cannot make progress. Those that already RAN `\n + 'either wrote their product without committing it (commit it to land them) or declared a product the '\n + 'run did not produce (the declaration or the work is wrong). Those that are '\n + 'PARKED are waiting on an answer, and re-dispatching one would abandon its persisted session. Their '\n + 'dependents stay blocked while the rest of the plan proceeds.',\n { skippedTaskRefs: stuck.map((entry) => entry.taskRef), stuckByReason, selectedTaskRef: selected.taskRef },\n );\n }\n const task = selected;\n if (task.target?.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP) {\n // The step's write scope, from the one place that computes it: its evidence directories, or exactly its evidence\n // files when other writers share the directories around them (`GENERATION_STEP_WRITE_SCOPE`, #2358, #2505 review F2;\n // see `resolveGenerationStepWritableRoots`).\n const evidenceRoots = await this.generationSteps.resolveGenerationStepWritableRoots(task);\n const plan: ApplicationBuildDispatchPlan = {\n taskRef: task.taskRef,\n objective: task.objective,\n targetKind: task.target.kind,\n produces: task.produces,\n generationStepRef: task.target.generationStepRef,\n allowedPathPrefixes: evidenceRoots,\n prohibitedPathPrefixes: [],\n // The pipelines validate their own output; skills are a coding agent's channel, not this executor's.\n requiredChecks: [],\n installedSkillRefs: [],\n readyTaskRefs: ready.map((entry) => entry.taskRef),\n landedTaskRefs: [...landedTaskRefs].sort(),\n unverifiableLandedTaskRefs: resolution.unverifiableLandedTaskRefs,\n };\n return { kind: 'GENERATION_STEP', plan, task, stuckTasks: stuck, ...(task === forced && selection?.despiteLanded ? { landedOverride: selection.despiteLanded } : {}) };\n }\n const boundary = resolveBuildPlanTaskCodingPolicy(\n task as Parameters<typeof resolveBuildPlanTaskCodingPolicy>[0],\n this.readApplicationWorkspaceEntries(),\n );\n const landedOverride = task === forced ? selection?.despiteLanded : undefined;\n const contract = await this.composeTaskCodingContract(task, boundary, graph.tasks.length, landedOverride);\n\n const plan: ApplicationBuildDispatchPlan = {\n taskRef: task.taskRef,\n objective: task.objective,\n targetKind: task.target!.kind,\n produces: task.produces,\n allowedPathPrefixes: contract.mutationScope.allowedPathPrefixes,\n prohibitedPathPrefixes: contract.mutationScope.prohibitedPathPrefixes,\n requiredChecks: contract.verificationIntent.requiredChecks,\n installedSkillRefs: contract.installedSkillRefs,\n readyTaskRefs: ready.map((entry) => entry.taskRef),\n landedTaskRefs: [...landedTaskRefs].sort(),\n unverifiableLandedTaskRefs: resolution.unverifiableLandedTaskRefs,\n };\n\n return { kind: 'CODING', plan, contract, stuckTasks: stuck, ...(landedOverride ? { landedOverride } : {}) };\n }\n\n /**\n * Which tasks have landed, read from GIT.\n *\n * A task has landed when every file it PRODUCES is committed — tracked, and with HEAD, index and worktree\n * in agreement. Not \"the file exists\": an untracked or half-edited file is work in progress, and treating\n * it as landed would let the next task build on something nobody accepted.\n *\n * This replaced a replay of a journal stream that had no writer anywhere, so the answer was permanently\n * \"nothing has landed\" and the loop could never advance past its first task. Git also answers correctly\n * after a restart, on a fresh clone, and on the other side of a branch switch — none of which an\n * in-memory journal can.\n */\n /**\n * How far the current build plan's execution has progressed — the eligibility board's input for the\n * \"plan complete ⇒ re-decompose is sequencing, not a live option\" gate. `undefined` when the\n * application has no (valid) build plan: absence of a plan is not zero-of-zero progress.\n */\n public async resolveBuildExecutionProgress(): Promise<{\n readonly totalTasks: number;\n readonly landedTasks: number;\n readonly readyTasksAllStuck?: readonly string[];\n } | undefined> {\n let plan: Awaited<ReturnType<typeof this.readBuildPlan>>;\n try {\n plan = await this.readBuildPlan();\n } catch {\n return undefined;\n }\n const { landed } = await this.resolveLandedTaskRefs(plan.tasks);\n const progress = { totalTasks: plan.tasks.length, landedTasks: landed.size };\n const readyTasksAllStuck = await this.resolveReadyTasksAllStuck(plan, landed);\n return readyTasksAllStuck === undefined ? progress : { ...progress, readyTasksAllStuck };\n }\n\n /**\n * The ready tasks, when EVERY one is stuck — the state in which `dispatchNextBuildTask` refuses\n * before starting anything (#1547). The eligibility board withholds the dispatch playbook on it, so an\n * unattended loop stops offering a run that can only fail.\n *\n * Asked with the SAME classification the selector uses, so the board and the dispatcher cannot\n * disagree about whether anything can run. A generation step is never stuck by that classification,\n * so a ready one means something is dispatchable. Undefined whenever the answer is not positively\n * \"all stuck\" — nothing ready, something dispatchable, or a classification that threw — because a gate\n * that closes on an unreadable answer withholds work that may well be runnable.\n */\n private async resolveReadyTasksAllStuck(\n plan: Awaited<ReturnType<typeof this.readBuildPlan>>,\n landed: ReadonlySet<string>,\n ): Promise<readonly string[] | undefined> {\n if (landed.size >= plan.tasks.length) return undefined;\n const ready = selectReadyBuildPlanTasks(plan, landed);\n if (ready.length === 0) return undefined;\n const stuck: string[] = [];\n for (const task of ready) {\n if (task.target?.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP) return undefined;\n let entry: ApplicationBuildStuckTask | null;\n try {\n entry = await this.classifyStuckBuildTask(task);\n } catch {\n return undefined;\n }\n // A task being built right now is progress, not stuck: the plan is not blocked while a wave runs.\n if (entry === null || entry.reason === Workbench_BuildTaskStuckReason.IN_FLIGHT) return undefined;\n stuck.push(task.taskRef);\n }\n return stuck;\n }\n\n /**\n * What LANDED, and what of it was PROVEN — the maturity reading's evidence input (#1496).\n *\n * Exposed here rather than recomputed by the reading, because \"did this task land\" is a question\n * about committed bytes that this service already answers, and a second implementation of it is\n * how two surfaces come to disagree about whether a task is done.\n *\n * The two sets differ by `unverifiableLandedTaskRefs`: a task that declares no product cannot be\n * probed, so a completed durable run lands it as RAN-not-PROVEN rather than stalling the queue\n * (`application-creation-directive.md` — mark, never gate). A requirement whose only build work is\n * such a task stops at `BUILT`, which is the honest reading of it.\n *\n * `undefined` when the application has no build plan OR its plan cannot be read — absence is not\n * an empty landing, and a reading that treated it as one would report every requirement as unbuilt\n * for a reason that has nothing to do with the requirements.\n *\n * Absence is tested DIRECTLY, like `describeBuildPlanBoard` beside it and for its reason:\n * `readBuildPlan` throws the same class for a plan that exists and fails validation, so catching\n * alone would flatten \"could not look\" into \"nothing there\" — and here that difference is a\n * landed artifact saying an application has built nothing.\n */\n public async resolveLandedTaskEvidence(): Promise<{ readonly landedTaskRefs: readonly string[]; readonly provenTaskRefs: readonly string[] } | undefined> {\n if (!(await this.hasAuthoredBuildPlan())) return undefined;\n let plan: Awaited<ReturnType<typeof this.readBuildPlan>>;\n try {\n plan = await this.readBuildPlan();\n } catch {\n return undefined;\n }\n const resolution = await this.resolveLandedTaskRefs(plan.tasks);\n const unverifiable = new Set(resolution.unverifiableLandedTaskRefs);\n const landedTaskRefs = [...resolution.landed];\n return { landedTaskRefs, provenTaskRefs: landedTaskRefs.filter((taskRef) => !unverifiable.has(taskRef)) };\n }\n\n /**\n * The per-task build record an operator or an agent reads in ONE call (#1521).\n *\n * Composed entirely from what already exists — the plan, the landing resolution, the actor plane's\n * execution rows, and the stuck classification the selector uses — and stored nowhere. A second\n * ledger of attempts would be a second answer to \"what happened to this task\", and the rows the\n * engine already writes are the first.\n *\n * `undefined` when the application has no build plan, for the reason `resolveLandedTaskEvidence`\n * gives: absence is not an empty build.\n */\n /**\n * Put a build task back in the queue after the reason it did not land was fixed (#1535). The ref must\n * be a task of THIS build plan: re-arming a ref the plan does not carry would record a decision about\n * nothing, and a typo would read as success.\n */\n public async rearmBuildTask(\n taskRef: string,\n request: { readonly reason: BuildTaskRearmReason; readonly note: string },\n session?: CompanionExecutionSessionContext,\n ): Promise<{ readonly rearmedRunTaskIds: readonly string[]; readonly rearm: BuildTaskRearm }> {\n const plan = await this.readBuildPlan();\n if (!plan.tasks.some((task) => task.taskRef === taskRef)) {\n throw new NothingToRearmError(`\"${taskRef}\" is not a task of this application's build plan, so there is nothing to re-arm.`);\n }\n return this.dispatch.rearmBuildTask(taskRef, request, session);\n }\n\n /**\n * Where a task's landing was found: its probes' paths, or a generation step's evidence paths. Empty for a probe\n * that names no fixed file (a shell surface, a schema-plan state) — the record then says \"found\" without a place\n * rather than inventing one.\n */\n private async resolveLandedEvidencePaths(task: BuildPlanTask): Promise<readonly string[]> {\n if (task.target?.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP) {\n const condition = await this.generationSteps.resolveGenerationStepLandedCondition(task);\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.COMMITTED_PATHS) return [...condition.paths];\n // Found in the stylesheet: it is committed and its block is current.\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.DESIGN_TOKEN_BLOCK_CURRENT) return [condition.stylesheetPath];\n // Found in the generated modules: each is committed and says what the brand's visual tone renders.\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.BRAND_DESIGN_CURRENT) return [...condition.modulePaths];\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.ACCEPTED_BRAND_MARK) return [condition.modulePath];\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.ENGINE_CAPABILITIES_ENABLED) return [condition.configPath];\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.LABEL_PLAN_INCOMPLETE) return [];\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.BRAND_UNREADABLE) return [];\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.LANDED_PROBES) {\n const candidates = [...new Set(condition.probes.flatMap(landedProbePaths))];\n const committed = await this.git.selectCommittedPaths(candidates);\n return candidates.filter((path) => committed.has(path));\n }\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.DISPLAY_NAME_APPLIED) return [condition.configPath];\n return [];\n }\n // Only the paths that ARE committed: a label probe reads one candidate per language, and naming the dozens\n // that do not exist would say the product was found in files that are not there.\n const candidates = [...new Set(resolveBuildTaskLandedProbes(task).flatMap(landedProbePaths))];\n const committed = await this.git.selectCommittedPaths(candidates);\n return candidates.filter((path) => committed.has(path));\n }\n\n public async describeBuildTaskRecords(session?: CompanionExecutionSessionContext): Promise<ApplicationBuildTaskRecords | undefined> {\n if (!(await this.hasAuthoredBuildPlan())) return undefined;\n const plan = await this.readBuildPlan();\n // One introspection of the live application for the whole read: the landing pass and both trees' explanations.\n const witnesses = this.createIntrospectionWitnesses();\n const resolution = await this.resolveLandedTaskRefs(plan.tasks, witnesses);\n const ready = new Set(selectReadyBuildPlanTasks(plan, resolution.landed).map((task) => task.taskRef));\n const unverifiable = new Set(resolution.unverifiableLandedTaskRefs);\n\n // Not parsed through the route's query schema, whose 200 is the HTTP request's bound: in-process the listing pages.\n const listed = await Promise.all([APPLICATION_CODING_SYSTEM_REF, APPLICATION_BUILD_SYSTEM_REF].map((systemRef) =>\n this.executions.listActorExecutions({ systemRef, limit: BUILD_TASK_RECORD_HISTORY_CEILING }, session)));\n const attemptsTruncated = listed.some((page) => page.length >= BUILD_TASK_RECORD_HISTORY_CEILING);\n const attemptsByTask = new Map<string, ApplicationBuildTaskAttempt[]>();\n for (const projected of listed.flat().map(projectBuildTaskAttempt)) {\n if (projected === null) continue;\n const list = attemptsByTask.get(projected.taskRef) ?? [];\n list.push(projected.attempt);\n attemptsByTask.set(projected.taskRef, list);\n }\n for (const list of attemptsByTask.values()) list.sort((left, right) => right.startedAt.localeCompare(left.startedAt));\n\n const committedTree = this.createCommittedTreeReader(witnesses);\n const worktree = this.createWorktreeReader(witnesses);\n const records: ApplicationBuildTaskRecord[] = [];\n for (const task of plan.tasks) {\n const attempts = attemptsByTask.get(task.taskRef) ?? [];\n const landed = resolution.landed.has(task.taskRef);\n const status = landed ? WorkbenchBuildPlanTaskStatus.LANDED\n : ready.has(task.taskRef) ? WorkbenchBuildPlanTaskStatus.READY\n : WorkbenchBuildPlanTaskStatus.BLOCKED;\n const isGenerationStep = task.target?.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP;\n /*\n * A generation step is not classified like a coding task (its landing is a typed condition of its own), with one\n * exception the selection makes too: a step running now is IN_FLIGHT, so the page offers no second run of it\n * (#2531 review M2).\n */\n /* A running generation step's progress, read once: it is both the record's `progress` and the proof it is live. */\n const progress = isGenerationStep ? this.generationSteps.readGenerationStepProgress(task.taskRef) : undefined;\n const stuck = status !== WorkbenchBuildPlanTaskStatus.READY ? null\n : !isGenerationStep ? await this.classifyStuckBuildTask(task)\n : progress !== undefined ? { taskRef: task.taskRef, priorTaskId: '', reason: Workbench_BuildTaskStuckReason.IN_FLIGHT }\n : null;\n /*\n * A step the scheduler PASSES OVER because its landing check could not be answered reports that state before it\n * ever ran (#2531 review L6): without it the step read as plainly ready while every dispatch went past it.\n */\n const passedOverUnanswerable = isGenerationStep && resolution.unanswerableGenerationStepTaskRefs.has(task.taskRef);\n let unmetProbes: ApplicationBuildTaskUnmetProbe[] | undefined;\n let schemaPlanSyncState: SchemaPlanSyncState | undefined;\n let designTokenBlockState: DesignTokenBlockState | undefined;\n let brandDesignState: BrandDesignState | undefined;\n let landingBlockedBy: string | undefined;\n // The condition the landing pass already resolved; resolved again only for a step it did not see.\n const generationStepCondition = !landed && isGenerationStep\n ? resolution.generationStepConditions.get(task.taskRef) ?? await this.generationSteps.resolveGenerationStepLandedCondition(task)\n : undefined;\n // Named whether or not the step has run (#2504): a labels plan that hides owed units blocks it before its first attempt,\n // and so does a brand nobody could read (#2694).\n if (generationStepCondition?.kind === ApplicationBuildGenerationStepLandedKind.LABEL_PLAN_INCOMPLETE\n || generationStepCondition?.kind === ApplicationBuildGenerationStepLandedKind.BRAND_UNREADABLE) landingBlockedBy = generationStepCondition.detail;\n if (!landed && (attempts.some(isCountedBuildTaskAttempt) || passedOverUnanswerable)) {\n if (isGenerationStep && generationStepCondition !== undefined) {\n const condition = generationStepCondition;\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.SCHEMA_PLAN_IN_SYNC) {\n schemaPlanSyncState = await this.generationSteps.readSchemaPlanSyncState();\n } else if (condition.kind === ApplicationBuildGenerationStepLandedKind.DESIGN_TOKEN_BLOCK_CURRENT) {\n /*\n * Either half can be what is missing, and they have different remedies: an uncommitted\n * stylesheet is an acceptance question (commit it), a stale or unanswerable block is a\n * regeneration or configuration question. Both are reported, never a bare \"not landed\".\n */\n const blockState = await this.generationSteps.readDesignTokenBlockState();\n if (blockState !== DesignTokenBlockState.CURRENT) designTokenBlockState = blockState;\n unmetProbes = [];\n const probe: BuildPlanTaskLandedProbe = { kind: BuildPlanTaskLandedProbeKind.COMMITTED_FILE, path: condition.stylesheetPath };\n if (!(await this.isLandedProbeSatisfied(probe, committedTree))) {\n unmetProbes.push({ probe, satisfiedInWorkingTree: await this.isLandedProbeSatisfied(probe, worktree) });\n }\n } else if (condition.kind === ApplicationBuildGenerationStepLandedKind.BRAND_DESIGN_CURRENT) {\n // The same two halves as the stylesheet: commit it, or regenerate it (a stale module) / repair the\n // brand specification (an unanswerable one).\n const designState = await this.generationSteps.readBrandDesignState();\n if (designState !== BrandDesignState.CURRENT) brandDesignState = designState;\n unmetProbes = [];\n // Each generated module: the frontend's, and the website's when one is declared (#2597).\n for (const modulePath of condition.modulePaths) {\n const probe: BuildPlanTaskLandedProbe = { kind: BuildPlanTaskLandedProbeKind.COMMITTED_FILE, path: modulePath };\n if (!(await this.isLandedProbeSatisfied(probe, committedTree))) {\n unmetProbes.push({ probe, satisfiedInWorkingTree: await this.isLandedProbeSatisfied(probe, worktree) });\n }\n }\n } else if (condition.kind === ApplicationBuildGenerationStepLandedKind.NOT_OWED) {\n // Unreachable while NOT_OWED always lands, and stated rather than read as \"no unmet probe\".\n unmetProbes = [];\n } else if (condition.kind === ApplicationBuildGenerationStepLandedKind.ACCEPTED_BRAND_MARK) {\n // What is missing is a MASTER asset in the module, not the module (the scaffold commits it): say that (#2410).\n unmetProbes = [{\n probe: {\n kind: BuildPlanTaskLandedProbeKind.COMMITTED_FILE_DECLARES,\n path: condition.modulePath,\n declarations: [`BrandAssetPurpose.${BrandAssetPurpose.MASTER}`],\n site: { relation: ProductDeclarationRelation.SET },\n },\n satisfiedInWorkingTree: await this.readsAcceptedBrandMark(condition.modulePath, worktree),\n }];\n } else if (condition.kind === ApplicationBuildGenerationStepLandedKind.DISPLAY_NAME_APPLIED) {\n unmetProbes = [{\n probe: {\n kind: BuildPlanTaskLandedProbeKind.COMMITTED_FILE_DECLARES,\n path: condition.configPath,\n declarations: [`displayName: ${JSON.stringify(condition.displayName)}`],\n site: { relation: ProductDeclarationRelation.SET },\n },\n satisfiedInWorkingTree: await this.displayNameApplied(condition, worktree).catch(() => false),\n }];\n } else if (condition.kind === ApplicationBuildGenerationStepLandedKind.LABEL_PLAN_INCOMPLETE\n || condition.kind === ApplicationBuildGenerationStepLandedKind.BRAND_UNREADABLE) {\n // Nothing a file can satisfy: the plan itself is partial (#2504), or the brand could not be read (#2694). Its\n // cause rides on the record.\n unmetProbes = [];\n } else if (condition.kind === ApplicationBuildGenerationStepLandedKind.LANDED_PROBES) {\n unmetProbes = [];\n for (const probe of condition.probes) {\n if (await this.isLandedProbeSatisfied(probe, committedTree)) continue;\n unmetProbes.push({ probe, satisfiedInWorkingTree: await this.isLandedProbeSatisfied(probe, worktree) });\n }\n } else if (condition.kind === ApplicationBuildGenerationStepLandedKind.ENGINE_CAPABILITIES_ENABLED) {\n // One unmet probe per capability the committed configuration does not enable (#2497). The working tree is\n // read best-effort: a configuration mid-edit that does not parse must not fail the whole records read.\n const notInWorktree = new Set(await this.capabilitiesNotEnabledIn(condition, worktree).catch(() => condition.capabilities));\n unmetProbes = (await this.capabilitiesNotEnabledIn(condition, committedTree)).map((capability) => ({\n probe: {\n kind: BuildPlanTaskLandedProbeKind.COMMITTED_FILE_DECLARES,\n path: condition.configPath,\n // The condition is ENABLED, not declared: the scaffold declares most capabilities as `enabled: false`.\n declarations: [`[EngineCapability.${capability}]: { enabled: true }`],\n site: { relation: ProductDeclarationRelation.SET },\n },\n satisfiedInWorkingTree: !notInWorktree.has(capability),\n }));\n } else {\n unmetProbes = [];\n for (const path of condition.paths) {\n const probe: BuildPlanTaskLandedProbe = { kind: BuildPlanTaskLandedProbeKind.COMMITTED_FILE, path };\n if (await this.isLandedProbeSatisfied(probe, committedTree)) continue;\n unmetProbes.push({ probe, satisfiedInWorkingTree: await this.isLandedProbeSatisfied(probe, worktree) });\n }\n }\n } else {\n unmetProbes = [];\n for (const probe of resolveBuildTaskLandedProbes(task)) {\n if (await this.isLandedProbeSatisfied(probe, committedTree)) continue;\n unmetProbes.push({\n probe,\n satisfiedInWorkingTree: await this.isLandedProbeSatisfied(probe, worktree),\n ...(isShellProbe(probe) ? { shell: await this.explainShellProbe(probe, committedTree) } : {}),\n ...(isAgentWorkProbe(probe) ? { registered: await this.explainAgentWorkProbe(probe, committedTree) } : {}),\n });\n }\n }\n }\n const waitingOn = status === WorkbenchBuildPlanTaskStatus.BLOCKED\n ? task.prerequisiteTaskRefs.filter((prerequisite) => !resolution.landed.has(prerequisite)) : undefined;\n // A refused dispatch started nothing, so it does not make the landing the task's own (#1581). Never asserted\n // on a TRUNCATED listing: an early task's runs may be the ones the page cap dropped, and \"never run\" would be\n // false — and an invitation to pay for a re-run (#2217 review).\n const landedBeforeAnyRun = landed && !attemptsTruncated && !attempts.some(isCountedBuildTaskAttempt)\n ? { probedPaths: await this.resolveLandedEvidencePaths(task) } : undefined;\n const followUpTaskRefs = plan.tasks\n .filter((candidate) => candidate.taskRef.startsWith(HOST_DERIVED_FOLLOW_UP_TASK_REF_PREFIX) && candidate.prerequisiteTaskRefs[0] === task.taskRef)\n .map((candidate) => candidate.taskRef);\n records.push({\n taskRef: task.taskRef,\n targetKind: String(task.target?.kind ?? ''),\n status,\n ...(followUpTaskRefs.length > 0 ? { followUpTaskRefs } : {}),\n ...(task.taskRef.startsWith(HOST_DERIVED_FOLLOW_UP_TASK_REF_PREFIX) && task.prerequisiteTaskRefs[0] !== undefined ? { followUpOf: task.prerequisiteTaskRefs[0] } : {}),\n attempts,\n ...(stuck !== null ? { stuck } : {}),\n ...(unmetProbes !== undefined ? { unmetProbes } : {}),\n ...(schemaPlanSyncState !== undefined ? { schemaPlanSyncState } : {}),\n ...(designTokenBlockState !== undefined ? { designTokenBlockState } : {}),\n ...(brandDesignState !== undefined ? { brandDesignState } : {}),\n ...(landingBlockedBy !== undefined ? { landingBlockedBy } : {}),\n ...(waitingOn !== undefined ? { waitingOn } : {}),\n ...(landed && unverifiable.has(task.taskRef) ? { unverifiable: true } : {}),\n ...(landedBeforeAnyRun !== undefined ? { landedBeforeAnyRun } : {}),\n ...(progress !== undefined ? { progress } : {}),\n });\n }\n\n const stuckByReason = Object.fromEntries(\n Object.values(Workbench_BuildTaskStuckReason).map((reason) => [reason, records.filter((record) => record.stuck?.reason === reason).length]),\n ) as Record<Workbench_BuildTaskStuckReason, number>;\n const notLanded = records.filter((record) => record.status !== WorkbenchBuildPlanTaskStatus.LANDED);\n // A dispatch refused before it started is shown in its task's history and counted by no figure below (#1581).\n const started = (record: ApplicationBuildTaskRecord) => record.attempts.filter(isCountedBuildTaskAttempt);\n const unavailableRuntimes = await readUnavailableApplicationRuntimes(this.companionContext.saasRoot);\n /*\n * The candidates for a break, from every attempt the records hold (#2405 review F3), not only one wave's: a run that\n * settled at the end of one wave breaks the start the NEXT wave meets.\n */\n const bootFailures: ApplicationBuildRecordsBootFailure[] = (await this.readCurrentBootFailures()).map((failure) => ({\n ...failure,\n candidateTaskRefs: failure.lastStartedAt === null ? [] : records\n .filter((record) => record.attempts.some((attempt) => attempt.status === FlowsActors_Status.COMPLETED\n // No upper bound (#2405 re-review R1): the watcher restarts the backend on working-tree writes, so the start\n // usually fails while the breaking run is still running its checks, and that run settles AFTER the failure.\n && attempt.settledAt !== undefined && attempt.settledAt > failure.lastStartedAt!))\n .map((record) => record.taskRef),\n }));\n return {\n tasks: records,\n summary: {\n taskCount: records.length,\n landed: records.length - notLanded.length,\n landedBeforeAnyRun: records.filter((record) => record.landedBeforeAnyRun !== undefined).length,\n blocked: records.filter((record) => record.status === WorkbenchBuildPlanTaskStatus.BLOCKED).length,\n readyNeverAttempted: records.filter((record) => record.status === WorkbenchBuildPlanTaskStatus.READY && started(record).length === 0).length,\n readyToRetry: records.filter((record) => record.status === WorkbenchBuildPlanTaskStatus.READY && started(record).length > 0 && !record.stuck).length,\n stuckByReason,\n attempts: records.reduce((total, record) => total + started(record).length, 0),\n completedAttemptsWithoutLanding: notLanded.reduce(\n (total, record) => total + record.attempts.filter((attempt) => attempt.status === FlowsActors_Status.COMPLETED).length, 0),\n repeatedlyAttemptedWithoutLanding: notLanded.filter((record) => started(record).length > 1).map((record) => record.taskRef),\n spend: deriveBuildSpend(records),\n parallelism: {\n degree: readBuildParallelism(this.companionContext.saasRoot),\n overlappingAttempts: records.reduce((total, record) => total + record.attempts.filter((attempt) => attempt.concurrency !== undefined).length, 0),\n interferenceSuspectedAttempts: records.reduce((total, record) => total + record.attempts.filter((attempt) => attempt.interferenceSuspected === true).length, 0),\n interferedCompletedAttempts: records.reduce((total, record) => total + record.attempts.filter((attempt) => attempt.interference !== undefined).length, 0),\n contendedPaths: [...new Set(records.flatMap((record) => record.attempts.flatMap((attempt) => attempt.concurrency?.contendedPaths ?? [])))].sort(),\n },\n },\n attemptsTruncated,\n ...(unavailableRuntimes === undefined ? {} : { unavailableRuntimes }),\n ...(bootFailures.length > 0 ? { bootFailures } : {}),\n repairsOwed: deriveRepairsOwed(attemptsByTask),\n };\n }\n\n /**\n * Every build-plan task in the DISPATCH view — the creation board's `workbenchBuildPlanTasks`\n * rows (`workbench-creation-board-resources.md`, Phase 2).\n *\n * `status` is computed per read, never stored: `landed` = the task's evidence paths are all\n * committed (the same resolution the dispatcher itself selects by), `ready` = every prerequisite\n * landed and it has not, `blocked` = otherwise. Exactly one holds.\n *\n * An application with NO authored build plan answers ZERO TASKS rather than throwing: the plan\n * file legitimately does not exist until build-decompose runs, so \"nothing there yet\" is the\n * true answer. Absence is tested DIRECTLY (the exports carry no `buildPlanSpecification`) rather\n * than by catching `ApplicationBuildPlanUnavailableError`, because `readBuildPlan` throws that\n * SAME class for a plan that exists and fails schema or semantic validation — and flattening an\n * invalid plan into an empty board would be \"could not look\" wearing \"nothing there\".\n */\n public async describeBuildPlanBoard(): Promise<readonly {\n readonly taskRef: string;\n readonly objective: string;\n readonly targetKind: string;\n readonly functionalTopic: string;\n readonly status: WorkbenchBuildPlanTaskStatus;\n readonly prerequisiteTaskRefs: readonly string[];\n }[]> {\n if (!(await this.hasAuthoredBuildPlan())) return [];\n\n const plan = await this.readBuildPlan();\n const { landed } = await this.resolveLandedTaskRefs(plan.tasks);\n const ready = new Set(selectReadyBuildPlanTasks(plan, landed).map((task) => task.taskRef));\n return plan.tasks.map((task) => ({\n taskRef: task.taskRef,\n objective: task.objective,\n targetKind: String(task.target?.kind ?? ''),\n functionalTopic: String(task.functionalTopic),\n status: landed.has(task.taskRef) ? WorkbenchBuildPlanTaskStatus.LANDED\n : ready.has(task.taskRef) ? WorkbenchBuildPlanTaskStatus.READY\n : WorkbenchBuildPlanTaskStatus.BLOCKED,\n prerequisiteTaskRefs: task.prerequisiteTaskRefs,\n }));\n }\n\n /**\n * What ONE landing resolution found — returned rather than parked on the instance.\n *\n * These two were fields (`lastUnverifiableLandedTaskRefs`, `lastUnanswerableSchemaPlanTaskRefs`),\n * written as the probe's last statement and read by its caller one microtask later. The service is\n * a singleton in a process serving concurrent requests and the probe is spawn-heavy, so two\n * in-flight resolutions interleave at every await and the caller could read the OTHER pass's\n * answer — a requirement dropping from VERIFIED to BUILT because a workbench poll landed between\n * two lines. Returning them makes each caller's answer its own by construction (#1496's review).\n */\n private async resolveLandedTaskRefs(tasks: readonly BuildPlanTask[], witnesses: IntrospectionWitnesses = this.createIntrospectionWitnesses()): Promise<LandedTaskResolution> {\n const landed = new Set<string>();\n const unverifiable = new Set<string>();\n const unanswerable = new Set<string>();\n const committedTree = this.createCommittedTreeReader(witnesses);\n /*\n * Ask git ONCE for the whole plan's probe paths, before the per-task loop asks for them one at a\n * time. Each `isCommitted` costs an `ls-files` + `status` PAIR of subprocesses, and a plan's\n * probes run to hundreds of distinct paths — so this loop was the companion's dominant cost and,\n * because a spawn storm starves the event loop, the reason `/health/ready` stopped answering\n * inside the ten seconds the workbench allows it (see `selectCommittedPaths`, which records the\n * measurement and the repo-root-prefix trap it contains).\n *\n * Only `COMMITTED_FILE` probes, because they are the only kind that asks `isCommitted` — the two\n * DECLARES kinds answer from `readText` instead, and priming their paths would ask git a question\n * whose answer is then discarded. It would be harmless and free inside the batch, which is\n * exactly why it has to be deliberate rather than convenient: it would also silently widen what\n * `application-build-dispatch-landing-path-reuse` measures.\n *\n * Generation-step conditions ARE gathered, by resolving them once into a map the loop then reads.\n * \"They are few, and they still resolve per path\" was true of the TASKS and wrong about the\n * PATHS: the i18n steps' evidence is `planner units x their locales`, so three generation-step\n * tasks expanded to seventeen `status --porcelain` spawns per resolution — measured at the spawn\n * site 2026-09-22, where they were the largest source left after the probe paths were batched.\n * Resolving the condition here rather than inside the loop is what lets them join the same batch\n * without asking for each condition twice.\n */\n const generationStepConditions = new Map<string, ApplicationBuildGenerationStepLandedCondition>();\n for (const task of tasks) {\n if (task.target?.kind !== BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP) continue;\n generationStepConditions.set(task.taskRef, await this.generationSteps.resolveGenerationStepLandedCondition(task));\n }\n await committedTree.primeCommitted([\n ...tasks.flatMap((task) => resolveBuildTaskLandedProbes(task)\n .filter((probe) => probe.kind === BuildPlanTaskLandedProbeKind.COMMITTED_FILE)\n .flatMap(landedProbePaths)),\n ...[...generationStepConditions.values()].flatMap((condition) => (\n condition.kind === ApplicationBuildGenerationStepLandedKind.COMMITTED_PATHS ? condition.paths\n : condition.kind === ApplicationBuildGenerationStepLandedKind.DESIGN_TOKEN_BLOCK_CURRENT ? [condition.stylesheetPath]\n : condition.kind === ApplicationBuildGenerationStepLandedKind.BRAND_DESIGN_CURRENT ? condition.modulePaths\n : []\n )),\n ...[...generationStepConditions.values()].flatMap((condition) => (\n condition.kind === ApplicationBuildGenerationStepLandedKind.LANDED_PROBES\n ? condition.probes.filter((probe) => probe.kind === BuildPlanTaskLandedProbeKind.COMMITTED_FILE).flatMap(landedProbePaths)\n : []\n )),\n ]);\n /*\n * And ONE `cat-file --batch` for every path whose committed TEXT a DECLARES probe will read,\n * rather than a `git show` each. Measured at the spawn site 2026-09-22, these were 20 of 45\n * spawns in a ten-second window — four distinct paths, re-read once per resolution.\n *\n * `ANY_COMMITTED_FILE_DECLARES` short-circuits, so this reads candidates the lazy route might\n * have skipped. That is deliberate and it is not a cost: the whole set rides one subprocess, and\n * the bytes are the same bytes. What it buys is that the count no longer depends on which\n * candidate happened to satisfy the probe first.\n */\n await committedTree.primeTexts([\n ...tasks.flatMap((task) => resolveBuildTaskLandedProbes(task)\n .filter((probe) => probe.kind !== BuildPlanTaskLandedProbeKind.COMMITTED_FILE)\n .flatMap(landedProbePaths)),\n // The engine-capabilities step reads the committed configuration's text (#2497): one batch, not its own spawn.\n ...[...generationStepConditions.values()].flatMap((condition) => (\n condition.kind === ApplicationBuildGenerationStepLandedKind.LANDED_PROBES\n ? condition.probes.filter((probe) => probe.kind !== BuildPlanTaskLandedProbeKind.COMMITTED_FILE).flatMap(landedProbePaths)\n : []\n )),\n ...[...generationStepConditions.values()].flatMap((condition) => (\n condition.kind === ApplicationBuildGenerationStepLandedKind.ENGINE_CAPABILITIES_ENABLED\n || condition.kind === ApplicationBuildGenerationStepLandedKind.DISPLAY_NAME_APPLIED ? [condition.configPath] : []\n )),\n ]);\n for (const task of tasks) {\n if (task.target?.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP) {\n /*\n * A generation step declares HOW it proves it landed, because not every step proves it with\n * files. Most name the exact unit files their pipelines write (see that service's JSDoc for\n * why a directory prefix would be dishonest). The migration step cannot — its artifact is\n * `backend-api/migrations/<timestamp>_<name>/migration.sql` and the timestamp is minted\n * during the run — so it lands on the STATE it exists to reach instead.\n *\n * Read the condition, never the evidence paths: for the migration step those name the\n * accepted lockfile, which predates the step, so landing on it would pass having verified\n * nothing.\n */\n // Resolved ONCE above, so its paths could join the batch; reading it again here would ask the\n // generation-step service the same question twice per resolution.\n const condition = generationStepConditions.get(task.taskRef)\n ?? await this.generationSteps.resolveGenerationStepLandedCondition(task);\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.SCHEMA_PLAN_IN_SYNC) {\n const syncState = await this.generationSteps.readSchemaPlanSyncState();\n if (syncState === SchemaPlanSyncState.IN_SYNC) landed.add(task.taskRef);\n else if (syncState === SchemaPlanSyncState.UNANSWERABLE) unanswerable.add(task.taskRef);\n continue;\n }\n // The application owes this step nothing (a translation step on a one-locale app): landed, or it\n // would sit at the head of the queue forever on an evidence list that is empty by construction.\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.NOT_OWED) {\n landed.add(task.taskRef);\n continue;\n }\n /*\n * The `design-tokens` step: the stylesheet is committed AND its block is current. The block check\n * is asked even when the stylesheet is uncommitted, because an UNANSWERABLE answer (a config that\n * does not load, a CLI that is absent) is what tells the selector to pass the step over rather than\n * run a `generate` that would fail the same way.\n */\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.DESIGN_TOKEN_BLOCK_CURRENT) {\n const blockState = await this.generationSteps.readDesignTokenBlockState();\n if (blockState === DesignTokenBlockState.UNANSWERABLE) unanswerable.add(task.taskRef);\n else if (blockState === DesignTokenBlockState.CURRENT && await committedTree.isCommitted(condition.stylesheetPath)) landed.add(task.taskRef);\n continue;\n }\n /*\n * The `design-system-brand` step: every module it writes (the frontend's brand design, and the website's colours\n * when a website is declared) is committed AND says what the brand's visual tone renders. Asked even when a\n * module is uncommitted, for the design-tokens reason: an UNANSWERABLE answer (a brand\n * specification that does not evaluate) is what tells the selector to pass the step over.\n */\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.BRAND_DESIGN_CURRENT) {\n const designState = await this.generationSteps.readBrandDesignState();\n if (designState === BrandDesignState.UNANSWERABLE) unanswerable.add(task.taskRef);\n else if (designState === BrandDesignState.CURRENT && (await Promise.all(condition.modulePaths.map((modulePath) => committedTree.isCommitted(modulePath)))).every(Boolean)) {\n landed.add(task.taskRef);\n }\n continue;\n }\n // The logo step: landed on a committed MASTER asset the committed module lists, never on the module's\n // presence — the scaffold commits the module empty (#2410).\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.ACCEPTED_BRAND_MARK) {\n if (await this.readsAcceptedBrandMark(condition.modulePath, committedTree)) landed.add(task.taskRef);\n continue;\n }\n // A labels plan that hides owed units never lands (#2504).\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.LABEL_PLAN_INCOMPLETE) continue;\n // The display-name step on a brand nobody could read (#2694): not landed, and passed over as unanswerable, like\n // the design steps, so the scheduler does not run a step that would fail the same way.\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.BRAND_UNREADABLE) {\n unanswerable.add(task.taskRef);\n continue;\n }\n // The labels step (#2504): every unit file committed and every frontend root id declared.\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.LANDED_PROBES) {\n const satisfied = await Promise.all(condition.probes.map((probe) => this.isLandedProbeSatisfied(probe, committedTree)));\n if (satisfied.every(Boolean)) landed.add(task.taskRef);\n continue;\n }\n // The display-name step: landed when the committed configuration carries the brand's name (#2505).\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.DISPLAY_NAME_APPLIED) {\n if (await this.displayNameApplied(condition, committedTree)) landed.add(task.taskRef);\n continue;\n }\n // The engine-capabilities step: landed when the committed configuration enables every capability it owes (#2497).\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.ENGINE_CAPABILITIES_ENABLED) {\n if ((await this.capabilitiesNotEnabledIn(condition, committedTree)).length === 0) landed.add(task.taskRef);\n continue;\n }\n if (condition.paths.length === 0) continue;\n const committedPaths = await Promise.all(condition.paths.map((path) => committedTree.isCommitted(path)));\n if (committedPaths.every(Boolean)) landed.add(task.taskRef);\n continue;\n }\n const probes = resolveBuildTaskLandedProbes(task);\n if (probes.length === 0) {\n /*\n * A task that declares NO product cannot prove it landed — and that is a WORKFLOW gap, not a\n * gate. `application-creation-directive.md` asks the deciding question directly: if this\n * refuses, what does the operator do next? The answer here is \"declare what the task\n * produces\", which is authoring work — so it must MARK and let the loop continue, exactly as\n * an unapproved release travels with its advisory instead of stopping the build.\n *\n * It was a gate until 2026-09-12, and the cost is measured. Readiness is \"not landed\", so an\n * unprovable task is ready FOREVER and is permanently `ready[0]`: `dispatch-next` re-ran\n * `build-task-contact-schema` three times at roughly $7.50 a turn, and the loop guard below\n * then converted that into a permanent refusal at the same task. Both are stuck; neither is\n * honest about WHY. Against Wonder CRM's 42-task plan the two candidate fixes measure\n * 1 reachable (skip it, leave its dependents blocked) against 42 (run it once, mark it,\n * advance) — because every product-declaring task there sits behind one that declares none.\n *\n * So landing here means RAN, not PROVEN, and the difference is carried rather than hidden:\n * the ref goes into `unverifiableLandedTaskRefs`, which rides the dispatch plan to every\n * caller. Keyed on a COMPLETED durable run, never on the task's mere existence — a task\n * nobody has run has not landed by any reading, and admitting it would let the whole plan\n * report itself finished having done nothing.\n */\n /*\n * A FOLLOW-UP (#2496) lands here too, even when its own run still reports a gap: it declares no product, so it\n * lands RAN-not-PROVEN, and the gap stays on its run's record, where the build record shows it under \"reported a\n * requirement still unmet\". Holding it unlanded was tried (review F7) and is the defect\n * `application-creation-directive.md` names: the only remedy was a person's decision, and meanwhile the whole\n * plan read as stuck. To have the gap worked again, a person runs the follow-up once more, saying why:\n * `wildo build run <ref> --despite-landed --reason operator-judgement --note \"<why>\"`.\n */\n const priorRun = await this.dispatch.findCompletedRunForBuildTask(task.taskRef);\n if (priorRun !== null) {\n landed.add(task.taskRef);\n unverifiable.add(task.taskRef);\n }\n continue;\n }\n const answered = await Promise.all(probes.map((probe) => this.isLandedProbeSatisfied(probe, committedTree)));\n if (answered.every(Boolean)) landed.add(task.taskRef);\n }\n return { landed, unverifiableLandedTaskRefs: [...unverifiable].sort(), unanswerableGenerationStepTaskRefs: unanswerable, generationStepConditions };\n }\n\n /**\n * Which of a stuck task's probed paths hold its product in the WORKING TREE while failing at HEAD —\n * or `undefined` when the working tree does not satisfy the probes either.\n *\n * Explanation only, never landing: a task satisfied here is still NOT landed, because the worktree\n * is work in progress until it is committed. What this decides is which remedy the refusal names.\n * Asked only for a task that already ran and is stuck, so it costs nothing on the hot path.\n */\n private async resolveProducedButUncommittedPaths(task: BuildPlanTask): Promise<readonly string[] | undefined> {\n const probes = resolveBuildTaskLandedProbes(task);\n if (probes.length === 0) return undefined;\n const witnesses = this.createIntrospectionWitnesses();\n const worktree = this.createWorktreeReader(witnesses);\n const satisfied = await Promise.all(probes.map((probe) => this.isLandedProbeSatisfied(probe, worktree)));\n if (!satisfied.every(Boolean)) return undefined;\n const committedTree = this.createCommittedTreeReader(witnesses);\n const paths = [...new Set(probes.flatMap(landedProbePaths))];\n const committed = await Promise.all(paths.map((path) => committedTree.isCommitted(path)));\n // A shell probe names no fixed path: the files that must be committed are the ones the RESOLVED\n // shell says compose the surface, so they come from its explanation (#1538).\n const shellUncommitted = (await Promise.all(probes.filter(isShellProbe).map((probe) => this.explainShellProbe(probe, committedTree))))\n .flatMap((explanation) => explanation.uncommittedPaths);\n // The same for a registry probe (#2966): its registration files, and the files its agent index imports.\n const registeredUncommitted = (await Promise.all(probes.filter(isAgentWorkProbe).map((probe) => this.explainAgentWorkProbe(probe, committedTree))))\n .flatMap((explanation) => explanation.uncommittedPaths);\n return [...new Set([...paths.filter((_, index) => !committed[index]), ...shellUncommitted, ...registeredUncommitted])].sort();\n }\n\n /**\n * Does the resolved-assets module, as `tree` holds it, record an accepted brand mark (#2410)? The same predicate the\n * logo step's skip check uses, so the step and its landing cannot disagree about what \"accepted\" means.\n */\n private async readsAcceptedBrandMark(modulePath: string, tree: CommittedTreeReader): Promise<boolean> {\n return hasAcceptedBrandMark(await tree.readText(modulePath), (path) => tree.isCommitted(path));\n }\n\n /** The working tree behind the same reader shape: a path \"is committed\" here when it exists on disk. Never throws. */\n private createWorktreeReader(witnesses: IntrospectionWitnesses = this.createIntrospectionWitnesses()): CommittedTreeReader {\n const texts = new Map<string, Promise<string | undefined>>();\n const readText = (path: string) => memoizeByPath(texts, path, () => readFile(join(this.companionContext.saasRoot, path), 'utf8').catch(() => undefined));\n return {\n isCommitted: async (path) => (await readText(path)) !== undefined,\n readText,\n // Reading the worktree spawns nothing, so there is no batch to win here.\n primeCommitted: async () => {},\n primeTexts: async () => {},\n ...witnesses,\n };\n }\n\n /**\n * The tree as a pathspec commit of `committing` would leave it (#2209): those paths as they stand on disk\n * (`commitPaths` takes each whole working file), every other path as HEAD has it. Behind the reader shape\n * landing asks, so the accept asks exactly landing's question of the commit it is about to make.\n */\n private createProspectiveCommitReader(committing: ReadonlySet<string>): CommittedTreeReader {\n const witnesses = this.createIntrospectionWitnesses();\n const worktree = this.createWorktreeReader(witnesses);\n const committed = this.createCommittedTreeReader(witnesses);\n return {\n isCommitted: (path) => (committing.has(path) ? worktree.isCommitted(path) : committed.isCommitted(path)),\n readText: (path) => (committing.has(path) ? worktree.readText(path) : committed.readText(path)),\n primeCommitted: (paths) => committed.primeCommitted(paths.filter((path) => !committing.has(path))),\n primeTexts: (paths) => committed.primeTexts(paths.filter((path) => !committing.has(path))),\n shellWitness: committed.shellWitness,\n agentWorkWitness: committed.agentWorkWitness,\n relationshipConferralWitness: committed.relationshipConferralWitness,\n };\n }\n\n /** A fresh {@link CommittedTreeReader} for one landing resolution; never shared across resolutions. */\n private createCommittedTreeReader(witnesses: IntrospectionWitnesses = this.createIntrospectionWitnesses()): CommittedTreeReader {\n const committed = new Map<string, Promise<boolean>>();\n const texts = new Map<string, Promise<string | undefined>>();\n return {\n isCommitted: (path) => memoizeByPath(committed, path, () => this.git.isWorktreePathCommitted(path)),\n readText: (path) => memoizeByPath(texts, path, () => this.git.readCommittedText(path)),\n primeCommitted: async (paths) => {\n /*\n * One batched answer for the whole set, seeded into the SAME memo the per-path route fills.\n * Paths already resolved (or in flight) are left alone: their answer is the one this\n * resolution has been handing out, and replacing it mid-pass would let one landing decision\n * rest on two different readings of the tree.\n */\n const unanswered = [...new Set(paths)].filter((path) => !committed.has(path));\n if (unanswered.length === 0) return;\n const committedPaths = await this.git.selectCommittedPaths(unanswered);\n for (const path of unanswered) {\n if (!committed.has(path)) committed.set(path, Promise.resolve(committedPaths.has(path)));\n }\n },\n primeTexts: async (paths) => {\n // Same contract as `primeCommitted`: seed the memo `readText` fills, never replace an answer\n // this resolution has already handed out.\n const unread = [...new Set(paths)].filter((path) => !texts.has(path));\n if (unread.length === 0) return;\n const committedTexts = await this.git.readCommittedTexts(unread);\n for (const path of unread) {\n if (!texts.has(path)) texts.set(path, Promise.resolve(committedTexts.get(path)));\n }\n },\n ...witnesses,\n };\n }\n\n /**\n * The introspection witnesses of ONE landing resolution, shared by every reader it creates: the working tree, HEAD and\n * the prospective commit ask the same live application, so a records read explaining unmet probes on both trees\n * introspects once rather than once per reader (#2966 review).\n */\n private createIntrospectionWitnesses(): IntrospectionWitnesses {\n return {\n shellWitness: this.memoizedShellWitness(),\n agentWorkWitness: this.memoizedAgentWorkWitness(),\n relationshipConferralWitness: this.memoizedRelationshipConferralWitness(),\n };\n }\n\n /** A once-per-reader memo of {@link resolveShellWitness}, so a landing resolution introspects at most once. */\n private memoizedShellWitness(): () => Promise<ShellWitness> {\n let pending: Promise<ShellWitness> | undefined;\n return () => (pending ??= this.resolveShellWitness());\n }\n\n /** A once-per-reader memo of {@link resolveAgentWorkWitness} (#2966). */\n private memoizedAgentWorkWitness(): () => Promise<AgentWorkWitness> {\n let pending: Promise<AgentWorkWitness> | undefined;\n return () => (pending ??= this.resolveAgentWorkWitness());\n }\n\n /**\n * What the application's backend registers of its agent work (#2966), through the `agent-work-declarations` behavior.\n * Every failure is an `answered: false` with its reason, never a throw and never an empty registry, for the reason\n * {@link resolveShellWitness} gives: a registry nobody could read is not one that registers nothing.\n */\n private async resolveAgentWorkWitness(): Promise<AgentWorkWitness> {\n const serviceKey = this.introspection.describeCatalog().defaultBackendServiceKey;\n if (!serviceKey) return { answered: false, reason: 'The application declares no SaaS backend to read its registered agents from.' };\n try {\n // Landing acts on this answer either way (a task lands, or is held back), so a held answer is checked against the\n // source as it stands (#2305 review), never served from before the last edit the watcher has not reported yet.\n const result = await this.introspection.requestInfo({ serviceKey, behavior: 'agent-work-declarations' }, { verifyAgainstSource: true });\n if (!result.success) return { answered: false, reason: `The backend's registry could not be read: ${result.error.message}` };\n return { answered: true, declarations: result.data as AgentWorkDeclarations };\n } catch (error) {\n return { answered: false, reason: `The backend's registry could not be read: ${describeCaughtError(error)}` };\n }\n }\n\n /** A once-per-reader memo of {@link resolveRelationshipConferralWitness} (#2305 S6). */\n private memoizedRelationshipConferralWitness(): () => Promise<RelationshipConferralWitness> {\n let pending: Promise<RelationshipConferralWitness> | undefined;\n return () => (pending ??= this.resolveRelationshipConferralWitness());\n }\n\n /**\n * The application's relationship kinds (#2305 S6), read from `wildo.saas.config.ts` FRESH: a build task may have just\n * conferred a role. Asked only when a conferred-role probe is judged, and independent of the backend, which a\n * configuration fact never needs. Never the companion's startup copy as a fallback, which would prove a role nobody\n * conferred: an unreadable configuration answers `false` with the loader's own message, which is where the likeliest\n * mistake (a conferred role a granting type does not offer, refused by `defineSaasConfig`) is named.\n *\n * Fresh means the configuration module and the files it imports by RELATIVE path are re-evaluated. A value it imports\n * from a PACKAGE (a role constant from `@app/shared-lib`) is not: a native ESM package import is evaluated once and\n * held for the process's lifetime (`loader.ts`), so an edit to that value is seen only after the companion restarts,\n * and until then the probe answers on the value it first read (#2305 review). Declaring the conferred roles in the\n * configuration itself, or in a file it imports by relative path, avoids that.\n */\n private async resolveRelationshipConferralWitness(): Promise<RelationshipConferralWitness> {\n try {\n const config = await loadSaasConfig(join(this.companionContext.saasRoot, 'wildo.saas.config.ts'), { freshModuleCache: true });\n if (!config) return { answered: false, reason: 'wildo.saas.config.ts was not found at the application root.' };\n return { answered: true, relationshipConferrals: relationshipConferralsOf(config) };\n } catch (error) {\n return { answered: false, reason: `wildo.saas.config.ts could not be loaded: ${describeCaughtError(error)}` };\n }\n }\n\n /**\n * Every file a configuration file reaches by relative import, read from the WORKING TREE (#2305 review): the registry\n * and the configuration witness evaluate the working tree, so these are the files whose content they read, and each\n * must then be committed in whichever tree the caller asks about. Reading them from that tree instead (an earlier\n * version) dropped a NEW imported file HEAD lacks, so a task landed on content no commit carried. Followed to closure,\n * a directory specifier resolving to its `index.ts`. A specifier naming nothing on disk is left out, since the\n * configuration could not load with it, which the registry read reports. A closure that would pass\n * {@link CONFIGURATION_IMPORT_CLOSURE_LIMIT} files answers `truncated` instead of a partial list.\n */\n private async configurationImportClosure(importerPath: string): Promise<{ readonly files: readonly string[]; readonly truncated: boolean }> {\n const readFromDisk = (path: string): Promise<string | undefined> => readFile(join(this.companionContext.saasRoot, path), 'utf8').catch(() => undefined);\n const reached: string[] = [];\n const seen = new Set<string>([importerPath]);\n const pending: { path: string; text: string }[] = [];\n const root = await readFromDisk(importerPath);\n if (root !== undefined) pending.push({ path: importerPath, text: root });\n while (pending.length > 0) {\n const { path: importer, text } = pending.shift()!;\n for (const candidate of relativeImportedFiles(importer, text)) {\n for (const path of [candidate, `${candidate.replace(/\\.ts$/u, '')}/index.ts`]) {\n if (seen.has(path)) break;\n const imported = await readFromDisk(path);\n if (imported === undefined) continue;\n if (reached.length === CONFIGURATION_IMPORT_CLOSURE_LIMIT) return { files: reached, truncated: true };\n seen.add(path);\n reached.push(path);\n pending.push({ path, text: imported });\n break;\n }\n }\n }\n return { files: reached, truncated: false };\n }\n\n /** Why a registry probe is or is not satisfied (#2966) — the answer landing uses and the detail the record reports. */\n private async explainAgentWorkProbe(probe: AgentWorkLandedProbe, tree: CommittedTreeReader): Promise<AgentWorkProbeExplanation> {\n let missing: readonly AgentWorkShortfall[];\n if (probe.product.kind === BuildPlanTaskProductKind.RELATIONSHIP_CONFERRED_ROLE) {\n // #2305 S6: a configuration fact, judged from the configuration alone. One that could not be loaded is unanswerable\n // (#2305 review), like a registry nobody could read: it says nothing about what the application declares.\n const configuration = await tree.relationshipConferralWitness();\n if (!configuration.answered) return { satisfied: false, unanswerable: configuration.reason, missing: [], uncommittedPaths: [] };\n missing = findRelationshipConferredRoleShortfalls(probe.product, configuration.relationshipConferrals);\n } else {\n const witness = await tree.agentWorkWitness();\n if (!witness.answered) return { satisfied: false, unanswerable: witness.reason, missing: [], uncommittedPaths: [] };\n // A resource whose configuration could not be materialized declares nothing that can be read, which is not the same\n // as declaring nothing (#2305 review).\n const unreadable = unreadableResourceConfigurationFor(probe.product, witness.declarations);\n if (unreadable) {\n return { satisfied: false, unanswerable: `The configuration of ${unreadable.resourceType} could not be materialized: ${unreadable.reason}`, missing: [], uncommittedPaths: [] };\n }\n missing = findAgentWorkShortfalls(probe.product, probe.moduleRef, witness.declarations);\n }\n /*\n * The registration files, and every file THIS reader's copy of the agent index imports: the committed index's imports\n * must be committed, and the working tree's index's imports must exist. A sibling task's draft that no index imports\n * yet is nobody's registration, so it holds nothing back.\n */\n const indexText = probe.followImportsOf === undefined ? undefined : await tree.readText(probe.followImportsOf);\n const configurationImports = probe.followRelativeImportsOf === undefined\n ? { files: [], truncated: false }\n : await this.configurationImportClosure(probe.followRelativeImportsOf);\n if (configurationImports.truncated) {\n return {\n satisfied: false,\n unanswerable: `${probe.followRelativeImportsOf} reaches more than ${CONFIGURATION_IMPORT_CLOSURE_LIMIT} files by relative import, so whether they are all committed was not asked.`,\n missing,\n uncommittedPaths: [],\n };\n }\n const files = [...new Set([\n ...probe.registrationFiles,\n ...(indexText === undefined ? [] : flowsActorsIndexImportedFiles(probe.followImportsOf!, indexText)),\n ...configurationImports.files,\n ])];\n // One batched question for every file, as `landedProbePaths` primes registration files (#2305 review).\n await tree.primeCommitted(files);\n const committed = await Promise.all(files.map((path) => tree.isCommitted(path)));\n const uncommittedPaths = files.filter((_, index) => !committed[index]);\n return { satisfied: missing.length === 0 && uncommittedPaths.length === 0, missing, uncommittedPaths };\n }\n\n /**\n * The resolved shell beside the placement plan (#1538): what each surface carries, by identity,\n * against what the plan PLACED there and what it DECLINED.\n *\n * Read through introspection because the identities exist only in the RESOLVED configuration: a\n * module's contribution merges into the shell at runtime, and the tree's text spells none of the\n * plan's refs. Every failure is an `answered: false` with its reason — never a throw, which would\n * abort the whole landing resolution for one surface, and never an empty \"carries nothing\", which\n * would read as a real no.\n */\n private async resolveShellWitness(): Promise<ShellWitness> {\n const exports = await loadSpecificationsCompanionExports(this.companionContext);\n const authored = (exports as unknown as Record<string, unknown>).placementPlanSpecification;\n if (authored === undefined || authored === null) {\n return { answered: false, reason: 'The application has no placement plan, so nothing says what its shell should carry.' };\n }\n const plan = PlacementPlanSchema.safeParse(authored);\n if (!plan.success) {\n return { answered: false, reason: `The placement plan does not satisfy its schema: ${plan.error.issues.slice(0, 2).map((issue) => `${issue.path.join('.')}: ${issue.message}`).join('; ')}` };\n }\n const serviceKey = this.introspection.describeCatalog().defaultFrontendServiceKey;\n if (!serviceKey) {\n return { answered: false, reason: 'The application declares no SaaS frontend to read its shell from.' };\n }\n let shell: AppShellPlacementContentResult;\n try {\n // Checked against the source for the same reason as the agent-work witness: landing acts on it (#2305 review).\n const result = await this.introspection.requestInfo({ serviceKey, behavior: 'app-shell-placement-content' }, { verifyAgainstSource: true });\n if (!result.success) return { answered: false, reason: `The shell could not be read: ${result.error.message}` };\n shell = result.data as AppShellPlacementContentResult;\n } catch (error) {\n return { answered: false, reason: `The shell could not be read: ${describeCaughtError(error)}` };\n }\n\n const carried = new Map<PlacementSurface, Set<string>>();\n const carriedAudiences = new Map<PlacementSurface, Map<string, PlacementAudienceLayers[]>>();\n const contributingPaths = new Map<PlacementSurface, string[]>();\n for (const row of shell.surfaces) {\n const identities = new Set<string>();\n const audiences = new Map<string, PlacementAudienceLayers[]>();\n for (const launcher of row.launchers) {\n const identity = launcherShellIdentity(launcher);\n if (identity === undefined) continue;\n identities.add(identity);\n const layers: PlacementAudienceLayers = {\n ...(launcher.requiredRoles === undefined ? {} : { item: launcher.requiredRoles }),\n ...(launcher.sectionRequiredRoles === undefined ? {} : { section: launcher.sectionRequiredRoles }),\n };\n audiences.set(identity, [...(audiences.get(identity) ?? []), layers]);\n }\n carriedAudiences.set(row.surface, audiences);\n for (const destinationRef of row.destinationRefs) identities.add(settingsDestinationShellIdentity(destinationRef));\n carried.set(row.surface, identities);\n contributingPaths.set(row.surface, [shellSurfaceConfigFile(row.surface), ...row.contributingModuleIds.map(shellModuleContributionFile)]);\n }\n const expectations = derivePlacementPlanShellExpectations(plan.data);\n const placed = new Map([...expectations.placed].map(([surface, entries]) => [surface, entries.map((entry) => entry.shellIdentity)] as const));\n const placedAudiences = new Map([...expectations.placed].map(([surface, entries]) => [\n surface, new Map(entries.map((entry) => [entry.shellIdentity, entry.audience] as const)),\n ] as const));\n const declined = expectations.declined.map((entry) => entry.shellIdentity);\n return { answered: true, carried, contributingPaths, placed, declined, carriedAudiences, placedAudiences };\n }\n\n /**\n * Why a shell probe is or is not satisfied (#1538) — the answer landing uses, and the detail the build\n * record and the stuck classification report. One function, so the three cannot disagree.\n */\n private async explainShellProbe(\n probe: ShellLandedProbe,\n tree: CommittedTreeReader,\n ): Promise<ShellProbeExplanation> {\n const witness = await tree.shellWitness();\n if (!witness.answered) {\n return { satisfied: false, unanswerable: witness.reason, missing: [], declinedButPresent: [], audienceMismatches: [], uncommittedPaths: [] };\n }\n const uncommittedOf = async (surface: PlacementSurface): Promise<string[]> => {\n const paths = witness.contributingPaths.get(surface) ?? [];\n const committed = await Promise.all(paths.map((path) => tree.isCommitted(path)));\n return paths.filter((_, index) => !committed[index]);\n };\n if (probe.kind === BuildPlanTaskLandedProbeKind.SHELL_SURFACE_CARRIES_PLAN) {\n const carried = witness.carried.get(probe.surface) ?? new Set<string>();\n const missing = (witness.placed.get(probe.surface) ?? []).filter((identity) => !carried.has(identity));\n const declinedButPresent = witness.declined.filter((identity) => carried.has(identity));\n // Every entry carrying a placed identity must show it to the audience the plan decided.\n const carriedAudiences = witness.carriedAudiences.get(probe.surface) ?? new Map();\n const audienceMismatches = [...(witness.placedAudiences.get(probe.surface) ?? new Map())].flatMap(([identity, expected]) => {\n const shown = carriedAudiences.get(identity) ?? [];\n const wrong = shown.filter((audience) => !samePlacementAudienceLayers(expected, audience));\n return wrong.length === 0 ? [] : [`${identity}: plan ${describePlacementAudience(expected)}, shell ${wrong.map(describePlacementAudience).join(' and ')}`];\n });\n const uncommittedPaths = await uncommittedOf(probe.surface);\n return {\n satisfied: missing.length === 0 && declinedButPresent.length === 0 && audienceMismatches.length === 0 && uncommittedPaths.length === 0,\n missing,\n declinedButPresent,\n audienceMismatches,\n uncommittedPaths,\n };\n }\n // SHELL_CARRIES_A_PLACEMENT: some surface carries some subject the plan placed on it, from files at HEAD.\n const allUncommitted: string[] = [];\n for (const [surface, identities] of witness.placed) {\n const carried = witness.carried.get(surface) ?? new Set<string>();\n if (!identities.some((identity) => carried.has(identity))) continue;\n const uncommittedPaths = await uncommittedOf(surface);\n if (uncommittedPaths.length === 0) return { satisfied: true, missing: [], declinedButPresent: [], audienceMismatches: [], uncommittedPaths: [] };\n allUncommitted.push(...uncommittedPaths);\n }\n return {\n satisfied: false,\n missing: allUncommitted.length > 0 ? [] : [...witness.placed.values()].flat(),\n declinedButPresent: [],\n audienceMismatches: [],\n uncommittedPaths: [...new Set(allUncommitted)],\n };\n }\n\n /**\n * Is one landed probe satisfied by the COMMITTED tree?\n *\n * Every answer is about committed bytes (`readCommittedText` returns nothing for an uncommitted or\n * half-edited path), so landing survives a restart, a fresh clone and a branch switch — git is the\n * accepted state, and two branches with different answers merge.\n *\n * A declaration is matched as a WHOLE WORD, not as a substring. `deal.schemas.ts` carries prose\n * naming its own build tasks, so a bare `includes` would find `pipelineStageId` inside a comment\n * that merely mentions it and report a task landed on its own documentation. A TypeScript or\n * JavaScript file is read with its comments blanked first (#2216), because whole-word matching alone\n * counted a mention in a comment: a page task wrote every section ref of its plan into its sections\n * file's header, and 18 section tasks of `app-creation-test-004` read landed with no section written.\n * A STRING mention still counts — an AST question is the sound version and needs the introspection\n * subprocess — so this errs toward LANDED only for a file that names the symbol in code without\n * declaring it, and never for the scaffold shapes that produced #597, where the symbol is absent.\n */\n private async isLandedProbeSatisfied(probe: BuildPlanTaskLandedProbe, tree: CommittedTreeReader): Promise<boolean> {\n switch (probe.kind) {\n case BuildPlanTaskLandedProbeKind.COMMITTED_FILE:\n return tree.isCommitted(probe.path);\n case BuildPlanTaskLandedProbeKind.COMMITTED_FILE_DECLARES: {\n const text = await tree.readText(probe.path);\n if (typeof text !== 'string') return false;\n /*\n * The probe's SITE says whether the declarations are a set or a relation, and where a relation\n * must sit (#1539). A relation read as a set reports a missing edge as landed (#1273 — six of\n * eleven relationship tasks).\n */\n // The PATH rides along so a script source is read with its comments blanked (#2216): prose naming a\n // product is not the product.\n return declarationsAppearAt(text, probe.declarations, probe.site, probe.path);\n }\n case BuildPlanTaskLandedProbeKind.ANY_COMMITTED_FILE_DECLARES: {\n const texts = await Promise.all(probe.paths.map((path) => tree.readText(path)));\n return texts.some((text, index) => typeof text === 'string' && declarationsAppearAt(text, probe.declarations, probe.site, probe.paths[index]));\n }\n // #2216: a section's words, in every committed locale pack.\n case BuildPlanTaskLandedProbeKind.COMMITTED_LABEL_PACKS_DECLARE:\n return labelPacksDeclareKeyPrefix(await Promise.all(probe.paths.map((path) => tree.readText(path))), probe.keyPrefix);\n // #2504: a labelling unit's planned keys, each exactly, in its committed primary-locale file.\n case BuildPlanTaskLandedProbeKind.COMMITTED_LABEL_FILE_DECLARES_KEYS:\n return labelFileDeclaresKeys(await tree.readText(probe.path), probe.keys);\n case BuildPlanTaskLandedProbeKind.SHELL_SURFACE_CARRIES_PLAN:\n case BuildPlanTaskLandedProbeKind.SHELL_CARRIES_A_PLACEMENT:\n return (await this.explainShellProbe(probe, tree)).satisfied;\n case BuildPlanTaskLandedProbeKind.AGENT_WORK_REGISTERED:\n return (await this.explainAgentWorkProbe(probe, tree)).satisfied;\n default: {\n const unhandled: never = probe;\n throw new Error(`Unhandled build-plan landed probe ${JSON.stringify(unhandled)}.`);\n }\n }\n }\n\n /**\n * Whether the application has AUTHORED a build plan at all — the one absence test every read of the plan shares.\n *\n * A plan legitimately does not exist until `build-decompose` has run, so every NEW application starts in this\n * state, and \"no plan yet\" is a true answer rather than a failure. It is tested DIRECTLY, never by catching\n * `ApplicationBuildPlanUnavailableError`, because `readBuildPlan` throws that same class for a plan that EXISTS\n * and fails validation — flattening an invalid plan into \"nothing there\" would be \"could not look\" wearing\n * \"nothing there\".\n *\n * Two reads use it: the board's task list, which had it inline, and the next-task projection, which did not —\n * so on every new application the board's dispatch-plan list answered 500 CONFIGURATION, logged at high\n * severity with an alert, on every poll (measured 2026-09-21, the first minutes of the end-to-end run #1273).\n */\n public async hasAuthoredBuildPlan(): Promise<boolean> {\n const exports = await loadSpecificationsCompanionExports(this.companionContext);\n const authored = (exports as unknown as Record<string, unknown>).buildPlanSpecification;\n return authored !== undefined && authored !== null;\n }\n\n /** The application's accepted build plan, validated before anything is selected from it. */\n private async readBuildPlan(): ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync> {\n const exports = await loadSpecificationsCompanionExports(this.companionContext);\n const authored = (exports as unknown as Record<string, unknown>).buildPlanSpecification;\n if (authored === undefined || authored === null) {\n throw new ApplicationBuildPlanUnavailableError(\n 'This application has no build plan. Run the build-decompose playbook first.',\n );\n }\n const parsed = BuildPlanTaskGraphSchema.safeParse(authored);\n if (!parsed.success) {\n throw new ApplicationBuildPlanUnavailableError(\n `The application's build plan does not satisfy its schema: ${parsed.error.issues.slice(0, 3).map((issue) => `${issue.path.join('.')}: ${issue.message}`).join('; ')}`,\n );\n }\n // Semantic validation too, not just the shape: a graph whose ordering is unsound would let\n // `selectReadyBuildPlanTasks` report a task ready before the work it depends on can have landed.\n //\n // Gated on the FLOOR codes, not on `findings.length > 0` as it was until 2026-09-09. That older\n // reading made this gate disagree with the landing gate about the same graph: an authoring\n // warning — a resource stage whose predecessor is absent from the plan, which is legitimate when\n // the tree already carries that stage — landed happily at the semantic authority and then made\n // the whole plan permanently undispatchable HERE, with the refusal naming a warning. One\n // classification, named once in `_core` beside the codes.\n const findings = validateBuildPlanTaskGraph(parsed.data);\n const blocking = findings.filter((finding) => BUILD_PLAN_TASK_GRAPH_HARD_FLOOR_CODES.includes(finding.code));\n if (blocking.length > 0) {\n throw new ApplicationBuildPlanUnavailableError(\n `The application's build plan fails semantic validation: ${blocking.slice(0, 3).map((finding) => finding.message).join('; ')}`,\n );\n }\n // The website plan's orderings are derived onto the website tasks first; they add edges between authored tasks\n // only, never a cycle, so the floor validated above still holds (`deriveWebsiteTaskOrdering`).\n const websiteOrdered = deriveWebsiteTaskOrdering(parsed.data, exports);\n /*\n * Two orderings below are load-bearing. Follow-ups are derived first, so the website claim step makes a website task\n * wait on a follow-up that delivers what it cites, and so a follow-up of a design-system config task (it keeps its\n * origin's target, so it writes the config too) waits on the brand step and is waited on by the design-tokens step,\n * like every other writer of that file.\n */\n return this.withHostDerivedDesignTokensStep(await this.withHostDerivedBrandDesignStep(this.withHostDerivedWebsiteClaimPrerequisites(\n this.withHostDerivedTranslationStep(this.withHostDerivedDocumentationPublicationStep(\n await this.withHostDerivedMigrationStep(await this.withHostDerivedEngineCapabilitiesStep(await this.withHostDerivedDisplayNameStep(await this.withHostDerivedFollowUpTasks(websiteOrdered)))),\n )),\n exports,\n )));\n }\n\n /**\n * A website task waits for the tasks that BUILD what its copy describes (#2507 re-review N1).\n *\n * Its copy is written once, from each cited requirement's standing at dispatch. The decomposer orders a section only\n * after its page, so website tasks ran beside the module tasks serving their requirements, read IN_PROGRESS, and wrote\n * \"coming soon\" for features that shipped an hour later, with nothing ever rewriting them. So each website task gains\n * a prerequisite on every task delivering a requirement it cites (website and documentation tasks excluded), follow-ups\n * included, as they are appended before this step.\n *\n * A page waits on everything its sections cite, since its title and description summarize them, so one feature task\n * that stays stuck holds back the whole page and its sections (re-review R4). That is the plan-stuck path, by design.\n *\n * A delivering task that itself waits on a website task would close a cycle with the added edges. Each website task's\n * edges are kept or dropped TOGETHER, re-checked against the schema and the semantic floors (PREREQUISITE_CYCLE among\n * them), so one cycle costs only the tasks it involves (re-review R2), and each is named in a warning: an ordering\n * preference is never the reason the plan cannot be read.\n */\n private withHostDerivedWebsiteClaimPrerequisites(\n graph: Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>>,\n companionExports: unknown,\n ): Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>> {\n const citedByTask = citedRequirementRefsByWebsiteTask(graph.tasks, companionExports);\n const additions = new Map<string, readonly string[]>();\n for (const task of graph.tasks) {\n const cited = citedByTask.get(task.taskRef) ?? [];\n const delivering = cited.flatMap((requirementRef) => deliveringTasksFor(requirementRef, graph.tasks)).map((entry) => entry.taskRef);\n const added = [...new Set(delivering)].filter((taskRef) => taskRef !== task.taskRef && !task.prerequisiteTaskRefs.includes(taskRef));\n if (added.length > 0) additions.set(task.taskRef, added);\n }\n if (additions.size === 0) return graph;\n const withEdges = (current: typeof graph, edges: ReadonlyMap<string, readonly string[]>) => BuildPlanTaskGraphSchema.safeParse({\n ...current,\n tasks: current.tasks.map((task) => {\n const added = edges.get(task.taskRef);\n return added === undefined ? task : { ...task, prerequisiteTaskRefs: [...task.prerequisiteTaskRefs, ...added] };\n }),\n });\n const isValid = (candidate: ReturnType<typeof withEdges>): candidate is Extract<ReturnType<typeof withEdges>, { success: true }> => candidate.success\n && !validateBuildPlanTaskGraph(candidate.data).some((finding) => BUILD_PLAN_TASK_GRAPH_HARD_FLOOR_CODES.includes(finding.code));\n const all = withEdges(graph, additions);\n if (isValid(all)) return all.data;\n // Some task's edges close a cycle: add them task by task, keeping each set that leaves the plan valid.\n let current = graph;\n for (const [taskRef, added] of additions) {\n const candidate = withEdges(current, new Map([[taskRef, added]]));\n if (isValid(candidate)) {\n current = candidate.data;\n } else {\n this.logger.warn?.(`Website task \"${taskRef}\" keeps its authored prerequisites: waiting on the tasks its claims cite would make the plan invalid`, { wouldWaitOn: added });\n }\n }\n return current;\n }\n\n /**\n * The build plan as the DISPATCH HOST reads it: the authored graph, plus the `database-migrations`\n * generation step whenever the application owes one and the plan does not author it (#1027).\n *\n * ## Why the host derives it rather than trusting the plan\n *\n * `bottom_up.build-decompose`'s method requires that step for every PostgreSQL-backed application,\n * and Wonder CRM's regenerated plan (2026-09-13) carried none — while all six of its schema tasks\n * could only write `shared-lib/`, never `backend-api/migrations/`. Each accepted schema change would\n * have left the model ahead of the accepted plan, and the application's boot gate refuses a missing\n * column (`postgresql_table_schema_mismatch`), so the lane would have taken its own application down.\n *\n * The model was given the rule and never the fact the rule keys on: the brief's workspace truth does\n * not state the database engine, and the method's instruction to `rg` the infra config is a command a\n * generation call cannot run. The validator could not catch it either — it receives the graph alone.\n * And no judgement is involved: whether a migration step is owed is a TOTAL function of two facts the\n * host already holds (`derive-before-you-ask.md`, \"could a function have produced my answer?\").\n *\n * ## The population, and the shape\n *\n * - Owed, per `assessSchemaPlanObligation`, in two cases that differ in whether a schema stage matters:\n * - an ACCEPTED plan and at least one SCHEMA stage — schema changes are what create drift against it;\n * - a declared PostgreSQL store with NO plan yet (#1144), with or without a schema stage — the initial\n * migration is owed by the ENGINE's resources alone, and the backend cannot boot before it exists.\n * This case was invisible while the lockfile was the only fact read: the foundation playbook was\n * believed to write the baseline and never did.\n * An UNDETERMINED store with a schema stage derives the step too, so the obligation stays visible: its\n * sync state is unanswerable, so it is passed over while other work is ready, and when nothing is its\n * refusal names why the store could not be read. A MongoDB-backed application is never offered it.\n * - An AUTHORED `database-migrations` step always wins. The derivation fills an omission; it never\n * second-guesses a plan that states its own ordering.\n * - PREPENDED, with NO prerequisites. Its landing condition is `SCHEMA_PLAN_IN_SYNC`, so it is landed\n * whenever the model and the accepted plan agree and becomes the FIRST ready task the moment an\n * accepted schema change creates drift — which is when it has to run, before anything restarts the\n * backend against a table it cannot build. The method's \"after the last schema stage\" was rejected\n * as the ordering: a schema task the loop guard skips forever (a stuck task never lands) would hold\n * the migration step behind it forever too.\n * - The obligation is read only after an authored step is ruled out, and costs a `stat` whenever a plan\n * is accepted; the authored infra config is loaded only for an application with no lockfile.\n *\n * ## What it costs\n *\n * `SCHEMA_PLAN_IN_SYNC` runs `wildo db diff --check` on every landed resolution, so every build-plan\n * read for such an application now asks the schema planner. Only an IN_SYNC answer lands the step. A\n * DRIFTED answer puts it first. An UNANSWERABLE one (any answer that is neither pass nor drift; the\n * causes are listed on `SchemaPlanSyncState`) leaves it un-landed but PASSED OVER while other tasks are ready, because running it then only throws.\n * This said an unanswerable check \"reads as NOT in sync, the step is offered, and running it over a\n * clean plan generates nothing\" — true of a clean plan, false of an unanswerable one, where offering\n * it first made every dispatch fail and stopped the whole plan (review, 2026-09-13).\n */\n /**\n * A plan that generates labels, for an application that enables more than one locale, owes a step\n * that TRANSLATES them (#2204).\n *\n * Translation used to be the second half of `i18n-labels`, so the graph had no node for \"the labels\n * exist\" separate from \"every locale is translated\", and every step that needed only the first\n * waited for the second. Measured on app-creation-test-004 (2026-10-01): the primary-locale labels\n * existed within minutes, translation into four locales ran for hours, and the documentation portal\n * — which reads primary-locale labels only — stayed dark the whole time.\n *\n * Derived rather than authored, for the reason {@link withHostDerivedMigrationStep} is: the\n * obligation follows from what the application declares (a second enabled locale) and from the plan\n * carrying a labels step, not from a decision the plan makes. A plan that authors its own\n * `i18n-translations` step gets none derived.\n *\n * - **Its only prerequisite is the labels step**, since translation reads the primary-locale files.\n * - **Nothing is made to depend on it.** The website and the application read their label files at\n * run time, so a translation landing needs no republish, and the portal is single-locale (#1993).\n * - **A one-locale application gets nothing**: the step would have no evidence paths, and an empty\n * list never lands, so it would sit at the head of the queue forever.\n */\n private withHostDerivedTranslationStep(\n graph: Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>>,\n ): Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>> {\n const isGenerationStep = (task: (typeof graph.tasks)[number], step: ApplicationBuildGenerationStep): boolean =>\n task.target?.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP && task.target.generationStepRef === step;\n if (graph.tasks.some((task) => isGenerationStep(task, ApplicationBuildGenerationStep.I18N_TRANSLATIONS))) return graph;\n\n const labelStepRefs = graph.tasks\n .filter((task) => isGenerationStep(task, ApplicationBuildGenerationStep.I18N_LABELS))\n .map((task) => task.taskRef);\n if (labelStepRefs.length === 0) return graph;\n if (this.generationSteps.resolveTranslationTargetLocales().length === 0) return graph;\n\n if (graph.tasks.some((task) => task.taskRef === HOST_DERIVED_I18N_TRANSLATIONS_TASK_REF)) {\n // Same refusal as the other derived steps: a duplicate ref is rejected by the graph schema.\n this.logger.warn?.(\n `The build plan owes an i18n-translations step, but \"${HOST_DERIVED_I18N_TRANSLATIONS_TASK_REF}\" already names another task; not deriving it.`,\n );\n return graph;\n }\n\n return BuildPlanTaskGraphSchema.parse({\n ...graph,\n tasks: [\n ...graph.tasks,\n {\n taskRef: HOST_DERIVED_I18N_TRANSLATIONS_TASK_REF,\n objective: 'Translate the application\\'s labels into every enabled locale other than the primary one. '\n + 'Derived by the dispatch host because the build plan generates primary-locale labels and the application '\n + 'enables further locales.',\n target: {\n kind: BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP,\n generationStepRef: ApplicationBuildGenerationStep.I18N_TRANSLATIONS,\n },\n produces: [],\n functionalTopic: MetaWorkflow_FunctionalTopic.ASSEMBLE_VERIFY_AND_ITERATE,\n skillRefs: ['i18n-translation-rerun'],\n prerequisiteTaskRefs: labelStepRefs,\n servesRefs: [],\n },\n ],\n });\n }\n\n /**\n * A plan that authors documentation CHAPTERS owes a step that PUBLISHES them.\n *\n * Derived rather than authored, for the reason {@link withHostDerivedMigrationStep} is: the\n * obligation follows from what the plan CONTAINS, not from a decision the plan makes. An\n * application with a documentation chapter owes a portal; one without owes nothing.\n *\n * Measured on the first end-to-end journey run (#1273). The plan carried SIX\n * `DOCUMENTATION_CHAPTER` tasks and no publication step, so the chapters were authored and nothing\n * rendered them. The cost was not only an unbuilt portal: `technical-doc/src/pages/search.tsx`\n * imports the search index the publish writes, so that package could not typecheck at all, and\n * `check:technical-doc-typecheck` stayed red for the whole build — failing a documentation task on\n * a red it did not cause, at $19.33. Publishing by hand made 87 outputs and turned the check green\n * in one command.\n *\n * ## The prerequisites are the whole design\n *\n * Unlike the migration step, this one cannot run with `prerequisiteTaskRefs: []`:\n *\n * - **every chapter task**, or it renders a portal missing the chapters still being written;\n * - **`i18n-labels`**, and that one is not a nicety. Publication resolves the application's\n * organization-role documentation and REFUSES without the primary-locale label — *\"requires\n * primary-locale label 'roles.ORG_ADMIN.label'; generate the application's role labels before\n * publishing documentation\"*. Run before labels, it fails on exactly that, which is how the\n * first hand-run of this pipeline failed.\n *\n * Both are read off the graph, so a plan with no labels step simply contributes no such edge\n * rather than acquiring a dangling one.\n *\n * `i18n-labels` means the PRIMARY locale only. Translation is the separate `i18n-translations` step\n * ({@link withHostDerivedTranslationStep}), and publication deliberately has no edge to it: the\n * portal reads primary-locale labels and nothing else, so waiting on translation only kept it dark\n * for hours (#2204).\n */\n private withHostDerivedDocumentationPublicationStep(\n graph: Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>>,\n ): Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>> {\n const authorsPublicationStep = graph.tasks.some((task) => task.target?.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP\n && task.target.generationStepRef === ApplicationBuildGenerationStep.DOCUMENTATION_PUBLICATION);\n if (authorsPublicationStep) return graph;\n\n const chapterTaskRefs = graph.tasks\n .filter((task) => (task.produces ?? []).some((product) => product.kind === BuildPlanTaskProductKind.DOCUMENTATION_CHAPTER))\n .map((task) => task.taskRef);\n if (chapterTaskRefs.length === 0) return graph;\n\n if (graph.tasks.some((task) => task.taskRef === HOST_DERIVED_DOCUMENTATION_PUBLICATION_TASK_REF)) {\n // Same refusal as the migration step's: deriving would duplicate a ref, which the graph schema\n // rejects — so say so rather than silently dropping the obligation.\n this.logger.warn?.(\n `The build plan owes a documentation-publication step, but \"${HOST_DERIVED_DOCUMENTATION_PUBLICATION_TASK_REF}\" already names another task; not deriving it.`,\n );\n return graph;\n }\n\n const labelStepRefs = graph.tasks\n .filter((task) => task.target?.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP\n && task.target.generationStepRef === ApplicationBuildGenerationStep.I18N_LABELS)\n .map((task) => task.taskRef);\n\n return BuildPlanTaskGraphSchema.parse({\n ...graph,\n tasks: [\n ...graph.tasks,\n {\n taskRef: HOST_DERIVED_DOCUMENTATION_PUBLICATION_TASK_REF,\n objective: 'Publish the application\\'s customer documentation portal, so the chapters this build authored are '\n + 'something a reader can reach. Derived by the dispatch host because the build plan authors documentation '\n + 'chapters and does not author the step that renders them.',\n target: {\n kind: BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP,\n generationStepRef: ApplicationBuildGenerationStep.DOCUMENTATION_PUBLICATION,\n },\n produces: [],\n functionalTopic: MetaWorkflow_FunctionalTopic.ASSEMBLE_VERIFY_AND_ITERATE,\n skillRefs: ['application-consumer-documentation-authoring'],\n prerequisiteTaskRefs: [...chapterTaskRefs, ...labelStepRefs],\n servesRefs: [],\n },\n ],\n });\n }\n\n /**\n * A plan that writes the design-system config owes a step that regenerates the stylesheet block from it\n * (#2358).\n *\n * The block in `frontend/src/index.css` is what the loading screen and the first paint use; the runtime\n * applies the config only after mount. A DESIGN_SYSTEM task may write the config file and nothing else\n * (`application-build-task-coding-policy`), and nothing else ran `wildo design-tokens generate`, so a\n * design system authored during creation reached the page after mount while the first paint kept the\n * scaffold's palette.\n *\n * Derived rather than authored, for the reason {@link withHostDerivedDocumentationPublicationStep} is:\n * the obligation follows from what the plan CONTAINS. A plan that authors its own `design-tokens` step\n * gets none derived.\n *\n * - **Its prerequisites are every writer of the block's inputs** ({@link isDesignTokenBlockInputWriter}): the\n * config's writers and the brand step, whose module the config imports (#2353). The block is a function\n * of the config's FINAL state, so it runs after the last of them.\n * - **Appended**, after everything it waits on, like the publication step.\n * - **Landing is the block, not the file**: the stylesheet is committed in every scaffolded application,\n * so the step lands only when that file is committed AND `wildo design-tokens validate` calls its block\n * current. A design-system change that does not move the block (a `theme`-only edit) lands it with no\n * run at all, which is the honest answer.\n */\n private withHostDerivedDesignTokensStep(\n graph: Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>>,\n ): Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>> {\n const authorsDesignTokensStep = graph.tasks.some((task) => task.target?.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP\n && task.target.generationStepRef === ApplicationBuildGenerationStep.DESIGN_TOKENS);\n if (authorsDesignTokensStep) return graph;\n\n const writerTaskRefs = graph.tasks.filter(isDesignTokenBlockInputWriter).map((task) => task.taskRef);\n if (writerTaskRefs.length === 0) return graph;\n\n if (graph.tasks.some((task) => task.taskRef === HOST_DERIVED_DESIGN_TOKENS_TASK_REF)) {\n // Same refusal as the other derived steps: a duplicate ref is rejected by the graph schema.\n this.logger.warn?.(\n `The build plan owes a design-tokens step, but \"${HOST_DERIVED_DESIGN_TOKENS_TASK_REF}\" already names another task; not deriving it.`,\n );\n return graph;\n }\n\n return BuildPlanTaskGraphSchema.parse({\n ...graph,\n tasks: [\n ...graph.tasks,\n {\n taskRef: HOST_DERIVED_DESIGN_TOKENS_TASK_REF,\n objective: 'Regenerate the design-token block of the frontend stylesheet from the design-system config, so the '\n + 'first paint and the running application show the same design system. Derived by the dispatch host because '\n + 'the build plan writes the design-system config.',\n target: {\n kind: BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP,\n generationStepRef: ApplicationBuildGenerationStep.DESIGN_TOKENS,\n },\n produces: [],\n functionalTopic: MetaWorkflow_FunctionalTopic.SHAPE_USER_EXPERIENCE,\n skillRefs: ['config-design-system'],\n prerequisiteTaskRefs: writerTaskRefs,\n servesRefs: [],\n },\n ],\n });\n }\n\n /**\n * The facts of the resource a website section's demo is drawn from (#2742 step 5e), read from the application's\n * domain model the way the target-resource neighbourhood is: one cached derivation, the plan's slug matched to the\n * registry's type by slugifying the registry's own keys. Best effort: a read that fails says so in the brief, and the\n * agent draws less rather than inventing a field.\n */\n private async resolveWebsiteDemoFacts(resourceRef: string | undefined): Promise<WebsiteSectionDemoFactsResolution | undefined> {\n if (resourceRef === undefined) return undefined;\n try {\n const backendServiceKey = Object.entries(this.companionContext.servicesByKey).find(([, service]) => !service.frontendType)?.[0];\n if (backendServiceKey === undefined) return { unavailable: 'The application declares no backend service, so its resources cannot be read.' };\n const { index } = await readWorkspaceElements(this.introspection, backendServiceKey);\n const resourceType = [...index.resources.keys()].find((candidate) => slugifyRegistryIdentifier(candidate) === resourceRef);\n const resource = resourceType === undefined ? undefined : index.resources.get(resourceType);\n if (resource === undefined) {\n return { unavailable: `The application has no resource \"${resourceRef}\" yet (it may be built by a task that has not landed), so the demo cannot be bound to its fields: draw it from what the plan says, and report the missing binding.` };\n }\n return { facts: websiteDemoResourceFacts(resource) };\n } catch (error) {\n this.logger.warn('Could not read the application\\'s resources for a website demo', { resourceRef, error: String(error) });\n return { unavailable: 'The application\\'s resources could not be read right now, so the demo is not bound to its fields: draw only fields you have read in its schema.' };\n }\n }\n\n /**\n * A plan that writes the design-system config owes a step that writes what the brand's visual tone decides — its\n * palette seeds and its theme personality — where the config can derive from them (#2353, #2359).\n *\n * The brand names its colours and its style (`visualTone`) and the config is where the palette and the theme live;\n * before this step nothing joined them, so the DESIGN_SYSTEM coding task picked colours by eye, copied a named theme,\n * and the brand reached the page only if the agent carried it over. Derived rather than authored, for the reason\n * {@link withHostDerivedMigrationStep} is: whether it is owed is a total function of what the plan contains and what\n * the config already imports.\n *\n * - **Owed** when the plan writes the design-system config ({@link isDesignSystemConfigWriter}), when it builds the\n * website ({@link isWebsiteBuildTask}: the site's theme is the brand's website palette and personality, so its\n * tempo, type and surfaces follow the visual tone too, #2742 step 5d), or when the config already imports the\n * module — so a config an earlier build wrote still follows a rebrand when the current plan writes no config.\n * Website tasks get no edge to it: the scaffold already carries the module they import.\n * - **Prepended, with no prerequisites**, the migration step's shape: its landing condition is\n * `BRAND_DESIGN_CURRENT`, so it is landed whenever its modules (the frontend's, and the website's colours when a\n * website is declared) say what the brand now renders, and becomes the first ready task the moment the brand\n * changes.\n * - **Every config writer waits on it**, the one derivation here that adds an edge to an authored task. The config\n * a writer produces imports this module, so a writer running first would be written against a file that does not\n * exist yet; and a wave (#1528) would otherwise dispatch the two together. The edge says only that.\n * - **An AUTHORED brand step wins**, ordering and all: the derivation fills an omission.\n */\n private async withHostDerivedBrandDesignStep(\n graph: Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>>,\n ): Promise<Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>>> {\n if (graph.tasks.some(isDesignSystemBrandStep)) return graph;\n\n const writerTaskRefs = new Set(graph.tasks.filter(isDesignSystemConfigWriter).map((task) => task.taskRef));\n const buildsWebsite = graph.tasks.some(isWebsiteBuildTask);\n if (writerTaskRefs.size === 0 && !buildsWebsite && !(await readDesignSystemConfigImportsBrandDesign(this.companionContext.saasRoot))) return graph;\n\n if (graph.tasks.some((task) => task.taskRef === HOST_DERIVED_DESIGN_SYSTEM_BRAND_TASK_REF)) {\n // Same refusal as the other derived steps: a duplicate ref is rejected by the graph schema.\n this.logger.warn?.(\n `The build plan owes a design-system-brand step, but \"${HOST_DERIVED_DESIGN_SYSTEM_BRAND_TASK_REF}\" already names another task; not deriving it.`,\n );\n return graph;\n }\n\n return BuildPlanTaskGraphSchema.parse({\n ...graph,\n tasks: [\n {\n taskRef: HOST_DERIVED_DESIGN_SYSTEM_BRAND_TASK_REF,\n objective: 'Write the brand\\'s palette seeds and theme personality to frontend/src/config/brand-design.ts, and the '\n + 'website\\'s palette and personality to website/src/brand-theme.ts when the application has a website, so the design-system '\n + 'config derives a readable palette and composes its theme from the brand, and the site shows the same primary, tempo and type. Derived '\n + 'by the dispatch host because the build plan writes the design-system config or builds the website, or the config already derives from '\n + 'this module.',\n target: {\n kind: BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP,\n generationStepRef: ApplicationBuildGenerationStep.DESIGN_SYSTEM_BRAND,\n },\n produces: [],\n functionalTopic: MetaWorkflow_FunctionalTopic.SHAPE_USER_EXPERIENCE,\n skillRefs: ['config-design-system'],\n prerequisiteTaskRefs: [],\n servesRefs: [],\n },\n ...graph.tasks.map((task) => (writerTaskRefs.has(task.taskRef) && !task.prerequisiteTaskRefs.includes(HOST_DERIVED_DESIGN_SYSTEM_BRAND_TASK_REF)\n ? { ...task, prerequisiteTaskRefs: [...task.prerequisiteTaskRefs, HOST_DERIVED_DESIGN_SYSTEM_BRAND_TASK_REF] }\n : task)),\n ],\n });\n }\n\n /**\n * The build plan with an `engine-capabilities` step at its head whenever the application's decisions imply a\n * capability its COMMITTED configuration does not enable (#2497).\n *\n * The foundation step is where those capabilities were turned on, and a build can be planned without it:\n * app-creation-test-005's capability composition was blocked (#2416), its modules came from ensure-module\n * tasks, and it shipped `ORGANIZATIONS: false` and no transactional email under an organization-tenancy plan.\n * Derived for the reason {@link withHostDerivedMigrationStep} is: the obligation follows from what the\n * application declares, not from a decision the plan makes, and the decomposer was never given the fact.\n *\n * - **Committed, not the working tree**, so derivation and landing ask the same question: a capability enabled\n * and not yet committed keeps the step unlanded until it is, as every other step's files do.\n * - **At the head, with no edges.** Composed resources assume their primary scope's capability, so it runs\n * first; and nothing names it as a prerequisite, because once it has landed the host derives it no longer\n * and an edge to it would dangle.\n * - **Only what a step can satisfy.** A capability only a commercial provider serves (BILLING, SMS) is left\n * out by the derivation, or the step could never land and would hold the build.\n * - **Best effort.** A derivation that cannot be read derives nothing: the foundation's own run is still the\n * primary door, and refusing the whole plan over this read would trade a missing capability for a stopped build.\n */\n private async withHostDerivedEngineCapabilitiesStep(\n graph: Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>>,\n ): Promise<Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>>> {\n const authorsStep = graph.tasks.some((task) => task.target?.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP\n && task.target.generationStepRef === ApplicationBuildGenerationStep.ENGINE_CAPABILITIES);\n if (authorsStep) return graph;\n let unmet: readonly string[];\n try {\n const condition = await this.generationSteps.resolveGenerationStepLandedCondition({\n taskRef: HOST_DERIVED_ENGINE_CAPABILITIES_TASK_REF,\n target: { kind: BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP, generationStepRef: ApplicationBuildGenerationStep.ENGINE_CAPABILITIES },\n } as BuildPlanTask);\n if (condition.kind !== ApplicationBuildGenerationStepLandedKind.ENGINE_CAPABILITIES_ENABLED) return graph;\n unmet = await this.capabilitiesNotEnabledIn(condition, this.createCommittedTreeReader());\n } catch (error) {\n this.logger.warn?.('Could not derive the engine capabilities this application\\'s decisions imply; deriving no step for them', {\n error: describeCaughtError(error),\n });\n return graph;\n }\n if (unmet.length === 0) return graph;\n if (graph.tasks.some((task) => task.taskRef === HOST_DERIVED_ENGINE_CAPABILITIES_TASK_REF)) {\n this.logger.warn?.(\n `The build plan owes an engine-capabilities step, but \"${HOST_DERIVED_ENGINE_CAPABILITIES_TASK_REF}\" already names another task; not deriving it.`,\n );\n return graph;\n }\n return BuildPlanTaskGraphSchema.parse({\n ...graph,\n tasks: [\n {\n taskRef: HOST_DERIVED_ENGINE_CAPABILITIES_TASK_REF,\n objective: `Turn on the engine capabilities this application's decisions imply and its configuration does not enable: ${unmet.join(', ')}. `\n + 'Derived by the dispatch host, the same derivation the foundation step applies.',\n target: {\n kind: BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP,\n generationStepRef: ApplicationBuildGenerationStep.ENGINE_CAPABILITIES,\n },\n produces: [],\n functionalTopic: MetaWorkflow_FunctionalTopic.CONFIGURE_APPLICATION_FOUNDATION,\n skillRefs: ['config-saas'],\n prerequisiteTaskRefs: [],\n servesRefs: [],\n },\n ...graph.tasks,\n ],\n });\n }\n\n /**\n * Where each requirement stands in the build, for the website copy that cites it (#2507 review F1, F5): the tasks\n * serving it, whether each landed, what a run serving it reported still unmet, and the roadmap phase delivering it.\n * A requirement is DELIVERED only when it is served, every serving task landed, no serving run reported it unmet,\n * and no phase AFTER the current one is the only one delivering it.\n *\n * Website tasks are left out of the serving set: a page does not deliver the capability it describes. Best effort:\n * `undefined` when the plan, its landings or the completed coding runs cannot be read, and the brief then describes\n * nothing as available. Without the runs, a gap a run reported would not count against delivery (#2672).\n */\n private async resolveWebsiteClaimDelivery(companionExports: unknown): Promise<((requirementRef: string) => WebsiteClaimDelivery) | undefined> {\n try {\n const plan = await this.readBuildPlan();\n const { landed } = await this.resolveLandedTaskRefs(plan.tasks);\n // Unreadable runs say nothing about what a run reported still unmet, so nothing is described as available (#2672).\n // A projection error is not swallowed here either: it reaches the catch below, which names it.\n const runs = await this.readLatestCompletedCodingRuns();\n if (runs === undefined) return undefined;\n const roadmap = RoadmapSnapshotSchema.safeParse(\n decidedFamilyValuesFromCompanionExports(companionExports as Record<string, unknown>)[ApplicationSpecificationFamily.ROADMAP],\n );\n const phases = roadmap.success ? roadmap.data.phases : [];\n return (requirementRef) => deriveWebsiteClaimDelivery(requirementRef, {\n tasks: plan.tasks,\n landedTaskRefs: landed,\n reportedMissing: (taskRef, ref) => runs.latest.get(taskRef)?.unmetRequirements?.find((entry) => entry.requirementRef === ref)?.missing,\n // The follow-up `withHostDerivedFollowUpTasks` derives for THIS report, by the same function (re-review R1).\n followUpTaskRefFor: (originTaskRef, ref) => {\n const reportingRun = runs.latest.get(originTaskRef);\n return reportingRun === undefined ? undefined : deriveFollowUpTaskRef(originTaskRef, ref, reportingRun.runTaskId);\n },\n phases,\n });\n } catch (error) {\n this.logger.warn?.('Website claim delivery could not be read; the brief will describe nothing as available', { error: describeCaughtError(error) });\n return undefined;\n }\n }\n\n /**\n * The latest COMPLETED coding run of each build task (#2496), read by the follow-up derivation and cached for two\n * seconds: `readBuildPlan` runs on every board poll and dispatch, and one listing per burst is enough. Nothing that\n * decides LANDING reads it, so a listing up to two seconds old can only delay a follow-up by one poll.\n *\n * Read to {@link BUILD_TASK_RECORD_HISTORY_CEILING}, the build record's bound, not to the 200-run window: a follow-up is\n * derived again on every plan read, so an origin whose latest completed run fell out of a narrower window would lose\n * the follow-up it had already derived, and the plan would drop a task it was running (#2530). `truncated` says the\n * listing still hit that ceiling, so an old origin's report may be missing from it.\n *\n * `undefined` means the LISTING could not be read, and only that (#2672). Every caller then says less: no follow-up\n * is derived, and the website brief describes nothing as available. Projecting a listed row is our own code, so an\n * error there is a programming error and REJECTS. It used to share the listing's catch, which reported it as \"no\n * follow-up tasks\": rows carrying strings where the row type has dates made the projection throw, and every reported\n * gap went unbuilt while the plan read as complete.\n */\n private readLatestCompletedCodingRuns(): Promise<{ readonly latest: ReadonlyMap<string, ApplicationBuildTaskAttempt>; readonly truncated: boolean } | undefined> {\n const now = Date.now();\n if (this.latestCompletedCodingRuns !== undefined && now - this.latestCompletedCodingRuns.at < LATEST_COMPLETED_CODING_RUNS_TTL_MS) {\n return this.latestCompletedCodingRuns.value;\n }\n const value = this.fetchLatestCompletedCodingRuns();\n this.latestCompletedCodingRuns = { at: now, value };\n value.catch(() => { this.latestCompletedCodingRuns = undefined; });\n return value;\n }\n\n /**\n * {@link readLatestCompletedCodingRuns} without its cache: for a reader that must see a record it just wrote (#2593).\n * Same contract: read to the build record's ceiling, `undefined` only when the listing cannot be read, and a\n * projection error rejects (#2672).\n */\n private async fetchLatestCompletedCodingRuns(): Promise<{ readonly latest: ReadonlyMap<string, ApplicationBuildTaskAttempt>; readonly truncated: boolean } | undefined> {\n let rows: Awaited<ReturnType<CompanionExecutionsCompanionService['listActorExecutions']>>;\n try {\n // Not parsed through the route's query schema, whose 200 is the HTTP request's bound: in-process the listing pages.\n rows = await this.executions.listActorExecutions({\n systemRef: APPLICATION_CODING_SYSTEM_REF,\n status: FlowsActors_Status.COMPLETED,\n limit: BUILD_TASK_RECORD_HISTORY_CEILING,\n });\n } catch (error) {\n this.logger.warn?.('Could not list the completed coding runs: no follow-up task is derived, the website brief describes nothing as available, and no website copy or drawing is reviewed', { error: describeCaughtError(error) });\n return undefined;\n }\n const latest = new Map<string, ApplicationBuildTaskAttempt>();\n for (const projected of rows.map(projectBuildTaskAttempt)) {\n if (projected === null || projected.attempt.status !== FlowsActors_Status.COMPLETED) continue;\n const previous = latest.get(projected.taskRef);\n if (previous === undefined || previous.startedAt < projected.attempt.startedAt) latest.set(projected.taskRef, projected.attempt);\n }\n return { latest, truncated: rows.length >= BUILD_TASK_RECORD_HISTORY_CEILING };\n }\n\n /**\n * A follow-up task for every requirement a COMPLETED coding run reported still unmet (#2496).\n *\n * 005's workers wrote \"office/field access is only partly met\" and \"the roles do nothing yet … it still needs its own\n * work\" into closing reports that every run was accepted on, and no later task, coherence entry or judge picked any of\n * it up. A run now states such a gap in a typed block; this derives the task that answers it, so the gap re-enters the\n * build loop instead of ending in prose. Under the YOLO posture it marks and proceeds: the reporting run still lands.\n *\n * - Read off each task's LATEST COMPLETED run, so a re-run that no longer reports the gap drops its follow-up, and a\n * re-run reporting it again derives a new one (its ref carries the reporting run's token).\n * - The follow-up keeps the origin's target and skills and waits on the ORIGIN only: waiting on every task serving the\n * requirement would hold it behind any of them that never lands. Its objective names those tasks, and its scope is\n * the origin's, so it cannot redo their work.\n * - Only for a target that lands by a completed run: a follow-up on a shell placement would read as landed through the\n * origin's probe without ever running, which is the silence this exists to remove, and a generation step is run by\n * the companion, never by a coding run, so a follow-up there would never run at all. Both are excluded by name.\n * - A follow-up's own report derives nothing further, which keeps the chain one step long. The follow-up still lands\n * (RAN-not-PROVEN, see `resolveLandedTaskRefs`), and its record keeps the gap it still reports, for a person to read.\n * - One bad entry is skipped and named, never the reason the plan cannot be read.\n */\n private async withHostDerivedFollowUpTasks(\n graph: Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>>,\n ): Promise<Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>>> {\n // `undefined` only when the listing could not be read, which the reader has already said (#2672). A projection error\n // propagates and fails the plan read: read as \"no follow-ups\", it left every reported gap unbuilt.\n const runs = await this.readLatestCompletedCodingRuns();\n if (runs === undefined) return graph;\n const taskRefs = new Set(graph.tasks.map((task) => task.taskRef));\n let current = graph;\n for (const origin of graph.tasks) {\n if (origin.taskRef.startsWith(HOST_DERIVED_FOLLOW_UP_TASK_REF_PREFIX)) continue;\n const latest = runs.latest.get(origin.taskRef);\n for (const unmet of latest?.unmetRequirements ?? []) {\n const taskRef = deriveFollowUpTaskRef(origin.taskRef, unmet.requirementRef, latest!.runTaskId);\n if (taskRefs.has(taskRef)) {\n this.logger.warn?.(`A reported gap derives \"${taskRef}\", which already names another task; not deriving it`, { origin: origin.taskRef, requirementRef: unmet.requirementRef });\n continue;\n }\n const servingTasks = graph.tasks\n .filter((task) => task.taskRef !== origin.taskRef && task.servesRefs.includes(unmet.requirementRef))\n .map((task) => task.taskRef);\n const followUp = {\n taskRef,\n objective: `Meet ${unmet.requirementRef}, which ${origin.taskRef} reported still unmet: ${unmet.missing} `\n + 'Read what is already built first: if a task that ran since has met it, change nothing and say so. '\n + (servingTasks.length > 0 ? `Other tasks serving it: ${servingTasks.join(', ')}; their work is theirs. ` : '')\n + 'Derived by the dispatch host from that run\\'s closing report.',\n target: origin.target,\n produces: [],\n functionalTopic: origin.functionalTopic,\n skillRefs: origin.skillRefs,\n prerequisiteTaskRefs: [origin.taskRef],\n // Only a ref the origin serves: a free-text ref would be a dangling citation in the plan.\n servesRefs: origin.servesRefs.includes(unmet.requirementRef) ? [unmet.requirementRef] : [],\n } as BuildPlanTask;\n if (origin.target.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP || resolveBuildTaskLandedProbes(followUp).length > 0) {\n this.logger.warn?.(`A reported gap on ${origin.taskRef} (${origin.target.kind}) derives no follow-up: that target does not land by a coding run, so a follow-up would read as landed without running. The gap stays on the run's record.`, { requirementRef: unmet.requirementRef });\n continue;\n }\n const extended = BuildPlanTaskGraphSchema.safeParse({ ...current, tasks: [...current.tasks, followUp] });\n if (!extended.success) {\n this.logger.warn?.(`A reported gap on ${origin.taskRef} could not become a follow-up task; it stays on the run's record`, { requirementRef: unmet.requirementRef, issues: extended.error.issues.map((issue) => issue.message) });\n continue;\n }\n current = extended.data;\n taskRefs.add(taskRef);\n }\n }\n /*\n * Whenever the cap is hit, derived or not (#2496 review N1): the gap the cap hides is exactly the case that derives\n * nothing. Once per process, since the plan is read on every board poll and the answer does not change between them.\n */\n if (runs.truncated && !this.followUpListingTruncationWarned) {\n this.followUpListingTruncationWarned = true;\n this.logger.warn?.(`The coding-run listing hit its ${BUILD_TASK_RECORD_HISTORY_CEILING}-run ceiling: a gap an older run reported may not have derived its follow-up.`);\n }\n return current;\n }\n\n /**\n * The build plan with a `display-name` step at its head whenever the landed brand's name is not the COMMITTED\n * `displayName` (#2505). Derived for the reason {@link withHostDerivedEngineCapabilitiesStep} is: the brand decided\n * the name, and applying it is a consequence, not a decision the plan makes. No edges, so it never dangles once it\n * has landed and is derived no longer. Best effort: an unreadable brand derives nothing.\n */\n private async withHostDerivedDisplayNameStep(\n graph: Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>>,\n ): Promise<Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>>> {\n const authorsStep = graph.tasks.some((task) => task.target?.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP\n && task.target.generationStepRef === ApplicationBuildGenerationStep.DISPLAY_NAME);\n if (authorsStep) return graph;\n let condition: Awaited<ReturnType<typeof this.generationSteps.resolveGenerationStepLandedCondition>>;\n try {\n condition = await this.generationSteps.resolveGenerationStepLandedCondition({\n taskRef: HOST_DERIVED_DISPLAY_NAME_TASK_REF,\n target: { kind: BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP, generationStepRef: ApplicationBuildGenerationStep.DISPLAY_NAME },\n } as BuildPlanTask);\n } catch (error) {\n this.logger.warn?.('Could not read the brand\\'s name; deriving no display-name step', { error: describeCaughtError(error) });\n return graph;\n }\n if (condition.kind === ApplicationBuildGenerationStepLandedKind.BRAND_UNREADABLE) {\n this.logger.warn?.('Could not read the brand\\'s name; deriving no display-name step', { detail: condition.detail });\n return graph;\n }\n if (condition.kind !== ApplicationBuildGenerationStepLandedKind.DISPLAY_NAME_APPLIED) return graph;\n if (await this.displayNameApplied(condition, this.createCommittedTreeReader())) return graph;\n if (graph.tasks.some((task) => task.taskRef === HOST_DERIVED_DISPLAY_NAME_TASK_REF)) {\n this.logger.warn?.(`The build plan owes a display-name step, but \"${HOST_DERIVED_DISPLAY_NAME_TASK_REF}\" already names another task; not deriving it.`);\n return graph;\n }\n return BuildPlanTaskGraphSchema.parse({\n ...graph,\n tasks: [\n {\n taskRef: HOST_DERIVED_DISPLAY_NAME_TASK_REF,\n objective: `Name the application \"${condition.displayName}\", as its brand decided: the SaaS config's displayName and every file the scaffold wrote the provisional name into. `\n + 'Derived by the dispatch host because the brand names the application and nothing has applied it.',\n target: {\n kind: BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP,\n generationStepRef: ApplicationBuildGenerationStep.DISPLAY_NAME,\n },\n produces: [],\n functionalTopic: MetaWorkflow_FunctionalTopic.CONFIGURE_APPLICATION_FOUNDATION,\n skillRefs: ['config-saas'],\n prerequisiteTaskRefs: [],\n servesRefs: [],\n },\n ...graph.tasks,\n ],\n });\n }\n\n /** Does `tree`'s configuration declare the display name a DISPLAY_NAME_APPLIED condition names (#2505)? */\n private async displayNameApplied(condition: { readonly configPath: string; readonly displayName: string }, tree: CommittedTreeReader): Promise<boolean> {\n const content = await tree.readText(condition.configPath);\n return content !== undefined && content !== null && readApplicationDisplayName(content) === condition.displayName;\n }\n\n /** The capabilities an ENGINE_CAPABILITIES_ENABLED condition names that `tree`'s configuration does not enable (#2497). */\n private async capabilitiesNotEnabledIn(\n condition: { readonly configPath: string; readonly capabilities: readonly string[] },\n tree: CommittedTreeReader,\n ): Promise<readonly string[]> {\n const content = await tree.readText(condition.configPath);\n // No committed configuration (or none readable) enables nothing.\n if (content === undefined || content === null) return [...condition.capabilities];\n return condition.capabilities.filter((capability) => readEngineCapabilityEnabled({ filePath: condition.configPath, content, capability }) !== true);\n }\n\n private async withHostDerivedMigrationStep(\n graph: Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>>,\n ): Promise<Awaited<ReturnType<typeof BuildPlanTaskGraphSchema.parseAsync>>> {\n const authorsMigrationStep = graph.tasks.some((task) => task.target?.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP\n && task.target.generationStepRef === ApplicationBuildGenerationStep.DATABASE_MIGRATIONS);\n if (authorsMigrationStep) return graph;\n const hasSchemaStage = graph.tasks.some((task) => task.target?.kind === BuildPlanTaskTargetKind.RESOURCE_STAGE\n && task.target.stage === BuildPlanResourceStage.SCHEMA);\n const { obligation } = await this.generationSteps.assessSchemaPlanObligation();\n const owed = obligation === ApplicationSchemaPlanObligation.BASELINE_OWED\n || (hasSchemaStage && (obligation === ApplicationSchemaPlanObligation.ACCEPTED_PLAN || obligation === ApplicationSchemaPlanObligation.UNDETERMINED));\n if (!owed) return graph;\n if (graph.tasks.some((task) => task.taskRef === HOST_DERIVED_DATABASE_MIGRATIONS_TASK_REF)) {\n // The ref is taken by a task that is NOT a migration step. Deriving would duplicate a ref, which\n // the graph schema refuses — so say so rather than silently dropping the obligation.\n this.logger.warn?.(\n `The build plan owes a database-migrations step, but \"${HOST_DERIVED_DATABASE_MIGRATIONS_TASK_REF}\" already names another task; not deriving it.`,\n );\n return graph;\n }\n return BuildPlanTaskGraphSchema.parse({\n ...graph,\n tasks: [\n {\n taskRef: HOST_DERIVED_DATABASE_MIGRATIONS_TASK_REF,\n objective: (obligation === ApplicationSchemaPlanObligation.BASELINE_OWED\n ? 'Generate the initial migration and its schema-plan baseline, so the tables this PostgreSQL application declares exist before its backend boots. '\n : 'Migrate the schema drift that accepted schema-stage changes created, so the application can still boot. ')\n + 'Derived by the dispatch host because the build plan owes this step and does not author it.',\n target: {\n kind: BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP,\n generationStepRef: ApplicationBuildGenerationStep.DATABASE_MIGRATIONS,\n },\n produces: [],\n functionalTopic: MetaWorkflow_FunctionalTopic.MODEL_DOMAIN_GRAPH,\n skillRefs: ['application-database-migrations'],\n prerequisiteTaskRefs: [],\n servesRefs: [],\n },\n ...graph.tasks,\n ],\n });\n }\n\n /**\n * What the run is allowed to see — the PUSH floor of the dispatch lane's context (issue #253).\n *\n * Widened 2026-09-02 from \"the task itself and nothing else yet\" to the lean mandatory core the\n * epic's re-analysis decided, and deliberately no further: everything an agent might need beyond\n * its target's blast radius is the PULL door's job (`wildo context …`, issue #252), which the\n * `live-queries` source below points at. Anticipating everything here would be the planner trap\n * (#254) re-entering through the push door. Everything is model-safe by construction — the\n * application's own accepted build plan, its own live registry, its own domain plan, its installed\n * skill index and its own configuration (#2495) — and the contract's composer re-asserts\n * `SAFE_FOR_MODEL` on every source regardless.\n *\n * The skill-index source is the one deliberate widening past \"the target's blast radius\" (#2495):\n * measured over 005's coding runs, workers never opened the index and read the engine's compiled\n * code instead, so a door they do not know to open is not a pull door. It carries only the domains\n * the task's own skills belong to (median ~5 KB over 005's plan; a website task reaches ~26 KB,\n * the Website domain being the index's largest), plus the names of the others.\n *\n * ## Failure posture: best-effort on the derived sources, deliberately\n *\n * The playbook lane's workspace-truth section fails CLOSED, because a tool-less planner with no\n * workspace truth invents module ids. A CODING agent is the opposite case on both counts: it has\n * tools (it can read the tree, and the door), so a missing derived source degrades speed rather\n * than truth — while refusing the dispatch because a subprocess hiccuped would block the build on\n * context the run could recover for itself. So: the TASK is always present, the derived sources\n * are added when their reads succeed, and a failed read is a WARN naming what was omitted.\n *\n * ## No new cache, verified rather than assumed\n *\n * The re-analysis asked for the introspection read to be cached across a 55-task plan. It already\n * is: `CompanionIntrospectionService.requestInfo` carries its own source-state derivation cache,\n * keyed on the observed workspace state — asking again after nothing changed is a cache hit, and\n * a landed task invalidates it by changing the sources it hashes. Adding a second cache here would\n * be a copy that can only ever disagree.\n */\n\n /** The coding contract for one task: its skills resolved once, and carried by both the contract and its self-description. */\n private async composeTaskCodingContract(\n task: BuildPlanTask,\n boundary: Parameters<typeof composeBuildTaskCodingContract>[0]['boundary'],\n totalTasks: number,\n landedOverride?: BuildTaskLandedOverride,\n ): Promise<ReturnType<typeof composeBuildTaskCodingContract>> {\n const skillRefs = await this.resolveTaskSkillRefs(task);\n const contextSources = await this.buildContextSources(task, totalTasks, skillRefs);\n return composeBuildTaskCodingContract({\n task,\n boundary,\n // An operator ran this task although its probe calls it landed: the run is told why (#2409).\n contextSources: landedOverride ? [...contextSources, landedOverrideContextSource(landedOverride)] : contextSources,\n objectiveRef: 'application-creation:objective/build-plan',\n installedSkillRefs: skillRefs,\n });\n }\n\n /**\n * The skills a coding task is authored with — the ONE list the contract's `installedSkillRefs`, the\n * task self-description and the dispatch plan all carry. A website task's are DERIVED from the website\n * plan (a section is authored with the skill its kind names), and an experience task's from its\n * products (a view, a frontend configuration, a milestone, a piece of guidance — #1660), not trusted\n * from the decomposer's model; every other task keeps what it declared.\n *\n * One list on purpose: the agent's prompt loads `installedSkillRefs` and treats context sources as\n * data, so a derivation that reached only the self-description was a skill the agent was never told to\n * load — the first version of this fix did exactly that.\n *\n * Whichever list that is, the skills the task's PRODUCTS require are added to it (#1832): an inbound\n * channel handler is authored with `inbound-channels` on every path, including a task that also carries\n * an experience product and so takes the experience derivation. So are the skills its TARGET requires\n * (#2495): a CONFIG task on a resource whose schema declares personal data carries the retention skill.\n */\n private async resolveTaskSkillRefs(task: BuildPlanTask): Promise<readonly string[]> {\n const targetDeclaresPersonalData = await this.targetResourceDeclaresPersonalData(task);\n return [...new Set([...(await this.resolveTargetSkillRefs(task)), ...productDerivedSkillRefs(task), ...targetDerivedSkillRefs(task, { targetDeclaresPersonalData })])];\n }\n\n /**\n * Whether a resource-stage task's target DECLARES personal data in its schema (#2495), read from the file its SCHEMA\n * task wrote (every CONFIG task depends on it). A schema that cannot be read is answered `false` and logged: the\n * retention skill is then not routed, which is the state before #2495, never a guess.\n */\n private async targetResourceDeclaresPersonalData(task: BuildPlanTask): Promise<boolean> {\n if (task.target.kind !== BuildPlanTaskTargetKind.RESOURCE_STAGE || task.target.stage !== BuildPlanResourceStage.CONFIG) return false;\n const schemaPath = resourceSchemaFilePath(task.target.moduleRef, task.target.resourceRef);\n try {\n return schemaSourceDeclaresPersonalData(await readFile(join(this.companionContext.saasRoot, schemaPath), 'utf8'));\n } catch (error) {\n this.logger.warn('Personal-data probe skipped: the target schema could not be read, so the retention skill is not routed', { taskRef: task.taskRef, schemaPath, error: String(error) });\n return false;\n }\n }\n\n private async resolveTargetSkillRefs(task: BuildPlanTask): Promise<readonly string[]> {\n if (task.target.kind === BuildPlanTaskTargetKind.WEBSITE) {\n try {\n return websiteTaskSkillRefs(task, await loadSpecificationsCompanionExports(this.companionContext));\n } catch (error) {\n this.logger.warn('Website skill derivation skipped; the task keeps its declared skills', { taskRef: task.taskRef, error: String(error) });\n return task.skillRefs;\n }\n }\n if (taskHasExperienceProduct(task)) {\n try {\n return experienceTaskSkillRefs(task, await loadSpecificationsCompanionExports(this.companionContext));\n } catch (error) {\n // Only an execution view needs the plan; every other experience product still derives from itself.\n this.logger.warn('Experience plan unreadable; skills derived from the products alone', { taskRef: task.taskRef, error: String(error) });\n return experienceTaskSkillRefs(task, undefined);\n }\n }\n return task.skillRefs;\n }\n\n /**\n * Every section of one coding brief. Each declares its TRUST class where it is built (#2846): `BuildTaskContextSource`\n * requires one, so a section added without a class does not compile. Every section here is TRUSTED except the\n * third-party element sections appended last, which carry what the trusted ones routed out through `thirdParty`.\n */\n private async buildContextSources(task: BuildPlanTask, totalTasks: number, skillRefs: readonly string[]): Promise<readonly BuildTaskContextSource[]> {\n const sources: BuildTaskContextSource[] = [buildTaskSelfDescriptionContextSource(task, totalTasks, skillRefs)];\n /*\n * WHICH ELEMENTS CAME FROM THE WEB, from the compiled catalog. Never throws: a catalog that cannot be read, or names\n * no research step (a shipped one always does, so it was misread), routes EVERY decided element to a third-party\n * section (#2846 review L1). That marks more and blocks nothing. The brief says why, in a trusted section the run's\n * row copies.\n */\n const researchInformed = readCompiledResearchInformedContent();\n const thirdParty = new ThirdPartyBriefContent(researchInformed);\n // assurance-control: WILDO.SOFTWARE.AI_PRODUCED_CHANGE_CONTROL — a brief built without a readable catalog says so, and the run row records why.\n if (researchInformed.reading !== ResearchProvenanceCatalogReading.READ) {\n if (!this.unreadableProvenanceWarned) {\n this.unreadableProvenanceWarned = true;\n this.logger.warn('The compiled playbook catalog could not say which brief elements came from web research; every decided element is routed as third-party', {\n taskRef: task.taskRef, reading: researchInformed.reading, reason: researchInformed.unreadableReason,\n });\n }\n sources.push({\n sourceRef: BRIEF_PROVENANCE_UNAVAILABLE_SOURCE_REF,\n originRef: 'application-creation:origin/dev-companion',\n // The companion's own statement about how it built this brief.\n trust: MetaWorkflow_ContextSourceTrust.TRUSTED,\n content: {\n reading: researchInformed.reading,\n ...(researchInformed.unreadableReason !== undefined ? { reason: researchInformed.unreadableReason } : {}),\n /*\n * Only what the brief's builders ROUTE (#2846 review N5): served elements and the website plan's resolved elements.\n * The vision one-liner, the task labels, the domain-plan slice, the placement plan and the build-task objective\n * never pass through routing, and carrying text forward from research is #2937's indirect taint.\n */\n effect: 'Every served element and every element the website plan resolves is in a THIRD_PARTY section, screened or marked '\n + 'as unscreened, because the companion could not tell which ones came from web research. The rest of the brief is '\n + 'carried as usual.',\n },\n });\n }\n\n /*\n * WHAT THE LAST ATTEMPT RAN INTO (#1536). A retry used to be byte-identical to the attempt that\n * failed, which is the definition of the loop an attempt budget exists to stop: the one input the\n * next attempt lacks is how the previous one failed. Shown with the re-arm note when there is one,\n * because \"it failed like this, and this was fixed\" is exactly what a retry needs. Best-effort.\n */\n try {\n const [latest] = await this.dispatch.listAttributableFailedRunsForBuildTask(task.taskRef, undefined, { includeRearmed: true });\n if (latest !== undefined) sources.push(previousAttemptContextSource(latest));\n } catch (error) {\n this.logDebug('Previous-attempt source omitted from the dispatch context', { taskRef: task.taskRef, error: String(error) });\n }\n\n /*\n * WHAT HAPPENED TO THE LAST COMPLETED ATTEMPT, when a sibling overwrote its product (#2210). The re-run\n * meets a shared file that now holds other tasks' entries and not its own; told nothing, an agent may\n * \"restore\" the file to what it wrote last time and remove theirs. Only the LATEST completed run is\n * read, so a task that has since completed cleanly is not told about an old collision. Best-effort.\n */\n try {\n const [latestCompleted] = [...(await this.dispatch.listCompletedRunsForBuildTask(task.taskRef))]\n .sort((left, right) => (right.completedAt ?? '').localeCompare(left.completedAt ?? ''));\n if (latestCompleted?.interference !== undefined) sources.push(interferedAttemptContextSource(latestCompleted.taskId, latestCompleted.interference));\n } catch (error) {\n this.logDebug('Interfered-attempt source omitted from the dispatch context', { taskRef: task.taskRef, error: String(error) });\n }\n\n /*\n * The DOOR MENU — tier-0 of the pull half: the live-query ids and the two commands that expand\n * them. Ids only, not descriptions: `wildo context list` IS the descriptions, one command away,\n * and rendering ~27 descriptions into every dispatch prompt would spend the budget this source\n * exists to save. Read from the same catalog the CLI menu serves, so it cannot drift from what\n * the companion actually answers.\n */\n const catalog = this.introspection.describeCatalog();\n sources.push({\n sourceRef: 'application-creation:context/live-queries',\n originRef: 'application-creation:origin/dev-companion',\n // The companion's own catalog of what it answers.\n trust: MetaWorkflow_ContextSourceTrust.TRUSTED,\n content: {\n guidance: 'Live application state is one shell command away — prefer asking over re-deriving from the tree. '\n + '`wildo context list` prints the menu with descriptions; `wildo context info <behaviorId>` runs one query; '\n + '`wildo context journey` shows the creation journey; `wildo context coherence` the cross-family coherence report; '\n + '`wildo context elements map|get|related` retrieves the product decisions already made (ICPs, requirements, phases…) '\n + 'a subset at a time — map first, then get the refs your task needs.',\n behaviorIds: catalog.behaviors.map((behavior) => behavior.behaviorId),\n },\n });\n\n /*\n * THE SKILLS BEYOND THE ROUTED ONES (#2495). Measured over ~100 coding runs of app-creation-test-005: the skill\n * index was opened 0 times, and where the routed skills fell short the workers read the engine's compiled `dist`.\n * The index is installed in the application; the brief carries the sections of the domains its routed skills\n * belong to (every sibling skill, with its trigger phrases) and the name of every other domain. Best-effort.\n */\n try {\n const indexMarkdown = await readFile(join(this.companionContext.saasRoot, INSTALLED_SKILL_INDEX_RELATIVE_PATH), 'utf8');\n const slice = sliceSkillIndexForTask(indexMarkdown, skillRefs);\n if (slice !== undefined) {\n sources.push({\n sourceRef: 'application-creation:context/skill-index',\n originRef: 'application-creation:origin/installed-skill-index',\n // Framework knowledge, compiled and installed by the framework.\n trust: MetaWorkflow_ContextSourceTrust.TRUSTED,\n content: {\n guidance: `Your installed skills are listed above; these are the domains they belong to, with every sibling skill. A skill named here is at \\`.claude/skills/<id>/SKILL.md\\` — read it before reaching for the engine's compiled code. The whole catalogue is \\`${INSTALLED_SKILL_INDEX_RELATIVE_PATH}\\`.`,\n routedDomains: slice.routedDomains,\n otherDomains: slice.otherDomains,\n },\n });\n }\n } catch (error) {\n // WARN, as the method's other omissions: a brief silently missing its skill index is the 005 state again.\n this.logger.warn('Skill-index source omitted from the dispatch context', { taskRef: task.taskRef, error: String(error) });\n }\n\n /*\n * WHAT THE APPLICATION HAS TURNED ON (#2495). 005 shipped ORGANIZATIONS disabled under an organization-scoped domain\n * plan, and no worker could see it. Read from the configuration (total over the capability vocabulary) and the\n * domain plan's tenancy decision; a contradiction between them is stated, never resolved here. Best-effort.\n */\n try {\n const configContent = await readFile(join(this.companionContext.saasRoot, SAAS_CONFIG_FILE_NAME), 'utf8');\n let tenancy: DomainPlanTenancyModel | undefined;\n try {\n const exports = await loadSpecificationsCompanionExports(this.companionContext);\n const declared = (exports as { domainPlanSpecification?: { tenancy?: unknown } }).domainPlanSpecification?.tenancy;\n tenancy = Object.values(DomainPlanTenancyModel).find((member) => member === declared);\n } catch {\n // No readable domain plan: the capabilities still reach the brief, without the tenancy comparison.\n }\n const facts = readApplicationCapabilityFacts({ configContent, configPath: SAAS_CONFIG_FILE_NAME, tenancy });\n sources.push({\n sourceRef: 'application-creation:context/application-capabilities',\n originRef: 'application-creation:origin/application-configuration',\n // The application's own committed configuration.\n trust: MetaWorkflow_ContextSourceTrust.TRUSTED,\n content: {\n ...facts,\n note: 'Engine capabilities as `wildo.saas.config.ts` declares them. Build only on what is enabled: an organization-scoped resource or an '\n + 'organization role assumes ORGANIZATIONS, a sent email assumes EMAIL_TRANSACTIONAL. A capability this task needs and the configuration '\n + 'does not enable is reported in your result, not enabled by you.',\n },\n });\n } catch (error) {\n this.logger.warn('Application-capabilities source omitted from the dispatch context', { taskRef: task.taskRef, error: String(error) });\n }\n\n const moduleRef = task.target && 'moduleRef' in task.target ? task.target.moduleRef : undefined;\n const resourceRef = task.target && 'resourceRef' in task.target ? task.target.resourceRef : undefined;\n\n // WORKSPACE TRUTH, sliced to the target: the target module's real resources and present schema\n // fields, plus the exact list of every module id (counts stay exact — a slice that hid the\n // population would under-report, and an agent that invents a module id dispatches a no-op).\n try {\n const backendServiceKey = Object.entries(this.companionContext.servicesByKey)\n .find(([, service]) => !service.frontendType)?.[0];\n if (backendServiceKey) {\n const result = await this.introspection.requestInfo({ serviceKey: backendServiceKey, behavior: 'resources-registry' });\n if (result.success) {\n const snapshot = result.data as {\n modules?: ReadonlyArray<{ moduleId: string; resourceTypes: readonly string[] }>;\n resourceSchemaFields?: Record<string, readonly string[]>;\n };\n const modules = snapshot.modules ?? [];\n const targetModule = moduleRef === undefined\n ? undefined\n : modules.find((sharedModule) => slugifyRegistryIdentifier(sharedModule.moduleId) === moduleRef);\n sources.push({\n sourceRef: 'application-creation:context/workspace-truth',\n originRef: 'application-creation:origin/resources-registry-introspection',\n // The application's own registry, introspected: names of modules, resources and fields.\n trust: MetaWorkflow_ContextSourceTrust.TRUSTED,\n content: {\n allModuleIds: modules.map((sharedModule) => sharedModule.moduleId),\n ...(targetModule\n ? {\n targetModule: {\n moduleId: targetModule.moduleId,\n resources: targetModule.resourceTypes.map((resourceType) => ({\n resourceType,\n slugRef: slugifyRegistryIdentifier(resourceType),\n presentSchemaFields: snapshot.resourceSchemaFields?.[resourceType] ?? [],\n })),\n },\n }\n : {}),\n note: 'A resource listed here already EXISTS as a registered skeleton — its task is enrichment, not creation. '\n + 'A domain-plan resource NOT listed here does not exist yet. Full registry: `wildo context info resources-registry`.',\n },\n });\n } else {\n this.logDebug('Workspace-truth source omitted from the dispatch context (introspection failed)', { taskRef: task.taskRef });\n }\n }\n } catch (error) {\n this.logger.warn('Workspace-truth source omitted from the dispatch context', { taskRef: task.taskRef, error: String(error) });\n }\n\n /*\n * THE TARGET RESOURCE AND WHAT IT IS CONNECTED TO (#1437).\n *\n * The module slice above answers \"what else is in this module\", which is neither what a\n * resource-targeted task needs nor all of it: it OVER-supplies the siblings the task never\n * touches, and UNDER-supplies the engine resources the target's own foreign keys point at —\n * `users`, `organizations`, the scope anchors, which are the most load-bearing edges a resource\n * has and are in no application module at all. It also carries field NAMES only: no\n * relationships, no operations, no specification prose.\n *\n * One hop from the target is the honest neighbourhood. Two hops reaches most of the application\n * through the scope anchors, which is the whole-registry answer with extra steps.\n *\n * Best-effort like every source here, and it costs a derivation the first time (~35 s) that\n * every later task on this application reads from cache. A dispatch runs for minutes and spends\n * real money; paying that once to stop the agent guessing at a relationship is the cheaper half.\n */\n if (resourceRef !== undefined) {\n try {\n const backendServiceKey = Object.entries(this.companionContext.servicesByKey)\n .find(([, service]) => !service.frontendType)?.[0];\n if (backendServiceKey) {\n const { index, freshness } = await readWorkspaceElements(this.introspection, backendServiceKey);\n /*\n * The plan addresses resources by SLUG and the registry by `resourceType`; they differ\n * (`todoList` vs `todo-list`). Resolved by slugifying the index's own keys rather than by\n * un-slugifying the ref, because the slug is lossy and the registry is the authority on\n * which resources exist.\n */\n const resourceType = [...index.resources.keys()].find((candidate) => slugifyRegistryIdentifier(candidate) === resourceRef);\n const related = resourceType === undefined ? undefined : relatedWorkspaceResources(index, resourceType);\n if (related) {\n sources.push({\n sourceRef: 'application-creation:context/target-resource-neighbourhood',\n originRef: 'application-creation:origin/application-domain-model',\n // The application's own resources as its code declares them.\n trust: MetaWorkflow_ContextSourceTrust.TRUSTED,\n content: {\n freshness: describeWorkspaceFreshness(freshness),\n target: resourceType,\n edges: related.edges,\n resources: related.resources,\n ...(related.unresolved.length > 0 ? { unresolvedNeighbours: related.unresolved } : {}),\n note: 'The target resource as it EXISTS today, with its fields, operations and relationships, plus the '\n + 'resources one hop away. Direction matters: `foreignKeyHolderResourceType` says which side carries the key. '\n + 'Ask for more with `wildo context workspace get <resourceType>` or `wildo context workspace related <resourceType>`.',\n },\n });\n } else {\n // Said rather than omitted: a target the registry does not carry is a CREATION task, and\n // an absent section would read as a failed read.\n this.logDebug('Target resource is not registered yet — no neighbourhood to supply', { taskRef: task.taskRef, resourceRef });\n }\n }\n } catch (error) {\n this.logger.warn('Target-resource neighbourhood omitted from the dispatch context', { taskRef: task.taskRef, error: String(error) });\n }\n }\n\n // THE DOMAIN-PLAN SLICE for the target: WHAT this task's objective enriches toward, in the\n // application's own accepted words — the module semantics and, for a relationship task, the\n // relationship drafts touching the target. Absent plan (older app, or foundation not run) is\n // simply absent; nothing here invents a fallback.\n try {\n const exports = await loadSpecificationsCompanionExports(this.companionContext);\n const domainPlan = (exports as { domainPlanSpecification?: unknown }).domainPlanSpecification as {\n modules?: ReadonlyArray<{ relatedModuleId: string; mainResources?: readonly string[]; supportingResources?: readonly string[] }>;\n relationships?: ReadonlyArray<{ relationshipRef: string; sourceResourceRef: string; targetResourceRef: string }>;\n lifecycles?: ReadonlyArray<{ resourceRef: string; transitions: ReadonlyArray<{ createsResourceRef?: string }> }>;\n } | undefined;\n const planModules = domainPlan?.modules ?? [];\n const targetPlanModule = moduleRef === undefined\n ? undefined\n : planModules.find((planModule) => slugifyRegistryIdentifier(planModule.relatedModuleId) === moduleRef);\n if (targetPlanModule) {\n const moduleResourceSlugs = new Set(\n [...(targetPlanModule.mainResources ?? []), ...(targetPlanModule.supportingResources ?? [])]\n .map((resourceType) => slugifyRegistryIdentifier(resourceType)),\n );\n sources.push({\n sourceRef: 'application-creation:context/domain-plan-slice',\n originRef: 'application-creation:origin/domain-plan',\n /*\n * The committed domain plan. Its producer reads no research step's evidence directly, so the derivation does not\n * taint it; it may still carry forward text its model read in a research-informed family (#2937).\n */\n trust: MetaWorkflow_ContextSourceTrust.TRUSTED,\n content: {\n targetModule: targetPlanModule,\n ...(resourceRef !== undefined ? { targetResourceRef: resourceRef } : {}),\n relationshipsTouchingModule: (domainPlan?.relationships ?? []).filter((relationship) =>\n moduleResourceSlugs.has(slugifyRegistryIdentifier(relationship.sourceResourceRef))\n || moduleResourceSlugs.has(slugifyRegistryIdentifier(relationship.targetResourceRef))),\n /*\n * The states, transitions and stamped fields of the module's resources (#2491 review F5), and any lifecycle\n * whose conversion creates one of them. The schema task creates the status enum and the stamped fields\n * from these, and a transition task needs its starting states; carried only in prose objectives, the\n * states were whatever the decomposer happened to restate.\n */\n lifecyclesTouchingModule: (domainPlan?.lifecycles ?? []).filter((lifecycle) =>\n moduleResourceSlugs.has(slugifyRegistryIdentifier(lifecycle.resourceRef))\n || lifecycle.transitions.some((transition) => transition.createsResourceRef !== undefined\n && moduleResourceSlugs.has(slugifyRegistryIdentifier(transition.createsResourceRef)))),\n },\n });\n }\n } catch (error) {\n this.logger.warn('Domain-plan slice omitted from the dispatch context', { taskRef: task.taskRef, error: String(error) });\n }\n\n // WHAT THIS TASK IS FOR (#1419): the full text of every element its `servesRefs` names — the\n // requirements, phases, success criteria and constraints it answers to — and a map of the other\n // tasks building the same module. Without it the agent knew WHAT to build and not what it was for:\n // no acceptance criterion, no served success criterion, no constraint. A deterministic derivation\n // through the one decided-element index (#1416), so it sits inside the push floor of decision\n // #251 — nothing here chooses context.\n try {\n const servedSource = buildServedElementsContextSource(task, await loadSpecificationsCompanionExports(this.companionContext), thirdParty);\n if (servedSource !== null) sources.push(servedSource);\n } catch (error) {\n this.logger.warn('Served-elements source omitted from the dispatch context', { taskRef: task.taskRef, error: String(error) });\n }\n\n // WHAT A WEBSITE TASK IS BUILDING: its page or section as the website plan decided it, and the\n // boundary between a page task and its section tasks. See `buildWebsitePlanContextSource`.\n if (task.target.kind === BuildPlanTaskTargetKind.WEBSITE) {\n try {\n const companionExports = await loadSpecificationsCompanionExports(this.companionContext);\n const websiteSource = buildWebsitePlanContextSource(\n task,\n companionExports,\n await this.resolveWebsiteClaimDelivery(companionExports),\n await this.resolveWebsiteDemoFacts(websiteTaskDemoResourceRef(task, companionExports)),\n thirdParty,\n );\n if (websiteSource !== null) sources.push(websiteSource);\n } catch (error) {\n this.logger.warn('Website-plan source omitted from the dispatch context', { taskRef: task.taskRef, error: String(error) });\n }\n }\n\n // WHAT A SHELL TASK MUST MAKE THE SHELL CARRY (#1554): the placement plan's decisions for its\n // surface, in the identities the landing probe compares. Same derivation as the probe's witness.\n if (task.target.kind === BuildPlanTaskTargetKind.SHELL_PLACEMENT) {\n try {\n sources.push(buildShellPlacementPlanContextSource(task.target.surface, await loadSpecificationsCompanionExports(this.companionContext)));\n } catch (error) {\n this.logger.warn('Shell-placement-plan source omitted from the dispatch context', { taskRef: task.taskRef, error: String(error) });\n }\n }\n\n /*\n * WHAT WAS WRITTEN OUTSIDE THE REPOSITORY (#2846), last: every research-informed element the sections above would\n * have inlined, each in its own THIRD_PARTY section, screened through the application's content-safety classifier\n * before it travels. A flagged element is withheld with a notice; an element nothing could screen travels MARKED as\n * unscreened. Never a refusal: the lane runs whatever the classifier answers.\n */\n sources.push(...await screenThirdPartyBriefElements(thirdParty.elements(), {\n contentSafety: this.contentSafety,\n logger: this.logger,\n taskRef: task.taskRef,\n verdicts: this.briefScreeningVerdicts,\n }));\n return sources;\n }\n}\n\n/**\n * The previous FAILED attempt of a task, as a retry is shown it (#1536): its disposition, each check it\n * failed with the tail of that check's output, the agent's own closing words, and the re-arm note when\n * an operator released it. Read off the durable row; nothing new is recorded to produce it.\n */\nexport function previousAttemptContextSource(run: {\n readonly taskId: string;\n readonly settledAt?: string;\n /** When the run started; absent for one that never did (`deriveCodingRunStart`). */\n readonly startedAt?: string;\n readonly memory: unknown;\n readonly output: Record<string, unknown>;\n}): BuildTaskContextSource {\n const tail = (value: unknown): string | undefined =>\n typeof value === 'string' && value.length > 0 ? value.slice(-PREVIOUS_ATTEMPT_OUTPUT_TAIL_CHARS) : undefined;\n const verification = Array.isArray(run.output.verification) ? run.output.verification : [];\n const failedChecks = verification\n .filter((entry): entry is { checkRef?: unknown; outcome?: Record<string, unknown> } => typeof entry === 'object' && entry !== null)\n .filter((entry) => entry.outcome?.success === false)\n .map((entry) => ({\n checkRef: String(entry.checkRef ?? ''),\n ...(tail(entry.outcome?.message) ? { message: tail(entry.outcome?.message) } : {}),\n ...(tail(entry.outcome?.stdoutTail) ? { stdoutTail: tail(entry.outcome?.stdoutTail) } : {}),\n ...(tail(entry.outcome?.stderrTail) ? { stderrTail: tail(entry.outcome?.stderrTail) } : {}),\n }));\n const rearm = readBuildTaskRearm(run.memory);\n // A coding run records its failure as `error`, a refusal as `failure` — one reader for both (#2390).\n const failureMessage = readSettledRunFailureMessage(run.output);\n /*\n * Three different histories, told apart (#1581, second review A5). Telling the agent \"repeat the same\n * approach and it fails the same way\" is right only when the approach WAS judged: a turn the host took\n * away, or a dispatch refused before anything ran, judged nothing about the work.\n */\n // The budget lists FAILED runs only; whether one ever started is the shared derivation's answer.\n const start = deriveCodingRunStart({ status: FlowsActors_Status.FAILED, ...(run.startedAt ? { startedAt: run.startedAt } : {}), output: run.output });\n const guidance = start === CodingRunStart.REFUSED_CONTRACT\n ? 'A previous dispatch of this task was refused at admission for its OWN contract — nothing ran. The '\n + 'refusal below names what the contract gets wrong (for example a verification check this host does '\n + 'not register); dispatching it unchanged is refused the same way.'\n : start === CodingRunStart.REFUSED_BY_HOST\n ? 'A previous dispatch of this task was refused before it started, so nothing ran and nothing was judged. '\n + 'The refusal is below for context; it is not a verdict on any approach.'\n : run.output.failureAttribution === CodingRunFailureAttribution.HOST\n ? 'The previous attempt of this task was stopped by the HOST, not by its work: the turn was taken away '\n + '(a provider limit, a killed process, an operator cancel) or the result could not be recorded. Nothing '\n + 'about the approach was judged; start the work normally, and read what it had reached if that helps.'\n : 'This task was attempted before and FAILED. Read why before starting: repeating the same approach '\n + 'will fail the same way. Fix what the failure names; do not work around a check.';\n return {\n sourceRef: 'application-creation:context/previous-attempt',\n originRef: 'application-creation:origin/dev-companion',\n /*\n * TRUSTED (#2846): the lane's own record of its own run, the application's checks on its own tree and the previous\n * worker's closing report. That worker read a brief whose third-party sections were screened or marked, but its own\n * words, and a check's output, may still carry text it read there or fetched itself (#2937).\n */\n trust: MetaWorkflow_ContextSourceTrust.TRUSTED,\n content: {\n guidance,\n runTaskId: run.taskId,\n ...(typeof run.output.failureAttribution === 'string' ? { failureAttribution: run.output.failureAttribution } : {}),\n ...(typeof failureMessage === 'string' ? { failure: failureMessage } : {}),\n ...(run.settledAt ? { failedAt: run.settledAt } : {}),\n ...(typeof run.output.disposition === 'string' ? { disposition: run.output.disposition } : {}),\n failedChecks,\n ...(tail(run.output.agentOutputTail) ? { agentClosingWords: tail(run.output.agentOutputTail) } : {}),\n ...(rearm ? { rearmedBecause: { reason: rearm.reason, note: rearm.note } } : {}),\n },\n };\n}\n\n/**\n * The previous COMPLETED attempt lost its product to a concurrent run (#2210). Pure, so what the re-run is\n * told can be pinned without composing a dispatch.\n */\nexport function interferedAttemptContextSource(runTaskId: string, interference: BuildTaskInterference): BuildTaskContextSource {\n return {\n sourceRef: 'application-creation:context/interfered-attempt',\n originRef: 'application-creation:origin/dev-companion',\n // The companion's own record of which runs collided.\n trust: MetaWorkflow_ContextSourceTrust.TRUSTED,\n content: {\n guidance: 'The previous attempt of this task COMPLETED, but other tasks running at the same time edited the same '\n + 'file(s) and its product was overwritten before it was committed. Nothing about the approach was judged. '\n + 'The files below are SHARED: open them as they stand now, add this task\\'s product beside what the other '\n + 'tasks put there, and do not remove or rewrite entries this task did not author.',\n runTaskId,\n sharedFiles: interference.contendedProductPaths,\n concurrentTasks: interference.overlappingTaskRefs,\n detectedAt: interference.detectedAt,\n },\n };\n}\n\n/**\n * The task's own DETERMINISTIC self-description — no introspection, no LLM.\n *\n * The first (and mandatory) context source of every coding task: what the task is, what it must\n * produce, and how its landing will be judged. A pure function of the task, so what the agent is told\n * about its own accountability can be pinned without composing a dispatch.\n *\n * (It was first extracted so a RESUME could rebuild a contract cheaply; that caller went when a parked\n * run's resume moved onto its actor execution in 02e241ae, which carries the context itself.)\n */\nexport function buildTaskSelfDescriptionContextSource(\n task: BuildPlanTask,\n totalTasks: number,\n /** The skills the agent is told to author with — the task's own unless the host derived better (a website task). */\n skillRefs: readonly string[] = task.skillRefs,\n): BuildTaskContextSource {\n return {\n sourceRef: 'application-creation:context/build-task',\n originRef: 'application-creation:origin/build-plan',\n // The committed build plan, decomposed from the application's own specifications.\n trust: MetaWorkflow_ContextSourceTrust.TRUSTED,\n content: {\n taskRef: task.taskRef,\n objective: task.objective,\n target: task.target,\n /*\n * WHAT THIS RUN IS ACCOUNTABLE FOR, and the agent has to be told.\n *\n * Landing is decided from `produces` (#597), so an agent that is not shown the artifacts it\n * must deliver can do excellent work on the objective's prose and still leave the task\n * unlanded — the host would re-offer it forever, and the cause would be invisible to\n * everyone. Handing it over costs nothing and is the same shape as `target`: a semantic\n * declaration the model reads, never a path it could author.\n */\n produces: task.produces,\n /*\n * HOW LANDING IS DECIDED, exactly (#1554). `produces` is the task's declaration; these are the\n * probes the host evaluates after the run, resolved by the same function landing calls. They\n * differ where the declaration is not what the tree spells: a SHELL_PLACEMENT task's refs name\n * the placement plan's decisions and appear in no file, so its probe asks what the composed\n * shell CARRIES (the `shell-placement-plan` source spells that out). An agent shown only\n * `produces` authored those refs as text, got one of two right by guessing from the objective,\n * and the run finished `completed_unlanded`.\n */\n landedWhen: resolveBuildTaskLandedProbes(task),\n /*\n * THE REQUIREMENTS THIS TASK SERVES (#2496). The agent reports one it could not fully meet against these refs, in\n * its closing report's `wildo-unmet-requirements` block; without them it could only describe a gap in prose, which\n * is how 005's workers said \"the roles do nothing yet\" and nothing ever acted on it.\n */\n servesRefs: task.servesRefs,\n functionalTopic: task.functionalTopic,\n skillRefs,\n prerequisiteTaskRefs: task.prerequisiteTaskRefs,\n positionInPlan: `one of ${totalTasks} tasks in the application's accepted build plan`,\n },\n };\n}\n\n/** One plan decision, with the identity the shell probe compares it by. */\nexport interface PlacementPlanShellExpectation {\n readonly decision: PlacementPlan['decisions'][number];\n readonly shellIdentity: string;\n /**\n * Who the placed entry is shown to (#2512), PER LAYER: the decision's own `requiredRoles` (written on the entry) and\n * its sidebar group's (written on the section). Never combined into one list: the browser expands core roles through\n * their inheritance, so an `ORG_MEMBER` group with an `ORG_ADMIN` decision intersects to nothing while admins see the\n * row. Each absent means everyone.\n */\n readonly audience: PlacementAudienceLayers;\n}\n\n/** The two layers a sidebar row's audience is written in; `undefined` is everyone. */\nexport interface PlacementAudienceLayers {\n readonly item?: readonly string[];\n readonly section?: readonly string[];\n}\n\n/** Whether two audiences admit the same roles; `undefined` is everyone. */\nfunction samePlacementAudience(left: readonly string[] | undefined, right: readonly string[] | undefined): boolean {\n if (left === undefined || right === undefined) return left === right;\n const leftSet = new Set(left);\n return leftSet.size === new Set(right).size && right.every((role) => leftSet.has(role));\n}\n\n/** Whether both layers admit the same roles. */\nfunction samePlacementAudienceLayers(left: PlacementAudienceLayers, right: PlacementAudienceLayers): boolean {\n return samePlacementAudience(left.section, right.section) && samePlacementAudience(left.item, right.item);\n}\n\n/** An audience as a reader sees it in a build record: `everyone`, or each restricted layer. */\nfunction describePlacementAudience(audience: PlacementAudienceLayers): string {\n const list = (roles: readonly string[]) => `[${[...roles].sort().join(', ')}]`;\n const layers = [\n ...(audience.section === undefined ? [] : [`section ${list(audience.section)}`]),\n ...(audience.item === undefined ? [] : [`item ${list(audience.item)}`]),\n ];\n return layers.length === 0 ? 'everyone' : layers.join(' + ');\n}\n\n/** What a placement plan asks of the shell, decision by decision. */\nexport interface PlacementPlanShellExpectations {\n /** What the plan PLACED on each surface. */\n readonly placed: ReadonlyMap<PlacementSurface, readonly PlacementPlanShellExpectation[]>;\n /** What the plan DECLINED — to be carried by no surface. */\n readonly declined: readonly PlacementPlanShellExpectation[];\n}\n\n/**\n * The PLAN half of the shell witness (#1538), as a pure function of the plan.\n *\n * Two readers need it and must not disagree: the landing probe, which compares it with what the\n * composed shell carries, and the coding agent, which has to be told it BEFORE the run (#1554). One\n * derivation is what makes \"the agent was shown the criterion it is judged by\" true by construction\n * rather than by two loops agreeing.\n */\nexport function derivePlacementPlanShellExpectations(plan: PlacementPlan): PlacementPlanShellExpectations {\n const placed = new Map<PlacementSurface, PlacementPlanShellExpectation[]>();\n const declined: PlacementPlanShellExpectation[] = [];\n const groupAudience = new Map(plan.groups.map((group) => [`${group.surface}::${group.groupRef}`, group.requiredRoles] as const));\n for (const decision of plan.decisions) {\n const shellIdentity = placementSubjectShellIdentity(decision.subject);\n if (decision.disposition === PlacementDisposition.DECLINED) {\n // A declined subject is shown to nobody, so it has no audience to compare.\n declined.push({ decision, shellIdentity, audience: {} });\n continue;\n }\n const address = decision.address;\n const section = address.surface === PlacementSurface.SIDEBAR ? groupAudience.get(`${address.surface}::${address.groupRef}`) : undefined;\n const audience: PlacementAudienceLayers = {\n ...(decision.requiredRoles === undefined ? {} : { item: decision.requiredRoles }),\n ...(section === undefined ? {} : { section }),\n };\n const entry = { decision, shellIdentity, audience };\n placed.set(address.surface, [...(placed.get(address.surface) ?? []), entry]);\n }\n return { placed, declined };\n}\n\n/**\n * A SHELL_PLACEMENT task's landing criterion, spelled for the agent that has to meet it (#1554).\n *\n * The task's `produces` names the plan's decision refs, which no file spells; the probe asks whether\n * the composed surface carries every subject the plan PLACED there and none it DECLINED, from\n * committed files. So the agent is handed the decisions themselves — subject, address and rationale —\n * each with the identity the probe compares, plus the command that reads the shell as the probe\n * reads it, so it can check its own work before finishing.\n *\n * Never `null` for a shell task: a missing or invalid plan is SAID, because \"nothing to place\" and\n * \"nothing says what to place\" lead the agent to opposite conclusions — the witness draws the same line.\n */\nexport function buildShellPlacementPlanContextSource(surface: PlacementSurface, companionExports: unknown): BuildTaskContextSource {\n // The committed placement plan: the application's own decisions about its shell.\n const base = { sourceRef: 'application-creation:context/shell-placement-plan', originRef: 'application-creation:origin/specification-families', trust: MetaWorkflow_ContextSourceTrust.TRUSTED, };\n const authored = (companionExports as Record<string, unknown> | null)?.['placementPlanSpecification'];\n const parsed = authored === undefined || authored === null ? undefined : PlacementPlanSchema.safeParse(authored);\n if (parsed === undefined || !parsed.success) {\n return {\n ...base,\n content: {\n surface,\n unanswerable: parsed === undefined\n ? 'The application has no placement plan, so nothing says what this surface should carry; the task cannot land until one exists.'\n : `The placement plan does not satisfy its schema (${parsed.error.issues.slice(0, 2).map((issue) => `${issue.path.join('.')}: ${issue.message}`).join('; ')}); the task cannot land until it does.`,\n },\n };\n }\n const describe = ({ decision, shellIdentity, audience }: PlacementPlanShellExpectation) => ({\n decisionRef: decision.decisionRef,\n subject: decision.subject,\n ...(decision.disposition === PlacementDisposition.PLACED ? { address: decision.address } : {}),\n rationale: decision.rationale,\n shellIdentity,\n // The entry's OWN audience, written on the entry; its section's is on its group in `groupsOnThisSurface`.\n ...(audience.item === undefined ? {} : { requiredRoles: audience.item }),\n });\n const expectations = derivePlacementPlanShellExpectations(parsed.data);\n /*\n * The containers the decisions address (#2481, #2512): each group on this surface with its purpose and order, on the\n * settings rail its sub-categories, and on the sidebar its audience. A decision names a group by ref only, so without\n * them the agent could place every section and still not know what heading to create, how to order it, that a category\n * has sub-categories a section's `subGroupRef` points into, or who a section is for.\n */\n const groupsOnThisSurface = parsed.data.groups.filter((group) => group.surface === surface).map((group) => ({\n groupRef: group.groupRef,\n purpose: group.purpose,\n order: group.order,\n ...(group.subGroups === undefined || group.subGroups.length === 0 ? {} : { subGroups: group.subGroups }),\n ...(group.requiredRoles === undefined ? {} : { requiredRoles: group.requiredRoles }),\n }));\n return {\n ...base,\n content: {\n surface,\n landingCriterion: `This task lands when the ${surface} surface, as the composed shell resolves it, carries every subject `\n + 'placed on it below and none of the declined subjects, and every file that surface is composed from is committed. '\n + 'The declarationRefs in `produces` name these decisions; they are never spelled in the tree, so writing them as text lands nothing. '\n + 'Roles are written per layer, exactly as listed: a group\\'s `requiredRoles` as `runtimeAvailability.requiredRoles` on its '\n + 'sidebar section, and an entry\\'s own `requiredRoles` on the entry. A layer that lists none carries none.',\n ...(groupsOnThisSurface.length === 0 ? {} : { groupsOnThisSurface }),\n placedOnThisSurface: (expectations.placed.get(surface) ?? []).map(describe),\n declinedEverywhere: expectations.declined.map(describe),\n selfCheck: '`wildo context info app-shell-placement-content` reports what each surface carries, in the same identities as '\n + '`shellIdentity` above. Run it before finishing: a placed identity it does not list is still missing.',\n },\n };\n}\n\n/**\n * The elements a build task SERVES, resolved, plus a map of its module's other tasks (#1419).\n *\n * Reads the task's own `servesRefs` edge through the decided-element index, so resolution is the same\n * membership routing every other surface uses. A ref that resolves to nothing is REPORTED in the\n * source, never skipped: the agent must know the task claims to serve something the application has\n * not decided (Wonder CRM carries one), rather than conclude it serves nothing. `null` when the task\n * declares nothing to serve and has no sibling in its module — the source would be empty.\n */\nexport function buildServedElementsContextSource(\n task: BuildPlanTask,\n companionExports: unknown,\n /**\n * Where a research-informed element goes instead of this section (#2846). REQUIRED, because this section is TRUSTED:\n * a served compliance constraint, or any element a research step filled, leaves it for its own screened section.\n */\n thirdParty: ThirdPartyBriefContent,\n): BuildTaskContextSource | null {\n const index = indexDecidedAspects(decidedFamilyValuesFromCompanionExports(companionExports as Record<string, unknown>));\n const TASK_ASPECT = 'build-plan.task';\n const SERVES_FIELD = 'servesRefs';\n const served = index.links\n .filter((link) => link.field === SERVES_FIELD && link.from.aspectKey === TASK_ASPECT && link.from.ref === task.taskRef)\n .map((link) => thirdParty.route({\n aspectKey: link.to.aspectKey,\n family: link.to.family,\n ref: link.to.ref,\n element: link.to.item,\n }));\n const unresolved = index.unresolved\n .filter((entry) => entry.field === SERVES_FIELD && entry.fromAspectKey === TASK_ASPECT && entry.fromRef === task.taskRef)\n .map((entry) => entry.key);\n\n const moduleRef = task.target && 'moduleRef' in task.target ? task.target.moduleRef : undefined;\n const moduleTasks = moduleRef === undefined\n ? []\n : (index.aspects.get(TASK_ASPECT)?.elements ?? [])\n .filter((element) => element.ref !== task.taskRef)\n .filter((element) => {\n const target = (element.item as { target?: { moduleRef?: string } }).target;\n return target?.moduleRef === moduleRef;\n })\n .map((element) => ({ taskRef: element.ref, objective: element.label }));\n\n if (served.length === 0 && unresolved.length === 0 && moduleTasks.length === 0) return null;\n return {\n sourceRef: 'application-creation:context/served-elements',\n originRef: 'application-creation:origin/specification-families',\n // The committed specifications this task answers to, with every research-informed element routed out.\n trust: MetaWorkflow_ContextSourceTrust.TRUSTED,\n content: {\n servedElements: served,\n ...(unresolved.length > 0\n ? {\n unresolvedServesRefs: unresolved,\n unresolvedNote: 'These servesRefs name nothing the application has decided. Do not invent what they would say; '\n + 'build what the resolved elements require, and report the gap.',\n }\n : {}),\n ...(moduleRef !== undefined ? { moduleRef, otherTasksInModule: moduleTasks } : {}),\n note: 'servedElements are what this task is accountable to — its acceptance criteria. otherTasksInModule is a map only: '\n + 'read a sibling with `wildo context elements get --refs <taskRef>` if you need it.',\n },\n };\n}\n"]}