@wildo-ai/dev-companion 1.1.8 → 1.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/companion-supervisor.d.mts +33 -0
- package/bin/companion-supervisor.mjs +174 -0
- package/bin/wildo-dev-companion-supervised.mjs +16 -0
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/brand/models/accepted-brand-mark.models.d.ts +46 -0
- package/dist/esm/brand/models/accepted-brand-mark.models.d.ts.map +1 -0
- package/dist/esm/brand/models/accepted-brand-mark.models.js +89 -0
- package/dist/esm/brand/models/accepted-brand-mark.models.js.map +1 -0
- package/dist/esm/brand/models/logo-creative-brief.schemas.d.ts.map +1 -1
- package/dist/esm/brand/models/logo-creative-brief.schemas.js.map +1 -1
- package/dist/esm/brand/models/logo-generation.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/brand/models/logo-generation.actors-system.definitions.js +8 -2
- package/dist/esm/brand/models/logo-generation.actors-system.definitions.js.map +1 -1
- package/dist/esm/brand/models/logo-judge.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/brand/models/logo-judge.actors-system.definitions.js +8 -2
- package/dist/esm/brand/models/logo-judge.actors-system.definitions.js.map +1 -1
- package/dist/esm/brand/models/logo-judge.schemas.d.ts +5 -3
- package/dist/esm/brand/models/logo-judge.schemas.d.ts.map +1 -1
- package/dist/esm/brand/models/logo-judge.schemas.js +5 -3
- package/dist/esm/brand/models/logo-judge.schemas.js.map +1 -1
- package/dist/esm/brand/services/brand-accept.companion.service.d.ts +1 -1
- package/dist/esm/brand/services/brand-accept.companion.service.d.ts.map +1 -1
- package/dist/esm/brand/services/brand-accept.companion.service.js +9 -11
- package/dist/esm/brand/services/brand-accept.companion.service.js.map +1 -1
- package/dist/esm/brand/services/brand-propagation.companion.utils.d.ts.map +1 -1
- package/dist/esm/brand/services/brand-propagation.companion.utils.js.map +1 -1
- package/dist/esm/brand/services/logo-deliberation.companion.service.d.ts.map +1 -1
- package/dist/esm/brand/services/logo-deliberation.companion.service.js +10 -7
- package/dist/esm/brand/services/logo-deliberation.companion.service.js.map +1 -1
- package/dist/esm/brand/services/logo-generation.companion.service.d.ts.map +1 -1
- package/dist/esm/brand/services/logo-generation.companion.service.js.map +1 -1
- package/dist/esm/brand/utils/derived-brand-assets.d.ts.map +1 -1
- package/dist/esm/brand/utils/derived-brand-assets.js.map +1 -1
- package/dist/esm/brand/utils/stage-brand-candidate.d.ts.map +1 -1
- package/dist/esm/brand/utils/stage-brand-candidate.js.map +1 -1
- package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts +21 -0
- package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js +33 -1
- package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js.map +1 -1
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts +130 -2
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js +176 -1
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
- package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.d.ts +52 -0
- package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.d.ts.map +1 -0
- package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.js +206 -0
- package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.js.map +1 -0
- package/dist/esm/claude-cli/models/coding-session-frame-retention.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/coding-session-frame-retention.js.map +1 -1
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts +38 -3
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js +48 -4
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js.map +1 -1
- package/dist/esm/claude-cli/models/parked-question-answer.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/parked-question-answer.models.js.map +1 -1
- package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.js.map +1 -1
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts +165 -8
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js +536 -28
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.d.ts +53 -0
- package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.d.ts.map +1 -0
- package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.js +193 -0
- package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.js.map +1 -0
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +164 -6
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js +468 -41
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/git-change-set.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.js.map +1 -1
- package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts +15 -2
- package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/research-evidence-store.companion.js +36 -4
- package/dist/esm/claude-cli/services/research-evidence-store.companion.js.map +1 -1
- package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.d.ts.map +1 -1
- package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.js.map +1 -1
- package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.d.ts.map +1 -1
- package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js.map +1 -1
- package/dist/esm/companion-api/companion-api.schemas.d.ts +360 -339
- package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
- package/dist/esm/companion-api/companion-api.schemas.js +13 -2
- package/dist/esm/companion-api/companion-api.schemas.js.map +1 -1
- package/dist/esm/companion-api/companion-error-guidance.models.d.ts.map +1 -1
- package/dist/esm/companion-api/companion-error-guidance.models.js.map +1 -1
- package/dist/esm/companion-api/controllers/companion-file-route-confinement.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion-file-route-confinement.js.map +1 -1
- package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.js.map +1 -1
- package/dist/esm/companion-api/controllers/companion-token-floor.policy.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion-token-floor.policy.js.map +1 -1
- package/dist/esm/companion-api/controllers/companion-trace-exemptions.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion-trace-exemptions.js.map +1 -1
- package/dist/esm/companion-api/controllers/companion.controller.d.ts +88 -13
- package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion.controller.js +448 -51
- package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -1
- package/dist/esm/core/auth/companion-auth-floor.companion.service.d.ts.map +1 -1
- package/dist/esm/core/auth/companion-auth-floor.companion.service.js.map +1 -1
- package/dist/esm/core/catalogs/catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/catalog-context.factory.models.d.ts.map +1 -1
- package/dist/esm/core/catalogs/catalog-context.factory.models.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/structured-data-catalog-audit.service.d.ts.map +1 -1
- package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js.map +1 -1
- package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.d.ts.map +1 -1
- package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.js.map +1 -1
- package/dist/esm/core/config/primary-language.companion.utils.d.ts +5 -4
- package/dist/esm/core/config/primary-language.companion.utils.d.ts.map +1 -1
- package/dist/esm/core/config/primary-language.companion.utils.js +5 -4
- package/dist/esm/core/config/primary-language.companion.utils.js.map +1 -1
- package/dist/esm/core/context/application-module-generations.companion.d.ts +103 -0
- package/dist/esm/core/context/application-module-generations.companion.d.ts.map +1 -0
- package/dist/esm/core/context/application-module-generations.companion.js +313 -0
- package/dist/esm/core/context/application-module-generations.companion.js.map +1 -0
- package/dist/esm/core/context/companion-context.d.ts.map +1 -1
- package/dist/esm/core/context/companion-context.js.map +1 -1
- package/dist/esm/core/context/companion-package-loaders.companion.d.ts +19 -19
- package/dist/esm/core/context/companion-package-loaders.companion.d.ts.map +1 -1
- package/dist/esm/core/context/companion-package-loaders.companion.js +52 -40
- package/dist/esm/core/context/companion-package-loaders.companion.js.map +1 -1
- package/dist/esm/core/context/draft-family-values.companion.d.ts.map +1 -1
- package/dist/esm/core/context/draft-family-values.companion.js.map +1 -1
- package/dist/esm/core/inject/models/container.d.ts.map +1 -1
- package/dist/esm/core/inject/models/container.js +4 -0
- package/dist/esm/core/inject/models/container.js.map +1 -1
- package/dist/esm/core/inject/models/service-types.d.ts +4 -0
- package/dist/esm/core/inject/models/service-types.d.ts.map +1 -1
- package/dist/esm/core/inject/models/service-types.js +4 -0
- package/dist/esm/core/inject/models/service-types.js.map +1 -1
- package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.d.ts.map +1 -1
- package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js.map +1 -1
- package/dist/esm/core/introspection/models/companion-introspection.models.d.ts.map +1 -1
- package/dist/esm/core/introspection/models/companion-introspection.models.js.map +1 -1
- package/dist/esm/core/introspection/resources/application-secrets.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/application-secrets.companion.js.map +1 -1
- package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts +15 -1
- package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-console-answer.companion.js +38 -3
- package/dist/esm/core/introspection/resources/creation-console-answer.companion.js.map +1 -1
- package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts +21 -0
- package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-console-projection.companion.js +71 -25
- package/dist/esm/core/introspection/resources/creation-console-projection.companion.js.map +1 -1
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts +10 -0
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.js +58 -2
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.js.map +1 -1
- package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts +0 -28
- package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js +197 -20
- package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js +49 -7
- package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/resources/launch-blockers.companion.d.ts +51 -0
- package/dist/esm/core/introspection/resources/launch-blockers.companion.d.ts.map +1 -0
- package/dist/esm/core/introspection/resources/launch-blockers.companion.js +124 -0
- package/dist/esm/core/introspection/resources/launch-blockers.companion.js.map +1 -0
- package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts +14 -3
- package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/companion-introspection.companion.service.js +91 -5
- package/dist/esm/core/introspection/services/companion-introspection.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts +186 -11
- package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js +437 -35
- package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/introspection-input-closure.companion.d.ts +44 -0
- package/dist/esm/core/introspection/services/introspection-input-closure.companion.d.ts.map +1 -0
- package/dist/esm/core/introspection/services/introspection-input-closure.companion.js +104 -0
- package/dist/esm/core/introspection/services/introspection-input-closure.companion.js.map +1 -0
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts +123 -24
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js +281 -54
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts +22 -6
- package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js +38 -7
- package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/translation-placement.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/translation-placement.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts +9 -0
- package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js +29 -9
- package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/assertions.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/assertions.behavior.js +10 -10
- package/dist/esm/core/introspection/subprocess/assertions.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/asset-noop-hooks.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/asset-noop-hooks.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/asset-noop-register.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/asset-noop-register.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js +20 -19
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-child.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-child.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts +7 -1
- package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.js +13 -4
- package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js +9 -1
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/market-context-block.builder.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/market-context-block.builder.js +2 -1
- package/dist/esm/core/introspection/subprocess/market-context-block.builder.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts +4 -3
- package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/market-prompt-renderer.js +14 -8
- package/dist/esm/core/introspection/subprocess/market-prompt-renderer.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js +17 -4
- package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/risk-signals.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/risk-signals.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js +7 -0
- package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/specification-elements.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/specification-elements.behavior.js.map +1 -1
- package/dist/esm/core/introspection/workspace-element-index.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/workspace-element-index.companion.js.map +1 -1
- package/dist/esm/core/introspection/workspace-elements.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/workspace-elements.companion.js.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.companion.service.d.ts.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.companion.service.js.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.models.d.ts.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.models.js.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts +4 -4
- package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.schemas.js.map +1 -1
- package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts +35 -0
- package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/application-runtime-liveness.companion.js +74 -0
- package/dist/esm/core/runtime/application-runtime-liveness.companion.js.map +1 -1
- package/dist/esm/core/runtime/companion-endpoint-record.d.ts.map +1 -1
- package/dist/esm/core/runtime/companion-endpoint-record.js.map +1 -1
- package/dist/esm/core/runtime/companion-env-file.d.ts +39 -9
- package/dist/esm/core/runtime/companion-env-file.d.ts.map +1 -1
- package/dist/esm/core/runtime/companion-env-file.js +75 -16
- package/dist/esm/core/runtime/companion-env-file.js.map +1 -1
- package/dist/esm/core/runtime/companion-self-restart.companion.d.ts +38 -0
- package/dist/esm/core/runtime/companion-self-restart.companion.d.ts.map +1 -0
- package/dist/esm/core/runtime/companion-self-restart.companion.js +110 -0
- package/dist/esm/core/runtime/companion-self-restart.companion.js.map +1 -0
- package/dist/esm/core/runtime/companion-startup-assembly.d.ts.map +1 -1
- package/dist/esm/core/runtime/companion-startup-assembly.js +7 -1
- package/dist/esm/core/runtime/companion-startup-assembly.js.map +1 -1
- package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts +12 -0
- package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/dev-compile-quiet.companion.js +15 -1
- package/dist/esm/core/runtime/dev-compile-quiet.companion.js.map +1 -1
- package/dist/esm/core/runtime/event-loop-stall-monitor.companion.d.ts +83 -0
- package/dist/esm/core/runtime/event-loop-stall-monitor.companion.d.ts.map +1 -0
- package/dist/esm/core/runtime/event-loop-stall-monitor.companion.js +150 -0
- package/dist/esm/core/runtime/event-loop-stall-monitor.companion.js.map +1 -0
- package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.js.map +1 -1
- package/dist/esm/core/runtime/models/companion-runtime.models.d.ts.map +1 -1
- package/dist/esm/core/runtime/models/companion-runtime.models.js.map +1 -1
- package/dist/esm/core/runtime/services/file-storage-initialization.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/services/file-storage-initialization.companion.js.map +1 -1
- package/dist/esm/core/runtime/services/start-companion-application.service.d.ts +30 -4
- package/dist/esm/core/runtime/services/start-companion-application.service.d.ts.map +1 -1
- package/dist/esm/core/runtime/services/start-companion-application.service.js +78 -12
- package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -1
- package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.js.map +1 -1
- package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/utils/companion-platform-config.companion.js.map +1 -1
- package/dist/esm/core/runtime/utils/companion-workbench-topology.d.ts.map +1 -1
- package/dist/esm/core/runtime/utils/companion-workbench-topology.js.map +1 -1
- package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.js.map +1 -1
- package/dist/esm/core/specifications/chart-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/chart-view-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/composite-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/composite-view-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/cross-registry-rendering.shared.d.ts.map +1 -1
- package/dist/esm/core/specifications/cross-registry-rendering.shared.js.map +1 -1
- package/dist/esm/core/specifications/execution-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/execution-view-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/feature-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/feature-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/frontend-component-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/frontend-component-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/full-custom-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/full-custom-view-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/guidance-flow-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/guidance-flow-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/milestone-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/milestone-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/non-composite-view-specification-context.shared.d.ts.map +1 -1
- package/dist/esm/core/specifications/non-composite-view-specification-context.shared.js.map +1 -1
- package/dist/esm/core/specifications/onboarding-element-rendering.shared.d.ts.map +1 -1
- package/dist/esm/core/specifications/onboarding-element-rendering.shared.js.map +1 -1
- package/dist/esm/core/specifications/onboarding-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/onboarding-view-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/product-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/product-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/resource-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/resource-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/role-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/role-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.js.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.models.d.ts.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.models.js.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.shared.d.ts.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.shared.js.map +1 -1
- package/dist/esm/core/specifications/system-email-template-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/system-email-template-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/validate-resource-field-completeness.d.ts.map +1 -1
- package/dist/esm/core/specifications/validate-resource-field-completeness.js.map +1 -1
- package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.d.ts.map +1 -1
- package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.js.map +1 -1
- package/dist/esm/core/traceability/companion-traceability.models.d.ts.map +1 -1
- package/dist/esm/core/traceability/companion-traceability.models.js.map +1 -1
- package/dist/esm/core/traceability/companion-traceability.service.d.ts.map +1 -1
- package/dist/esm/core/traceability/companion-traceability.service.js.map +1 -1
- package/dist/esm/core/utils/atomic-write.utils.d.ts.map +1 -1
- package/dist/esm/core/utils/atomic-write.utils.js.map +1 -1
- package/dist/esm/core/utils/bounded-concurrency.utils.d.ts +17 -0
- package/dist/esm/core/utils/bounded-concurrency.utils.d.ts.map +1 -0
- package/dist/esm/core/utils/bounded-concurrency.utils.js +37 -0
- package/dist/esm/core/utils/bounded-concurrency.utils.js.map +1 -0
- package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts +10 -1
- package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts.map +1 -1
- package/dist/esm/core/utils/derived-input-signature.companion.utils.js +9 -2
- package/dist/esm/core/utils/derived-input-signature.companion.utils.js.map +1 -1
- package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js +2 -0
- package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js.map +1 -1
- package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts.map +1 -1
- package/dist/esm/creation-conversation/creation-conversation.function-tools.js +69 -7
- package/dist/esm/creation-conversation/creation-conversation.function-tools.js.map +1 -1
- package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts +0 -17
- package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js +17 -12
- package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js.map +1 -1
- package/dist/esm/deliberations/services/deliberation.companion.service.d.ts +10 -5
- package/dist/esm/deliberations/services/deliberation.companion.service.d.ts.map +1 -1
- package/dist/esm/deliberations/services/deliberation.companion.service.js +31 -21
- package/dist/esm/deliberations/services/deliberation.companion.service.js.map +1 -1
- package/dist/esm/deliberations/services/structured-deliberation.companion.service.d.ts.map +1 -1
- package/dist/esm/deliberations/services/structured-deliberation.companion.service.js.map +1 -1
- package/dist/esm/deliberations/utils/expert-agent-registration.d.ts +56 -0
- package/dist/esm/deliberations/utils/expert-agent-registration.d.ts.map +1 -0
- package/dist/esm/deliberations/utils/expert-agent-registration.js +74 -0
- package/dist/esm/deliberations/utils/expert-agent-registration.js.map +1 -0
- package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts +9 -5
- package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts.map +1 -1
- package/dist/esm/deliberations/utils/load-committed-expert-agents.js +11 -15
- package/dist/esm/deliberations/utils/load-committed-expert-agents.js.map +1 -1
- package/dist/esm/email/models/email-template.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/email/models/email-template.actors-system.definitions.js.map +1 -1
- package/dist/esm/email/services/email-spec-context-loader.companion.service.d.ts.map +1 -1
- package/dist/esm/email/services/email-spec-context-loader.companion.service.js.map +1 -1
- package/dist/esm/email/services/email-template.companion.service.d.ts +6 -1
- package/dist/esm/email/services/email-template.companion.service.d.ts.map +1 -1
- package/dist/esm/email/services/email-template.companion.service.js +4 -1
- package/dist/esm/email/services/email-template.companion.service.js.map +1 -1
- package/dist/esm/email/utils/email-labels-file-source.utils.d.ts.map +1 -1
- package/dist/esm/email/utils/email-labels-file-source.utils.js.map +1 -1
- package/dist/esm/email/utils/email-labels-tree.utils.d.ts.map +1 -1
- package/dist/esm/email/utils/email-labels-tree.utils.js.map +1 -1
- package/dist/esm/email/utils/email-template-fs-discovery.utils.d.ts.map +1 -1
- package/dist/esm/email/utils/email-template-fs-discovery.utils.js.map +1 -1
- package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts.map +1 -1
- package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.js.map +1 -1
- package/dist/esm/executions/services/companion-executions.companion.service.d.ts.map +1 -1
- package/dist/esm/executions/services/companion-executions.companion.service.js.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js +8 -2
- package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js +8 -2
- package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts +5 -3
- package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.js +5 -3
- package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.js.map +1 -1
- package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts +17 -1
- package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts.map +1 -1
- package/dist/esm/expert-personas/services/expert-persona.companion.service.js +51 -14
- package/dist/esm/expert-personas/services/expert-persona.companion.service.js.map +1 -1
- package/dist/esm/expert-personas/services/persona-source-ownership.d.ts.map +1 -1
- package/dist/esm/expert-personas/services/persona-source-ownership.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.js.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.js.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.js.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.js.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.js.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_announcement.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_announcement.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_banner.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_banner.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_card.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_card.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_checklist.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_checklist.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_checklist_item.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_checklist_item.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_modal.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_modal.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_onboarding_view.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_onboarding_view.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_survey.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_survey.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_tooltip.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_tooltip.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_tour.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_tour.en.js.map +1 -1
- package/dist/esm/i18n/components/progression_achievement_badge.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/progression_achievement_badge.en.js.map +1 -1
- package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/progression_milestone_tracker.en.js.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts +1 -0
- package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-conversation.en.js +55 -1
- package/dist/esm/i18n/composite_views/app.creation-conversation.en.js.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-dossier.en.d.ts.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-dossier.en.js.map +1 -1
- package/dist/esm/i18n/composite_views/app.domain-model.en.d.ts.map +1 -1
- package/dist/esm/i18n/composite_views/app.domain-model.en.js.map +1 -1
- package/dist/esm/i18n/control-plane-label-blocks.d.ts +344 -0
- package/dist/esm/i18n/control-plane-label-blocks.d.ts.map +1 -0
- package/dist/esm/i18n/control-plane-label-blocks.js +115 -0
- package/dist/esm/i18n/control-plane-label-blocks.js.map +1 -0
- package/dist/esm/i18n/errors_guidance/errors-guidance.en.d.ts.map +1 -1
- package/dist/esm/i18n/errors_guidance/errors-guidance.en.js.map +1 -1
- package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts.map +1 -1
- package/dist/esm/i18n/errors_messages/errors-messages.en.js.map +1 -1
- package/dist/esm/i18n/index.d.ts.map +1 -1
- package/dist/esm/i18n/index.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts +410 -0
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js +13 -145
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts +65 -0
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js +4 -37
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts +65 -0
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js +4 -37
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchAspects.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchAspects.en.js +11 -0
- package/dist/esm/i18n/resources/workbenchAspects.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts +5 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js +5 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts +1 -1
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js +2 -1
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchDomainResources.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchDomainResources.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts +56 -0
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.js +15 -0
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchPlaybooks.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts +553 -0
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js +187 -5
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchTraceSessions.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/application-creation.en.d.ts +60 -0
- package/dist/esm/i18n/system_enums/application-creation.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/application-creation.en.js +66 -1
- package/dist/esm/i18n/system_enums/application-creation.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/compliance-programme.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/compliance-programme.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/flows-actors.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/flows-actors.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/localization.en.d.ts +82 -0
- package/dist/esm/i18n/system_enums/localization.en.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/localization.en.js +82 -0
- package/dist/esm/i18n/system_enums/localization.en.js.map +1 -0
- package/dist/esm/i18n/system_enums/market.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/market.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/processor-register.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/processor-register.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/risk-register.en.d.ts +1 -0
- package/dist/esm/i18n/system_enums/risk-register.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/risk-register.en.js +1 -0
- package/dist/esm/i18n/system_enums/risk-register.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-build.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-build.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts +1 -0
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.js +2 -0
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts +10 -0
- package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-dossier.en.js +13 -0
- package/dist/esm/i18n/system_enums/workbench-dossier.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-playbook-run.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-playbook-run.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-secrets.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-secrets.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.js.map +1 -1
- package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.js.map +1 -1
- package/dist/esm/i18n-labelling/models/labelling-progress.models.d.ts +43 -0
- package/dist/esm/i18n-labelling/models/labelling-progress.models.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/models/labelling-progress.models.js +34 -0
- package/dist/esm/i18n-labelling/models/labelling-progress.models.js.map +1 -0
- package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts +29 -2
- package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/models/labelling-unit.models.js +17 -0
- package/dist/esm/i18n-labelling/models/labelling-unit.models.js.map +1 -1
- package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js.map +1 -1
- package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts +5 -0
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js +44 -4
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts +8 -0
- package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js +97 -56
- package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts +18 -0
- package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js +269 -153
- package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/email-template-translation.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/email-template-translation.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/guidance-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/guidance-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/label-file-source.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/label-file-source.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.d.ts +41 -0
- package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.js +47 -0
- package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.js.map +1 -0
- package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts +12 -0
- package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js +10 -2
- package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts +8 -1
- package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js +9 -2
- package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.d.ts +89 -0
- package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.js +229 -0
- package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.js.map +1 -0
- package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts +13 -7
- package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js +13 -7
- package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.js.map +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/market/services/market-generation.companion.service.d.ts.map +1 -1
- package/dist/esm/market/services/market-generation.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js +3 -3
- package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/application-line-catalog.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/application-line-catalog.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts +85 -1
- package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/build-task-rearm.models.js +101 -0
- package/dist/esm/meta-workflows/models/build-task-rearm.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/carried-verification-failure.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/carried-verification-failure.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/composite-round-relaunch.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/composite-round-relaunch.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/creation-intervention.models.d.ts +308 -0
- package/dist/esm/meta-workflows/models/creation-intervention.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/creation-intervention.models.js +365 -0
- package/dist/esm/meta-workflows/models/creation-intervention.models.js.map +1 -0
- package/dist/esm/meta-workflows/models/generation-step-progress.models.d.ts +61 -0
- package/dist/esm/meta-workflows/models/generation-step-progress.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/generation-step-progress.models.js +58 -0
- package/dist/esm/meta-workflows/models/generation-step-progress.models.js.map +1 -0
- package/dist/esm/meta-workflows/models/human-decision-settler.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/human-decision-settler.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts +10 -6
- package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js +11 -6
- package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts +3 -0
- package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js +8 -1
- package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts +26 -0
- package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-run-record.models.js +66 -10
- package/dist/esm/meta-workflows/models/playbook-run-record.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.d.ts +36 -0
- package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.js +97 -0
- package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.js.map +1 -0
- package/dist/esm/meta-workflows/models/website-copy-review.models.d.ts +124 -0
- package/dist/esm/meta-workflows/models/website-copy-review.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/website-copy-review.models.js +74 -0
- package/dist/esm/meta-workflows/models/website-copy-review.models.js.map +1 -0
- package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.d.ts +13 -0
- package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.js +33 -0
- package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.js.map +1 -0
- package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.d.ts +145 -0
- package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.js +179 -0
- package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.js.map +1 -0
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +672 -24
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js +1887 -74
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts +232 -14
- package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js +407 -55
- package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts +158 -3
- package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js +446 -18
- package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts +130 -2
- package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js +266 -10
- package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.d.ts +122 -0
- package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.js +295 -0
- package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.d.ts +22 -0
- package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.js +45 -0
- package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.js.map +1 -0
- package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js +10 -11
- package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.d.ts +53 -0
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.js +97 -0
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.js.map +1 -0
- package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js +10 -11
- package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.d.ts +82 -0
- package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js +291 -0
- package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.d.ts +76 -0
- package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.js +88 -0
- package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.d.ts +53 -0
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js +164 -0
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.d.ts +37 -0
- package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.js +52 -0
- package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.js.map +1 -0
- package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts +79 -14
- package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/dossier.companion.service.js +185 -29
- package/dist/esm/meta-workflows/services/dossier.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.js.map +1 -1
- package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts +52 -4
- package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js +134 -62
- package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/governed-document-texts.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/governed-document-texts.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.d.ts +67 -0
- package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.js +64 -0
- package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.js.map +1 -0
- package/dist/esm/meta-workflows/services/landed-module-import.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/landed-module-import.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-instance.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js +61 -20
- package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts +134 -4
- package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js +390 -7
- package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts +166 -7
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.js +703 -116
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts +62 -1
- package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js +152 -2
- package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.js.map +1 -1
- package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.d.ts.map +1 -1
- package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.js.map +1 -1
- package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts.map +1 -1
- package/dist/esm/technical-doc/services/technical-doc.companion.service.js.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.d.ts.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.js.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.d.ts.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.js.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js.map +1 -1
- package/package.json +22 -18
- package/dist/esm/__tests__/asset-noop.d.ts +0 -3
- package/dist/esm/__tests__/asset-noop.d.ts.map +0 -1
- package/dist/esm/__tests__/asset-noop.js +0 -2
- package/dist/esm/__tests__/asset-noop.js.map +0 -1
- package/dist/esm/__tests__/chdir-dogfood-app.setup.d.ts +0 -2
- package/dist/esm/__tests__/chdir-dogfood-app.setup.d.ts.map +0 -1
- package/dist/esm/__tests__/chdir-dogfood-app.setup.js +0 -44
- package/dist/esm/__tests__/chdir-dogfood-app.setup.js.map +0 -1
- package/dist/esm/__tests__/internal-test-view.d.ts +0 -39
- package/dist/esm/__tests__/internal-test-view.d.ts.map +0 -1
- package/dist/esm/__tests__/internal-test-view.js +0 -2
- package/dist/esm/__tests__/internal-test-view.js.map +0 -1
- package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts +0 -50
- package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts.map +0 -1
- package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js +0 -157
- package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js.map +0 -1
- package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.d.ts +0 -8
- package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.d.ts.map +0 -1
- package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js +0 -43
- package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js.map +0 -1
- package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts +0 -79
- package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts.map +0 -1
- package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js +0 -193
- package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js.map +0 -1
package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-build-generation-step.companion.service.js","sourceRoot":"","sources":["../../../../../src/meta-workflows/services/application-build-generation-step.companion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EACL,+BAA+B,EAC/B,kCAAkC,EAClC,qCAAqC,GAEtC,MAAM,sEAAsE,CAAC;AAC9E,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAG/C,OAAO,EAAE,kBAAkB,EAAuB,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAE/G,OAAO,EAAE,sBAAsB,EAAE,MAAM,wDAAwD,CAAC;AAGhG,OAAO,EAAE,uBAAuB,EAAsB,MAAM,oDAAoD,CAAC;AAEjH,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAEjF,OAAO,E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ent":["import * as path from 'node:path';\nimport {\n ApplicationSchemaPlanObligation,\n SCHEMA_PLAN_LOCKFILE_RELATIVE_PATH,\n assessApplicationSchemaPlanObligation,\n type ApplicationSchemaPlanObligationAssessment,\n} from '../../core/config/application-schema-plan-obligation.companion.utils';\nimport { stat } from 'node:fs/promises';\nimport { existsSync, readdirSync } from 'node:fs';\nimport { inject, injectable } from 'inversify';\n\nimport type { AppConfigurationService, LoggerService } from '@wildo-ai/saas-backend-lib';\nimport { SAAS_SERVICE_TYPES, describeCaughtError, executeBoundedSubprocess } from '@wildo-ai/saas-backend-lib';\nimport type { PropagateBrandAssetsOutcome } from '@wildo-ai/application-creation-runtime';\nimport { propagateAcceptedBrand } from '../../brand/services/brand-propagation.companion.utils';\nimport type { TechnicalDocCompanionService } from '../../technical-doc/services/technical-doc.companion.service';\nimport { AvailableLanguage } from '@wildo-ai/presets-components-models';\nimport { BuildPlanTaskTargetKind, type BuildPlanTask } from '@wildo-ai/saas-specifications/application-creation';\n\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport type { CompanionContext } from '../../core/context/companion-context';\nimport { getCompanionConfiguredPrimaryLanguage, getCompanionServedLanguages } from '../../core/config/primary-language.companion.utils';\nimport { signDerivedInputs } from '../../core/utils/derived-input-signature.companion.utils';\nimport { LabellingPlannerCompanionService } from '../../i18n-labelling/services/labelling-planner.companion.service';\nimport {\n LabellizeOrchestratorCompanionService,\n type LabellizeRunResult,\n} from '../../i18n-labelling/services/labellize-orchestrator.companion.service';\nimport {\n TranslateOrchestratorCompanionService,\n type TranslateRunResult,\n} from '../../i18n-labelling/services/translate-orchestrator.companion.service';\nimport {\n EmailTemplateCompanionService,\n type GenerateEmailTemplatesResult,\n type TranslateEmailTemplateLabelsResult,\n} from '../../email/services/email-template.companion.service';\nimport {\n LogoDeliberationCompanionService,\n type LogoDeliberationResult,\n} from '../../brand/services/logo-deliberation.companion.service';\nimport {\n BrandAcceptCompanionService,\n type BrandAcceptResult,\n} from '../../brand/services/brand-accept.companion.service';\nimport type { CompanionExecutionSessionContext } from '../../core/traceability/companion-traceability.models';\n\n/**\n * The companion generation steps this host can EXECUTE.\n *\n * The values are the `generationStepRef` slugs a build plan authors on a\n * `COMPANION_GENERATION_STEP` target — the closed vocabulary this enum is the\n * named home of. A build plan may only reference steps that exist here: an\n * unknown ref refuses by name (below) instead of silently parking the build,\n * which is exactly how the first generation step ever authored\n * (`i18n-labels`) stalled the Wonder Todos build plan — the vocabulary\n * existed in `_core`, and nothing executed it.\n *\n * Seeds join this enum WHEN a seed-generation pipeline exists to execute —\n * adding the value without one would let a build plan dispatch a step that can\n * only fail; the unknown-ref refusal below is the honest answer until then.\n * The executor is the integration point, not a new lane per step.\n */\nexport enum ApplicationBuildGenerationStep {\n I18N_LABELS = 'i18n-labels',\n EMAIL_TEMPLATES = 'email-templates',\n /**\n * The brand mark: an expert panel derives creative directions, images are generated, a vision\n * judge scores them, and the winner is promoted into the specifications SSOT.\n *\n * Added under the rule this enum's docblock states — a value joins WHEN a pipeline exists to\n * execute it. That pipeline was fully built and reachable only by a human issuing\n * `POST /brand/{generate,deliberate,accept}-logo`, so an application could acquire a considered\n * mark only if someone drove it by hand (issue #220). Hand-supplying a logo stays available and\n * unchanged; what this adds is the journey's own path to one.\n */\n LOGO = 'logo',\n /**\n * `wildo db generate` — turn the drift between the application's resource model and its accepted\n * schema plan into a committed migration, so a PostgreSQL-backed application's tables exist.\n *\n * Added under the rule this enum's docblock states — a value joins WHEN a pipeline exists to\n * execute it. The pipeline is the CLI's own generate door, which already owns every hard part\n * (the planner, the risk vocabulary, the refusals) and advances the lockfile in the same\n * invocation that writes the migration.\n *\n * Without a lockfile `wildo db generate` treats the whole model as the INITIAL migration and writes\n * the baseline beside it. That is exactly what a PostgreSQL application with no baseline owes, and\n * exactly wrong for a MongoDB-backed one, where it would author a table set nothing uses — so the\n * application's DECLARED store decides (#1144, `ApplicationSchemaPlanObligation`): the step runs\n * for an accepted plan or an owed baseline, and REFUSES for a MongoDB store or an unreadable\n * declaration. See `executeGenerationStep`.\n */\n DATABASE_MIGRATIONS = 'database-migrations',\n /**\n * `wildo docs publish` — derive, render, measure, validate and write the application's customer\n * documentation portal, so the chapters its build authored are something a reader can reach.\n *\n * Added under the rule this enum's docblock states — a value joins WHEN a pipeline exists to\n * execute it — and it is the same shape {@link LOGO} joined in: the pipeline was fully built and\n * reachable ONLY by a human, through `POST /technical-doc/publish-managed` or the `wildo docs\n * publish` command that calls it. Measured on the first end-to-end journey run (#1273): the plan\n * carried SIX `DOCUMENTATION_CHAPTER` tasks, the engine's own derivation refused with *\"Application\n * content remains absent until the app-creator owns an accepted authoring artifact\"*, an agent\n * built that artifact — and nothing published it. `technical-doc` could not even typecheck, because\n * `src/pages/search.tsx` imports a search index the publish is what writes, so\n * `check:technical-doc-typecheck` was red for the whole build and failed a documentation task on a\n * red it did not cause, at $19.33.\n *\n * The step is DERIVED by the dispatch host rather than authored by the decomposer, for the reason\n * {@link DATABASE_MIGRATIONS} is: an application owes it as a consequence of what its plan\n * contains — here, any documentation chapter — rather than as a decision the plan makes. See\n * `withHostDerivedDocumentationPublicationStep`.\n *\n * It runs AFTER the chapters and after `i18n-labels`, and the second is not optional: publication\n * resolves the application's organization-role documentation and refuses without the primary-locale\n * label — *\"requires primary-locale label 'roles.ORG_ADMIN.label'; generate the application's role\n * labels before publishing documentation\"*. Running it early fails on exactly that.\n */\n DOCUMENTATION_PUBLICATION = 'documentation-publication',\n}\n\n/** The compiled registry `wildo db` imports to compute the current plan. Absent ⇒ the plan cannot be computed. */\nconst MODULES_REGISTRY_RELATIVE_PATH = 'backend-api/dist/modules-registry.backend.js';\n\n/** Bounds on the `wildo db generate` subprocess. Generous: it spawns a runner that imports the whole app registry. */\nconst MIGRATION_GENERATION_TIMEOUT_MS = 10 * 60 * 1000;\n\n/**\n * How a generation step proves it did its work.\n *\n * Two kinds, because the obvious single answer does not fit every step. Most steps write FILES\n * whose paths are known before they run, and \"landed\" means those files are committed. A migration\n * step cannot: its artifact is `backend-api/migrations/<timestamp>_<name>/migration.sql`, and the\n * timestamp is minted DURING the run.\n *\n * The tempting substitutes were both rejected, and the reasons are worth keeping:\n *\n * - the accepted lockfile — once a plan is accepted it ALREADY EXISTS before every later run of the\n * step, so \"is it committed?\" is trivially true and the step would land having done nothing. That is precisely the directory-prefix shortcut this service's `LOGO` case warns about.\n * - an empty path list — legal, and it makes the dispatch host SKIP the landed check entirely, so a\n * step that generated nothing would read as complete.\n *\n * So the migration step's evidence is not a file at all: it is the STATE the step exists to reach —\n * the model and the accepted plan agree. That is what `wildo db diff --check` answers.\n */\nexport enum ApplicationBuildGenerationStepLandedKind {\n /** Landed when every named path is committed. The shape every file-writing step uses. */\n COMMITTED_PATHS = 'committed_paths',\n /** Landed when the resource model and the accepted schema plan agree. */\n SCHEMA_PLAN_IN_SYNC = 'schema_plan_in_sync',\n}\n\n/** What the dispatch host must evaluate to decide whether a generation-step task has landed. */\nexport type ApplicationBuildGenerationStepLandedCondition =\n | { readonly kind: ApplicationBuildGenerationStepLandedKind.COMMITTED_PATHS; readonly paths: readonly string[] }\n | { readonly kind: ApplicationBuildGenerationStepLandedKind.SCHEMA_PLAN_IN_SYNC };\n\n/**\n * What `wildo db diff --check` could tell the host about the resource model versus the accepted schema plan.\n *\n * THREE answers, not two. A boolean merged the two failures that lead to opposite places (found in review,\n * 2026-09-13): DRIFTED means the migration step has work and must run first; UNANSWERABLE means the check did not\n * report drift and did not pass — no accepted plan and an undeterminable store declaration, no built backend registry, a compiled model older than its\n * sources (`assessCompiledModelCurrency`, #403: before it, a dead watcher's stale dist answered IN_SYNC and landed\n * this step with drift on disk), a CLI that could not import\n * it or could not be spawned, a timeout, a lockfile that fails strict parsing, or an ENGINE planner-contract\n * mismatch (whose remedy is `wildo db generate --accept-planner-contract`, not a rebuild) — and\n * running the step then only throws. Read as one \"not in sync\", an unanswerable check put a step that can\n * only fail at the head of the build queue on every dispatch, so no other task could run.\n *\n * Only IN_SYNC ever lands the step: an unanswered question must not land a migration step either.\n */\nexport enum SchemaPlanSyncState {\n /** The model and the accepted plan agree: the migration step has landed. */\n IN_SYNC = 'in_sync',\n /** The check ran and reported ungenerated changes: the migration step has work to do. */\n DRIFTED = 'drifted',\n /** The check neither passed nor reported drift (see above for the causes); running the step now would refuse or fail. */\n UNANSWERABLE = 'unanswerable',\n}\n\n/**\n * The line `wildo db diff --check` prints when, and only when, it found drift. The CLI exits non-zero for\n * drift and for every could-not-ask failure alike, so this text is the one thing that separates them. A COPY\n * of the message in the CLI's `commands/db/diff.command.ts`, pinned to it by a source-parity test.\n */\nexport const SCHEMA_PLAN_DRIFT_OUTPUT_MARKER = 'ungenerated schema change(s)';\n\n/** Classify a failed `wildo db diff --check`: DRIFTED when the CLI said so, UNANSWERABLE otherwise. */\nexport function classifySchemaPlanCheckFailure(error: unknown): SchemaPlanSyncState {\n const details = (error as { details?: { stdout?: unknown; stderr?: unknown } } | null | undefined)?.details;\n const output = `${typeof details?.stdout === 'string' ? details.stdout : ''}\\n${typeof details?.stderr === 'string' ? details.stderr : ''}`;\n return output.includes(SCHEMA_PLAN_DRIFT_OUTPUT_MARKER) ? SchemaPlanSyncState.DRIFTED : SchemaPlanSyncState.UNANSWERABLE;\n}\n\n/**\n * The SSOT module `brand-accept` rewrites when it promotes a winner.\n *\n * Restated here rather than imported because it is a module-private constant of the brand service;\n * the two must agree, and the pin in this lane's tests is what says so.\n */\nconst BRAND_RESOLVED_ASSETS_MODULE = 'resolved-assets.generated.ts';\n\n/** A build plan referenced a generation step this companion cannot execute. Named, so the plan author sees the vocabulary. */\nexport class ApplicationBuildUnknownGenerationStepError extends Error {\n public constructor(taskRef: string, generationStepRef: string) {\n super(\n `Build task ${taskRef} references generation step \"${generationStepRef}\", which this companion cannot execute. `\n + `Known steps: ${Object.values(ApplicationBuildGenerationStep).join(', ')}.`,\n );\n }\n}\n\n/** What one executed i18n-labels step did — the per-pipeline results, verbatim. */\nexport interface ApplicationBuildI18nLabelsStepRunResult {\n readonly generationStepRef: ApplicationBuildGenerationStep.I18N_LABELS;\n /** Primary-locale label generation (incremental — fresh units are skipped by the freshness lock). */\n readonly labellize: LabellizeRunResult;\n /** Translation into the other enabled locales; absent when the app enables only its primary locale. */\n readonly translate?: TranslateRunResult;\n /** The app-root-relative files this step is responsible for — the same paths the landed check reads. */\n readonly evidencePaths: readonly string[];\n}\n\n/** What one executed email-templates step did — the per-pipeline results, verbatim. */\nexport interface ApplicationBuildEmailTemplatesStepRunResult {\n readonly generationStepRef: ApplicationBuildGenerationStep.EMAIL_TEMPLATES;\n /** Primary-locale template + labels generation (incremental — existing template+labels pairs are skipped). */\n readonly emailGenerate: GenerateEmailTemplatesResult;\n /** Label translation into the other enabled locales; absent when the app enables only its primary locale. */\n readonly emailTranslate?: TranslateEmailTemplateLabelsResult;\n /** The app-root-relative files this step is responsible for — the same paths the landed check reads. */\n readonly evidencePaths: readonly string[];\n}\n\n/**\n * What one executed logo step did.\n *\n * `deliberation`/`accept` are absent when the step was SKIPPED because the application already has\n * an accepted mark — see the executor for why skipping is the incremental answer here rather than\n * the freshness lock the text pipelines use.\n */\nexport interface ApplicationBuildLogoStepRunResult {\n readonly generationStepRef: ApplicationBuildGenerationStep.LOGO;\n /** The expert-panel deliberation that derived directions, generated marks and picked a winner. */\n readonly deliberation?: LogoDeliberationResult;\n /** Promotion of that winner into `specifications/src/brand/` — images plus the rewritten SSOT. */\n readonly accept?: BrandAcceptResult;\n /** True when an accepted mark already existed and no model was called. */\n readonly skippedBecauseAlreadyAccepted: boolean;\n /**\n * The accepted mark copied to every surface that serves it — the app's public folder and runtime\n * config, the documentation portal, the website's icons and Open Graph image. Runs on BOTH branches:\n * a surface composed after the mark was accepted (a website added later) still receives it.\n */\n readonly propagation?: PropagateBrandAssetsOutcome;\n /** Why propagation could not run. Never fails the step: the mark is accepted either way. */\n readonly propagationError?: string;\n /** The app-root-relative files this step is responsible for — the same paths the landed check reads. */\n readonly evidencePaths: readonly string[];\n}\n\n/**\n * What one executed `database-migrations` step did.\n *\n * `evidencePaths` is present for symmetry with its siblings and carries the MUTATION SCOPE, not the\n * landed evidence — this step lands on `SCHEMA_PLAN_IN_SYNC`, never on a path.\n */\nexport interface ApplicationBuildDatabaseMigrationsStepRunResult {\n readonly generationStepRef: ApplicationBuildGenerationStep.DATABASE_MIGRATIONS;\n /** True when the plan was already in sync and `wildo db generate` had nothing to write. */\n readonly skippedBecauseAlreadyInSync: boolean;\n /** The migration folder names present after the run that were not present before it. Usually 0 or 1. */\n readonly generatedMigrationFolders: readonly string[];\n /** The generator's own output tail — it names the tables and the risk of each change. */\n readonly outputTail: string;\n /** MUTATION SCOPE, not landed evidence. */\n readonly evidencePaths: readonly string[];\n}\n\n/**\n * What one executed `documentation-publication` step did.\n *\n * `published` is the publish service's own report — output count and root — kept whole rather than\n * projected, because the step's value to a reader is \"what did it write\", and this lane has no\n * second opinion about that.\n */\nexport interface ApplicationBuildDocumentationPublicationStepRunResult {\n readonly generationStepRef: ApplicationBuildGenerationStep.DOCUMENTATION_PUBLICATION;\n /** The publish service's report. */\n readonly published: unknown;\n /** The rendered search index, which is both this step's mutation scope and its landed evidence. */\n readonly evidencePaths: readonly string[];\n}\n\n/** One executed generation step's result, discriminated by the step it ran. */\nexport type ApplicationBuildGenerationStepRunResult =\n | ApplicationBuildI18nLabelsStepRunResult\n | ApplicationBuildEmailTemplatesStepRunResult\n | ApplicationBuildLogoStepRunResult\n | ApplicationBuildDatabaseMigrationsStepRunResult\n | ApplicationBuildDocumentationPublicationStepRunResult;\n\n/**\n * The identity allowlist for the `wildo db generate` subprocess.\n *\n * PATH is the load-bearing entry: the CLI is a GLOBAL install and is deliberately NOT linked into an\n * application's `node_modules/.bin` — verified on both dogfood applications — so it is reachable\n * only through PATH. Kept to the same minimal set the verification hook uses rather than passing the\n * companion's whole environment.\n */\nfunction buildMigrationSubprocessEnv(): NodeJS.ProcessEnv {\n const env: NodeJS.ProcessEnv = {};\n for (const key of ['PATH', 'HOME', 'USER', 'LOGNAME', 'SHELL', 'TERM']) {\n const value = process.env[key];\n if (value !== undefined) env[key] = value;\n }\n return env;\n}\n\n/** Migration folder names currently on disk (not the lockfile beside them). */\nfunction listMigrationFolders(saasRoot: string): readonly string[] {\n const migrationsRoot = path.join(saasRoot, 'backend-api', 'migrations');\n if (!existsSync(migrationsRoot)) return [];\n return readdirSync(migrationsRoot, { withFileTypes: true })\n .filter((entry) => entry.isDirectory())\n .map((entry) => entry.name)\n .sort();\n}\n\n/**\n * Execute companion-owned generation steps of a build plan, and answer which\n * files each step is responsible for.\n *\n * A `COMPANION_GENERATION_STEP` is deterministic in its ROUTING and its\n * PLACEMENT — which pipeline runs and where the files land is decided by\n * code, never by a coding agent (`application-build-task-coding-policy`\n * refuses to compose a coding contract for one). The CONTENT may still come\n * from a model (labels are generated text), which is exactly the directive's\n * bucket-3 shape: a companion-owned generation step interleaved by the build\n * loop.\n *\n * ## Landed evidence, and why it is planner-derived\n *\n * The build lane's landed answer is GIT: a task has landed when the files it\n * produces are committed. A generation step's target carries only its\n * `generationStepRef` — no paths — so the file set must be DERIVED. For\n * `i18n-labels` it is the labelling planner's unit inventory crossed with the\n * app's enabled locales: exactly the files the pipelines write, re-derivable\n * after a restart, a fresh clone, or a branch switch. Deliberately NOT the\n * whole i18n directory: that is already committed on any app with history, and\n * a directory-prefix check would report the step landed without it ever\n * having run for the units it still owes.\n */\n/**\n * The last schema-plan sync answer per application root, valid while its input signature holds.\n *\n * Module-level rather than per-instance so two service instances resolving landing concurrently — a\n * board read and a `/build/next` — share one 8-9 s subprocess instead of spawning two.\n */\nconst schemaPlanSyncStateCache = new Map<string, { signature: string; state: SchemaPlanSyncState }>();\n\n/** Answers still being computed, so concurrent callers at the same signature await one subprocess. */\nconst schemaPlanSyncStateInFlight = new Map<string, { signature: string | null; compute: Promise<SchemaPlanSyncState> }>();\n\n/**\n * The files that decide the schema-plan sync answer: the compiled MODEL and the ACCEPTED PLAN.\n *\n * Exported so the freshness loop below signs exactly what the resolver signs. Two copies of this list\n * would let the loop refresh on a change the resolver ignores, or miss one it honours.\n */\nexport function signSchemaPlanInputs(saasRoot: string): string | null {\n return signDerivedInputs(\n [path.join(saasRoot, 'backend-api', 'dist'), path.join(saasRoot, 'infrastructure'), ...resolveEngineDistRoots(saasRoot)],\n [path.join(saasRoot, SCHEMA_PLAN_LOCKFILE_RELATIVE_PATH)],\n );\n}\n\n/**\n * The compiled ENGINE the backend resolves: every `@wildo-ai/*` package's `dist` under\n * `backend-api/node_modules`. The engine declares resources (the planner plans them) and owns the\n * planner, so an engine change moves the schema plan without touching either app-local input.\n *\n * Signed since 2026-09-25. It used to be the one unsigned input, on the premise that an engine change\n * respawns the companion and empties this cache. On scratch-journey the companion ran from 12:20Z\n * while engine resources landed in the app's injected snapshot at 13:04Z and 13:41Z: its supervisor\n * was paused and did not restart it. The cache kept answering IN_SYNC, and the build plan reported the\n * migrations step LANDED with 16 changes owed. Walking all six packages there costs about 80 ms,\n * against about 8.5 s to re-derive. The enumeration is total, so a package that starts declaring\n * resources is covered the day it does.\n */\nfunction resolveEngineDistRoots(saasRoot: string): readonly string[] {\n const scope = path.join(saasRoot, 'backend-api', 'node_modules', '@wildo-ai');\n if (!existsSync(scope)) return [];\n return readdirSync(scope)\n .sort()\n .map((name) => path.join(scope, name, 'dist'))\n .filter((dist) => existsSync(dist));\n}\n\n/**\n * The cached schema-plan sync answer for one application root.\n *\n * Module-level rather than a class member because it never used instance state, and because the\n * COMPANION BOOT path warms it (`startIntrospectionFreshnessPlane`). Reaching it through the service\n * would drag the labelling, email and brand service graph into the boot graph to answer a question\n * about two files — and a boot path that fails closed needs the companion it just stopped\n * (`continuity-drift-and-cas-basis.md` Rule 3).\n */\nexport async function resolveSchemaPlanSyncState(saasRoot: string): Promise<SchemaPlanSyncState> {\n /*\n * The answer costs a `wildo db diff --check` SUBPROCESS, which boots the CLI and imports the\n * application's compiled modules registry: measured 8-14 s on `examples/wonder-todos`, 2026-09-18,\n * of which ~5.5 s is the registry import alone. It is asked on every landing resolution — so on\n * every creation-board refresh and every `/build/next` — and it was the single largest remaining\n * cost of both.\n *\n * Nothing about that answer can change unless the MODEL or the ACCEPTED PLAN changes, and both are\n * files. So it is re-derived when they move and reused when they do not: ~17 ms to sign against\n * ~8500 ms to re-run. A TTL is not used here for the same reason the specifications loader has\n * none — this state decides whether the migration step is offered, so drift must surface at the\n * next read rather than at the next expiry.\n *\n * The ENGINE reaches the application through node_modules rather than through either app-local path,\n * so its compiled packages are signed as well (see `resolveEngineDistRoots`). This used to rely on an\n * engine change respawning the companion; one survived an engine change on 2026-09-25 and served a\n * stale IN_SYNC. The answer is still NOT persisted to disk across restarts (#1350).\n */\n const signature = signSchemaPlanInputs(saasRoot);\n if (signature !== null) {\n const cached = schemaPlanSyncStateCache.get(saasRoot);\n if (cached?.signature === signature) return cached.state;\n const inFlight = schemaPlanSyncStateInFlight.get(saasRoot);\n if (inFlight?.signature === signature) return inFlight.compute;\n }\n\n const compute = computeSchemaPlanSyncState(saasRoot);\n schemaPlanSyncStateInFlight.set(saasRoot, { signature, compute });\n try {\n const state = await compute;\n if (signature !== null) schemaPlanSyncStateCache.set(saasRoot, { signature, state });\n return state;\n } finally {\n // A failed derivation caches nothing, so the next caller retries rather than inheriting it.\n if (schemaPlanSyncStateInFlight.get(saasRoot)?.compute === compute) {\n schemaPlanSyncStateInFlight.delete(saasRoot);\n }\n }\n}\n\nasync function computeSchemaPlanSyncState(saasRoot: string): Promise<SchemaPlanSyncState> {\n const { obligation } = await assessApplicationSchemaPlanObligation(saasRoot);\n if (obligation === ApplicationSchemaPlanObligation.NOT_OWED || obligation === ApplicationSchemaPlanObligation.UNDETERMINED) {\n return SchemaPlanSyncState.UNANSWERABLE;\n }\n if (!existsSync(path.join(saasRoot, MODULES_REGISTRY_RELATIVE_PATH))) return SchemaPlanSyncState.UNANSWERABLE;\n if (obligation === ApplicationSchemaPlanObligation.BASELINE_OWED) {\n /*\n * No baseline yet, so the whole model is ungenerated: that is DRIFT, and the step has work. But\n * `diff --check` refuses outright without a lockfile, so it cannot tell drift from could-not-ask\n * here. Plain `wildo db diff` can: it computes the model (refusing a stale or unloadable one, #403)\n * and, with no lockfile, reports the table count and succeeds. Only a computable model is drift.\n */\n try {\n await executeBoundedSubprocess({\n command: 'wildo',\n args: ['db', 'diff'],\n cwd: saasRoot,\n env: buildMigrationSubprocessEnv(),\n timeoutMs: MIGRATION_GENERATION_TIMEOUT_MS,\n });\n return SchemaPlanSyncState.DRIFTED;\n } catch {\n return SchemaPlanSyncState.UNANSWERABLE;\n }\n }\n try {\n await executeBoundedSubprocess({\n command: 'wildo',\n args: ['db', 'diff', '--check'],\n cwd: saasRoot,\n env: buildMigrationSubprocessEnv(),\n timeoutMs: MIGRATION_GENERATION_TIMEOUT_MS,\n });\n return SchemaPlanSyncState.IN_SYNC;\n } catch (error) {\n // Drift is named in the CLI's own output; an absent CLI or a runner that could not import the\n // registry is not, and must not put the step at the head of the queue.\n return classifySchemaPlanCheckFailure(error);\n }\n}\n\n@injectable()\nexport class ApplicationBuildGenerationStepCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n\n public constructor(\n @inject(SAAS_SERVICE_TYPES.Logger) private readonly logger: LoggerService,\n @inject(SAAS_SERVICE_TYPES.AppConfigService) private readonly appConfigService: AppConfigurationService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext) private readonly companionContext: CompanionContext,\n @inject(COMPANION_SERVICE_TYPES.LabellingPlannerService) private readonly planner: LabellingPlannerCompanionService,\n @inject(COMPANION_SERVICE_TYPES.LabellizeOrchestratorService) private readonly labellize: LabellizeOrchestratorCompanionService,\n @inject(COMPANION_SERVICE_TYPES.TranslateOrchestratorService) private readonly translate: TranslateOrchestratorCompanionService,\n @inject(COMPANION_SERVICE_TYPES.EmailTemplateService) private readonly emailTemplates: EmailTemplateCompanionService,\n @inject(COMPANION_SERVICE_TYPES.LogoDeliberationService) private readonly logoDeliberation: LogoDeliberationCompanionService,\n @inject(COMPANION_SERVICE_TYPES.BrandAcceptService) private readonly brandAccept: BrandAcceptCompanionService,\n @inject(COMPANION_SERVICE_TYPES.TechnicalDocService) private readonly technicalDoc: TechnicalDocCompanionService,\n ) {\n this.logDebug = this.logger.debugByType('ApplicationBuildGenerationStep');\n }\n\n /**\n * The app-root-relative files this task's generation step is responsible\n * for. The landed check treats the task as landed when EVERY one of them is\n * committed — same doctrine as every coding task, same reader\n * (`isWorktreePathCommitted`).\n */\n public async resolveGenerationStepEvidencePaths(task: BuildPlanTask): Promise<readonly string[]> {\n const generationStepRef = this.requireGenerationStepRef(task);\n switch (generationStepRef) {\n case ApplicationBuildGenerationStep.I18N_LABELS: {\n const i18nRoot = this.resolveI18nRelativeRoot();\n const locales = this.resolveEnabledLocales();\n const units = await this.planner.planAllUnits();\n return units.flatMap((unit) =>\n locales.map((locale) => path.posix.join(i18nRoot, unit.filePathHint.bucket, `${unit.filePathHint.slug}.${locale}.ts`)),\n );\n }\n case ApplicationBuildGenerationStep.EMAIL_TEMPLATES:\n // Placement is the email domain's authority; this lane only crosses it with the enabled locales.\n return this.emailTemplates.resolveExpectedArtifactRelativePaths(this.resolveEnabledLocales());\n case ApplicationBuildGenerationStep.LOGO:\n /*\n * The SSOT MODULE alone, deliberately — not the asset images beside it.\n *\n * Evidence must be derivable BEFORE the step runs, and the image filenames cannot be: they\n * are named after whichever mark the panel picks. The module can, and it is the honest\n * marker either way — `brand-accept` writes it only when a winner is promoted, so it is\n * absent on an application that has never accepted a logo and present exactly when one has.\n *\n * This is NOT the directory-prefix shortcut this class's docblock warns about. That check\n * would pass on any app whose `specifications/` is committed at all; this file exists only\n * as a consequence of the step's own work.\n */\n return [path.posix.join('specifications', 'src', 'brand', BRAND_RESOLVED_ASSETS_MODULE)];\n case ApplicationBuildGenerationStep.DOCUMENTATION_PUBLICATION:\n /*\n * The rendered portal's own index, which the publish is what writes.\n *\n * Honest evidence by the same test {@link LOGO} passes and `DATABASE_MIGRATIONS` fails: this\n * file exists ONLY as a consequence of this step's work. `technical-doc/src/pages/search.tsx`\n * imports it directly, which is why an unpublished application cannot even typecheck that\n * package — so its absence is exactly the state the step exists to leave behind, and its\n * presence is exactly the state the step produces.\n *\n * Deliberately the index rather than the `docusaurus/` output tree: the rendered page set is\n * named after whichever chapters the plan carries, so it cannot be derived BEFORE the step\n * runs, and evidence that cannot be derived in advance is not evidence.\n */\n return [path.posix.join('technical-doc', 'src', 'generated', 'consumer-documentation', 'indexes', 'search.json')];\n case ApplicationBuildGenerationStep.DATABASE_MIGRATIONS:\n /*\n * ⚠ MUTATION SCOPE ONLY — this path is NOT this step's landed evidence, and using it as\n * such would be the defect the landed-kind vocabulary above exists to prevent: the lockfile\n * already exists before the step runs, so a landed check over it passes having verified\n * nothing.\n *\n * It is named here because the dispatch host derives the task's writable roots from these\n * paths' DIRECTORIES, and `backend-api/migrations/` is exactly right: the step writes the\n * new migration folder and rewrites the lockfile, and nothing else.\n *\n * `resolveGenerationStepLandedCondition` is the only landed authority, and for this step it\n * answers SCHEMA_PLAN_IN_SYNC.\n */\n return [SCHEMA_PLAN_LOCKFILE_RELATIVE_PATH];\n default:\n throw new ApplicationBuildUnknownGenerationStepError(task.taskRef, generationStepRef);\n }\n }\n\n /**\n * How this task proves it landed — the ONLY landed authority for a generation step.\n *\n * Split from {@link resolveGenerationStepEvidencePaths} because that method answers a different\n * question (which paths may this task write?) and the two answers diverge for exactly one step.\n * Reading landing off the evidence paths would land the migration step on a file that predates it.\n */\n public async resolveGenerationStepLandedCondition(\n task: BuildPlanTask,\n ): Promise<ApplicationBuildGenerationStepLandedCondition> {\n const generationStepRef = this.requireGenerationStepRef(task);\n if (generationStepRef === ApplicationBuildGenerationStep.DATABASE_MIGRATIONS) {\n return { kind: ApplicationBuildGenerationStepLandedKind.SCHEMA_PLAN_IN_SYNC };\n }\n return {\n kind: ApplicationBuildGenerationStepLandedKind.COMMITTED_PATHS,\n paths: await this.resolveGenerationStepEvidencePaths(task),\n };\n }\n\n /**\n * Does this application owe migrations, and has it accepted a schema plan yet?\n *\n * The population the `database-migrations` step belongs to, and the fact the dispatch host derives\n * that step from when a build plan omits it (#1027). It reads BOTH the lockfile and the authored\n * `applicationDatabase.engine` (#1144). The lockfile alone was the marker until then, on the premise\n * that the foundation playbook writes a PostgreSQL application's baseline — it never did, so a\n * journey-built PostgreSQL application had no lockfile, was offered no migration step, and booted\n * into tables nothing had created. See {@link ApplicationSchemaPlanObligation}.\n */\n public async assessSchemaPlanObligation(): Promise<ApplicationSchemaPlanObligationAssessment> {\n return assessApplicationSchemaPlanObligation(this.companionContext.saasRoot);\n }\n\n /**\n * Does the resource model agree with the accepted schema plan — and if not, is that DRIFT, or could the\n * question not be asked? See {@link SchemaPlanSyncState} for why those two must never be merged.\n *\n * Only IN_SYNC lands the migration step, so an unknown answer can never land a task that generated\n * nothing. Re-running over a clean plan is harmless (`wildo db generate` reports nothing to generate);\n * running it where the check is unanswerable only throws, which is why the caller passes over it.\n */\n public async readSchemaPlanSyncState(): Promise<SchemaPlanSyncState> {\n return resolveSchemaPlanSyncState(this.companionContext.saasRoot);\n }\n\n /**\n * Run the task's generation step. Incremental by construction: both\n * pipelines consult the freshness lock and skip fresh units, so re-running\n * an already-satisfied step costs a plan read, not a model call.\n */\n public async executeGenerationStep(\n task: BuildPlanTask,\n session?: CompanionExecutionSessionContext,\n ): Promise<ApplicationBuildGenerationStepRunResult> {\n const generationStepRef = this.requireGenerationStepRef(task);\n switch (generationStepRef) {\n case ApplicationBuildGenerationStep.I18N_LABELS: {\n const primaryLocale = getCompanionConfiguredPrimaryLanguage(this.appConfigService.config);\n const targetLocales = this.resolveEnabledLocales().filter((locale) => locale !== primaryLocale);\n this.logDebug('Running the i18n-labels generation step', {\n taskRef: task.taskRef,\n primaryLocale,\n targetLocales,\n });\n const labellizeResult = await this.labellize.labellize({}, session);\n const translateResult = targetLocales.length > 0\n ? await this.translate.translate({ targetLocales }, session)\n : undefined;\n return {\n generationStepRef,\n labellize: labellizeResult,\n ...(translateResult ? { translate: translateResult } : {}),\n evidencePaths: await this.resolveGenerationStepEvidencePaths(task),\n };\n }\n case ApplicationBuildGenerationStep.EMAIL_TEMPLATES: {\n const primaryLocale = getCompanionConfiguredPrimaryLanguage(this.appConfigService.config);\n const targetLocales = this.resolveEnabledLocales().filter((locale) => locale !== primaryLocale);\n this.logDebug('Running the email-templates generation step', {\n taskRef: task.taskRef,\n primaryLocale,\n targetLocales,\n });\n const emailGenerate = await this.emailTemplates.generateTemplates({}, session);\n const emailTranslate = targetLocales.length > 0\n ? await this.emailTemplates.translateEmailTemplateLabels({ targetLocales: [...targetLocales] }, session)\n : undefined;\n return {\n generationStepRef,\n emailGenerate,\n ...(emailTranslate ? { emailTranslate } : {}),\n evidencePaths: await this.resolveGenerationStepEvidencePaths(task),\n };\n }\n case ApplicationBuildGenerationStep.LOGO: {\n const evidencePaths = await this.resolveGenerationStepEvidencePaths(task);\n /*\n * Incremental, but by PRESENCE rather than by the freshness lock the text pipelines use.\n *\n * Those pipelines skip per UNIT, because a label is cheap and units come and go. A logo\n * deliberation is a panel of three experts, N generated images and a vision judge — the\n * most expensive step in this enum by a wide margin — and an application has exactly one\n * accepted mark. So the honest unit of freshness is \"is there an accepted mark\", and the\n * answer is the same file the landed check reads. Re-running a satisfied step costs a\n * `stat`, not a model call.\n *\n * Replacing an existing mark stays a deliberate act through the brand routes; a build must\n * never quietly redraw an application's identity because it ran again.\n */\n if (await this.hasAcceptedBrandMark()) {\n this.logDebug('Skipping the logo generation step — an accepted mark already exists', {\n taskRef: task.taskRef,\n });\n return { generationStepRef, skippedBecauseAlreadyAccepted: true, evidencePaths, ...(await propagateAcceptedBrand(this.companionContext.saasRoot, this.logger)) };\n }\n\n this.logDebug('Running the logo generation step', { taskRef: task.taskRef });\n const deliberation = await this.logoDeliberation.run({});\n /*\n * `run` stages its winner as the standard single-candidate manifest `accept` expects, which\n * is why the two compose with no adapter: the staged manifest IS the hand-off. An identity\n * pin re-asserting that the manifest still held the winner went with the digest fences — a\n * single-candidate staging area written one await earlier has nothing else it could hold.\n */\n const accept = await this.brandAccept.accept({});\n return {\n generationStepRef,\n deliberation,\n accept,\n skippedBecauseAlreadyAccepted: false,\n evidencePaths,\n // The accept propagated the mark it promoted; carried here so the step's record says so.\n ...(accept.propagation !== undefined ? { propagation: accept.propagation } : {}),\n ...(accept.propagationError !== undefined ? { propagationError: accept.propagationError } : {}),\n };\n }\n case ApplicationBuildGenerationStep.DOCUMENTATION_PUBLICATION: {\n const evidencePaths = await this.resolveGenerationStepEvidencePaths(task);\n /*\n * The backend service key the publish derives its OpenAPI documents from, picked the way\n * every other companion caller picks it: the one declared service that is not a frontend.\n * `runForeignKeyResolutionVerification` resolves it identically, and the controller's own\n * `pickResourcesRegistryCarrierServiceKey` answers the same question for the HTTP door.\n */\n const backendServiceKey = Object.entries(this.companionContext.servicesByKey)\n .find(([, service]) => !service.frontendType)?.[0];\n if (backendServiceKey === undefined) {\n throw new Error('Cannot publish documentation: this application declares no backend service to derive its API documents from.');\n }\n this.logDebug('Running the documentation publication step', { taskRef: task.taskRef, backendServiceKey });\n /*\n * NOT skipped when the tree already exists, unlike the logo step beside it.\n *\n * A logo is accepted once and must never be silently redrawn. A documentation portal is a\n * PROJECTION of the application's current configuration, resources and authored chapters —\n * every one of which the build is still changing — so a published tree is stale the moment a\n * later task lands, and re-publishing is how it stays true. The publish is idempotent by\n * construction (it re-derives and rewrites), and `wildo docs publish` exists precisely\n * because the committed tree drifted silently whenever nobody re-ran it.\n */\n const published = await this.technicalDoc.publishManagedDocumentation({ backendServiceKey });\n return { generationStepRef, published, evidencePaths };\n }\n case ApplicationBuildGenerationStep.DATABASE_MIGRATIONS: {\n const saasRoot = this.companionContext.saasRoot;\n const evidencePaths = await this.resolveGenerationStepEvidencePaths(task);\n\n /*\n * With no accepted plan, `wildo db generate` renders the WHOLE model as the INITIAL migration and\n * writes the baseline in the same invocation. That is exactly what a PostgreSQL application with no\n * baseline owes (#1144): its tables exist only once a migration creates them. It is exactly wrong\n * for a MongoDB-backed application, where it would author a table set nothing uses — so the\n * DECLARED store decides, and anything but a PostgreSQL declaration refuses.\n *\n * `wildo db diff --update-lockfile` was the baseline this refusal used to prescribe. It writes the\n * lockfile and NO migration, so it would accept a plan whose tables were never created.\n */\n const assessment = await this.assessSchemaPlanObligation();\n if (assessment.obligation === ApplicationSchemaPlanObligation.NOT_OWED) {\n throw new Error(\n `Build task ${task.taskRef} runs the database-migrations step, but this application has no accepted schema `\n + `plan (${SCHEMA_PLAN_LOCKFILE_RELATIVE_PATH} is absent) and does not declare PostgreSQL in ${assessment.declaredIn}. `\n + 'A MongoDB-backed application owes no migrations; remove this step from the build plan.',\n );\n }\n if (assessment.obligation === ApplicationSchemaPlanObligation.UNDETERMINED) {\n throw new Error(\n `Build task ${task.taskRef} runs the database-migrations step, but this application has no accepted schema `\n + `plan and its store could not be determined: ${assessment.reason}. Generating without knowing the store `\n + 'could author tables for a MongoDB-backed application.',\n );\n }\n /*\n * The plan is computed by IMPORTING the compiled backend registry, so an unbuilt tree cannot\n * produce one. Generating from a stale or absent model would author a migration for a model\n * nobody has — worse than not generating, because it then gets applied.\n */\n if (!existsSync(path.join(saasRoot, MODULES_REGISTRY_RELATIVE_PATH))) {\n throw new Error(\n `Build task ${task.taskRef} runs the database-migrations step, but ${MODULES_REGISTRY_RELATIVE_PATH} does not `\n + 'exist. The schema plan is computed by importing the compiled backend registry; build backend-api first.',\n );\n }\n\n const before = listMigrationFolders(saasRoot);\n this.logDebug('Running the database-migrations generation step', { taskRef: task.taskRef });\n /*\n * The migration LABEL comes from the task ref, so the folder is traceable back to the task\n * that produced it. Sanitised to the kebab-case shape `--name` accepts; the CLI still owns\n * the timestamp prefix, which is why the resulting path cannot be predicted here.\n */\n const label = task.taskRef.toLowerCase().replace(/[^a-z0-9]+/g, '-').replace(/^-+|-+$/g, '').slice(0, 60)\n || 'build-plan-migration';\n const result = await executeBoundedSubprocess({\n command: 'wildo',\n args: ['db', 'generate', '--name', label],\n cwd: saasRoot,\n env: buildMigrationSubprocessEnv(),\n timeoutMs: MIGRATION_GENERATION_TIMEOUT_MS,\n });\n const after = listMigrationFolders(saasRoot);\n const generatedMigrationFolders = after.filter((folder) => !before.includes(folder));\n return {\n generationStepRef,\n // A clean plan is a legitimate outcome, not a failure: the resources this task follows may\n // have been migrated by an earlier one. The generator reports \"nothing to generate\".\n skippedBecauseAlreadyInSync: generatedMigrationFolders.length === 0,\n generatedMigrationFolders,\n outputTail: `${result.stdout}${result.stderr}`.slice(-2000),\n evidencePaths,\n };\n }\n default:\n throw new ApplicationBuildUnknownGenerationStepError(task.taskRef, generationStepRef);\n }\n }\n\n /**\n * Does this application already carry an accepted brand mark?\n *\n * Presence of the SSOT module is the whole test. It is written only by a promotion, so its\n * existence means a winner was chosen — and its ABSENCE is what makes the step run. Reading the\n * module's contents to count assets was considered and rejected: it would need the specifications\n * package evaluated, which is a far heavier question than \"has this step ever succeeded\", and the\n * landed check next door already keys on the same file.\n */\n private async hasAcceptedBrandMark(): Promise<boolean> {\n const ssotModulePath = path.resolve(\n this.companionContext.saasRoot,\n 'specifications',\n 'src',\n 'brand',\n BRAND_RESOLVED_ASSETS_MODULE,\n );\n try {\n await stat(ssotModulePath);\n return true;\n } catch {\n return false;\n }\n }\n\n private requireGenerationStepRef(task: BuildPlanTask): string {\n const target = task.target;\n if (target?.kind !== BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP) {\n throw new Error(`Build task ${task.taskRef} is not a companion generation step.`);\n }\n return target.generationStepRef;\n }\n\n /**\n * The locales this application ENABLES — `appPreferences.languages.enabledLanguages`,\n * always including the primary. This is the \"every configured locale\" the\n * build task's objective speaks of; an app that enables only its primary\n * locale gets no translate pass and no foreign-locale evidence.\n */\n private resolveEnabledLocales(): readonly AvailableLanguage[] {\n return getCompanionServedLanguages(this.appConfigService.config);\n }\n\n /** `<backend service path>/src/engine/i18n`, app-root relative — the same tree the orchestrators write into. */\n private resolveI18nRelativeRoot(): string {\n const backendService = Object.values(this.companionContext.backendServices)[0];\n if (!backendService) {\n throw new Error('No backend service configured for per-unit i18n output.');\n }\n return path.posix.join(backendService.path, 'src/engine/i18n');\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"application-build-generation-step.companion.service.js","sourceRoot":"","sources":["../../../../src/meta-workflows/services/application-build-generation-step.companion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EACL,+BAA+B,EAC/B,kCAAkC,EAClC,qCAAqC,GAEtC,MAAM,sEAAsE,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGzD,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAC/G,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACrB,2BAA2B,EAC3B,2BAA2B,GAI5B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,kCAAkC,EAAE,MAAM,wDAAwD,CAAC;AAE5G,OAAO,EAAE,sBAAsB,EAAE,MAAM,wDAAwD,CAAC;AAChG,OAAO,EAAE,iCAAiC,EAAE,iCAAiC,EAAE,MAAM,+CAA+C,CAAC;AAGrI,OAAO,EAAE,uBAAuB,EAAsB,MAAM,oDAAoD,CAAC;AAEjH,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAEjF,OAAO,EAAE,qCAAqC,EAAE,2BAA2B,EAAE,MAAM,oDAAoD,CAAC;AACxI,OAAO,EAAE,iBAAiB,EAAE,MAAM,0DAA0D,CAAC;AAC7F,OAAO,EAAE,gCAAgC,EAAE,MAAM,mEAAmE,CAAC;AACrH,OAAO,EAAE,iCAAiC,EAA4B,MAAM,mDAAmD,CAAC;AAChI,OAAO,EAAE,uBAAuB,EAAE,MAAM,q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C,WAAA,MAAM,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CAAA;IAChD,WAAA,MAAM,CAAC,uBAAuB,CAAC,uBAAuB,CAAC,CAAA;IACvD,WAAA,MAAM,CAAC,uBAAuB,CAAC,4BAA4B,CAAC,CAAA;IAC5D,WAAA,MAAM,CAAC,uBAAuB,CAAC,4BAA4B,CAAC,CAAA;IAC5D,WAAA,MAAM,CAAC,uBAAuB,CAAC,oBAAoB,CAAC,CAAA;IACpD,WAAA,MAAM,CAAC,uBAAuB,CAAC,uBAAuB,CAAC,CAAA;IACvD,WAAA,MAAM,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,CAAA;IAClD,WAAA,MAAM,CAAC,uBAAuB,CAAC,mBAAmB,CAAC,CAAA;IAEnD,YAAA,MAAM,CAAC,uBAAuB,CAAC,yBAAyB,CAAC,CAAA;IAMzD,YAAA,MAAM,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,CAAA;IAAE,YAAA,QAAQ,EAAE,CAAA;iEAdoB,gCAAgC;QACzB,qCAAqC;QACrC,qCAAqC;QACxC,6BAA6B;QACxB,gCAAgC;QAC1C,2BAA2B;GAdpG,8CAA8C,CAklB1D","sourcesContent":["import * as path from 'node:path';\nimport {\n ApplicationSchemaPlanObligation,\n SCHEMA_PLAN_LOCKFILE_RELATIVE_PATH,\n assessApplicationSchemaPlanObligation,\n type ApplicationSchemaPlanObligationAssessment,\n} from '../../core/config/application-schema-plan-obligation.companion.utils';\nimport { existsSync, readdirSync } from 'node:fs';\nimport { inject, injectable, optional } from 'inversify';\n\nimport type { AppConfigurationService, LoggerService } from '@wildo-ai/saas-backend-lib';\nimport { SAAS_SERVICE_TYPES, describeCaughtError, executeBoundedSubprocess } from '@wildo-ai/saas-backend-lib';\nimport {\n NO_PLAYBOOK_SPEND_METER,\n SAAS_CONFIG_FILE_NAME,\n applyApplicationDisplayName,\n listDisplayNameBearingPaths,\n type ApplicationDisplayNameResult,\n type PlaybookSpend,\n type PropagateBrandAssetsOutcome,\n} from '@wildo-ai/application-creation-runtime';\nimport { loadSpecificationsCompanionExports } from '../../core/context/companion-package-loaders.companion';\nimport type { EngineCapabilityAlignmentResult, FoundationExecutorCompanionService } from './foundation-executor.companion.service';\nimport { propagateAcceptedBrand } from '../../brand/services/brand-propagation.companion.utils';\nimport { BRAND_RESOLVED_ASSETS_MODULE_PATH, hasAcceptedBrandMarkInWorkingTree } from '../../brand/models/accepted-brand-mark.models';\nimport type { TechnicalDocCompanionService } from '../../technical-doc/services/technical-doc.companion.service';\nimport { AvailableLanguage } from '@wildo-ai/presets-components-models';\nimport { BuildPlanTaskTargetKind, type BuildPlanTask } from '@wildo-ai/saas-specifications/application-creation';\n\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport type { CompanionContext } from '../../core/context/companion-context';\nimport { getCompanionConfiguredPrimaryLanguage, getCompanionServedLanguages } from '../../core/config/primary-language.companion.utils';\nimport { signDerivedInputs } from '../../core/utils/derived-input-signature.companion.utils';\nimport { LabellingPlannerCompanionService } from '../../i18n-labelling/services/labelling-planner.companion.service';\nimport { LabellingPlanIncompletenessReason, type LabellingPlanResult } from '../../i18n-labelling/models/labelling-unit.models';\nimport { requestCompanionRestart } from '../../core/runtime/companion-self-restart.companion';\nimport { BuildPlanTaskLandedProbeKind, type BuildPlanTaskLandedProbe } from './application-build-task-coding-policy.companion.service';\nimport {\n LabellizeOrchestratorCompanionService,\n type LabellizeRunResult,\n} from '../../i18n-labelling/services/labellize-orchestrator.companion.service';\nimport {\n TranslateOrchestratorCompanionService,\n type TranslateRunResult,\n} from '../../i18n-labelling/services/translate-orchestrator.companion.service';\nimport {\n EmailTemplateCompanionService,\n type GenerateEmailTemplatesResult,\n type TranslateEmailTemplateLabelsResult,\n} from '../../email/services/email-template.companion.service';\nimport {\n LogoDeliberationCompanionService,\n type LogoDeliberationResult,\n} from '../../brand/services/logo-deliberation.companion.service';\nimport {\n BrandAcceptCompanionService,\n type BrandAcceptResult,\n} from '../../brand/services/brand-accept.companion.service';\nimport type { CompanionExecutionSessionContext } from '../../core/traceability/companion-traceability.models';\nimport type { LabellingProgressReporter } from '../../i18n-labelling/models/labelling-progress.models';\nimport { GenerationStepProgressTracker, type GenerationStepProgress } from '../models/generation-step-progress.models';\nimport { PlaybookSpendMeasuredUnit, type PlaybookSpendMeterCompanionService } from './playbook-spend-meter.companion.service';\n\n/**\n * The companion generation steps this host can EXECUTE.\n *\n * The values are the `generationStepRef` slugs a build plan authors on a\n * `COMPANION_GENERATION_STEP` target — the closed vocabulary this enum is the\n * named home of. A build plan may only reference steps that exist here: an\n * unknown ref refuses by name (below) instead of silently parking the build,\n * which is exactly how the first generation step ever authored\n * (`i18n-labels`) stalled the Wonder Todos build plan — the vocabulary\n * existed in `_core`, and nothing executed it.\n *\n * Seeds join this enum WHEN a seed-generation pipeline exists to execute —\n * adding the value without one would let a build plan dispatch a step that can\n * only fail; the unknown-ref refusal below is the honest answer until then.\n * The executor is the integration point, not a new lane per step.\n */\nexport enum ApplicationBuildGenerationStep {\n /**\n * The application's labels in its PRIMARY locale — the `labellize` pipeline, and nothing else.\n *\n * It used to translate as well, into every other enabled locale, in the same step. That made \"the\n * labels exist\" and \"every translation is done\" one graph node, and everything that needs only the\n * first waited for the second. Measured on app-creation-test-004 (2026-10-01, #2204): the English\n * labels existed within minutes, translation into four locales then ran for hours at about one\n * file every two minutes per locale, and the documentation portal — which reads primary-locale\n * labels only — stayed dark the whole time. A hand-run `wildo docs publish` succeeded at once.\n *\n * Translation is now {@link I18N_TRANSLATIONS}, its own node, which the dispatch host derives after\n * this one. A step that needs labels to EXIST depends on this step; nothing depends on translation.\n */\n I18N_LABELS = 'i18n-labels',\n /**\n * The application's labels translated into every enabled locale other than the primary — the\n * `translate` pipeline. Split out of {@link I18N_LABELS} (#2204) so translation stops gating the\n * steps that need only the primary locale.\n *\n * DERIVED by the dispatch host rather than authored, for the reason {@link DATABASE_MIGRATIONS} is:\n * the obligation follows from what the application declares (more than one enabled locale) and\n * from the plan carrying a labels step, not from a decision the plan makes. A plan MAY author it,\n * and then the host derives nothing. See `withHostDerivedTranslationStep`.\n *\n * Nothing downstream waits on it, by design: the documentation portal reads primary-locale labels\n * only (#1993 is the issue for translating it), and the website and the application read their\n * label files at run time, so a translation landing is picked up without any republish step.\n */\n I18N_TRANSLATIONS = 'i18n-translations',\n EMAIL_TEMPLATES = 'email-templates',\n /**\n * The brand mark: an expert panel derives creative directions, images are generated, a vision\n * judge scores them, and the winner is promoted into the specifications SSOT.\n *\n * Added under the rule this enum's docblock states — a value joins WHEN a pipeline exists to\n * execute it. That pipeline was fully built and reachable only by a human issuing\n * `POST /brand/{generate,deliberate,accept}-logo`, so an application could acquire a considered\n * mark only if someone drove it by hand (issue #220). Hand-supplying a logo stays available and\n * unchanged; what this adds is the journey's own path to one.\n */\n LOGO = 'logo',\n /**\n * `wildo db generate` — turn the drift between the application's resource model and its accepted\n * schema plan into a committed migration, so a PostgreSQL-backed application's tables exist.\n *\n * Added under the rule this enum's docblock states — a value joins WHEN a pipeline exists to\n * execute it. The pipeline is the CLI's own generate door, which already owns every hard part\n * (the planner, the risk vocabulary, the refusals) and advances the lockfile in the same\n * invocation that writes the migration.\n *\n * Without a lockfile `wildo db generate` treats the whole model as the INITIAL migration and writes\n * the baseline beside it. That is exactly what a PostgreSQL application with no baseline owes, and\n * exactly wrong for a MongoDB-backed one, where it would author a table set nothing uses — so the\n * application's DECLARED store decides (#1144, `ApplicationSchemaPlanObligation`): the step runs\n * for an accepted plan or an owed baseline, and REFUSES for a MongoDB store or an unreadable\n * declaration. See `executeGenerationStep`.\n */\n DATABASE_MIGRATIONS = 'database-migrations',\n /**\n * `wildo docs publish` — derive, render, measure, validate and write the application's customer\n * documentation portal, so the chapters its build authored are something a reader can reach.\n *\n * Added under the rule this enum's docblock states — a value joins WHEN a pipeline exists to\n * execute it — and it is the same shape {@link LOGO} joined in: the pipeline was fully built and\n * reachable ONLY by a human, through `POST /technical-doc/publish-managed` or the `wildo docs\n * publish` command that calls it. Measured on the first end-to-end journey run (#1273): the plan\n * carried SIX `DOCUMENTATION_CHAPTER` tasks, the engine's own derivation refused with *\"Application\n * content remains absent until the app-creator owns an accepted authoring artifact\"*, an agent\n * built that artifact — and nothing published it. `technical-doc` could not even typecheck, because\n * `src/pages/search.tsx` imports a search index the publish is what writes, so\n * `check:technical-doc-typecheck` was red for the whole build and failed a documentation task on a\n * red it did not cause, at $19.33.\n *\n * The step is DERIVED by the dispatch host rather than authored by the decomposer, for the reason\n * {@link DATABASE_MIGRATIONS} is: an application owes it as a consequence of what its plan\n * contains — here, any documentation chapter — rather than as a decision the plan makes. See\n * `withHostDerivedDocumentationPublicationStep`.\n *\n * It runs AFTER the chapters and after `i18n-labels`, and the second is not optional: publication\n * resolves the application's organization-role documentation and refuses without the primary-locale\n * label — *\"requires primary-locale label 'roles.ORG_ADMIN.label'; generate the application's role\n * labels before publishing documentation\"*. Running it early fails on exactly that.\n *\n * It does NOT wait for {@link I18N_TRANSLATIONS}: the primary locale is all it reads (#2204).\n */\n DOCUMENTATION_PUBLICATION = 'documentation-publication',\n /**\n * Turn on the engine capabilities the application's decisions imply and nothing has turned on (#2497):\n * ORGANIZATIONS for an organization-tenancy domain plan, EMAIL_TRANSACTIONAL because tenant invitations\n * send mail (served by the credential-free development provider), EMAIL_INBOUND when work arrives by email.\n *\n * The foundation step does this, and a build planned without it did not: app-creation-test-005 made its\n * modules through ensure-module tasks and shipped `ORGANIZATIONS: false` under an organization-tenancy\n * plan. DERIVED by the dispatch host for the reason {@link DATABASE_MIGRATIONS} is: the obligation follows\n * from what the application declares, not from a decision the plan makes. See\n * `withHostDerivedEngineCapabilitiesStep`. The derivation is the foundation's own\n * (`FoundationExecutorCompanionService.alignEngineCapabilitiesWithDecisions`), so the two cannot disagree.\n */\n ENGINE_CAPABILITIES = 'engine-capabilities',\n /**\n * Carry the chosen brand's name to the application (#2505): the SaaS config's `displayName`, and every file a\n * template rendered the provisional name into (the page title, the website's copy, the documentation portal).\n *\n * Both creation runs chose \"Groundwork\" and shipped \"App Creation Test 00x\" everywhere, because the brand step\n * decides a name and nothing applied it. DERIVED by the dispatch host whenever the landed brand's name differs from\n * the committed `displayName` (see `withHostDerivedDisplayNameStep`). The rename is\n * `applyApplicationDisplayName`, which derives the files from the templates.\n */\n DISPLAY_NAME = 'display-name',\n}\n\n/**\n * What a generation step may write, relative to its evidence paths (#2505 review F2).\n *\n * The dispatch plan's write scope, and in a shared worktree window the paths the step CLAIMS as its own, are derived\n * from the step's evidence. Most steps own whole directories (a label unit tree, the migrations directory, the brand\n * module's directory), so their evidence directories are the scope. A step whose evidence files sit inside directories\n * other writers share must be scoped to those FILES: widening each to its directory would let it claim, and commit\n * under its name, a concurrent coding run's half-written edits. An exact file is never claimed in a shared window;\n * the wave-end reconciliation commits it with its siblings (the #2497 rule).\n */\nexport enum GenerationStepWriteScope {\n /** The directories holding the evidence paths: the step is their only writer. */\n EVIDENCE_DIRECTORIES = 'EVIDENCE_DIRECTORIES',\n /** Exactly the evidence files: others write the directories around them. */\n EVIDENCE_FILES = 'EVIDENCE_FILES',\n}\n\n/** Total over the steps, so a step added tomorrow does not compile until somebody says what it may write. */\nexport const GENERATION_STEP_WRITE_SCOPE: Readonly<Record<ApplicationBuildGenerationStep, GenerationStepWriteScope>> = {\n [ApplicationBuildGenerationStep.I18N_LABELS]: GenerationStepWriteScope.EVIDENCE_DIRECTORIES,\n [ApplicationBuildGenerationStep.I18N_TRANSLATIONS]: GenerationStepWriteScope.EVIDENCE_DIRECTORIES,\n [ApplicationBuildGenerationStep.EMAIL_TEMPLATES]: GenerationStepWriteScope.EVIDENCE_DIRECTORIES,\n [ApplicationBuildGenerationStep.LOGO]: GenerationStepWriteScope.EVIDENCE_DIRECTORIES,\n [ApplicationBuildGenerationStep.DATABASE_MIGRATIONS]: GenerationStepWriteScope.EVIDENCE_DIRECTORIES,\n [ApplicationBuildGenerationStep.DOCUMENTATION_PUBLICATION]: GenerationStepWriteScope.EVIDENCE_DIRECTORIES,\n // The configuration file, which the worker, minion, provider and roles coding tasks also write.\n [ApplicationBuildGenerationStep.ENGINE_CAPABILITIES]: GenerationStepWriteScope.EVIDENCE_FILES,\n // The page title, the website's packs, the portal's title: every one sits beside files other tasks write.\n [ApplicationBuildGenerationStep.DISPLAY_NAME]: GenerationStepWriteScope.EVIDENCE_FILES,\n};\n\n/** The compiled registry `wildo db` imports to compute the current plan. Absent ⇒ the plan cannot be computed. */\nconst MODULES_REGISTRY_RELATIVE_PATH = 'backend-api/dist/modules-registry.backend.js';\n\n/** Bounds on the `wildo db generate` subprocess. Generous: it spawns a runner that imports the whole app registry. */\nconst MIGRATION_GENERATION_TIMEOUT_MS = 10 * 60 * 1000;\n\n/**\n * How a generation step proves it did its work.\n *\n * Two kinds, because the obvious single answer does not fit every step. Most steps write FILES\n * whose paths are known before they run, and \"landed\" means those files are committed. A migration\n * step cannot: its artifact is `backend-api/migrations/<timestamp>_<name>/migration.sql`, and the\n * timestamp is minted DURING the run.\n *\n * The tempting substitutes were both rejected, and the reasons are worth keeping:\n *\n * - the accepted lockfile — once a plan is accepted it ALREADY EXISTS before every later run of the\n * step, so \"is it committed?\" is trivially true and the step would land having done nothing. That is precisely the directory-prefix shortcut this service's `LOGO` case warns about.\n * - an empty path list — legal, and it makes the dispatch host SKIP the landed check entirely, so a\n * step that generated nothing would read as complete.\n *\n * So the migration step's evidence is not a file at all: it is the STATE the step exists to reach —\n * the model and the accepted plan agree. That is what `wildo db diff --check` answers.\n */\nexport enum ApplicationBuildGenerationStepLandedKind {\n /** Landed when every named path is committed. The shape every file-writing step uses. */\n COMMITTED_PATHS = 'committed_paths',\n /** Landed when the resource model and the accepted schema plan agree. */\n SCHEMA_PLAN_IN_SYNC = 'schema_plan_in_sync',\n /**\n * Landed by construction: the application owes this step nothing. Today that is an `i18n-translations`\n * step on an application whose only enabled locale is the primary (#2204 review). The host never\n * DERIVES that step there, but a plan may AUTHOR it, and its evidence list is empty — and an empty\n * `COMMITTED_PATHS` list never lands, so the step would be ready forever and the plan never finish.\n * An honest \"nothing is owed\" is a landing, not a missing proof.\n */\n NOT_OWED = 'not_owed',\n /**\n * Landed when the COMMITTED resolved-assets module lists a MASTER asset whose file is committed (#2410) — the\n * logo step. Not `COMMITTED_PATHS` over the module: `wildo init` scaffolds that module (an empty asset list) and the\n * brand index imports it, so it is committed on every application before the step ever runs, and a presence test\n * landed the step having drawn nothing. See `accepted-brand-mark.models.ts`.\n */\n ACCEPTED_BRAND_MARK = 'accepted_brand_mark',\n /**\n * Landed when the COMMITTED `wildo.saas.config.ts` enables every named capability (#2497) — the\n * `engine-capabilities` step. Not `COMMITTED_PATHS` over the config: every application commits that file\n * before the step runs, so a presence test would land it having enabled nothing.\n */\n ENGINE_CAPABILITIES_ENABLED = 'engine_capabilities_enabled',\n /**\n * Never landed while the labels PLAN is partial in a way that hides units the application owes (#2504): the frontend\n * introspection failed or answered malformed, so the sidebar sections, views, composite views and settings hub are\n * absent from the plan rather than empty; or the fresh resource list could not be read. Evidence read off such a plan\n * is met by the units it can see, so a run on it lands while owing the rest.\n */\n LABEL_PLAN_INCOMPLETE = 'label_plan_incomplete',\n /**\n * Landed when every probe holds (#2504) — the labels step: each planned unit's file is committed, and each planned\n * id of a frontend-derived ROOT unit (a sidebar section, a view, a composite view, a settings-hub entry) is declared in\n * that committed file. Those buckets are one `root.<locale>.ts` each, so a file check alone never notices a missing\n * section: 005's sidebar file existed and held only the engine's three sections.\n */\n LANDED_PROBES = 'landed_probes',\n /**\n * Landed when the COMMITTED `wildo.saas.config.ts` declares `displayName` equal to the brand's name (#2505) — the\n * `display-name` step. Not `COMMITTED_PATHS`: the config is committed before the step runs.\n */\n DISPLAY_NAME_APPLIED = 'display_name_applied',\n}\n\n/**\n * The plan degradations that hide label units the application owes (#2504), so a labels step may neither land on nor\n * run from such a plan. RESOURCE_REGISTRY_STALE also names the units it hides, which the evidence counts.\n */\nexport const LABEL_PLAN_BLOCKING_INCOMPLETENESS: ReadonlySet<LabellingPlanIncompletenessReason> = new Set([\n LabellingPlanIncompletenessReason.RESOURCE_REGISTRY_STALE,\n LabellingPlanIncompletenessReason.RESOURCE_REGISTRY_UNREADABLE,\n LabellingPlanIncompletenessReason.FRONTEND_INTROSPECTION_FAILED,\n LabellingPlanIncompletenessReason.FRONTEND_INTROSPECTION_MALFORMED,\n]);\n\n/** What the dispatch host must evaluate to decide whether a generation-step task has landed. */\nexport type ApplicationBuildGenerationStepLandedCondition =\n | { readonly kind: ApplicationBuildGenerationStepLandedKind.COMMITTED_PATHS; readonly paths: readonly string[] }\n | { readonly kind: ApplicationBuildGenerationStepLandedKind.SCHEMA_PLAN_IN_SYNC }\n | { readonly kind: ApplicationBuildGenerationStepLandedKind.NOT_OWED }\n | { readonly kind: ApplicationBuildGenerationStepLandedKind.ACCEPTED_BRAND_MARK; readonly modulePath: string }\n | { readonly kind: ApplicationBuildGenerationStepLandedKind.ENGINE_CAPABILITIES_ENABLED; readonly configPath: string; readonly capabilities: readonly string[] }\n | { readonly kind: ApplicationBuildGenerationStepLandedKind.LABEL_PLAN_INCOMPLETE; readonly detail: string }\n | { readonly kind: ApplicationBuildGenerationStepLandedKind.LANDED_PROBES; readonly probes: readonly BuildPlanTaskLandedProbe[] }\n | { readonly kind: ApplicationBuildGenerationStepLandedKind.DISPLAY_NAME_APPLIED; readonly configPath: string; readonly displayName: string };\n\n/**\n * What `wildo db diff --check` could tell the host about the resource model versus the accepted schema plan.\n *\n * THREE answers, not two. A boolean merged the two failures that lead to opposite places (found in review,\n * 2026-09-13): DRIFTED means the migration step has work and must run first; UNANSWERABLE means the check did not\n * report drift and did not pass — no accepted plan and an undeterminable store declaration, no built backend registry, a compiled model older than its\n * sources (`assessCompiledModelCurrency`, #403: before it, a dead watcher's stale dist answered IN_SYNC and landed\n * this step with drift on disk), a CLI that could not import\n * it or could not be spawned, a timeout, a lockfile that fails strict parsing, or an ENGINE planner-contract\n * mismatch (whose remedy is `wildo db generate --accept-planner-contract`, not a rebuild) — and\n * running the step then only throws. Read as one \"not in sync\", an unanswerable check put a step that can\n * only fail at the head of the build queue on every dispatch, so no other task could run.\n *\n * Only IN_SYNC ever lands the step: an unanswered question must not land a migration step either.\n */\nexport enum SchemaPlanSyncState {\n /** The model and the accepted plan agree: the migration step has landed. */\n IN_SYNC = 'in_sync',\n /** The check ran and reported ungenerated changes: the migration step has work to do. */\n DRIFTED = 'drifted',\n /** The check neither passed nor reported drift (see above for the causes); running the step now would refuse or fail. */\n UNANSWERABLE = 'unanswerable',\n}\n\n/**\n * The line `wildo db diff --check` prints when, and only when, it found drift. The CLI exits non-zero for\n * drift and for every could-not-ask failure alike, so this text is the one thing that separates them. A COPY\n * of the message in the CLI's `commands/db/diff.command.ts`, pinned to it by a source-parity test.\n */\nexport const SCHEMA_PLAN_DRIFT_OUTPUT_MARKER = 'ungenerated schema change(s)';\n\n/** Classify a failed `wildo db diff --check`: DRIFTED when the CLI said so, UNANSWERABLE otherwise. */\nexport function classifySchemaPlanCheckFailure(error: unknown): SchemaPlanSyncState {\n const details = (error as { details?: { stdout?: unknown; stderr?: unknown } } | null | undefined)?.details;\n const output = `${typeof details?.stdout === 'string' ? details.stdout : ''}\\n${typeof details?.stderr === 'string' ? details.stderr : ''}`;\n return output.includes(SCHEMA_PLAN_DRIFT_OUTPUT_MARKER) ? SchemaPlanSyncState.DRIFTED : SchemaPlanSyncState.UNANSWERABLE;\n}\n\n/** A build plan referenced a generation step this companion cannot execute. Named, so the plan author sees the vocabulary. */\nexport class ApplicationBuildUnknownGenerationStepError extends Error {\n public constructor(taskRef: string, generationStepRef: string) {\n super(\n `Build task ${taskRef} references generation step \"${generationStepRef}\", which this companion cannot execute. `\n + `Known steps: ${Object.values(ApplicationBuildGenerationStep).join(', ')}.`,\n );\n }\n}\n\n/** What one executed i18n-labels step did — the pipeline's result, verbatim. */\nexport interface ApplicationBuildI18nLabelsStepRunResult {\n readonly generationStepRef: ApplicationBuildGenerationStep.I18N_LABELS;\n /** Primary-locale label generation (incremental — fresh units are skipped by the freshness lock). */\n readonly labellize: LabellizeRunResult;\n /** The app-root-relative files this step is responsible for — the same paths the landed check reads. */\n readonly evidencePaths: readonly string[];\n}\n\n/** What one executed i18n-translations step did — the pipeline's result, verbatim. */\nexport interface ApplicationBuildI18nTranslationsStepRunResult {\n readonly generationStepRef: ApplicationBuildGenerationStep.I18N_TRANSLATIONS;\n /** The locales it translated into: every enabled locale but the primary. */\n readonly targetLocales: readonly string[];\n /** Translation into those locales; absent when there were none (an authored step on a one-locale app). */\n readonly translate?: TranslateRunResult;\n /** The app-root-relative files this step is responsible for — the same paths the landed check reads. */\n readonly evidencePaths: readonly string[];\n}\n\n/** What one executed email-templates step did — the per-pipeline results, verbatim. */\nexport interface ApplicationBuildEmailTemplatesStepRunResult {\n readonly generationStepRef: ApplicationBuildGenerationStep.EMAIL_TEMPLATES;\n /** Primary-locale template + labels generation (incremental — existing template+labels pairs are skipped). */\n readonly emailGenerate: GenerateEmailTemplatesResult;\n /** Label translation into the other enabled locales; absent when the app enables only its primary locale. */\n readonly emailTranslate?: TranslateEmailTemplateLabelsResult;\n /** The app-root-relative files this step is responsible for — the same paths the landed check reads. */\n readonly evidencePaths: readonly string[];\n}\n\n/**\n * What one executed logo step did.\n *\n * `deliberation`/`accept` are absent when the step was SKIPPED because the application already has\n * an accepted mark — see the executor for why skipping is the incremental answer here rather than\n * the freshness lock the text pipelines use.\n */\nexport interface ApplicationBuildLogoStepRunResult {\n readonly generationStepRef: ApplicationBuildGenerationStep.LOGO;\n /** The expert-panel deliberation that derived directions, generated marks and picked a winner. */\n readonly deliberation?: LogoDeliberationResult;\n /** Promotion of that winner into `specifications/src/brand/` — images plus the rewritten SSOT. */\n readonly accept?: BrandAcceptResult;\n /** True when an accepted mark already existed and no model was called. */\n readonly skippedBecauseAlreadyAccepted: boolean;\n /**\n * The accepted mark copied to every surface that serves it — the app's public folder and runtime\n * config, the documentation portal, the website's icons and Open Graph image. Runs on BOTH branches:\n * a surface composed after the mark was accepted (a website added later) still receives it.\n */\n readonly propagation?: PropagateBrandAssetsOutcome;\n /** Why propagation could not run. Never fails the step: the mark is accepted either way. */\n readonly propagationError?: string;\n /** The app-root-relative files this step is responsible for — the same paths the landed check reads. */\n readonly evidencePaths: readonly string[];\n}\n\n/**\n * What one executed `database-migrations` step did.\n *\n * `evidencePaths` is present for symmetry with its siblings and carries the MUTATION SCOPE, not the\n * landed evidence — this step lands on `SCHEMA_PLAN_IN_SYNC`, never on a path.\n */\nexport interface ApplicationBuildDatabaseMigrationsStepRunResult {\n readonly generationStepRef: ApplicationBuildGenerationStep.DATABASE_MIGRATIONS;\n /** True when the plan was already in sync and `wildo db generate` had nothing to write. */\n readonly skippedBecauseAlreadyInSync: boolean;\n /** The migration folder names present after the run that were not present before it. Usually 0 or 1. */\n readonly generatedMigrationFolders: readonly string[];\n /** The generator's own output tail — it names the tables and the risk of each change. */\n readonly outputTail: string;\n /** MUTATION SCOPE, not landed evidence. */\n readonly evidencePaths: readonly string[];\n}\n\n/**\n * What one executed `documentation-publication` step did.\n *\n * `published` is the publish service's own report — output count and root — kept whole rather than\n * projected, because the step's value to a reader is \"what did it write\", and this lane has no\n * second opinion about that.\n */\nexport interface ApplicationBuildDocumentationPublicationStepRunResult {\n readonly generationStepRef: ApplicationBuildGenerationStep.DOCUMENTATION_PUBLICATION;\n /** The publish service's report. */\n readonly published: unknown;\n /** The rendered search index, which is both this step's mutation scope and its landed evidence. */\n readonly evidencePaths: readonly string[];\n}\n\n/** What one executed `engine-capabilities` step did (#2497): the foundation's own capability record, beside the paths it may write. */\nexport interface ApplicationBuildEngineCapabilitiesStepRunResult extends EngineCapabilityAlignmentResult {\n readonly generationStepRef: ApplicationBuildGenerationStep.ENGINE_CAPABILITIES;\n /** The application's configuration: the only file this step writes. */\n readonly evidencePaths: readonly string[];\n}\n\n/** What one executed `display-name` step did (#2505). */\nexport interface ApplicationBuildDisplayNameStepRunResult extends ApplicationDisplayNameResult {\n readonly generationStepRef: ApplicationBuildGenerationStep.DISPLAY_NAME;\n readonly evidencePaths: readonly string[];\n}\n\n/** One executed generation step's result, discriminated by the step it ran. */\nexport type ApplicationBuildGenerationStepRunResult =\n | ApplicationBuildI18nLabelsStepRunResult\n | ApplicationBuildI18nTranslationsStepRunResult\n | ApplicationBuildEmailTemplatesStepRunResult\n | ApplicationBuildLogoStepRunResult\n | ApplicationBuildDatabaseMigrationsStepRunResult\n | ApplicationBuildDocumentationPublicationStepRunResult\n | ApplicationBuildEngineCapabilitiesStepRunResult\n | ApplicationBuildDisplayNameStepRunResult;\n\n/** A step's result with what its model calls spent (#2232) — what the step's row records. */\nexport type MeasuredGenerationStepRunResult = ApplicationBuildGenerationStepRunResult & { readonly spend: PlaybookSpend };\n\n/**\n * The identity allowlist for the `wildo db generate` subprocess.\n *\n * PATH is the load-bearing entry: the CLI is a GLOBAL install and is deliberately NOT linked into an\n * application's `node_modules/.bin` — verified on both dogfood applications — so it is reachable\n * only through PATH. Kept to the same minimal set the verification hook uses rather than passing the\n * companion's whole environment.\n */\nfunction buildMigrationSubprocessEnv(): NodeJS.ProcessEnv {\n const env: NodeJS.ProcessEnv = {};\n for (const key of ['PATH', 'HOME', 'USER', 'LOGNAME', 'SHELL', 'TERM']) {\n const value = process.env[key];\n if (value !== undefined) env[key] = value;\n }\n return env;\n}\n\n/** Migration folder names currently on disk (not the lockfile beside them). */\nfunction listMigrationFolders(saasRoot: string): readonly string[] {\n const migrationsRoot = path.join(saasRoot, 'backend-api', 'migrations');\n if (!existsSync(migrationsRoot)) return [];\n return readdirSync(migrationsRoot, { withFileTypes: true })\n .filter((entry) => entry.isDirectory())\n .map((entry) => entry.name)\n .sort();\n}\n\n/**\n * Execute companion-owned generation steps of a build plan, and answer which\n * files each step is responsible for.\n *\n * A `COMPANION_GENERATION_STEP` is deterministic in its ROUTING and its\n * PLACEMENT — which pipeline runs and where the files land is decided by\n * code, never by a coding agent (`application-build-task-coding-policy`\n * refuses to compose a coding contract for one). The CONTENT may still come\n * from a model (labels are generated text), which is exactly the directive's\n * bucket-3 shape: a companion-owned generation step interleaved by the build\n * loop.\n *\n * ## Landed evidence, and why it is planner-derived\n *\n * The build lane's landed answer is GIT: a task has landed when the files it\n * produces are committed. A generation step's target carries only its\n * `generationStepRef` — no paths — so the file set must be DERIVED. For\n * `i18n-labels` it is the labelling planner's unit inventory in the primary\n * locale, and for `i18n-translations` the same inventory crossed with every\n * other enabled locale: exactly the files the pipelines write, re-derivable\n * after a restart, a fresh clone, or a branch switch. Deliberately NOT the\n * whole i18n directory: that is already committed on any app with history, and\n * a directory-prefix check would report the step landed without it ever\n * having run for the units it still owes.\n */\n/**\n * The last schema-plan sync answer per application root, valid while its input signature holds.\n *\n * Module-level rather than per-instance so two service instances resolving landing concurrently — a\n * board read and a `/build/next` — share one 8-9 s subprocess instead of spawning two.\n */\nconst schemaPlanSyncStateCache = new Map<string, { signature: string; state: SchemaPlanSyncState }>();\n\n/** Answers still being computed, so concurrent callers at the same signature await one subprocess. */\nconst schemaPlanSyncStateInFlight = new Map<string, { signature: string | null; compute: Promise<SchemaPlanSyncState> }>();\n\n/**\n * The files that decide the schema-plan sync answer: the compiled MODEL and the ACCEPTED PLAN.\n *\n * Exported so the freshness loop below signs exactly what the resolver signs. Two copies of this list\n * would let the loop refresh on a change the resolver ignores, or miss one it honours.\n */\nexport function signSchemaPlanInputs(saasRoot: string): string | null {\n return signDerivedInputs(\n [path.join(saasRoot, 'backend-api', 'dist'), path.join(saasRoot, 'infrastructure'), ...resolveEngineDistRoots(saasRoot)],\n [path.join(saasRoot, SCHEMA_PLAN_LOCKFILE_RELATIVE_PATH)],\n );\n}\n\n/**\n * The compiled ENGINE the backend resolves: every `@wildo-ai/*` package's `dist` under\n * `backend-api/node_modules`. The engine declares resources (the planner plans them) and owns the\n * planner, so an engine change moves the schema plan without touching either app-local input.\n *\n * Signed since 2026-09-25. It used to be the one unsigned input, on the premise that an engine change\n * respawns the companion and empties this cache. On scratch-journey the companion ran from 12:20Z\n * while engine resources landed in the app's injected snapshot at 13:04Z and 13:41Z: its supervisor\n * was paused and did not restart it. The cache kept answering IN_SYNC, and the build plan reported the\n * migrations step LANDED with 16 changes owed. Walking all six packages there costs about 80 ms,\n * against about 8.5 s to re-derive. The enumeration is total, so a package that starts declaring\n * resources is covered the day it does.\n */\nfunction resolveEngineDistRoots(saasRoot: string): readonly string[] {\n const scope = path.join(saasRoot, 'backend-api', 'node_modules', '@wildo-ai');\n if (!existsSync(scope)) return [];\n return readdirSync(scope)\n .sort()\n .map((name) => path.join(scope, name, 'dist'))\n .filter((dist) => existsSync(dist));\n}\n\n/**\n * The cached schema-plan sync answer for one application root.\n *\n * Module-level rather than a class member because it never used instance state, and because the\n * COMPANION BOOT path warms it (`startIntrospectionFreshnessPlane`). Reaching it through the service\n * would drag the labelling, email and brand service graph into the boot graph to answer a question\n * about two files — and a boot path that fails closed needs the companion it just stopped\n * (`continuity-drift-and-cas-basis.md` Rule 3).\n */\nexport async function resolveSchemaPlanSyncState(saasRoot: string): Promise<SchemaPlanSyncState> {\n /*\n * The answer costs a `wildo db diff --check` SUBPROCESS, which boots the CLI and imports the\n * application's compiled modules registry: measured 8-14 s on `examples/wonder-todos`, 2026-09-18,\n * of which ~5.5 s is the registry import alone. It is asked on every landing resolution — so on\n * every creation-board refresh and every `/build/next` — and it was the single largest remaining\n * cost of both.\n *\n * Nothing about that answer can change unless the MODEL or the ACCEPTED PLAN changes, and both are\n * files. So it is re-derived when they move and reused when they do not: ~17 ms to sign against\n * ~8500 ms to re-run. A TTL is not used here for the same reason the specifications loader has\n * none — this state decides whether the migration step is offered, so drift must surface at the\n * next read rather than at the next expiry.\n *\n * The ENGINE reaches the application through node_modules rather than through either app-local path,\n * so its compiled packages are signed as well (see `resolveEngineDistRoots`). This used to rely on an\n * engine change respawning the companion; one survived an engine change on 2026-09-25 and served a\n * stale IN_SYNC. The answer is still NOT persisted to disk across restarts (#1350).\n */\n const signature = signSchemaPlanInputs(saasRoot);\n if (signature !== null) {\n const cached = schemaPlanSyncStateCache.get(saasRoot);\n if (cached?.signature === signature) return cached.state;\n const inFlight = schemaPlanSyncStateInFlight.get(saasRoot);\n if (inFlight?.signature === signature) return inFlight.compute;\n }\n\n const compute = computeSchemaPlanSyncState(saasRoot);\n schemaPlanSyncStateInFlight.set(saasRoot, { signature, compute });\n try {\n const state = await compute;\n if (signature !== null) schemaPlanSyncStateCache.set(saasRoot, { signature, state });\n return state;\n } finally {\n // A failed derivation caches nothing, so the next caller retries rather than inheriting it.\n if (schemaPlanSyncStateInFlight.get(saasRoot)?.compute === compute) {\n schemaPlanSyncStateInFlight.delete(saasRoot);\n }\n }\n}\n\nasync function computeSchemaPlanSyncState(saasRoot: string): Promise<SchemaPlanSyncState> {\n const { obligation } = await assessApplicationSchemaPlanObligation(saasRoot);\n if (obligation === ApplicationSchemaPlanObligation.NOT_OWED || obligation === ApplicationSchemaPlanObligation.UNDETERMINED) {\n return SchemaPlanSyncState.UNANSWERABLE;\n }\n if (!existsSync(path.join(saasRoot, MODULES_REGISTRY_RELATIVE_PATH))) return SchemaPlanSyncState.UNANSWERABLE;\n if (obligation === ApplicationSchemaPlanObligation.BASELINE_OWED) {\n /*\n * No baseline yet, so the whole model is ungenerated: that is DRIFT, and the step has work. But\n * `diff --check` refuses outright without a lockfile, so it cannot tell drift from could-not-ask\n * here. Plain `wildo db diff` can: it computes the model (refusing a stale or unloadable one, #403)\n * and, with no lockfile, reports the table count and succeeds. Only a computable model is drift.\n */\n try {\n await executeBoundedSubprocess({\n command: 'wildo',\n args: ['db', 'diff'],\n cwd: saasRoot,\n env: buildMigrationSubprocessEnv(),\n timeoutMs: MIGRATION_GENERATION_TIMEOUT_MS,\n });\n return SchemaPlanSyncState.DRIFTED;\n } catch {\n return SchemaPlanSyncState.UNANSWERABLE;\n }\n }\n try {\n await executeBoundedSubprocess({\n command: 'wildo',\n args: ['db', 'diff', '--check'],\n cwd: saasRoot,\n env: buildMigrationSubprocessEnv(),\n timeoutMs: MIGRATION_GENERATION_TIMEOUT_MS,\n });\n return SchemaPlanSyncState.IN_SYNC;\n } catch (error) {\n // Drift is named in the CLI's own output; an absent CLI or a runner that could not import the\n // registry is not, and must not put the step at the head of the queue.\n return classifySchemaPlanCheckFailure(error);\n }\n}\n\n@injectable()\nexport class ApplicationBuildGenerationStepCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n /** The running step of each task, by task ref — runtime state only, see {@link GenerationStepProgress}. */\n private readonly progressByTaskRef = new Map<string, GenerationStepProgressTracker>();\n\n public constructor(\n @inject(SAAS_SERVICE_TYPES.Logger) private readonly logger: LoggerService,\n @inject(SAAS_SERVICE_TYPES.AppConfigService) private readonly appConfigService: AppConfigurationService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext) private readonly companionContext: CompanionContext,\n @inject(COMPANION_SERVICE_TYPES.LabellingPlannerService) private readonly planner: LabellingPlannerCompanionService,\n @inject(COMPANION_SERVICE_TYPES.LabellizeOrchestratorService) private readonly labellize: LabellizeOrchestratorCompanionService,\n @inject(COMPANION_SERVICE_TYPES.TranslateOrchestratorService) private readonly translate: TranslateOrchestratorCompanionService,\n @inject(COMPANION_SERVICE_TYPES.EmailTemplateService) private readonly emailTemplates: EmailTemplateCompanionService,\n @inject(COMPANION_SERVICE_TYPES.LogoDeliberationService) private readonly logoDeliberation: LogoDeliberationCompanionService,\n @inject(COMPANION_SERVICE_TYPES.BrandAcceptService) private readonly brandAccept: BrandAcceptCompanionService,\n @inject(COMPANION_SERVICE_TYPES.TechnicalDocService) private readonly technicalDoc: TechnicalDocCompanionService,\n // The capability derivation the foundation step owns (#2497): one derivation for both lanes.\n @inject(COMPANION_SERVICE_TYPES.FoundationExecutorService) private readonly foundationExecutor: FoundationExecutorCompanionService,\n /*\n * What each step's model calls spent (#2232): a labels or translations pass is model calls, and nothing\n * recorded them when the step ran outside a playbook. Optional so a harness that builds this service\n * positionally need not hand one in; without it a step's spend is NOT OBSERVED, never zero.\n */\n @inject(COMPANION_SERVICE_TYPES.PlaybookSpendMeter) @optional() private readonly spendMeter?: PlaybookSpendMeterCompanionService,\n ) {\n this.logDebug = this.logger.debugByType('ApplicationBuildGenerationStep');\n }\n\n /** What each executed step spent, by the task object it ran — read by the step's row writer (`spentByGenerationStep`). */\n private readonly stepSpendByTask = new WeakMap<BuildPlanTask, PlaybookSpend>();\n\n /**\n * What the generation step last executed for `task` spent (#2232), however it ended — for its row when the run\n * ends FAILED. Keyed by the TASK the dispatcher handed in, not by the thrown error: the step can succeed and\n * something after it still throw (the acceptance commit, a lost file lock), and the step's spend is real either\n * way. `undefined` when no step ran for that task object.\n */\n public spentByGenerationStep(task: BuildPlanTask): PlaybookSpend | undefined {\n return this.stepSpendByTask.get(task);\n }\n\n /**\n * The app-root-relative files this task's generation step is responsible\n * for. The landed check treats the task as landed when EVERY one of them is\n * committed — same doctrine as every coding task, same reader\n * (`isWorktreePathCommitted`).\n */\n public async resolveGenerationStepEvidencePaths(task: BuildPlanTask): Promise<readonly string[]> {\n const generationStepRef = this.requireGenerationStepRef(task);\n switch (generationStepRef) {\n case ApplicationBuildGenerationStep.I18N_LABELS:\n return this.resolveLabelUnitPaths([getCompanionConfiguredPrimaryLanguage(this.appConfigService.config)]);\n case ApplicationBuildGenerationStep.I18N_TRANSLATIONS:\n // Every unit in every TARGET locale. Empty on a one-locale application, which is why the host\n // derives this step only when there is a target (an empty list never lands).\n return this.resolveLabelUnitPaths(this.resolveTranslationTargetLocales());\n case ApplicationBuildGenerationStep.EMAIL_TEMPLATES:\n // Placement is the email domain's authority; this lane only crosses it with the enabled locales.\n return this.emailTemplates.resolveExpectedArtifactRelativePaths(this.resolveEnabledLocales());\n case ApplicationBuildGenerationStep.LOGO:\n /*\n * The SSOT MODULE, the file the step rewrites — its write scope and the place a landing is reported\n * \"found in\". NOT its landing proof: `wildo init` scaffolds this module with an empty asset list, so it\n * exists and is committed before the step runs (#2410). Landing is the `ACCEPTED_BRAND_MARK` condition,\n * which reads the module's content (see `resolveGenerationStepLandedCondition`).\n */\n return [BRAND_RESOLVED_ASSETS_MODULE_PATH];\n case ApplicationBuildGenerationStep.DOCUMENTATION_PUBLICATION:\n /*\n * The rendered portal's own index, which the publish is what writes.\n *\n * Honest evidence by the same test {@link LOGO} passes and `DATABASE_MIGRATIONS` fails: this\n * file exists ONLY as a consequence of this step's work. `technical-doc/src/pages/search.tsx`\n * imports it directly, which is why an unpublished application cannot even typecheck that\n * package — so its absence is exactly the state the step exists to leave behind, and its\n * presence is exactly the state the step produces.\n *\n * Deliberately the index rather than the `docusaurus/` output tree: the rendered page set is\n * named after whichever chapters the plan carries, so it cannot be derived BEFORE the step\n * runs, and evidence that cannot be derived in advance is not evidence.\n */\n return [path.posix.join('technical-doc', 'src', 'generated', 'consumer-documentation', 'indexes', 'search.json')];\n case ApplicationBuildGenerationStep.DATABASE_MIGRATIONS:\n /*\n * ⚠ MUTATION SCOPE ONLY — this path is NOT this step's landed evidence, and using it as\n * such would be the defect the landed-kind vocabulary above exists to prevent: the lockfile\n * already exists before the step runs, so a landed check over it passes having verified\n * nothing.\n *\n * It is named here because the dispatch host derives the task's writable roots from these\n * paths' DIRECTORIES, and `backend-api/migrations/` is exactly right: the step writes the\n * new migration folder and rewrites the lockfile, and nothing else.\n *\n * `resolveGenerationStepLandedCondition` is the only landed authority, and for this step it\n * answers SCHEMA_PLAN_IN_SYNC.\n */\n return [SCHEMA_PLAN_LOCKFILE_RELATIVE_PATH];\n case ApplicationBuildGenerationStep.ENGINE_CAPABILITIES:\n // The mutation scope; landing is ENGINE_CAPABILITIES_ENABLED, which reads what the file says.\n return [SAAS_CONFIG_FILE_NAME];\n case ApplicationBuildGenerationStep.DISPLAY_NAME:\n // The mutation scope: the config and every file a template rendered the name into. Landing reads the config.\n return [SAAS_CONFIG_FILE_NAME, ...listDisplayNameBearingPaths({ applicationRoot: this.companionContext.saasRoot, frameworkRoot: this.frameworkRoot() })];\n default:\n throw new ApplicationBuildUnknownGenerationStepError(task.taskRef, generationStepRef);\n }\n }\n\n /**\n * How this task proves it landed — the ONLY landed authority for a generation step.\n *\n * Split from {@link resolveGenerationStepEvidencePaths} because that method answers a different\n * question (which paths may this task write?) and the two answers diverge for exactly one step.\n * Reading landing off the evidence paths would land the migration step on a file that predates it.\n */\n public async resolveGenerationStepLandedCondition(\n task: BuildPlanTask,\n ): Promise<ApplicationBuildGenerationStepLandedCondition> {\n const generationStepRef = this.requireGenerationStepRef(task);\n if (generationStepRef === ApplicationBuildGenerationStep.DATABASE_MIGRATIONS) {\n return { kind: ApplicationBuildGenerationStepLandedKind.SCHEMA_PLAN_IN_SYNC };\n }\n if (generationStepRef === ApplicationBuildGenerationStep.I18N_TRANSLATIONS && this.resolveTranslationTargetLocales().length === 0) {\n return { kind: ApplicationBuildGenerationStepLandedKind.NOT_OWED };\n }\n if (generationStepRef === ApplicationBuildGenerationStep.LOGO) {\n return { kind: ApplicationBuildGenerationStepLandedKind.ACCEPTED_BRAND_MARK, modulePath: BRAND_RESOLVED_ASSETS_MODULE_PATH };\n }\n if (generationStepRef === ApplicationBuildGenerationStep.I18N_LABELS) {\n // ONE plan per call: the blocking check and the probes are read off the same plan.\n const plan = await this.planner.planAllUnitsWithCompleteness();\n const blocking = plan.incompleteness\n .filter((entry) => entry.reason !== LabellingPlanIncompletenessReason.RESOURCE_REGISTRY_STALE && LABEL_PLAN_BLOCKING_INCOMPLETENESS.has(entry.reason));\n // A stale registry names the units it hides, and the probes below count them; an unreadable plan cannot.\n if (blocking.length > 0) {\n return { kind: ApplicationBuildGenerationStepLandedKind.LABEL_PLAN_INCOMPLETE, detail: blocking.map((entry) => entry.detail).join(' ') };\n }\n /*\n * A unit planned from a family that could not answer is REFUSED by the labelling run (`incompletePlanRefusal`), so\n * its keys cannot arrive however often the step runs, and its probe would stay unmet with no stated cause (#2504\n * review L1). The run is still allowed (it writes every other unit); landing names why it waits, like the reasons\n * that refuse the run outright.\n */\n const refusedReasons = new Set(plan.units.flatMap((unit) => unit.plannedFromIncompleteInputs ?? []));\n if (refusedReasons.size > 0) {\n const refusedUnitCount = plan.units.filter((unit) => (unit.plannedFromIncompleteInputs?.length ?? 0) > 0).length;\n const causes = plan.incompleteness.filter((entry) => refusedReasons.has(entry.reason)).map((entry) => entry.detail);\n return {\n kind: ApplicationBuildGenerationStepLandedKind.LABEL_PLAN_INCOMPLETE,\n detail: `${refusedUnitCount} labelling unit(s) are refused until their inputs answer: ${causes.length > 0 ? causes.join(' ') : [...refusedReasons].join(', ')}`,\n };\n }\n return { kind: ApplicationBuildGenerationStepLandedKind.LANDED_PROBES, probes: this.labelPlanProbes(plan, getCompanionConfiguredPrimaryLanguage(this.appConfigService.config)) };\n }\n if (generationStepRef === ApplicationBuildGenerationStep.DISPLAY_NAME) {\n const brandName = await this.readLandedBrandName();\n if (brandName === undefined) return { kind: ApplicationBuildGenerationStepLandedKind.NOT_OWED };\n return { kind: ApplicationBuildGenerationStepLandedKind.DISPLAY_NAME_APPLIED, configPath: SAAS_CONFIG_FILE_NAME, displayName: brandName };\n }\n if (generationStepRef === ApplicationBuildGenerationStep.ENGINE_CAPABILITIES) {\n const satisfiable = await this.foundationExecutor.deriveSatisfiableEngineCapabilityPlan();\n // Nothing derivable is nothing owed; an empty list would otherwise land trivially, which is the same answer said honestly.\n if (satisfiable === undefined || satisfiable.capabilities.length === 0) return { kind: ApplicationBuildGenerationStepLandedKind.NOT_OWED };\n return { kind: ApplicationBuildGenerationStepLandedKind.ENGINE_CAPABILITIES_ENABLED, configPath: SAAS_CONFIG_FILE_NAME, capabilities: satisfiable.capabilities };\n }\n return {\n kind: ApplicationBuildGenerationStepLandedKind.COMMITTED_PATHS,\n paths: await this.resolveGenerationStepEvidencePaths(task),\n };\n }\n\n /**\n * Does this application owe migrations, and has it accepted a schema plan yet?\n *\n * The population the `database-migrations` step belongs to, and the fact the dispatch host derives\n * that step from when a build plan omits it (#1027). It reads BOTH the lockfile and the authored\n * `applicationDatabase.engine` (#1144). The lockfile alone was the marker until then, on the premise\n * that the foundation playbook writes a PostgreSQL application's baseline — it never did, so a\n * journey-built PostgreSQL application had no lockfile, was offered no migration step, and booted\n * into tables nothing had created. See {@link ApplicationSchemaPlanObligation}.\n */\n public async assessSchemaPlanObligation(): Promise<ApplicationSchemaPlanObligationAssessment> {\n return assessApplicationSchemaPlanObligation(this.companionContext.saasRoot);\n }\n\n /**\n * Does the resource model agree with the accepted schema plan — and if not, is that DRIFT, or could the\n * question not be asked? See {@link SchemaPlanSyncState} for why those two must never be merged.\n *\n * Only IN_SYNC lands the migration step, so an unknown answer can never land a task that generated\n * nothing. Re-running over a clean plan is harmless (`wildo db generate` reports nothing to generate);\n * running it where the check is unanswerable only throws, which is why the caller passes over it.\n */\n public async readSchemaPlanSyncState(): Promise<SchemaPlanSyncState> {\n return resolveSchemaPlanSyncState(this.companionContext.saasRoot);\n }\n\n /**\n * Run the task's generation step. Incremental by construction: both\n * pipelines consult the freshness lock and skip fresh units, so re-running\n * an already-satisfied step costs a plan read, not a model call.\n *\n * While it runs, its progress is readable through {@link readGenerationStepProgress} (#2215); it is\n * dropped when the step settles, however it ends.\n */\n public async executeGenerationStep(\n task: BuildPlanTask,\n session?: CompanionExecutionSessionContext,\n ): Promise<MeasuredGenerationStepRunResult> {\n const tracker = new GenerationStepProgressTracker(this.requireGenerationStepRef(task));\n this.progressByTaskRef.set(task.taskRef, tracker);\n try {\n /*\n * Measured AS a generation step (#2232): its spend goes on its own row, and every enclosing measurement (a\n * build-dispatch playbook run) tallies it in `generationSteps`, so a total over both counts it once.\n */\n const measured = this.spendMeter\n ? await this.spendMeter.measure(() => this.runGenerationStep(task, tracker.reporter, session), { as: PlaybookSpendMeasuredUnit.GENERATION_STEP })\n : await NO_PLAYBOOK_SPEND_METER.measure(() => this.runGenerationStep(task, tracker.reporter, session));\n this.stepSpendByTask.set(task, measured.spend);\n if (measured.settled.status === 'rejected') throw measured.settled.reason;\n return { ...measured.settled.value, spend: measured.spend };\n } finally {\n // Only our own tracker: a second run of the same task that started meanwhile keeps its own.\n if (this.progressByTaskRef.get(task.taskRef) === tracker) this.progressByTaskRef.delete(task.taskRef);\n }\n }\n\n /**\n * How far the task's generation step has got, while it runs (#2215). `undefined` when no step of that\n * task is running in this companion — the step settled, never ran, or ran before a restart.\n */\n public readGenerationStepProgress(taskRef: string): GenerationStepProgress | undefined {\n return this.progressByTaskRef.get(taskRef)?.snapshot();\n }\n\n private async runGenerationStep(\n task: BuildPlanTask,\n progress: LabellingProgressReporter,\n session?: CompanionExecutionSessionContext,\n ): Promise<ApplicationBuildGenerationStepRunResult> {\n const generationStepRef = this.requireGenerationStepRef(task);\n switch (generationStepRef) {\n case ApplicationBuildGenerationStep.I18N_LABELS: {\n await this.refuseIncompleteLabelPlan(task);\n this.logDebug('Running the i18n-labels generation step', {\n taskRef: task.taskRef,\n primaryLocale: getCompanionConfiguredPrimaryLanguage(this.appConfigService.config),\n });\n const labellizeResult = await this.labellize.labellize({ progress }, session);\n return {\n generationStepRef,\n labellize: labellizeResult,\n evidencePaths: await this.resolveGenerationStepEvidencePaths(task),\n };\n }\n case ApplicationBuildGenerationStep.I18N_TRANSLATIONS: {\n // Translating from a plan that hides owed units drops their target-locale keys for good (#2504 review).\n await this.refuseIncompleteLabelPlan(task);\n const targetLocales = this.resolveTranslationTargetLocales();\n this.logDebug('Running the i18n-translations generation step', { taskRef: task.taskRef, targetLocales });\n const translateResult = targetLocales.length > 0\n ? await this.translate.translate({ targetLocales: [...targetLocales], progress }, session)\n : undefined;\n return {\n generationStepRef,\n targetLocales,\n ...(translateResult ? { translate: translateResult } : {}),\n evidencePaths: await this.resolveGenerationStepEvidencePaths(task),\n };\n }\n case ApplicationBuildGenerationStep.EMAIL_TEMPLATES: {\n const primaryLocale = getCompanionConfiguredPrimaryLanguage(this.appConfigService.config);\n const targetLocales = this.resolveEnabledLocales().filter((locale) => locale !== primaryLocale);\n this.logDebug('Running the email-templates generation step', {\n taskRef: task.taskRef,\n primaryLocale,\n targetLocales,\n });\n const emailGenerate = await this.emailTemplates.generateTemplates({}, session);\n const emailTranslate = targetLocales.length > 0\n ? await this.emailTemplates.translateEmailTemplateLabels({ targetLocales: [...targetLocales] }, session, { progress })\n : undefined;\n return {\n generationStepRef,\n emailGenerate,\n ...(emailTranslate ? { emailTranslate } : {}),\n evidencePaths: await this.resolveGenerationStepEvidencePaths(task),\n };\n }\n case ApplicationBuildGenerationStep.LOGO: {\n const evidencePaths = await this.resolveGenerationStepEvidencePaths(task);\n /*\n * Incremental, but by PRESENCE rather than by the freshness lock the text pipelines use.\n *\n * Those pipelines skip per UNIT, because a label is cheap and units come and go. A logo\n * deliberation is a panel of three experts, N generated images and a vision judge — the\n * most expensive step in this enum by a wide margin — and an application has exactly one\n * accepted mark. So the honest unit of freshness is \"is there an accepted mark\", and the\n * answer is the same predicate the landed check uses (`hasAcceptedBrandMark`), asked of the\n * working tree. Re-running a satisfied step costs a file read, not a model call.\n *\n * Replacing an existing mark stays a deliberate act through the brand routes; a build must\n * never quietly redraw an application's identity because it ran again.\n */\n if (await this.hasAcceptedBrandMark()) {\n this.logDebug('Skipping the logo generation step — an accepted mark already exists', {\n taskRef: task.taskRef,\n });\n return { generationStepRef, skippedBecauseAlreadyAccepted: true, evidencePaths, ...(await propagateAcceptedBrand(this.companionContext.saasRoot, this.logger)) };\n }\n\n this.logDebug('Running the logo generation step', { taskRef: task.taskRef });\n const deliberation = await this.logoDeliberation.run({});\n /*\n * `run` stages its winner as the standard single-candidate manifest `accept` expects, which\n * is why the two compose with no adapter: the staged manifest IS the hand-off. An identity\n * pin re-asserting that the manifest still held the winner went with the digest fences — a\n * single-candidate staging area written one await earlier has nothing else it could hold.\n */\n const accept = await this.brandAccept.accept({});\n return {\n generationStepRef,\n deliberation,\n accept,\n skippedBecauseAlreadyAccepted: false,\n evidencePaths,\n // The accept propagated the mark it promoted; carried here so the step's record says so.\n ...(accept.propagation !== undefined ? { propagation: accept.propagation } : {}),\n ...(accept.propagationError !== undefined ? { propagationError: accept.propagationError } : {}),\n };\n }\n case ApplicationBuildGenerationStep.DOCUMENTATION_PUBLICATION: {\n const evidencePaths = await this.resolveGenerationStepEvidencePaths(task);\n /*\n * The backend service key the publish derives its OpenAPI documents from, picked the way\n * every other companion caller picks it: the one declared service that is not a frontend.\n * `runForeignKeyResolutionVerification` resolves it identically, and the controller's own\n * `pickResourcesRegistryCarrierServiceKey` answers the same question for the HTTP door.\n */\n const backendServiceKey = Object.entries(this.companionContext.servicesByKey)\n .find(([, service]) => !service.frontendType)?.[0];\n if (backendServiceKey === undefined) {\n throw new Error('Cannot publish documentation: this application declares no backend service to derive its API documents from.');\n }\n this.logDebug('Running the documentation publication step', { taskRef: task.taskRef, backendServiceKey });\n /*\n * NOT skipped when the tree already exists, unlike the logo step beside it.\n *\n * A logo is accepted once and must never be silently redrawn. A documentation portal is a\n * PROJECTION of the application's current configuration, resources and authored chapters —\n * every one of which the build is still changing — so a published tree is stale the moment a\n * later task lands, and re-publishing is how it stays true. The publish is idempotent by\n * construction (it re-derives and rewrites), and `wildo docs publish` exists precisely\n * because the committed tree drifted silently whenever nobody re-ran it.\n */\n const published = await this.technicalDoc.publishManagedDocumentation({ backendServiceKey });\n return { generationStepRef, published, evidencePaths };\n }\n case ApplicationBuildGenerationStep.DISPLAY_NAME: {\n const brandName = await this.readLandedBrandName();\n if (brandName === undefined) {\n throw new Error(`Build task ${task.taskRef} applies the brand's name, and no brand with a name has landed.`);\n }\n this.logDebug('Running the display-name generation step', { taskRef: task.taskRef, brandName });\n const applied = applyApplicationDisplayName({ applicationRoot: this.companionContext.saasRoot, frameworkRoot: this.frameworkRoot(), displayName: brandName });\n return { generationStepRef, ...applied, evidencePaths: await this.resolveGenerationStepEvidencePaths(task) };\n }\n case ApplicationBuildGenerationStep.ENGINE_CAPABILITIES: {\n this.logDebug('Running the engine-capabilities generation step', { taskRef: task.taskRef });\n const aligned = await this.foundationExecutor.alignEngineCapabilitiesWithDecisions();\n return { generationStepRef, ...aligned, evidencePaths: await this.resolveGenerationStepEvidencePaths(task) };\n }\n case ApplicationBuildGenerationStep.DATABASE_MIGRATIONS: {\n const saasRoot = this.companionContext.saasRoot;\n const evidencePaths = await this.resolveGenerationStepEvidencePaths(task);\n\n /*\n * With no accepted plan, `wildo db generate` renders the WHOLE model as the INITIAL migration and\n * writes the baseline in the same invocation. That is exactly what a PostgreSQL application with no\n * baseline owes (#1144): its tables exist only once a migration creates them. It is exactly wrong\n * for a MongoDB-backed application, where it would author a table set nothing uses — so the\n * DECLARED store decides, and anything but a PostgreSQL declaration refuses.\n *\n * `wildo db diff --update-lockfile` was the baseline this refusal used to prescribe. It writes the\n * lockfile and NO migration, so it would accept a plan whose tables were never created.\n */\n const assessment = await this.assessSchemaPlanObligation();\n if (assessment.obligation === ApplicationSchemaPlanObligation.NOT_OWED) {\n throw new Error(\n `Build task ${task.taskRef} runs the database-migrations step, but this application has no accepted schema `\n + `plan (${SCHEMA_PLAN_LOCKFILE_RELATIVE_PATH} is absent) and does not declare PostgreSQL in ${assessment.declaredIn}. `\n + 'A MongoDB-backed application owes no migrations; remove this step from the build plan.',\n );\n }\n if (assessment.obligation === ApplicationSchemaPlanObligation.UNDETERMINED) {\n throw new Error(\n `Build task ${task.taskRef} runs the database-migrations step, but this application has no accepted schema `\n + `plan and its store could not be determined: ${assessment.reason}. Generating without knowing the store `\n + 'could author tables for a MongoDB-backed application.',\n );\n }\n /*\n * The plan is computed by IMPORTING the compiled backend registry, so an unbuilt tree cannot\n * produce one. Generating from a stale or absent model would author a migration for a model\n * nobody has — worse than not generating, because it then gets applied.\n */\n if (!existsSync(path.join(saasRoot, MODULES_REGISTRY_RELATIVE_PATH))) {\n throw new Error(\n `Build task ${task.taskRef} runs the database-migrations step, but ${MODULES_REGISTRY_RELATIVE_PATH} does not `\n + 'exist. The schema plan is computed by importing the compiled backend registry; build backend-api first.',\n );\n }\n\n const before = listMigrationFolders(saasRoot);\n this.logDebug('Running the database-migrations generation step', { taskRef: task.taskRef });\n /*\n * The migration LABEL comes from the task ref, so the folder is traceable back to the task\n * that produced it. Sanitised to the kebab-case shape `--name` accepts; the CLI still owns\n * the timestamp prefix, which is why the resulting path cannot be predicted here.\n */\n const label = task.taskRef.toLowerCase().replace(/[^a-z0-9]+/g, '-').replace(/^-+|-+$/g, '').slice(0, 60)\n || 'build-plan-migration';\n const result = await executeBoundedSubprocess({\n command: 'wildo',\n args: ['db', 'generate', '--name', label],\n cwd: saasRoot,\n env: buildMigrationSubprocessEnv(),\n timeoutMs: MIGRATION_GENERATION_TIMEOUT_MS,\n });\n const after = listMigrationFolders(saasRoot);\n const generatedMigrationFolders = after.filter((folder) => !before.includes(folder));\n return {\n generationStepRef,\n // A clean plan is a legitimate outcome, not a failure: the resources this task follows may\n // have been migrated by an earlier one. The generator reports \"nothing to generate\".\n skippedBecauseAlreadyInSync: generatedMigrationFolders.length === 0,\n generatedMigrationFolders,\n outputTail: `${result.stdout}${result.stderr}`.slice(-2000),\n evidencePaths,\n };\n }\n default:\n throw new ApplicationBuildUnknownGenerationStepError(task.taskRef, generationStepRef);\n }\n }\n\n /**\n * Has this application accepted a mark? Asked of the WORKING tree, so a mark accepted and not yet committed is\n * never redrawn by a re-run. The predicate is shared with the landing probe, which asks the committed tree.\n *\n * It used to be a bare `stat()` of the module, justified as \"written only by a promotion\". That was false — the\n * `wildo init` scaffold writes the module with an empty list — so on every fresh application the step skipped\n * itself and no logo was ever drawn (#2410, `app-creation-test-005`).\n */\n private async hasAcceptedBrandMark(): Promise<boolean> {\n return hasAcceptedBrandMarkInWorkingTree(this.companionContext.saasRoot);\n }\n\n private requireGenerationStepRef(task: BuildPlanTask): string {\n const target = task.target;\n if (target?.kind !== BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP) {\n throw new Error(`Build task ${task.taskRef} is not a companion generation step.`);\n }\n return target.generationStepRef;\n }\n\n /**\n * The locales this application ENABLES — `appPreferences.languages.enabledLanguages`,\n * always including the primary. This is the \"every configured locale\" the\n * build task's objective speaks of; an app that enables only its primary\n * locale gets no translate pass and no foreign-locale evidence.\n */\n private resolveEnabledLocales(): readonly AvailableLanguage[] {\n return getCompanionServedLanguages(this.appConfigService.config);\n }\n\n /**\n * The locales the `i18n-translations` step translates into: every enabled locale but the primary.\n *\n * Public because the dispatch host derives that step only when this is non-empty — on a one-locale\n * application the step owes nothing and its evidence list would be empty, and an empty list never\n * lands, so a derived step there would be ready forever.\n */\n public resolveTranslationTargetLocales(): readonly AvailableLanguage[] {\n const primaryLocale = getCompanionConfiguredPrimaryLanguage(this.appConfigService.config);\n return this.resolveEnabledLocales().filter((locale) => locale !== primaryLocale);\n }\n\n /**\n * The probes a labels plan lands on (#2504): every planned unit's primary-locale file declares every key the plan\n * holds for it, exactly and non-empty — the pipeline's own completeness bar (its adoption check), so the step lands\n * exactly when a re-run would generate nothing. A unit the plan could NOT plan (a stale registry's owed hint) has no\n * keys to name, so its file must at least be committed.\n *\n * Exact keys, not the segment after the bucket: the frontend-derived root units nest under a category\n * (`composite_views.app.<view>`, `settings_hub.sections.<ref>`), and a scaffolded root file already carries the\n * category, so a prefix on that segment landed before any of the application's own entries existed.\n */\n private labelPlanProbes(plan: LabellingPlanResult, primaryLocale: string): readonly BuildPlanTaskLandedProbe[] {\n const i18nRoot = this.resolveI18nRelativeRoot();\n const unitPath = (hint: { readonly bucket: string; readonly slug: string }) => path.posix.join(i18nRoot, hint.bucket, `${hint.slug}.${primaryLocale}.ts`);\n const keysByPath = new Map<string, Set<string>>();\n for (const unit of plan.units) {\n const keys = keysByPath.get(unitPath(unit.filePathHint)) ?? new Set<string>();\n for (const key of unit.chunks.flatMap((chunk) => chunk.keys)) keys.add(key);\n keysByPath.set(unitPath(unit.filePathHint), keys);\n }\n const probes: BuildPlanTaskLandedProbe[] = [...keysByPath].map(([filePath, keys]) => (keys.size > 0\n ? { kind: BuildPlanTaskLandedProbeKind.COMMITTED_LABEL_FILE_DECLARES_KEYS, path: filePath, keys: [...keys].sort() }\n : { kind: BuildPlanTaskLandedProbeKind.COMMITTED_FILE, path: filePath }));\n const owed = new Set(plan.incompleteness.flatMap((entry) => entry.expectedUnitHints ?? []).map(unitPath));\n for (const filePath of owed) {\n if (!keysByPath.has(filePath)) probes.push({ kind: BuildPlanTaskLandedProbeKind.COMMITTED_FILE, path: filePath });\n }\n return probes;\n }\n\n /** Every labelling unit's file, in each of the given locales — exactly the files the pipelines write. */\n private async resolveLabelUnitPaths(locales: readonly string[]): Promise<readonly string[]> {\n if (locales.length === 0) return [];\n const i18nRoot = this.resolveI18nRelativeRoot();\n const plan = await this.planner.planAllUnitsWithCompleteness();\n /*\n * The units the plan could NOT plan count too (#2504). A companion whose registry predates the application's\n * resources plans engine resources only, and evidence read off that plan alone landed the step with no label for any\n * resource the application owns. Counting the owed units keeps the step unlanded until they exist.\n */\n const hints = [\n ...plan.units.map((unit) => unit.filePathHint),\n ...plan.incompleteness.flatMap((entry) => entry.expectedUnitHints ?? []),\n ];\n return [...new Set(hints.flatMap((hint) =>\n locales.map((locale) => path.posix.join(i18nRoot, hint.bucket, `${hint.slug}.${locale}.ts`)),\n ))];\n }\n\n /**\n * Refuse to label from a plan that hides units the application owes (#2504): a registry that predates its resources,\n * or a frontend introspection that failed. Running would commit the units it can see and still owe the rest; the\n * remedy is the cause the detail names (a companion restart, or the frontend introspection's error).\n */\n private async refuseIncompleteLabelPlan(task: BuildPlanTask): Promise<void> {\n const plan = await this.planner.planAllUnitsWithCompleteness();\n const blocking = plan.incompleteness.filter((entry) => LABEL_PLAN_BLOCKING_INCOMPLETENESS.has(entry.reason));\n if (blocking.length === 0) return;\n /*\n * A STALE registry is cured, not only reported: the companion asks its supervisor for a restart, which reloads the\n * registry from the application as it is now (the remedy a person would otherwise have to perform, on most creation\n * runs, since a run's companion boots before the application's modules exist). The step is retried on the next\n * dispatch. Without a supervisor nobody would restart the process, so the message names the remedy instead.\n */\n const stale = blocking.some((entry) => entry.reason === LabellingPlanIncompletenessReason.RESOURCE_REGISTRY_STALE);\n const restarting = stale && requestCompanionRestart(this.companionContext.saasRoot, {\n reasonKey: LabellingPlanIncompletenessReason.RESOURCE_REGISTRY_STALE,\n detail: `${task.taskRef}: resource registry predates the application`,\n });\n throw new Error(`Build task ${task.taskRef} cannot generate labels yet: the plan would miss units the application owes. ${blocking.map((entry) => entry.detail).join(' ')}`\n + (restarting\n ? ' The companion is restarting to reload its registry; the step runs again on the next dispatch.'\n // The door: nothing here needs a person's decision, only the cause repaired. `wildo context health` names it. A\n // stale registry a restart did not cure lands here too (the repeat window): the companion is not reloading the\n // application's registry, and its startup log says why.\n : ' Repair the cause named above (`wildo context health` shows the introspection lane; for a registry a restart did not refresh, '\n + 'the companion\\'s startup log names why it could not load the application\\'s companion exports); the step runs again on the next dispatch.'));\n }\n\n /**\n * The chosen brand's name, from the landed brand brief (#2505); `undefined` when no brand has landed or it carries no\n * name. Read through the same companion exports every family is read from.\n */\n public async readLandedBrandName(): Promise<string | undefined> {\n try {\n const exports = await loadSpecificationsCompanionExports(this.companionContext) as unknown as { brandSpecification?: { name?: { brandName?: unknown } } };\n const brandName = exports.brandSpecification?.name?.brandName;\n return typeof brandName === 'string' && brandName.trim().length > 0 ? brandName.trim() : undefined;\n } catch (error) {\n this.logDebug('Could not read the landed brand; no display name is derived from it', { error: describeCaughtError(error) });\n return undefined;\n }\n }\n\n private frameworkRoot(): string | null {\n return this.companionContext.resolvedHomes.framework.repositoryRoot ?? null;\n }\n\n /** `<backend service path>/src/engine/i18n`, app-root relative — the same tree the orchestrators write into. */\n private resolveI18nRelativeRoot(): string {\n const backendService = Object.values(this.companionContext.backendServices)[0];\n if (!backendService) {\n throw new Error('No backend service configured for per-unit i18n output.');\n }\n return path.posix.join(backendService.path, 'src/engine/i18n');\n }\n}\n"]}
|