@wildo-ai/dev-companion 1.1.10 → 1.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/brand/models/accepted-brand-mark.models.d.ts.map +1 -1
- package/dist/esm/brand/models/accepted-brand-mark.models.js.map +1 -1
- 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.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.map +1 -1
- package/dist/esm/brand/models/logo-judge.schemas.d.ts.map +1 -1
- package/dist/esm/brand/models/logo-judge.schemas.js.map +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.map +1 -1
- package/dist/esm/brand/services/brand-design.companion.utils.d.ts +169 -0
- package/dist/esm/brand/services/brand-design.companion.utils.d.ts.map +1 -0
- package/dist/esm/brand/services/brand-design.companion.utils.js +486 -0
- package/dist/esm/brand/services/brand-design.companion.utils.js.map +1 -0
- 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 +4 -0
- 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 +15 -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.map +1 -1
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts +47 -26
- 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 +78 -22
- 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.map +1 -1
- package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.js.map +1 -1
- 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 +2 -1
- 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 +2 -1
- 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 +1 -28
- 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 +35 -57
- 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.map +1 -1
- package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.js +2 -2
- package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.js.map +1 -1
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +62 -1
- 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 +208 -23
- 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 +2 -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 +32 -2
- 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 +18 -0
- 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 +59 -0
- 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 +1039 -409
- package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
- package/dist/esm/companion-api/companion-api.schemas.js +16 -8
- 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 +24 -0
- package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion.controller.js +113 -7
- 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 +9 -4
- 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.map +1 -1
- package/dist/esm/core/config/primary-language.companion.utils.js.map +1 -1
- package/dist/esm/core/context/application-module-generations.companion.d.ts.map +1 -1
- package/dist/esm/core/context/application-module-generations.companion.js.map +1 -1
- package/dist/esm/core/context/companion-context.d.ts.map +1 -1
- package/dist/esm/core/context/companion-context.js +2 -0
- package/dist/esm/core/context/companion-context.js.map +1 -1
- package/dist/esm/core/context/companion-package-loaders.companion.d.ts.map +1 -1
- 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 +19 -7
- package/dist/esm/core/inject/models/container.js.map +1 -1
- package/dist/esm/core/inject/models/service-types.d.ts +2 -0
- package/dist/esm/core/inject/models/service-types.d.ts.map +1 -1
- package/dist/esm/core/inject/models/service-types.js +2 -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 +78 -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 +6 -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 +28 -0
- package/dist/esm/core/introspection/models/companion-introspection.models.js.map +1 -1
- package/dist/esm/core/introspection/models/introspection-answer-retention.models.d.ts +24 -0
- package/dist/esm/core/introspection/models/introspection-answer-retention.models.d.ts.map +1 -0
- package/dist/esm/core/introspection/models/introspection-answer-retention.models.js +27 -0
- package/dist/esm/core/introspection/models/introspection-answer-retention.models.js.map +1 -0
- 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.map +1 -1
- 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.map +1 -1
- package/dist/esm/core/introspection/resources/creation-console-projection.companion.js +1 -0
- 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 +12 -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 +41 -6
- 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.map +1 -1
- package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js +48 -1
- 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 +17 -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 +167 -14
- 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.map +1 -1
- package/dist/esm/core/introspection/resources/launch-blockers.companion.js.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js +5 -0
- 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.map +1 -1
- package/dist/esm/core/introspection/services/introspection-input-closure.companion.js.map +1 -1
- 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.map +1 -1
- 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.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/agent-work-declarations.behavior.d.ts +30 -0
- package/dist/esm/core/introspection/subprocess/agent-work-declarations.behavior.d.ts.map +1 -0
- package/dist/esm/core/introspection/subprocess/agent-work-declarations.behavior.js +84 -0
- package/dist/esm/core/introspection/subprocess/agent-work-declarations.behavior.js.map +1 -0
- package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts +10 -8
- 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 +11 -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 +11 -2
- 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.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.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js +106 -51
- 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 +5 -2
- 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 +81 -7
- 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 +54 -4
- 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.map +1 -1
- package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.js +1 -1
- 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.map +1 -1
- package/dist/esm/core/introspection/subprocess/field-value-shape.companion.d.ts +25 -0
- package/dist/esm/core/introspection/subprocess/field-value-shape.companion.d.ts.map +1 -0
- package/dist/esm/core/introspection/subprocess/field-value-shape.companion.js +44 -0
- package/dist/esm/core/introspection/subprocess/field-value-shape.companion.js.map +1 -0
- package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts +13 -0
- 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 +63 -10
- 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.map +1 -1
- package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts.map +1 -1
- 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 +19 -16
- 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 +64 -51
- package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/resource-field-specifications.subprocess.utils.d.ts +21 -0
- package/dist/esm/core/introspection/subprocess/resource-field-specifications.subprocess.utils.d.ts.map +1 -0
- package/dist/esm/core/introspection/subprocess/resource-field-specifications.subprocess.utils.js +24 -0
- package/dist/esm/core/introspection/subprocess/resource-field-specifications.subprocess.utils.js.map +1 -0
- package/dist/esm/core/introspection/subprocess/risk-signals.behavior.d.ts +20 -5
- package/dist/esm/core/introspection/subprocess/risk-signals.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/risk-signals.behavior.js +13 -2
- 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 +36 -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 +38 -2
- 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 +10 -1
- package/dist/esm/core/introspection/workspace-elements.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/workspace-elements.companion.js +7 -2
- 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 +2 -2
- 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 +0 -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 +0 -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.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.map +1 -1
- 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.map +1 -1
- package/dist/esm/core/runtime/companion-env-file.js +8 -1
- package/dist/esm/core/runtime/companion-env-file.js.map +1 -1
- package/dist/esm/core/runtime/companion-self-restart.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/companion-self-restart.companion.js.map +1 -1
- package/dist/esm/core/runtime/companion-startup-assembly.d.ts.map +1 -1
- package/dist/esm/core/runtime/companion-startup-assembly.js +4 -0
- package/dist/esm/core/runtime/companion-startup-assembly.js.map +1 -1
- package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts.map +1 -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.map +1 -1
- package/dist/esm/core/runtime/event-loop-stall-monitor.companion.js +2 -1
- package/dist/esm/core/runtime/event-loop-stall-monitor.companion.js.map +1 -1
- 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/provider-registry-refresh.companion.d.ts +17 -0
- package/dist/esm/core/runtime/provider-registry-refresh.companion.d.ts.map +1 -0
- package/dist/esm/core/runtime/provider-registry-refresh.companion.js +18 -0
- package/dist/esm/core/runtime/provider-registry-refresh.companion.js.map +1 -0
- 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 +9 -1
- 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 +46 -3
- 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 +21 -2
- 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 +41 -3
- 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 +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 +44 -34
- 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 +1 -0
- 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 +2 -2
- 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 +7 -0
- package/dist/esm/core/traceability/companion-traceability.models.d.ts.map +1 -1
- package/dist/esm/core/traceability/companion-traceability.models.js +7 -0
- package/dist/esm/core/traceability/companion-traceability.models.js.map +1 -1
- package/dist/esm/core/traceability/companion-traceability.service.d.ts +78 -0
- package/dist/esm/core/traceability/companion-traceability.service.d.ts.map +1 -1
- package/dist/esm/core/traceability/companion-traceability.service.js +157 -2
- 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.map +1 -1
- package/dist/esm/core/utils/bounded-concurrency.utils.js.map +1 -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.map +1 -1
- package/dist/esm/core/website/website-demo-scenarios.child.d.ts +2 -0
- package/dist/esm/core/website/website-demo-scenarios.child.d.ts.map +1 -0
- package/dist/esm/core/website/website-demo-scenarios.child.js +18 -0
- package/dist/esm/core/website/website-demo-scenarios.child.js.map +1 -0
- package/dist/esm/core/website/website-source-module.companion.d.ts +65 -0
- package/dist/esm/core/website/website-source-module.companion.d.ts.map +1 -0
- package/dist/esm/core/website/website-source-module.companion.js +157 -0
- package/dist/esm/core/website/website-source-module.companion.js.map +1 -0
- 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 +3 -2
- 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 +23 -0
- package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts.map +1 -1
- package/dist/esm/creation-conversation/creation-conversation.function-tools.js +94 -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.map +1 -1
- package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js.map +1 -1
- package/dist/esm/deliberations/services/deliberation.companion.service.d.ts +27 -1
- package/dist/esm/deliberations/services/deliberation.companion.service.d.ts.map +1 -1
- package/dist/esm/deliberations/services/deliberation.companion.service.js +28 -4
- package/dist/esm/deliberations/services/deliberation.companion.service.js.map +1 -1
- package/dist/esm/deliberations/services/structured-deliberation.companion.service.d.ts +3 -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 +2 -1
- package/dist/esm/deliberations/services/structured-deliberation.companion.service.js.map +1 -1
- package/dist/esm/deliberations/utils/expert-agent-registration.d.ts.map +1 -1
- package/dist/esm/deliberations/utils/expert-agent-registration.js.map +1 -1
- package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts.map +1 -1
- 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/application-email-word-sources.companion.service.d.ts +47 -0
- package/dist/esm/email/services/application-email-word-sources.companion.service.d.ts.map +1 -0
- package/dist/esm/email/services/application-email-word-sources.companion.service.js +98 -0
- package/dist/esm/email/services/application-email-word-sources.companion.service.js.map +1 -0
- 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 +3 -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 +39 -17
- 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/models/execution-task-snapshot.models.d.ts +77 -0
- package/dist/esm/executions/models/execution-task-snapshot.models.d.ts.map +1 -0
- package/dist/esm/executions/models/execution-task-snapshot.models.js +124 -0
- package/dist/esm/executions/models/execution-task-snapshot.models.js.map +1 -0
- package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts +8 -0
- 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 +23 -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 +54 -25
- package/dist/esm/executions/services/companion-executions.companion.service.d.ts.map +1 -1
- package/dist/esm/executions/services/companion-executions.companion.service.js +214 -42
- 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.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.map +1 -1
- 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.map +1 -1
- package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts +42 -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 +103 -6
- 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_ACTIVITY_BAR.fr.d.ts +13 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.fr.js +13 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.fr.js.map +1 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.d.ts +2 -2
- 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 +2 -2
- package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.fr.d.ts +40 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.fr.js +40 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.fr.js.map +1 -0
- 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_CONTROL_PANEL.fr.d.ts +23 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.fr.js +23 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.fr.js.map +1 -0
- 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_MENUBAR.fr.d.ts +14 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.fr.js +14 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.fr.js.map +1 -0
- 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_NAVIGATION_BACK.fr.d.ts +12 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.fr.js +12 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.fr.js.map +1 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts +5 -5
- 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 +5 -5
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.fr.d.ts +28 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.fr.js +28 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.fr.js.map +1 -0
- 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_ACTION_BUTTON.fr.d.ts +15 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.fr.js +15 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.fr.js.map +1 -0
- 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_QUICK_SWITCHER.fr.d.ts +17 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.fr.js +17 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.fr.js.map +1 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts +2 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.js +3 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.fr.d.ts +26 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.fr.js +26 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.fr.js.map +1 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.d.ts +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 +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.fr.d.ts +20 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.fr.js +20 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.fr.js.map +1 -0
- 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_TOOLBAR.fr.d.ts +13 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.fr.js +13 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.fr.js.map +1 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts +6 -2
- 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 +6 -2
- package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.fr.d.ts +28 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.fr.js +28 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.fr.js.map +1 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.d.ts +0 -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 +0 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.fr.d.ts +14 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.fr.js +14 -0
- package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.fr.js.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_EVALUATION_EXPORT_SETTINGS.en.d.ts +29 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_EVALUATION_EXPORT_SETTINGS.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_EVALUATION_EXPORT_SETTINGS.en.js +29 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_EVALUATION_EXPORT_SETTINGS.en.js.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_EVALUATION_EXPORT_SETTINGS.fr.d.ts +29 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_EVALUATION_EXPORT_SETTINGS.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_EVALUATION_EXPORT_SETTINGS.fr.js +29 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_EVALUATION_EXPORT_SETTINGS.fr.js.map +1 -0
- 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_AGENT_WORK_OVERRIDE_RATE_SETTINGS.fr.d.ts +32 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.fr.js +32 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.fr.js.map +1 -0
- 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_APPEARANCE_SETTINGS.fr.d.ts +16 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.fr.js +16 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.fr.js.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.en.d.ts +56 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.en.js +56 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.en.js.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.fr.d.ts +56 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.fr.js +56 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_AUTONOMOUS_AGENTS_SETTINGS.fr.js.map +1 -0
- 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_BILLING_SETTINGS.fr.d.ts +14 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.fr.js +14 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.fr.js.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.d.ts +46 -9
- 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 +47 -10
- package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.fr.d.ts +106 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.fr.js +106 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.fr.js.map +1 -0
- 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_CONSENT_GATE.fr.d.ts +26 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.fr.js +26 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.fr.js.map +1 -0
- 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_DOCUMENT_ACCEPTANCE_GATE.fr.d.ts +18 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.fr.js +18 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.fr.js.map +1 -0
- 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_ERROR_BOUNDARY.fr.d.ts +20 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.fr.js +20 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.fr.js.map +1 -0
- 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_HOME.fr.d.ts +13 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_HOME.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_HOME.fr.js +13 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_HOME.fr.js.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts +11 -0
- 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 +12 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.fr.d.ts +32 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.fr.js +32 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.fr.js.map +1 -0
- 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_MAIN_CONTAINER.fr.d.ts +19 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.fr.js +19 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.fr.js.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.en.d.ts +39 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.en.js +39 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.en.js.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.fr.d.ts +39 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.fr.js +39 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_MODEL_COST_BREAKDOWN_SETTINGS.fr.js.map +1 -0
- 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_ROUTER_ERROR_BOUNDARY.fr.d.ts +41 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.fr.js +41 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.fr.js.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts +11 -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 +12 -2
- package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.fr.d.ts +74 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.fr.js +74 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.fr.js.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.d.ts +1 -0
- 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 +2 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.fr.d.ts +14 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.fr.js +14 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.fr.js.map +1 -0
- 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/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.fr.d.ts +16 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.fr.js +16 -0
- package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.fr.js.map +1 -0
- 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.fr.d.ts +26 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.fr.js +26 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.fr.js.map +1 -0
- 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_CHART_WIDGET.fr.d.ts +13 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.fr.js +13 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.fr.js.map +1 -0
- 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_EXECUTION.fr.d.ts +14 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.fr.js +14 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.fr.js.map +1 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.d.ts +0 -8
- 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 +1 -9
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.js.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.fr.d.ts +19 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.fr.js +19 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.fr.js.map +1 -0
- 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/HIGH_LEVEL_VIEWS_NOT_FOUND.fr.d.ts +19 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.fr.js +19 -0
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.fr.js.map +1 -0
- 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_ACTION_BAR.fr.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.fr.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.d.ts +5 -10
- 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 +5 -10
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.fr.d.ts +39 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.fr.js +39 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts +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 +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_AGENT_CONFIG.fr.d.ts +81 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.js +81 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts +27 -8
- 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 +28 -9
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.fr.d.ts +103 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.fr.js +103 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.fr.js.map +1 -0
- 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.fr.d.ts +16 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.fr.js +16 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.d.ts +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 +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_ARTIFACT_BROWSER.fr.d.ts +34 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.fr.js +34 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.fr.js.map +1 -0
- 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_CHAIN_OF_THOUGHT.fr.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.fr.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.fr.js.map +1 -0
- 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_CODE_BLOCK.fr.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.fr.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.fr.js.map +1 -0
- 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_CONFIRMATION.fr.d.ts +21 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.fr.js +21 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.fr.js.map +1 -0
- 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_CONTEXT.fr.d.ts +17 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.fr.js +17 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.d.ts +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 +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.fr.d.ts +15 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.fr.js +15 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.d.ts +93 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.js +93 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.d.ts +93 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.js +93 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION_THREAD.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.d.ts +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 +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.fr.d.ts +21 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.fr.js +21 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.d.ts +5 -5
- 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 +5 -5
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.fr.d.ts +21 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.fr.js +21 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.d.ts +4 -7
- 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 +4 -7
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.fr.d.ts +18 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.fr.js +18 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.fr.js.map +1 -0
- 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_EXECUTION_STREAM.fr.d.ts +14 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.fr.js +14 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_USAGE.en.d.ts +22 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_USAGE.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_USAGE.en.js +22 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_USAGE.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_USAGE.fr.d.ts +22 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_USAGE.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_USAGE.fr.js +22 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_USAGE.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.d.ts +2 -9
- 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 +2 -9
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.fr.d.ts +15 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.fr.js +15 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.d.ts +0 -8
- 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 +1 -9
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.fr.d.ts +18 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.fr.js +18 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_GRAPH_VIEWER.en.d.ts +30 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_GRAPH_VIEWER.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_GRAPH_VIEWER.en.js +30 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_GRAPH_VIEWER.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_GRAPH_VIEWER.fr.d.ts +30 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_GRAPH_VIEWER.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_GRAPH_VIEWER.fr.js +30 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_GRAPH_VIEWER.fr.js.map +1 -0
- 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_INLINE_CITATION.fr.d.ts +14 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.fr.js +14 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.fr.js.map +1 -0
- 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_MESSAGE.fr.d.ts +17 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.fr.js +17 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.fr.js.map +1 -0
- 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_MODEL_SELECTOR.fr.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.fr.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.fr.js.map +1 -0
- 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_OPEN_IN_CHAT.fr.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.fr.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.fr.js.map +1 -0
- 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_PLAN.fr.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.fr.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.fr.js.map +1 -0
- 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_PROMPT_INPUT.fr.d.ts +14 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.fr.js +14 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts +2 -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 +3 -2
- package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.fr.d.ts +60 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.fr.js +60 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.fr.js.map +1 -0
- 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_DETAIL.fr.d.ts +31 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.fr.js +31 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.fr.js.map +1 -0
- 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_TASK_MEMORY.fr.d.ts +19 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.fr.js +19 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.fr.js.map +1 -0
- 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_AI_WEB_PREVIEW.fr.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.fr.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.fr.js.map +1 -0
- 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_INVOICE_HISTORY.fr.d.ts +21 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.fr.js +21 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.fr.js.map +1 -0
- 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_PLAN_CHANGE_PREVIEW.fr.d.ts +28 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.fr.js +28 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.fr.js.map +1 -0
- 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_PORTAL_LINK.fr.d.ts +14 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.fr.js +14 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts +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 +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_PRICING_TABLE.fr.d.ts +38 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.fr.js +38 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.fr.js.map +1 -0
- 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_SUBSCRIPTION_STATUS.fr.d.ts +25 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.fr.js +25 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts +4 -3
- 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 +5 -4
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.fr.d.ts +26 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.fr.js +26 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.fr.js.map +1 -0
- 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_BREADCRUMB.fr.d.ts +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.fr.js +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.fr.js.map +1 -0
- 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_BUTTON.fr.d.ts +15 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.fr.js +15 -0
- package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.fr.js.map +1 -0
- 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_CAROUSEL.fr.d.ts +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.fr.js +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.fr.js.map +1 -0
- 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_CELEBRATION_OVERLAY.fr.d.ts +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.fr.js +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_CHIPS_INPUT.en.d.ts +15 -0
- package/dist/esm/i18n/components/LOW_LEVEL_CHIPS_INPUT.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_CHIPS_INPUT.en.js +15 -0
- package/dist/esm/i18n/components/LOW_LEVEL_CHIPS_INPUT.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_CHIPS_INPUT.fr.d.ts +15 -0
- package/dist/esm/i18n/components/LOW_LEVEL_CHIPS_INPUT.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_CHIPS_INPUT.fr.js +15 -0
- package/dist/esm/i18n/components/LOW_LEVEL_CHIPS_INPUT.fr.js.map +1 -0
- 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_COLOR_INPUT.fr.d.ts +17 -0
- package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.fr.js +17 -0
- package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.fr.js.map +1 -0
- 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_COMMAND.fr.d.ts +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.fr.js +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts +2 -3
- 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 +2 -3
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.d.ts +27 -0
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.js +27 -0
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATEPICKER.en.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATEPICKER.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATEPICKER.en.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATEPICKER.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATEPICKER.fr.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATEPICKER.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATEPICKER.fr.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATEPICKER.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_PICKER.en.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_PICKER.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_PICKER.en.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_PICKER.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_PICKER.fr.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_PICKER.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_PICKER.fr.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_PICKER.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.d.ts +1 -0
- 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 +2 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.fr.d.ts +16 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.fr.js +16 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATE_RANGE_PICKER.en.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATE_RANGE_PICKER.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATE_RANGE_PICKER.en.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATE_RANGE_PICKER.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATE_RANGE_PICKER.fr.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATE_RANGE_PICKER.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATE_RANGE_PICKER.fr.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DATE_RANGE_PICKER.fr.js.map +1 -0
- 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_DIALOG.fr.d.ts +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.fr.js +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.fr.js.map +1 -0
- 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_ADDRESS.fr.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.fr.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.fr.js.map +1 -0
- 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_BIGDECIMAL.fr.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.fr.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.fr.js.map +1 -0
- 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_BOOLEAN.fr.d.ts +21 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.fr.js +21 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.fr.js.map +1 -0
- 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_CODE.fr.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.fr.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.fr.js.map +1 -0
- 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_DURATION.fr.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.fr.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts +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 +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.fr.d.ts +22 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.fr.js +22 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.fr.js.map +1 -0
- 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_AUDIO.fr.d.ts +14 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.fr.js +14 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.d.ts +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 +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_DOCUMENT.fr.d.ts +17 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.fr.js +17 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.d.ts +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 +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_GALLERY.fr.d.ts +16 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.fr.js +16 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.fr.js.map +1 -0
- 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_IMAGE.fr.d.ts +15 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.fr.js +15 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.fr.js.map +1 -0
- 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_FILE_VIDEO.fr.d.ts +14 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.fr.js +14 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.fr.js.map +1 -0
- 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_MONEY.fr.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.fr.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.fr.js.map +1 -0
- 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_NUMBER.fr.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.fr.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.fr.js.map +1 -0
- 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_PHONE.fr.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.fr.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.fr.js.map +1 -0
- 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_BIGDECIMAL.fr.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.fr.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.fr.js.map +1 -0
- 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_MONEY.fr.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.fr.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.fr.js.map +1 -0
- 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_DISPLAY_FIELD_RANGE_NUMBER.fr.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.fr.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.fr.js.map +1 -0
- 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_DRAWER.fr.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.fr.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.fr.js.map +1 -0
- 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_DURATION.fr.d.ts +14 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DURATION.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DURATION.fr.js +14 -0
- package/dist/esm/i18n/components/LOW_LEVEL_DURATION.fr.js.map +1 -0
- 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_ERROR_DISPLAY.fr.d.ts +23 -0
- package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.fr.js +23 -0
- package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LIMIT_INDICATOR.en.d.ts +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LIMIT_INDICATOR.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LIMIT_INDICATOR.en.js +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LIMIT_INDICATOR.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LIMIT_INDICATOR.fr.d.ts +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LIMIT_INDICATOR.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LIMIT_INDICATOR.fr.js +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LIMIT_INDICATOR.fr.js.map +1 -0
- 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_LOCK_BADGE.fr.d.ts +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.fr.js +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.d.ts +2 -2
- 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 +2 -2
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.fr.d.ts +30 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.fr.js +30 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.d.ts +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 +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.fr.d.ts +16 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.fr.js +16 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts +13 -3
- 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 +14 -4
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.fr.d.ts +49 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.fr.js +49 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.d.ts +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 +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_ADDRESS.fr.d.ts +30 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.fr.js +30 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.fr.js.map +1 -0
- 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_BOOLEAN.fr.d.ts +21 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.fr.js +21 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.d.ts +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 +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_CODE.fr.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.fr.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_DURATION.en.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_DURATION.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_DURATION.en.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_DURATION.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_DURATION.fr.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_DURATION.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_DURATION.fr.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_DURATION.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts +5 -5
- 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 +5 -5
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.fr.d.ts +67 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.fr.js +67 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_MONEY.en.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_MONEY.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_MONEY.en.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_MONEY.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_MONEY.fr.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_MONEY.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_MONEY.fr.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_MONEY.fr.js.map +1 -0
- 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_PHONE.fr.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.fr.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_RANGE_MONEY.en.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_RANGE_MONEY.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_RANGE_MONEY.en.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_RANGE_MONEY.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_RANGE_MONEY.fr.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_RANGE_MONEY.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_RANGE_MONEY.fr.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_RANGE_MONEY.fr.js.map +1 -0
- 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_FIELD_STRING.fr.d.ts +18 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.fr.js +18 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.d.ts +6 -6
- 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 +6 -6
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.fr.d.ts +43 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.fr.js +43 -0
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.fr.js.map +1 -0
- 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_IMAGE_CROP.fr.d.ts +19 -0
- package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.fr.js +19 -0
- package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.fr.js.map +1 -0
- 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_OVERLAY.fr.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.fr.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.fr.js.map +1 -0
- 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_LOADING_SPINNER.fr.d.ts +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.fr.js +12 -0
- package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.fr.js.map +1 -0
- 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_OPERATIONS_CONFIRM_CRITICAL.fr.d.ts +16 -0
- package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.fr.js +16 -0
- package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.fr.js.map +1 -0
- 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_OVERLAY_CONTAINER.fr.d.ts +17 -0
- package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.fr.js +17 -0
- package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.fr.js.map +1 -0
- 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_PAGINATION.fr.d.ts +15 -0
- package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.fr.js +15 -0
- package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.fr.js.map +1 -0
- 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_PASSWORD_INPUT.fr.d.ts +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.fr.js +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.fr.js.map +1 -0
- 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_RANGE_SLIDER.fr.d.ts +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.fr.js +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.d.ts +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 +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.fr.d.ts +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.fr.js +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.fr.js.map +1 -0
- 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_SHEET.fr.d.ts +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_SHEET.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_SHEET.fr.js +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_SHEET.fr.js.map +1 -0
- 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_SIDEBAR.fr.d.ts +14 -0
- package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.fr.js +14 -0
- package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_STEPPER.en.d.ts +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_STEPPER.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_STEPPER.en.js +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_STEPPER.en.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_STEPPER.fr.d.ts +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_STEPPER.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_STEPPER.fr.js +13 -0
- package/dist/esm/i18n/components/LOW_LEVEL_STEPPER.fr.js.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.d.ts +1 -0
- 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 +2 -1
- package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.fr.d.ts +16 -0
- package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.fr.js +16 -0
- package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.fr.js.map +1 -0
- 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_AUTH_CALLBACK.fr.d.ts +19 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.fr.js +19 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.fr.js.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK.en.d.ts +32 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK.en.js +32 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK.en.js.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK.fr.d.ts +32 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK.fr.js +32 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_CHAT_IDENTITY_LINK.fr.js.map +1 -0
- 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_ENROLLMENT_REQUIRED.fr.d.ts +44 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.fr.js +44 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.fr.js.map +1 -0
- 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_FILE_UPLOAD_GRANT.fr.d.ts +39 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.fr.js +39 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.fr.js.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_LEGAL_NOTICE.en.d.ts +30 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_LEGAL_NOTICE.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_LEGAL_NOTICE.en.js +30 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_LEGAL_NOTICE.en.js.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_LEGAL_NOTICE.fr.d.ts +30 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_LEGAL_NOTICE.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_LEGAL_NOTICE.fr.js +30 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_LEGAL_NOTICE.fr.js.map +1 -0
- 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_MAGIC_LINK_VERIFY.fr.d.ts +17 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.fr.js +17 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.fr.js.map +1 -0
- 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_MFA_CHALLENGE.fr.d.ts +45 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.js +45 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.fr.js.map +1 -0
- 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_CONSENT.fr.d.ts +22 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.fr.js +22 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.fr.js.map +1 -0
- 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_LOGGED_OUT.fr.d.ts +14 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.fr.js +14 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.fr.js.map +1 -0
- 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_OAUTH_LOGOUT_CONFIRM.fr.d.ts +16 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.fr.js +16 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.fr.js.map +1 -0
- 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_ONE_OFF_SESSION.fr.d.ts +17 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.fr.js +17 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.fr.js.map +1 -0
- 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_ORGANIZATION_ONBOARDING.fr.d.ts +24 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.fr.js +24 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.fr.js.map +1 -0
- 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_TERMS.fr.d.ts +18 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.fr.js +18 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.fr.js.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts +4 -0
- 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 +5 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.fr.d.ts +53 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.fr.js +53 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.fr.js.map +1 -0
- 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_CONFIRM_EMAIL.fr.d.ts +32 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.fr.js +32 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.fr.js.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.d.ts +2 -2
- 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 +2 -2
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.fr.d.ts +46 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.fr.js +46 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.fr.js.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.d.ts +2 -2
- 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 +2 -2
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.fr.d.ts +37 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.fr.js +37 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.fr.js.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.d.ts +2 -2
- 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 +2 -2
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.fr.d.ts +59 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.fr.js +59 -0
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.fr.js.map +1 -0
- package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.d.ts +4 -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 +5 -2
- package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.fr.d.ts +19 -0
- package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.fr.js +19 -0
- package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.fr.js.map +1 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.d.ts +1 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.js +2 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.fr.d.ts +16 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.fr.js +16 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.fr.js.map +1 -0
- 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_CONTAINER_NESTED.fr.d.ts +14 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.fr.js +14 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.fr.js.map +1 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts +2 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.js +3 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.fr.d.ts +62 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.fr.js +62 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.fr.js.map +1 -0
- 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_DANGER_ZONE.fr.d.ts +15 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.fr.js +15 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.fr.js.map +1 -0
- 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_FILTERS.fr.d.ts +22 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.fr.js +22 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.fr.js.map +1 -0
- 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_HEADER.fr.d.ts +13 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.fr.js +13 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.fr.js.map +1 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts +4 -5
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js +4 -5
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.fr.d.ts +38 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.fr.js +38 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.fr.js.map +1 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.d.ts +5 -5
- 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 +5 -5
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.fr.d.ts +18 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.fr.js +18 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.fr.js.map +1 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts +5 -4
- 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 +6 -5
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.fr.d.ts +30 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.fr.js +30 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.fr.js.map +1 -0
- 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_PAGINATION.fr.d.ts +17 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.fr.js +17 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.fr.js.map +1 -0
- 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_READ.fr.d.ts +24 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.fr.js +24 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.fr.js.map +1 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_RECORD_SHARING.en.d.ts +30 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_RECORD_SHARING.en.d.ts.map +1 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_RECORD_SHARING.en.js +30 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_RECORD_SHARING.en.js.map +1 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_RECORD_SHARING.fr.d.ts +30 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_RECORD_SHARING.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_RECORD_SHARING.fr.js +30 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_RECORD_SHARING.fr.js.map +1 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.d.ts +0 -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 +0 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.fr.d.ts +15 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.fr.js +15 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.fr.js.map +1 -0
- 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/RESOURCES_LAYOUTS_UPDATE.fr.d.ts +13 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.fr.js +13 -0
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.fr.js.map +1 -0
- 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_announcement.fr.d.ts +12 -0
- package/dist/esm/i18n/components/guidance_announcement.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/guidance_announcement.fr.js +12 -0
- package/dist/esm/i18n/components/guidance_announcement.fr.js.map +1 -0
- 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_banner.fr.d.ts +13 -0
- package/dist/esm/i18n/components/guidance_banner.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/guidance_banner.fr.js +13 -0
- package/dist/esm/i18n/components/guidance_banner.fr.js.map +1 -0
- 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_card.fr.d.ts +12 -0
- package/dist/esm/i18n/components/guidance_card.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/guidance_card.fr.js +12 -0
- package/dist/esm/i18n/components/guidance_card.fr.js.map +1 -0
- package/dist/esm/i18n/components/guidance_checklist.en.d.ts +1 -1
- package/dist/esm/i18n/components/guidance_checklist.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_checklist.en.js +1 -1
- package/dist/esm/i18n/components/guidance_checklist.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_checklist.fr.d.ts +16 -0
- package/dist/esm/i18n/components/guidance_checklist.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/guidance_checklist.fr.js +16 -0
- package/dist/esm/i18n/components/guidance_checklist.fr.js.map +1 -0
- 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_checklist_item.fr.d.ts +14 -0
- package/dist/esm/i18n/components/guidance_checklist_item.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/guidance_checklist_item.fr.js +14 -0
- package/dist/esm/i18n/components/guidance_checklist_item.fr.js.map +1 -0
- 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_modal.fr.d.ts +15 -0
- package/dist/esm/i18n/components/guidance_modal.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/guidance_modal.fr.js +15 -0
- package/dist/esm/i18n/components/guidance_modal.fr.js.map +1 -0
- 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_onboarding_view.fr.d.ts +18 -0
- package/dist/esm/i18n/components/guidance_onboarding_view.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/guidance_onboarding_view.fr.js +18 -0
- package/dist/esm/i18n/components/guidance_onboarding_view.fr.js.map +1 -0
- 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_survey.fr.d.ts +19 -0
- package/dist/esm/i18n/components/guidance_survey.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/guidance_survey.fr.js +19 -0
- package/dist/esm/i18n/components/guidance_survey.fr.js.map +1 -0
- 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_tooltip.fr.d.ts +13 -0
- package/dist/esm/i18n/components/guidance_tooltip.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/guidance_tooltip.fr.js +13 -0
- package/dist/esm/i18n/components/guidance_tooltip.fr.js.map +1 -0
- 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/guidance_tour.fr.d.ts +17 -0
- package/dist/esm/i18n/components/guidance_tour.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/guidance_tour.fr.js +17 -0
- package/dist/esm/i18n/components/guidance_tour.fr.js.map +1 -0
- 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_achievement_badge.fr.d.ts +14 -0
- package/dist/esm/i18n/components/progression_achievement_badge.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/progression_achievement_badge.fr.js +14 -0
- package/dist/esm/i18n/components/progression_achievement_badge.fr.js.map +1 -0
- package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts +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 +1 -1
- package/dist/esm/i18n/components/progression_milestone_tracker.en.js.map +1 -1
- package/dist/esm/i18n/components/progression_milestone_tracker.fr.d.ts +20 -0
- package/dist/esm/i18n/components/progression_milestone_tracker.fr.d.ts.map +1 -0
- package/dist/esm/i18n/components/progression_milestone_tracker.fr.js +20 -0
- package/dist/esm/i18n/components/progression_milestone_tracker.fr.js.map +1 -0
- package/dist/esm/i18n/composite_views/app.build-plan.en.d.ts +19 -0
- package/dist/esm/i18n/composite_views/app.build-plan.en.d.ts.map +1 -0
- package/dist/esm/i18n/composite_views/app.build-plan.en.js +20 -0
- package/dist/esm/i18n/composite_views/app.build-plan.en.js.map +1 -0
- package/dist/esm/i18n/composite_views/app.build-plan.fr.d.ts +16 -0
- package/dist/esm/i18n/composite_views/app.build-plan.fr.d.ts.map +1 -0
- package/dist/esm/i18n/composite_views/app.build-plan.fr.js +16 -0
- package/dist/esm/i18n/composite_views/app.build-plan.fr.js.map +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 +37 -14
- package/dist/esm/i18n/composite_views/app.creation-conversation.en.js.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-conversation.fr.d.ts +316 -0
- package/dist/esm/i18n/composite_views/app.creation-conversation.fr.d.ts.map +1 -0
- package/dist/esm/i18n/composite_views/app.creation-conversation.fr.js +316 -0
- package/dist/esm/i18n/composite_views/app.creation-conversation.fr.js.map +1 -0
- 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.creation-dossier.fr.d.ts +48 -0
- package/dist/esm/i18n/composite_views/app.creation-dossier.fr.d.ts.map +1 -0
- package/dist/esm/i18n/composite_views/app.creation-dossier.fr.js +48 -0
- package/dist/esm/i18n/composite_views/app.creation-dossier.fr.js.map +1 -0
- package/dist/esm/i18n/composite_views/app.domain-model.en.d.ts +6 -0
- 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 +111 -1
- package/dist/esm/i18n/composite_views/app.domain-model.en.js.map +1 -1
- package/dist/esm/i18n/composite_views/app.domain-model.fr.d.ts +114 -0
- package/dist/esm/i18n/composite_views/app.domain-model.fr.d.ts.map +1 -0
- package/dist/esm/i18n/composite_views/app.domain-model.fr.js +114 -0
- package/dist/esm/i18n/composite_views/app.domain-model.fr.js.map +1 -0
- package/dist/esm/i18n/composite_views/app.playbook-map.en.d.ts +19 -0
- package/dist/esm/i18n/composite_views/app.playbook-map.en.d.ts.map +1 -0
- package/dist/esm/i18n/composite_views/app.playbook-map.en.js +20 -0
- package/dist/esm/i18n/composite_views/app.playbook-map.en.js.map +1 -0
- package/dist/esm/i18n/composite_views/app.playbook-map.fr.d.ts +16 -0
- package/dist/esm/i18n/composite_views/app.playbook-map.fr.d.ts.map +1 -0
- package/dist/esm/i18n/composite_views/app.playbook-map.fr.js +16 -0
- package/dist/esm/i18n/composite_views/app.playbook-map.fr.js.map +1 -0
- package/dist/esm/i18n/control-plane-label-blocks.d.ts +554 -0
- package/dist/esm/i18n/control-plane-label-blocks.d.ts.map +1 -1
- package/dist/esm/i18n/control-plane-label-blocks.js +111 -11
- package/dist/esm/i18n/control-plane-label-blocks.js.map +1 -1
- 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_guidance/errors-guidance.fr.d.ts +22 -0
- package/dist/esm/i18n/errors_guidance/errors-guidance.fr.d.ts.map +1 -0
- package/dist/esm/i18n/errors_guidance/errors-guidance.fr.js +22 -0
- package/dist/esm/i18n/errors_guidance/errors-guidance.fr.js.map +1 -0
- package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts +12 -0
- package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts.map +1 -1
- package/dist/esm/i18n/errors_messages/errors-messages.en.js +15 -0
- package/dist/esm/i18n/errors_messages/errors-messages.en.js.map +1 -1
- package/dist/esm/i18n/errors_messages/errors-messages.fr.d.ts +103 -0
- package/dist/esm/i18n/errors_messages/errors-messages.fr.d.ts.map +1 -0
- package/dist/esm/i18n/errors_messages/errors-messages.fr.js +103 -0
- package/dist/esm/i18n/errors_messages/errors-messages.fr.js.map +1 -0
- package/dist/esm/i18n/index.d.ts +13 -6
- package/dist/esm/i18n/index.d.ts.map +1 -1
- package/dist/esm/i18n/index.js +13 -6
- package/dist/esm/i18n/index.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts +819 -0
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js +25 -1
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.fr.d.ts +3031 -0
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.fr.d.ts.map +1 -0
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.fr.js +3031 -0
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.fr.js.map +1 -0
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts +45 -0
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js +2 -0
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.fr.d.ts +976 -0
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.fr.d.ts.map +1 -0
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.fr.js +976 -0
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.fr.js.map +1 -0
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts +45 -0
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js +2 -0
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.fr.d.ts +602 -0
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.fr.d.ts.map +1 -0
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.fr.js +602 -0
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.fr.js.map +1 -0
- 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/workbenchApplicationSecrets.fr.d.ts +102 -0
- package/dist/esm/i18n/resources/workbenchApplicationSecrets.fr.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchApplicationSecrets.fr.js +102 -0
- package/dist/esm/i18n/resources/workbenchApplicationSecrets.fr.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchAspects.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchAspects.en.js +4 -0
- package/dist/esm/i18n/resources/workbenchAspects.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchAspects.fr.d.ts +1847 -0
- package/dist/esm/i18n/resources/workbenchAspects.fr.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchAspects.fr.js +1847 -0
- package/dist/esm/i18n/resources/workbenchAspects.fr.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.fr.d.ts +159 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.fr.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.fr.js +159 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.fr.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts +16 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js +15 -4
- package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatches.fr.d.ts +115 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatches.fr.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatches.fr.js +115 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatches.fr.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts +37 -5
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js +47 -5
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.fr.d.ts +130 -0
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.fr.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.fr.js +130 -0
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.fr.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchBuildTaskRecords.en.d.ts +371 -0
- package/dist/esm/i18n/resources/workbenchBuildTaskRecords.en.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchBuildTaskRecords.en.js +144 -0
- package/dist/esm/i18n/resources/workbenchBuildTaskRecords.en.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchBuildTaskRecords.fr.d.ts +376 -0
- package/dist/esm/i18n/resources/workbenchBuildTaskRecords.fr.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchBuildTaskRecords.fr.js +376 -0
- package/dist/esm/i18n/resources/workbenchBuildTaskRecords.fr.js.map +1 -0
- 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/workbenchCodingLaneStatus.fr.d.ts +109 -0
- package/dist/esm/i18n/resources/workbenchCodingLaneStatus.fr.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchCodingLaneStatus.fr.js +109 -0
- package/dist/esm/i18n/resources/workbenchCodingLaneStatus.fr.js.map +1 -0
- 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/workbenchCreationHomeLines.fr.d.ts +100 -0
- package/dist/esm/i18n/resources/workbenchCreationHomeLines.fr.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchCreationHomeLines.fr.js +100 -0
- package/dist/esm/i18n/resources/workbenchCreationHomeLines.fr.js.map +1 -0
- 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/workbenchCreationOutcomes.fr.d.ts +100 -0
- package/dist/esm/i18n/resources/workbenchCreationOutcomes.fr.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchCreationOutcomes.fr.js +100 -0
- package/dist/esm/i18n/resources/workbenchCreationOutcomes.fr.js.map +1 -0
- 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/workbenchDomainResources.fr.d.ts +126 -0
- package/dist/esm/i18n/resources/workbenchDomainResources.fr.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchDomainResources.fr.js +126 -0
- package/dist/esm/i18n/resources/workbenchDomainResources.fr.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchDossierEntries.fr.d.ts +199 -0
- package/dist/esm/i18n/resources/workbenchDossierEntries.fr.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchDossierEntries.fr.js +199 -0
- package/dist/esm/i18n/resources/workbenchDossierEntries.fr.js.map +1 -0
- 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/workbenchGovernanceDocuments.fr.d.ts +117 -0
- package/dist/esm/i18n/resources/workbenchGovernanceDocuments.fr.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchGovernanceDocuments.fr.js +117 -0
- package/dist/esm/i18n/resources/workbenchGovernanceDocuments.fr.js.map +1 -0
- 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/workbenchGovernanceQuestions.fr.d.ts +126 -0
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.fr.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.fr.js +126 -0
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.fr.js.map +1 -0
- 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/workbenchParkedCodingQuestions.fr.d.ts +94 -0
- package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.fr.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.fr.js +94 -0
- package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.fr.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts +69 -0
- package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js +28 -0
- package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchPlaybookRuns.fr.d.ts +244 -0
- package/dist/esm/i18n/resources/workbenchPlaybookRuns.fr.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchPlaybookRuns.fr.js +244 -0
- package/dist/esm/i18n/resources/workbenchPlaybookRuns.fr.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts +36 -0
- package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchPlaybooks.en.js +28 -0
- package/dist/esm/i18n/resources/workbenchPlaybooks.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchPlaybooks.fr.d.ts +231 -0
- package/dist/esm/i18n/resources/workbenchPlaybooks.fr.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchPlaybooks.fr.js +231 -0
- package/dist/esm/i18n/resources/workbenchPlaybooks.fr.js.map +1 -0
- 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/workbenchRunWriteRecords.fr.d.ts +123 -0
- package/dist/esm/i18n/resources/workbenchRunWriteRecords.fr.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchRunWriteRecords.fr.js +123 -0
- package/dist/esm/i18n/resources/workbenchRunWriteRecords.fr.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts +438 -2
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js +110 -2
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.fr.d.ts +6727 -0
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.fr.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.fr.js +6727 -0
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.fr.js.map +1 -0
- package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts +25 -0
- package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchTraceSessions.en.js +30 -0
- package/dist/esm/i18n/resources/workbenchTraceSessions.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchTraceSessions.fr.d.ts +139 -0
- package/dist/esm/i18n/resources/workbenchTraceSessions.fr.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchTraceSessions.fr.js +139 -0
- package/dist/esm/i18n/resources/workbenchTraceSessions.fr.js.map +1 -0
- 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/resources/workbenchWaitingPlaybookRuns.fr.d.ts +112 -0
- package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.fr.d.ts.map +1 -0
- package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.fr.js +112 -0
- package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.fr.js.map +1 -0
- package/dist/esm/i18n/system_enums/application-creation.en.d.ts +144 -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 +150 -0
- package/dist/esm/i18n/system_enums/application-creation.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/application-creation.fr.d.ts +450 -0
- package/dist/esm/i18n/system_enums/application-creation.fr.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/application-creation.fr.js +450 -0
- package/dist/esm/i18n/system_enums/application-creation.fr.js.map +1 -0
- package/dist/esm/i18n/system_enums/compliance-programme.en.d.ts +8 -0
- package/dist/esm/i18n/system_enums/compliance-programme.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/compliance-programme.en.js +8 -0
- package/dist/esm/i18n/system_enums/compliance-programme.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/compliance-programme.fr.d.ts +114 -0
- package/dist/esm/i18n/system_enums/compliance-programme.fr.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/compliance-programme.fr.js +114 -0
- package/dist/esm/i18n/system_enums/compliance-programme.fr.js.map +1 -0
- package/dist/esm/i18n/system_enums/flows-actors.en.d.ts +68 -0
- package/dist/esm/i18n/system_enums/flows-actors.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/flows-actors.en.js +89 -0
- package/dist/esm/i18n/system_enums/flows-actors.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/flows-actors.fr.d.ts +96 -0
- package/dist/esm/i18n/system_enums/flows-actors.fr.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/flows-actors.fr.js +96 -0
- package/dist/esm/i18n/system_enums/flows-actors.fr.js.map +1 -0
- package/dist/esm/i18n/system_enums/form-answer-values.en.d.ts +204 -0
- package/dist/esm/i18n/system_enums/form-answer-values.en.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/form-answer-values.en.js +204 -0
- package/dist/esm/i18n/system_enums/form-answer-values.en.js.map +1 -0
- package/dist/esm/i18n/system_enums/form-answer-values.fr.d.ts +199 -0
- package/dist/esm/i18n/system_enums/form-answer-values.fr.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/form-answer-values.fr.js +199 -0
- package/dist/esm/i18n/system_enums/form-answer-values.fr.js.map +1 -0
- package/dist/esm/i18n/system_enums/localization.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/localization.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/localization.fr.d.ts +74 -0
- package/dist/esm/i18n/system_enums/localization.fr.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/localization.fr.js +74 -0
- package/dist/esm/i18n/system_enums/localization.fr.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/market.fr.d.ts +194 -0
- package/dist/esm/i18n/system_enums/market.fr.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/market.fr.js +194 -0
- package/dist/esm/i18n/system_enums/market.fr.js.map +1 -0
- 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/processor-register.fr.d.ts +37 -0
- package/dist/esm/i18n/system_enums/processor-register.fr.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/processor-register.fr.js +37 -0
- package/dist/esm/i18n/system_enums/processor-register.fr.js.map +1 -0
- 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/risk-register.fr.d.ts +37 -0
- package/dist/esm/i18n/system_enums/risk-register.fr.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/risk-register.fr.js +37 -0
- package/dist/esm/i18n/system_enums/risk-register.fr.js.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-build.en.d.ts +27 -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 +40 -1
- package/dist/esm/i18n/system_enums/workbench-build.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-build.fr.d.ts +58 -0
- package/dist/esm/i18n/system_enums/workbench-build.fr.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-build.fr.js +58 -0
- package/dist/esm/i18n/system_enums/workbench-build.fr.js.map +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.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-creation-home.fr.d.ts +39 -0
- package/dist/esm/i18n/system_enums/workbench-creation-home.fr.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-creation-home.fr.js +39 -0
- package/dist/esm/i18n/system_enums/workbench-creation-home.fr.js.map +1 -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.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-dossier.fr.d.ts +26 -0
- package/dist/esm/i18n/system_enums/workbench-dossier.fr.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-dossier.fr.js +26 -0
- package/dist/esm/i18n/system_enums/workbench-dossier.fr.js.map +1 -0
- 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-playbook-run.fr.d.ts +17 -0
- package/dist/esm/i18n/system_enums/workbench-playbook-run.fr.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-playbook-run.fr.js +17 -0
- package/dist/esm/i18n/system_enums/workbench-playbook-run.fr.js.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-secrets.en.d.ts +1 -0
- package/dist/esm/i18n/system_enums/workbench-secrets.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-secrets.en.js +1 -0
- package/dist/esm/i18n/system_enums/workbench-secrets.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-secrets.fr.d.ts +45 -0
- package/dist/esm/i18n/system_enums/workbench-secrets.fr.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-secrets.fr.js +45 -0
- package/dist/esm/i18n/system_enums/workbench-secrets.fr.js.map +1 -0
- 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/system_enums/workbench-specification-artifact.fr.d.ts +23 -0
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.fr.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.fr.js +23 -0
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.fr.js.map +1 -0
- package/dist/esm/i18n-labelling/models/companion-own-label-unit.models.d.ts +100 -0
- package/dist/esm/i18n-labelling/models/companion-own-label-unit.models.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/models/companion-own-label-unit.models.js +63 -0
- package/dist/esm/i18n-labelling/models/companion-own-label-unit.models.js.map +1 -0
- package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.d.ts +7 -0
- 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 +9 -0
- 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.map +1 -1
- package/dist/esm/i18n-labelling/models/labelling-progress.models.js.map +1 -1
- package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts +32 -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 +22 -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 +6 -0
- 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 +31 -2
- 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 +38 -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 +129 -8
- 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 +23 -3
- 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 +43 -3
- 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 +204 -43
- 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 +69 -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 +477 -36
- 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/companion-own-label-units.utils.d.ts +89 -0
- package/dist/esm/i18n-labelling/utils/companion-own-label-units.utils.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/utils/companion-own-label-units.utils.js +195 -0
- package/dist/esm/i18n-labelling/utils/companion-own-label-units.utils.js.map +1 -0
- 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 +11 -21
- 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 +41 -7
- 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 +14 -0
- 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 +6 -0
- package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/function-tool-label-keys.utils.d.ts +38 -0
- package/dist/esm/i18n-labelling/utils/function-tool-label-keys.utils.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/utils/function-tool-label-keys.utils.js +68 -0
- package/dist/esm/i18n-labelling/utils/function-tool-label-keys.utils.js.map +1 -0
- 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 +78 -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 +114 -14
- package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/label-typography.utils.d.ts +55 -0
- package/dist/esm/i18n-labelling/utils/label-typography.utils.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/utils/label-typography.utils.js +71 -0
- package/dist/esm/i18n-labelling/utils/label-typography.utils.js.map +1 -0
- package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/named-label-keys.utils.d.ts +27 -0
- package/dist/esm/i18n-labelling/utils/named-label-keys.utils.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/utils/named-label-keys.utils.js +21 -0
- package/dist/esm/i18n-labelling/utils/named-label-keys.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.map +1 -1
- 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/rejected-chunk-answer-recovery.utils.d.ts +84 -0
- package/dist/esm/i18n-labelling/utils/rejected-chunk-answer-recovery.utils.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/utils/rejected-chunk-answer-recovery.utils.js +125 -0
- package/dist/esm/i18n-labelling/utils/rejected-chunk-answer-recovery.utils.js.map +1 -0
- 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 +27 -0
- 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 +78 -23
- 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.map +1 -1
- package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts +41 -1
- 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 +35 -4
- 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.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 +1 -1
- package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/build-brief-content-trust.models.d.ts +62 -0
- package/dist/esm/meta-workflows/models/build-brief-content-trust.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/build-brief-content-trust.models.js +72 -0
- package/dist/esm/meta-workflows/models/build-brief-content-trust.models.js.map +1 -0
- package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts +2 -27
- 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 +4 -31
- 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 +8 -5
- package/dist/esm/meta-workflows/models/creation-intervention.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/creation-intervention.models.js +10 -6
- package/dist/esm/meta-workflows/models/creation-intervention.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/generation-step-progress.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/generation-step-progress.models.js.map +1 -1
- 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.map +1 -1
- 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 +1 -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 +1 -0
- 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 +23 -3
- 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 +64 -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.map +1 -1
- package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/website-copy-review.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/website-copy-review.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/website-visual-review.actors-system.definitions.d.ts +36 -0
- package/dist/esm/meta-workflows/models/website-visual-review.actors-system.definitions.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/website-visual-review.actors-system.definitions.js +86 -0
- package/dist/esm/meta-workflows/models/website-visual-review.actors-system.definitions.js.map +1 -0
- package/dist/esm/meta-workflows/models/website-visual-review.models.d.ts +83 -0
- package/dist/esm/meta-workflows/models/website-visual-review.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/website-visual-review.models.js +33 -0
- package/dist/esm/meta-workflows/models/website-visual-review.models.js.map +1 -0
- package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +284 -29
- 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 +937 -125
- 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 +273 -27
- 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 +532 -46
- 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 +187 -14
- 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 +445 -21
- 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 +93 -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 +485 -51
- 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.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.js +3 -2
- package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-website-visual-review.companion.service.d.ts +104 -0
- package/dist/esm/meta-workflows/services/application-build-website-visual-review.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/application-build-website-visual-review.companion.service.js +336 -0
- package/dist/esm/meta-workflows/services/application-build-website-visual-review.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.js.map +1 -1
- 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.map +1 -1
- package/dist/esm/meta-workflows/services/build-brief-third-party-screening.companion.d.ts +111 -0
- package/dist/esm/meta-workflows/services/build-brief-third-party-screening.companion.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/build-brief-third-party-screening.companion.js +290 -0
- package/dist/esm/meta-workflows/services/build-brief-third-party-screening.companion.js.map +1 -0
- 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.map +1 -1
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.js.map +1 -1
- 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.map +1 -1
- package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js +1 -1
- package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js +2 -2
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.js.map +1 -1
- package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/dossier.companion.service.js +25 -5
- 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 +33 -5
- 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 +119 -11
- 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.map +1 -1
- package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.js.map +1 -1
- 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 +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 +5 -5
- 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.map +1 -1
- 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 +92 -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 +567 -86
- 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 +5 -0
- 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 +15 -10
- package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/provider-registry-brief.companion.utils.d.ts +39 -0
- package/dist/esm/meta-workflows/services/provider-registry-brief.companion.utils.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/provider-registry-brief.companion.utils.js +117 -0
- package/dist/esm/meta-workflows/services/provider-registry-brief.companion.utils.js.map +1 -0
- 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/services/website-demo-facts.models.d.ts +43 -0
- package/dist/esm/meta-workflows/services/website-demo-facts.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/website-demo-facts.models.js +99 -0
- package/dist/esm/meta-workflows/services/website-demo-facts.models.js.map +1 -0
- package/dist/esm/meta-workflows/services/website-section-design.models.d.ts +46 -0
- package/dist/esm/meta-workflows/services/website-section-design.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/website-section-design.models.js +99 -0
- package/dist/esm/meta-workflows/services/website-section-design.models.js.map +1 -0
- package/dist/esm/meta-workflows/services/website-visual-camera.companion.d.ts +18 -0
- package/dist/esm/meta-workflows/services/website-visual-camera.companion.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/website-visual-camera.companion.js +71 -0
- package/dist/esm/meta-workflows/services/website-visual-camera.companion.js.map +1 -0
- 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 +62 -0
- 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 +133 -34
- 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 +32 -18
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coding-agent-dispatch.companion.service.js","sourceRoot":"","sources":["../../../../src/claude-cli/services/coding-agent-dispatch.companion.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgFG;;;;;;;;;;;;;AAEH,OAAO,EACL,gDAAgD,GAEjD,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,+BAA+B,EAC/B,qCAAqC,GACtC,MAAM,sEAAsE,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAChE,OAAO,EACL,wBAAwB,EACxB,sBAAsB,EACtB,4BAA4B,EAC5B,+BAA+B,EAC/B,iCAAiC,GAClC,MAAM,wCAAwC,CAAC;AAChD,OAAO,E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C,GAAG,KAAK,CAAC;IAC5C,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC;AAED,SAAS,uBAAuB,CAAC,KAAc;IAC7C,IAAI,mBAAmB,CAAC,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC;IAC7C,IAAI,KAAK,YAAY,KAAK,EAAE,CAAC;QAC3B,OAAO;YACL,OAAO,EAAE,KAAK,CAAC,OAAO;YACtB,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SAC/C,CAAC;IACJ,CAAC;IACD,OAAO,EAAE,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC;AACpC,CAAC;AAED,SAAS,cAAc;IAKrB,IAAI,OAAO,GAAG,KAAK,CAAC;IACpB,IAAI,SAA8B,CAAC;IACnC,IAAI,QAAmC,CAAC;IACxC,MAAM,OAAO,GAAG,IAAI,OAAO,CAAI,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACjD,SAAS,GAAG,OAAO,CAAC;QACpB,QAAQ,GAAG,MAAM,CAAC;IACpB,CAAC,CAAC,CAAC;IACH,OAAO;QACL,OAAO;QACP,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE;YACjB,IAAI,OAAO;gBAAE,OAAO;YACpB,OAAO,GAAG,IAAI,CAAC;YACf,SAAS,CAAC,KAAK,CAAC,CAAC;QACnB,CAAC;QACD,MAAM,EAAE,CAAC,KAAK,EAAE,EAAE;YAChB,IAAI,OAAO;gBAAE,OAAO;YACpB,OAAO,GAAG,IAAI,CAAC;YACf,QAAQ,CAAC,KAAK,CAAC,CAAC;QAClB,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["/**\n * Application coding-task host — the typed Flows/Actors coding path.\n *\n * `runApplicationCodingTask` admits one typed `MetaWorkflow_ApplicationCodingTaskContract`\n * (the episode runtime's coding revision owner is the caller), renders its\n * prompt from the sealed contract, creates an `Actors_Task` row, spawns the\n * Claude CLI in the background against the application worktree, captures\n * a read-only git change set with per-file attribution, runs the contract's\n * registered verification checks, then PATCHes the task with status/output/\n * artifacts. One admission never spans the multi-minute run (P-16) —\n * callers await the settlement or poll `/tasks/actors/:taskId`. The raw\n * `POST /coding-agent/dispatch` endpoint (caller-composed prompt) was\n * deleted at the first-activation hard cut.\n *\n * # Locking & recursion cap (P-20 / P-19b / P-35)\n *\n * Runs are single-flight, serialized by a cross-process lock on the\n * dedicated target `<saasRoot>/.wildo-saas/state/workspace-mutation.lock`\n * (`withDedicatedFileLock` from `@wildo-ai/platform-config-lib`,\n * proper-lockfile pattern — an in-memory mutex alone is forbidden because\n * the CLI mutates the same worktree from other processes). An in-memory\n * flag fronts the lock for fast 409s. The lock is held for the WHOLE run.\n *\n * That is the SINGLE-FLIGHT mode. A CONCURRENT run (#1528, a parallel build\n * wave) holds no lock and takes it only around its commit, so the lock is\n * no longer the signal that \"a coding agent is running\" — the\n * `coding-run.heartbeat` beaten from the active-run set is (see\n * `CODING_RUN_HEARTBEAT_RELATIVE_PATH`).\n *\n * The P-35 recursion cap falls out structurally: a dispatched run that\n * calls dispatch (it has shell access and can read the machine-local\n * token) always finds the lock held by ITS OWN run and is rejected 409 —\n * a dispatched run can never dispatch. Deliberately, the lock does NOT\n * gate Paul's parallel sessions (P-19b): CLAUDE.md forbids session\n * coordination; per-file attribution is the compensation, not exclusion.\n *\n * ⚠️ **THE CAP IS A SIDE EFFECT OF THE LOCK BEING GLOBAL, AND #48 PROPOSES\n * MAKING IT PER-SCOPE.** Admission by disjoint mutation scopes deletes this\n * refusal silently: a recursing run asks for a task in ANOTHER module, is\n * found disjoint, and is admitted. Nothing throws, nothing logs, and the\n * first symptom is a fan-out nobody asked for — this repository's \"a\n * construct that refuses needs its paired path\" lesson running BACKWARDS,\n * with a refusal removed as a side effect, which is the harder direction to\n * notice.\n *\n * So the cap must become an EXPLICIT guard in the same change: a run's own\n * dispatch identity refused at admission regardless of scope disjointness.\n * Note that identity is the hard part and is not solved here — the child's\n * environment is composed by this service, but an HTTP request from the\n * agent's shell carries none of it, and the machine-local token the agent\n * reads is the same one an operator uses. Whoever scopes the lock owns\n * finding that channel; do not assume it exists.\n *\n * It is TRIPWIRED rather than left to memory. The single-flight tests below\n * dispatch the SAME scope twice, so they keep passing under scope-aware\n * admission and would let the cap vanish green. `refuses a second dispatch\n * whose mutation scope is DISJOINT — the P-35 recursion cap (#48)` varies\n * the scope on purpose and goes red instead.\n *\n * # Traceability (P-21)\n *\n * L2 runs dispatch through `AgentsBackendService.invokeAgent`, so they DO\n * reach the engine `AgentCallTraceSink` (on success and on failure, gated by\n * the agent-traceability policy and silent when no sink is bound) and they DO\n * run through the provider's Bottleneck limiter, which `executeAgentViaACP`\n * schedules the session on. The pre-ACP direct claude-cli lane bypassed both;\n * that is history, not the current shape. Two things still do not come free:\n * a NONE policy level or an unbound sink means no engine trace at all, so this\n * service also owns its companion-traceability events (DEBUG) and artifacts\n * (DEBUG_VERBOSE). The background phase runs under an INTERNAL trace session\n * (`createInternalSession`) because the HTTP request session ends at the\n * 202-style response.\n *\n * # Run limits (P-18)\n *\n * Defaults 30 min / 10 MiB; request-overridable up to hard caps\n * 60 min / 32 MiB. The byte cap REJECTS (kills the run), it does not\n * truncate. Args stay `--print` + `--model` (no extraArgs field), prompt\n * on stdin, env = `{ PATH, HOME, SHELL, TERM }` (composed inside\n * the ACP session runner).\n */\n\nimport {\n MetaWorkflow_ApplicationCodingTaskContractSchema,\n type MetaWorkflow_ApplicationCodingTaskContract,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n ApplicationSchemaPlanObligation,\n assessApplicationSchemaPlanObligation,\n} from '../../core/config/application-schema-plan-obligation.companion.utils';\nimport { isAbsolute, join, normalize, relative, sep, dirname } from 'node:path';\nimport { existsSync, readFileSync, realpathSync } from 'node:fs';\nimport { appendFile, mkdir, writeFile } from 'node:fs/promises';\nimport {\n CODING_ANSWERS_FILE_NAME,\n CodingQuestionAnswerer,\n getFamilyPackageRelativePath,\n renderCodingQuestionAnswerEntry,\n renderCodingQuestionAnswersHeader,\n} from '@wildo-ai/application-creation-runtime';\nimport { ApplicationSpecificationFamily } from '@wildo-ai/saas-specifications/application-creation';\nimport {\n AgentAnswerAttemptDecision,\n decideAgentAnswerAttempt,\n ParkedQuestionAnswerOutputSchema,\n ParkedQuestionAnswerVerdict,\n readParkedQuestionAnswers,\n renderParkedQuestionAnswerPrompt,\n withParkedQuestionAnswer,\n type ParkedQuestionAnswerOutput,\n type ParkedQuestionAnswerRecord,\n} from '../models/parked-question-answer.models';\nimport { PARKED_QUESTION_ANSWERER_AGENT_REF } from '../models/parked-question-answerer.actors-system.definitions';\nimport {\n applicationCodingExclusiveSubject,\n CODING_RUN_WINDOW_RETENTION_MS,\n CodingRunConcurrency,\n deriveInterferenceSuspected,\n describeRunConcurrency,\n isConcurrentRunSubject,\n selectBudgetCountingFailures,\n collectRunClaimedPaths,\n type CodingRunConcurrencyRecord,\n type CodingRunWindow,\n} from '../models/concurrent-coding-runs.models';\n\nimport { inject, injectable, optional } from 'inversify';\nimport {\n ActorsSystemBackendService,\n AgentsBackendService,\n ErrorBuilderBackendService,\n LoggerService,\n SAAS_SERVICE_TYPES,\n WorkerShutdownManagerBackendService,\n executeBoundedSubprocess,\n describeCaughtError,\n actorExecutionSuspensionRef,\n isActorExecutionNotSuspendedError,\n isActorExecutionSubjectBusyError,\n type ActorExecutionConclusion,\n type ActorExecutionOpenRequest,\n type ActorExecutionRunOptions,\n type ActorExecutionSuspensionRequest,\n type OpenedActorExecution,\n} from '@wildo-ai/saas-backend-lib';\nimport {\n Actor_Task_Topics,\n type AgentTraceContext,\n ErrorCustomMessageReference,\n ErrorType,\n FlowsActors_IO_PartKind,\n FlowsActors_Status,\n isWildoBackendError,\n type ArtifactInstance,\n type FlowsActors_Agent_Invocation,\n HumanDecision_FieldKind,\n HumanDecision_ResponseIntent,\n type HumanDecision_Request,\n} from '@wildo-ai/saas-models';\nimport {\n CodingAgent_EndOfTurnClassification,\n CodingAgent_OperationContext_BaseSchema,\n CodingAgent_RunTaskInputSchema,\n CodingAgent_RunTaskOutputSchema,\n CodingAgent_SessionSuspensionSchema,\n CodingAgent_StopReason,\n type CodingAgent_RunTaskOutput,\n type CodingAgent_SessionSuspension,\n type CodingAgent_Usage,\n} from '@wildo-ai/external-connectors-models';\nimport {\n getWorkspaceMutationLockPath as resolveWorkspaceMutationLockPath,\n withDedicatedFileLock,\n} from '@wildo-ai/platform-config-lib';\n\nimport {\n sanitizeWorkbenchCreationPlaneIdentity,\n Workbench_ParkedCodingQuestionOptionRef,\n WORKBENCH_PARKED_CODING_QUESTION_FIELD_REF,\n WORKBENCH_TASK_CORRELATION_DOMAIN,\n WorkbenchTaskCorrelationRef,\n} from '@wildo-ai/platform-core-shared';\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport type { CompanionContext } from '../../core/context/companion-context';\nimport { InFlightWorkHeartbeat } from '../../core/runtime/in-flight-work-heartbeat.companion';\nimport type {\n CompanionExecutionSessionContext,\n} from '../../core/traceability/companion-traceability.models';\nimport { CompanionTraceabilityLevel, CompanionTraceAliasKind } from '../../core/traceability/companion-traceability.models';\nimport { CompanionTraceabilityService } from '../../core/traceability/companion-traceability.service';\nimport { CompanionIntrospectionService } from '../../core/introspection/services/companion-introspection.companion.service';\nimport { CompanionExecutionsCompanionService } from '../../executions/services/companion-executions.companion.service';\nimport { CompanionActorTasksListQuerySchema, CompanionExecutionsListQuerySchema, type CompanionCodingAgentStatusResponse } from '../../companion-api/companion-api.schemas';\nimport { GitChangeSetCompanionService, isConcurrentHostLanePath, isOutsideApplicationRootPath } from './git-change-set.companion.service';\nimport { CodingRunWriteRegisterCompanionService } from './coding-run-write-register.companion.service';\nimport { PlaybookLaneBoundaryDecision } from '@wildo-ai/application-creation-runtime';\nimport {\n APPLICATION_CREATION_AUTONOMY_POSTURE,\n LaneBoundaryTreatment,\n laneBoundaryTreatmentFor,\n} from '../../meta-workflows/models/playbook-run-checkpoint.models';\nimport { AcceptOrigin, AcceptRefusalReason, AcceptedChangeCommitCompanionService, NothingToAcceptError } from './accepted-change-commit.companion.service';\nimport { listInFlightCodingRuns, type InFlightCodingRun } from './in-flight-coding-runs.companion';\nimport {\n APPLICATION_CODING_TURN_CLASSIFIER_AGENT_REF,\n CodingTurnEndClassificationOutputSchema,\n APPLICATION_CODING_AGENT_REFS,\n APPLICATION_CODING_SYSTEM_REF,\n APPLICATION_CODING_WORKTREE_SUBJECT,\n isApplicationCodingAgentRef,\n resolveSelectedApplicationCodingAgentBinding,\n} from '../../meta-workflows/models/application-coding-agent.actors-system.definitions';\nimport { humanDecisionSettler } from '../../meta-workflows/models/human-decision-settler.models';\nimport {\n ChangeSetAttributionClass,\n RESOURCES_REGISTRY_COULD_NOT_ASK_MARKER,\n ApplicationCodingTaskDisposition,\n codingRunChangedNoFileOfItsOwn,\n deriveApplicationCodingTaskDisposition,\n CodingRunFailureAttribution,\n CodingRunStart,\n deriveCodingRunFailureAttribution,\n deriveCodingRunStart,\n isAttributedToAnotherWriter,\n APPLICATION_CODING_CONTRACT_REFUSAL_MARKER,\n type ApplicationCodingTaskRunAdmission,\n type CodingRunOrigin,\n type ApplicationCodingTaskVerificationPlan,\n DISPATCH_DEFAULT_MAX_CAPTURED_BYTES,\n DISPATCH_DEFAULT_TIMEOUT_MS,\n DISPATCH_HARD_MAX_CAPTURED_BYTES,\n DISPATCH_HARD_MAX_TIMEOUT_MS,\n VerificationKind,\n renderApplicationCodingTaskAgentPrompt,\n resolveApplicationCodingTaskVerificationPlans,\n type GitChangeSetCapture,\n type GitWorktreeSnapshot,\n parseClosingReportUnmetRequirements,\n} from '../models/coding-agent-dispatch.models';\nimport { CodingSessionFrameRetention, type CodingSessionRetentionSummary } from '../models/coding-session-frame-retention';\nimport { isInfrastructureShapedAgentFailure, isProviderAccountAgentFailure } from '../../core/runtime/dev-compile-quiet.companion';\nimport { readCodingAgentUsageLimit, readRecordedCodingAgentUsageLimit, type CodingAgentUsageLimit } from '../models/coding-agent-usage-limit.models';\nimport type { Actors_Memory_Context } from '@wildo-ai/saas-models';\nimport { diagnoseCarriedVerificationFailure } from '../../meta-workflows/models/carried-verification-failure.models';\nimport { deriveRequiredCheckRefs } from '../../meta-workflows/services/application-build-task-coding-policy.companion.service';\nimport { assemblyRepairRunInputField } from '../../meta-workflows/services/application-assembly-repair.companion.utils';\nimport {\n NothingToRearmError,\n readBuildTaskInterference,\n readBuildTaskRearm,\n readGivenLandedOverride,\n withBuildTaskInterference,\n withBuildTaskRearm,\n type BuildTaskInterference,\n type BuildTaskRearm,\n type BuildTaskRearmReason,\n} from '../../meta-workflows/models/build-task-rearm.models';\nimport { withWebsiteCopyReview, type WebsiteCopyReview } from '../../meta-workflows/models/website-copy-review.models';\nimport {\n APPLICATION_CODING_RUN_CHECKPOINT_KIND,\n ApplicationCodingRunCheckpointSchema,\n isParkedCodingRunAnswerable,\n mergeResumedLegUsage,\n type ApplicationCodingRunCheckpoint,\n} from '../models/application-coding-run-checkpoint.models';\n\n/** Fixed, non-overridable limits for the verification hook subprocess. */\nconst VERIFICATION_TIMEOUT_MS = 10 * 60_000;\n/** How long the running backend has to answer `/health/ready` (#2228). Readiness is a cheap probe; a backend slower than this is not serving. */\nconst BACKEND_READY_TIMEOUT_MS = 10_000;\n/** How much of the agent's final message a not-repaired verdict carries (#2409): enough for its reason, not its transcript. */\nconst OVERRIDE_NOT_REPAIRED_AGENT_SAY_CHARS = 600;\nconst VERIFICATION_MAX_CAPTURED_BYTES = 10 * 1024 * 1024;\n\n\n/** Tail size persisted on the task row; full streams go to traceability artifacts. */\nconst OUTPUT_TAIL_CHARS = 16_000;\n\ninterface ActiveRunState {\n taskId: string;\n startedAt: string;\n /** Cancels the in-flight coding session. Cooperative first, kill second. */\n abortController: AbortController;\n /** Whether it shares the tree with a wave (#1528); a concurrent run takes the workspace lock only to commit. */\n mode: CodingRunConcurrency;\n /**\n * Present once the run was CANCELLED and its park is being withdrawn — by its own chain on the way\n * out, or by a per-run cancel no chain held, whose guard entry this is (#1581, eighth to tenth reviews).\n * The entry stays registered meanwhile, so a person's answer is refused until the withdraw is done;\n * and a second cancel AWAITS this withdraw's outcome rather than starting another or guessing.\n */\n withdrawal?: Promise<CancelledParkOutcome>;\n /**\n * TRUE for the registration a per-run cancel takes while it withdraws a park no chain holds (#1581). It\n * holds the task against a concurrent answer and WRITES NOTHING, so it is never a live writer (#1805\n * review F4): counting it deferred reconciliations nothing would ever resume.\n */\n withdrawalGuard?: true;\n}\n\n/**\n * What became of a cancelled run's park (#1581, tenth review). Told apart because a person is told\n * which: a best-effort withdraw can fail, and the store can fail to answer at all.\n */\nexport enum CancelledParkOutcome {\n /** The park is gone — withdrawn now, or none was left to withdraw. */\n ENDED = 'ended',\n /** The withdraw failed and the question is still waiting. */\n STILL_WAITING = 'still-waiting',\n /** Neither could be confirmed: the run could not be read. */\n UNCONFIRMED = 'unconfirmed',\n}\n\n/**\n * A read that found NO park — the task, its execution or its wait is absent — as opposed to a read that\n * failed. The store's `NOT_FOUND` and the driver's `ACTOR_EXECUTION_NOT_SUSPENDED` are the only answers\n * that mean \"nothing is waiting here\"; anything else means \"could not tell\" (#1581, tenth review R10-1).\n */\nfunction isAbsentParkRead(error: unknown): boolean {\n return (error as { customMessageReference?: unknown } | null)?.customMessageReference === ErrorCustomMessageReference.NOT_FOUND\n || isActorExecutionNotSuspendedError(error);\n}\n\n/**\n * How a parked run's resume went (#1581, seventh review). The two answerers act on it: only a resume\n * that RAN can have parked again, and a person whose answer resumed nothing is told why.\n */\nenum ParkedRunResumeOutcome {\n /** The driver admitted the resume and the continued turn ran, however it then ended. */\n RAN = 'ran',\n /** An operator's cancel was found before any turn — before the driver moved anything, or just after, when the question is handed back — and the chain withdraws the park. */\n CANCELLED = 'cancelled',\n /** The driver refused before moving anything — the run no longer waits on this decision, or another run holds its subject. The park is as it was. */\n REFUSED = 'refused',\n}\ntype ParkedRunResume =\n | { readonly outcome: ParkedRunResumeOutcome.RAN | ParkedRunResumeOutcome.CANCELLED }\n | { readonly outcome: ParkedRunResumeOutcome.REFUSED; readonly refusal: unknown };\n\n/**\n * The trace half of one coding run: the internal session its writes are attributed to, and the\n * errors tracing itself raised — which feed the run's disposition, because required evidence that\n * could not be recorded makes a working result a `TRACEABILITY_FAILED` one.\n *\n * Opened BEFORE the engine drives the run (#1359) because the session is also the scope every actor\n * plane write of that run carries, and the driver takes its scope when the run starts.\n */\ninterface CodingRunTrace {\n readonly runSession: CompanionExecutionSessionContext | undefined;\n readonly runStep: ReturnType<CompanionTraceabilityService['createStep']> | undefined;\n readonly traceabilityErrors: unknown[];\n readonly traceBestEffort: (operation: string, write: () => Promise<void>) => Promise<void>;\n}\n\n/**\n * How one coding run's executor ENDED, as the engine's execution driver is told to record it.\n *\n * Two ways, and neither is a throw. `parked`: the agent stopped to ask the operator, so the run\n * waits on its execution with the question and its resume inputs. `concluded`: the disposition\n * ladder classified the run — and a `FAILED` conclusion is a REPORTED outcome of a dispatch that\n * succeeded (the agent ran, files may have changed, verification said no), which is why it is a\n * classification with its full output rather than an exception that would lose it.\n *\n * `afterSettle` runs once the rows have moved: the success/failure trace names a result the durable\n * row already carries, never one it might still fail to.\n */\nenum CodingRunEnding {\n /** The agent stopped to ask the operator; the run waits on its execution and can be continued. */\n PARKED = 'parked',\n /** The disposition ladder classified the run — a working result or a reported failure, both terminal. */\n CONCLUDED = 'concluded',\n}\n\ntype CodingRunResult =\n | { readonly kind: CodingRunEnding.PARKED; readonly suspension: ActorExecutionSuspensionRequest; readonly output: unknown; readonly afterSettle: () => Promise<void> }\n | { readonly kind: CodingRunEnding.CONCLUDED; readonly conclusion: ActorExecutionConclusion; readonly output: unknown; readonly afterSettle: () => Promise<void> };\n\n/**\n * How many change-set file entries ride on the durable row's summary.\n *\n * A build task's change-set is a handful of files by construction — the task declares its mutation\n * scope — so this bounds the pathological case rather than the ordinary one. Chosen over \"all of\n * them\" because the row is read by a judge whose brief is assembled per run, and over \"none of them\"\n * because that is what made the judge answer INDETERMINATE about work it could not see.\n */\nconst CHANGE_SET_SUMMARY_FILE_LIMIT = 40;\n\n/**\n * Where this process says \"a coding agent is running\", app-root-relative. Beaten while ANY run is in\n * {@link CodingAgentDispatchCompanionService}'s active set — single-flight or concurrent, fresh or\n * resumed — and removed when none is.\n *\n * ## Why the lock is not enough\n *\n * The dev supervisor holds a restart while a coding run is in flight, because a restart kills the\n * agent with the companion (#1026). It used to know that from the workspace-mutation lock's heartbeat\n * alone. Since #1528 a CONCURRENT run holds no lock — it takes one only around its commit — so a\n * parallel build wave was invisible to the hold. Measured 2026-09-27 on Wonder Todos: a\n * `bottom_up.build-dispatch` ran five concurrent children, two of them edited the frontend, the\n * frontend's rebuild made the supervisor restart the companion onto it, and every child still running\n * was killed; the run ended \"the host running this execution stopped\" with no measurement.\n *\n * A COPY of `CODING_RUN_HEARTBEAT_RELATIVE_PATH` in\n * `scripts/dev-orchestrator/runtime-supervisor-lifecycle.mjs`, which cannot import this source; pinned\n * equal by `scripts/__tests__/runtime-supervisor-workspace-mutation-hold.test.mjs`.\n */\nconst CODING_RUN_HEARTBEAT_RELATIVE_PATH = '.wildo-saas/state/coding-run.heartbeat';\n\n/** How often that file's mtime is refreshed; the supervisor judges it stale at three times this (`AGENT_RUN_HEARTBEAT_STALE_MS`). */\nconst CODING_RUN_HEARTBEAT_INTERVAL_MS = 5_000;\n\n/** Local narrow: is this an indexable object (not null, not an array)? */\nfunction isRecordValue(value: unknown): value is Record<string, unknown> {\n return typeof value === 'object' && value !== null && !Array.isArray(value);\n}\n\n/**\n * What a settled application coding run ACTUALLY did, read back from its durable row.\n *\n * Admission and settlement are different instants, and the gap between them is the whole run. A\n * caller that reports the first as the second says a green thing about work that has not happened\n * — which is what `bottom_up.build-dispatch` did on its first playbook run: `finishedAt` equalled\n * the coding run's `startedAt` to the millisecond. So this is the shape a waiting caller reports\n * INSTEAD of its own admission.\n *\n * `succeeded` is the durable row's own verdict, never re-derived here: the disposition ladder that\n * produced it (agent failure → capture failure → verification failure → traceability failure →\n * working result) lives at the one site that can see all four, and a second opinion computed from\n * a subset would disagree with it eventually.\n */\n/**\n * A run a restart stopped while it was writing (#1805): a coding run or a generation step, as the startup\n * sweeps report it, for the one recovery over every such run.\n */\nexport interface InterruptedRun {\n /** The run's durable task id — where its baseline lives, and its write record's key. */\n readonly taskId: string;\n /**\n * TRUE when the run held only its own task, so siblings wrote in the same tree beside it (#1528). Its\n * capture then holds files that may be theirs, and nothing that survived the restart says which.\n */\n readonly sharedTree: boolean;\n}\n\nexport interface ApplicationCodingTaskSettledOutcome {\n readonly taskId: string;\n /** The build-plan task this run was dispatched for, when the row records one. */\n readonly taskRef: string | null;\n /** The durable actor-task status: COMPLETED, FAILED, ABORTED, CANCELLED — or AWAITING_APPROVAL for a parked run (#1359). */\n readonly status: string;\n readonly succeeded: boolean;\n readonly disposition: string | null;\n /**\n * The run PARKED asking the operator a question, so it is neither finished nor failed. Its row\n * WAITS (`AWAITING_APPROVAL`), and reporting that as a failure would tell an operator to\n * re-dispatch work that is one answer away from continuing. Read from the STATUS, not from the\n * question left on the output — a withdrawn park keeps its output and is waiting for nobody.\n */\n readonly awaitingAnswer: boolean;\n /** Named, not counted: a caller that must say WHY a run failed cannot do it from a number. */\n readonly failedVerificationRefs: readonly string[];\n /**\n * Every verification check the run gated on, pass or fail. The `dispatch-outcome-sound` treatment's\n * first criterion reads exactly this — \"every required verification check succeeded\" — and it cannot\n * be answered from the failures alone: a run that ran NO checks and a run that passed three are\n * indistinguishable once only the empty failure list survives.\n */\n readonly verification: ReadonlyArray<{ readonly checkRef: string; readonly success: boolean }>;\n /** The run's change-set as the host sealed it (shas, whether HEAD moved, stats), carried verbatim. */\n readonly changeSetSummary: Record<string, unknown> | null;\n /**\n * What the run changed OUTSIDE its declared scope, RECORDED rather than refused (2026-09-13). It may\n * include a parallel session's edits, which is why it is evidence for a reviewer and not a verdict.\n */\n readonly scopeAssessment: Record<string, unknown> | null;\n /**\n * Why the agent's turn ended. A turn that stopped on `max_tokens` or `refusal` leaves a partial change\n * set that looks exactly like a complete one from the diff alone.\n */\n readonly agentStopReason: string | null;\n}\n\n/** One live frame relayed to an SSE subscriber: an agent event or a ladder state change. */\nexport interface CodingSessionLiveFrame {\n readonly channel: 'event' | 'state';\n readonly payload: unknown;\n}\n\ninterface VerificationOutcome {\n kind: VerificationKind;\n path: string | null;\n success: boolean;\n message: string;\n stdoutTail: string;\n stderrTail: string;\n}\n\n/**\n * What changed inside the run window outside the sealed task scope — RECORDED for the reviewer, never\n * a reason to fail the run. See {@link assessApplicationCodingTaskMutationScope} for why.\n */\ninterface ApplicationCodingTaskScopeAssessment {\n /**\n * Changed-during-run paths (application-relative) that fall outside `allowedPathPrefixes` or inside\n * `prohibitedPathPrefixes`. This run's work OR a parallel session's — the change set cannot tell\n * which, so this is a list to read, not a verdict.\n *\n * Never a path ABOVE the application root (#1020). Such a path is keyed `../…` and lands in the\n * change set as `OUTSIDE_APPLICATION_ROOT` — visible and counted there — but a task scope is\n * application-relative by contract and could never have admitted it, so listing it here would only\n * ever name other sessions' edits elsewhere in the repository. Measured: 38 of 39 on one run.\n */\n outOfScopePaths: string[];\n /**\n * Every changed path the scope list above DELIBERATELY drops, each with the attribution class that\n * dropped it: committed inside the window, written by a concurrent companion lane, or above the\n * application root.\n *\n * The exclusions themselves are right and unchanged — a task scope is application-relative and could\n * never have admitted a `../…` path (#1020); a commit inside the window empties the dirty set every\n * other class is computed from; a concurrent lane's writes are not this run's to answer for. What was\n * missing is that a reader could not tell a deliberate exclusion from an omission.\n *\n * The evaluation treatment's judge found that twice in one hour on 2026-09-16, about a DIFFERENT\n * class each time — first `outside_application_root` (\"the evidence therefore does not account for\n * it\"), then `committed_during_run` (\"only labeled `committed_during_run`; it is not listed in\n * `outOfScopePaths` or otherwise accounted for\"). Reporting one class and excluding three is what\n * made the second finding inevitable, so this is total over the predicate rather than a list of the\n * classes anyone has complained about so far.\n */\n excludedFromScopeAssessment: Array<{ path: string; attribution: ChangeSetAttributionClass }>;\n /**\n * A commit landed inside the run window, so this window's attribution is\n * INCOMPLETE: a commit empties the dirty set every other class here is\n * computed from, and a parallel session's commit is indistinguishable from\n * the agent's own.\n *\n * RECORDED, NOT REFUSED — decided 2026-08-19, and the reasoning is the same\n * rule the plan applies to every other strictness in this vertical: exactness\n * is retained where a protected, accepted-state or real-effect consumer needs\n * it, and nowhere else. A coding run produces a WORKING result; it mutates no\n * accepted truth. Refusing the whole run here bought no protection of\n * anything accepted, while on a shared tree with parallel sessions ANY commit\n * overlapping ANY run — including one touching nothing the agent touched —\n * failed that run, with no worktree isolation to fall back on (ruled out for\n * this application) and no remedy a single session can enforce.\n *\n * What replaces the refusal is visibility that a consumer cannot miss: the\n * committed paths are recovered into the change set as\n * `COMMITTED_DURING_RUN`, and this flag rides on the recorded result. The\n * OBLIGATION moves with it — whatever later accepts this working result must\n * treat `historyMutated` as attribution it cannot rely on, and must not\n * promote it without review. That obligation belongs to whoever reviews and\n * commits the result: no code reads `historyMutated`.\n */\n historyMutated: boolean;\n}\n\n/**\n * Which changed-during-run paths fall outside the task's declared scope. RECORDED, NOT REFUSED.\n *\n * Decided by Paul, 2026-09-13, after measuring what the refusal cost. `build-task-company-config` made\n * its two in-scope edits, stopped at `end_turn`, and was recorded failed — against three\n * `marketing/website` files a parallel Claude Code session edited inside the run window. The capture\n * compares a snapshot at dispatch with one at the end, so a file that was clean at dispatch and dirty\n * at the end is `RUN_EXCLUSIVE` whoever wrote it. On a tree where several sessions work at once, that\n * made EVERY coding run fail the moment anyone touched anything else: the intended use — hand the\n * Wildo lane a change and keep editing elsewhere meanwhile — could not work at all.\n *\n * The same reasoning was already applied twice and is now applied everywhere: a commit landing\n * mid-run (2026-08-19) and a concurrent research lane (2026-09-09) were each excluded because they\n * cannot be attributed. A parallel session's uncommitted edit is the same fact, and it cannot be\n * listed by root, so the refusal itself is what goes. This is also the application-creation\n * directive: mutation is free, git makes every change visible and reversible, and acceptance is the\n * commit — a restriction arrives later as a judge reading this list, never as a refusal in the lane.\n *\n * What stays enforced is the agent's OWN act: an edit whose permission request declares a location\n * outside the scope is still denied in flight by the runner. What this list adds is visibility for\n * what that guard cannot see — shell commands, which declare no location, and other people's edits.\n * One limit on that: for an application nested inside its repository, a NEW untracked file created\n * OUTSIDE the application is not listed, because `ls-files --others` run from the application root sees\n * only untracked files beneath it. A shell write escaping the application is visible here when it\n * modifies a tracked file, not when it creates one. Verification runs regardless.\n */\nfunction assessApplicationCodingTaskMutationScope(\n changeSet: GitChangeSetCapture,\n allowedPrefixes: readonly string[],\n prohibitedPrefixes: readonly string[],\n): ApplicationCodingTaskScopeAssessment {\n const normalizedAllowed = allowedPrefixes.map(normalizeApplicationRelativePrefix);\n const normalizedProhibited = prohibitedPrefixes.map(normalizeApplicationRelativePrefix);\n /*\n * Committed paths are deliberately EXCLUDED from the scope decision. They are\n * present in `changeSet.files` (as `COMMITTED_DURING_RUN`) so nothing is\n * invisible, but nobody can attribute them: a parallel session's commit and\n * the agent's own look identical from here, so listing them would record\n * other people's work as this run's. `historyMutated` carries that fact forward\n * instead, for whoever reviews the result.\n */\n /*\n * A disappearance is only listed when the run can be held responsible for it, and a commit\n * landing inside the window is precisely when it cannot.\n *\n * `disappearedFromBaseline` is \"dirty at baseline, no longer dirty post-run\", which has two\n * causes that look identical from here: the agent reverted or deleted the file (attributable,\n * and a real boundary breach if the path is out of scope), or a commit emptied the dirty set\n * (not attributable — a parallel session's commit and the agent's own are indistinguishable,\n * which is the exact reasoning the `COMMITTED_DURING_RUN` exclusion above already applies).\n *\n * Including them unconditionally made the two treatments contradict each other: the committed\n * PATHS were excluded as unattributable while the disappearance THAT SAME COMMIT CAUSED was\n * used to fail the run. Measured 2026-08-28 on wonder-crm — a run that stopped cleanly at\n * `end_turn`, honoured every permission decision and wrote NOTHING (`runExclusive: 0`,\n * `appearedDuringRun: 0`) was recorded `mutation_scope_violation` against 13 engine paths it\n * never touched, because a human committed at 17:47:56 and 17 baseline-dirty files left the\n * set. The field's own contract already said they \"are NOT attributed change-set entries\".\n *\n * So the exclusion is conditional, not blanket: with no commit in the window a disappearance\n * IS the run's doing and is still listed. Only the case the run cannot be responsible for is\n * dropped, and it stays visible — the paths remain on `disappearedFromBaseline`, and\n * `historyMutated` tells the reviewer the window is unattributable.\n */\n const disappearancesAttributableToTheRun = changeSet.headMovedDuringRun\n ? []\n : changeSet.disappearedFromBaseline;\n\n /*\n * A CONCURRENT_HOST_LANE path is excluded for the same reason a committed one\n * is, and the exclusion is applied in the same place for the same reason: it\n * belongs to a companion lane that runs INSIDE this window and is not this\n * run's to write. The research dispatch takes no workspace-mutation lock by\n * design — it mutates nothing but its own evidence store — and that store is\n * committable and therefore fully visible here, so before this filter (2026-09-09,\n * while this check still refused) one `POST /api/companion/research` overlapping\n * a coding run failed the coding run as `MUTATION_SCOPE_VIOLATION` against files\n * it never touched. Today nothing refuses; the filter keeps another lane's\n * writes off the out-of-scope list the reviewer reads, so that list names only\n * paths that could be this run's.\n *\n * Both halves are filtered, and the second is easy to miss: an entry carries\n * an attribution class, while a DISAPPEARANCE is a bare path — so the\n * disappearance of an evidence file a research round rewrote or deleted would\n * otherwise be listed. One predicate answers both (its own contract says why it\n * is exported).\n */\n /*\n * And a path ABOVE THE APPLICATION ROOT is excluded on the same terms (#1020): the scope this list\n * is compared against is application-relative, so `../engine/…` can never be admitted by it, and on a\n * monorepo checkout such a path is another session's edit — 38 of the 39 paths one run was recorded\n * against. The entry stays in the change set as `OUTSIDE_APPLICATION_ROOT` and is counted; the bare\n * disappearance is filtered by the same predicate, for the reason given above.\n */\n /*\n * THE exclusion predicate, named once and read twice: by the scope list that drops these entries and\n * by the record that names them. Deriving both from one function is the point — the previous shape\n * excluded three classes and reported one, which is how the judge came to read an unexplained gap\n * twice in an hour, about a different class each time.\n */\n const isExcludedFromScopeAssessment = isAttributedToAnotherWriter;\n const outOfScopePaths = [\n ...changeSet.files\n .filter((entry) => !isExcludedFromScopeAssessment(entry.attribution))\n .map((entry) => entry.path),\n ...disappearancesAttributableToTheRun.filter((path) => !isConcurrentHostLanePath(path) && !isOutsideApplicationRootPath(path)),\n ]\n .filter((path) => {\n const normalizedPath = normalizeApplicationRelativePrefix(path);\n const inAllowedScope = normalizedAllowed.some((prefix) => matchesApplicationRelativePrefix(normalizedPath, prefix));\n const inProhibitedScope = normalizedProhibited.some((prefix) => matchesApplicationRelativePrefix(normalizedPath, prefix));\n return !inAllowedScope || inProhibitedScope;\n });\n /*\n * Everything the scope list deliberately drops, named WITH THE CLASS that dropped it, so the record\n * reconciles itself instead of leaving a reader to infer an omission. Derived from the predicate\n * above, so a class added to the exclusion tomorrow is reported here the same day.\n */\n const excludedFromScopeAssessment = changeSet.files\n .filter((entry) => isExcludedFromScopeAssessment(entry.attribution))\n .map((entry) => ({ path: entry.path, attribution: entry.attribution }));\n return {\n // No field here gates the run: all are recorded for whoever reviews and commits this result.\n outOfScopePaths,\n excludedFromScopeAssessment,\n historyMutated: changeSet.headMovedDuringRun,\n };\n}\n\n/**\n * The LIVE counterpart of {@link assessApplicationCodingTaskMutationScope}:\n * decides, while the agent is still running, whether one absolute path is\n * inside the task's declared mutation scope.\n *\n * Deliberately reuses the SAME normalisation and boundary matching as the\n * post-hoc assessment. Two predicates answering \"is this path in scope?\" with\n * different rules would make the record contradict the guard — a path the live\n * guard permitted listed as out of scope afterwards, or a refused one missing\n * from that list's reasoning. (The post-hoc assessment only records since\n * 2026-09-13; the agreement still matters, because the reviewer reads both.)\n *\n * It NARROWS and never widens: the permission ceiling still decides the KIND of\n * operation, and this only refuses a path that ceiling would otherwise allow.\n * A path outside the workspace is refused outright rather than reasoned about.\n */\n/*\n * The option refs and the field ref moved to `@wildo-ai/platform-core-shared` on 2026-09-19, beside\n * the `workbenchParkedCodingQuestions` row that carries them to a browser. They are re-exported here\n * under their old names so this file's callers are unchanged, and there is ONE declaration.\n */\nexport { Workbench_ParkedCodingQuestionOptionRef as ParkedCodingQuestionOptionRef } from '@wildo-ai/platform-core-shared';\nexport { WORKBENCH_PARKED_CODING_QUESTION_FIELD_REF as PARKED_CODING_QUESTION_FIELD_REF } from '@wildo-ai/platform-core-shared';\n\n/**\n * Exported for tests that build the service without its constructor (field initializers do not run\n * under `Object.create`), so they read the PRODUCTION classification rather than a copy of it.\n */\nexport const CODING_RUN_OPTIONS: ActorExecutionRunOptions<CodingRunResult> = {\n suspendOn: (result) => (result.kind === CodingRunEnding.PARKED ? result.suspension : null),\n concludeAs: (result) => (result.kind === CodingRunEnding.CONCLUDED ? result.conclusion : null),\n};\n\n/**\n * Project a parked coding run as a decision a person can be shown.\n *\n * ONE free-text field, because that is what ACP gives us: `CodingAgent_SessionSuspension` carries the\n * agent's end-of-turn message and nothing structured. The payload's field set is general enough to\n * carry that as its degenerate case, which is the point of modelling a question as a field set rather\n * than as \"the question\".\n *\n * `resumable: false` is surfaced in the description rather than hidden: the question is still real,\n * but answering starts a NEW session that must restate the task context — a degradation the person\n * deciding should see, not one the caller should smooth over.\n */\nfunction projectParkedCodingQuestionAsDecision(parked: {\n /** The TASK id — the lane's handle everywhere (the answer door, the live stream, the board row). */\n readonly taskId: string;\n readonly taskRef: string;\n readonly suspension: { readonly question: string; readonly resumable: boolean };\n readonly parkedAt: string;\n}): HumanDecision_Request {\n return {\n decisionId: parked.taskId,\n title: parked.taskRef,\n description: parked.suspension.resumable\n ? 'The coding agent stopped to ask. Answering resumes the same session.'\n : 'The coding agent stopped to ask. This session cannot be re-entered, so answering starts a NEW one that must restate the task context.',\n fields: [{\n ref: WORKBENCH_PARKED_CODING_QUESTION_FIELD_REF,\n question: parked.suspension.question,\n kind: HumanDecision_FieldKind.FREE_TEXT,\n }],\n options: [\n { ref: Workbench_ParkedCodingQuestionOptionRef.ANSWER, label: 'Answer and continue', intent: HumanDecision_ResponseIntent.PROCEED_WITH_VALUES },\n { ref: Workbench_ParkedCodingQuestionOptionRef.CANCEL, label: 'Cancel this run', intent: HumanDecision_ResponseIntent.ABORT },\n ],\n requestedAt: parked.parkedAt,\n };\n}\n\nexport function buildApplicationCodingTaskLocationPredicate(\n workspaceRootPath: string,\n allowedPrefixes: readonly string[],\n prohibitedPrefixes: readonly string[],\n): (absolutePath: string) => boolean {\n const normalizedAllowed = allowedPrefixes.map(normalizeApplicationRelativePrefix);\n const normalizedProhibited = prohibitedPrefixes.map(normalizeApplicationRelativePrefix);\n\n /*\n * Compare against BOTH the configured root and its physical realpath.\n *\n * Agents report CANONICAL absolute paths. Measured live on 2026-08-27: with a\n * workspace under `/var/folders/...` (a macOS symlink to `/private/var/...`),\n * the agent's permission request named the `/private/...` form while the\n * configured root was the `/var/...` form, so an IN-SCOPE edit was refused and\n * the run reported the agent declining to do its job. A scope predicate that\n * silently denies everything is worse than one that denies nothing, because\n * it looks like the agent failing rather than the guard misfiring.\n */\n const candidateRoots = applicationRootSpellings(workspaceRootPath);\n\n return (absolutePath: string): boolean => {\n if (!isAbsolute(absolutePath)) {\n return false;\n }\n const relativePath = candidateRoots\n .map((root) => relative(root, absolutePath))\n .find((candidate) => candidate && !candidate.startsWith('..') && !isAbsolute(candidate));\n if (!relativePath) {\n return false;\n }\n const normalizedPath = normalizeApplicationRelativePrefix(relativePath.split(sep).join('/'));\n const inAllowedScope = normalizedAllowed.some((prefix) => matchesApplicationRelativePrefix(normalizedPath, prefix));\n const inProhibitedScope = normalizedProhibited.some((prefix) => matchesApplicationRelativePrefix(normalizedPath, prefix));\n return inAllowedScope && !inProhibitedScope;\n };\n}\n\n/**\n * The configured application root and, when it differs, its physical realpath — the two spellings an\n * agent's absolute path may use (see the predicate above). An unresolvable root is left as authored;\n * a relative check against it still refuses anything outside it.\n */\nfunction applicationRootSpellings(workspaceRootPath: string): string[] {\n const roots = [workspaceRootPath];\n try {\n const physicalRoot = realpathSync.native(workspaceRootPath);\n if (physicalRoot !== workspaceRootPath) roots.push(physicalRoot);\n } catch {\n // Left as authored.\n }\n return roots;\n}\n\nfunction normalizeApplicationRelativePrefix(value: string): string {\n return value.replace(/\\\\/g, '/').replace(/^\\.\\//, '').replace(/\\/+$/, '');\n}\n\n/** Prefix matches require a path boundary: `src/app` does not admit `src/application`. */\nfunction matchesApplicationRelativePrefix(path: string, prefix: string): boolean {\n return path === prefix || path.startsWith(`${prefix}/`);\n}\n\n/** How long one read of the coding agent's login serves the polled status route (#1637). */\nconst CODING_AGENT_LOGIN_CACHE_MS = 60_000;\n\n/**\n * What a generation step that SHARED the working tree with concurrent coding runs may claim as its own (#2240):\n * the captured paths under the directories only it writes. Its capture also holds its siblings' writes, so a\n * path outside those directories is not its to be named for, and the wave reconciliation commits it, writer\n * unknown.\n *\n * The directories are the dispatch plan's writable roots for the step, derived from its evidence paths (the\n * label unit trees, the brand module's directory, the published documentation index, the migrations\n * directory), never a second hand-kept list. A coding run that edited a file under one of them anyway would\n * have it committed under the step's name; that is the step's tree, and the coding policy keeps the generated\n * documentation prefix out of a coding run's scope for exactly that reason.\n */\nexport function claimGenerationStepOwnedPaths(capturedPaths: readonly string[], ownedPathPrefixes: readonly string[]): readonly string[] {\n /*\n * Directories only, written with a trailing `/`. A FILE an owned list names is NOT claimed: the\n * `engine-capabilities` step's `wildo.saas.config.ts` (#2497), and every file of the `display-name` step (#2505\n * review F2), have other writers (coding tasks write the configuration, website section tasks write the label packs),\n * so claiming one in a shared window would commit a concurrent run's half-written edits under this step's name. It is\n * left for the wave-end reconciliation, which commits it with its siblings. Which steps own directories and which own\n * files is `GENERATION_STEP_WRITE_SCOPE`. A file path read as a directory (`frontend/index.html/`) prefixes nothing,\n * and a root-level file is dropped outright, so neither is ever claimed.\n */\n const prefixes = ownedPathPrefixes\n .filter((prefix) => prefix.length > 0 && prefix !== '/' && (prefix.endsWith('/') || prefix.includes('/')))\n .map((prefix) => (prefix.endsWith('/') ? prefix : `${prefix}/`));\n return capturedPaths.filter((capturedPath) => prefixes.some((prefix) => capturedPath.startsWith(prefix)));\n}\n\n@injectable()\nexport class CodingAgentDispatchCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n\n /**\n * The CANCEL HANDLE of the coding session this process is driving — nothing more (#1361).\n *\n * Until 2026-09-20 this was also the single-flight flag (the \"fast 409\" in front of the lockfile),\n * and the status route's answer to \"is a run active\". Both now read the actor plane: a coding run\n * holds the engine's lease on the `worktree` subject, so the refusal and the badge are as true\n * after a restart, or from a second process, as inside the one driving the run. What cannot live\n * on a row is an `AbortController`, so that is what stays here.\n */\n private readonly activeRuns = new Map<string, ActiveRunState>();\n\n /**\n * The {@link CODING_RUN_HEARTBEAT_RELATIVE_PATH} beat, in step with {@link activeRuns}. Built on first\n * use, because harnesses build this service through `Object.create` and skip field initializers.\n */\n private codingRunHeartbeat: InFlightWorkHeartbeat | undefined;\n\n /**\n * How deeply each task's coding work is in flight — what the heartbeat reads, rather than\n * {@link activeRuns}'s size.\n *\n * `activeRuns` is keyed by task and RE-ENTERED: a run that parks on a question is resumed from inside\n * its own chain (#1559), and that resume swaps its own registration in under the same key and puts the\n * run's back afterwards (#1581). The heartbeat must not follow the set's size through that swap: a\n * resume with no run registered around it would be one entry that appears and disappears unsynced, and\n * a CONCURRENT run with no sibling would have the supervisor restart under it. So the heartbeat counts\n * depth: {@link registerActiveRun} adds one, {@link unregisterActiveRun} takes one, and the resume adds\n * and takes its own. The answer chain is held whole because it is registered whole (#1581). Built\n * lazily for the same `Object.create` reason as the beat itself.\n */\n private codingWorkDepth: Map<string, number> | undefined;\n\n private adjustCodingWorkDepth(taskId: string, delta: 1 | -1): void {\n this.codingWorkDepth ??= new Map();\n const next = (this.codingWorkDepth.get(taskId) ?? 0) + delta;\n if (next > 0) this.codingWorkDepth.set(taskId, next);\n else this.codingWorkDepth.delete(taskId);\n this.syncCodingRunHeartbeat();\n }\n\n private syncCodingRunHeartbeat(): void {\n // No application root, nowhere to beat — a harness, never a running companion. The beat describes\n // the run; it must never be able to fail it.\n const saasRoot = this.companionContext?.saasRoot;\n if (typeof saasRoot !== 'string') return;\n this.codingRunHeartbeat ??= new InFlightWorkHeartbeat(\n join(saasRoot, CODING_RUN_HEARTBEAT_RELATIVE_PATH),\n CODING_RUN_HEARTBEAT_INTERVAL_MS,\n (message, error) => this.logDebug(message, { error: describeCaughtError(error) }),\n );\n this.codingRunHeartbeat.sync((this.codingWorkDepth?.size ?? 0) > 0);\n }\n\n /**\n * Who cancelled a run, keyed by its ABORT CONTROLLER (#1751 review N2). A resumed turn swaps a new\n * registration in that SHARES the run's controller and restores the old one afterwards, so a field on\n * the registration was lost when a person cancelled during that turn; the controller is the one thing\n * both registrations hold. Not the abort REASON: consumers of the signal throw its reason, and the lane\n * classifies a cancelled turn by its AbortError.\n */\n private readonly cancellersByController = new WeakMap<AbortController, string>();\n\n /**\n * Every coding run's time in the tree, kept for the runs that overlap it (#1528): a concurrent run\n * records which runs shared the tree with it and which paths they both changed. Pruned to\n * {@link CODING_RUN_WINDOW_RETENTION_MS}; in-process, because the comparison is only ever made by\n * the process that drove both runs.\n */\n private codingRunWindows: CodingRunWindow[] = [];\n\n /**\n * The coding agent's account usage limit, while it lasts (#2388): set by the run that met it, released by\n * its reset or by a success whose run STARTED after the limit was met (an earlier sibling's success proves\n * nothing, #2388 review F4). The build wave reads it before it fills a slot\n * ({@link readCodingAgentUsageLimitHold}), so no turn is started into a window certain to refuse it.\n *\n * In-process on purpose, and that is also the operator's door: a hold is only ever a reason not to START\n * a turn, so losing it costs at most one turn, which meets the limit again, records it again and is\n * counted by nothing. Restarting the companion clears it — the way past a stated reset after switching\n * the agent's account, until a console verb exists for that. An explicitly dispatched single task\n * (`wildo build run <task>`) is never held: an operator who starts one is choosing to try, and its success —\n * a run started after the limit — releases the hold.\n */\n private codingAgentUsageLimitHold: (CodingAgentUsageLimit & { readonly taskRef: string; readonly runTaskId: string }) | undefined;\n\n /**\n * Who wants to know that a run's writes were committed by the loop (#1534).\n *\n * A commit LANDS a task, so every derived board that reads landing is stale the moment one is made.\n * The workbench's `accept` invalidates the creation-plane projection itself; the loop cannot,\n * because the projection already depends on THIS service and injecting it back would be a cycle.\n * So the dependency points the way it already does: the projection subscribes here.\n */\n private readonly runAcceptedListeners: Array<() => void> = [];\n\n public registerRunAcceptedListener(listener: () => void): void {\n this.runAcceptedListeners.push(listener);\n }\n\n /**\n * Who wants to know that a build task's RUN STATE changed (#1310) — every trigger is listed on\n * {@link announceRunStateChanged}: selected, started (fresh or resumed), settled, refused before\n * admission, re-armed, and a generation step opening and ending.\n *\n * Wider than {@link registerRunAcceptedListener} on purpose. Each moves the creation boards through\n * actor-plane state no file signature can see: a selected or started run is in flight to the\n * next-task selection, a settled one changes its dispatch row and can LAND a task declaring no\n * product (the RAN-not-PROVEN mark), a refusal leaves a counted failure, and a re-arm releases a task\n * the loop guard or attempt budget was holding — which is what un-stucks the eligibility board's\n * all-stuck gate. Same direction as the accepted-run seam, for the same reason: the projection\n * depends on this service, so it subscribes here.\n *\n * One timing is deliberate rather than exact: a run that PARKS inside a fresh chain is announced\n * when that chain ends, after the answering agent's turn, so for about one model call a cached\n * board may still count it as in flight. Announcing at the park would re-derive the boards and\n * then again at the chain's end, for a window that closes on its own.\n */\n private readonly runStateChangedListeners: Array<() => void> = [];\n\n public registerRunStateChangedListener(listener: () => void): void {\n this.runStateChangedListeners.push(listener);\n }\n\n /**\n * Who wants to know that a build task's coding run COMPLETED (#2593): the build task and the run, announced once per\n * run after its rows have moved and its writes were accepted under the posture. Separate from\n * {@link registerRunStateChangedListener}, which carries no identity because the boards only need to re-derive: a\n * listener here acts on ONE run (the build dispatch service reviews a website task's copy and records the review on\n * that run). Same direction as the other seams: the listener's service depends on this one.\n *\n * A listener must not hold the run up: it is called synchronously, inside the run's settle (a single-flight run still\n * holds the workspace lock there), so anything slow is started and left to finish on its own.\n */\n private readonly runCompletedListeners: Array<(completed: { readonly taskRef: string; readonly runTaskId: string }) => void> = [];\n\n public registerRunCompletedListener(listener: (completed: { readonly taskRef: string; readonly runTaskId: string }) => void): void {\n this.runCompletedListeners.push(listener);\n }\n\n private announceRunCompleted(completed: { readonly taskRef: string; readonly runTaskId: string }): void {\n for (const listener of this.runCompletedListeners) {\n try { listener(completed); } catch (error) { this.logDebug('A run-completed listener threw', { error: describeCaughtError(error) }); }\n }\n }\n\n /**\n * Every read-modify-write of a coding run's MEMORY goes through this one lane (#2593): a re-arm, an interference and\n * a copy review each append to the long-term store by writing the whole memory back, so two of them interleaved on\n * one run would drop the first one's entry. They used to be sequential by accident (the wave re-armed, then recorded\n * the interference); the copy review starts when a run completes, which is not ordered against either.\n */\n private runMemoryWrites: Promise<unknown> | undefined;\n\n /** Run `write` after every memory write already queued, whether those succeeded or not; `undefined` = none queued. */\n private serializeRunMemoryWrite<T>(write: () => Promise<T>): Promise<T> {\n const next = (this.runMemoryWrites ?? Promise.resolve()).then(write, write);\n this.runMemoryWrites = next.catch(() => undefined);\n return next;\n }\n\n /**\n * Tell the run-state-changed listeners, each isolated from the others.\n *\n * Called at every change to a build task's run state that no file shows:\n *\n * - **SELECTED** — {@link openSelectedApplicationCodingExecution} opened a PENDING execution, which\n * the next-task selection already counts as in flight, whichever door opened it;\n * - **STARTED** — a fresh run ADMITTED (after its active-run entry exists), and a resumed run once\n * the engine has moved its rows back to PROCESSING (inside `resumeParkedRunHoldingLock`'s\n * executor, the one moment its start is true);\n * - **SETTLED** — LAST in the `finally` of each TOP-LEVEL chain, a fresh run's background body and\n * `resumeBody`, after the parked-question answering, the active-run release and the settlement\n * resolve, so a board re-derived because of it reads the chain's final state. Never from inside\n * `resumeParkedRunHoldingLock`'s own `finally`, which is a step of a chain some caller settles.\n * Every ending reaches it, including the ones that returned early;\n * - **RE-ARMED** — {@link rearmBuildTask}, even when one of its updates threw.\n *\n * Public because a GENERATION STEP's execution and a coding dispatch refused before admission are\n * opened and settled by the build dispatch service, so that service announces those.\n */\n public announceRunStateChanged(): void {\n for (const listener of this.runStateChangedListeners) {\n try { listener(); } catch (error) { this.logDebug('A run-state-changed listener threw', { error: describeCaughtError(error) }); }\n }\n }\n /**\n * Per-process settlement signal of every application coding task THIS\n * process admitted: resolved when the background run has recorded its\n * terminal durable result (or given up trying). This is the \"owner's\n * completion hook\" the episode driver waits on instead of polling the\n * Actor Task row; a task admitted by a previous process has no entry here,\n * which is correct — restart reconciliation already terminalized it.\n */\n private readonly applicationCodingTaskSettlements = new Map<string, { readonly promise: Promise<void>; resolve(): void }>();\n\n /**\n * The driver's reading of what a coding run's executor returned — see {@link CodingRunResult}.\n * One object for a first run and a resumed one, so the two cannot be read by different ladders.\n */\n private readonly codingRunOptions: ActorExecutionRunOptions<CodingRunResult> = CODING_RUN_OPTIONS;\n\n /**\n * Live-frame subscribers keyed by task id. Fed by the coding session's own\n * event stream and the ladder's state transitions while a run is active;\n * drained by the SSE endpoint. Best-effort throughout — a slow or throwing\n * subscriber never touches the run it observes.\n */\n private readonly codingSessionSubscribers = new Map<string, Set<(frame: CodingSessionLiveFrame) => void>>();\n\n constructor(\n @inject(SAAS_SERVICE_TYPES.Logger)\n private readonly logger: LoggerService,\n @inject(SAAS_SERVICE_TYPES.ErrorBuilderService)\n private readonly errorBuilder: ErrorBuilderBackendService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext)\n private readonly companionContext: CompanionContext,\n @inject(SAAS_SERVICE_TYPES.AgentsBackendService)\n private readonly agentsService: AgentsBackendService,\n @inject(COMPANION_SERVICE_TYPES.GitChangeSetService)\n private readonly gitChangeSetService: GitChangeSetCompanionService,\n @inject(COMPANION_SERVICE_TYPES.ExecutionsService)\n private readonly executionsService: CompanionExecutionsCompanionService,\n @inject(COMPANION_SERVICE_TYPES.TraceabilityService)\n private readonly traceabilityService: CompanionTraceabilityService,\n @inject(COMPANION_SERVICE_TYPES.IntrospectionService)\n private readonly introspectionService: CompanionIntrospectionService,\n // The engine's execution driver (#1359): it opens, suspends, resumes and settles every coding run.\n @inject(SAAS_SERVICE_TYPES.ActorsSystemBackendService)\n private readonly actorsSystem: ActorsSystemBackendService,\n // Which paths each run changed, attributed and hashed — what the workbench's `accept` commits (#1454, Step 7).\n @inject(COMPANION_SERVICE_TYPES.CodingRunWriteRegisterService)\n private readonly codingRunWriteRegister: CodingRunWriteRegisterCompanionService,\n // The commit door the workbench's `accept` uses — called from here only under the posture (#1534).\n @inject(COMPANION_SERVICE_TYPES.AcceptedChangeCommitService)\n private readonly acceptedChangeCommit: AcceptedChangeCommitCompanionService,\n /*\n * Whether this process is shutting down (#1026): a run admitted after the supervisor decided to\n * restart would be killed with it. `@optional()` because an in-process host that never registers\n * shutdown has nothing to refuse on, and test harnesses built without it admit as before.\n */\n @inject(SAAS_SERVICE_TYPES.WorkerShutdownManagerService) @optional()\n private readonly shutdownManager?: WorkerShutdownManagerBackendService,\n ) {\n this.logDebug = this.logger.debugByType('CodingAgentDispatchCompanionService');\n this.logger.setDebugTypeLogging('CodingAgentDispatchCompanionService', true);\n }\n\n /**\n * Admit one application-authored coding task onto the normal Flows/Actors\n * Claude Code path — the ONLY coding entry since the raw dispatch endpoint\n * was deleted at the first-activation hard cut. This method accepts only the\n * sealed typed task produced by application composition. The returned\n * acknowledgement is intentionally non-terminal; a completed Actor Task\n * records a working code result and its evidence, never accepted\n * application truth.\n */\n public async runApplicationCodingTask(\n rawTask: MetaWorkflow_ApplicationCodingTaskContract,\n sessionContext?: CompanionExecutionSessionContext,\n /**\n * The execution a caller opened when it SELECTED this task\n * ({@link openSelectedApplicationCodingExecution}). Admission then STARTS that execution instead\n * of opening one, so the run has one pair of ids from selection to settlement. The caller owns it\n * until this method resolves: a rejection here means the run never started, and the caller\n * settles what it opened.\n */\n selected?: OpenedActorExecution,\n /** Where the run was started from (#1454, Step 7): stamped on the row, never read by the run. */\n origin?: CodingRunOrigin,\n /**\n * CONCURRENT only from the build loop's wave (#1528), which opened `selected` in the same mode.\n * Every other door is single-flight, and single-flight refuses while any concurrent run is live.\n */\n mode: CodingRunConcurrency = CodingRunConcurrency.SINGLE_FLIGHT,\n ): Promise<ApplicationCodingTaskRunAdmission> {\n /*\n * Both admission refusals below are TYPED.\n *\n * A malformed contract surfaced as a raw `ZodError` and an unregistered\n * check ref as a plain `Error`, so the two refusals a caller can actually\n * provoke reached the transport as unclassified failures and answered 500\n * INTERNAL — indistinguishable from the host being broken. They are\n * VALIDATION: the request is refused, nothing was locked, created or run.\n */\n const task = this.admitTypedInput(\n () => MetaWorkflow_ApplicationCodingTaskContractSchema.parse(rawTask),\n 'Application coding task contract is not valid.',\n { refusesTaskContract: true },\n );\n // Resolve before acquiring the lock or creating a task. A semantic check\n // name is not a command and cannot silently fall back to an arbitrary\n // workspace typecheck.\n const verificationPlans = this.admitTypedInput(\n () => resolveApplicationCodingTaskVerificationPlans(task.verificationIntent.requiredChecks),\n 'Application coding task names an unregistered verification check.',\n { refusesTaskContract: true },\n );\n const traceStep = this.createOperationTraceStep(sessionContext, 'application-coding-task-admission');\n const renderedPrompt = renderApplicationCodingTaskAgentPrompt(task);\n await this.traceOperationStart({\n sessionContext,\n step: traceStep,\n type: 'application-coding-task-admission-start',\n summary: `Admit application coding task ${task.taskRef}`,\n payload: this.buildApplicationCodingTaskTraceSummary(task),\n artifactFileName: 'application-coding-task-input.txt',\n artifactContent: renderedPrompt,\n });\n\n // The FAST 409, read from the rows (#1361): a run holding the worktree that is not the one this\n // call was handed. The authoritative take is the driver's, at open — this only answers early,\n // with the holder named, instead of making the caller wait on the file lock to be told the same.\n await this.refuseWhileWorktreeIsHeld(selected?.executionId ?? null, sessionContext);\n if (mode === CodingRunConcurrency.SINGLE_FLIGHT) await this.refuseWhileConcurrentRunsInFlight(sessionContext);\n\n const admission = createDeferred<{ opened: OpenedActorExecution; baseline: GitWorktreeSnapshot }>();\n const runBody = async () => {\n let admitted: { opened: OpenedActorExecution; baseline: GitWorktreeSnapshot };\n /*\n * Not while this process is going away (#1026). The supervisor's restart HOLD reads the\n * workspace lock, so it protects a run that already holds it — but a dispatch still waiting\n * (the compile-quiet wait before admission) holds none, the supervisor restarts, and the SIGTERM\n * grace lets this process admit it anyway: measured 2026-09-25, a run was admitted at 11:18:12,\n * five seconds after the supervisor's stop began, and was SIGKILLed with the companion. Checked\n * here, under the lock and before anything is opened, so the refusal leaves no row behind and is\n * a HOST refusal (it counts against no attempt budget, #1581).\n */\n if (this.shutdownManager?.isShutdownInProgress() === true) {\n admission.reject(this.buildDispatchConflictError(\n `Coding task ${task.taskRef} was not started: the companion is shutting down. Dispatch it again once it is back.`,\n ));\n return;\n }\n // Before the baseline, never inside the run: a playbook file left uncommitted here would be\n // dirty at this run's baseline, and this run's own accept would then refuse it (#1534). A\n // concurrent run holds no lock, so it takes one for this commit only.\n await (mode === CodingRunConcurrency.CONCURRENT\n ? this.underBriefWorktreeLock(() => this.acceptPendingPlaybookRunsBeforeBaseline())\n : this.acceptPendingPlaybookRunsBeforeBaseline());\n try {\n const baseline = await this.gitChangeSetService.captureWorktreeSnapshot();\n // The run IS an actor-system execution from here on (#1359): the engine opens the\n // execution and its task, and will settle both however the run ends.\n const opened = selected\n ? await this.startSelectedApplicationCodingExecution(selected, task, baseline, sessionContext, origin)\n : await this.openApplicationCodingExecution(task, baseline, sessionContext, origin, mode);\n this.registerActiveRun({\n taskId: opened.taskId,\n startedAt: new Date().toISOString(),\n abortController: new AbortController(),\n mode,\n });\n this.openCodingRunWindow(opened.taskId, task.taskRef);\n // Started: the run has left the next-task selection's ready set, and no file says so yet.\n this.announceRunStateChanged();\n admitted = { opened, baseline };\n // Registered BEFORE the admission is resolved, so a caller that\n // awaits the settlement right after admission can never miss it.\n const settlement = createDeferred<void>();\n this.applicationCodingTaskSettlements.set(opened.taskId, { promise: settlement.promise, resolve: () => settlement.resolve(undefined) });\n admission.resolve(admitted);\n } catch (error) {\n admission.reject(this.translateWorktreeBusy(error));\n return;\n }\n\n try {\n const trace = await this.openCodingRunTrace(admitted.opened.taskId, task.taskRef);\n await this.superviseCodingRun(task.taskRef, admitted.opened.taskId, trace, (capture) =>\n this.actorsSystem.completeActorExecution(\n admitted.opened,\n async (opened) => capture(await this.executeApplicationCodingTask(task, renderedPrompt, verificationPlans, opened, admitted.baseline, trace)),\n trace.runSession,\n this.codingRunOptions,\n ));\n // Before the settlement resolves and before the worktree is released: a question the run\n // parked on is offered to the answering agent while nothing else can take the worktree (#1559).\n await this.answerParkedQuestionsHoldingLock(admitted.opened.taskId, sessionContext);\n } finally {\n this.endCodingRunWindow(admitted.opened.taskId);\n // A run cancelled while its question was handled ends here rather than staying parked (#1581). Awaited\n // only when cancelled, so a chain that was not unregisters in the same synchronous step as its check.\n if (this.isRunCancelled(admitted.opened.taskId)) await this.withdrawCancelledRunChain(admitted.opened.taskId, sessionContext);\n this.unregisterActiveRun(admitted.opened.taskId);\n this.applicationCodingTaskSettlements.get(admitted.opened.taskId)?.resolve();\n this.announceRunStateChanged();\n }\n };\n /*\n * A SINGLE-FLIGHT run holds the workspace lock for its whole life, as it always has. A CONCURRENT\n * run holds none (#1528): the tree is shared by decision, and interference is detected and\n * repaired rather than prevented. It takes the lock only around a commit.\n */\n const backgroundRun = mode === CodingRunConcurrency.CONCURRENT\n ? runBody()\n : withDedicatedFileLock(this.getWorkspaceMutationLockPath(), runBody, { retries: { retries: 0 } });\n backgroundRun.catch((error: unknown) => {\n admission.reject(this.mapLockError(error));\n this.logDebug('Application coding-task background run chain terminated with error', {\n error: describeCaughtError(error),\n taskRef: task.taskRef,\n });\n });\n\n const admitted = await admission.promise;\n const response: ApplicationCodingTaskRunAdmission = {\n taskId: admitted.opened.taskId,\n status: FlowsActors_Status.PROCESSING,\n taskRef: task.taskRef,\n baselineHeadSha: admitted.baseline.headSha,\n baselineDirtyFileCount: Object.keys(admitted.baseline.files).length,\n };\n /*\n * The run has STARTED by now, so nothing after this point may reject: a caller reads a rejection\n * from this method as \"the run never started\" and settles its execution ABORTED (#1581, second\n * review A7). The trace is evidence ABOUT the admission, never a condition of it.\n */\n try {\n await this.traceOperationSuccess({\n sessionContext,\n step: traceStep,\n type: 'application-coding-task-admission-success',\n summary: `Admitted application coding task ${task.taskRef} as Actor Task ${admitted.opened.taskId} of execution ${admitted.opened.executionId}`,\n payload: response,\n artifactFileName: 'application-coding-task-admission.json',\n artifactContent: response,\n });\n } catch (traceError) {\n this.logDebug('The admission-success trace could not be written; the run is admitted regardless', {\n taskId: admitted.opened.taskId, error: describeCaughtError(traceError),\n });\n }\n return response;\n }\n\n /**\n * The settlement of one application coding task admitted by THIS process:\n * resolves once its terminal durable result has been recorded (success or\n * failure) — the only moment a waiting episode can read a non-PROCESSING\n * row. `null` for a task this process did not admit (a previous process's\n * row, already terminalized by restart reconciliation, or an unknown id):\n * there is nothing to wait for, and a caller must not spin on it.\n */\n public awaitApplicationCodingTaskSettlement(taskId: string): Promise<void> | null {\n return this.applicationCodingTaskSettlements.get(taskId)?.promise ?? null;\n }\n\n /**\n * Read one application coding task's OUTCOME from its durable row.\n *\n * Pairs with {@link awaitApplicationCodingTaskSettlement}: wait for the settlement, then ask this\n * what the run did. The two are deliberately separate — the settlement is an in-process fact (only\n * this process holds the deferred), while the outcome is durable and survives the restart that a\n * rebuild triggers, so a caller that lost the settlement can still answer the question.\n *\n * `null` for a row that is not an application coding task, or that cannot be read at all. An\n * unreadable row is not a failed run, and a caller must not report it as one.\n */\n public async readApplicationCodingTaskOutcome(\n taskId: string,\n sessionContext?: CompanionExecutionSessionContext,\n ): Promise<ApplicationCodingTaskSettledOutcome | null> {\n let row: { _id?: string; status?: unknown; actors?: { actorRef?: string }; input?: unknown; output?: unknown };\n try {\n row = await this.executionsService.getActorTask(taskId, sessionContext);\n } catch {\n return null;\n }\n // MEMBERSHIP, as everywhere else that classifies one of these rows: a second declared coding\n // agent must not make this silently answer \"not a coding run\".\n if (!isApplicationCodingAgentRef(row.actors?.actorRef)) return null;\n const output = isRecordValue(row.output) ? row.output : {};\n const verificationRows = (Array.isArray(output.verification) ? output.verification : [])\n .filter((entry): entry is Record<string, unknown> => isRecordValue(entry))\n .map((entry) => ({\n checkRef: typeof entry.checkRef === 'string' ? entry.checkRef : 'unknown',\n success: isRecordValue(entry.outcome) && entry.outcome.success === true,\n }));\n const failedVerificationRefs = verificationRows.filter((entry) => !entry.success).map((entry) => entry.checkRef);\n return {\n taskId: typeof row._id === 'string' ? row._id : taskId,\n taskRef: isRecordValue(row.input) && typeof row.input.taskRef === 'string' ? row.input.taskRef : null,\n status: typeof row.status === 'string' ? row.status : 'UNKNOWN',\n succeeded: output.succeeded === true,\n disposition: typeof output.disposition === 'string' ? output.disposition : null,\n // The STATUS says it, since #1359: a parked run waits as `AWAITING_APPROVAL`. The output still\n // carries the question while it waits, but a withdrawn park keeps that output and is not waiting.\n awaitingAnswer: row.status === FlowsActors_Status.AWAITING_APPROVAL,\n failedVerificationRefs,\n verification: verificationRows,\n changeSetSummary: isRecordValue(output.changeSetSummary) ? output.changeSetSummary : null,\n scopeAssessment: isRecordValue(output.scopeAssessment) ? output.scopeAssessment : null,\n agentStopReason: typeof output.agentStopReason === 'string' ? output.agentStopReason : null,\n };\n }\n\n /**\n * Settle what a previous process left behind: coding runs still `PROCESSING`, and parked\n * questions a restarted host can no longer show as answerable.\n *\n * A companion restart cannot prove the previous coding subprocess is still running. Retrying\n * could duplicate a worktree mutation, while reverting would destroy evidence. The safe result is\n * therefore a terminal abort plus an explicit human-review disposition carrying what the worktree\n * looked like when the restart found it.\n *\n * Since #1359 the engine's execution driver does the settling, exactly as it does for playbook\n * runs, and this method supplies the two things only the coding lane knows:\n *\n * 1. **What an ORPHAN's task should say** — the recovery evidence. The driver lists the\n * `PROCESSING` executions of `application-coding.system` and settles each `ABORTED`.\n * 2. **Which PARKS survive a restart: every one whose session can be re-entered.** A parked run\n * is `AWAITING_APPROVAL`, never `PROCESSING`, so the orphan sweep cannot touch it — the\n * exemption this method used to carry by hand (measured 2026-09-04: the sweep terminalized a\n * parked row three seconds before the operator's answer arrived) is a property of the status.\n * What is aborted here is only a park no host could answer on its session — a non-resumable one,\n * or one whose checkpoint cannot be read ({@link isParkedCodingRunAnswerable}). A park is NOT\n * aborted for its age: that reaped every question that waited longer than fifteen minutes (#1533).\n */\n public async reconcileInterruptedApplicationCodingTasks(\n sessionContext?: CompanionExecutionSessionContext,\n options?: {\n /**\n * Told each run that was interrupted WHILE RUNNING, the moment the sweep finds it (#1805). The sweep\n * settles those runs and never recovers their writes: the caller recovers every run the restart\n * interrupted in one pass ({@link recoverWritesOfInterruptedRuns}). Told as they are found rather\n * than only returned, because the sweep can still throw afterwards — listing or aborting the parked\n * runs — and a run already settled ABORTED is found by no later boot.\n */\n readonly onInterrupted?: (run: InterruptedRun) => void;\n },\n ): Promise<{ reconciledTaskIds: string[]; interruptedWhileRunning: readonly InterruptedRun[] }> {\n const reconciledTaskIds: string[] = [];\n const interruptedWhileRunning: InterruptedRun[] = [];\n\n await this.actorsSystem.reconcileOrphanedActorExecutions(APPLICATION_CODING_SYSTEM_REF, sessionContext, {\n describeOrphan: async (orphan) => {\n reconciledTaskIds.push(...orphan.tasks.map((task) => task._id));\n /*\n * A PENDING orphan was SELECTED and never admitted — usually a restart during the compile-quiet\n * wait. It touched nothing, so it has no writes to recover and nothing to review, and it was no\n * attempt: recorded like a refused dispatch, `{ failure }` and no disposition, so the build\n * board does not count it as a started run that \"requires review\" (#1581, second review A4).\n */\n if (orphan.status === FlowsActors_Status.PENDING) {\n return { failure: { message: 'Selected, and the companion stopped before the run was admitted; nothing ran.' } };\n }\n // A concurrent run held only its own task, so siblings wrote in the tree beside it (#1528).\n const sharedTree = isConcurrentRunSubject(orphan.exclusiveSubject);\n for (const task of orphan.tasks) {\n const run: InterruptedRun = { taskId: task._id, sharedTree };\n interruptedWhileRunning.push(run);\n options?.onInterrupted?.(run);\n }\n return this.describeInterruptedCodingRun();\n },\n });\n\n const waiting = await this.actorsSystem.listSuspendedActorExecutions(APPLICATION_CODING_SYSTEM_REF, sessionContext);\n for (const row of waiting) {\n const checkpoint = ApplicationCodingRunCheckpointSchema.safeParse(row.checkpoint?.context);\n if (checkpoint.success && isParkedCodingRunAnswerable(checkpoint.data)) continue;\n try {\n await this.actorsSystem.abortSuspendedActorExecution(row._id, await this.describeInterruptedCodingRun(), sessionContext);\n } catch (error) {\n /*\n * A lost swap (#1586): something else moved this run out of waiting between the listing and the\n * abort — it is settled already, so there is nothing left to reconcile. Refusing the rest of the\n * sweep for it would leave every later unanswerable park in place. Anything else still throws.\n */\n if (isActorExecutionNotSuspendedError(error)) continue;\n throw error;\n }\n reconciledTaskIds.push(...row.tasks.map((task) => task._id));\n }\n\n return { reconciledTaskIds, interruptedWhileRunning };\n }\n\n /**\n * Record what the runs a restart stopped had written, and accept it under the posture (#1805).\n *\n * ## Why this exists\n *\n * A run interrupted mid-task leaves its writes in the tree and is settled\n * INTERRUPTED_REQUIRES_REVIEW. Nothing recorded WHICH files it wrote — its baseline lived in memory\n * — so nobody could accept them, and its retry could not claim them either: to the retry they were\n * already dirty at its own baseline (`baseline_dirty_ambiguous`). Measured 2026-09-24 on\n * scratch-journey: an interrupted `build-task-user-menu-placement` left `app-shell.config.ts` dirty;\n * the retry found the work done and recorded no files; a sibling task's edit to the same file was\n * refused as ambiguous; and every shell surface that file carries stopped landing, including one\n * that had landed hours earlier. The build sat at 91/95 with its work done.\n *\n * ## What it does\n *\n * The run's task input now carries its baseline's dirty files, so the change set is the same\n * capture a finished run gets, against the same baseline, recorded in the same write register.\n * Then the ordinary posture decides: under notify-and-proceed it is committed with the\n * INTERRUPTED_RUN_RECOVERY origin (forced, because \"already dirty\" and \"edited since\" are exactly\n * what an interruption produces); under a posture that keeps acceptance with a person, the record\n * simply waits for the workbench's Accept, which could not act on an interrupted run before because\n * there was no record.\n *\n * ## Whose name the commit carries\n *\n * A run keeps its own commit only when it is the SOLE KNOWN WRITER of what it left: the only run the\n * restart stopped, not a concurrent run, no concurrent run recorded writes during its window, none of its\n * own files already dirty at its baseline, and no other recorded run may carry any of its uncommitted\n * paths. Any other case is one commit, writer unknown, over\n * what the interrupted runs and the concurrent runs recorded since the earliest of them began left\n * uncommitted, naming every recorded run that may carry each file, failed runs included\n * (`acceptSharedTreeRunsTogether`; the window picks the paths, never the names). That includes the\n * finished siblings whose end-of-wave reconciliation the restart skipped — their leftovers are part of\n * the same unattributable result, and committing them under their own names alone was the defect.\n *\n * A run started before its input carried `files` has no baseline to diff against and is left as\n * it was. BEST-EFFORT throughout: this runs on the boot path, and a boot path must not fail closed\n * on a repair (`continuity-drift-and-cas-basis.md`, Rule 3).\n */\n private async recoverInterruptedRunWrites(reported: readonly InterruptedRun[], sessionContext?: CompanionExecutionSessionContext): Promise<void> {\n const runs = await this.withRunsStillMarkedRunning(reported, sessionContext);\n const recovered: Array<InterruptedRun & { readonly startedAt: string }> = [];\n for (const run of runs) {\n try {\n /*\n * Already recovered on an earlier boot (#1805 review N4): a run whose abort did not persist is found\n * running again, and capturing it anew would overwrite the record that names its recovery commit.\n */\n if ((await this.codingRunWriteRegister.read(run.taskId))?.acceptedCommitSha !== undefined) continue;\n const row = await this.executionsService.getActorTask(run.taskId, sessionContext) as { input?: unknown };\n const input = isRecordValue(row.input) ? row.input : undefined;\n const baseline = input && isRecordValue(input.baseline) ? input.baseline : undefined;\n const taskRef = input && typeof input.taskRef === 'string' ? input.taskRef : undefined;\n if (!taskRef || !baseline || !isRecordValue(baseline.files)\n || typeof baseline.headSha !== 'string' || typeof baseline.capturedAt !== 'string') continue;\n const snapshot: GitWorktreeSnapshot = {\n headSha: baseline.headSha,\n capturedAt: baseline.capturedAt,\n files: baseline.files as GitWorktreeSnapshot['files'],\n };\n const changeSet = await this.gitChangeSetService.captureChangeSet(snapshot);\n if (changeSet.files.length === 0) continue;\n /*\n * A run that shared the tree is recorded CONCURRENT with no claims: nothing survived the restart\n * that says which of its captured files it wrote. So even the workbench's per-run Accept refuses\n * them unless forced — the refusal the recovery commit itself is forced past, and names.\n */\n await this.codingRunWriteRegister.record({ taskId: run.taskId, taskRef, changeSet, ...(run.sharedTree ? { claimedPaths: [] } : {}) });\n recovered.push({ ...run, startedAt: baseline.capturedAt });\n } catch (error) {\n this.logger.warn('Could not recover the writes of an interrupted coding run; it stays for review', {\n taskId: run.taskId, error: describeCaughtError(error),\n });\n }\n }\n if (recovered.length === 0) return;\n const recoveredIds = new Set(recovered.map((run) => run.taskId));\n const windowStartedAt = recovered.map((run) => run.startedAt).sort()[0]!;\n // Concurrent runs that recorded writes while the interrupted ones ran: the finishers of the same wave.\n const siblings = (await this.codingRunWriteRegister.list())\n .filter((record) => record.concurrent === true && !recoveredIds.has(record.taskId) && record.at >= windowStartedAt);\n /*\n * SOLE KNOWN WRITER only when nothing else may carry what it left: not concurrent, no concurrent run\n * recorded in its window, and — asked of every recorded run by the door's own test — no other run may\n * carry any of its uncommitted paths (#1805 review 5 F2: a leftover dirty at its baseline from a run\n * outside the window was committed under this run's name alone).\n *\n * Nor when a file of its OWN was already dirty at its baseline (#1805 review 6 O2): those earlier hunks\n * are a person's, a tool's or an earlier run's, and the run's own commit, \"accept the coding run\", would\n * present them as its writes. The joint commit carries them as what they are: writer unknown. A file the\n * capture attributes elsewhere (committed during the run, another lane's) is not this run's to judge\n * (review 7 I2).\n *\n * With that condition, `anotherRunMayCarry` decides nothing a live leftover can reach: a single-flight run\n * has no sibling in its window, so another record's uncommitted leftover was already dirty at its\n * baseline. It is kept deliberately (review 7 I1) as the same test the shared-tree door names runs by, so\n * recovery and the door cannot disagree if the baseline capture ever stops seeing a leftover.\n */\n const lone = recovered.length === 1 && !recovered[0]!.sharedTree && siblings.length === 0 ? recovered[0]! : undefined;\n const loneRecord = lone === undefined ? undefined : await this.codingRunWriteRegister.read(lone.taskId);\n const sole = lone !== undefined && loneRecord !== undefined\n && !loneRecord.files.some((file) => file.dirtyAtBaseline && !isAttributedToAnotherWriter(file.attribution))\n && !(await this.acceptedChangeCommit.anotherRunMayCarry(lone.taskId).catch(() => true)) ? lone : undefined;\n const results = sole\n ? await this.reconcileAcceptance([loneRecord!.taskRef], AcceptOrigin.INTERRUPTED_RUN_RECOVERY)\n : await this.reconcileAcceptanceTogether([...recoveredIds, ...siblings.map((record) => record.taskId)], AcceptOrigin.INTERRUPTED_RUN_RECOVERY);\n this.logger.warn('Recovered the writes of coding run(s) interrupted by a restart', { recoveredTaskIds: [...recoveredIds], results });\n }\n\n /**\n * The reported runs, plus any coding run STILL marked running (#1805 review N4). At this point in startup\n * nothing is running, so such a row is an orphan whose abort did not persist — or one the sweep never\n * reached because it threw first. Either way its writes are in the tree, and leaving it out would put\n * them into the recovery commit without its name. Concurrent by its subject, like the sweep decides.\n */\n private async withRunsStillMarkedRunning(reported: readonly InterruptedRun[], sessionContext?: CompanionExecutionSessionContext): Promise<readonly InterruptedRun[]> {\n const byTaskId = new Map(reported.map((run) => [run.taskId, run]));\n try {\n for (const live of await this.listInFlightCodingRuns(sessionContext)) {\n const execution = await this.executionsService.getActorExecution(live.executionId, sessionContext) as { standaloneTasks?: ReadonlyArray<{ _id?: unknown }> };\n for (const task of execution.standaloneTasks ?? []) {\n const taskId = String(task._id);\n if (!byTaskId.has(taskId)) byTaskId.set(taskId, { taskId, sharedTree: isConcurrentRunSubject(live.exclusiveSubject) });\n }\n }\n } catch (error) {\n this.logger.warn('Could not list the coding runs still marked running; recovering the reported ones', { error: describeCaughtError(error) });\n }\n return [...byTaskId.values()];\n }\n\n /**\n * Write a run's baseline onto its own task, for a run whose task was opened before the baseline\n * existed: a GENERATION STEP, whose window captures it after the execution is open. A coding run\n * carries it from its start ({@link buildApplicationCodingTaskInput}). Best-effort: the step runs\n * whether or not its recovery evidence could be written.\n */\n private async recordRunBaselineOnTask(taskId: string, baseline: GitWorktreeSnapshot, sessionContext?: CompanionExecutionSessionContext): Promise<void> {\n try {\n const row = await this.executionsService.getActorTask(taskId, sessionContext) as { input?: unknown };\n const input = isRecordValue(row.input) ? row.input : {};\n await this.executionsService.updateActorTask(taskId, {\n input: {\n ...input,\n baseline: { headSha: baseline.headSha, capturedAt: baseline.capturedAt, dirtyFileCount: Object.keys(baseline.files).length, files: baseline.files },\n },\n }, sessionContext);\n } catch (error) {\n this.logger.warn('Could not record a generation step\\'s baseline; an interruption would leave its writes for review', {\n taskId, error: describeCaughtError(error),\n });\n }\n }\n\n /**\n * The build system's startup sweep (#1359), with the same recovery the coding sweep has. A\n * generation step interrupted mid-pass leaves the files it had written, and its re-dispatch SKIPS\n * them as fresh, so they never enter any later change set. Measured 2026-09-24: an interrupted\n * `i18n-labels` pass left ten label files uncommitted that no later run would ever commit.\n */\n public async reconcileInterruptedBuildGenerationSteps(\n buildSystemRef: string,\n sessionContext?: CompanionExecutionSessionContext,\n /** As on the coding sweep: told each interrupted step as it is found; the caller recovers the writes. */\n options?: { readonly onInterrupted?: (run: InterruptedRun) => void },\n ): Promise<{ aborted: readonly string[]; interrupted: readonly InterruptedRun[] }> {\n const interrupted: InterruptedRun[] = [];\n const { aborted } = await this.actorsSystem.reconcileOrphanedActorExecutions(buildSystemRef, sessionContext, {\n describeOrphan: async (orphan) => {\n /*\n * Not concurrent by its own subject. Whether it ran beside concurrent coding runs is decided at\n * recovery from the evidence: another run the same restart stopped, or a concurrent run that\n * recorded writes during the step's window (a wave runs a step inline while its runs write).\n */\n for (const task of orphan.tasks) {\n const run: InterruptedRun = { taskId: task._id, sharedTree: false };\n interrupted.push(run);\n options?.onInterrupted?.(run);\n }\n return { failure: { message: 'The host running this generation step stopped before it concluded.' } };\n },\n });\n return { aborted, interrupted };\n }\n\n /**\n * Recover the writes of EVERY run one restart interrupted, coding runs and generation steps alike,\n * in one pass (#1805). A build wave runs a generation step beside its coding runs, so runs of both\n * kinds share the tree; recovered by two separate sweeps, the first would commit the other kind's\n * files under its own run's name. The sweeps only settle and report; startup collects what both\n * report and calls this once with the union.\n */\n public async recoverWritesOfInterruptedRuns(runs: readonly InterruptedRun[], sessionContext?: CompanionExecutionSessionContext): Promise<void> {\n const byTaskId = new Map<string, InterruptedRun>();\n for (const run of runs) byTaskId.set(run.taskId, { taskId: run.taskId, sharedTree: run.sharedTree || byTaskId.get(run.taskId)?.sharedTree === true });\n await this.recoverInterruptedRunWrites([...byTaskId.values()], sessionContext);\n }\n\n /**\n * What a reviewer needs to see on a coding run the host stopped under: where HEAD is and how\n * dirty the tree is NOW. A capture that fails is recorded as such — an interrupted run with no\n * evidence is still an interrupted run, and must not stay `PROCESSING` because git was unavailable.\n */\n private async describeInterruptedCodingRun(): Promise<Record<string, unknown>> {\n let currentSnapshot: GitWorktreeSnapshot | null = null;\n let captureError: unknown = null;\n try {\n currentSnapshot = await this.gitChangeSetService.captureWorktreeSnapshot();\n } catch (error) {\n captureError = error;\n }\n return {\n succeeded: false,\n disposition: ApplicationCodingTaskDisposition.INTERRUPTED_REQUIRES_REVIEW,\n recoveryEvidence: currentSnapshot\n ? {\n headSha: currentSnapshot.headSha,\n dirtyFileCount: Object.keys(currentSnapshot.files).length,\n capturedAt: currentSnapshot.capturedAt,\n }\n : null,\n ...(captureError ? { recoveryCaptureError: buildOutputErrorPayload(captureError) } : {}),\n };\n }\n\n /**\n * Readiness snapshot for the status route. HONESTY CONTRACT: the\n * underlying `isAvailable()` checks ONLY that the provider registry\n * exposes an AGENT_CLIENT_PROTOCOL contract for anthropic — it does NOT\n * guarantee the ACP adapter is installed, spawnable, or authenticated. A\n * `true` here can still be followed by a spawn/auth failure at run time.\n */\n /**\n * The cross-process workspace-mutation lock path (P-19b) — one lock for\n * every mutating coding run against this application worktree.\n */\n public getWorkspaceMutationLockPath(): string {\n return resolveWorkspaceMutationLockPath(this.companionContext.saasRoot);\n }\n\n /**\n * Cancel the in-flight coding run, if there is one.\n *\n * Cooperative by construction: this signals the session, and the runner sends\n * `session/cancel` and waits before killing anything. The run therefore\n * TERMINALISES NORMALLY — with stop reason `cancelled` and a captured change\n * set — rather than vanishing. That distinction is the whole point: an\n * operator who stops a run still needs to know what it had already written.\n *\n * Returns the task that was asked to stop, or `null` when nothing is running.\n * Idempotent: cancelling an already-cancelled run signals an aborted\n * controller again, which is a no-op.\n */\n public cancelActiveApplicationCodingTask(): { taskId: string; startedAt: string } | null {\n // Every run this process drives: a wave is cancelled as one (#1528). The first is named, as before.\n // An entry whose park is being WITHDRAWN runs nothing: it was cancelled already (#1581).\n const active = [...this.activeRuns.values()].filter((run) => run.withdrawal === undefined);\n if (active.length === 0) {\n return null;\n }\n for (const run of active) {\n this.logDebug('Cancelling active application coding task', { taskId: run.taskId });\n run.abortController.abort();\n }\n return { taskId: active[0]!.taskId, startedAt: active[0]!.startedAt };\n }\n\n /**\n * Cancel ONE coding run, named by its task id — the parked-question row's own verb (#1581, seventh\n * review F2). {@link cancelActiveApplicationCodingTask} ends everything this process drives, so from\n * a parked row it did nothing when no chain held that run, and otherwise stopped OTHER runs while\n * leaving the row's own run parked.\n *\n * Three answers, and what each promises (#1581, seventh to eleventh reviews):\n *\n * - A run this process is still handling — a turn, or its question being offered to the answering\n * agent — is SIGNALLED, exactly as the process-wide cancel signals it: `cancelled: true` means the\n * signal was given, and its chain withdraws the park on its way out. That withdraw's outcome is\n * recorded on the entry, so a second cancel meanwhile AWAITS it and reports it; a cancel after the\n * chain has gone finds the park (if the withdraw failed) and withdraws it itself.\n * - A run no chain holds here is WAITING, and is withdrawn at once under a guard entry: `cancelled:\n * true` only once it is gone, else a 409 saying the question is still waiting or could not be read.\n * - `cancelled: false` when the task is neither — no chain, and no park after reading twice (a chain\n * ending during the first read may have left one).\n *\n * A park read that FAILS is never taken for \"nothing is waiting\": with a live chain the chain is still\n * signalled, since that needs no read; without one the answer is the UNCONFIRMED 409.\n */\n public async cancelApplicationCodingTask(\n taskId: string,\n sessionContext?: CompanionExecutionSessionContext,\n /** The signed-in person cancelling (#1751), when the door has one: the withdrawal records them as the decider. */\n options?: { readonly actingUserId?: string },\n ): Promise<{ cancelled: true; taskId: string; startedAt?: string } | { cancelled: false }> {\n // Read FIRST, then look for a chain: one that began meanwhile (a person's answer) owns the run by now.\n // A failed read stops nothing here: a live chain is signalled without one (#1581, eleventh review R11-1).\n const readPark = () => this.readParkedCodingRun(taskId, sessionContext, { strict: true })\n .then((parked) => ({ parked, failed: false as const }), (error: unknown) => {\n this.logger.warn('A per-run cancel could not read the coding run\\'s park', { taskId, error: describeCaughtError(error) });\n return { parked: null, failed: true as const };\n });\n let read = await readPark();\n let live = this.activeRuns.get(taskId);\n if (!live && !read.parked && !read.failed) {\n // A chain that ended during the read may have left the run parked: read once more (#1581, tenth review R10-7).\n read = await readPark();\n live = this.activeRuns.get(taskId);\n }\n const { parked } = read;\n if (live) {\n // Already cancelled, its park being withdrawn: answer with THAT withdraw's outcome, never a second one (R9-4, R10-4).\n if (live.withdrawal) return this.reportCancelledPark(taskId, await live.withdrawal, live.startedAt);\n // Signal the chain; it ends the run on its way out, naming the canceller when there is one.\n this.logDebug('Cancelling one application coding task', { taskId });\n if (options?.actingUserId && !this.cancellersByController.has(live.abortController)) {\n this.cancellersByController.set(live.abortController, options.actingUserId);\n }\n live.abortController.abort();\n return { cancelled: true, taskId, startedAt: live.startedAt };\n }\n if (read.failed) return this.reportCancelledPark(taskId, CancelledParkOutcome.UNCONFIRMED);\n if (!parked) return { cancelled: false };\n /*\n * No chain will end it, so this door does (#1581, eighth review R8-2). Guarded by a registration taken\n * in the same synchronous step as the check above: a person's answer arriving meanwhile is refused 409\n * by `refuseWhileRunChainIsLive` rather than racing the withdraw in the driver, which takes no lock\n * between reading a run as waiting and moving it; and a second cancel awaits this withdraw.\n */\n const guard: ActiveRunState = { taskId, startedAt: new Date().toISOString(), abortController: new AbortController(), mode: parked.mode, withdrawalGuard: true };\n guard.abortController.abort();\n this.activeRuns.set(taskId, guard);\n guard.withdrawal = this.endParkIfWaiting(taskId, sessionContext, options?.actingUserId);\n try {\n const outcome = await guard.withdrawal;\n if (outcome === CancelledParkOutcome.ENDED) this.announceRunStateChanged();\n return this.reportCancelledPark(taskId, outcome);\n } finally {\n if (this.activeRuns.get(taskId) === guard) this.activeRuns.delete(taskId);\n }\n }\n\n /** A cancel's answer from what became of the park: ended, or a 409 that says why it is not (#1581, tenth review). */\n private reportCancelledPark(taskId: string, outcome: CancelledParkOutcome, startedAt?: string): { cancelled: true; taskId: string; startedAt?: string } {\n if (outcome === CancelledParkOutcome.ENDED) return { cancelled: true, taskId, ...(startedAt !== undefined ? { startedAt } : {}) };\n throw this.buildDispatchConflictError(outcome === CancelledParkOutcome.STILL_WAITING\n ? `Coding task ${taskId} could not be cancelled: its question could not be withdrawn and is still waiting. Try again.`\n : `Coding task ${taskId} could not be confirmed cancelled: the run could not be read. Check it, and cancel it again if it is still waiting.`);\n }\n\n /**\n * The run holding the worktree right now, from the actor plane (#1361) — what the creation board's\n * coding-lane badge shows. It read this process's cancel handle until 2026-09-20, so a run driven\n * by another process, or selected and not yet admitted, showed as \"idle\". A status read does not\n * fail because the plane is unreachable: it then answers what this process is driving.\n */\n private async readActiveCodingRun(): Promise<{ taskId: string; startedAt: string } | null> {\n try {\n const holder = await this.actorsSystem.readExclusiveSubjectHolder(APPLICATION_CODING_SYSTEM_REF, APPLICATION_CODING_WORKTREE_SUBJECT);\n return holder ? { taskId: holder.tasks[0]?._id ?? holder._id, startedAt: holder.createdAt ?? new Date().toISOString() } : null;\n } catch {\n const active = [...this.activeRuns.values()].find((run) => run.withdrawal === undefined);\n return active ? { taskId: active.taskId, startedAt: active.startedAt } : null;\n }\n }\n\n /** The last login read, shared by every status poll inside {@link CODING_AGENT_LOGIN_CACHE_MS}. */\n private codingAgentLoginRead: { readonly at: number; readonly value: Promise<CompanionCodingAgentStatusResponse['codingAgentLogin']> } | null = null;\n\n /**\n * The selected agent's login on this host (#1637); `null` when the selection or its declaration is\n * unavailable.\n *\n * CACHED, because `getStatus` is polled — the creation board re-derives its watched boards every 15 s\n * and the status route is on the trace-exempt polling list — and the probe runs the agent's own status\n * command, which can take seconds. One read serves every poll inside the window, and concurrent polls\n * share the same in-flight read. Signing in shows up within the window, which is the cost.\n */\n private readSelectedCodingAgentLogin(): Promise<CompanionCodingAgentStatusResponse['codingAgentLogin']> {\n const now = Date.now();\n if (this.codingAgentLoginRead && now - this.codingAgentLoginRead.at < CODING_AGENT_LOGIN_CACHE_MS) return this.codingAgentLoginRead.value;\n const value = (async () => {\n try {\n return await this.agentsService.readCodingAgentHostLogin(resolveSelectedApplicationCodingAgentBinding().providerRef);\n } catch {\n return null;\n }\n })();\n this.codingAgentLoginRead = { at: now, value };\n return value;\n }\n\n public async getStatus(): Promise<CompanionCodingAgentStatusResponse> {\n return {\n // Reports a fact this service can actually establish: whether the coding\n // agent is registered. It deliberately does NOT claim the transport is\n // usable — that depends on the provider configuration and on an agent\n // process this service has not started, and a status field that overstates\n // its knowledge is worse than one that is narrow about it.\n // Every declared agent must resolve, not merely the default: a registry\n // missing the SELECTED agent reports healthy while dispatch refuses.\n codingAgentRegistered: APPLICATION_CODING_AGENT_REFS.every(\n (ref) => this.agentsService.getAgent(ref) !== undefined,\n ),\n codingAgentLogin: await this.readSelectedCodingAgentLogin(),\n activeRun: await this.readActiveCodingRun(),\n // The answerable set: what is parked waiting for an operator response.\n pendingQuestions: await this.listPendingCodingQuestions(),\n limits: {\n defaultTimeoutMs: DISPATCH_DEFAULT_TIMEOUT_MS,\n hardMaxTimeoutMs: DISPATCH_HARD_MAX_TIMEOUT_MS,\n defaultMaxCapturedBytes: DISPATCH_DEFAULT_MAX_CAPTURED_BYTES,\n hardMaxCapturedBytes: DISPATCH_HARD_MAX_CAPTURED_BYTES,\n },\n lockFilePath: this.getWorkspaceMutationLockPath(),\n };\n }\n\n /**\n * Persist only replayable task identity and guard evidence, never\n * prompt/context bytes, with ONE named exception: an assembly repair's row keeps\n * the failure tail it was handed (`assemblyRepair.comparedFailureTail`, #2283),\n * because the bound on repairs must compare a later failure with it and the\n * directive forbids keeping a digest instead. It is a check's output, at most the\n * captured tail, never the prompt.\n *\n * CORRELATION BACK TO THE EPISODE runs through `input.candidateRef`, which is\n * the assessment episode's working-subject identity for the iteration that\n * composed this task — the same value the private checkpoint carries as\n * `basis.episode.candidateRef`. It is recorded here deliberately so the join\n * exists in BOTH directions: the checkpoint names the taskId once the task is\n * admitted, and this row names the candidate that caused it, so an auditor\n * starting from a workspace mutation can reach the episode without scanning\n * every checkpoint.\n *\n * A dedicated `episodeRef` column is NOT added: no caller supplies one yet\n * (the coding revision owner lands later), and a field with no producer is a\n * dormant surface that later readers mistake for a guarantee. The candidate\n * ref is exact per ITERATION, which is the granularity an auditor wants.\n */\n private async openApplicationCodingExecution(\n task: MetaWorkflow_ApplicationCodingTaskContract,\n baseline: GitWorktreeSnapshot,\n sessionContext?: CompanionExecutionSessionContext,\n origin?: CodingRunOrigin,\n mode: CodingRunConcurrency = CodingRunConcurrency.SINGLE_FLIGHT,\n ): Promise<OpenedActorExecution> {\n /*\n * ONE EXECUTION PER CODING RUN (#1359), opened by the engine's driver.\n *\n * Until 2026-09-20 this created a bare task with no execution parent, so a coding run had no row\n * saying \"this is a run\" and nowhere to hold a pending question or its resume inputs. Per RUN\n * rather than per build phase, because a parked run releases the worktree lock and the\n * dispatcher moves on: several questions can stand while a sibling runs, and an execution has\n * one `suspension`.\n */\n return this.actorsSystem.openActorExecution(this.buildApplicationCodingExecutionRequest(task, baseline, sessionContext, origin, mode));\n }\n\n /**\n * Open a coding run's execution at the moment its task is SELECTED — `PENDING`, not started.\n *\n * A build dispatch selects a task and then waits: for the compile watchers to go quiet, then for\n * the worktree lock. That stretch can be minutes, and until #1359 it existed only in an in-memory\n * dispatch record — so a dispatch that failed inside it failed nowhere durable, and a companion\n * restart forgot it had been selected at all. The row says `PENDING` for exactly that stretch;\n * `runApplicationCodingTask` starts it at admission, and the caller settles it `ABORTED` if the run\n * never gets that far — the host declined to start it, which is no attempt of the task's (#1581) —\n * or `FAILED` when the task's own contract was refused as invalid.\n *\n * The input carries no baseline yet: a baseline is captured under the lock this run has not taken.\n */\n public async openSelectedApplicationCodingExecution(\n rawTask: MetaWorkflow_ApplicationCodingTaskContract,\n sessionContext?: CompanionExecutionSessionContext,\n origin?: CodingRunOrigin,\n mode: CodingRunConcurrency = CodingRunConcurrency.SINGLE_FLIGHT,\n ): Promise<OpenedActorExecution> {\n const task = this.admitTypedInput(\n () => MetaWorkflow_ApplicationCodingTaskContractSchema.parse(rawTask),\n 'Application coding task contract is not valid.',\n );\n await this.refuseWhileWorktreeIsHeld(null, sessionContext);\n if (mode === CodingRunConcurrency.SINGLE_FLIGHT) await this.refuseWhileConcurrentRunsInFlight(sessionContext);\n const opened = await this.actorsSystem\n .openActorExecution({ ...this.buildApplicationCodingExecutionRequest(task, null, sessionContext, origin, mode), deferred: true })\n .catch((error: unknown) => { throw this.translateWorktreeBusy(error); });\n // SELECTED: a PENDING execution is already in flight to the next-task selection (#1310), whichever\n // door opened it — the resource operation, `POST /build/dispatch-next`, the playbook build tier.\n this.announceRunStateChanged();\n return opened;\n }\n\n /**\n * Run `critical` holding the workspace lock BRIEFLY, waiting for it rather than refusing (#1528).\n *\n * For a concurrent run's commits: the tree is shared on purpose, but git's index admits one writer,\n * and a generation step or a CLI writer may hold the lock for its whole duration. Waiting up to about\n * ten minutes is right here, where the single-flight lane's fail-fast would drop a finished run's\n * commit; a commit that still cannot get the lock is left for the wave reconciliation.\n */\n private underBriefWorktreeLock<T>(critical: () => Promise<T>): Promise<T> {\n return withDedicatedFileLock(this.getWorkspaceMutationLockPath(), critical, {\n retries: { retries: 120, minTimeout: 500, maxTimeout: 5_000 },\n });\n }\n\n /** Whether a CONCURRENT coding run is live now (#1528): it writes in the tree without holding the workspace lock. */\n private async concurrentCodingRunsLive(sessionContext?: CompanionExecutionSessionContext): Promise<boolean> {\n if (this.concurrentRunLiveInProcess()) return true;\n // The actor plane also sees a run another process drives. Asked twice; if it cannot answer, this\n // process's own runs are the answer (#1805 review R5), never a blanket \"shared\" nothing would ever settle.\n for (let attempt = 0; attempt < 2; attempt += 1) {\n try {\n return (await this.listInFlightCodingRuns(sessionContext)).some((run) => isConcurrentRunSubject(run.exclusiveSubject));\n } catch (error) {\n if (attempt === 1) {\n this.logger.warn('Could not list the live coding runs; judging sharing by this process\\'s own runs', { error: describeCaughtError(error) });\n }\n }\n }\n return false;\n }\n\n /** Whether this process drives a CONCURRENT run now — one writing the tree without holding the workspace lock. */\n private concurrentRunLiveInProcess(exceptTaskIds: readonly string[] = []): boolean {\n return [...this.activeRuns.values()].some((run) => run.mode === CodingRunConcurrency.CONCURRENT && run.withdrawalGuard !== true && !exceptTaskIds.includes(run.taskId));\n }\n\n /**\n * When the current SHARING EPISODE began: the first instant, since the tree was last written by one run\n * at a time, that a concurrent run (or a step beside one) wrote it (#1805 review R5, R9). Process-local:\n * a restart ends every episode, and restart recovery covers what it interrupted.\n */\n private sharingEpisodeStartedAt: string | undefined;\n\n private markSharingEpisodeStarted(at: string): void {\n if (this.sharingEpisodeStartedAt === undefined || at < this.sharingEpisodeStartedAt) this.sharingEpisodeStartedAt = at;\n }\n\n /**\n * Register a run; a CONCURRENT one opens a sharing episode when none is open. One of the two doors that\n * keep the dev supervisor's view of \"a coding agent is running\" in step with this process's own\n * (see {@link CODING_RUN_HEARTBEAT_RELATIVE_PATH}).\n */\n private registerActiveRun(run: ActiveRunState): void {\n if (run.mode === CodingRunConcurrency.CONCURRENT) this.markSharingEpisodeStarted(new Date().toISOString());\n this.activeRuns.set(run.taskId, run);\n this.adjustCodingWorkDepth(run.taskId, 1);\n }\n\n /**\n * Unregister a run. When it was the last CONCURRENT run live, the sharing episode has ended and nothing\n * is writing beside anything: what the episode's runs left is committed together, as a wave's end does\n * (#1805 review R5). That is what commits a generation step, or a resumed parked run, that shared the tree\n * outside any wave — no wave's end would ever reach them.\n */\n private unregisterActiveRun(taskId: string): void {\n const was = this.activeRuns.get(taskId);\n this.activeRuns.delete(taskId);\n this.adjustCodingWorkDepth(taskId, -1);\n if (was?.mode !== CodingRunConcurrency.CONCURRENT || this.concurrentRunLiveInProcess()) return;\n const startedAt = this.sharingEpisodeStartedAt;\n this.sharingEpisodeStartedAt = undefined;\n if (startedAt === undefined) return;\n this.sharingEpisodeReconciliation = this.reconcileSharedTree({ startedAt, taskIds: [] }).then(\n // Deferred (a run began writing while this waited for the lock), or the door failed: the episode goes on,\n // from the same start, for the next reconciliation (#1805 review 5 F3).\n ({ deferred, failed }) => { if (deferred || failed) this.markSharingEpisodeStarted(startedAt); },\n (error: unknown) => {\n this.markSharingEpisodeStarted(startedAt);\n this.logger.warn('Could not commit what a sharing episode left; it is kept for the next reconciliation', { error: describeCaughtError(error) });\n },\n );\n }\n\n /** The reconciliation the last sharing episode's end started, for a caller that must see its commit. */\n public sharingEpisodeReconciliation: Promise<void> = Promise.resolve();\n\n /** The live coding runs — selected, admitted or running — from the actor plane; see {@link listInFlightCodingRuns}. */\n public async listInFlightCodingRuns(sessionContext?: CompanionExecutionSessionContext): Promise<InFlightCodingRun[]> {\n return listInFlightCodingRuns(this.executionsService, sessionContext);\n }\n\n /** The live run of one build task, or `null` — what the wave skips, so no task is built twice at once. */\n public async findInFlightRunForBuildTask(\n buildTaskRef: string,\n sessionContext?: CompanionExecutionSessionContext,\n ): Promise<{ readonly executionId: string } | null> {\n const live = (await this.listInFlightCodingRuns(sessionContext)).find((run) => run.taskRef === buildTaskRef);\n return live ? { executionId: live.executionId } : null;\n }\n\n /**\n * Refuse (409) a SINGLE-FLIGHT run while any concurrent run is live (#1528).\n *\n * Two reasons, and the second is why it is explicit rather than incidental. A single-flight run was\n * promised the tree to itself. And the single-flight door is the one an agent can reach from its own\n * shell: until concurrency, the global lock refused a running agent's dispatch as a SIDE EFFECT (the\n * P-35 recursion cap). A concurrent run does not hold that lock, so without this a recursing agent\n * would be admitted beside its own wave.\n */\n private async refuseWhileConcurrentRunsInFlight(sessionContext?: CompanionExecutionSessionContext): Promise<void> {\n const concurrent = (await this.listInFlightCodingRuns(sessionContext)).filter((run) => isConcurrentRunSubject(run.exclusiveSubject));\n if (concurrent.length === 0) return;\n throw this.buildDispatchConflictError(\n `${concurrent.length} coding run(s) of a parallel build wave are live (${concurrent.map((run) => run.taskRef ?? run.executionId).join(', ')}). `\n + 'A single run cannot start beside them; it runs after the wave, or as part of the next one.',\n );\n }\n\n /** Record that a run entered the tree, for the runs it will overlap (#1528). */\n private openCodingRunWindow(taskId: string, taskRef: string): void {\n const now = Date.now();\n this.codingRunWindows = this.codingRunWindows\n .filter((window) => window.taskId !== taskId && (window.endedAtMs === undefined || now - window.endedAtMs < CODING_RUN_WINDOW_RETENTION_MS));\n this.codingRunWindows.push({ taskId, taskRef, startedAtMs: now });\n }\n\n /** End a run's window if nothing closed it — a parked run, or one that ended without a result. Idempotent. */\n private endCodingRunWindow(taskId: string): void {\n const endedAtMs = Date.now();\n this.codingRunWindows = this.codingRunWindows.map((window) => window.taskId === taskId && window.endedAtMs === undefined\n ? { ...window, endedAtMs }\n : window);\n }\n\n /** Hold the lane for a usage limit; a later reset than the one held wins, so two siblings never shorten it. */\n private holdForCodingAgentUsageLimit(limit: CodingAgentUsageLimit, taskRef: string, runTaskId: string): void {\n const held = this.codingAgentUsageLimitHold;\n if (held && Date.parse(held.resumesAt) >= Date.parse(limit.resumesAt)) return;\n this.codingAgentUsageLimitHold = { ...limit, taskRef, runTaskId };\n this.logger.warn('The coding agent\\'s account hit its usage limit; the build wave dispatches nothing until it resumes', {\n taskRef, runTaskId, resumesAt: limit.resumesAt, resumesAtSource: limit.resumesAtSource, ...(limit.statedReset ? { statedReset: limit.statedReset } : {}),\n });\n }\n\n /**\n * Release the hold on a success that proves the window is over: a run started after the limit was met. An\n * earlier sibling succeeding later proves nothing — its turn may have ended before the limit — and releasing\n * on it would refill every slot into the limit (#2388 review F4).\n */\n private releaseCodingAgentUsageLimitHoldAfterSuccess(runStartedAtMs: number): void {\n const held = this.codingAgentUsageLimitHold;\n if (held && runStartedAtMs > Date.parse(held.observedAt)) this.codingAgentUsageLimitHold = undefined;\n }\n\n /**\n * The usage limit holding the build wave now (#2388), or undefined once it has ended. Read before each slot\n * is filled; a hold past its `resumesAt` is dropped here, so the reset itself releases it.\n */\n public readCodingAgentUsageLimitHold(now: number = Date.now()): (CodingAgentUsageLimit & { readonly taskRef: string; readonly runTaskId: string }) | undefined {\n const held = this.codingAgentUsageLimitHold;\n if (held && Date.parse(held.resumesAt) <= now) {\n this.codingAgentUsageLimitHold = undefined;\n return undefined;\n }\n return held;\n }\n\n /**\n * Close a run's window with the paths it changed, and say which runs shared the tree with it and\n * which of those paths they changed too (#1528). `null` when it overlapped nothing — a run alone in\n * the tree records nothing new.\n */\n private closeCodingRunWindow(taskId: string, changedPaths: readonly string[]): CodingRunConcurrencyRecord | null {\n const window = this.codingRunWindows.find((candidate) => candidate.taskId === taskId);\n if (!window) return null;\n const endedAtMs = Date.now();\n const record = describeRunConcurrency(this.codingRunWindows, { taskId, startedAtMs: window.startedAtMs, endedAtMs }, changedPaths);\n this.codingRunWindows = this.codingRunWindows.map((candidate) => candidate.taskId === taskId\n ? { ...candidate, endedAtMs, changedPaths: [...changedPaths] }\n : candidate);\n return record.overlappingTaskRefs.length > 0 ? record : null;\n }\n\n /**\n * REPAIR at the end of a wave (#1528, #1805): commit what the wave's runs left in the tree, now that\n * nothing is writing, as ONE change naming every run whose writes it may carry.\n *\n * Under concurrency each run's own accept commits only what it claimed, and refuses the rest, so the\n * tree ends holding the merged remainder. That remainder cannot be attributed: an agent writing through\n * a shell claims nothing, so a file one run's capture holds may be a sibling's — measured 2026-09-27, a\n * FAILED run's files committed under a finisher's name by the per-task reconciliation this replaces. So\n * it is committed together, writer unknown (`acceptSharedTreeRunsTogether`).\n *\n * Which runs: every run the wave dispatched (`taskIds`, failed runs included) and every concurrent run\n * that recorded writes since the wave began (`startedAt`) — which brings in a generation step the wave\n * ran inline while its coding runs wrote. Only under the posture that lets the system accept, and never\n * a path another lane produced.\n */\n public async reconcileWaveAcceptance(input: {\n readonly startedAt: string;\n readonly taskIds: readonly string[];\n }): Promise<Array<{ readonly taskId: string; readonly committedPaths: number; readonly error?: string }>> {\n return (await this.reconcileSharedTree(input)).results;\n }\n\n /**\n * {@link reconcileWaveAcceptance}, saying whether it DEFERRED — the sharing episode's end needs to know, so a\n * deferred or failed reconcile does not lose the episode it was asked for (#1805 review F5).\n *\n * Everything that decides what to commit is read INSIDE the workspace lock: whether a concurrent run\n * outside these runs is still writing (R9 — its partial files sit in these runs' captures), and which\n * concurrent runs recorded writes since `startedAt`. Read before the lock, a run admitted or recorded while\n * this one waited for the lock was invisible to it.\n */\n private async reconcileSharedTree(input: {\n readonly startedAt: string;\n readonly taskIds: readonly string[];\n readonly lock?: { readonly takeLock?: boolean };\n }): Promise<{\n readonly deferred: boolean;\n /** The door refused with an error (a git failure, `index.lock`): nothing was committed and the work remains. */\n readonly failed: boolean;\n readonly results: Array<{ readonly taskId: string; readonly committedPaths: number; readonly error?: string }>;\n }> {\n let deferred = false;\n const results = await this.reconcileAcceptanceTogether(async () => {\n if (this.concurrentRunLiveInProcess(input.taskIds)) {\n deferred = true;\n this.logDebug('Deferred a reconciliation: a concurrent run outside it is still writing', { taskIds: input.taskIds });\n return [];\n }\n const during = (await this.codingRunWriteRegister.list())\n .filter((record) => record.concurrent === true && record.at >= input.startedAt)\n .map((record) => record.taskId);\n return [...new Set([...input.taskIds, ...during])];\n }, AcceptOrigin.WAVE_RECONCILIATION, input.lock);\n return { deferred, failed: results.some((result) => result.error !== undefined), results };\n }\n\n /** Force-accept each task's latest registered run, under the posture, with the caller's origin. */\n private async reconcileAcceptance(\n taskRefs: readonly string[],\n origin: AcceptOrigin,\n ): Promise<Array<{ readonly taskRef: string; readonly committedPaths: number; readonly error?: string }>> {\n return this.underAcceptancePosture(async () => {\n const results: Array<{ taskRef: string; committedPaths: number; error?: string }> = [];\n for (const taskRef of taskRefs) {\n try {\n const outcome = await this.acceptedChangeCommit.acceptCodingRun({ taskRef, force: true, origin });\n // A pathspec already at HEAD is not a repair: count paths only when a commit was made.\n results.push({ taskRef, committedPaths: outcome.alreadyCommitted ? 0 : outcome.committedPaths.length });\n } catch (error) {\n // Nothing left to commit is the usual answer: the run's own accept already took everything.\n results.push({ taskRef, committedPaths: 0, ...(error instanceof NothingToAcceptError ? {} : { error: describeCaughtError(error) }) });\n }\n }\n return results;\n });\n }\n\n /**\n * {@link reconcileAcceptance} for runs whose writer is not known (#1805): one forced commit naming every\n * run that contributed a file. A run that contributed reports that commit's path count; one that did\n * not reports 0, so the log never reads as if every run committed something.\n */\n private async reconcileAcceptanceTogether(\n /** The runs, or how to find them INSIDE the lock (#1805 review F5). */\n runs: readonly string[] | (() => Promise<readonly string[]>),\n origin: AcceptOrigin.WAVE_RECONCILIATION | AcceptOrigin.INTERRUPTED_RUN_RECOVERY,\n /** `takeLock: false` when the caller already holds the workspace lock. */\n lock: { readonly takeLock?: boolean } = {},\n ): Promise<Array<{ readonly taskId: string; readonly committedPaths: number; readonly error?: string }>> {\n return this.underAcceptancePosture(async () => {\n const taskIds = typeof runs === 'function' ? await runs() : runs;\n if (taskIds.length === 0) return [];\n try {\n const outcome = await this.acceptedChangeCommit.acceptSharedTreeRunsTogether({\n taskIds,\n origin,\n /*\n * #2222: the wave's reconciliation carries files no run's own accept judged, so the checks covering them\n * run here and their verdict goes in the commit body. Not on a restart's recovery, which runs while the\n * companion boots: spawning compilers there would hold the boot under the worktree lock.\n */\n ...(origin === AcceptOrigin.WAVE_RECONCILIATION ? { describeChecksOver: (paths: readonly string[]) => this.describeChecksOverPaths(paths) } : {}),\n });\n this.warnOfFilesNoRunLeft(outcome.refusedPaths, taskIds);\n const contributed = new Set(outcome.taskIds);\n const committedPaths = outcome.alreadyCommitted ? 0 : outcome.committedPaths.length;\n return taskIds.map((taskId) => ({ taskId, committedPaths: contributed.has(taskId) ? committedPaths : 0 }));\n } catch (error) {\n if (error instanceof NothingToAcceptError) this.warnOfFilesNoRunLeft(error.refusedPaths ?? [], taskIds);\n const detail = error instanceof NothingToAcceptError ? {} : { error: describeCaughtError(error) };\n return taskIds.map((taskId) => ({ taskId, committedPaths: 0, ...detail }));\n }\n }, lock);\n }\n\n /**\n * The verdict of every check whose coverage reaches `paths` (#2222), one line per check, for a commit body. The\n * checks are derived from the paths exactly as a task's are (`deriveRequiredCheckRefs`), so a file is judged by\n * the same checks whichever door commits it. A check that could not RUN says so and is never read as a pass.\n */\n private async describeChecksOverPaths(paths: readonly string[]): Promise<readonly string[]> {\n const checkRefs = deriveRequiredCheckRefs(paths);\n if (checkRefs.length === 0) return [];\n try {\n const { verification, unrunCheckRefs } = await this.executeVerificationPlans(resolveApplicationCodingTaskVerificationPlans(checkRefs));\n const unrun = new Set(unrunCheckRefs);\n return verification.map(({ checkRef, outcome }) => {\n if (unrun.has(checkRef)) return `- ${checkRef}: could not run — ${outcome.message}`;\n if (outcome.success) return `- ${checkRef}: passed`;\n // tsc reports on stdout, so stdout first; stderr when a crash left nothing there.\n const first = [outcome.stdoutTail, outcome.stderrTail].map((tail) => tail.trim()).find((tail) => tail.length > 0)?.split('\\n')[0];\n return `- ${checkRef}: FAILED — ${first ?? outcome.message}`;\n });\n } catch (error) {\n return [`- the checks could not run: ${describeCaughtError(error)}`];\n }\n }\n\n /**\n * A file whose current state no run left — edited after every capture, by a person or a watcher — stays\n * uncommitted, which is right (#1805 review F6). But it stays dirty at every later run's baseline, and a\n * task declaring it never lands, so it is said at WARN, by name, where an operator reads.\n */\n private warnOfFilesNoRunLeft(refusedPaths: ReadonlyArray<{ readonly path: string; readonly reason: AcceptRefusalReason }>, taskIds: readonly string[]): void {\n const nobodys = refusedPaths.filter((entry) => entry.reason === AcceptRefusalReason.EDITED_SINCE_THE_RUN);\n if (nobodys.length === 0) return;\n this.logger.warn('Files changed after every run that shared the tree recorded them stay uncommitted: commit or revert them by hand', {\n paths: nobodys.map((entry) => entry.path), taskIds,\n });\n }\n\n /**\n * What every automatic acceptance shares: nothing under a posture that keeps acceptance with a person,\n * the worktree lock while committing, and the run-accepted listeners told once something was committed.\n */\n private async underAcceptancePosture<R extends { readonly committedPaths: number }>(\n accept: () => Promise<R[]>,\n /** FALSE when the caller already holds the workspace lock, as a single-flight run's own accept does. */\n options: { readonly takeLock?: boolean } = {},\n ): Promise<R[]> {\n if (laneBoundaryTreatmentFor(APPLICATION_CREATION_AUTONOMY_POSTURE, PlaybookLaneBoundaryDecision.APPROVE_RESULT) !== LaneBoundaryTreatment.NOTIFY_AND_PROCEED) return [];\n let results: R[] = [];\n if (options.takeLock === false) results = await accept();\n else await this.underBriefWorktreeLock(async () => { results = await accept(); });\n if (results.some((result) => result.committedPaths > 0)) {\n for (const listener of this.runAcceptedListeners) {\n try { listener(); } catch (error) { this.logDebug('A run-accepted listener threw', { error: describeCaughtError(error) }); }\n }\n }\n return results;\n }\n\n /**\n * Refuse (409) while another coding run holds the worktree, NAMING it — the holder is read from the\n * actor plane, so the message is true after a restart and from a second process. `exceptExecutionId`\n * is the execution the caller itself opened at selection, which holds the subject legitimately.\n */\n private async refuseWhileWorktreeIsHeld(exceptExecutionId: string | null, sessionContext?: CompanionExecutionSessionContext): Promise<void> {\n const holder = await this.actorsSystem.readExclusiveSubjectHolder(APPLICATION_CODING_SYSTEM_REF, APPLICATION_CODING_WORKTREE_SUBJECT, sessionContext);\n if (!holder || holder._id === exceptExecutionId) return;\n throw this.buildDispatchConflictError(\n `A coding-agent run is already active (task ${holder.tasks[0]?._id ?? 'unknown'}, execution ${holder._id}, ${holder.status}`\n + `${holder.createdAt ? `, started ${holder.createdAt}` : ''}). Application coding tasks share one working tree.`,\n );\n }\n\n /** The driver's own refusal — two callers raced past the fast 409 — in this lane's 409 shape. */\n private translateWorktreeBusy(error: unknown): unknown {\n return isActorExecutionSubjectBusyError(error)\n ? this.buildDispatchConflictError('A coding-agent run took the working tree first. Application coding tasks share one working tree.')\n : error;\n }\n\n /** Admission of a run that was opened at selection: start it, completing its input with the baseline. */\n private async startSelectedApplicationCodingExecution(\n selected: OpenedActorExecution,\n task: MetaWorkflow_ApplicationCodingTaskContract,\n baseline: GitWorktreeSnapshot,\n sessionContext?: CompanionExecutionSessionContext,\n origin?: CodingRunOrigin,\n ): Promise<OpenedActorExecution> {\n await this.actorsSystem.startActorExecution(selected, { taskInput: this.buildApplicationCodingTaskInput(task, baseline, origin) }, sessionContext);\n return selected;\n }\n\n private buildApplicationCodingExecutionRequest(\n task: MetaWorkflow_ApplicationCodingTaskContract,\n baseline: GitWorktreeSnapshot | null,\n sessionContext?: CompanionExecutionSessionContext,\n origin?: CodingRunOrigin,\n mode: CodingRunConcurrency = CodingRunConcurrency.SINGLE_FLIGHT,\n ): ActorExecutionOpenRequest<CompanionExecutionSessionContext> {\n return {\n systemRef: APPLICATION_CODING_SYSTEM_REF,\n // A single-flight run holds the application's working tree while it runs (#1361); a concurrent\n // one holds only its own task, so two runs of one task can never overlap (#1528).\n exclusiveSubject: applicationCodingExclusiveSubject(mode, task.taskRef),\n // The SELECTED agent, resolved once at creation and carried on the row —\n // so a task records which agent it was addressed to, and a selection\n // changed between creation and claim cannot silently redirect it. The\n // system declares one actor per binding under the binding's own ref.\n actorRef: resolveSelectedApplicationCodingAgentBinding().ref,\n scope: sessionContext,\n task: {\n title: `Application coding task ${task.taskRef}`,\n description: `Typed application coding task for ${task.objectiveRef}; acceptance is a commit, made by the loop under the autonomy posture or by a person on the workbench.`,\n topic: Actor_Task_Topics.IMPLEMENTATION,\n input: this.buildApplicationCodingTaskInput(task, baseline, origin),\n /*\n * The cross-plane join, carried in the GENERIC correlation envelope rather than in a\n * `workbenchBuildPlanTaskId` column on the actor-task row (#1348).\n *\n * The engine owns the slot and validates only that keys and values are non-empty strings;\n * this domain owns the keys. The value is the board's row identity — sanitized, which is the\n * ref verbatim today — so the creation plane can match its build-plan row to this task\n * without the generic platform row knowing what a build-plan task is.\n */\n correlation: {\n domain: WORKBENCH_TASK_CORRELATION_DOMAIN,\n refs: {\n [WorkbenchTaskCorrelationRef.BUILD_PLAN_TASK]: sanitizeWorkbenchCreationPlaneIdentity(task.taskRef),\n // The thread the dispatch came from (#1454, Step 7), the same key a playbook run carries.\n ...(origin?.conversationId ? { [WorkbenchTaskCorrelationRef.CONVERSATION]: origin.conversationId } : {}),\n },\n },\n },\n };\n }\n\n /**\n * The task row's INPUT — replayable task identity and guard evidence, never prompt/context bytes\n * except the assembly-repair failure tail named there (see the contract above\n * `openApplicationCodingExecution`). `baseline` is `null` between\n * selection and admission, and says so rather than being absent: a reader can tell a run that has\n * not captured one from a row that forgot to record it.\n */\n private buildApplicationCodingTaskInput(\n task: MetaWorkflow_ApplicationCodingTaskContract,\n baseline: GitWorktreeSnapshot | null,\n origin?: CodingRunOrigin,\n ): Record<string, unknown> {\n return {\n taskRef: task.taskRef,\n // Read back by the dispatch projection, so the row says which conversation started it.\n ...(origin?.conversationId ? { conversationId: origin.conversationId } : {}),\n // An operator ran a task the probe called landed (#2217): the run carries why, and the build record reads it back.\n ...(origin?.landedOverride ? { landedOverride: origin.landedOverride } : {}),\n // A repair of a failing assembly check records which check and what it printed (#2283): the bound on repairs reads it.\n ...assemblyRepairRunInputField(task),\n objectiveRef: task.objectiveRef,\n candidateRef: task.candidateRef,\n mutationScope: task.mutationScope,\n contextPlan: {\n planRef: task.contextPlan.planRef,\n objectiveRef: task.contextPlan.objectiveRef,\n },\n contextSelection: {\n planRef: task.contextSelection.planRef,\n selectedSourceRefs: task.contextSelection.selectedSources.map((source) => source.sourceRef),\n selectedSourceCount: task.contextSelection.selectedSources.length,\n },\n verificationIntent: task.verificationIntent,\n installedSkillRefs: task.installedSkillRefs,\n baseline: baseline\n ? {\n headSha: baseline.headSha,\n dirtyFileCount: Object.keys(baseline.files).length,\n capturedAt: baseline.capturedAt,\n /*\n * The dirty files themselves, not only their count: the one record that survives a\n * restart mid-run, so the next start can tell what THIS run wrote from what was already\n * there ({@link recoverInterruptedRunWrites}). Paths and fingerprints only — no content.\n */\n files: baseline.files,\n }\n : null,\n };\n }\n\n /**\n * Open the trace half of one coding run — see {@link CodingRunTrace}. Best-effort like every\n * trace write here: a session that cannot be opened is recorded as a traceability error and the\n * run proceeds with no scope, which the actor plane accepts.\n */\n private async openCodingRunTrace(taskId: string, taskRef: string): Promise<CodingRunTrace> {\n let runSession: CompanionExecutionSessionContext | undefined;\n let runStep: ReturnType<CompanionTraceabilityService['createStep']> | undefined;\n const traceabilityErrors: unknown[] = [];\n const traceBestEffort = async (operation: string, write: () => Promise<void>): Promise<void> => {\n try {\n await write();\n } catch (error) {\n // Traceability is required evidence, but it must not become a control\n // flow escape that leaves the durable task PROCESSING after possible\n // source changes. The final task row records this failure and remains\n // visibly non-accepted for explicit follow-up.\n traceabilityErrors.push(error);\n this.logger.error('Application coding-task trace operation failed', {\n taskId,\n taskRef,\n operation,\n error: describeCaughtError(error),\n });\n }\n };\n await traceBestEffort('initialize-session', async () => {\n runSession = this.traceabilityService.createInternalSession({\n label: 'application-coding-task-run',\n metadata: { taskId, taskRef },\n });\n if (!runSession) return;\n await this.traceabilityService.registerAlias(runSession, CompanionTraceAliasKind.ACTOR_TASK, taskId);\n runStep = this.createOperationTraceStep(runSession, 'application-coding-task-run');\n });\n return { runSession, runStep, traceabilityErrors, traceBestEffort };\n }\n\n /**\n * ACCEPT a run's writes when the autonomy posture says the system accepts (#1534).\n *\n * **Why here.** A build task LANDS only when its declared product is COMMITTED, and until this\n * existed nothing in the loop committed — so an unattended build stopped after its first task,\n * and the 2026-09-23 run was carried by an operator's shell loop running `git add -A` in the gaps\n * between dispatches. `one-source-of-truth.md` D5 had already decided the posture (YOLO: the system\n * commits, the creator is notified and can override); what was missing was the mechanism.\n *\n * **Why it is safe HERE and nowhere later.** This runs inside `afterSettle`, which\n * `superviseCodingRun` awaits inside `withDedicatedFileLock(workspace mutation lock)`. No other\n * coding run can be live, so the commit cannot land inside another run's baseline→post window —\n * which is what destroys change-set attribution, and why the shell loop had to wait for a gap.\n *\n * **The posture is asked through the ONE table**, `laneBoundaryTreatmentFor`, as an APPROVE_RESULT\n * boundary — never by testing for YOLO here. So GUIDED keeps acceptance a person's act on the\n * workbench, YOLO_LIGHT and YOLO accept, and a posture added tomorrow is classified there once.\n *\n * **It never widens what is committed.** No `force`: every refusal the door applies to a person\n * applies here. A path it cannot vouch for stays uncommitted and the task stays visibly unlanded.\n *\n * **Best effort, and loud.** A failed accept costs the task its landing, never the run — the run's\n * result is already settled. It is logged at WARN because a silent failure here recreates exactly\n * the stall this exists to remove.\n */\n private async acceptUnderAutonomyPosture(taskRef: string, taskId: string): Promise<void> {\n // A concurrent run holds no lock (#1528), and git's index takes one writer: its commit is serialized.\n // A single-flight run already holds the workspace lock around this call.\n await this.underAcceptancePosture(async () => {\n try {\n const outcome = await this.acceptedChangeCommit.acceptCodingRun({ taskRef, origin: AcceptOrigin.AUTONOMY_POSTURE });\n this.logger.info('Accepted a build-task run under the autonomy posture', {\n taskId,\n taskRef,\n posture: APPLICATION_CREATION_AUTONOMY_POSTURE,\n commitSha: outcome.commitSha,\n committedPaths: outcome.committedPaths.length,\n refusedPaths: outcome.refusedPaths,\n alreadyCommitted: outcome.alreadyCommitted,\n });\n // Counted even when already at HEAD: the run is now recorded accepted, which the boards show.\n return [{ committedPaths: Math.max(outcome.committedPaths.length, 1) }];\n } catch (error) {\n if (error instanceof NothingToAcceptError) {\n // An empty run, or every path refused by name. The refusals are the finding; they stay visible.\n this.logger.warn('A build-task run concluded with nothing the posture could accept', {\n taskId, taskRef, reason: error.message, refusedPaths: error.refusedPaths,\n });\n return [];\n }\n this.logger.warn('Could not accept a build-task run under the autonomy posture; its task stays unlanded', {\n taskId, taskRef, error: describeCaughtError(error),\n });\n return [];\n }\n }, { takeLock: this.activeRuns.get(taskId)?.mode === CodingRunConcurrency.CONCURRENT });\n }\n\n /**\n * Accept every pending PLAYBOOK run under the posture, from inside the worktree window and before a\n * baseline — the third site of #1534 (see `acceptPendingPlaybookRuns` for why exactly here).\n * Best effort by construction: it must never cost the run whose window it borrows.\n */\n private async acceptPendingPlaybookRunsBeforeBaseline(): Promise<void> {\n if (laneBoundaryTreatmentFor(APPLICATION_CREATION_AUTONOMY_POSTURE, PlaybookLaneBoundaryDecision.APPROVE_RESULT) !== LaneBoundaryTreatment.NOTIFY_AND_PROCEED) return;\n try {\n const outcome = await this.acceptedChangeCommit.acceptPendingPlaybookRuns(AcceptOrigin.AUTONOMY_POSTURE);\n if (outcome.accepted > 0) {\n for (const listener of this.runAcceptedListeners) {\n try { listener(); } catch (error) { this.logDebug('A run-accepted listener threw', { error: describeCaughtError(error) }); }\n }\n }\n } catch (error) {\n this.logger.warn('Could not accept pending playbook runs before a baseline', { error: describeCaughtError(error) });\n }\n }\n\n /**\n * Run a build-plan GENERATION STEP inside the coding lane's attribution window, and accept what it\n * wrote under the autonomy posture — the second site of #1534's invariant.\n *\n * **Why a generation step needs this at all.** It lands on COMMITTED paths\n * (`ApplicationBuildGenerationStepLandedKind.COMMITTED_PATHS`), exactly like a coding task's\n * product, and it is EXEMPT from the loop guard because a step such as `i18n-labels` is\n * legitimately re-runnable. So an uncommitted step does not stall visibly: it is re-selected on\n * every dispatch, does nothing new, and every task that names it as a prerequisite never becomes\n * ready. The 2026-09-23 run never met this only because an operator's shell loop committed\n * everything between dispatches.\n *\n * **Why inside THIS window rather than beside it.** A coding run's attribution is a baseline→post\n * comparison, and it collapses when anything commits inside it. Until now a generation step held\n * neither half of the lane's single-flight, so it could run while a coding run was live and land\n * its writes inside that run's window. Here it takes both: the worktree lease check first — the\n * same 409 a second coding task gets, naming the holder — then the workspace mutation lock for\n * the snapshot, the step, the capture and the accept. The two are not redundant: a coding run\n * SELECTED but not yet admitted holds the lease and not the lock while it waits for the compile\n * watchers, and a step taking the lock there would fail that run's admission. A PARKED run holds\n * neither, by design — siblings run while its question waits, and anything they commit is\n * classified `committed_during_run` and excluded from its accept; a step is one more sibling. This is the lane's EXISTING single-flight,\n * extended to the other writer it always had; it restricts no agent's edits, which is what\n * #1264's \"no serialization\" constraint is about.\n *\n * **The writes go through the same register and door as a coding run's**, so the workbench's\n * Accept works on a generation-step row too, under GUIDED, with the same refusals. The capture and\n * the accept are best effort: a step whose writes could not be registered still returns its\n * result, and stays visibly unlanded.\n */\n public async runGenerationStepInWorktreeWindow<T>(input: {\n readonly taskRef: string;\n readonly taskId: string;\n readonly execute: () => Promise<T>;\n readonly sessionContext?: CompanionExecutionSessionContext;\n /**\n * The directories only this step writes (#2240): the dispatch plan's writable roots, derived from the\n * step's own evidence paths. Read only when the window is SHARED with concurrent coding runs, where they\n * are the step's claims. Omitted, a shared step claims nothing, as before.\n */\n readonly ownedPathPrefixes?: readonly string[];\n }): Promise<T> {\n await this.refuseWhileWorktreeIsHeld(null, input.sessionContext);\n return withDedicatedFileLock(\n this.getWorkspaceMutationLockPath(),\n async () => {\n await this.acceptPendingPlaybookRunsBeforeBaseline();\n const baseline = await this.gitChangeSetService.captureWorktreeSnapshot();\n await this.recordRunBaselineOnTask(input.taskId, baseline, input.sessionContext);\n const concurrentAtStart = await this.concurrentCodingRunsLive(input.sessionContext);\n // Beside a concurrent run, the step is part of that sharing episode from its own baseline (#1805).\n if (concurrentAtStart) this.markSharingEpisodeStarted(baseline.capturedAt);\n const result = await input.execute();\n let shared = concurrentAtStart;\n let claimedPaths: readonly string[] = [];\n try {\n const changeSet = await this.gitChangeSetService.captureChangeSet(baseline);\n /*\n * A step holds the workspace lock, but a CONCURRENT coding run takes that lock only to commit, so\n * a wave's runs keep writing while the step runs inline (#1805 review N2). Its capture then holds\n * their writes too. So when concurrent runs were live at either end of its window, or one recorded\n * writes during it, the step is recorded as a sharing run and claims only what lies under the\n * directories it alone writes (#2240), which it accepts under its own name. Everything else in its\n * capture is left for the wave's end, which commits it with its siblings, writer unknown.\n *\n * Before #2240 a shared step claimed nothing, so on app-creation-test-004 the labels, the logo and\n * the published documentation of a wave all landed in \"writer unknown\" commits, and a reader of the\n * history could not find the step that produced them.\n */\n const concurrentAtEnd = await this.concurrentCodingRunsLive(input.sessionContext);\n if (concurrentAtEnd) this.markSharingEpisodeStarted(baseline.capturedAt);\n shared = shared || concurrentAtEnd\n || (await this.codingRunWriteRegister.list()).some((record) => record.concurrent === true && record.at >= baseline.capturedAt);\n if (shared) claimedPaths = claimGenerationStepOwnedPaths(changeSet.files.map((file) => file.path), input.ownedPathPrefixes ?? []);\n await this.codingRunWriteRegister.record({ taskId: input.taskId, taskRef: input.taskRef, changeSet, ...(shared ? { claimedPaths } : {}) });\n } catch (error) {\n this.logger.warn('Could not register a generation step\\'s writes; it stays unlanded until they are committed', {\n taskId: input.taskId, taskRef: input.taskRef, error: describeCaughtError(error),\n });\n return result;\n }\n // A shared step with claims commits them under its own name first; the reconciliation below then finds only the rest.\n if (!shared || claimedPaths.length > 0) await this.acceptUnderAutonomyPosture(input.taskRef, input.taskId);\n if (shared && !this.concurrentRunLiveInProcess()) {\n /*\n * Shared, and nothing of this process is writing any more — the concurrent run finished during the\n * step: no episode will end after this, so the step and the runs recorded in its window are\n * committed together now. Inside the workspace lock this window already holds.\n */\n const since = this.sharingEpisodeStartedAt !== undefined && this.sharingEpisodeStartedAt < baseline.capturedAt\n ? this.sharingEpisodeStartedAt\n : baseline.capturedAt;\n await this.reconcileSharedTree({ startedAt: since, taskIds: [input.taskId], lock: { takeLock: false } });\n }\n return result;\n },\n { retries: { retries: 0 } },\n ).catch((error: unknown) => { throw this.mapLockError(error); });\n }\n\n /**\n * Run the engine-driven half of a coding run and deal with the two ways it can go wrong.\n *\n * `drive` is `completeActorExecution` or `resumeActorExecution`; `capture` hands this method the\n * executor's result, because the driver answers it only when the settle ALSO succeeded — and the\n * case that needs the result most is the one where it did not.\n *\n * - The executor returned and the SETTLE failed: not retried. The agent may already have changed\n * files and re-execution would duplicate an unclassified effect. The row is deliberately left\n * for the startup reconcile, and the trace records why it is not terminal.\n * - The executor THREW: the driver already settled `FAILED` with the message. Nothing to add\n * except a log line — the executor classifies its own failures, so a throw is a defect in it.\n */\n private async superviseCodingRun(\n taskRef: string,\n taskId: string,\n trace: CodingRunTrace,\n drive: (capture: (result: CodingRunResult) => CodingRunResult) => Promise<unknown>,\n ): Promise<void> {\n let result: CodingRunResult | null = null;\n try {\n await drive((returned) => { result = returned; return returned; });\n } catch (error) {\n const returned = result as CodingRunResult | null;\n if (returned === null) {\n // Two ways to get here with no result: the executor threw (the engine settled the run\n // FAILED with the message), or the engine refused to START it — a resume of an execution\n // that is no longer waiting. Neither leaves anything for this method to record. The two\n // refusals a person's late or concurrent answer meets are routine 409s, not errors (#1581, R10-2).\n const routineRefusal = isActorExecutionNotSuspendedError(error) || isActorExecutionSubjectBusyError(error);\n (routineRefusal ? this.logger.info.bind(this.logger) : this.logger.error.bind(this.logger))(\n routineRefusal ? 'Application coding run was not started or resumed: the driver refused it' : 'Application coding run ended without a result',\n { taskId, taskRef, error: describeCaughtError(error) },\n );\n return;\n }\n this.logger.error('Failed to persist application coding-task result', { taskId, taskRef, error: describeCaughtError(error) });\n await trace.traceBestEffort('record-terminal-patch-failure', () => this.traceOperationFailure({\n sessionContext: trace.runSession,\n step: trace.runStep,\n type: 'application-coding-task-terminal-patch-failure',\n summary: `Failed to persist the result of application coding task ${taskRef}`,\n error,\n payload: returned.output,\n }));\n return;\n }\n await (result as CodingRunResult | null)?.afterSettle();\n }\n\n /**\n * Executes the normal Agent invocation and lands the full working-result\n * evidence. This method runs inside the worktree lock and therefore is the\n * sole typed path allowed to observe its own before/after Git boundary.\n */\n private async executeApplicationCodingTask(\n task: MetaWorkflow_ApplicationCodingTaskContract,\n renderedPrompt: string,\n verificationPlans: readonly ApplicationCodingTaskVerificationPlan[],\n opened: OpenedActorExecution,\n baseline: GitWorktreeSnapshot,\n trace: CodingRunTrace,\n /**\n * Present when this run ANSWERS a parked question rather than starting the\n * task: the agent session is resumed by id via `session/load` and the answer\n * is delivered as the next turn. The task's mutation scope, verification plan\n * and original baseline are unchanged — the resume is held to exactly the\n * bounds the first run was.\n */\n resume?: { readonly continuationOfSessionId: string; readonly answerPrompt: string; readonly priorLegsUsage?: CodingAgent_Usage },\n ): Promise<CodingRunResult> {\n const { runSession, runStep, traceabilityErrors, traceBestEffort } = trace;\n // The TASK id is this lane's handle — the live stream, the answer door and the board row all\n // key on it. The execution is the engine's; it is reached from the task.\n const taskId = opened.taskId;\n const traceContext: AgentTraceContext = {\n label: `application-coding-task:${task.taskRef}`,\n attributes: {\n taskId,\n taskRef: task.taskRef,\n objectiveRef: task.objectiveRef,\n candidateRef: task.candidateRef,\n },\n };\n\n\n const startedAtMs = Date.now();\n /*\n * Which of this task's checks were ALREADY failing before the agent ran?\n *\n * Verification decides the disposition, and it used to ask \"is any check red now?\" — a question\n * about the TREE, answered as though it were about the RUN. A check that was red before the\n * agent started says nothing about the agent, and failing the task on it burns the whole run.\n *\n * Measured on the first end-to-end journey run (#1273): `check:technical-doc-typecheck` was red\n * before anything was dispatched, because `technical-doc/src/generated/consumer-documentation/`\n * has never been produced in that application. `build-task-docs-find-context` ran for fifteen\n * minutes, established its findings, wrote its report — and was recorded\n * `VERIFICATION_FAILED` on a red it did not cause, at $19.33. Every documentation task names\n * that check, so every one of them would have failed the same way, forever, for the same money.\n * That is the unbounded-cost shape `findCompletedRunForBuildTask` exists to close, reached\n * through the one door it cannot see: a run that FAILS is not a completed run, so it is\n * re-offered on the next dispatch.\n *\n * The baseline is the tree as this run found it, so it is the honest reference for \"did THIS run\n * break it\". Costs one extra pass of the same checks — tens of seconds against a run measured in\n * quarter-hours and tens of dollars.\n *\n * A check that THREW at baseline is excluded: it produced no verdict, so it cannot license\n * forgiving the same check afterwards. See `unrunCheckRefs`.\n */\n const baselineVerification = await this.executeVerificationPlans(verificationPlans);\n const unrunAtBaseline = new Set(baselineVerification.unrunCheckRefs);\n const preexistingVerificationFailures = new Set(baselineVerification.verification\n .filter(({ checkRef, outcome }) => !outcome.success && !unrunAtBaseline.has(checkRef))\n .map(({ checkRef }) => checkRef));\n let runError: unknown = null;\n // When the agent's refusal reached the host: a usage limit's reset is read against THIS instant (#2388 review F2).\n let runErrorAt: Date | null = null;\n let agentOutput = '';\n let codingUsage: CodingAgent_Usage | undefined;\n let codingDeniedPermissionCount: number | undefined;\n let codingPermissionDecisions: CodingAgent_RunTaskOutput['permissionDecisions'];\n let codingReportedFileLocations: CodingAgent_RunTaskOutput['reportedFileLocations'];\n let agentStopReason: CodingAgent_StopReason | undefined;\n /*\n * Counted in full, RETAINED in part.\n *\n * The previous shape pushed every notification into an unbounded array and\n * then persisted only its length — so a 30-minute run grew memory the\n * process never read, and the tool-call and diff frames (the reason to\n * observe a session at all) were collected and discarded. Now the count is a\n * counter, and only the frames a reader would actually open are retained, up\n * to a fixed ceiling.\n */\n let codingSessionEventCount = 0;\n // What the row keeps of the session, and why it is not \"the first N frames\": see the model.\n const codingSessionRetention = new CodingSessionFrameRetention();\n await traceBestEffort('record-start', () => this.traceOperationStart({\n sessionContext: runSession,\n step: runStep,\n type: 'application-coding-task-run-start',\n summary: `Run application coding task ${task.taskRef}`,\n payload: this.buildApplicationCodingTaskTraceSummary(task),\n artifactFileName: 'application-coding-task-input.txt',\n artifactContent: renderedPrompt,\n }));\n try {\n // Resume the agent recorded on the durable task. The host selector may\n // have changed since admission; it must not reroute an existing session.\n // The coding system declares one actor per binding under the binding's\n // own ref, so the actor the run was opened for IS the agent to invoke.\n const agentRef = opened.actorRef;\n if (typeof agentRef !== 'string' || !isApplicationCodingAgentRef(agentRef)) {\n throw this.buildDispatchConflictError('The coding task does not identify a declared application coding agent.');\n }\n const invocation: FlowsActors_Agent_Invocation<\n typeof CodingAgent_RunTaskInputSchema,\n typeof CodingAgent_RunTaskOutputSchema,\n typeof CodingAgent_OperationContext_BaseSchema\n > = {\n agentRef,\n initiator: {},\n invocationContext: [],\n // A resume delivers the operator's ANSWER as the turn and re-enters the\n // parked session; a first run delivers the rendered task.\n input: resume\n ? { prompt: resume.answerPrompt, continuationOfSessionId: resume.continuationOfSessionId }\n : { prompt: renderedPrompt },\n output: { finalMessage: '', stopReason: CodingAgent_StopReason.END_TURN },\n executionContext: { callTimestamp: new Date().toISOString() },\n artifactBindings: [],\n };\n const response = await this.agentsService.invokeAgent(\n invocation,\n traceContext,\n {\n workspaceRootPath: this.companionContext.saasRoot,\n // Hold the agent to the task's declared scope WHILE it runs, not only\n // in the change set afterwards. The post-hoc assessment stays — it is\n // the authoritative record, because an agent can write a file it never\n // asked permission for — but a refusal in the moment is the only one\n // that prevents the write rather than reporting it.\n isPermittedCodingLocation: buildApplicationCodingTaskLocationPredicate(\n this.companionContext.saasRoot,\n task.mutationScope.allowedPathPrefixes,\n task.mutationScope.prohibitedPathPrefixes,\n ),\n onCodingSessionEvent: (event) => {\n codingSessionEventCount += 1;\n codingSessionRetention.accept(event);\n this.publishCodingSessionFrame(taskId, { channel: 'event', payload: event });\n },\n // The JUDGMENT half of the interactive lane: classify each end-of-turn\n // message so the engine ladder can auto-continue a self-pause and park\n // a genuine question. The engine fails OPEN if this throws, so a\n // classifier fault degrades to \"the turn is complete\" rather than\n // hanging the run — this method may therefore throw freely.\n classifyCodingTurnEnd: (input) => this.classifyCodingTurnEnd(input),\n onCodingSessionStateChange: (state) => {\n this.publishCodingSessionFrame(taskId, { channel: 'state', payload: state });\n },\n ...(this.activeRuns.get(taskId) ? { codingSessionAbortSignal: this.activeRuns.get(taskId)!.abortController.signal } : {}),\n },\n );\n const codingOutput = response.output as Partial<CodingAgent_RunTaskOutput> | undefined;\n // The agent runtime publishes provider-learned facts on `executionContext`.\n // A resume's leg reports its own tokens and the session's cumulative cost: the run is every leg together (#2232).\n codingUsage = mergeResumedLegUsage(resume?.priorLegsUsage, (response.executionContext as { usage?: CodingAgent_Usage } | undefined)?.usage);\n codingDeniedPermissionCount = codingOutput?.deniedPermissionCount;\n codingPermissionDecisions = codingOutput?.permissionDecisions;\n codingReportedFileLocations = codingOutput?.reportedFileLocations;\n const text = codingOutput?.finalMessage;\n agentStopReason = codingOutput?.stopReason;\n // A PARKED run stopped WITHOUT finishing to ask the operator a question.\n // Its `finalMessage` is the question and its partial edits are NOT a final\n // change set — so it must skip assessment, verification and the\n // terminal disposition entirely, and instead record an answerable,\n // non-terminal state. Handled here, before the CANCELLED/empty checks,\n // because a question is a non-empty END_TURN message that would otherwise\n // read as a completed working result.\n if (codingOutput?.suspension) {\n return this.buildParkedCodingRunResult({\n task,\n taskId,\n baseline,\n suspension: codingOutput.suspension,\n output: codingOutput,\n usage: codingUsage,\n codingSessionEventCount,\n retainedCodingSessionFrames: codingSessionRetention.frames(),\n codingSessionRetention: codingSessionRetention.summary(),\n startedAtMs,\n runSession,\n runStep,\n traceBestEffort,\n });\n }\n // A CANCELLED turn is not a completed one, and its partial change set must\n // not be read as a working result. Refused here rather than downstream so\n // the disposition names the actual reason.\n if (agentStopReason === CodingAgent_StopReason.CANCELLED) {\n throw new Error('Application coding Agent turn was cancelled before it completed.');\n }\n if (typeof text !== 'string' || text.trim().length === 0) {\n throw new Error('Application coding Agent returned no final message.');\n }\n agentOutput = text;\n } catch (error) {\n runError = error;\n runErrorAt = new Date();\n }\n /*\n * Whether an operator took this turn away, read the moment the turn ENDED (#1581, seventh review F8):\n * a wave cancel landing later, while the change set is captured, did not end a turn that had already\n * failed on its own — a timed-out turn is the task's.\n */\n const turnCancelledByOperator = this.activeRuns.get(taskId)?.abortController.signal.aborted === true;\n\n let changeSet: GitChangeSetCapture | null = null;\n let captureError: unknown = null;\n try {\n changeSet = await this.gitChangeSetService.captureChangeSet(baseline);\n } catch (error) {\n captureError = error;\n }\n /*\n * The register the workbench's `accept` commits from (#1454, Step 7): every path, attributed and\n * hashed, unbounded where the durable row's summary is bounded. Best effort — a register that\n * could not be written costs the ability to accept THIS run from the workbench, never the run.\n */\n if (changeSet) {\n try {\n // A run that shared the tree (#1528) records what it has evidence of writing: its capture also holds its siblings' files.\n const claimedPaths = this.activeRuns.get(taskId)?.mode === CodingRunConcurrency.CONCURRENT\n ? collectRunClaimedPaths({\n candidateRoots: applicationRootSpellings(this.companionContext.saasRoot),\n reportedFileLocations: codingReportedFileLocations,\n permissionDecisions: codingPermissionDecisions,\n })\n : undefined;\n await this.codingRunWriteRegister.record({ taskId, taskRef: task.taskRef, changeSet, ...(claimedPaths !== undefined ? { claimedPaths } : {}) });\n } catch (error) {\n this.logDebug('Could not record the coding run\\'s writes; accepting it from the workbench will refuse', { taskId, error: describeCaughtError(error) });\n }\n }\n\n const scopeAssessment = changeSet\n ? assessApplicationCodingTaskMutationScope(changeSet, task.mutationScope.allowedPathPrefixes, task.mutationScope.prohibitedPathPrefixes)\n : null;\n /*\n * Did Wildo's IN-FLIGHT guards actually run for this agent?\n *\n * The permission ceiling and the task mutation scope are both enforced in\n * the client's answer to `session/request_permission`, and the scope half is\n * enforced against the `locations` that request DECLARES. So there are TWO\n * ways a run reaches the end with the mutation scope never consulted, and\n * until 2026-09-09 only the first was reported:\n *\n * 1. NO REQUEST AT ALL — the agent writes without asking. Codex's design\n * (its safety model is a sandbox) and OpenCode's default. Nothing is\n * answered, so nothing is checked.\n *\n * 2. REQUESTS RAISED, NONE CARRYING A LOCATION — the agent asks, the\n * client answers, and the scope predicate has nothing to check the\n * answer against, because `locations.some(...)` over an empty array is\n * vacuously satisfied. Under an UNRESTRICTED ceiling this is EVERY\n * shell command: `execute` is admitted by the ceiling, and a shell\n * command declares no locations because its effect is not derivable\n * from the command string. A run can therefore write outside its\n * declared scope through a shell command with a full, well-formed\n * permission-decision record showing it was allowed.\n *\n * Shape 2 is not a hole to be closed by deriving locations from a command —\n * a shell command is UNSCOPED BY NATURE, and parsing one to guess its writes\n * would be an invented, defeatable answer (`sh -c \"$CMD\"`, a redirect\n * through a substituted path). The honest treatment is to say so.\n *\n * Both shapes are ADMISSIBLE by decision (2026-09-06/09): a different agent\n * architecture is not a reason to refuse a tool, the dogfood lane authors\n * UNRESTRICTED deliberately, and the framework's directive is that\n * restrictions arrive as judge-style guards rather than refusals wired into\n * the mechanism. What is NOT acceptable is the consequence going unrecorded\n * while the configuration reads as though a gate were in place.\n *\n * Keyed on the run's OWN evidence rather than on a provider declaration: an\n * agent that changes behaviour between versions cannot silently keep an\n * old, reassuring claim. (The provider's declaration is used too, at\n * DISPATCH, where it refuses a ceiling narrower than UNRESTRICTED against an\n * agent that cannot honour one — a claim before the run and evidence after\n * it, which are different jobs.)\n */\n const raisedNoPermissionRequest = (codingPermissionDecisions?.length ?? 0) === 0;\n // An ALLOWED decision that declared no path: the ceiling admitted the act and\n // the scope predicate was handed nothing to judge it by.\n const allowedActsWithNoDeclaredLocation = (codingPermissionDecisions ?? []).filter(\n (decision) => decision.allowed && decision.locations.length === 0,\n ).length;\n const mutationScopeWentUnconsulted = raisedNoPermissionRequest || allowedActsWithNoDeclaredLocation > 0;\n const mutatedFileCount = changeSet?.files.length ?? 0;\n if (!runError && mutationScopeWentUnconsulted && mutatedFileCount > 0) {\n // Best-effort and FEATURE-DETECTED, the same posture the audit emits take:\n // this observes a run, and an observation that can fail the run it\n // observes is worse than no observation. A partially-bound logger must not\n // turn a completed coding task into an error — measured the hard way, when\n // a `warn` the test double did not implement hung fifteen runs.\n this.logger.warn?.(\n (raisedNoPermissionRequest\n ? 'Coding run mutated the workspace without raising a single permission request — '\n + \"Wildo's permission ceiling and task mutation scope were NOT enforced in flight for this agent. \"\n : `Coding run mutated the workspace after ${allowedActsWithNoDeclaredLocation} permitted act(s) that `\n + 'declared no file location — typically shell commands, which are unscoped by nature — so the task '\n + 'mutation scope had nothing to check those acts against and was NOT enforced in flight for them. ')\n + 'The change set taken after the run is the only record of what it touched'\n + (scopeAssessment && scopeAssessment.outOfScopePaths.length > 0\n ? `, and it recorded ${scopeAssessment.outOfScopePaths.length} changed path(s) outside the task's declared scope `\n + '(this run\\'s or a parallel session\\'s — the change set cannot tell which).'\n : '.'),\n {\n taskRef: task.taskRef,\n objectiveRef: task.objectiveRef,\n mutationScopeRef: task.mutationScope.scopeRef,\n mutatedFileCount,\n outOfScopePathCount: scopeAssessment?.outOfScopePaths.length ?? null,\n raisedNoPermissionRequest,\n allowedActsWithNoDeclaredLocation,\n inFlightMutationScopeConsulted: false,\n },\n );\n }\n\n // Verification is deliberately sequential. Each check has a fixed\n // semantic meaning, but several checks can still contend for the same\n // application package/cache if started together. The ordered outcomes are\n // easier to inspect and avoid turning a bounded coding task into an\n // accidental local-build fan-out.\n // Out-of-scope paths never skip verification: they are recorded, not refused.\n const shouldVerify = !runError && !captureError;\n const { verification, infrastructureError: verificationInfrastructureError } = shouldVerify\n ? await this.executeVerificationPlans(verificationPlans)\n : { verification: [] as Array<{ checkRef: string; outcome: VerificationOutcome }>, infrastructureError: null as unknown };\n /*\n * Only a check this run BROKE fails the task. One that was already red is recorded and reported,\n * never attributed — see `preexistingVerificationFailures` above for what it cost when it was.\n *\n * The recording half is not decoration: a check red for every task is a project-level defect\n * that nothing else would surface, and forgiving it silently would replace a loud wrong answer\n * with a quiet one.\n */\n const carriedVerification = verification\n .filter(({ checkRef, outcome }) => !outcome.success && preexistingVerificationFailures.has(checkRef));\n const carriedVerificationFailures = carriedVerification.map(({ checkRef }) => checkRef);\n /*\n * And WHY it is red, captured while the output is in hand (#1529): the files the check names and\n * what generated them. A red nobody diagnoses is re-diagnosed by hand — on the first end-to-end run\n * that took an hour, for a fact the broken file's own banner stated.\n */\n const carriedVerificationDiagnoses = carriedVerification.map(({ checkRef, outcome }) => diagnoseCarriedVerificationFailure({\n checkRef,\n checkPath: outcome.path,\n message: outcome.message,\n stdoutTail: outcome.stdoutTail,\n stderrTail: outcome.stderrTail,\n readHead: (relativePath) => {\n try {\n return readFileSync(join(this.companionContext.saasRoot, relativePath), 'utf8').slice(0, 8_000);\n } catch {\n return undefined;\n }\n },\n }));\n const failedVerification = verification.find(\n ({ checkRef, outcome }) => !outcome.success && !preexistingVerificationFailures.has(checkRef),\n ) ?? null;\n\n if (agentOutput) {\n await traceBestEffort('write-agent-output', () =>\n this.traceOperationArtifact(runSession, runStep, 'application-coding-task-agent-output.txt', agentOutput));\n }\n if (changeSet?.fullDiffText) {\n await traceBestEffort('write-change-set', () =>\n this.traceOperationArtifact(runSession, runStep, 'application-coding-task-change-set.diff', changeSet.fullDiffText));\n }\n\n /*\n * A run started past a landing the operator called wrong exists to CHANGE something (#2409). One that wrote no file\n * of its own — files attributed to another writer (dirty at baseline, a parallel session) are not its work — has\n * repaired nothing, whatever its checks say: they passed before it ran too. Only with a captured change set: a\n * capture that failed is its own disposition, and \"no files\" cannot be read from it.\n */\n const landedOverride = readGivenLandedOverride(task);\n const overrideChangedNothing = landedOverride !== undefined && changeSet !== null\n && codingRunChangedNoFileOfItsOwn(changeSet.files, isAttributedToAnotherWriter);\n const disposition = deriveApplicationCodingTaskDisposition({\n agentFailed: Boolean(runError),\n changeSetCaptureFailed: Boolean(captureError),\n verificationFailed: failedVerification !== null,\n overrideChangedNothing,\n traceabilityFailed: traceabilityErrors.length > 0,\n });\n const succeeded = disposition === ApplicationCodingTaskDisposition.WORKING_RESULT_RECORDED;\n /*\n * Whose failure this was (#1581). An agent failure is the HOST's only when the turn was TAKEN\n * AWAY: an operator cancelled it (this run's own abort signal), or the measured classifiers name\n * the environment (a mid-turn kill, a 529/429) or the account (quota, expired login). A timed-out\n * turn also ends `cancelled`, and it is the task's — it needed more than a turn.\n */\n const runErrorMessage = runError ? describeCaughtError(runError) : '';\n const agentTurnTakenByHost = turnCancelledByOperator\n || isInfrastructureShapedAgentFailure(runErrorMessage)\n || isProviderAccountAgentFailure(runErrorMessage);\n const failureAttribution = deriveCodingRunFailureAttribution({ disposition, agentTurnTakenByHost });\n /*\n * The account's usage limit, with the instant it ends (#2388). Recorded on the row, so the attempt budget\n * counts nothing for it and the feed can say when the lane resumes; held here, so the wave starts no\n * other turn into the same window. A success is proof the window is over — but only a run STARTED after\n * the limit was met: a sibling that began earlier may have finished its agent turn before the limit and\n * be settling only now, after minutes of checks (#2388 review F4).\n */\n const codingAgentUsageLimit = runError ? readCodingAgentUsageLimit(runErrorMessage, runErrorAt ?? new Date()) : null;\n if (codingAgentUsageLimit) this.holdForCodingAgentUsageLimit(codingAgentUsageLimit, task.taskRef, taskId);\n else if (succeeded) this.releaseCodingAgentUsageLimitHoldAfterSuccess(startedAtMs);\n // Which runs shared the tree with this one, and where they both wrote (#1528). Absent for a run alone.\n const concurrency = this.closeCodingRunWindow(taskId, (changeSet?.files ?? []).map((entry) => entry.path));\n const output = {\n succeeded,\n disposition,\n ...(failureAttribution !== null ? { failureAttribution } : {}),\n ...(codingAgentUsageLimit ? { codingAgentUsageLimit } : {}),\n ...(concurrency ? {\n concurrency,\n /*\n * A failure while other runs were editing the same tree MAY be theirs — only when the tree could\n * have caused it (#2389, `deriveInterferenceSuspected`). Suspected, never proven: the attempt budget\n * forgives a bounded number of these (`selectBudgetCountingFailures`).\n */\n ...(deriveInterferenceSuspected({ disposition, failureAttribution, concurrency }) ? { interferenceSuspected: true } : {}),\n } : {}),\n durationMs: Date.now() - startedAtMs,\n agentOutputTail: agentOutput.slice(-OUTPUT_TAIL_CHARS),\n /*\n * What the agent says it could NOT meet (#2496), read from its closing report's typed block over the WHOLE message,\n * not the tail. Recorded whatever the disposition: the build plan derives a follow-up task from a completed run's,\n * and a person reading any run sees what its agent left unmet. A block that does not parse is recorded as such.\n */\n ...(() => {\n const unmet = parseClosingReportUnmetRequirements(agentOutput);\n return {\n ...(unmet.reported.length > 0 ? { unmetRequirements: unmet.reported } : {}),\n ...(unmet.malformed !== undefined ? { unmetRequirementsMalformed: unmet.malformed } : {}),\n };\n })(),\n // Recorded on the durable row because it is the difference between \"the\n // agent finished\" and \"the agent stopped\": a turn that ended on\n // `max_tokens` or `refusal` leaves a partial change set that looks exactly\n // like a complete one from the diff alone.\n ...(agentStopReason ? { agentStopReason } : {}),\n ...(codingSessionEventCount > 0 ? { codingSessionEventCount } : {}),\n // Red before this run started, and still red. Not this task's failure, and not nobody's.\n ...(carriedVerificationFailures.length > 0 ? { carriedVerificationFailures, carriedVerificationDiagnoses } : {}),\n ...(codingSessionRetention.frames().length > 0\n ? { codingSessionFrames: codingSessionRetention.frames(), codingSessionRetention: codingSessionRetention.summary() }\n : {}),\n // #2: the run's real cost, recorded on the durable row.\n //\n // This is what the previous transport structurally could not report, and\n // it was captured by the runner and dropped here — so the budget still saw\n // nothing. `usage` is optional in every field by contract, so absence is\n // preserved as absence rather than written as zero.\n ...(codingUsage ? { usage: codingUsage } : {}),\n ...(codingDeniedPermissionCount !== undefined\n ? { deniedPermissionCount: codingDeniedPermissionCount }\n : {}),\n // WHY each permission was decided, beside how many were refused. A refusal an operator\n // cannot explain is a refusal they cannot act on — see the field's contract.\n ...(codingPermissionDecisions && codingPermissionDecisions.length > 0\n ? { permissionDecisions: codingPermissionDecisions }\n : {}),\n ...(runError ? { error: buildOutputErrorPayload(runError) } : {}),\n ...(disposition === ApplicationCodingTaskDisposition.OVERRIDE_NOT_REPAIRED && landedOverride ? {\n overrideNotRepaired: {\n // The agent's own account travels with the verdict (#2409 review F12): the operator weighs it, nothing else does.\n message: `Run past a wrong landing (${landedOverride.reason}: ${landedOverride.note}) changed no file, so the defect is not repaired. `\n + `The agent said: \"${agentOutput.trim().slice(-OVERRIDE_NOT_REPAIRED_AGENT_SAY_CHARS) || 'nothing'}\". `\n + 'Fix the cause, or run it again with a note the agent can act on.',\n },\n } : {}),\n ...(captureError ? { changeSetCaptureError: buildOutputErrorPayload(captureError) } : {}),\n ...(verificationInfrastructureError ? { verificationInfrastructureError: buildOutputErrorPayload(verificationInfrastructureError) } : {}),\n ...(traceabilityErrors.length > 0 ? { traceabilityErrors: traceabilityErrors.map(buildOutputErrorPayload) } : {}),\n ...(scopeAssessment ? { scopeAssessment } : {}),\n verification,\n ...(changeSet ? {\n changeSetSummary: {\n baselineHeadSha: changeSet.baselineHeadSha,\n postRunHeadSha: changeSet.postRunHeadSha,\n headMovedDuringRun: changeSet.headMovedDuringRun,\n stats: changeSet.stats,\n /*\n * WHICH files, beside how many — asked for by the judge itself.\n *\n * On 2026-09-16, the first run whose evidence the `dispatch-outcome-sound` treatment could\n * read answered INDETERMINATE on its in-scope criterion, and said exactly why: \"the artifact\n * does not identify the changed paths or their contents. It therefore cannot show that the\n * dispatched target/stage was implemented within <the declared scope>\". That criterion asks\n * whether a schema task added a persisted shape and a ui-behavior task added field displays —\n * a question about PATHS, answered with counts.\n *\n * Path and attribution class only. The class is what lets a reader separate the run's own\n * work from a file that was already dirty at baseline or that a parallel session committed\n * inside the window — the distinction the criterion's own guidance turns on, and one the\n * counts flatten. Contents stay out: the full diff is a trace artifact, and pasting a\n * change-set into a durable row would put the repository inside its own task record.\n *\n * BOUNDED, because a durable row is not a diff: a task that touches more files than this\n * carries the first `CHANGE_SET_SUMMARY_FILE_LIMIT` and says how many it left out, which is\n * a truthful summary rather than a silently truncated one.\n */\n files: changeSet.files.slice(0, CHANGE_SET_SUMMARY_FILE_LIMIT).map((entry) => ({\n path: entry.path,\n attribution: entry.attribution,\n changeKind: entry.changeKind,\n })),\n ...(changeSet.files.length > CHANGE_SET_SUMMARY_FILE_LIMIT\n ? { filesOmittedFromSummary: changeSet.files.length - CHANGE_SET_SUMMARY_FILE_LIMIT }\n : {}),\n },\n } : { changeSetSummary: null }),\n };\n\n /*\n * The run CONCLUDED, and the engine's driver records it (#1359): the status, this output and the\n * change-set artifact land on the task in the one move that settles the execution. `FAILED` is a\n * conclusion here, not a throw — see {@link CodingRunResult}.\n */\n return {\n kind: CodingRunEnding.CONCLUDED,\n conclusion: {\n status: succeeded ? FlowsActors_Status.COMPLETED : FlowsActors_Status.FAILED,\n taskOutput: output,\n ...(changeSet ? { taskArtifacts: [buildChangeSetArtifact(taskId, changeSet)] } : {}),\n },\n output,\n afterSettle: async () => {\n /*\n * A run that ANSWERED a question and then failed would otherwise keep its resume inputs:\n * the driver leaves a FAILED run's checkpoint in place, because for most hosts re-running\n * from it is how a failure is recovered. Here it holds the admitted contract — context\n * bytes the durable row deliberately never carries — and the question it answered is gone,\n * so there is nothing to continue. A failed coding run is re-DISPATCHED, not resumed.\n */\n if (!succeeded && resume) {\n await traceBestEffort('consume-checkpoint', () => this.actorsSystem.consumeActorExecutionCheckpoint(opened.executionId, runSession));\n }\n if (succeeded) {\n await traceBestEffort('record-success', () => this.traceOperationSuccess({\n sessionContext: runSession,\n step: runStep,\n type: 'application-coding-task-run-success',\n summary: `Recorded working result for application coding task ${task.taskRef}`,\n payload: output,\n }));\n await this.acceptUnderAutonomyPosture(task.taskRef, taskId);\n this.announceRunCompleted({ taskRef: task.taskRef, runTaskId: taskId });\n return;\n }\n await traceBestEffort('record-failure', () => this.traceOperationFailure({\n sessionContext: runSession,\n step: runStep,\n type: 'application-coding-task-run-failure',\n summary: `Application coding task ${task.taskRef} requires follow-up`,\n error: runError ?? captureError ?? verificationInfrastructureError ?? traceabilityErrors[0] ?? new Error(`Application coding task disposition: ${disposition}`),\n payload: output,\n }));\n },\n };\n }\n\n // ================================================================\n // Interactive lane — classifier, live relay, park & resume\n // ================================================================\n\n /**\n * Classify a coding agent's end-of-turn message through the dedicated\n * structured classifier agent. Throws on any fault; the ENGINE ladder wraps\n * that into `CLASSIFIER_UNAVAILABLE` and settles, so this never has to invent\n * a safe default of its own.\n */\n private async classifyCodingTurnEnd(input: {\n readonly finalMessage: string;\n readonly turnIndex: number;\n }): Promise<CodingAgent_EndOfTurnClassification> {\n const prompt = [\n 'A coding agent ended its turn with the message below. Classify what the message means so an '\n + 'autonomous runner can decide whether to continue automatically, or to surface a question to '\n + 'the operator.',\n '',\n '# Agent end-of-turn message',\n input.finalMessage,\n ].join('\\n');\n const invocation: FlowsActors_Agent_Invocation<any, any> = {\n agentRef: APPLICATION_CODING_TURN_CLASSIFIER_AGENT_REF,\n initiator: {},\n invocationContext: [],\n input: { prompt, schema: CodingTurnEndClassificationOutputSchema },\n output: { object: {} },\n executionContext: {},\n artifactBindings: [],\n };\n const response = await this.agentsService.invokeAgent(invocation);\n const raw = (response.output as { object?: unknown } | undefined)?.object;\n const parsed = CodingTurnEndClassificationOutputSchema.safeParse(raw);\n if (!parsed.success) {\n // A malformed classifier answer is a classifier fault: let the ladder fail\n // open rather than guess which situation the model meant.\n throw new Error('Coding turn-end classifier returned an unparseable result.');\n }\n return parsed.data.classification;\n }\n\n /** Fan one live frame out to a task's SSE subscribers. Best-effort, never throws into the run. */\n private publishCodingSessionFrame(taskId: string, frame: CodingSessionLiveFrame): void {\n const listeners = this.codingSessionSubscribers.get(taskId);\n if (!listeners) return;\n for (const listener of listeners) {\n try {\n listener(frame);\n } catch {\n // A subscriber must never be able to fail the run it observes.\n }\n }\n }\n\n /**\n * Subscribe to a task's live coding frames. Returns an unsubscribe function.\n *\n * Frames flow only while a run is ACTIVE for that task; a subscriber that\n * attaches after the run parked or finished simply receives nothing further,\n * which is why the SSE endpoint sends the current pending question up front.\n */\n public subscribeToCodingSession(taskId: string, listener: (frame: CodingSessionLiveFrame) => void): () => void {\n let listeners = this.codingSessionSubscribers.get(taskId);\n if (!listeners) {\n listeners = new Set();\n this.codingSessionSubscribers.set(taskId, listeners);\n }\n listeners.add(listener);\n return () => {\n const set = this.codingSessionSubscribers.get(taskId);\n if (!set) return;\n set.delete(listener);\n if (set.size === 0) this.codingSessionSubscribers.delete(taskId);\n };\n }\n\n /**\n * The questions currently awaiting an operator answer, for status/UX.\n *\n * Read from the ACTOR PLANE since #1359: every parked coding run is an execution of\n * `application-coding.system` that is `AWAITING_APPROVAL`, carrying the decision it waits on and\n * the checkpoint an answer continues from. Until then this read an in-process map, so a companion\n * restart emptied the list while the questions still stood — the board showed nothing to answer\n * for runs that were one answer away from continuing.\n *\n * Each carries a `decision` — the same `HumanDecision_Request` an interview and a clarification are\n * rendered from — so a reader needs no knowledge of ACP suspensions to show one. It is the decision\n * STORED on the execution when the run parked, not one rebuilt here: a second producer of a shared\n * contract would drift from the first the day an option changed.\n */\n public async listPendingCodingQuestions(sessionContext?: CompanionExecutionSessionContext): Promise<Array<{\n taskId: string; taskRef: string; question: string; parkedAt: string; resumable: boolean; decision: HumanDecision_Request;\n /** Which of the run's questions this is (`actorExecutionSuspensionRef`), opaque to a reader. An answer echoes it (#1581). */\n suspensionRef: string;\n }>> {\n return (await this.listParkedCodingRuns(sessionContext)).map((parked) => ({\n taskId: parked.taskId,\n taskRef: parked.checkpoint.taskRef,\n question: parked.checkpoint.suspension.question,\n parkedAt: parked.checkpoint.parkedAt,\n resumable: parked.checkpoint.suspension.resumable,\n decision: parked.decision,\n suspensionRef: parked.suspensionRef,\n }));\n }\n\n /**\n * Every coding run waiting on an operator, as the actor plane holds it.\n *\n * ONE system's waiting executions — not the 200 most recently updated rows of every actor, which is\n * what the task-list scans this replaced read, and why a parked coding row could fall outside the\n * window on a busy application and be reported as absent.\n *\n * A waiting row whose checkpoint does not parse is SKIPPED, never reported: it has lost the thing\n * an answer would continue, so it is not a parked run anybody can answer. The startup reconcile\n * aborts such a row for review; between restarts it is simply not offered.\n */\n private async listParkedCodingRuns(sessionContext?: CompanionExecutionSessionContext): Promise<Array<{\n executionId: string; taskId: string; checkpoint: ApplicationCodingRunCheckpoint; decision: HumanDecision_Request; suspensionRef: string;\n }>> {\n const waiting = await this.actorsSystem.listSuspendedActorExecutions(APPLICATION_CODING_SYSTEM_REF, sessionContext);\n const parked: Array<{ executionId: string; taskId: string; checkpoint: ApplicationCodingRunCheckpoint; decision: HumanDecision_Request; suspensionRef: string }> = [];\n for (const row of waiting) {\n const checkpoint = ApplicationCodingRunCheckpointSchema.safeParse(row.checkpoint?.context);\n const task = row.tasks[0];\n if (!checkpoint.success || !task || !row.suspension) continue;\n parked.push({ executionId: row._id, taskId: task._id, checkpoint: checkpoint.data, decision: row.suspension.decision, suspensionRef: actorExecutionSuspensionRef(row.suspension) });\n }\n return parked;\n }\n\n /**\n * A run that parked on a question, as the engine's driver is told to record it: the run waits on\n * its execution (`AWAITING_APPROVAL`) with the decision a person owes and the inputs an answer\n * continues from, and its task shows the question and what the turn cost so far.\n *\n * Deliberately skips change-set assessment and verification: a parked run's\n * edits are partial by definition, and assessing them as a final change set is\n * exactly the \"read a suspended turn as complete\" mistake the suspension field\n * exists to prevent.\n */\n private buildParkedCodingRunResult(params: {\n task: MetaWorkflow_ApplicationCodingTaskContract;\n taskId: string;\n baseline: GitWorktreeSnapshot;\n suspension: CodingAgent_SessionSuspension;\n output: Partial<CodingAgent_RunTaskOutput>;\n usage: CodingAgent_Usage | undefined;\n codingSessionEventCount: number;\n retainedCodingSessionFrames: Array<{ readonly kind: string; readonly payload: unknown }>;\n codingSessionRetention: CodingSessionRetentionSummary;\n startedAtMs: number;\n runSession: CompanionExecutionSessionContext | undefined;\n runStep: ReturnType<CompanionTraceabilityService['createStep']> | undefined;\n traceBestEffort: (operation: string, write: () => Promise<void>) => Promise<void>;\n }): CodingRunResult {\n const { task, taskId, baseline, suspension, output } = params;\n const parkedAt = new Date().toISOString();\n\n const durableOutput = {\n succeeded: false,\n disposition: ApplicationCodingTaskDisposition.AWAITING_OPERATOR_INPUT,\n durationMs: Date.now() - params.startedAtMs,\n // The question the operator must answer, front and centre.\n pendingQuestion: suspension.question,\n suspension,\n agentOutputTail: (output.finalMessage ?? '').slice(-OUTPUT_TAIL_CHARS),\n ...(output.stopReason ? { agentStopReason: output.stopReason } : {}),\n ...(output.turnCount ? { turnCount: output.turnCount } : {}),\n ...(output.continuations && output.continuations.length > 0 ? { continuations: output.continuations } : {}),\n ...(params.codingSessionEventCount > 0 ? { codingSessionEventCount: params.codingSessionEventCount } : {}),\n ...(params.retainedCodingSessionFrames.length > 0\n ? { codingSessionFrames: params.retainedCodingSessionFrames, codingSessionRetention: params.codingSessionRetention }\n : {}),\n ...(params.usage ? { usage: params.usage } : {}),\n ...(output.deniedPermissionCount !== undefined ? { deniedPermissionCount: output.deniedPermissionCount } : {}),\n ...(output.permissionDecisions && output.permissionDecisions.length > 0 ? { permissionDecisions: output.permissionDecisions } : {}),\n };\n\n // The resume inputs — see `ApplicationCodingRunCheckpointSchema` for why the CONTRACT and the\n // ORIGINAL baseline travel here rather than being re-derived when the answer arrives.\n const checkpoint: ApplicationCodingRunCheckpoint = {\n kind: APPLICATION_CODING_RUN_CHECKPOINT_KIND,\n taskRef: task.taskRef,\n contract: task,\n baseline,\n suspension,\n parkedAt,\n // Every leg so far, so the resume's row keeps their tokens (`mergeResumedLegUsage`).\n ...(params.usage ? { priorLegsUsage: params.usage } : {}),\n };\n\n return {\n kind: CodingRunEnding.PARKED,\n /*\n * UNROUTED, deliberately (#1751). Under the notify-and-proceed posture the ANSWERING AGENT settles\n * the questions it can before a person sees them (#1559), and an OWNER route admits only its\n * requester as a signed-in person: routed, every one of those answers would be refused and every\n * question would fall to the creator. A coding question is routed only once the route model can\n * express \"the agent acting within the posture the owner chose\" — until then its door is its\n * authority, and each settle still records its answer.\n */\n suspension: {\n decision: projectParkedCodingQuestionAsDecision({ taskId, taskRef: task.taskRef, suspension, parkedAt }),\n checkpointContext: checkpoint,\n taskOutput: durableOutput,\n },\n output: durableOutput,\n afterSettle: () => params.traceBestEffort('record-awaiting-input', () => this.traceOperationStart({\n sessionContext: params.runSession,\n step: params.runStep,\n type: 'application-coding-task-awaiting-input',\n summary: `Application coding task ${task.taskRef} is awaiting an operator answer`,\n payload: { taskId, question: suspension.question, resumable: suspension.resumable },\n })),\n };\n }\n\n /**\n * Has this build task ALREADY been run to a working result?\n *\n * Asked by the build dispatcher before it selects a task, and the reason is a measured money\n * leak rather than tidiness. `dispatch-next` picks `ready[0]`, and readiness is \"not landed\";\n * a task whose declared PRODUCT is never satisfied by the work it does is therefore ready\n * again the instant it finishes. Measured 2026-09-10 on Wonder CRM, where every task in the\n * plan declares `produces: []` and so can never land (#606): three consecutive dispatches\n * selected `build-task-contact-schema`, ran a full coding agent each time, and cost roughly\n * $7.50 per iteration. Nothing failed — each run succeeded — and the loop is unbounded.\n *\n * The durable actor-task rows are the right source and the only one that survives a restart:\n * an in-memory \"last dispatched\" would forget across the respawn that a rebuild triggers, and\n * the loop would resume.\n *\n * Deliberately COMPLETED only. A failed or cancelled run is exactly what an operator SHOULD be\n * able to re-dispatch, and a parked one is answered by resuming rather than by re-running.\n *\n * And a RE-ARMED completed run does not count (#1535): once the reason a task did not land is\n * fixed, `rearmBuildTask` records that on the run, and the task is offered again.\n */\n public async findCompletedRunForBuildTask(\n buildTaskRef: string,\n sessionContext?: CompanionExecutionSessionContext,\n ): Promise<{ taskId: string; completedAt?: string } | null> {\n const [first] = await this.listCountingCompletedRunsForBuildTask(buildTaskRef, sessionContext);\n return first === undefined ? null : { taskId: first.taskId, completedAt: first.completedAt };\n }\n\n /**\n * Put a build task back in the queue after the reason it did not land has been fixed (#1535).\n *\n * Every completed run the anti-loop guard still counts, and every failed run not yet re-armed (a forgiven\n * one included, #1581), gets a re-arm recorded on its own row, in its\n * long-term memory, with the reason and a note. Nothing about the run is rewritten: it still reads\n * as the run it was, and it now also reads as a run that was superseded, and why.\n *\n * Refuses when there is nothing to re-arm, naming why, because a re-arm that changes nothing would\n * let an operator believe a task was released when it was never held.\n */\n public async rearmBuildTask(\n buildTaskRef: string,\n request: { readonly reason: BuildTaskRearmReason; readonly note: string },\n sessionContext?: CompanionExecutionSessionContext,\n ): Promise<{ readonly rearmedRunTaskIds: readonly string[]; readonly rearm: BuildTaskRearm }> {\n /*\n * Completed runs hold a task through the anti-loop guard; failed ones through its attempt budget\n * (#1536). EVERY failed run not yet re-armed is re-armed, including the ones the budget currently\n * FORGIVES (a host failure, suspected interference): forgiveness is bounded per task, and a re-arm\n * that left the forgiven runs in place would leave their slots used for good, so the first host\n * failure after the re-arm would already count (#1581, third review F-1).\n */\n const failedNotRearmed = (await this.listAttributableFailedRunsForBuildTask(buildTaskRef, sessionContext, { includeRearmed: true }))\n .filter((run) => readBuildTaskRearm(run.memory) === undefined);\n const runs = [\n ...(await this.listCountingCompletedRunsForBuildTask(buildTaskRef, sessionContext)),\n ...failedNotRearmed,\n ];\n if (runs.length === 0) {\n throw new NothingToRearmError(\n `Build task \"${buildTaskRef}\" has no completed coding run that still counts and no failed one not yet re-armed, so there is nothing to re-arm: `\n + 'it was never run, or every run is already re-armed. A task in that state is '\n + 'offered by the next dispatch on its own.',\n );\n }\n const rearm: BuildTaskRearm = { reason: request.reason, note: request.note, rearmedAt: new Date().toISOString() };\n try {\n await this.serializeRunMemoryWrite(async () => {\n /*\n * Each run's memory is read again inside the lane: the listing above may predate a review or an interference\n * appended since, and writing its memory back would erase that entry.\n */\n const current = new Map((await this.listCompletedRunsForBuildTask(buildTaskRef, sessionContext)).map((run) => [run.taskId, run.memory]));\n for (const run of runs) {\n const memory = current.has(run.taskId) ? current.get(run.taskId) : run.memory;\n await this.executionsService.updateActorTask(run.taskId, { memory: withBuildTaskRearm(memory, rearm) }, sessionContext);\n }\n });\n } finally {\n // A re-arm is actor-plane memory only — no file moves — and it releases a task the boards held as\n // stuck. Announced even when a later update threw: the runs re-armed before it did still moved.\n this.announceRunStateChanged();\n }\n return { rearmedRunTaskIds: runs.map((run) => run.taskId), rearm };\n }\n\n /**\n * The FAILED coding runs of one build task that still count against its attempt budget (#1536) —\n * newest first, re-armed runs excluded, each with what the dispatcher needs to tell the next attempt\n * why this one failed.\n *\n * Only the task's OWN failures count. Since `703d07c3` a check that was red before the run started\n * no longer fails it (the run completes and records `carriedVerificationFailures`). A CANCELLED or\n * ABORTED run is not an attempt and is not listed — which includes a dispatch refused before\n * admission, settled ABORTED (#1581), and a FAILED row written before that which never started. A FAILED run the HOST caused (`failureAttribution`,\n * {@link deriveCodingRunFailureAttribution}) — an operator's cancel of a running turn among them — is\n * forgiven up to `MAXIMUM_HOST_FAILURE_EXCLUSIONS`, like suspected interference: past the bound it\n * counts, so a host condition that fails every attempt still retires the task. A re-arm releases the\n * forgiven runs too (`rearmBuildTask`). A row older than the field counts. A run the coding agent's usage\n * limit took (`codingAgentUsageLimit`, #2388) is excluded outright and spends no forgiveness: the build\n * pauses until the limit's reset rather than re-dispatching into it.\n */\n public async listAttributableFailedRunsForBuildTask(\n buildTaskRef: string,\n sessionContext?: CompanionExecutionSessionContext,\n options: { readonly includeRearmed?: boolean } = {},\n ): Promise<{ taskId: string; settledAt?: string; startedAt?: string; memory: Actors_Memory_Context | undefined; output: Record<string, unknown> }[]> {\n const failed = await this.executionsService.listActorTasks(CompanionActorTasksListQuerySchema.parse({\n status: FlowsActors_Status.FAILED,\n actorRefs: [...APPLICATION_CODING_AGENT_REFS],\n limit: 200,\n }), sessionContext);\n const counting: { taskId: string; settledAt?: string; startedAt?: string; memory: Actors_Memory_Context | undefined; output: Record<string, unknown>; interferenceSuspected: boolean; hostAttributed: boolean; usageLimited: boolean }[] = [];\n for (const task of failed) {\n const row = task as { _id?: string; actors?: { actorRef?: string }; input?: unknown; output?: unknown; completedAt?: string; startedAt?: string; memory?: Actors_Memory_Context };\n if (!isApplicationCodingAgentRef(row.actors?.actorRef)) continue;\n if (!isRecordValue(row.input) || row.input.taskRef !== buildTaskRef) continue;\n // A re-armed failure no longer counts against the budget; a retry may still want to READ it.\n if (options.includeRearmed !== true && readBuildTaskRearm(row.memory) !== undefined) continue;\n const output = isRecordValue(row.output) ? row.output : {};\n /*\n * A run the HOST declined to start is no attempt (#1581, seventh review F7): the build board and the\n * retry context already read it so through `deriveCodingRunStart`, and the budget is the third reader\n * of that question. Only a row written before #1581 is FAILED and never started; today it is ABORTED.\n */\n if (options.includeRearmed !== true\n && deriveCodingRunStart({ status: FlowsActors_Status.FAILED, ...(row.startedAt ? { startedAt: row.startedAt } : {}), output }) === CodingRunStart.REFUSED_BY_HOST) {\n continue;\n }\n counting.push({\n taskId: String(row._id),\n ...(row.completedAt ? { settledAt: row.completedAt } : {}),\n // Whether the run STARTED is what tells a retry that nothing ran (`deriveCodingRunStart`).\n ...(row.startedAt ? { startedAt: row.startedAt } : {}),\n memory: row.memory,\n output,\n interferenceSuspected: output.interferenceSuspected === true,\n hostAttributed: output.failureAttribution === CodingRunFailureAttribution.HOST,\n // The account's usage limit took the turn: no attempt, and no forgiveness spent (#2388).\n usageLimited: readRecordedCodingAgentUsageLimit(output) !== undefined,\n });\n }\n /*\n * A run that failed while other runs shared the tree may have failed for THEIR edits (#1528). The\n * budget forgives up to MAXIMUM_INTERFERENCE_RETRIES of those, so interference cannot retire a\n * task, and a task that genuinely cannot pass still does. A retry READING its history sees them all.\n */\n return (options.includeRearmed === true ? counting : selectBudgetCountingFailures(counting))\n .map(({ interferenceSuspected: _suspected, hostAttributed: _host, usageLimited: _limited, ...run }) => run);\n }\n\n /**\n * The completed coding runs of one build task that the anti-loop guard still counts — newest first,\n * re-armed runs excluded. One reader, so the guard and the re-arm cannot disagree about which runs\n * hold a task.\n */\n private async listCountingCompletedRunsForBuildTask(\n buildTaskRef: string,\n sessionContext?: CompanionExecutionSessionContext,\n ): Promise<{ taskId: string; completedAt?: string; memory: Actors_Memory_Context | undefined }[]> {\n return (await this.listCompletedRunsForBuildTask(buildTaskRef, sessionContext)).filter((run) => readBuildTaskRearm(run.memory) === undefined);\n }\n\n /**\n * Every COMPLETED coding run of one build task, re-armed ones included, in the order the actor plane lists\n * them (a caller that needs the latest sorts by `completedAt`), each with the interference the build wave\n * recorded on it (#2210). The wave reads it twice: to count how many interference re-arms the task has\n * already had (`MAXIMUM_INTERFERENCE_REARMS`), and to tell the next attempt that its previous one lost its\n * product to a sibling.\n */\n public async listCompletedRunsForBuildTask(\n buildTaskRef: string,\n sessionContext?: CompanionExecutionSessionContext,\n ): Promise<{ taskId: string; completedAt?: string; memory: Actors_Memory_Context | undefined; interference?: BuildTaskInterference }[]> {\n /*\n * Scoped to the CODING actors before the list is trimmed (#1359). This used to read the 200 most\n * recently updated `COMPLETED` tasks of EVERY actor, so a busy judge or labelling lane could push\n * a completed coding run out of the window — and this guard would then answer \"never ran\" and\n * reopen the loop it exists to close. What remains is a bound on coding runs alone: a build task\n * whose completed run is older than the 200 most recent COMPLETED coding runs is still missed.\n */\n const completed = await this.executionsService.listActorTasks(CompanionActorTasksListQuerySchema.parse({\n status: FlowsActors_Status.COMPLETED,\n actorRefs: [...APPLICATION_CODING_AGENT_REFS],\n limit: 200,\n }), sessionContext);\n\n const runs: { taskId: string; completedAt?: string; memory: Actors_Memory_Context | undefined; interference?: BuildTaskInterference }[] = [];\n for (const task of completed) {\n const row = task as { _id?: string; actors?: { actorRef?: string }; input?: unknown; completedAt?: string; memory?: Actors_Memory_Context };\n // MEMBERSHIP, not equality with one constant — the same reason\n // `reconcileInterruptedApplicationCodingTasks` gives: a second declared coding agent must\n // not make this silently answer \"never ran\".\n if (!isApplicationCodingAgentRef(row.actors?.actorRef)) continue;\n if (!isRecordValue(row.input) || row.input.taskRef !== buildTaskRef) continue;\n const interference = readBuildTaskInterference(row.memory);\n runs.push({ taskId: String(row._id), completedAt: row.completedAt, memory: row.memory, ...(interference ? { interference } : {}) });\n }\n return runs;\n }\n\n /**\n * Record on a COMPLETED run that the build wave found its product lost to a sibling (#2210). Appended to the\n * run's long-term memory beside any re-arm, so the run still reads as the run it was, and now also as one a\n * sibling interfered with. Refuses a run that is not a completed run of this task, because the record would\n * otherwise describe a run it was never measured on.\n */\n public async recordBuildTaskInterference(\n buildTaskRef: string,\n runTaskId: string,\n interference: BuildTaskInterference,\n sessionContext?: CompanionExecutionSessionContext,\n ): Promise<void> {\n await this.serializeRunMemoryWrite(async () => {\n const run = (await this.listCompletedRunsForBuildTask(buildTaskRef, sessionContext)).find((candidate) => candidate.taskId === runTaskId);\n if (!run) throw new Error(`Run ${runTaskId} is not a completed coding run of build task \"${buildTaskRef}\"; no interference is recorded on it.`);\n try {\n await this.executionsService.updateActorTask(runTaskId, { memory: withBuildTaskInterference(run.memory, interference) }, sessionContext);\n } finally {\n // The build record shows it; a board that read the run before must read it again.\n this.announceRunStateChanged();\n }\n });\n }\n\n /**\n * Record on a COMPLETED run what the review of its website copy found (#2593), beside any re-arm or interference.\n * Refuses a run that is not a completed run of this task, for the reason {@link recordBuildTaskInterference} does.\n */\n public async recordWebsiteCopyReview(\n buildTaskRef: string,\n runTaskId: string,\n review: WebsiteCopyReview,\n sessionContext?: CompanionExecutionSessionContext,\n ): Promise<void> {\n await this.serializeRunMemoryWrite(async () => {\n const run = (await this.listCompletedRunsForBuildTask(buildTaskRef, sessionContext)).find((candidate) => candidate.taskId === runTaskId);\n if (!run) throw new Error(`Run ${runTaskId} is not a completed coding run of build task \"${buildTaskRef}\"; no copy review is recorded on it.`);\n try {\n await this.executionsService.updateActorTask(runTaskId, { memory: withWebsiteCopyReview(run.memory, review) }, sessionContext);\n } finally {\n this.announceRunStateChanged();\n }\n });\n }\n\n /**\n * Which runs shared the tree with this one, and which paths both changed, computed NOW from every window\n * this process holds (#2210). `closeCodingRunWindow` answers the same question at the run's own settle,\n * when a sibling still running has not reported its paths yet; at the end of a wave every window is\n * closed, so this one sees every sibling. `null` for a run this process holds no window for, or one that\n * overlapped nothing.\n */\n public describeCodingRunOverlap(taskId: string): CodingRunConcurrencyRecord | null {\n const window = this.codingRunWindows.find((candidate) => candidate.taskId === taskId);\n if (!window || window.endedAtMs === undefined) return null;\n const record = describeRunConcurrency(this.codingRunWindows, { taskId, startedAtMs: window.startedAtMs, endedAtMs: window.endedAtMs }, window.changedPaths ?? []);\n return record.overlappingTaskRefs.length > 0 ? record : null;\n }\n\n /**\n * A run for this build task that is PARKED on an unanswered question.\n *\n * The sibling above answers \"has this task already run to a terminal state?\" and is what the\n * dispatcher's anti-loop guard consults. It lists `COMPLETED` tasks only, so a run that SUSPENDS is\n * invisible to it, and its task would be offered again on every dispatch, forever.\n *\n * Measured 2026-09-16 on Wonder CRM: `build-task-gdpr-data-handling-governance` suspended, and the\n * next `dispatch-next` dry run selected the same task — neither landed, nor marked, nor skipped.\n * That is the money-burning loop `buildUnlandableTaskError` was written against (#606, ~$7.50 a\n * turn), reached through the one door that guard cannot see.\n *\n * Re-dispatching a parked task is worse than re-dispatching a completed one: it starts a NEW run\n * and abandons the persisted session the operator's answer would have resumed, so the question and\n * everything the agent established are lost rather than merely repeated.\n *\n * Reads the waiting EXECUTIONS of the coding system since #1359 — see `listParkedCodingRuns` for\n * the residual that closed.\n */\n public async findParkedRunForBuildTask(\n buildTaskRef: string,\n sessionContext?: CompanionExecutionSessionContext,\n ): Promise<{ taskId: string; question: string; resumable: boolean } | null> {\n for (const parked of await this.listParkedCodingRuns(sessionContext)) {\n if (parked.checkpoint.taskRef !== buildTaskRef) continue;\n /*\n * RESUMABLE only, and matching the answer door's own predicate is the whole point. A\n * non-resumable park cannot be answered — that door refuses it — so reporting it here would\n * make the dispatcher skip the one task no operator can unblock: a dead end in both\n * directions. A non-resumable park is therefore reported as NOT parked, and a fresh dispatch\n * is the only way forward for it.\n */\n if (!parked.checkpoint.suspension.resumable) continue;\n return { taskId: parked.taskId, question: parked.checkpoint.suspension.question, resumable: true };\n }\n return null;\n }\n\n /**\n * The parked run behind one TASK id, or `null` when nothing answerable waits under it.\n *\n * The task id is the lane's handle and the execution is the engine's, so this is the join: the\n * task row names its execution, and the driver says whether that execution is waiting. Every way\n * of not being a parked coding run answers `null` — not a coding task, no execution, not waiting,\n * a checkpoint that no longer parses. A read that FAILS answers `null` too in the lenient default,\n * for the one caller that treats every miss alike (the answering-agent loop, whose miss sends the\n * question to the creator); a\n * STRICT read throws it instead, for a caller that must not tell a person \"nothing is waiting\" when\n * nothing was read (#1581, tenth and eleventh reviews).\n */\n private async readParkedCodingRun(\n taskId: string,\n sessionContext?: CompanionExecutionSessionContext,\n /**\n * STRICT: a read that FAILED throws instead of answering `null` — for a caller that must tell \"nothing\n * is waiting\" from \"could not tell\" (#1581, tenth review R10-1): every door that answers a person (the\n * answer door, the per-run cancel, a chain's withdraw) reads strictly.\n */\n options: { readonly strict?: boolean } = {},\n ): Promise<{ executionId: string; suspensionRef: string; checkpoint: ApplicationCodingRunCheckpoint; mode: CodingRunConcurrency } | null> {\n let executionId: string | undefined;\n try {\n const row = await this.executionsService.getActorTask(taskId, sessionContext);\n if (!isApplicationCodingAgentRef(row.actors?.actorRef)) return null;\n executionId = row.wildoApplicationActorSystemExecutionId;\n } catch (error) {\n if (options.strict === true && !isAbsentParkRead(error)) throw error;\n return null;\n }\n if (!executionId) return null;\n try {\n const waiting = await this.actorsSystem.readSuspendedActorExecution(executionId, sessionContext);\n const checkpoint = ApplicationCodingRunCheckpointSchema.safeParse(waiting.row.checkpoint?.context);\n // A run parked from a wave resumes as one: it holds only its task, never the tree (#1528).\n const mode = isConcurrentRunSubject(waiting.row.exclusiveSubject) ? CodingRunConcurrency.CONCURRENT : CodingRunConcurrency.SINGLE_FLIGHT;\n // The suspension it waits on NOW: a resume carries it, so an answer read against one question cannot continue the next (#1581, seventh review F9).\n return checkpoint.success ? { executionId, suspensionRef: actorExecutionSuspensionRef(waiting.suspension), checkpoint: checkpoint.data, mode } : null;\n } catch (error) {\n // `readSuspendedActorExecution` refuses an execution that is not waiting — already answered,\n // cancelled, settled. For this door that is \"nothing to answer\", not a fault; a failed read is.\n if (options.strict === true && !isAbsentParkRead(error)) throw error;\n return null;\n }\n }\n\n /**\n * Append one answer to `src/build-plan/CODING-ANSWERS.md` — the record of what a person told a\n * parked coding run (#1454, Step 6). Until then the answer lived only in the agent session and\n * the run log, so a reviewer accepting the change set could not see the decision it rests on.\n *\n * Best-effort: a record that cannot be written is logged and the answer still goes to the agent\n * — the person's answer is not held hostage to a file. The file lands beside the build plan as a\n * working edit; a commit accepts it like every other decision record.\n */\n private async recordCodingQuestionAnswer(\n taskRef: string,\n question: string,\n answer: string,\n source: { readonly answeredBy?: CodingQuestionAnswerer; readonly basis?: string; readonly answeredByRef?: string } = {},\n ): Promise<void> {\n const specificationsPackageRoot = this.companionContext.resolvedSpecifications?.packageRoot;\n const buildPlanPath = getFamilyPackageRelativePath(ApplicationSpecificationFamily.BUILD_PLAN);\n if (!specificationsPackageRoot || !buildPlanPath) return;\n const filePath = join(specificationsPackageRoot, dirname(buildPlanPath), CODING_ANSWERS_FILE_NAME);\n try {\n await mkdir(dirname(filePath), { recursive: true });\n const entry = renderCodingQuestionAnswerEntry({ taskRef, question, answer, answeredAt: new Date().toISOString(), ...source });\n if (existsSync(filePath)) await appendFile(filePath, entry, 'utf8');\n else await writeFile(filePath, `${renderCodingQuestionAnswersHeader()}${entry}`, 'utf8');\n } catch (error) {\n this.logDebug('Could not record the coding-question answer beside the build plan (the answer still resumes the run)', { taskRef, error: String(error) });\n }\n }\n\n /**\n * Answer a parked coding task's question, resuming the SAME agent session.\n *\n * ONE door, in-process or after a restart (#1359). The run's execution is `AWAITING_APPROVAL`\n * with the contract, the original baseline and the agent session on its checkpoint, and the\n * engine's `resumeActorExecution` continues it under the same ids: it refuses an execution that is\n * no longer waiting on the question this answer names BEFORE moving anything — so a second answer\n * to one question cannot run the work twice — moves the rows back to `PROCESSING`, and settles\n * whatever the continued run does, including parking again on a second question.\n *\n * WHICH question the answer names is the caller's to say, and it is required (`expected.suspensionRef`,\n * the value a pending question and its workbench row carry): an answer that named nothing would\n * continue whichever question the run waits on when the request lands, which is not necessarily the\n * one its person read (#1581, eighth and ninth reviews).\n *\n * A single-flight run resumes under the worktree mutation lock, exactly like a fresh dispatch (a\n * resume mutates the same worktree); a run parked from a wave resumes beside it, holding no lock, as\n * it ran (#1528). Either way it re-enters the turn ladder through `session/load`, so the agent\n * continues with its full context. The mutation scope and verification plan are the parked\n * contract's; a resume is held to the same bounds as the first run, and its change set is measured\n * from the first run's baseline.\n */\n public async respondToApplicationCodingTaskQuestion(\n taskId: string,\n answer: string,\n sessionContext: CompanionExecutionSessionContext | undefined,\n expected: {\n readonly suspensionRef: string;\n /** Who answered (#1658) — `git:<email>`, `agent:<name>`, a workbench user — written into `CODING-ANSWERS.md`. */\n readonly answeredByRef?: string;\n /** The signed-in person answering (#1751), when the door has one: the decision's recorded actor. */\n readonly actingUserId?: string;\n },\n ): Promise<ApplicationCodingTaskRunAdmission> {\n // A missing answer is a VALIDATION 400 regardless of whether a task is parked\n // — it is a malformed request, not a state conflict.\n const trimmedAnswer = this.admitTypedInput(() => {\n const value = answer.trim();\n if (value.length === 0) throw new Error('empty answer');\n return value;\n }, 'An answer is required to resume a parked coding task.');\n // Which question it answers: required, and a blank reference names none — a 400 at every door (#1581, R12-1).\n const answeredRef = this.admitTypedInput(() => {\n const value = expected.suspensionRef.trim();\n if (value.length === 0) throw new Error('empty suspensionRef');\n return value;\n }, 'An answer must name the question it answers (`suspensionRef`, as the pending question carries it).');\n // STRICT: a failed read must not tell a person their question is gone (#1581, eleventh review R11-5).\n const parked = await this.readParkedCodingRun(taskId, sessionContext, { strict: true }).catch((error: unknown) => {\n this.logger.warn('The answer door could not read the coding run\\'s park', { taskId, error: describeCaughtError(error) });\n throw this.buildDispatchConflictError(\n `Coding task ${taskId} could not be read, so your answer was not applied. Its question may still be waiting; try again.`,\n );\n });\n if (!parked) {\n throw this.buildDispatchConflictError(\n `No coding task is awaiting an answer under id ${taskId}. It was already answered, cancelled or settled, `\n + 'or it is not a coding run.',\n );\n }\n const { checkpoint, executionId, mode } = parked;\n // The fast 409: the run has asked again since the caller read its question. The driver re-checks the\n // same suspension reference when it resumes, so a question asked after this point is refused there too.\n if (answeredRef !== parked.suspensionRef) {\n throw this.buildDispatchConflictError(\n `Coding task ${taskId} has asked another question since the one you answered. Read its current question and answer that.`,\n );\n }\n // Past that check the caller's reference IS this one; the driver holds the resume to it.\n const { suspensionRef } = parked;\n if (!checkpoint.suspension.resumable) {\n throw this.buildDispatchConflictError(\n `Coding task ${taskId} parked on a question, but its agent does not support session resume, `\n + 'so the answer cannot be delivered to the same session. Re-dispatch the task with the answer folded into the objective.',\n );\n }\n // Answers are serialized behind the same worktree: refused while another run holds it. The\n // driver re-takes the subject on resume and refuses there too; this names the holder first.\n await this.refuseWhileWorktreeIsHeld(null, sessionContext);\n if (mode === CodingRunConcurrency.SINGLE_FLIGHT) await this.refuseWhileConcurrentRunsInFlight(sessionContext);\n const task = checkpoint.contract;\n const verificationPlans = this.admitTypedInput(\n () => resolveApplicationCodingTaskVerificationPlans(task.verificationIntent.requiredChecks),\n 'The parked coding task names a verification check this host no longer registers.',\n );\n\n const admission = createDeferred<ApplicationCodingTaskRunAdmission>();\n const resumeBody = async () => {\n /*\n * Refused while THIS process still runs a chain for the task (#1581, fifth review R5-1/R5-2). A\n * run that parked is still registered while its own chain offers the question to the answering\n * agent (#1559). Under single-flight the worktree lock already excludes a person's answer there;\n * a CONCURRENT run holds no lock, so without this a person's resume would take over the chain's\n * registration and settlement, and the chain's ending would delete the one and strand the other.\n * Checked HERE, where it is followed by the registration with nothing awaited in between, and\n * nowhere earlier: a second, earlier check could only ever repeat this one.\n */\n this.refuseWhileRunChainIsLive(taskId);\n // ONE settlement for the whole chain: the resumed turn, and any questions the answering agent\n // then answers under the same hold (#1559) — a caller awaiting it sees the chain's final state.\n const settlement = createDeferred<void>();\n this.applicationCodingTaskSettlements.set(taskId, { promise: settlement.promise, resolve: () => settlement.resolve(undefined) });\n /*\n * Registered for the WHOLE chain, as a dispatched run is (#1581, fourth review A-1): each resume\n * inherits this entry, so an operator's cancel reaches the resumed turn, and a cancel made while\n * the answering agent decides a follow-up question still finds the run rather than \"nothing is\n * running\". Removed when the chain settles.\n */\n this.registerActiveRun({ taskId, startedAt: new Date().toISOString(), abortController: new AbortController(), mode: mode ?? CodingRunConcurrency.SINGLE_FLIGHT });\n let resumed: ParkedRunResume | undefined;\n try {\n resumed = await this.resumeParkedRunHoldingLock({\n taskId,\n executionId,\n suspensionRef,\n checkpoint,\n answer: trimmedAnswer,\n answerSource: expected.answeredByRef?.trim() ? { answeredByRef: expected.answeredByRef.trim() } : {},\n ...(expected.actingUserId ? { actingUserId: expected.actingUserId } : {}),\n verificationPlans,\n sessionContext,\n mode,\n onAdmitted: (admitted) => admission.resolve(admitted),\n });\n // Only a resume that RAN can have parked again: a refused one left the person's question where\n // it was, and it is still theirs, not the answering agent's (#1581, seventh review F5).\n if (resumed.outcome === ParkedRunResumeOutcome.RAN) await this.answerParkedQuestionsHoldingLock(taskId, sessionContext);\n } finally {\n // Awaited ONLY when cancelled: a chain that was not checks and unregisters in one synchronous step,\n // so no cancel can land between the two and be lost (#1581, ninth review R9-4).\n const ending = this.isRunCancelled(taskId) ? await this.withdrawCancelledRunChain(taskId, sessionContext) : null;\n this.unregisterActiveRun(taskId);\n this.applicationCodingTaskSettlements.get(taskId)?.resolve();\n // A resume that never reached the executor answered nobody: the caller is told why, in its own terms.\n admission.reject(this.buildDispatchConflictError(this.describeUnresumedAnswer(taskId, resumed, ending)));\n this.announceRunStateChanged();\n }\n };\n // A run parked from a wave resumes beside it, holding no lock, as it ran (#1528).\n const resumeRun = mode === CodingRunConcurrency.CONCURRENT\n ? resumeBody()\n : withDedicatedFileLock(this.getWorkspaceMutationLockPath(), resumeBody, { retries: { retries: 0 } });\n resumeRun.catch((error: unknown) => {\n admission.reject(this.mapLockError(error));\n this.logDebug('Application coding-task resume run terminated with error', {\n taskId,\n error: describeCaughtError(error),\n });\n });\n\n return admission.promise;\n }\n\n /**\n * Why a person's answer resumed nothing (#1581, seventh review F5; eighth review R8-5), in the terms of\n * what actually happened. A cancel wins over any refusal: the run is withdrawn either way. A held subject\n * leaves the question WAITING, so the person may answer again; only the driver's NOT_SUSPENDED means the\n * question is gone; anything else is a failure to ask, and says so.\n */\n private describeUnresumedAnswer(taskId: string, resumed: ParkedRunResume | undefined, ending: CancelledParkOutcome | null): string {\n if (ending !== null || resumed?.outcome === ParkedRunResumeOutcome.CANCELLED) {\n if (ending === CancelledParkOutcome.STILL_WAITING) {\n return `Coding task ${taskId} was cancelled before your answer could resume it, but its question could not be withdrawn and is still waiting. Cancel it again.`;\n }\n if (ending === CancelledParkOutcome.UNCONFIRMED) {\n return `Coding task ${taskId} was cancelled before your answer could resume it, but the run could not be read to confirm it was withdrawn. Check it, and cancel it again if it is still waiting.`;\n }\n return `Coding task ${taskId} was cancelled before your answer could resume it; it no longer waits, and your answer ran nothing.`;\n }\n if (resumed?.outcome === ParkedRunResumeOutcome.REFUSED) {\n if (isActorExecutionSubjectBusyError(resumed.refusal)) {\n return `Coding task ${taskId} could not be resumed yet: another run holds its worktree. Its question is still waiting — answer again once that run finishes.`;\n }\n if (isActorExecutionNotSuspendedError(resumed.refusal)) {\n return `Coding task ${taskId} could not be resumed: it is no longer awaiting this answer (it was answered, cancelled, or has asked again).`;\n }\n return `Coding task ${taskId} could not be resumed (${describeCaughtError(resumed.refusal)}). Its question is still waiting; answer again.`;\n }\n return `Coding task ${taskId} could not be resumed. Its question is still waiting; answer again.`;\n }\n\n /**\n * The terminal record of a resume a cancel stopped before any turn (#1581, ninth review R9-6): its trace\n * session was opened for a turn that never ran, and must say why it holds nothing else. Best effort.\n */\n private async recordCancelledBeforeTurn(trace: CodingRunTrace, taskRef: string, taskId: string): Promise<void> {\n await trace.traceBestEffort('record-cancelled-before-turn', () => this.traceOperationStart({\n sessionContext: trace.runSession,\n step: trace.runStep,\n type: 'application-coding-task-cancelled-before-turn',\n summary: `Application coding task ${taskRef} was cancelled before its answer resumed a turn`,\n payload: { taskId },\n }));\n }\n\n /** The terminal record of a resume the DRIVER refused before any turn (#1581, tenth review R10-2). Best effort. */\n private async recordResumeRefused(trace: CodingRunTrace, taskRef: string, taskId: string, refusal: unknown): Promise<void> {\n await trace.traceBestEffort('record-resume-refused', () => this.traceOperationStart({\n sessionContext: trace.runSession,\n step: trace.runStep,\n type: 'application-coding-task-resume-refused',\n summary: `Application coding task ${taskRef} could not be resumed: ${describeCaughtError(refusal)}`,\n payload: { taskId },\n }));\n }\n\n /**\n * Refuse (409) to start a person's resume while this process still runs a chain for the task — the\n * park's own chain offering its question to the answering agent (#1559, #1581).\n */\n private refuseWhileRunChainIsLive(taskId: string): void {\n if (!this.activeRuns.has(taskId)) return;\n throw this.buildDispatchConflictError(\n `Coding task ${taskId} is still being handled here: its own run is deciding whether it can answer the question `\n + 'it parked on, or it is being cancelled. Answer once it reports the question as waiting for you.',\n );\n }\n\n /**\n * Continue one parked run with an answer. The CALLER holds the worktree mutation lock (a concurrent\n * run holds none) and owns the run's settlement — which is what lets the answering agent resume a\n * run from inside the hold of the run that parked, without a second acquire (the lock is not\n * re-entrant) and without the build loop taking the worktree in between (#1559).\n *\n * Says how it went ({@link ParkedRunResumeOutcome}); a caller must not treat a refused or cancelled\n * resume as a run that happened.\n */\n private async resumeParkedRunHoldingLock(input: {\n readonly taskId: string;\n readonly executionId: string;\n /** The suspension the answer was read against: the driver refuses a run now waiting on a later one (#1581, seventh review F9). */\n readonly suspensionRef: string;\n readonly checkpoint: ApplicationCodingRunCheckpoint;\n readonly answer: string;\n /** Who answered, for `CODING-ANSWERS.md` — nothing for a person. */\n readonly answerSource: { readonly answeredBy?: CodingQuestionAnswerer; readonly basis?: string; readonly answeredByRef?: string };\n /** The signed-in person answering, when one is (#1751) — recorded as the decision's actor. */\n readonly actingUserId?: string;\n readonly verificationPlans: ReturnType<typeof resolveApplicationCodingTaskVerificationPlans>;\n readonly sessionContext?: CompanionExecutionSessionContext;\n readonly mode?: CodingRunConcurrency;\n readonly onAdmitted?: (admitted: ApplicationCodingTaskRunAdmission) => void;\n }): Promise<ParkedRunResume> {\n const { taskId, checkpoint } = input;\n const task = checkpoint.contract;\n const baseline = checkpoint.baseline;\n /*\n * INHERIT the run's registration when there is one (#1581, third review). Answered inside the hold of\n * the run that parked (#1559), the run is still registered, and an operator may have cancelled it\n * while the answering agent was deciding: a fresh controller dropped that cancel and ran the resumed\n * turn anyway. The entry is restored afterwards rather than deleted, so a cancel between chained\n * resumes still finds the run instead of answering \"nothing is running\".\n */\n const inherited = this.activeRuns.get(taskId);\n this.activeRuns.set(taskId, {\n taskId,\n startedAt: inherited?.startedAt ?? new Date().toISOString(),\n abortController: inherited?.abortController ?? new AbortController(),\n mode: input.mode ?? inherited?.mode ?? CodingRunConcurrency.SINGLE_FLIGHT,\n });\n // The resumed turn is coding work in its own right, registered or not around it: it holds the beat.\n this.adjustCodingWorkDepth(taskId, 1);\n this.openCodingRunWindow(taskId, task.taskRef);\n let admitted = false;\n let cancelledAfterAdmission = false;\n let refusal: unknown;\n try {\n // A cancel already made opens no trace for a turn that will not run (#1581, eighth review R8-6).\n if (this.isRunCancelled(taskId)) return { outcome: ParkedRunResumeOutcome.CANCELLED };\n const trace = await this.openCodingRunTrace(taskId, task.taskRef);\n /*\n * The cancel check before a turn starts, for both answerers (#1581, seventh review F3): after the\n * last thing this chain awaits before the driver's resume. A cancel found here starts no turn and\n * spends nothing, and the chain that owns the run withdraws the park. One landing later — inside\n * the driver's own read-and-take — is caught by the executor, which hands the question back.\n */\n if (this.isRunCancelled(taskId)) {\n await this.recordCancelledBeforeTurn(trace, task.taskRef, taskId);\n return { outcome: ParkedRunResumeOutcome.CANCELLED };\n }\n await this.superviseCodingRun(task.taskRef, taskId, trace, async (capture) => {\n try {\n return await this.actorsSystem.resumeActorExecution(\n input.executionId,\n async (opened, resumed) => {\n admitted = true;\n /*\n * A cancel landing inside the driver's own read-and-take (#1581, eighth review R8-7): the rows\n * are PROCESSING already, so the SAME question is handed back — its decision and resume\n * inputs, the task's output left as it was, under a new suspension reference as every\n * suspension gets — and the chain withdraws the park CANCELLED on its way out, like any\n * cancelled park. No answer recorded, no turn started, no attempt spent.\n */\n if (this.isRunCancelled(taskId)) {\n cancelledAfterAdmission = true;\n return capture({\n kind: CodingRunEnding.PARKED,\n suspension: { decision: resumed.suspension.decision, checkpointContext: checkpoint },\n output: undefined,\n afterSettle: () => this.recordCancelledBeforeTurn(trace, task.taskRef, taskId),\n });\n }\n // Admitted HERE, once the engine has moved the rows back to PROCESSING: a resume the\n // driver refuses (somebody answered first) rejects the admission instead of claiming it.\n input.onAdmitted?.({\n taskId,\n status: FlowsActors_Status.PROCESSING,\n taskRef: task.taskRef,\n baselineHeadSha: baseline.headSha,\n baselineDirtyFileCount: Object.keys(baseline.files).length,\n });\n // Started again, announced only NOW that the engine has moved its rows back to PROCESSING:\n // a read that re-derived before that would still see the run as parked.\n this.announceRunStateChanged();\n /*\n * The answer is a DECISION the change set will rest on: recorded beside the build plan\n * before the turn, so a turn that then fails still leaves the decision where a reviewer\n * reads (#1454, Step 6) — and only once the driver ADMITTED the resume, so an answer that\n * resumed nothing is never recorded as one that did (#1581, seventh review F5).\n */\n await this.recordCodingQuestionAnswer(task.taskRef, checkpoint.suspension.question, input.answer, input.answerSource);\n return capture(await this.executeApplicationCodingTask(\n task,\n renderApplicationCodingTaskAgentPrompt(task),\n input.verificationPlans,\n opened,\n baseline,\n trace,\n { continuationOfSessionId: checkpoint.suspension.sessionId, answerPrompt: input.answer, ...(checkpoint.priorLegsUsage ? { priorLegsUsage: checkpoint.priorLegsUsage } : {}) },\n ));\n },\n trace.runSession,\n {\n ...this.codingRunOptions,\n expectedSuspensionRef: input.suspensionRef,\n /*\n * The answer, so the status change that ends the wait records its outcome (#1751), whoever\n * answered — the person, or the answering agent (#1559). A coding park is deliberately NOT\n * routed (see where it parks), so `actor` only feeds the record.\n */\n decision: {\n ...(input.actingUserId ? { actor: humanDecisionSettler(input.actingUserId) } : {}),\n answer: {\n decisionId: taskId,\n optionRef: Workbench_ParkedCodingQuestionOptionRef.ANSWER,\n values: [{ ref: WORKBENCH_PARKED_CODING_QUESTION_FIELD_REF, value: input.answer }],\n },\n },\n },\n );\n } catch (error) {\n if (!admitted) refusal = error;\n throw error;\n }\n });\n if (cancelledAfterAdmission) return { outcome: ParkedRunResumeOutcome.CANCELLED };\n if (admitted) return { outcome: ParkedRunResumeOutcome.RAN };\n // The trace opened for this resume holds no turn: it says why (#1581, tenth review R10-2).\n await this.recordResumeRefused(trace, task.taskRef, taskId, refusal);\n return { outcome: ParkedRunResumeOutcome.REFUSED, refusal };\n } finally {\n this.endCodingRunWindow(taskId);\n if (inherited) this.activeRuns.set(taskId, inherited);\n else this.activeRuns.delete(taskId);\n this.adjustCodingWorkDepth(taskId, -1);\n // NOT announced here: this runs inside a chain its CALLER settles (`resumeBody`, or a fresh run\n // answering its parked questions), and that caller announces once the whole chain has settled.\n }\n }\n\n /**\n * Offer a run's parked question to the ANSWERING AGENT before it reaches the creator (#1559), and\n * keep doing so while the run parks again on a question the agent can answer.\n *\n * Runs inside the worktree hold of the run that parked, BEFORE that run's settlement resolves: the\n * build loop waits on the settlement, so it sees the chain's final outcome, and it cannot take the\n * worktree between the park and the answer — a race that would send answerable questions to a person\n * for no reason.\n *\n * Bounded three ways, all in `decideAgentAnswerAttempt`: the posture (GUIDED keeps every question with\n * the person), one verdict per question, and {@link MAXIMUM_AGENT_ANSWERS_PER_RUN} answers per run.\n * Every verdict is written to the run's task memory BEFORE anything acts on it, so a wrong\n * self-answer can be audited and a restart cannot ask the same question twice — except a verdict the\n * agent reaches after an operator cancelled the run, which is dropped: it would record an answer\n * nothing applied.\n *\n * Never fails the run. A refusal, a failed model call, an unparseable answer or a resume the driver\n * refused leaves the park as it was, and the question reaches the creator. A CANCEL is the one\n * exception, and it is not handled here: whichever way this returns, the chain that owns the run\n * withdraws a cancelled park when it ends ({@link withdrawCancelledRunChain}).\n */\n private async answerParkedQuestionsHoldingLock(taskId: string, sessionContext?: CompanionExecutionSessionContext): Promise<void> {\n try {\n for (;;) {\n // A cancel stops the handling at once: no model call is spent on a run that is ending (#1581).\n if (this.isRunCancelled(taskId)) return;\n const parked = await this.readParkedCodingRun(taskId, sessionContext);\n if (!parked || !parked.checkpoint.suspension.resumable) return;\n const row = await this.executionsService.getActorTask(taskId, sessionContext);\n const question = parked.checkpoint.suspension.question;\n const decision = decideAgentAnswerAttempt({\n posture: APPLICATION_CREATION_AUTONOMY_POSTURE,\n question,\n priorRecords: readParkedQuestionAnswers(row.memory),\n });\n if (decision !== AgentAnswerAttemptDecision.ATTEMPT) {\n this.logDebug('Parked question left for the creator', { taskId, decision });\n return;\n }\n const task = parked.checkpoint.contract;\n const agentOutputTail = String((row.output as { agentOutputTail?: unknown } | undefined)?.agentOutputTail ?? '');\n const output = await this.askAnsweringAgent({ brief: renderApplicationCodingTaskAgentPrompt(task), question, agentOutputTail });\n if (!output) return;\n // Cancelled while the agent decided: its verdict is NOT recorded — it would describe an answer never applied.\n if (this.isRunCancelled(taskId)) return;\n const answer = output.verdict === ParkedQuestionAnswerVerdict.ANSWERED ? output.answer.trim() : '';\n const record: ParkedQuestionAnswerRecord = {\n // An `answered` with no answer is not an answer; the creator is asked.\n verdict: answer.length > 0 ? ParkedQuestionAnswerVerdict.ANSWERED : ParkedQuestionAnswerVerdict.PRODUCT_DECISION,\n question,\n answer,\n basis: output.basis.trim(),\n decidedAt: new Date().toISOString(),\n };\n await this.executionsService.updateActorTask(taskId, { memory: withParkedQuestionAnswer(row.memory, record) }, sessionContext);\n this.logger.info('The answering agent returned a verdict on a parked coding question', {\n taskId, taskRef: task.taskRef, verdict: record.verdict,\n });\n if (record.verdict !== ParkedQuestionAnswerVerdict.ANSWERED) return;\n const resumed = await this.resumeParkedRunHoldingLock({\n taskId,\n executionId: parked.executionId,\n suspensionRef: parked.suspensionRef,\n checkpoint: parked.checkpoint,\n answer,\n answerSource: { answeredBy: CodingQuestionAnswerer.ANSWERING_AGENT, basis: record.basis },\n verificationPlans: resolveApplicationCodingTaskVerificationPlans(task.verificationIntent.requiredChecks),\n sessionContext,\n mode: parked.mode,\n });\n // Only a resume that RAN can have parked again on a question worth offering.\n if (resumed.outcome !== ParkedRunResumeOutcome.RAN) return;\n }\n } catch (error) {\n this.logger.warn('The answering agent could not handle a parked coding question; it goes to the creator unless the run was cancelled', {\n taskId,\n error: describeCaughtError(error),\n });\n }\n }\n\n /** Whether an operator cancelled the run this process is handling for `taskId`. */\n private isRunCancelled(taskId: string): boolean {\n return this.activeRuns.get(taskId)?.abortController.signal.aborted === true;\n }\n\n /**\n * End a run an operator cancelled while its chain was handling it (#1581, sixth to tenth reviews): a run\n * PARKED at this point is withdrawn, `CANCELLED`, \"the person chose not to continue\". Called from each\n * chain's ONE exit path, and only when the chain was cancelled, so no way of leaving the question handling\n * (a refusal, a failed or unparseable model call, a resume the driver refused) leaves a cancelled run\n * parked. The withdraw is recorded on the entry, which stays registered until the caller deletes it, so a\n * person's answer is refused until it is done and a second cancel answers with its outcome. A\n * `CANCELLED` run is no attempt of the task's.\n */\n private withdrawCancelledRunChain(taskId: string, sessionContext?: CompanionExecutionSessionContext): Promise<CancelledParkOutcome> {\n const entry = this.activeRuns.get(taskId);\n const withdrawal = this.endParkIfWaiting(taskId, sessionContext, entry ? this.cancellersByController.get(entry.abortController) : undefined);\n if (entry) entry.withdrawal = withdrawal;\n return withdrawal;\n }\n\n /**\n * Withdraw the task's park if one is waiting — `CANCELLED` — and say what became of it. Reads STRICTLY,\n * so a store that cannot be read is reported as UNCONFIRMED rather than as \"nothing was waiting\"\n * (#1581, tenth review R10-1). Never throws: its callers run in a `finally` or answer a person.\n */\n private async endParkIfWaiting(\n taskId: string,\n sessionContext?: CompanionExecutionSessionContext,\n /** Who withdrew it (#1751), when a signed-in person did: recorded as the decider of the withdrawn question. */\n withdrawnByUserId?: string,\n ): Promise<CancelledParkOutcome> {\n try {\n const parked = await this.readParkedCodingRun(taskId, sessionContext, { strict: true });\n if (!parked) return CancelledParkOutcome.ENDED;\n await this.actorsSystem.cancelSuspendedActorExecution(parked.executionId, sessionContext,\n withdrawnByUserId ? { decision: { actor: humanDecisionSettler(withdrawnByUserId) } } : undefined);\n this.logDebug('A cancelled coding run was withdrawn from its park', { taskId, executionId: parked.executionId });\n return CancelledParkOutcome.ENDED;\n } catch (error) {\n this.logger.warn('A cancelled coding run could not be withdrawn from its park', { taskId, error: describeCaughtError(error) });\n try {\n // Refused because it is no longer waiting (withdrawn meanwhile) ends it as surely as withdrawing it.\n return (await this.readParkedCodingRun(taskId, sessionContext, { strict: true })) ? CancelledParkOutcome.STILL_WAITING : CancelledParkOutcome.ENDED;\n } catch {\n return CancelledParkOutcome.UNCONFIRMED;\n }\n }\n }\n\n /** ONE structured call to the answering agent; `null` when it produced nothing usable, which leaves the question with the creator. */\n private async askAnsweringAgent(input: { readonly brief: string; readonly question: string; readonly agentOutputTail: string }): Promise<ParkedQuestionAnswerOutput | null> {\n const invocation: FlowsActors_Agent_Invocation<any, any> = {\n agentRef: PARKED_QUESTION_ANSWERER_AGENT_REF,\n initiator: {},\n invocationContext: [],\n input: { prompt: renderParkedQuestionAnswerPrompt(input), schema: ParkedQuestionAnswerOutputSchema },\n output: { object: {} },\n executionContext: {},\n artifactBindings: [],\n };\n const response = await this.agentsService.invokeAgent(invocation);\n const parsed = ParkedQuestionAnswerOutputSchema.safeParse((response.output as { object?: unknown } | undefined)?.object);\n return parsed.success ? parsed.data : null;\n }\n\n private buildApplicationCodingTaskTraceSummary(task: MetaWorkflow_ApplicationCodingTaskContract): Record<string, unknown> {\n return {\n taskRef: task.taskRef,\n objectiveRef: task.objectiveRef,\n candidateRef: task.candidateRef,\n mutationScope: task.mutationScope,\n contextPlanRef: task.contextPlan.planRef,\n selectedSourceRefs: task.contextSelection.selectedSources.map((source) => source.sourceRef),\n verificationRef: task.verificationIntent.verificationRef,\n requiredChecks: task.verificationIntent.requiredChecks,\n installedSkillRefs: task.installedSkillRefs,\n };\n }\n\n // ================================================================\n // Verification hook (P-29c — enum vocabulary, never a command string)\n // ================================================================\n\n private buildVerificationPlan(kind: VerificationKind, requestedPath?: string): VerificationPlan {\n if (kind === VerificationKind.VITEST_PATH) {\n const sanitized = this.sanitizeRelativePath(requestedPath ?? '');\n const absoluteTestPath = join(this.companionContext.saasRoot, sanitized);\n const packageDir = this.findNearestPackageDir(dirname(absoluteTestPath));\n return {\n kind,\n path: sanitized,\n command: 'pnpm',\n args: ['exec', 'vitest', 'run', relative(packageDir, absoluteTestPath)],\n cwd: packageDir,\n };\n }\n\n // PACKAGE_BUILD — the package's own build script, in the package (#2228).\n if (kind === VerificationKind.PACKAGE_BUILD) {\n const sanitizedPackage = this.sanitizeRelativePath(requestedPath ?? '');\n return {\n kind,\n path: sanitizedPackage,\n command: 'pnpm',\n args: ['run', 'build'],\n cwd: join(this.companionContext.saasRoot, sanitizedPackage),\n };\n }\n\n // TYPECHECK — optional path points at a workspace package directory.\n const sanitized = requestedPath ? this.sanitizeRelativePath(requestedPath) : null;\n return {\n kind,\n path: sanitized,\n command: 'pnpm',\n args: ['exec', 'tsc', '--noEmit'],\n cwd: sanitized ? join(this.companionContext.saasRoot, sanitized) : this.companionContext.saasRoot,\n };\n }\n\n /**\n * The FK-resolution sweep, sourced from the `resources-registry` introspection\n * behavior — a FRESH subprocess import of the app's shared-lib, never the\n * companion's boot-time cache, so it judges exactly the bytes the mutation\n * left on disk. Fails the check when any `.isForeignKey()` field has no\n * registered relationship edge: invisible to every typecheck in the plan and\n * to the backend boot, fatal to the app's frontend at first page load\n * (`frontend_fk_resolution_failed` — wonder-crm, 2026-08-27).\n */\n private async runForeignKeyResolutionVerification(): Promise<VerificationOutcome> {\n const backendServiceKey = Object.entries(this.companionContext.servicesByKey)\n .find(([, service]) => !service.frontendType)?.[0];\n if (!backendServiceKey) {\n throw new Error('No backend service is available to run the frontend-fk-resolution verification.');\n }\n const result = await this.introspectionService.requestInfo({\n serviceKey: backendServiceKey,\n behavior: 'resources-registry',\n });\n if (!result.success) {\n throw new Error(`resources-registry introspection failed: ${JSON.stringify(result)}`);\n }\n const unresolved = (result.data as { unresolvableForeignKeyFields?: Array<{ resourceType: string; fieldName: string }> })\n .unresolvableForeignKeyFields ?? [];\n const success = unresolved.length === 0;\n return {\n kind: VerificationKind.FRONTEND_FK_RESOLUTION,\n path: null,\n success,\n message: success\n ? 'every isForeignKey() field resolves through a registered relationship'\n : `${unresolved.length} FK field(s) cannot be resolved to a resource type: `\n + unresolved.map(({ resourceType, fieldName }) => `${resourceType}.${fieldName}`).join(', ')\n + ' — declare a relationship with the corresponding foreignKeyField.',\n stdoutTail: '',\n stderrTail: '',\n };\n }\n\n /**\n * The settings-rail content sweep — the SHELL_PLACEMENT counterpart of the FK sweep,\n * and it exists for the same reason: the defect it catches is invisible to a typecheck.\n *\n * A placement naming a `destinationRef` the engine catalog does not ship is not a type\n * error. `resolveSettingsHubConfig` DROPS it, and the section silently never renders —\n * so a coding task that typo'd a ref passes `check:app-typecheck`, reports verified, and\n * leaves the application missing a settings section nobody is told about.\n *\n * WARNINGS do not fail the check. Only errors do: the verifier reports both severities,\n * and failing a coding task on an advisory would train the lane to ignore its own gate.\n */\n private async runSettingsPlacementContentVerification(): Promise<VerificationOutcome> {\n // Mirrors the FK sweep's resolution, on the other side of the same predicate: that\n // one wants a backend service, this one a FRONTEND service, because the settings rail\n // is authored in the frontend workspace and only that subprocess can import it.\n const frontendServiceKey = Object.entries(this.companionContext.servicesByKey)\n .find(([, service]) => service.frontendType)?.[0];\n if (!frontendServiceKey) {\n throw new Error('No frontend service is available to run the settings-placement-content verification.');\n }\n const result = await this.introspectionService.requestInfo({\n serviceKey: frontendServiceKey,\n behavior: 'settings-placement-content',\n });\n if (!result.success) {\n throw new Error(`settings-placement-content introspection failed: ${JSON.stringify(result)}`);\n }\n const data = result.data as {\n authored?: boolean;\n errors?: Array<{ severity: string; code: string; message: string }>;\n };\n const blocking = (data.errors ?? []).filter((error) => error.severity !== 'warning');\n const success = blocking.length === 0;\n return {\n kind: VerificationKind.SETTINGS_PLACEMENT_CONTENT,\n path: null,\n success,\n message: success\n ? (data.authored === false\n // Not a silent pass: an application with no authored rail has nothing to\n // verify, and saying so is the difference between \"checked and clean\" and\n // \"there was nothing to check\".\n ? 'no settings rail is authored — nothing to verify'\n : 'every authored placement names a destination the engine ships')\n : `${blocking.length} settings-placement error(s): `\n + blocking.map((error) => `${error.code}: ${error.message}`).join(' | '),\n stdoutTail: '',\n stderrTail: '',\n };\n }\n\n /**\n * The schema-plan drift gate — `wildo db diff --check` at the application root.\n *\n * ## Why it is not simply another argv plan\n *\n * The other CLI checks answer a two-valued question about a package that always exists.\n * This one has THREE outcomes, and collapsing any of them into \"failed\" would fail runs\n * on a question nobody asked:\n *\n * 1. **No committed lockfile** — answered here, from the application's DECLARED store\n * (`ApplicationSchemaPlanObligation`, #1144), because `wildo db diff --check` exits\n * non-zero for every application without one. A MongoDB application is permanently in\n * this state (a collection exists on first write; there is no plan to drift from): a\n * pass that says it checked nothing. A PostgreSQL application in it has had no\n * migration create its tables and cannot boot: a FAILED check naming the initial\n * `wildo db generate`. A store that cannot be read is \"we could not ask\": it THROWS.\n * 2. **No `backend-api/dist`** — the model is computed by IMPORTING the compiled\n * modules registry, and the build lane only ever runs `tsc --noEmit`, which emits\n * nothing. This is \"we could not ask\", not \"the application has drifted\", so it\n * THROWS and is reported as an infrastructure error. Same distinction this playbook's\n * method already draws for the typechecks, and the same reasoning\n * `reconcileDevelopmentSchemaDrift` uses when it SKIPS on a stale model rather than\n * generating a migration for a model nobody has.\n * 3. **Both present** — the spawn decides, and its own message is carried through: it\n * names the drifted tables and the command that fixes them, which is more than this\n * layer could reconstruct.\n *\n * ## Why the check is worth having at all\n *\n * It is the only check in the catalog that can see a missing table. A resource whose\n * migration was never generated typechecks green in every package and then refuses\n * to boot with `postgresql_table_schema_mismatch` — measured 2026-09-07, when an engine\n * resource landed with migrations for two of the three PostgreSQL-backed applications\n * and the third crash-looped until a human read the log.\n */\n private async runSchemaPlanDriftVerification(): Promise<VerificationOutcome> {\n const saasRoot = this.companionContext.saasRoot;\n const assessment = await assessApplicationSchemaPlanObligation(saasRoot);\n if (assessment.obligation === ApplicationSchemaPlanObligation.NOT_OWED) {\n return {\n kind: VerificationKind.SCHEMA_PLAN_DRIFT,\n path: null,\n success: true,\n // Says it checked NOTHING rather than reporting a clean plan — the same honesty the\n // settings-placement sweep applies to an application with no authored rail.\n message: `no schema-plan lockfile, and ${assessment.declaredIn} does not declare PostgreSQL — this application has not adopted migrations, so there is no accepted plan to drift from (every MongoDB application is in this state permanently)`,\n stdoutTail: '',\n stderrTail: '',\n };\n }\n if (assessment.obligation === ApplicationSchemaPlanObligation.BASELINE_OWED) {\n /*\n * A FAILED check, not a pass (#1144). Until then no lockfile read as \"not adopted\" whatever the store,\n * so a PostgreSQL application whose initial migration was never generated verified green here — the\n * one check in the catalog that can see a missing table, answering for the one application that has\n * none of them.\n */\n return {\n kind: VerificationKind.SCHEMA_PLAN_DRIFT,\n path: null,\n success: false,\n message: `no schema-plan baseline, but ${assessment.declaredIn} declares PostgreSQL — no migration has created this application's tables, so its backend cannot boot. Generate the initial migration with \\`wildo db generate --name initial-schema\\` (it writes the baseline in the same invocation) and commit both.`,\n stdoutTail: '',\n stderrTail: '',\n };\n }\n if (assessment.obligation === ApplicationSchemaPlanObligation.UNDETERMINED) {\n // Infrastructure, not drift: nothing about the model was asked.\n throw new Error(`Cannot check schema-plan drift: there is no schema-plan lockfile and ${assessment.reason}.`);\n }\n\n const modulesRegistryPath = join(saasRoot, 'backend-api', 'dist', 'modules-registry.backend.js');\n if (!existsSync(modulesRegistryPath)) {\n // THROWN on purpose: `executeVerificationPlans` classifies a throw as an infrastructure\n // error and reports it apart from a failing check. A `success: false` here would say the\n // application has drifted, which is a claim about a model that was never computed.\n throw new Error(\n `Cannot check schema-plan drift: ${modulesRegistryPath} does not exist. The plan is computed by importing `\n + \"the compiled backend registry, and this build never emitted one (`tsc --noEmit` does not). Build backend-api, \"\n + 'or run this check under `wildo local dev`, whose watcher maintains that dist.',\n );\n }\n\n const outcome = await this.runVerification({\n kind: VerificationKind.SCHEMA_PLAN_DRIFT,\n path: null,\n command: 'wildo',\n args: ['db', 'diff', '--check'],\n cwd: saasRoot,\n });\n if (!outcome.success && /ENOENT|not found/i.test(outcome.message)) {\n // The CLI is a GLOBAL install (`platform/factory/scripts/install.sh`) and is not linked\n // into an application's `node_modules/.bin` — verified on both dogfood applications. So\n // \"wildo is not on PATH\" is an absent tool, never a drifted schema.\n throw new Error(`Cannot check schema-plan drift: the \\`wildo\\` CLI could not be executed (${outcome.message}).`);\n }\n /*\n * COULD NOT ASK is not DRIFT, and `wildo db diff --check` cannot tell them apart by exit code —\n * it answers `{ success: false }` for both (`diff.command.ts`), so the message is the only\n * discriminator, exactly as it already is for the ENOENT case above.\n *\n * `computeCurrentLockfileJson` refuses before planning whenever the compiled model is STALE —\n * \"shared-lib/dist is older than its sources … This is NOT drift: wait for the watcher to\n * rebuild\" — or when `backend-api/dist` is absent. Reported as a failing check, both read as\n * \"this application has drifted\", which is a claim about a model that was never computed. On a\n * per-task check that matters twice over: the check runs seconds after an agent wrote the very\n * sources the watcher is still compiling, so the race is the COMMON case rather than the edge.\n *\n * Thrown, like every other infrastructure absence here, so `executeVerificationPlans` reports it\n * apart from a failing check and a BASELINE pass cannot read it as \"already broken\".\n */\n if (!outcome.success && /Cannot compute the current schema plan/i.test(`${outcome.stdoutTail}\\n${outcome.stderrTail}`)) {\n throw new Error(\n 'Cannot check schema-plan drift: the CLI refused to compute the current plan, so nothing about the model was '\n + `asked. This is NOT drift. ${outcome.stderrTail.trim() || outcome.stdoutTail.trim()}`,\n );\n }\n return outcome;\n }\n\n /**\n * `wildo config check-resources` at the application root (#2404): the resources registry built offline, as the\n * backend's startup builds it. A refusal fails the check with the factory's own message, which names the resource.\n *\n * \"Could not ask\" — a compiled model older than its sources (the common case seconds after an agent wrote them), an\n * absent backend dist, a runner that crashed, an absent CLI — THROWS, so it is reported unrun, never as a\n * configuration the backend refuses. The CLI marks it with {@link RESOURCES_REGISTRY_COULD_NOT_ASK_MARKER}.\n */\n private async runResourcesRegistryInitVerification(): Promise<VerificationOutcome> {\n const outcome = await this.runVerification({\n kind: VerificationKind.RESOURCES_REGISTRY_INIT,\n path: null,\n command: 'wildo',\n args: ['config', 'check-resources'],\n cwd: this.companionContext.saasRoot,\n });\n if (!outcome.success && /\\bENOENT\\b/.test(outcome.message)) {\n throw new Error(`Cannot check the resources registry: the \\`wildo\\` CLI could not be executed (${outcome.message}).`);\n }\n /*\n * A `wildo` older than this companion does not know the verb and answers \"Unknown command\" (#2404 review F9): an\n * absent tool, like ENOENT, never a configuration the backend refuses.\n */\n if (!outcome.success && /Unknown command/iu.test(`${outcome.message}\\n${outcome.stdoutTail}\\n${outcome.stderrTail}`)) {\n throw new Error(`Cannot check the resources registry: the installed \\`wildo\\` CLI does not know \\`config check-resources\\` (update it). ${outcome.stderrTail.trim() || outcome.stdoutTail.trim()}`);\n }\n if (!outcome.success && `${outcome.stdoutTail}\\n${outcome.stderrTail}`.includes(RESOURCES_REGISTRY_COULD_NOT_ASK_MARKER)) {\n throw new Error(`${outcome.stderrTail.trim() || outcome.stdoutTail.trim()} This is NOT a refused configuration.`);\n }\n return outcome;\n }\n\n /**\n * `wildo config validate` at the application root (#2228): the checks the backend runs at startup, asked without\n * starting it. Errors fail the check (the backend would refuse to boot); warnings do not.\n *\n * The CLI is a global install and is not linked into an application's `node_modules/.bin`, so a missing binary is\n * thrown as \"we could not ask\" — exactly as the schema-plan drift check does — never reported as a configuration\n * that fails.\n */\n private async runConfigValidateVerification(): Promise<VerificationOutcome> {\n const outcome = await this.runVerification({\n kind: VerificationKind.CONFIG_VALIDATE,\n path: null,\n command: 'wildo',\n args: ['config', 'validate'],\n cwd: this.companionContext.saasRoot,\n });\n // ENOENT only: a configuration error can itself say \"not found\" (a referenced file, a provider), and that is a\n // failing configuration, not an absent tool.\n if (!outcome.success && /\\bENOENT\\b/.test(outcome.message)) {\n throw new Error(`Cannot validate the application configuration: the \\`wildo\\` CLI could not be executed (${outcome.message}).`);\n }\n return outcome;\n }\n\n /**\n * Ask the RUNNING backend whether it is ready (#2228), at the address the frontend uses (`VITE_API_BASE_URL` in\n * `frontend/.env`, written by config sync). Bounded by {@link BACKEND_READY_TIMEOUT_MS}: an outbound request with no\n * deadline waits for a peer that never answers.\n *\n * No address, or no answer, THROWS — \"we could not ask\", reported apart from a failing check: from here a backend\n * that was never started and one crash-looping at boot are the same closed port, and neither may read as a pass.\n */\n private async runBackendReadyVerification(): Promise<VerificationOutcome> {\n const envPath = join(this.companionContext.saasRoot, 'frontend', '.env');\n const apiBase = existsSync(envPath) ? /^VITE_API_BASE_URL=(.*)$/mu.exec(readFileSync(envPath, 'utf8'))?.[1]?.trim() : undefined;\n if (apiBase === undefined || apiBase === '') {\n throw new Error(`Cannot ask whether the backend is ready: ${envPath} declares no VITE_API_BASE_URL. Run \\`wildo config sync\\`.`);\n }\n const url = `${apiBase.replace(/\\/+$/u, '')}/health/ready`;\n let response: Response;\n try {\n response = await fetch(url, { signal: AbortSignal.timeout(BACKEND_READY_TIMEOUT_MS) });\n } catch (error) {\n throw new Error(`Cannot ask whether the backend is ready: ${url} did not answer (${describeCaughtError(error)}). It is not running, or it is crash-looping at boot; its log says which.`);\n }\n const body = (await response.text().catch(() => '')).slice(-OUTPUT_TAIL_CHARS);\n return {\n kind: VerificationKind.BACKEND_READY,\n path: null,\n success: response.status === 200,\n message: response.status === 200 ? `${url} answered 200` : `${url} answered ${response.status}: the backend is up and refuses readiness`,\n stdoutTail: body,\n stderrTail: '',\n };\n }\n\n /**\n * `wildo local smoke --json` (#2228): the CLI drives a browser through the running application and prints one JSON\n * verdict. PASSED passes, FAILED fails with the CLI's summary and the broken pages; COULD_NOT_ASK, a verdict that\n * cannot be read, or a CLI that cannot be executed THROWS — \"we could not ask\", reported apart from a failing check,\n * because the application was never seen.\n */\n private async runBrowserSmokeVerification(): Promise<VerificationOutcome> {\n const outcome = await this.runVerification({\n kind: VerificationKind.BROWSER_SMOKE,\n path: null,\n command: 'wildo',\n args: ['local', 'smoke', '--json'],\n cwd: this.companionContext.saasRoot,\n });\n if (!outcome.success && /\\bENOENT\\b/.test(outcome.message)) {\n throw new Error(`Cannot run the browser smoke: the \\`wildo\\` CLI could not be executed (${outcome.message}).`);\n }\n const lastLine = outcome.stdoutTail.trim().split('\\n').pop() ?? '';\n let verdict: { outcome?: string; summary?: string };\n try {\n verdict = JSON.parse(lastLine) as { outcome?: string; summary?: string };\n } catch {\n throw new Error(`Cannot read the browser smoke's verdict: \\`wildo local smoke --json\\` printed no JSON (${outcome.message}).`);\n }\n if (verdict.outcome === 'COULD_NOT_ASK' || (verdict.outcome !== 'PASSED' && verdict.outcome !== 'FAILED')) {\n throw new Error(`The browser smoke could not ask: ${verdict.summary ?? 'no summary'}`);\n }\n return { ...outcome, success: verdict.outcome === 'PASSED', message: `browser smoke ${verdict.outcome}: ${verdict.summary ?? ''}` };\n }\n\n /**\n * Run a resolved verification plan set and return one outcome per check.\n *\n * Extracted from the coding-task dispatch so the SAME executor serves a second caller: the\n * `DETERMINISTIC_CLI` playbook tier, which verifies an already-built application and dispatches no\n * agent (issue #147). The alternative was a second loop that re-derived which kinds branch away\n * from the argv path — and the two would drift the first time a `VerificationKind` was added,\n * silently, because a missed kind falls through to a typecheck that passes.\n *\n * A thrown error is an INFRASTRUCTURE failure, not a failing check: the subprocess could not be\n * run at all. It is recorded as a failed outcome so the caller sees which check was affected, and\n * surfaced separately so a caller can tell \"the application is broken\" from \"we could not ask\".\n */\n private async executeVerificationPlans(\n plans: readonly ApplicationCodingTaskVerificationPlan[],\n ): Promise<{\n verification: Array<{ checkRef: string; outcome: VerificationOutcome }>;\n infrastructureError: unknown;\n /**\n * Which checks did not RUN — they threw before producing a verdict.\n *\n * Reported apart from `verification` because the two answer different questions and one of them\n * must never be read as the other. A thrown check is recorded with `success: false` so a caller\n * that only looks at outcomes still fails closed, and that is right for the post-run pass. It is\n * wrong for a BASELINE pass, where `success: false` would read as \"already broken\" and forgive a\n * real regression the run introduced — `runSchemaPlanDriftVerification` throws by design when\n * `backend-api/dist` is absent, and a missing migration crash-loops the backend, so that is\n * precisely the check a baseline must not silently excuse.\n */\n unrunCheckRefs: readonly string[];\n }> {\n const verification: Array<{ checkRef: string; outcome: VerificationOutcome }> = [];\n const unrunCheckRefs: string[] = [];\n let infrastructureError: unknown = null;\n for (const plan of plans) {\n try {\n verification.push({\n checkRef: plan.checkRef,\n // The FK-resolution check is not a CLI command: it runs in the companion's\n // introspection subprocess (fresh working-tree import), so it branches before\n // the argv-plan path.\n outcome: plan.kind === VerificationKind.FRONTEND_FK_RESOLUTION\n ? await this.runForeignKeyResolutionVerification()\n : plan.kind === VerificationKind.SETTINGS_PLACEMENT_CONTENT\n ? await this.runSettingsPlacementContentVerification()\n : plan.kind === VerificationKind.SCHEMA_PLAN_DRIFT\n ? await this.runSchemaPlanDriftVerification()\n : plan.kind === VerificationKind.RESOURCES_REGISTRY_INIT\n ? await this.runResourcesRegistryInitVerification()\n : plan.kind === VerificationKind.CONFIG_VALIDATE\n ? await this.runConfigValidateVerification()\n : plan.kind === VerificationKind.BACKEND_READY\n ? await this.runBackendReadyVerification()\n : plan.kind === VerificationKind.BROWSER_SMOKE\n ? await this.runBrowserSmokeVerification()\n : this.absentWorkspacePackageOutcome(plan)\n ?? await this.runVerification(this.buildVerificationPlan(plan.kind, plan.path ?? undefined)),\n });\n } catch (error) {\n infrastructureError ??= error;\n unrunCheckRefs.push(plan.checkRef);\n // A check that threw out of a subprocess still carries what that subprocess printed; keep it, or\n // the record says only \"Bounded subprocess failed\" while the cause is in hand.\n const details = (error as { details?: { stdout?: string; stderr?: string } } | null | undefined)?.details;\n verification.push({\n checkRef: plan.checkRef,\n outcome: {\n kind: plan.kind,\n path: plan.path,\n success: false,\n message: describeCaughtError(error),\n stdoutTail: (details?.stdout ?? '').slice(-OUTPUT_TAIL_CHARS),\n stderrTail: (details?.stderr ?? '').slice(-OUTPUT_TAIL_CHARS),\n },\n });\n }\n }\n return { verification, infrastructureError, unrunCheckRefs };\n }\n\n /**\n * Run named verification checks against the application, outside any agent dispatch.\n *\n * The public door for the `DETERMINISTIC_CLI` tier. Check refs resolve through the same closed\n * `APPLICATION_CODING_TASK_VERIFICATION_CATALOG` a coding task uses, so an unknown ref is refused\n * here rather than becoming an unrun check that reports success by absence.\n *\n * Deliberately takes NO worktree lock and captures NO change set: this reads the application, and\n * pretending otherwise would serialize verification against the single-flight coding lane for no\n * reason.\n */\n public async runApplicationVerificationChecks(\n checkRefs: readonly string[],\n ): Promise<{\n verification: Array<{ checkRef: string; outcome: VerificationOutcome }>;\n infrastructureError: unknown;\n /** The checks that threw before a verdict (#2222): recorded failed in `verification`, but never a claim about the application. */\n unrunCheckRefs: readonly string[];\n }> {\n return this.executeVerificationPlans(resolveApplicationCodingTaskVerificationPlans(checkRefs));\n }\n\n /**\n * A typecheck of a workspace package the application does not have answers \"nothing to check\" (#1540).\n *\n * Required checks are derived from the paths a task may write, so a provider binding that may write\n * `website/src/provider-contributions.ts` owes the website typecheck, in every application, including\n * one with no website. Running `tsc` in a directory that is not a package would fail the task over a\n * package that does not exist. The honest answer is the one the settings sweep gives when no rail is\n * authored: checked, and nothing was there to check. That is stated in the outcome, never a silent pass.\n *\n * A package is its `package.json`. A directory holding one stray file, with no manifest, is not a\n * package that any typecheck could run in.\n */\n private absentWorkspacePackageOutcome(plan: ApplicationCodingTaskVerificationPlan): VerificationOutcome | undefined {\n // A site build is asked of every optional package at the end of a build (#2228), so the same honest answer applies.\n if ((plan.kind !== VerificationKind.TYPECHECK && plan.kind !== VerificationKind.PACKAGE_BUILD) || plan.path === null) return undefined;\n const packageDirectory = this.sanitizeRelativePath(plan.path);\n if (existsSync(join(this.companionContext.saasRoot, packageDirectory, 'package.json'))) return undefined;\n return {\n kind: plan.kind,\n path: plan.path,\n success: true,\n message: `no ${packageDirectory} package in this application — nothing to ${plan.kind === VerificationKind.PACKAGE_BUILD ? 'build' : 'typecheck'}`,\n stdoutTail: '',\n stderrTail: '',\n };\n }\n\n private async runVerification(plan: VerificationPlan): Promise<VerificationOutcome> {\n try {\n const result = await executeBoundedSubprocess({\n command: plan.command,\n args: plan.args,\n cwd: plan.cwd,\n env: buildVerificationEnv(),\n timeoutMs: VERIFICATION_TIMEOUT_MS,\n maxCapturedBytes: VERIFICATION_MAX_CAPTURED_BYTES,\n });\n return {\n kind: plan.kind,\n path: plan.path,\n success: true,\n message: `${plan.command} ${plan.args.join(' ')} passed`,\n stdoutTail: result.stdout.slice(-OUTPUT_TAIL_CHARS),\n stderrTail: result.stderr.slice(-OUTPUT_TAIL_CHARS),\n };\n } catch (error) {\n const details = (error as { details?: { stdout?: string; stderr?: string } }).details;\n return {\n kind: plan.kind,\n path: plan.path,\n success: false,\n message: describeCaughtError(error),\n stdoutTail: (details?.stdout ?? '').slice(-OUTPUT_TAIL_CHARS),\n stderrTail: (details?.stderr ?? '').slice(-OUTPUT_TAIL_CHARS),\n };\n }\n }\n\n /**\n * Run one admission-time validation and convert ANY refusal into a typed\n * VALIDATION error, preserving the original message as context.\n *\n * Deliberately a wrapper rather than N rewritten throw sites: the pure\n * resolver in the models layer has no error builder and should not grow one,\n * and a future admission check gets the same classification by being placed\n * here rather than by remembering to.\n */\n /**\n * `refusesTaskContract` marks the refusal as the task's OWN (#1581): set only by admission's two checks\n * of the task contract, so a dispatcher counts it as the task's attempt rather than the host's refusal.\n * The resume path's checks (an empty answer, a check the host no longer registers) are not the task\n * being dispatched and carry no mark.\n */\n private admitTypedInput<T>(validate: () => T, message: string, options: { readonly refusesTaskContract?: boolean } = {}): T {\n try {\n return validate();\n } catch (error) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: {\n message,\n validationError: describeCaughtError(error),\n // The task's own contract was refused: a dispatcher counts this as its attempt (#1581).\n ...(options.refusesTaskContract === true ? { [APPLICATION_CODING_CONTRACT_REFUSAL_MARKER]: true } : {}),\n },\n });\n }\n }\n\n /**\n * Sanitize an app-root-relative path from the wire: rejects absolute\n * paths, `..` escapes, backslashes, NUL bytes, and flag-lookalikes\n * (leading `-` would be parsed as an argv flag by the fixed commands).\n */\n private sanitizeRelativePath(requestedPath: string): string {\n const candidate = requestedPath.trim();\n const reject = (reason: string): never => {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: {\n message: `Invalid verification path: ${reason}`,\n requestedPath,\n },\n });\n };\n\n if (!candidate) reject('path is empty');\n if (candidate.includes('\\0')) reject('path contains a NUL byte');\n if (candidate.includes('\\\\')) reject('use forward slashes');\n if (isAbsolute(candidate)) reject('path must be relative to the application root');\n if (candidate.startsWith('-')) reject('path must not start with a dash');\n const normalized = normalize(candidate);\n if (normalized.split(sep).includes('..')) reject('path must not escape the application root');\n\n const absolute = join(this.companionContext.saasRoot, normalized);\n const relativeFromRoot = relative(this.companionContext.saasRoot, absolute);\n if (relativeFromRoot.startsWith('..') || isAbsolute(relativeFromRoot)) {\n reject('path resolves outside the application root');\n }\n return normalized;\n }\n\n /** Nearest ancestor dir (within the app root) holding a package.json. */\n private findNearestPackageDir(startDir: string): string {\n let current = startDir;\n const root = this.companionContext.saasRoot;\n while (current.startsWith(root)) {\n if (existsSync(join(current, 'package.json'))) {\n return current;\n }\n const parent = dirname(current);\n if (parent === current) break;\n current = parent;\n }\n return root;\n }\n\n // ================================================================\n // Error + traceability helpers (service-owned wrappers, P-13 pattern)\n // ================================================================\n\n private buildDispatchConflictError(message: string): unknown {\n return this.errorBuilder.buildError(ErrorType.CONFLICT, undefined, {\n customMessageReference: ErrorCustomMessageReference.CONFLICT,\n context: { message },\n });\n }\n\n /** Map proper-lockfile ELOCKED contention onto the 409 vocabulary. */\n private mapLockError(error: unknown): unknown {\n if ((error as { code?: string })?.code === 'ELOCKED') {\n return this.buildDispatchConflictError(\n 'The workspace-mutation lock is held by another process (companion run or CLI). '\n + 'Dispatch is single-flight across processes (P-20); retry after the active run completes. '\n + 'If you are a dispatched coding-agent run: dispatching from a dispatched run is forbidden (P-35).',\n );\n }\n return error;\n }\n\n private createOperationTraceStep(\n sessionContext: CompanionExecutionSessionContext | undefined,\n label: string,\n ) {\n return sessionContext\n ? this.traceabilityService.createStep(sessionContext, {\n kind: 'coding-agent-dispatch',\n label,\n })\n : undefined;\n }\n\n private async traceOperationStart(input: {\n sessionContext?: CompanionExecutionSessionContext;\n step?: ReturnType<CompanionTraceabilityService['createStep']>;\n type: string;\n summary: string;\n payload?: unknown;\n artifactFileName?: string;\n artifactContent?: unknown;\n }): Promise<void> {\n if (!input.sessionContext) return;\n\n await this.traceabilityService.traceEvent({\n session: input.sessionContext,\n minimumLevel: CompanionTraceabilityLevel.DEBUG,\n type: input.type,\n summary: input.summary,\n ...(input.payload !== undefined ? { payload: input.payload } : {}),\n ...(input.step ? { step: input.step } : {}),\n });\n if (input.artifactFileName && input.artifactContent !== undefined) {\n await this.traceabilityService.writeArtifact({\n session: input.sessionContext,\n minimumLevel: CompanionTraceabilityLevel.DEBUG_VERBOSE,\n fileName: input.artifactFileName,\n content: input.artifactContent,\n ...(input.step ? { step: input.step } : {}),\n });\n }\n }\n\n private async traceOperationSuccess(input: {\n sessionContext?: CompanionExecutionSessionContext;\n step?: ReturnType<CompanionTraceabilityService['createStep']>;\n type: string;\n summary: string;\n payload?: unknown;\n artifactFileName?: string;\n artifactContent?: unknown;\n }): Promise<void> {\n if (!input.sessionContext) return;\n\n if (input.artifactFileName && input.artifactContent !== undefined) {\n await this.traceabilityService.writeArtifact({\n session: input.sessionContext,\n minimumLevel: CompanionTraceabilityLevel.DEBUG_VERBOSE,\n fileName: input.artifactFileName,\n content: input.artifactContent,\n ...(input.step ? { step: input.step } : {}),\n });\n }\n await this.traceabilityService.traceEvent({\n session: input.sessionContext,\n minimumLevel: CompanionTraceabilityLevel.DEBUG,\n type: input.type,\n summary: input.summary,\n ...(input.payload !== undefined ? { payload: input.payload } : {}),\n ...(input.step ? { step: input.step } : {}),\n });\n }\n\n private async traceOperationFailure(input: {\n sessionContext?: CompanionExecutionSessionContext;\n step?: ReturnType<CompanionTraceabilityService['createStep']>;\n type: string;\n summary: string;\n error: unknown;\n payload?: unknown;\n }): Promise<void> {\n if (!input.sessionContext) return;\n\n await this.traceabilityService.traceEvent({\n session: input.sessionContext,\n minimumLevel: CompanionTraceabilityLevel.DEBUG,\n type: input.type,\n summary: input.summary,\n payload: {\n ...(input.payload && typeof input.payload === 'object'\n ? input.payload as Record<string, unknown>\n : { input: input.payload }),\n error: buildOutputErrorPayload(input.error),\n },\n ...(input.step ? { step: input.step } : {}),\n });\n }\n\n private async traceOperationArtifact(\n sessionContext: CompanionExecutionSessionContext | undefined,\n step: ReturnType<CompanionTraceabilityService['createStep']> | undefined,\n fileName: string,\n content: unknown,\n ): Promise<void> {\n if (!sessionContext) return;\n await this.traceabilityService.writeArtifact({\n session: sessionContext,\n minimumLevel: CompanionTraceabilityLevel.DEBUG_VERBOSE,\n fileName,\n content,\n ...(step ? { step } : {}),\n });\n }\n}\n\ninterface VerificationPlan {\n kind: VerificationKind;\n path: string | null;\n command: string;\n args: string[];\n cwd: string;\n}\n\n/**\n * Change-set artifact persisted on the task row (P-19: file list + stats\n * + head SHAs + attribution classes). `fullDiffText` is deliberately\n * stripped — the raw diff lives in the traceability artifact only.\n *\n * Persisted as `FlowsActors_IO_PartKind.STRUCTURED` with the capture in\n * `content.data`. History: on 2026-07-03 this was temporarily JSON-encoded\n * into a TEXT artifact because the zod-to-mongoose converter flattened\n * nested discriminated unions (`artifacts[]` on the task row) onto their\n * FIRST variant, making `content.text` a required Mongoose path for every\n * artifact. The converter now merges nested union variants into an\n * all-optional superset schema, so the natural STRUCTURED shape persists\n * again (requires a saas-backend-lib dist carrying that fix).\n */\nfunction buildChangeSetArtifact(taskId: string, changeSet: GitChangeSetCapture): ArtifactInstance {\n const { fullDiffText: _fullDiffText, ...structuredCapture } = changeSet;\n return {\n ref: `coding-agent-change-set-${taskId}`,\n type: FlowsActors_IO_PartKind.STRUCTURED,\n name: 'coding-agent-change-set',\n description: 'Read-only git change-set capture with per-file attribution (P-19)',\n origin: { taskId },\n content: { data: structuredCapture },\n createdAt: new Date().toISOString(),\n };\n}\n\n/** Same minimal allowlist the CLI spawn uses (P-18). */\nfunction buildVerificationEnv(): NodeJS.ProcessEnv {\n // Same minimal identity allowlist the CLI spawn uses (P-18) — incl.\n // USER/LOGNAME so a verification hook that shells out to per-user\n // tooling behaves like the agent run. Kept in lockstep with\n // `ClaudeCliCompanionService`'s allowlist.\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\nfunction buildOutputErrorPayload(error: unknown): unknown {\n if (isWildoBackendError(error)) return error;\n if (error instanceof Error) {\n return {\n message: error.message,\n name: error.name,\n ...(error.stack ? { stack: error.stack } : {}),\n };\n }\n return { message: String(error) };\n}\n\nfunction createDeferred<T>(): {\n promise: Promise<T>;\n resolve: (value: T) => void;\n reject: (error: unknown) => void;\n} {\n let settled = false;\n let resolveFn!: (value: T) => void;\n let rejectFn!: (error: unknown) => void;\n const promise = new Promise<T>((resolve, reject) => {\n resolveFn = resolve;\n rejectFn = reject;\n });\n return {\n promise,\n resolve: (value) => {\n if (settled) return;\n settled = true;\n resolveFn(value);\n },\n reject: (error) => {\n if (settled) return;\n settled = true;\n rejectFn(error);\n },\n };\n}\n"]}
|
|
1
|
+
{"version":3,"file":"coding-agent-dispatch.companion.service.js","sourceRoot":"","sources":["../../../../../src/claude-cli/services/coding-agent-dispatch.companion.service.ts"],"names":[],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F,IAAI,OAAO,KAAK,SAAS,IAAI,OAAO,OAAO,CAAC,OAAO,KAAK,QAAQ;QAAE,OAAO,EAAE,CAAC;IAC5E,OAAO,EAAE,0BAA0B,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,OAAO,CAAC,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;AACjJ,CAAC","sourcesContent":["/**\n * Application coding-task host — the typed Flows/Actors coding path.\n *\n * `runApplicationCodingTask` admits one typed `MetaWorkflow_ApplicationCodingTaskContract`\n * (the episode runtime's coding revision owner is the caller), renders its\n * prompt from the sealed contract, creates an `Actors_Task` row, spawns the\n * Claude CLI in the background against the application worktree, captures\n * a read-only git change set with per-file attribution, runs the contract's\n * registered verification checks, then PATCHes the task with status/output/\n * artifacts. One admission never spans the multi-minute run (P-16) —\n * callers await the settlement or poll `/tasks/actors/:taskId`. The raw\n * `POST /coding-agent/dispatch` endpoint (caller-composed prompt) was\n * deleted at the first-activation hard cut.\n *\n * # Locking & recursion cap (P-20 / P-19b / P-35)\n *\n * Runs are single-flight, serialized by a cross-process lock on the\n * dedicated target `<saasRoot>/.wildo-saas/state/workspace-mutation.lock`\n * (`withDedicatedFileLock` from `@wildo-ai/platform-config-lib`,\n * proper-lockfile pattern — an in-memory mutex alone is forbidden because\n * the CLI mutates the same worktree from other processes). An in-memory\n * flag fronts the lock for fast 409s. The lock is held for the WHOLE run.\n *\n * That is the SINGLE-FLIGHT mode. A CONCURRENT run (#1528, a parallel build\n * wave) holds no lock and takes it only around its commit, so the lock is\n * no longer the signal that \"a coding agent is running\" — the\n * `coding-run.heartbeat` beaten from the active-run set is (see\n * `CODING_RUN_HEARTBEAT_RELATIVE_PATH`).\n *\n * The P-35 recursion cap falls out structurally: a dispatched run that\n * calls dispatch (it has shell access and can read the machine-local\n * token) always finds the lock held by ITS OWN run and is rejected 409 —\n * a dispatched run can never dispatch. Deliberately, the lock does NOT\n * gate Paul's parallel sessions (P-19b): CLAUDE.md forbids session\n * coordination; per-file attribution is the compensation, not exclusion.\n *\n * ⚠️ **THE CAP IS A SIDE EFFECT OF THE LOCK BEING GLOBAL, AND #48 PROPOSES\n * MAKING IT PER-SCOPE.** Admission by disjoint mutation scopes deletes this\n * refusal silently: a recursing run asks for a task in ANOTHER module, is\n * found disjoint, and is admitted. Nothing throws, nothing logs, and the\n * first symptom is a fan-out nobody asked for — this repository's \"a\n * construct that refuses needs its paired path\" lesson running BACKWARDS,\n * with a refusal removed as a side effect, which is the harder direction to\n * notice.\n *\n * So the cap must become an EXPLICIT guard in the same change: a run's own\n * dispatch identity refused at admission regardless of scope disjointness.\n * Note that identity is the hard part and is not solved here — the child's\n * environment is composed by this service, but an HTTP request from the\n * agent's shell carries none of it, and the machine-local token the agent\n * reads is the same one an operator uses. Whoever scopes the lock owns\n * finding that channel; do not assume it exists.\n *\n * It is TRIPWIRED rather than left to memory. The single-flight tests below\n * dispatch the SAME scope twice, so they keep passing under scope-aware\n * admission and would let the cap vanish green. `refuses a second dispatch\n * whose mutation scope is DISJOINT — the P-35 recursion cap (#48)` varies\n * the scope on purpose and goes red instead.\n *\n * # Traceability (P-21)\n *\n * L2 runs dispatch through `AgentsBackendService.invokeAgent`, so they DO\n * reach the engine `AgentCallTraceSink` (on success and on failure, gated by\n * the agent-traceability policy and silent when no sink is bound) and they DO\n * run through the provider's Bottleneck limiter, which `executeAgentViaACP`\n * schedules the session on. The pre-ACP direct claude-cli lane bypassed both;\n * that is history, not the current shape. Two things still do not come free:\n * a NONE policy level or an unbound sink means no engine trace at all, so this\n * service also owns its companion-traceability events (DEBUG) and artifacts\n * (DEBUG_VERBOSE). The background phase runs under an INTERNAL trace session\n * (`createInternalSession`) because the HTTP request session ends at the\n * 202-style response.\n *\n * # Run limits (P-18)\n *\n * Defaults 30 min / 10 MiB; request-overridable up to hard caps\n * 60 min / 32 MiB. The byte cap REJECTS (kills the run), it does not\n * truncate. Args stay `--print` + `--model` (no extraArgs field), prompt\n * on stdin, env = `{ PATH, HOME, SHELL, TERM }` (composed inside\n * the ACP session runner).\n */\n\nimport {\n MetaWorkflow_ApplicationCodingTaskContractSchema,\n type MetaWorkflow_ApplicationCodingTaskContract,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n ApplicationSchemaPlanObligation,\n assessApplicationSchemaPlanObligation,\n} from '../../core/config/application-schema-plan-obligation.companion.utils';\nimport { isAbsolute, join, normalize, relative, sep, dirname } from 'node:path';\nimport { existsSync, readFileSync, realpathSync } from 'node:fs';\nimport { appendFile, mkdir, writeFile } from 'node:fs/promises';\nimport {\n CODING_ANSWERS_FILE_NAME,\n CodingQuestionAnswerer,\n getFamilyPackageRelativePath,\n renderCodingQuestionAnswerEntry,\n renderCodingQuestionAnswersHeader,\n} from '@wildo-ai/application-creation-runtime';\nimport { AcceptOrigin, ApplicationSpecificationFamily } from '@wildo-ai/saas-specifications/application-creation';\nimport {\n AgentAnswerAttemptDecision,\n decideAgentAnswerAttempt,\n ParkedQuestionAnswerOutputSchema,\n ParkedQuestionAnswerVerdict,\n readParkedQuestionAnswers,\n renderParkedQuestionAnswerPrompt,\n withParkedQuestionAnswer,\n type ParkedQuestionAnswerOutput,\n type ParkedQuestionAnswerRecord,\n} from '../models/parked-question-answer.models';\nimport { PARKED_QUESTION_ANSWERER_AGENT_REF } from '../models/parked-question-answerer.actors-system.definitions';\nimport {\n applicationCodingExclusiveSubject,\n CODING_RUN_WINDOW_RETENTION_MS,\n CodingRunConcurrency,\n deriveInterferenceSuspected,\n describeRunConcurrency,\n isConcurrentRunSubject,\n selectBudgetCountingFailures,\n collectRunClaimedPaths,\n type CodingRunConcurrencyRecord,\n type CodingRunWindow,\n} from '../models/concurrent-coding-runs.models';\n\nimport { inject, injectable, optional } from 'inversify';\nimport {\n ActorsSystemBackendService,\n AgentsBackendService,\n ErrorBuilderBackendService,\n LoggerService,\n SAAS_SERVICE_TYPES,\n WorkerShutdownManagerBackendService,\n executeBoundedSubprocess,\n describeCaughtError,\n actorExecutionSuspensionRef,\n isActorExecutionNotSuspendedError,\n isActorExecutionSubjectBusyError,\n type ActorExecutionConclusion,\n type ActorExecutionOpenRequest,\n type ActorExecutionRunOptions,\n type ActorExecutionSuspensionRequest,\n type OpenedActorExecution,\n} from '@wildo-ai/saas-backend-lib';\nimport {\n Actor_Task_Topics,\n type AgentTraceContext,\n ErrorCustomMessageReference,\n ErrorType,\n FlowsActors_IO_PartKind,\n FlowsActors_Status,\n isWildoBackendError,\n type ArtifactInstance,\n type FlowsActors_Agent_Invocation,\n HumanDecision_FieldKind,\n HumanDecision_ResponseIntent,\n type HumanDecision_Request,\n} from '@wildo-ai/saas-models';\nimport {\n CodingAgent_EndOfTurnClassification,\n CodingAgent_OperationContext_BaseSchema,\n CodingAgent_RunTaskInputSchema,\n CodingAgent_RunTaskOutputSchema,\n CodingAgent_SessionSuspensionSchema,\n CodingAgent_StopReason,\n type CodingAgent_RunTaskOutput,\n type CodingAgent_SessionSuspension,\n type CodingAgent_Usage,\n} from '@wildo-ai/external-connectors-models';\nimport {\n getWorkspaceMutationLockPath as resolveWorkspaceMutationLockPath,\n withDedicatedFileLock,\n} from '@wildo-ai/platform-config-lib';\n\nimport {\n CodingRunFailureAttribution,\n sanitizeWorkbenchCreationPlaneIdentity,\n Workbench_ParkedCodingQuestionOptionRef,\n WORKBENCH_PARKED_CODING_QUESTION_FIELD_REF,\n WORKBENCH_TASK_CORRELATION_DOMAIN,\n WorkbenchTaskCorrelationRef,\n type BuildTaskRearmReason,\n} from '@wildo-ai/platform-core-shared';\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport type { CompanionContext } from '../../core/context/companion-context';\nimport { InFlightWorkHeartbeat } from '../../core/runtime/in-flight-work-heartbeat.companion';\nimport type {\n CompanionExecutionSessionContext,\n} from '../../core/traceability/companion-traceability.models';\nimport { CompanionTraceabilityLevel, CompanionTraceAliasKind } from '../../core/traceability/companion-traceability.models';\nimport { CompanionTraceabilityService } from '../../core/traceability/companion-traceability.service';\nimport { CompanionIntrospectionService } from '../../core/introspection/services/companion-introspection.companion.service';\nimport { CompanionExecutionsCompanionService } from '../../executions/services/companion-executions.companion.service';\nimport { CompanionActorTasksListQuerySchema, CompanionExecutionsListQuerySchema, type CompanionCodingAgentStatusResponse } from '../../companion-api/companion-api.schemas';\nimport { GitChangeSetCompanionService, isConcurrentHostLanePath, isOutsideApplicationRootPath } from './git-change-set.companion.service';\nimport { CodingRunWriteRegisterCompanionService } from './coding-run-write-register.companion.service';\nimport { PlaybookLaneBoundaryDecision } from '@wildo-ai/application-creation-runtime';\nimport {\n APPLICATION_CREATION_AUTONOMY_POSTURE,\n LaneBoundaryTreatment,\n laneBoundaryTreatmentFor,\n} from '../../meta-workflows/models/playbook-run-checkpoint.models';\nimport { AcceptRefusalReason, AcceptedChangeCommitCompanionService, NothingToAcceptError } from './accepted-change-commit.companion.service';\nimport { listInFlightCodingRuns, type InFlightCodingRun } from './in-flight-coding-runs.companion';\nimport {\n APPLICATION_CODING_TURN_CLASSIFIER_AGENT_REF,\n CodingTurnEndClassificationOutputSchema,\n APPLICATION_CODING_AGENT_REFS,\n APPLICATION_CODING_SYSTEM_REF,\n APPLICATION_CODING_WORKTREE_SUBJECT,\n isApplicationCodingAgentRef,\n resolveSelectedApplicationCodingAgentBinding,\n} from '../../meta-workflows/models/application-coding-agent.actors-system.definitions';\nimport { humanDecisionSettler } from '../../meta-workflows/models/human-decision-settler.models';\nimport { BRIEF_PROVENANCE_UNAVAILABLE_SOURCE_REF } from '../../meta-workflows/models/build-brief-content-trust.models';\nimport {\n ChangeSetAttributionClass,\n RESOURCES_REGISTRY_COULD_NOT_ASK_MARKER,\n DESIGN_SYSTEM_BRAND_ADVISORY_MARKER,\n DESIGN_SYSTEM_BRAND_COULD_NOT_ASK_MARKER,\n ApplicationCodingTaskDisposition,\n codingRunChangedNoFileOfItsOwn,\n deriveApplicationCodingTaskDisposition,\n CodingRunStart,\n deriveCodingRunFailureAttribution,\n deriveCodingRunStart,\n isAttributedToAnotherWriter,\n APPLICATION_CODING_CONTRACT_REFUSAL_MARKER,\n type ApplicationCodingTaskRunAdmission,\n type CodingRunOrigin,\n type ApplicationCodingTaskVerificationPlan,\n DISPATCH_DEFAULT_MAX_CAPTURED_BYTES,\n DISPATCH_DEFAULT_TIMEOUT_MS,\n DISPATCH_HARD_MAX_CAPTURED_BYTES,\n DISPATCH_HARD_MAX_TIMEOUT_MS,\n VerificationKind,\n renderApplicationCodingTaskAgentPrompt,\n resolveApplicationCodingTaskVerificationPlans,\n type GitChangeSetCapture,\n type GitWorktreeSnapshot,\n parseClosingReportUnmetRequirements,\n} from '../models/coding-agent-dispatch.models';\nimport { CodingSessionFrameRetention, type CodingSessionRetentionSummary } from '../models/coding-session-frame-retention';\nimport { isInfrastructureShapedAgentFailure, isProviderAccountAgentFailure } from '../../core/runtime/dev-compile-quiet.companion';\nimport { readCodingAgentUsageLimit, readRecordedCodingAgentUsageLimit, type CodingAgentUsageLimit } from '../models/coding-agent-usage-limit.models';\nimport type { Actors_Memory_Context } from '@wildo-ai/saas-models';\nimport { diagnoseCarriedVerificationFailure } from '../../meta-workflows/models/carried-verification-failure.models';\nimport { deriveRequiredCheckRefs } from '../../meta-workflows/services/application-build-task-coding-policy.companion.service';\nimport { assemblyRepairRunInputField } from '../../meta-workflows/services/application-assembly-repair.companion.utils';\nimport {\n NothingToRearmError,\n readBuildTaskInterference,\n readBuildTaskRearm,\n readGivenLandedOverride,\n withBuildTaskInterference,\n withBuildTaskRearm,\n type BuildTaskInterference,\n type BuildTaskRearm,\n} from '../../meta-workflows/models/build-task-rearm.models';\nimport { withWebsiteCopyReview, type WebsiteCopyReview } from '../../meta-workflows/models/website-copy-review.models';\nimport { withWebsiteVisualReview, type WebsiteVisualReview } from '../../meta-workflows/models/website-visual-review.models';\nimport { checkWebsiteDemoScenarios } from '../../meta-workflows/services/website-demo-facts.models';\nimport { describeWorkspaceFreshness, readWorkspaceElements } from '../../core/introspection/workspace-elements.companion';\nimport { collectWebsiteDemoScenarios, WebsiteDemoScenarioCollectionFault } from '../../core/website/website-source-module.companion';\nimport {\n APPLICATION_CODING_RUN_CHECKPOINT_KIND,\n ApplicationCodingRunCheckpointSchema,\n isParkedCodingRunAnswerable,\n mergeResumedLegUsage,\n type ApplicationCodingRunCheckpoint,\n} from '../models/application-coding-run-checkpoint.models';\n\n/** Fixed, non-overridable limits for the verification hook subprocess. */\nconst VERIFICATION_TIMEOUT_MS = 10 * 60_000;\n/** How long the running backend has to answer `/health/ready` (#2228). Readiness is a cheap probe; a backend slower than this is not serving. */\nconst BACKEND_READY_TIMEOUT_MS = 10_000;\n/** How much of the agent's final message a not-repaired verdict carries (#2409): enough for its reason, not its transcript. */\nconst OVERRIDE_NOT_REPAIRED_AGENT_SAY_CHARS = 600;\nconst VERIFICATION_MAX_CAPTURED_BYTES = 10 * 1024 * 1024;\n\n\n/** Tail size persisted on the task row; full streams go to traceability artifacts. */\nconst OUTPUT_TAIL_CHARS = 16_000;\n\ninterface ActiveRunState {\n taskId: string;\n startedAt: string;\n /** Cancels the in-flight coding session. Cooperative first, kill second. */\n abortController: AbortController;\n /** Whether it shares the tree with a wave (#1528); a concurrent run takes the workspace lock only to commit. */\n mode: CodingRunConcurrency;\n /**\n * Present once the run was CANCELLED and its park is being withdrawn — by its own chain on the way\n * out, or by a per-run cancel no chain held, whose guard entry this is (#1581, eighth to tenth reviews).\n * The entry stays registered meanwhile, so a person's answer is refused until the withdraw is done;\n * and a second cancel AWAITS this withdraw's outcome rather than starting another or guessing.\n */\n withdrawal?: Promise<CancelledParkOutcome>;\n /**\n * TRUE for the registration a per-run cancel takes while it withdraws a park no chain holds (#1581). It\n * holds the task against a concurrent answer and WRITES NOTHING, so it is never a live writer (#1805\n * review F4): counting it deferred reconciliations nothing would ever resume.\n */\n withdrawalGuard?: true;\n}\n\n/**\n * What became of a cancelled run's park (#1581, tenth review). Told apart because a person is told\n * which: a best-effort withdraw can fail, and the store can fail to answer at all.\n */\nexport enum CancelledParkOutcome {\n /** The park is gone — withdrawn now, or none was left to withdraw. */\n ENDED = 'ended',\n /** The withdraw failed and the question is still waiting. */\n STILL_WAITING = 'still-waiting',\n /** Neither could be confirmed: the run could not be read. */\n UNCONFIRMED = 'unconfirmed',\n}\n\n/**\n * A read that found NO park — the task, its execution or its wait is absent — as opposed to a read that\n * failed. The store's `NOT_FOUND` and the driver's `ACTOR_EXECUTION_NOT_SUSPENDED` are the only answers\n * that mean \"nothing is waiting here\"; anything else means \"could not tell\" (#1581, tenth review R10-1).\n */\nfunction isAbsentParkRead(error: unknown): boolean {\n return (error as { customMessageReference?: unknown } | null)?.customMessageReference === ErrorCustomMessageReference.NOT_FOUND\n || isActorExecutionNotSuspendedError(error);\n}\n\n/**\n * How a parked run's resume went (#1581, seventh review). The two answerers act on it: only a resume\n * that RAN can have parked again, and a person whose answer resumed nothing is told why.\n */\nenum ParkedRunResumeOutcome {\n /** The driver admitted the resume and the continued turn ran, however it then ended. */\n RAN = 'ran',\n /** An operator's cancel was found before any turn — before the driver moved anything, or just after, when the question is handed back — and the chain withdraws the park. */\n CANCELLED = 'cancelled',\n /** The driver refused before moving anything — the run no longer waits on this decision, or another run holds its subject. The park is as it was. */\n REFUSED = 'refused',\n}\ntype ParkedRunResume =\n | { readonly outcome: ParkedRunResumeOutcome.RAN | ParkedRunResumeOutcome.CANCELLED }\n | { readonly outcome: ParkedRunResumeOutcome.REFUSED; readonly refusal: unknown };\n\n/**\n * The trace half of one coding run: the internal session its writes are attributed to, and the\n * errors tracing itself raised — which feed the run's disposition, because required evidence that\n * could not be recorded makes a working result a `TRACEABILITY_FAILED` one.\n *\n * Opened BEFORE the engine drives the run (#1359) because the session is also the scope every actor\n * plane write of that run carries, and the driver takes its scope when the run starts.\n */\ninterface CodingRunTrace {\n readonly runSession: CompanionExecutionSessionContext | undefined;\n readonly runStep: ReturnType<CompanionTraceabilityService['createStep']> | undefined;\n readonly traceabilityErrors: unknown[];\n readonly traceBestEffort: (operation: string, write: () => Promise<void>) => Promise<void>;\n}\n\n/**\n * How one coding run's executor ENDED, as the engine's execution driver is told to record it.\n *\n * Two ways, and neither is a throw. `parked`: the agent stopped to ask the operator, so the run\n * waits on its execution with the question and its resume inputs. `concluded`: the disposition\n * ladder classified the run — and a `FAILED` conclusion is a REPORTED outcome of a dispatch that\n * succeeded (the agent ran, files may have changed, verification said no), which is why it is a\n * classification with its full output rather than an exception that would lose it.\n *\n * `afterSettle` runs once the rows have moved: the success/failure trace names a result the durable\n * row already carries, never one it might still fail to.\n */\nenum CodingRunEnding {\n /** The agent stopped to ask the operator; the run waits on its execution and can be continued. */\n PARKED = 'parked',\n /** The disposition ladder classified the run — a working result or a reported failure, both terminal. */\n CONCLUDED = 'concluded',\n}\n\ntype CodingRunResult =\n | { readonly kind: CodingRunEnding.PARKED; readonly suspension: ActorExecutionSuspensionRequest; readonly output: unknown; readonly afterSettle: () => Promise<void> }\n | { readonly kind: CodingRunEnding.CONCLUDED; readonly conclusion: ActorExecutionConclusion; readonly output: unknown; readonly afterSettle: () => Promise<void> };\n\n/**\n * How many change-set file entries ride on the durable row's summary.\n *\n * A build task's change-set is a handful of files by construction — the task declares its mutation\n * scope — so this bounds the pathological case rather than the ordinary one. Chosen over \"all of\n * them\" because the row is read by a judge whose brief is assembled per run, and over \"none of them\"\n * because that is what made the judge answer INDETERMINATE about work it could not see.\n */\nconst CHANGE_SET_SUMMARY_FILE_LIMIT = 40;\n\n/**\n * Where this process says \"a coding agent is running\", app-root-relative. Beaten while ANY run is in\n * {@link CodingAgentDispatchCompanionService}'s active set — single-flight or concurrent, fresh or\n * resumed — and removed when none is.\n *\n * ## Why the lock is not enough\n *\n * The dev supervisor holds a restart while a coding run is in flight, because a restart kills the\n * agent with the companion (#1026). It used to know that from the workspace-mutation lock's heartbeat\n * alone. Since #1528 a CONCURRENT run holds no lock — it takes one only around its commit — so a\n * parallel build wave was invisible to the hold. Measured 2026-09-27 on Wonder Todos: a\n * `bottom_up.build-dispatch` ran five concurrent children, two of them edited the frontend, the\n * frontend's rebuild made the supervisor restart the companion onto it, and every child still running\n * was killed; the run ended \"the host running this execution stopped\" with no measurement.\n *\n * A COPY of `CODING_RUN_HEARTBEAT_RELATIVE_PATH` in\n * `scripts/dev-orchestrator/runtime-supervisor-lifecycle.mjs`, which cannot import this source; pinned\n * equal by `scripts/__tests__/runtime-supervisor-workspace-mutation-hold.test.mjs`.\n */\nconst CODING_RUN_HEARTBEAT_RELATIVE_PATH = '.wildo-saas/state/coding-run.heartbeat';\n\n/** How often that file's mtime is refreshed; the supervisor judges it stale at three times this (`AGENT_RUN_HEARTBEAT_STALE_MS`). */\nconst CODING_RUN_HEARTBEAT_INTERVAL_MS = 5_000;\n\n/** Local narrow: is this an indexable object (not null, not an array)? */\nfunction isRecordValue(value: unknown): value is Record<string, unknown> {\n return typeof value === 'object' && value !== null && !Array.isArray(value);\n}\n\n/**\n * What a settled application coding run ACTUALLY did, read back from its durable row.\n *\n * Admission and settlement are different instants, and the gap between them is the whole run. A\n * caller that reports the first as the second says a green thing about work that has not happened\n * — which is what `bottom_up.build-dispatch` did on its first playbook run: `finishedAt` equalled\n * the coding run's `startedAt` to the millisecond. So this is the shape a waiting caller reports\n * INSTEAD of its own admission.\n *\n * `succeeded` is the durable row's own verdict, never re-derived here: the disposition ladder that\n * produced it (agent failure → capture failure → verification failure → traceability failure →\n * working result) lives at the one site that can see all four, and a second opinion computed from\n * a subset would disagree with it eventually.\n */\n/**\n * A run a restart stopped while it was writing (#1805): a coding run or a generation step, as the startup\n * sweeps report it, for the one recovery over every such run.\n */\nexport interface InterruptedRun {\n /** The run's durable task id — where its baseline lives, and its write record's key. */\n readonly taskId: string;\n /**\n * TRUE when the run held only its own task, so siblings wrote in the same tree beside it (#1528). Its\n * capture then holds files that may be theirs, and nothing that survived the restart says which.\n */\n readonly sharedTree: boolean;\n}\n\nexport interface ApplicationCodingTaskSettledOutcome {\n readonly taskId: string;\n /** The build-plan task this run was dispatched for, when the row records one. */\n readonly taskRef: string | null;\n /** The durable actor-task status: COMPLETED, FAILED, ABORTED, CANCELLED — or AWAITING_APPROVAL for a parked run (#1359). */\n readonly status: string;\n readonly succeeded: boolean;\n readonly disposition: string | null;\n /**\n * The run PARKED asking the operator a question, so it is neither finished nor failed. Its row\n * WAITS (`AWAITING_APPROVAL`), and reporting that as a failure would tell an operator to\n * re-dispatch work that is one answer away from continuing. Read from the STATUS, not from the\n * question left on the output — a withdrawn park keeps its output and is waiting for nobody.\n */\n readonly awaitingAnswer: boolean;\n /** Named, not counted: a caller that must say WHY a run failed cannot do it from a number. */\n readonly failedVerificationRefs: readonly string[];\n /**\n * Every verification check the run gated on, pass or fail. The `dispatch-outcome-sound` treatment's\n * first criterion reads exactly this — \"every required verification check succeeded\" — and it cannot\n * be answered from the failures alone: a run that ran NO checks and a run that passed three are\n * indistinguishable once only the empty failure list survives.\n */\n readonly verification: ReadonlyArray<{ readonly checkRef: string; readonly success: boolean }>;\n /** The run's change-set as the host sealed it (shas, whether HEAD moved, stats), carried verbatim. */\n readonly changeSetSummary: Record<string, unknown> | null;\n /**\n * What the run changed OUTSIDE its declared scope, RECORDED rather than refused (2026-09-13). It may\n * include a parallel session's edits, which is why it is evidence for a reviewer and not a verdict.\n */\n readonly scopeAssessment: Record<string, unknown> | null;\n /**\n * Why the agent's turn ended. A turn that stopped on `max_tokens` or `refusal` leaves a partial change\n * set that looks exactly like a complete one from the diff alone.\n */\n readonly agentStopReason: string | null;\n}\n\n/** One live frame relayed to an SSE subscriber: an agent event or a ladder state change. */\nexport interface CodingSessionLiveFrame {\n readonly channel: 'event' | 'state';\n readonly payload: unknown;\n}\n\ninterface VerificationOutcome {\n kind: VerificationKind;\n path: string | null;\n success: boolean;\n message: string;\n stdoutTail: string;\n stderrTail: string;\n /**\n * Advice a check gives without failing (#2818), one sentence each. A passing check's output reaches no reader, so a\n * check with something to say on a pass lifts it here, and the commit body prints it beside \"passed\".\n */\n advisories?: readonly string[];\n}\n\n/**\n * What changed inside the run window outside the sealed task scope — RECORDED for the reviewer, never\n * a reason to fail the run. See {@link assessApplicationCodingTaskMutationScope} for why.\n */\ninterface ApplicationCodingTaskScopeAssessment {\n /**\n * Changed-during-run paths (application-relative) that fall outside `allowedPathPrefixes` or inside\n * `prohibitedPathPrefixes`. This run's work OR a parallel session's — the change set cannot tell\n * which, so this is a list to read, not a verdict.\n *\n * Never a path ABOVE the application root (#1020). Such a path is keyed `../…` and lands in the\n * change set as `OUTSIDE_APPLICATION_ROOT` — visible and counted there — but a task scope is\n * application-relative by contract and could never have admitted it, so listing it here would only\n * ever name other sessions' edits elsewhere in the repository. Measured: 38 of 39 on one run.\n */\n outOfScopePaths: string[];\n /**\n * Every changed path the scope list above DELIBERATELY drops, each with the attribution class that\n * dropped it: committed inside the window, written by a concurrent companion lane, or above the\n * application root.\n *\n * The exclusions themselves are right and unchanged — a task scope is application-relative and could\n * never have admitted a `../…` path (#1020); a commit inside the window empties the dirty set every\n * other class is computed from; a concurrent lane's writes are not this run's to answer for. What was\n * missing is that a reader could not tell a deliberate exclusion from an omission.\n *\n * The evaluation treatment's judge found that twice in one hour on 2026-09-16, about a DIFFERENT\n * class each time — first `outside_application_root` (\"the evidence therefore does not account for\n * it\"), then `committed_during_run` (\"only labeled `committed_during_run`; it is not listed in\n * `outOfScopePaths` or otherwise accounted for\"). Reporting one class and excluding three is what\n * made the second finding inevitable, so this is total over the predicate rather than a list of the\n * classes anyone has complained about so far.\n */\n excludedFromScopeAssessment: Array<{ path: string; attribution: ChangeSetAttributionClass }>;\n /**\n * A commit landed inside the run window, so this window's attribution is\n * INCOMPLETE: a commit empties the dirty set every other class here is\n * computed from, and a parallel session's commit is indistinguishable from\n * the agent's own.\n *\n * RECORDED, NOT REFUSED — decided 2026-08-19, and the reasoning is the same\n * rule the plan applies to every other strictness in this vertical: exactness\n * is retained where a protected, accepted-state or real-effect consumer needs\n * it, and nowhere else. A coding run produces a WORKING result; it mutates no\n * accepted truth. Refusing the whole run here bought no protection of\n * anything accepted, while on a shared tree with parallel sessions ANY commit\n * overlapping ANY run — including one touching nothing the agent touched —\n * failed that run, with no worktree isolation to fall back on (ruled out for\n * this application) and no remedy a single session can enforce.\n *\n * What replaces the refusal is visibility that a consumer cannot miss: the\n * committed paths are recovered into the change set as\n * `COMMITTED_DURING_RUN`, and this flag rides on the recorded result. The\n * OBLIGATION moves with it — whatever later accepts this working result must\n * treat `historyMutated` as attribution it cannot rely on, and must not\n * promote it without review. That obligation belongs to whoever reviews and\n * commits the result: no code reads `historyMutated`.\n */\n historyMutated: boolean;\n}\n\n/**\n * Which changed-during-run paths fall outside the task's declared scope. RECORDED, NOT REFUSED.\n *\n * Decided by Paul, 2026-09-13, after measuring what the refusal cost. `build-task-company-config` made\n * its two in-scope edits, stopped at `end_turn`, and was recorded failed — against three\n * `marketing/website` files a parallel Claude Code session edited inside the run window. The capture\n * compares a snapshot at dispatch with one at the end, so a file that was clean at dispatch and dirty\n * at the end is `RUN_EXCLUSIVE` whoever wrote it. On a tree where several sessions work at once, that\n * made EVERY coding run fail the moment anyone touched anything else: the intended use — hand the\n * Wildo lane a change and keep editing elsewhere meanwhile — could not work at all.\n *\n * The same reasoning was already applied twice and is now applied everywhere: a commit landing\n * mid-run (2026-08-19) and a concurrent research lane (2026-09-09) were each excluded because they\n * cannot be attributed. A parallel session's uncommitted edit is the same fact, and it cannot be\n * listed by root, so the refusal itself is what goes. This is also the application-creation\n * directive: mutation is free, git makes every change visible and reversible, and acceptance is the\n * commit — a restriction arrives later as a judge reading this list, never as a refusal in the lane.\n *\n * What stays enforced is the agent's OWN act: an edit whose permission request declares a location\n * outside the scope is still denied in flight by the runner. What this list adds is visibility for\n * what that guard cannot see — shell commands, which declare no location, and other people's edits.\n * One limit on that: for an application nested inside its repository, a NEW untracked file created\n * OUTSIDE the application is not listed, because `ls-files --others` run from the application root sees\n * only untracked files beneath it. A shell write escaping the application is visible here when it\n * modifies a tracked file, not when it creates one. Verification runs regardless.\n * assurance-control: WILDO.SOFTWARE.AI_PRODUCED_CHANGE_CONTROL — what a run changed outside its task's scope inside the application, shell writes included, is recorded on its result; a new file a shell command creates outside the application is the one change this list cannot see.\n */\nfunction assessApplicationCodingTaskMutationScope(\n changeSet: GitChangeSetCapture,\n allowedPrefixes: readonly string[],\n prohibitedPrefixes: readonly string[],\n): ApplicationCodingTaskScopeAssessment {\n const normalizedAllowed = allowedPrefixes.map(normalizeApplicationRelativePrefix);\n const normalizedProhibited = prohibitedPrefixes.map(normalizeApplicationRelativePrefix);\n /*\n * Committed paths are deliberately EXCLUDED from the scope decision. They are\n * present in `changeSet.files` (as `COMMITTED_DURING_RUN`) so nothing is\n * invisible, but nobody can attribute them: a parallel session's commit and\n * the agent's own look identical from here, so listing them would record\n * other people's work as this run's. `historyMutated` carries that fact forward\n * instead, for whoever reviews the result.\n */\n /*\n * A disappearance is only listed when the run can be held responsible for it, and a commit\n * landing inside the window is precisely when it cannot.\n *\n * `disappearedFromBaseline` is \"dirty at baseline, no longer dirty post-run\", which has two\n * causes that look identical from here: the agent reverted or deleted the file (attributable,\n * and a real boundary breach if the path is out of scope), or a commit emptied the dirty set\n * (not attributable — a parallel session's commit and the agent's own are indistinguishable,\n * which is the exact reasoning the `COMMITTED_DURING_RUN` exclusion above already applies).\n *\n * Including them unconditionally made the two treatments contradict each other: the committed\n * PATHS were excluded as unattributable while the disappearance THAT SAME COMMIT CAUSED was\n * used to fail the run. Measured 2026-08-28 on wonder-crm — a run that stopped cleanly at\n * `end_turn`, honoured every permission decision and wrote NOTHING (`runExclusive: 0`,\n * `appearedDuringRun: 0`) was recorded `mutation_scope_violation` against 13 engine paths it\n * never touched, because a human committed at 17:47:56 and 17 baseline-dirty files left the\n * set. The field's own contract already said they \"are NOT attributed change-set entries\".\n *\n * So the exclusion is conditional, not blanket: with no commit in the window a disappearance\n * IS the run's doing and is still listed. Only the case the run cannot be responsible for is\n * dropped, and it stays visible — the paths remain on `disappearedFromBaseline`, and\n * `historyMutated` tells the reviewer the window is unattributable.\n */\n const disappearancesAttributableToTheRun = changeSet.headMovedDuringRun\n ? []\n : changeSet.disappearedFromBaseline;\n\n /*\n * A CONCURRENT_HOST_LANE path is excluded for the same reason a committed one\n * is, and the exclusion is applied in the same place for the same reason: it\n * belongs to a companion lane that runs INSIDE this window and is not this\n * run's to write. The research dispatch takes no workspace-mutation lock by\n * design — it mutates nothing but its own evidence store — and that store is\n * committable and therefore fully visible here, so before this filter (2026-09-09,\n * while this check still refused) one `POST /api/companion/research` overlapping\n * a coding run failed the coding run as `MUTATION_SCOPE_VIOLATION` against files\n * it never touched. Today nothing refuses; the filter keeps another lane's\n * writes off the out-of-scope list the reviewer reads, so that list names only\n * paths that could be this run's.\n *\n * Both halves are filtered, and the second is easy to miss: an entry carries\n * an attribution class, while a DISAPPEARANCE is a bare path — so the\n * disappearance of an evidence file a research round rewrote or deleted would\n * otherwise be listed. One predicate answers both (its own contract says why it\n * is exported).\n */\n /*\n * And a path ABOVE THE APPLICATION ROOT is excluded on the same terms (#1020): the scope this list\n * is compared against is application-relative, so `../engine/…` can never be admitted by it, and on a\n * monorepo checkout such a path is another session's edit — 38 of the 39 paths one run was recorded\n * against. The entry stays in the change set as `OUTSIDE_APPLICATION_ROOT` and is counted; the bare\n * disappearance is filtered by the same predicate, for the reason given above.\n */\n /*\n * THE exclusion predicate, named once and read twice: by the scope list that drops these entries and\n * by the record that names them. Deriving both from one function is the point — the previous shape\n * excluded three classes and reported one, which is how the judge came to read an unexplained gap\n * twice in an hour, about a different class each time.\n */\n const isExcludedFromScopeAssessment = isAttributedToAnotherWriter;\n const outOfScopePaths = [\n ...changeSet.files\n .filter((entry) => !isExcludedFromScopeAssessment(entry.attribution))\n .map((entry) => entry.path),\n ...disappearancesAttributableToTheRun.filter((path) => !isConcurrentHostLanePath(path) && !isOutsideApplicationRootPath(path)),\n ]\n .filter((path) => {\n const normalizedPath = normalizeApplicationRelativePrefix(path);\n const inAllowedScope = normalizedAllowed.some((prefix) => matchesApplicationRelativePrefix(normalizedPath, prefix));\n const inProhibitedScope = normalizedProhibited.some((prefix) => matchesApplicationRelativePrefix(normalizedPath, prefix));\n return !inAllowedScope || inProhibitedScope;\n });\n /*\n * Everything the scope list deliberately drops, named WITH THE CLASS that dropped it, so the record\n * reconciles itself instead of leaving a reader to infer an omission. Derived from the predicate\n * above, so a class added to the exclusion tomorrow is reported here the same day.\n */\n const excludedFromScopeAssessment = changeSet.files\n .filter((entry) => isExcludedFromScopeAssessment(entry.attribution))\n .map((entry) => ({ path: entry.path, attribution: entry.attribution }));\n return {\n // No field here gates the run: all are recorded for whoever reviews and commits this result.\n outOfScopePaths,\n excludedFromScopeAssessment,\n historyMutated: changeSet.headMovedDuringRun,\n };\n}\n\n/**\n * The LIVE counterpart of {@link assessApplicationCodingTaskMutationScope}:\n * decides, while the agent is still running, whether one absolute path is\n * inside the task's declared mutation scope.\n *\n * Deliberately reuses the SAME normalisation and boundary matching as the\n * post-hoc assessment. Two predicates answering \"is this path in scope?\" with\n * different rules would make the record contradict the guard — a path the live\n * guard permitted listed as out of scope afterwards, or a refused one missing\n * from that list's reasoning. (The post-hoc assessment only records since\n * 2026-09-13; the agreement still matters, because the reviewer reads both.)\n *\n * It NARROWS and never widens: the permission ceiling still decides the KIND of\n * operation, and this only refuses a path that ceiling would otherwise allow.\n * A path outside the workspace is refused outright rather than reasoned about.\n */\n/*\n * The option refs and the field ref moved to `@wildo-ai/platform-core-shared` on 2026-09-19, beside\n * the `workbenchParkedCodingQuestions` row that carries them to a browser. They are re-exported here\n * under their old names so this file's callers are unchanged, and there is ONE declaration.\n */\nexport { Workbench_ParkedCodingQuestionOptionRef as ParkedCodingQuestionOptionRef } from '@wildo-ai/platform-core-shared';\nexport { WORKBENCH_PARKED_CODING_QUESTION_FIELD_REF as PARKED_CODING_QUESTION_FIELD_REF } from '@wildo-ai/platform-core-shared';\n\n/**\n * Exported for tests that build the service without its constructor (field initializers do not run\n * under `Object.create`), so they read the PRODUCTION classification rather than a copy of it.\n */\nexport const CODING_RUN_OPTIONS: ActorExecutionRunOptions<CodingRunResult> = {\n suspendOn: (result) => (result.kind === CodingRunEnding.PARKED ? result.suspension : null),\n concludeAs: (result) => (result.kind === CodingRunEnding.CONCLUDED ? result.conclusion : null),\n};\n\n/**\n * Project a parked coding run as a decision a person can be shown.\n *\n * ONE free-text field, because that is what ACP gives us: `CodingAgent_SessionSuspension` carries the\n * agent's end-of-turn message and nothing structured. The payload's field set is general enough to\n * carry that as its degenerate case, which is the point of modelling a question as a field set rather\n * than as \"the question\".\n *\n * `resumable: false` is surfaced in the description rather than hidden: the question is still real,\n * but answering starts a NEW session that must restate the task context — a degradation the person\n * deciding should see, not one the caller should smooth over.\n */\nfunction projectParkedCodingQuestionAsDecision(parked: {\n /** The TASK id — the lane's handle everywhere (the answer door, the live stream, the board row). */\n readonly taskId: string;\n readonly taskRef: string;\n readonly suspension: { readonly question: string; readonly resumable: boolean };\n readonly parkedAt: string;\n}): HumanDecision_Request {\n return {\n decisionId: parked.taskId,\n title: parked.taskRef,\n description: parked.suspension.resumable\n ? 'The coding agent stopped to ask. Answering resumes the same session.'\n : 'The coding agent stopped to ask. This session cannot be re-entered, so answering starts a NEW one that must restate the task context.',\n fields: [{\n ref: WORKBENCH_PARKED_CODING_QUESTION_FIELD_REF,\n question: parked.suspension.question,\n kind: HumanDecision_FieldKind.FREE_TEXT,\n }],\n options: [\n { ref: Workbench_ParkedCodingQuestionOptionRef.ANSWER, label: 'Answer and continue', intent: HumanDecision_ResponseIntent.PROCEED_WITH_VALUES },\n { ref: Workbench_ParkedCodingQuestionOptionRef.CANCEL, label: 'Cancel this run', intent: HumanDecision_ResponseIntent.ABORT },\n ],\n requestedAt: parked.parkedAt,\n };\n}\n\nexport function buildApplicationCodingTaskLocationPredicate(\n workspaceRootPath: string,\n allowedPrefixes: readonly string[],\n prohibitedPrefixes: readonly string[],\n): (absolutePath: string) => boolean {\n const normalizedAllowed = allowedPrefixes.map(normalizeApplicationRelativePrefix);\n const normalizedProhibited = prohibitedPrefixes.map(normalizeApplicationRelativePrefix);\n\n /*\n * Compare against BOTH the configured root and its physical realpath.\n *\n * Agents report CANONICAL absolute paths. Measured live on 2026-08-27: with a\n * workspace under `/var/folders/...` (a macOS symlink to `/private/var/...`),\n * the agent's permission request named the `/private/...` form while the\n * configured root was the `/var/...` form, so an IN-SCOPE edit was refused and\n * the run reported the agent declining to do its job. A scope predicate that\n * silently denies everything is worse than one that denies nothing, because\n * it looks like the agent failing rather than the guard misfiring.\n */\n const candidateRoots = applicationRootSpellings(workspaceRootPath);\n\n // assurance-control: WILDO.SOFTWARE.AI_PRODUCED_CHANGE_CONTROL — a task's write scope admits only paths inside the application that its allowed prefixes cover and its prohibited prefixes do not, under either spelling of the root.\n return (absolutePath: string): boolean => {\n if (!isAbsolute(absolutePath)) {\n return false;\n }\n const relativePath = candidateRoots\n .map((root) => relative(root, absolutePath))\n .find((candidate) => candidate && !candidate.startsWith('..') && !isAbsolute(candidate));\n if (!relativePath) {\n return false;\n }\n const normalizedPath = normalizeApplicationRelativePrefix(relativePath.split(sep).join('/'));\n const inAllowedScope = normalizedAllowed.some((prefix) => matchesApplicationRelativePrefix(normalizedPath, prefix));\n const inProhibitedScope = normalizedProhibited.some((prefix) => matchesApplicationRelativePrefix(normalizedPath, prefix));\n return inAllowedScope && !inProhibitedScope;\n };\n}\n\n/**\n * The configured application root and, when it differs, its physical realpath — the two spellings an\n * agent's absolute path may use (see the predicate above). An unresolvable root is left as authored;\n * a relative check against it still refuses anything outside it.\n */\nfunction applicationRootSpellings(workspaceRootPath: string): string[] {\n const roots = [workspaceRootPath];\n try {\n const physicalRoot = realpathSync.native(workspaceRootPath);\n if (physicalRoot !== workspaceRootPath) roots.push(physicalRoot);\n } catch {\n // Left as authored.\n }\n return roots;\n}\n\nfunction normalizeApplicationRelativePrefix(value: string): string {\n return value.replace(/\\\\/g, '/').replace(/^\\.\\//, '').replace(/\\/+$/, '');\n}\n\n/** Prefix matches require a path boundary: `src/app` does not admit `src/application`. */\nfunction matchesApplicationRelativePrefix(path: string, prefix: string): boolean {\n return path === prefix || path.startsWith(`${prefix}/`);\n}\n\n/** How long one read of the coding agent's login serves the polled status route (#1637). */\nconst CODING_AGENT_LOGIN_CACHE_MS = 60_000;\n\n/**\n * What a generation step that SHARED the working tree with concurrent coding runs may claim as its own (#2240):\n * the captured paths under the directories only it writes. Its capture also holds its siblings' writes, so a\n * path outside those directories is not its to be named for, and the wave reconciliation commits it, writer\n * unknown.\n *\n * The directories are the dispatch plan's writable roots for the step, derived from its evidence paths (the\n * label unit trees, the brand module's directory, the published documentation index, the migrations\n * directory), never a second hand-kept list. A coding run that edited a file under one of them anyway would\n * have it committed under the step's name; that is the step's tree, and the coding policy keeps the generated\n * documentation prefix out of a coding run's scope for exactly that reason.\n *\n * An entry may also name ONE FILE: a step `GENERATION_STEP_WRITE_SCOPE` scopes to its `EVIDENCE_FILES` (the\n * `design-tokens` stylesheet #2358, the `design-system-brand` module #2353, the `engine-capabilities` step's\n * `wildo.saas.config.ts` #2497, every file of the `display-name` step #2505 review F2). Such a file is NEVER claimed\n * here: other writers share it or the directory around it (frontend coding tasks write beside the stylesheet, coding\n * tasks write the configuration, website section tasks write the label packs), so claiming it would commit a concurrent\n * run's half-written edits under this step's name. It is left for the wave-end reconciliation, which commits it with its\n * siblings. A NESTED directory written without its trailing slash still claims what lies beneath it, and `src/app` never\n * claims `src/application`; a bare root-level name cannot be told from a root-level file, so it is dropped too. Every\n * root `resolveGenerationStepWritableRoots` answers for a directory carries its slash.\n */\nexport function claimGenerationStepOwnedPaths(capturedPaths: readonly string[], ownedPathPrefixes: readonly string[]): readonly string[] {\n // A file path read as a directory (`frontend/index.html/`) prefixes nothing, and a root-level file is dropped outright,\n // so neither is ever claimed.\n const prefixes = ownedPathPrefixes\n .filter((prefix) => prefix.length > 0 && prefix !== '/' && (prefix.endsWith('/') || prefix.includes('/')))\n .map((prefix) => (prefix.endsWith('/') ? prefix : `${prefix}/`));\n return capturedPaths.filter((capturedPath) => prefixes.some((prefix) => capturedPath.startsWith(prefix)));\n}\n\n@injectable()\nexport class CodingAgentDispatchCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n\n /**\n * The CANCEL HANDLE of the coding session this process is driving — nothing more (#1361).\n *\n * Until 2026-09-20 this was also the single-flight flag (the \"fast 409\" in front of the lockfile),\n * and the status route's answer to \"is a run active\". Both now read the actor plane: a coding run\n * holds the engine's lease on the `worktree` subject, so the refusal and the badge are as true\n * after a restart, or from a second process, as inside the one driving the run. What cannot live\n * on a row is an `AbortController`, so that is what stays here.\n */\n private readonly activeRuns = new Map<string, ActiveRunState>();\n\n /**\n * The {@link CODING_RUN_HEARTBEAT_RELATIVE_PATH} beat, in step with {@link activeRuns}. Built on first\n * use, because harnesses build this service through `Object.create` and skip field initializers.\n */\n private codingRunHeartbeat: InFlightWorkHeartbeat | undefined;\n\n /**\n * How deeply each task's coding work is in flight — what the heartbeat reads, rather than\n * {@link activeRuns}'s size.\n *\n * `activeRuns` is keyed by task and RE-ENTERED: a run that parks on a question is resumed from inside\n * its own chain (#1559), and that resume swaps its own registration in under the same key and puts the\n * run's back afterwards (#1581). The heartbeat must not follow the set's size through that swap: a\n * resume with no run registered around it would be one entry that appears and disappears unsynced, and\n * a CONCURRENT run with no sibling would have the supervisor restart under it. So the heartbeat counts\n * depth: {@link registerActiveRun} adds one, {@link unregisterActiveRun} takes one, and the resume adds\n * and takes its own. The answer chain is held whole because it is registered whole (#1581). Built\n * lazily for the same `Object.create` reason as the beat itself.\n */\n private codingWorkDepth: Map<string, number> | undefined;\n\n private adjustCodingWorkDepth(taskId: string, delta: 1 | -1): void {\n this.codingWorkDepth ??= new Map();\n const next = (this.codingWorkDepth.get(taskId) ?? 0) + delta;\n if (next > 0) this.codingWorkDepth.set(taskId, next);\n else this.codingWorkDepth.delete(taskId);\n this.syncCodingRunHeartbeat();\n }\n\n private syncCodingRunHeartbeat(): void {\n // No application root, nowhere to beat — a harness, never a running companion. The beat describes\n // the run; it must never be able to fail it.\n const saasRoot = this.companionContext?.saasRoot;\n if (typeof saasRoot !== 'string') return;\n this.codingRunHeartbeat ??= new InFlightWorkHeartbeat(\n join(saasRoot, CODING_RUN_HEARTBEAT_RELATIVE_PATH),\n CODING_RUN_HEARTBEAT_INTERVAL_MS,\n (message, error) => this.logDebug(message, { error: describeCaughtError(error) }),\n );\n this.codingRunHeartbeat.sync((this.codingWorkDepth?.size ?? 0) > 0);\n }\n\n /**\n * Who cancelled a run, keyed by its ABORT CONTROLLER (#1751 review N2). A resumed turn swaps a new\n * registration in that SHARES the run's controller and restores the old one afterwards, so a field on\n * the registration was lost when a person cancelled during that turn; the controller is the one thing\n * both registrations hold. Not the abort REASON: consumers of the signal throw its reason, and the lane\n * classifies a cancelled turn by its AbortError.\n */\n private readonly cancellersByController = new WeakMap<AbortController, string>();\n\n /**\n * Every coding run's time in the tree, kept for the runs that overlap it (#1528): a concurrent run\n * records which runs shared the tree with it and which paths they both changed. Pruned to\n * {@link CODING_RUN_WINDOW_RETENTION_MS}; in-process, because the comparison is only ever made by\n * the process that drove both runs.\n */\n private codingRunWindows: CodingRunWindow[] = [];\n\n /**\n * The coding agent's account usage limit, while it lasts (#2388): set by the run that met it, released by\n * its reset or by a success whose run STARTED after the limit was met (an earlier sibling's success proves\n * nothing, #2388 review F4). The build wave reads it before it fills a slot\n * ({@link readCodingAgentUsageLimitHold}), so no turn is started into a window certain to refuse it.\n *\n * In-process on purpose, and that is also the operator's door: a hold is only ever a reason not to START\n * a turn, so losing it costs at most one turn, which meets the limit again, records it again and is\n * counted by nothing. Restarting the companion clears it — the way past a stated reset after switching\n * the agent's account, until a console verb exists for that. An explicitly dispatched single task\n * (`wildo build run <task>`) is never held: an operator who starts one is choosing to try, and its success —\n * a run started after the limit — releases the hold.\n */\n private codingAgentUsageLimitHold: (CodingAgentUsageLimit & { readonly taskRef: string; readonly runTaskId: string }) | undefined;\n\n /**\n * Who wants to know that a run's writes were committed by the loop (#1534).\n *\n * A commit LANDS a task, so every derived board that reads landing is stale the moment one is made.\n * The workbench's `accept` invalidates the creation-plane projection itself; the loop cannot,\n * because the projection already depends on THIS service and injecting it back would be a cycle.\n * So the dependency points the way it already does: the projection subscribes here.\n */\n private readonly runAcceptedListeners: Array<() => void> = [];\n\n public registerRunAcceptedListener(listener: () => void): void {\n this.runAcceptedListeners.push(listener);\n }\n\n /**\n * Who wants to know that a build task's RUN STATE changed (#1310) — every trigger is listed on\n * {@link announceRunStateChanged}: selected, started (fresh or resumed), settled, refused before\n * admission, re-armed, and a generation step opening and ending.\n *\n * Wider than {@link registerRunAcceptedListener} on purpose. Each moves the creation boards through\n * actor-plane state no file signature can see: a selected or started run is in flight to the\n * next-task selection, a settled one changes its dispatch row and can LAND a task declaring no\n * product (the RAN-not-PROVEN mark), a refusal leaves a counted failure, and a re-arm releases a task\n * the loop guard or attempt budget was holding — which is what un-stucks the eligibility board's\n * all-stuck gate. Same direction as the accepted-run seam, for the same reason: the projection\n * depends on this service, so it subscribes here.\n *\n * One timing is deliberate rather than exact: a run that PARKS inside a fresh chain is announced\n * when that chain ends, after the answering agent's turn, so for about one model call a cached\n * board may still count it as in flight. Announcing at the park would re-derive the boards and\n * then again at the chain's end, for a window that closes on its own.\n */\n private readonly runStateChangedListeners: Array<() => void> = [];\n\n public registerRunStateChangedListener(listener: () => void): void {\n this.runStateChangedListeners.push(listener);\n }\n\n /**\n * Who wants to know that a build task's coding run COMPLETED (#2593): the build task and the run, announced once per\n * run after its rows have moved and its writes were accepted under the posture. Separate from\n * {@link registerRunStateChangedListener}, which carries no identity because the boards only need to re-derive: a\n * listener here acts on ONE run (the build dispatch service reviews a website task's copy and records the review on\n * that run). Same direction as the other seams: the listener's service depends on this one.\n *\n * A listener must not hold the run up: it is called synchronously, inside the run's settle (a single-flight run still\n * holds the workspace lock there), so anything slow is started and left to finish on its own.\n */\n private readonly runCompletedListeners: Array<(completed: { readonly taskRef: string; readonly runTaskId: string }) => void> = [];\n\n public registerRunCompletedListener(listener: (completed: { readonly taskRef: string; readonly runTaskId: string }) => void): void {\n this.runCompletedListeners.push(listener);\n }\n\n private announceRunCompleted(completed: { readonly taskRef: string; readonly runTaskId: string }): void {\n for (const listener of this.runCompletedListeners) {\n try { listener(completed); } catch (error) { this.logDebug('A run-completed listener threw', { error: describeCaughtError(error) }); }\n }\n }\n\n /**\n * Every read-modify-write of a coding run's MEMORY goes through this one lane (#2593): a re-arm, an interference and\n * a copy review each append to the long-term store by writing the whole memory back, so two of them interleaved on\n * one run would drop the first one's entry. They used to be sequential by accident (the wave re-armed, then recorded\n * the interference); the copy review starts when a run completes, which is not ordered against either.\n */\n private runMemoryWrites: Promise<unknown> | undefined;\n\n /** Run `write` after every memory write already queued, whether those succeeded or not; `undefined` = none queued. */\n private serializeRunMemoryWrite<T>(write: () => Promise<T>): Promise<T> {\n const next = (this.runMemoryWrites ?? Promise.resolve()).then(write, write);\n this.runMemoryWrites = next.catch(() => undefined);\n return next;\n }\n\n /**\n * Tell the run-state-changed listeners, each isolated from the others.\n *\n * Called at every change to a build task's run state that no file shows:\n *\n * - **SELECTED** — {@link openSelectedApplicationCodingExecution} opened a PENDING execution, which\n * the next-task selection already counts as in flight, whichever door opened it;\n * - **STARTED** — a fresh run ADMITTED (after its active-run entry exists), and a resumed run once\n * the engine has moved its rows back to PROCESSING (inside `resumeParkedRunHoldingLock`'s\n * executor, the one moment its start is true);\n * - **SETTLED** — LAST in the `finally` of each TOP-LEVEL chain, a fresh run's background body and\n * `resumeBody`, after the parked-question answering, the active-run release and the settlement\n * resolve, so a board re-derived because of it reads the chain's final state. Never from inside\n * `resumeParkedRunHoldingLock`'s own `finally`, which is a step of a chain some caller settles.\n * Every ending reaches it, including the ones that returned early;\n * - **RE-ARMED** — {@link rearmBuildTask}, even when one of its updates threw.\n *\n * Public because a GENERATION STEP's execution and a coding dispatch refused before admission are\n * opened and settled by the build dispatch service, so that service announces those.\n */\n public announceRunStateChanged(): void {\n for (const listener of this.runStateChangedListeners) {\n try { listener(); } catch (error) { this.logDebug('A run-state-changed listener threw', { error: describeCaughtError(error) }); }\n }\n }\n /**\n * Per-process settlement signal of every application coding task THIS\n * process admitted: resolved when the background run has recorded its\n * terminal durable result (or given up trying). This is the \"owner's\n * completion hook\" the episode driver waits on instead of polling the\n * Actor Task row; a task admitted by a previous process has no entry here,\n * which is correct — restart reconciliation already terminalized it.\n */\n private readonly applicationCodingTaskSettlements = new Map<string, { readonly promise: Promise<void>; resolve(): void }>();\n\n /**\n * The driver's reading of what a coding run's executor returned — see {@link CodingRunResult}.\n * One object for a first run and a resumed one, so the two cannot be read by different ladders.\n */\n private readonly codingRunOptions: ActorExecutionRunOptions<CodingRunResult> = CODING_RUN_OPTIONS;\n\n /**\n * Live-frame subscribers keyed by task id. Fed by the coding session's own\n * event stream and the ladder's state transitions while a run is active;\n * drained by the SSE endpoint. Best-effort throughout — a slow or throwing\n * subscriber never touches the run it observes.\n */\n private readonly codingSessionSubscribers = new Map<string, Set<(frame: CodingSessionLiveFrame) => void>>();\n\n constructor(\n @inject(SAAS_SERVICE_TYPES.Logger)\n private readonly logger: LoggerService,\n @inject(SAAS_SERVICE_TYPES.ErrorBuilderService)\n private readonly errorBuilder: ErrorBuilderBackendService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext)\n private readonly companionContext: CompanionContext,\n @inject(SAAS_SERVICE_TYPES.AgentsBackendService)\n private readonly agentsService: AgentsBackendService,\n @inject(COMPANION_SERVICE_TYPES.GitChangeSetService)\n private readonly gitChangeSetService: GitChangeSetCompanionService,\n @inject(COMPANION_SERVICE_TYPES.ExecutionsService)\n private readonly executionsService: CompanionExecutionsCompanionService,\n @inject(COMPANION_SERVICE_TYPES.TraceabilityService)\n private readonly traceabilityService: CompanionTraceabilityService,\n @inject(COMPANION_SERVICE_TYPES.IntrospectionService)\n private readonly introspectionService: CompanionIntrospectionService,\n // The engine's execution driver (#1359): it opens, suspends, resumes and settles every coding run.\n @inject(SAAS_SERVICE_TYPES.ActorsSystemBackendService)\n private readonly actorsSystem: ActorsSystemBackendService,\n // Which paths each run changed, attributed and hashed — what the workbench's `accept` commits (#1454, Step 7).\n @inject(COMPANION_SERVICE_TYPES.CodingRunWriteRegisterService)\n private readonly codingRunWriteRegister: CodingRunWriteRegisterCompanionService,\n // The commit door the workbench's `accept` uses — called from here only under the posture (#1534).\n @inject(COMPANION_SERVICE_TYPES.AcceptedChangeCommitService)\n private readonly acceptedChangeCommit: AcceptedChangeCommitCompanionService,\n /*\n * Whether this process is shutting down (#1026): a run admitted after the supervisor decided to\n * restart would be killed with it. `@optional()` because an in-process host that never registers\n * shutdown has nothing to refuse on, and test harnesses built without it admit as before.\n */\n @inject(SAAS_SERVICE_TYPES.WorkerShutdownManagerService) @optional()\n private readonly shutdownManager?: WorkerShutdownManagerBackendService,\n ) {\n this.logDebug = this.logger.debugByType('CodingAgentDispatchCompanionService');\n this.logger.setDebugTypeLogging('CodingAgentDispatchCompanionService', true);\n }\n\n /**\n * Admit one application-authored coding task onto the normal Flows/Actors\n * Claude Code path — the ONLY coding entry since the raw dispatch endpoint\n * was deleted at the first-activation hard cut. This method accepts only the\n * sealed typed task produced by application composition. The returned\n * acknowledgement is intentionally non-terminal; a completed Actor Task\n * records a working code result and its evidence, never accepted\n * application truth.\n */\n public async runApplicationCodingTask(\n rawTask: MetaWorkflow_ApplicationCodingTaskContract,\n sessionContext?: CompanionExecutionSessionContext,\n /**\n * The execution a caller opened when it SELECTED this task\n * ({@link openSelectedApplicationCodingExecution}). Admission then STARTS that execution instead\n * of opening one, so the run has one pair of ids from selection to settlement. The caller owns it\n * until this method resolves: a rejection here means the run never started, and the caller\n * settles what it opened.\n */\n selected?: OpenedActorExecution,\n /** Where the run was started from (#1454, Step 7): stamped on the row, never read by the run. */\n origin?: CodingRunOrigin,\n /**\n * CONCURRENT only from the build loop's wave (#1528), which opened `selected` in the same mode.\n * Every other door is single-flight, and single-flight refuses while any concurrent run is live.\n */\n mode: CodingRunConcurrency = CodingRunConcurrency.SINGLE_FLIGHT,\n ): Promise<ApplicationCodingTaskRunAdmission> {\n /*\n * Both admission refusals below are TYPED.\n *\n * A malformed contract surfaced as a raw `ZodError` and an unregistered\n * check ref as a plain `Error`, so the two refusals a caller can actually\n * provoke reached the transport as unclassified failures and answered 500\n * INTERNAL — indistinguishable from the host being broken. They are\n * VALIDATION: the request is refused, nothing was locked, created or run.\n */\n const task = this.admitTypedInput(\n () => MetaWorkflow_ApplicationCodingTaskContractSchema.parse(rawTask),\n 'Application coding task contract is not valid.',\n { refusesTaskContract: true },\n );\n // Resolve before acquiring the lock or creating a task. A semantic check\n // name is not a command and cannot silently fall back to an arbitrary\n // workspace typecheck.\n const verificationPlans = this.admitTypedInput(\n () => resolveApplicationCodingTaskVerificationPlans(task.verificationIntent.requiredChecks),\n 'Application coding task names an unregistered verification check.',\n { refusesTaskContract: true },\n );\n const traceStep = this.createOperationTraceStep(sessionContext, 'application-coding-task-admission');\n const renderedPrompt = renderApplicationCodingTaskAgentPrompt(task);\n await this.traceOperationStart({\n sessionContext,\n step: traceStep,\n type: 'application-coding-task-admission-start',\n summary: `Admit application coding task ${task.taskRef}`,\n payload: this.buildApplicationCodingTaskTraceSummary(task),\n artifactFileName: 'application-coding-task-input.txt',\n artifactContent: renderedPrompt,\n });\n\n // The FAST 409, read from the rows (#1361): a run holding the worktree that is not the one this\n // call was handed. The authoritative take is the driver's, at open — this only answers early,\n // with the holder named, instead of making the caller wait on the file lock to be told the same.\n await this.refuseWhileWorktreeIsHeld(selected?.executionId ?? null, sessionContext);\n if (mode === CodingRunConcurrency.SINGLE_FLIGHT) await this.refuseWhileConcurrentRunsInFlight(sessionContext);\n\n const admission = createDeferred<{ opened: OpenedActorExecution; baseline: GitWorktreeSnapshot }>();\n const runBody = async () => {\n let admitted: { opened: OpenedActorExecution; baseline: GitWorktreeSnapshot };\n /*\n * Not while this process is going away (#1026). The supervisor's restart HOLD reads the\n * workspace lock, so it protects a run that already holds it — but a dispatch still waiting\n * (the compile-quiet wait before admission) holds none, the supervisor restarts, and the SIGTERM\n * grace lets this process admit it anyway: measured 2026-09-25, a run was admitted at 11:18:12,\n * five seconds after the supervisor's stop began, and was SIGKILLed with the companion. Checked\n * here, under the lock and before anything is opened, so the refusal leaves no row behind and is\n * a HOST refusal (it counts against no attempt budget, #1581).\n */\n if (this.shutdownManager?.isShutdownInProgress() === true) {\n admission.reject(this.buildDispatchConflictError(\n `Coding task ${task.taskRef} was not started: the companion is shutting down. Dispatch it again once it is back.`,\n ));\n return;\n }\n // Before the baseline, never inside the run: a playbook file left uncommitted here would be\n // dirty at this run's baseline, and this run's own accept would then refuse it (#1534). A\n // concurrent run holds no lock, so it takes one for this commit only.\n await (mode === CodingRunConcurrency.CONCURRENT\n ? this.underBriefWorktreeLock(() => this.acceptPendingPlaybookRunsBeforeBaseline())\n : this.acceptPendingPlaybookRunsBeforeBaseline());\n try {\n const baseline = await this.gitChangeSetService.captureWorktreeSnapshot();\n // The run IS an actor-system execution from here on (#1359): the engine opens the\n // execution and its task, and will settle both however the run ends.\n const opened = selected\n ? await this.startSelectedApplicationCodingExecution(selected, task, baseline, sessionContext, origin)\n : await this.openApplicationCodingExecution(task, baseline, sessionContext, origin, mode);\n this.registerActiveRun({\n taskId: opened.taskId,\n startedAt: new Date().toISOString(),\n abortController: new AbortController(),\n mode,\n });\n this.openCodingRunWindow(opened.taskId, task.taskRef);\n // Started: the run has left the next-task selection's ready set, and no file says so yet.\n this.announceRunStateChanged();\n admitted = { opened, baseline };\n // Registered BEFORE the admission is resolved, so a caller that\n // awaits the settlement right after admission can never miss it.\n const settlement = createDeferred<void>();\n this.applicationCodingTaskSettlements.set(opened.taskId, { promise: settlement.promise, resolve: () => settlement.resolve(undefined) });\n admission.resolve(admitted);\n } catch (error) {\n admission.reject(this.translateWorktreeBusy(error));\n return;\n }\n\n try {\n const trace = await this.openCodingRunTrace(admitted.opened.taskId, task.taskRef);\n await this.superviseCodingRun(task.taskRef, admitted.opened.taskId, trace, (capture) =>\n this.actorsSystem.completeActorExecution(\n admitted.opened,\n async (opened) => capture(await this.executeApplicationCodingTask(task, renderedPrompt, verificationPlans, opened, admitted.baseline, trace)),\n trace.runSession,\n this.codingRunOptions,\n ));\n // Before the settlement resolves and before the worktree is released: a question the run\n // parked on is offered to the answering agent while nothing else can take the worktree (#1559).\n await this.answerParkedQuestionsHoldingLock(admitted.opened.taskId, sessionContext);\n } finally {\n this.endCodingRunWindow(admitted.opened.taskId);\n // A run cancelled while its question was handled ends here rather than staying parked (#1581). Awaited\n // only when cancelled, so a chain that was not unregisters in the same synchronous step as its check.\n if (this.isRunCancelled(admitted.opened.taskId)) await this.withdrawCancelledRunChain(admitted.opened.taskId, sessionContext);\n this.unregisterActiveRun(admitted.opened.taskId);\n this.applicationCodingTaskSettlements.get(admitted.opened.taskId)?.resolve();\n this.announceRunStateChanged();\n }\n };\n /*\n * A SINGLE-FLIGHT run holds the workspace lock for its whole life, as it always has. A CONCURRENT\n * run holds none (#1528): the tree is shared by decision, and interference is detected and\n * repaired rather than prevented. It takes the lock only around a commit.\n */\n const backgroundRun = mode === CodingRunConcurrency.CONCURRENT\n ? runBody()\n : withDedicatedFileLock(this.getWorkspaceMutationLockPath(), runBody, { retries: { retries: 0 } });\n backgroundRun.catch((error: unknown) => {\n admission.reject(this.mapLockError(error));\n this.logDebug('Application coding-task background run chain terminated with error', {\n error: describeCaughtError(error),\n taskRef: task.taskRef,\n });\n });\n\n const admitted = await admission.promise;\n const response: ApplicationCodingTaskRunAdmission = {\n taskId: admitted.opened.taskId,\n status: FlowsActors_Status.PROCESSING,\n taskRef: task.taskRef,\n baselineHeadSha: admitted.baseline.headSha,\n baselineDirtyFileCount: Object.keys(admitted.baseline.files).length,\n };\n /*\n * The run has STARTED by now, so nothing after this point may reject: a caller reads a rejection\n * from this method as \"the run never started\" and settles its execution ABORTED (#1581, second\n * review A7). The trace is evidence ABOUT the admission, never a condition of it.\n */\n try {\n await this.traceOperationSuccess({\n sessionContext,\n step: traceStep,\n type: 'application-coding-task-admission-success',\n summary: `Admitted application coding task ${task.taskRef} as Actor Task ${admitted.opened.taskId} of execution ${admitted.opened.executionId}`,\n payload: response,\n artifactFileName: 'application-coding-task-admission.json',\n artifactContent: response,\n });\n } catch (traceError) {\n this.logDebug('The admission-success trace could not be written; the run is admitted regardless', {\n taskId: admitted.opened.taskId, error: describeCaughtError(traceError),\n });\n }\n return response;\n }\n\n /**\n * The settlement of one application coding task admitted by THIS process:\n * resolves once its terminal durable result has been recorded (success or\n * failure) — the only moment a waiting episode can read a non-PROCESSING\n * row. `null` for a task this process did not admit (a previous process's\n * row, already terminalized by restart reconciliation, or an unknown id):\n * there is nothing to wait for, and a caller must not spin on it.\n */\n public awaitApplicationCodingTaskSettlement(taskId: string): Promise<void> | null {\n return this.applicationCodingTaskSettlements.get(taskId)?.promise ?? null;\n }\n\n /**\n * Read one application coding task's OUTCOME from its durable row.\n *\n * Pairs with {@link awaitApplicationCodingTaskSettlement}: wait for the settlement, then ask this\n * what the run did. The two are deliberately separate — the settlement is an in-process fact (only\n * this process holds the deferred), while the outcome is durable and survives the restart that a\n * rebuild triggers, so a caller that lost the settlement can still answer the question.\n *\n * `null` for a row that is not an application coding task, or that cannot be read at all. An\n * unreadable row is not a failed run, and a caller must not report it as one.\n */\n public async readApplicationCodingTaskOutcome(\n taskId: string,\n sessionContext?: CompanionExecutionSessionContext,\n ): Promise<ApplicationCodingTaskSettledOutcome | null> {\n let row: { _id?: string; status?: unknown; actors?: { actorRef?: string }; input?: unknown; output?: unknown };\n try {\n row = await this.executionsService.getActorTask(taskId, sessionContext);\n } catch {\n return null;\n }\n // MEMBERSHIP, as everywhere else that classifies one of these rows: a second declared coding\n // agent must not make this silently answer \"not a coding run\".\n if (!isApplicationCodingAgentRef(row.actors?.actorRef)) return null;\n const output = isRecordValue(row.output) ? row.output : {};\n const verificationRows = (Array.isArray(output.verification) ? output.verification : [])\n .filter((entry): entry is Record<string, unknown> => isRecordValue(entry))\n .map((entry) => ({\n checkRef: typeof entry.checkRef === 'string' ? entry.checkRef : 'unknown',\n success: isRecordValue(entry.outcome) && entry.outcome.success === true,\n }));\n const failedVerificationRefs = verificationRows.filter((entry) => !entry.success).map((entry) => entry.checkRef);\n return {\n taskId: typeof row._id === 'string' ? row._id : taskId,\n taskRef: isRecordValue(row.input) && typeof row.input.taskRef === 'string' ? row.input.taskRef : null,\n status: typeof row.status === 'string' ? row.status : 'UNKNOWN',\n succeeded: output.succeeded === true,\n disposition: typeof output.disposition === 'string' ? output.disposition : null,\n // The STATUS says it, since #1359: a parked run waits as `AWAITING_APPROVAL`. The output still\n // carries the question while it waits, but a withdrawn park keeps that output and is not waiting.\n awaitingAnswer: row.status === FlowsActors_Status.AWAITING_APPROVAL,\n failedVerificationRefs,\n verification: verificationRows,\n changeSetSummary: isRecordValue(output.changeSetSummary) ? output.changeSetSummary : null,\n scopeAssessment: isRecordValue(output.scopeAssessment) ? output.scopeAssessment : null,\n agentStopReason: typeof output.agentStopReason === 'string' ? output.agentStopReason : null,\n };\n }\n\n /**\n * Settle what a previous process left behind: coding runs still `PROCESSING`, and parked\n * questions a restarted host can no longer show as answerable.\n *\n * A companion restart cannot prove the previous coding subprocess is still running. Retrying\n * could duplicate a worktree mutation, while reverting would destroy evidence. The safe result is\n * therefore a terminal abort plus an explicit human-review disposition carrying what the worktree\n * looked like when the restart found it.\n *\n * Since #1359 the engine's execution driver does the settling, exactly as it does for playbook\n * runs, and this method supplies the two things only the coding lane knows:\n *\n * 1. **What an ORPHAN's task should say** — the recovery evidence. The driver lists the\n * `PROCESSING` executions of `application-coding.system` and settles each `ABORTED`.\n * 2. **Which PARKS survive a restart: every one whose session can be re-entered.** A parked run\n * is `AWAITING_APPROVAL`, never `PROCESSING`, so the orphan sweep cannot touch it — the\n * exemption this method used to carry by hand (measured 2026-09-04: the sweep terminalized a\n * parked row three seconds before the operator's answer arrived) is a property of the status.\n * What is aborted here is only a park no host could answer on its session — a non-resumable one,\n * or one whose checkpoint cannot be read ({@link isParkedCodingRunAnswerable}). A park is NOT\n * aborted for its age: that reaped every question that waited longer than fifteen minutes (#1533).\n */\n public async reconcileInterruptedApplicationCodingTasks(\n sessionContext?: CompanionExecutionSessionContext,\n options?: {\n /**\n * Told each run that was interrupted WHILE RUNNING, the moment the sweep finds it (#1805). The sweep\n * settles those runs and never recovers their writes: the caller recovers every run the restart\n * interrupted in one pass ({@link recoverWritesOfInterruptedRuns}). Told as they are found rather\n * than only returned, because the sweep can still throw afterwards — listing or aborting the parked\n * runs — and a run already settled ABORTED is found by no later boot.\n */\n readonly onInterrupted?: (run: InterruptedRun) => void;\n },\n ): Promise<{ reconciledTaskIds: string[]; interruptedWhileRunning: readonly InterruptedRun[] }> {\n const reconciledTaskIds: string[] = [];\n const interruptedWhileRunning: InterruptedRun[] = [];\n\n await this.actorsSystem.reconcileOrphanedActorExecutions(APPLICATION_CODING_SYSTEM_REF, sessionContext, {\n describeOrphan: async (orphan) => {\n reconciledTaskIds.push(...orphan.tasks.map((task) => task._id));\n /*\n * A PENDING orphan was SELECTED and never admitted — usually a restart during the compile-quiet\n * wait. It touched nothing, so it has no writes to recover and nothing to review, and it was no\n * attempt: recorded like a refused dispatch, `{ failure }` and no disposition, so the build\n * board does not count it as a started run that \"requires review\" (#1581, second review A4).\n */\n if (orphan.status === FlowsActors_Status.PENDING) {\n return { failure: { message: 'Selected, and the companion stopped before the run was admitted; nothing ran.' } };\n }\n // A concurrent run held only its own task, so siblings wrote in the tree beside it (#1528).\n const sharedTree = isConcurrentRunSubject(orphan.exclusiveSubject);\n for (const task of orphan.tasks) {\n const run: InterruptedRun = { taskId: task._id, sharedTree };\n interruptedWhileRunning.push(run);\n options?.onInterrupted?.(run);\n }\n return this.describeInterruptedCodingRun();\n },\n });\n\n const waiting = await this.actorsSystem.listSuspendedActorExecutions(APPLICATION_CODING_SYSTEM_REF, sessionContext);\n for (const row of waiting) {\n const checkpoint = ApplicationCodingRunCheckpointSchema.safeParse(row.checkpoint?.context);\n if (checkpoint.success && isParkedCodingRunAnswerable(checkpoint.data)) continue;\n try {\n await this.actorsSystem.abortSuspendedActorExecution(row._id, await this.describeInterruptedCodingRun(), sessionContext);\n } catch (error) {\n /*\n * A lost swap (#1586): something else moved this run out of waiting between the listing and the\n * abort — it is settled already, so there is nothing left to reconcile. Refusing the rest of the\n * sweep for it would leave every later unanswerable park in place. Anything else still throws.\n */\n if (isActorExecutionNotSuspendedError(error)) continue;\n throw error;\n }\n reconciledTaskIds.push(...row.tasks.map((task) => task._id));\n }\n\n return { reconciledTaskIds, interruptedWhileRunning };\n }\n\n /**\n * Record what the runs a restart stopped had written, and accept it under the posture (#1805).\n *\n * ## Why this exists\n *\n * A run interrupted mid-task leaves its writes in the tree and is settled\n * INTERRUPTED_REQUIRES_REVIEW. Nothing recorded WHICH files it wrote — its baseline lived in memory\n * — so nobody could accept them, and its retry could not claim them either: to the retry they were\n * already dirty at its own baseline (`baseline_dirty_ambiguous`). Measured 2026-09-24 on\n * scratch-journey: an interrupted `build-task-user-menu-placement` left `app-shell.config.ts` dirty;\n * the retry found the work done and recorded no files; a sibling task's edit to the same file was\n * refused as ambiguous; and every shell surface that file carries stopped landing, including one\n * that had landed hours earlier. The build sat at 91/95 with its work done.\n *\n * ## What it does\n *\n * The run's task input now carries its baseline's dirty files, so the change set is the same\n * capture a finished run gets, against the same baseline, recorded in the same write register.\n * Then the ordinary posture decides: under notify-and-proceed it is committed with the\n * INTERRUPTED_RUN_RECOVERY origin (forced, because \"already dirty\" and \"edited since\" are exactly\n * what an interruption produces); under a posture that keeps acceptance with a person, the record\n * simply waits for the workbench's Accept, which could not act on an interrupted run before because\n * there was no record.\n *\n * ## Whose name the commit carries\n *\n * A run keeps its own commit only when it is the SOLE KNOWN WRITER of what it left: the only run the\n * restart stopped, not a concurrent run, no concurrent run recorded writes during its window, none of its\n * own files already dirty at its baseline, and no other recorded run may carry any of its uncommitted\n * paths. Any other case is one commit, writer unknown, over\n * what the interrupted runs and the concurrent runs recorded since the earliest of them began left\n * uncommitted, naming every recorded run that may carry each file, failed runs included\n * (`acceptSharedTreeRunsTogether`; the window picks the paths, never the names). That includes the\n * finished siblings whose end-of-wave reconciliation the restart skipped — their leftovers are part of\n * the same unattributable result, and committing them under their own names alone was the defect.\n *\n * A run started before its input carried `files` has no baseline to diff against and is left as\n * it was. BEST-EFFORT throughout: this runs on the boot path, and a boot path must not fail closed\n * on a repair (`continuity-drift-and-cas-basis.md`, Rule 3).\n */\n private async recoverInterruptedRunWrites(reported: readonly InterruptedRun[], sessionContext?: CompanionExecutionSessionContext): Promise<void> {\n const runs = await this.withRunsStillMarkedRunning(reported, sessionContext);\n const recovered: Array<InterruptedRun & { readonly startedAt: string }> = [];\n for (const run of runs) {\n try {\n /*\n * Already recovered on an earlier boot (#1805 review N4): a run whose abort did not persist is found\n * running again, and capturing it anew would overwrite the record that names its recovery commit.\n */\n if ((await this.codingRunWriteRegister.read(run.taskId))?.acceptedCommitSha !== undefined) continue;\n const row = await this.executionsService.getActorTask(run.taskId, sessionContext) as { input?: unknown };\n const input = isRecordValue(row.input) ? row.input : undefined;\n const baseline = input && isRecordValue(input.baseline) ? input.baseline : undefined;\n const taskRef = input && typeof input.taskRef === 'string' ? input.taskRef : undefined;\n if (!taskRef || !baseline || !isRecordValue(baseline.files)\n || typeof baseline.headSha !== 'string' || typeof baseline.capturedAt !== 'string') continue;\n const snapshot: GitWorktreeSnapshot = {\n headSha: baseline.headSha,\n capturedAt: baseline.capturedAt,\n files: baseline.files as GitWorktreeSnapshot['files'],\n };\n const changeSet = await this.gitChangeSetService.captureChangeSet(snapshot);\n if (changeSet.files.length === 0) continue;\n /*\n * A run that shared the tree is recorded CONCURRENT with no claims: nothing survived the restart\n * that says which of its captured files it wrote. So even the workbench's per-run Accept refuses\n * them unless forced — the refusal the recovery commit itself is forced past, and names.\n */\n await this.codingRunWriteRegister.record({ taskId: run.taskId, taskRef, changeSet, ...(run.sharedTree ? { claimedPaths: [] } : {}) });\n recovered.push({ ...run, startedAt: baseline.capturedAt });\n } catch (error) {\n this.logger.warn('Could not recover the writes of an interrupted coding run; it stays for review', {\n taskId: run.taskId, error: describeCaughtError(error),\n });\n }\n }\n if (recovered.length === 0) return;\n const recoveredIds = new Set(recovered.map((run) => run.taskId));\n const windowStartedAt = recovered.map((run) => run.startedAt).sort()[0]!;\n // Concurrent runs that recorded writes while the interrupted ones ran: the finishers of the same wave.\n const siblings = (await this.codingRunWriteRegister.list())\n .filter((record) => record.concurrent === true && !recoveredIds.has(record.taskId) && record.at >= windowStartedAt);\n /*\n * SOLE KNOWN WRITER only when nothing else may carry what it left: not concurrent, no concurrent run\n * recorded in its window, and — asked of every recorded run by the door's own test — no other run may\n * carry any of its uncommitted paths (#1805 review 5 F2: a leftover dirty at its baseline from a run\n * outside the window was committed under this run's name alone).\n *\n * Nor when a file of its OWN was already dirty at its baseline (#1805 review 6 O2): those earlier hunks\n * are a person's, a tool's or an earlier run's, and the run's own commit, \"accept the coding run\", would\n * present them as its writes. The joint commit carries them as what they are: writer unknown. A file the\n * capture attributes elsewhere (committed during the run, another lane's) is not this run's to judge\n * (review 7 I2).\n *\n * With that condition, `anotherRunMayCarry` decides nothing a live leftover can reach: a single-flight run\n * has no sibling in its window, so another record's uncommitted leftover was already dirty at its\n * baseline. It is kept deliberately (review 7 I1) as the same test the shared-tree door names runs by, so\n * recovery and the door cannot disagree if the baseline capture ever stops seeing a leftover.\n */\n const lone = recovered.length === 1 && !recovered[0]!.sharedTree && siblings.length === 0 ? recovered[0]! : undefined;\n const loneRecord = lone === undefined ? undefined : await this.codingRunWriteRegister.read(lone.taskId);\n const sole = lone !== undefined && loneRecord !== undefined\n && !loneRecord.files.some((file) => file.dirtyAtBaseline && !isAttributedToAnotherWriter(file.attribution))\n && !(await this.acceptedChangeCommit.anotherRunMayCarry(lone.taskId).catch(() => true)) ? lone : undefined;\n const results = sole\n ? await this.reconcileAcceptance([loneRecord!.taskRef], AcceptOrigin.INTERRUPTED_RUN_RECOVERY)\n : await this.reconcileAcceptanceTogether([...recoveredIds, ...siblings.map((record) => record.taskId)], AcceptOrigin.INTERRUPTED_RUN_RECOVERY);\n this.logger.warn('Recovered the writes of coding run(s) interrupted by a restart', { recoveredTaskIds: [...recoveredIds], results });\n }\n\n /**\n * The reported runs, plus any coding run STILL marked running (#1805 review N4). At this point in startup\n * nothing is running, so such a row is an orphan whose abort did not persist — or one the sweep never\n * reached because it threw first. Either way its writes are in the tree, and leaving it out would put\n * them into the recovery commit without its name. Concurrent by its subject, like the sweep decides.\n */\n private async withRunsStillMarkedRunning(reported: readonly InterruptedRun[], sessionContext?: CompanionExecutionSessionContext): Promise<readonly InterruptedRun[]> {\n const byTaskId = new Map(reported.map((run) => [run.taskId, run]));\n try {\n for (const live of await this.listInFlightCodingRuns(sessionContext)) {\n const execution = await this.executionsService.getActorExecution(live.executionId, sessionContext) as { standaloneTasks?: ReadonlyArray<{ _id?: unknown }> };\n for (const task of execution.standaloneTasks ?? []) {\n const taskId = String(task._id);\n if (!byTaskId.has(taskId)) byTaskId.set(taskId, { taskId, sharedTree: isConcurrentRunSubject(live.exclusiveSubject) });\n }\n }\n } catch (error) {\n this.logger.warn('Could not list the coding runs still marked running; recovering the reported ones', { error: describeCaughtError(error) });\n }\n return [...byTaskId.values()];\n }\n\n /**\n * Write a run's baseline onto its own task, for a run whose task was opened before the baseline\n * existed: a GENERATION STEP, whose window captures it after the execution is open. A coding run\n * carries it from its start ({@link buildApplicationCodingTaskInput}). Best-effort: the step runs\n * whether or not its recovery evidence could be written.\n */\n private async recordRunBaselineOnTask(taskId: string, baseline: GitWorktreeSnapshot, sessionContext?: CompanionExecutionSessionContext): Promise<void> {\n try {\n const row = await this.executionsService.getActorTask(taskId, sessionContext) as { input?: unknown };\n const input = isRecordValue(row.input) ? row.input : {};\n await this.executionsService.updateActorTask(taskId, {\n input: {\n ...input,\n baseline: { headSha: baseline.headSha, capturedAt: baseline.capturedAt, dirtyFileCount: Object.keys(baseline.files).length, files: baseline.files },\n },\n }, sessionContext);\n } catch (error) {\n this.logger.warn('Could not record a generation step\\'s baseline; an interruption would leave its writes for review', {\n taskId, error: describeCaughtError(error),\n });\n }\n }\n\n /**\n * The build system's startup sweep (#1359), with the same recovery the coding sweep has. A\n * generation step interrupted mid-pass leaves the files it had written, and its re-dispatch SKIPS\n * them as fresh, so they never enter any later change set. Measured 2026-09-24: an interrupted\n * `i18n-labels` pass left ten label files uncommitted that no later run would ever commit.\n */\n public async reconcileInterruptedBuildGenerationSteps(\n buildSystemRef: string,\n sessionContext?: CompanionExecutionSessionContext,\n /** As on the coding sweep: told each interrupted step as it is found; the caller recovers the writes. */\n options?: { readonly onInterrupted?: (run: InterruptedRun) => void },\n ): Promise<{ aborted: readonly string[]; interrupted: readonly InterruptedRun[] }> {\n const interrupted: InterruptedRun[] = [];\n const { aborted } = await this.actorsSystem.reconcileOrphanedActorExecutions(buildSystemRef, sessionContext, {\n describeOrphan: async (orphan) => {\n /*\n * Not concurrent by its own subject. Whether it ran beside concurrent coding runs is decided at\n * recovery from the evidence: another run the same restart stopped, or a concurrent run that\n * recorded writes during the step's window (a wave runs a step inline while its runs write).\n */\n for (const task of orphan.tasks) {\n const run: InterruptedRun = { taskId: task._id, sharedTree: false };\n interrupted.push(run);\n options?.onInterrupted?.(run);\n }\n return { failure: { message: 'The host running this generation step stopped before it concluded.' } };\n },\n });\n return { aborted, interrupted };\n }\n\n /**\n * Recover the writes of EVERY run one restart interrupted, coding runs and generation steps alike,\n * in one pass (#1805). A build wave runs a generation step beside its coding runs, so runs of both\n * kinds share the tree; recovered by two separate sweeps, the first would commit the other kind's\n * files under its own run's name. The sweeps only settle and report; startup collects what both\n * report and calls this once with the union.\n */\n public async recoverWritesOfInterruptedRuns(runs: readonly InterruptedRun[], sessionContext?: CompanionExecutionSessionContext): Promise<void> {\n const byTaskId = new Map<string, InterruptedRun>();\n for (const run of runs) byTaskId.set(run.taskId, { taskId: run.taskId, sharedTree: run.sharedTree || byTaskId.get(run.taskId)?.sharedTree === true });\n await this.recoverInterruptedRunWrites([...byTaskId.values()], sessionContext);\n }\n\n /**\n * What a reviewer needs to see on a coding run the host stopped under: where HEAD is and how\n * dirty the tree is NOW. A capture that fails is recorded as such — an interrupted run with no\n * evidence is still an interrupted run, and must not stay `PROCESSING` because git was unavailable.\n */\n private async describeInterruptedCodingRun(): Promise<Record<string, unknown>> {\n let currentSnapshot: GitWorktreeSnapshot | null = null;\n let captureError: unknown = null;\n try {\n currentSnapshot = await this.gitChangeSetService.captureWorktreeSnapshot();\n } catch (error) {\n captureError = error;\n }\n return {\n succeeded: false,\n disposition: ApplicationCodingTaskDisposition.INTERRUPTED_REQUIRES_REVIEW,\n recoveryEvidence: currentSnapshot\n ? {\n headSha: currentSnapshot.headSha,\n dirtyFileCount: Object.keys(currentSnapshot.files).length,\n capturedAt: currentSnapshot.capturedAt,\n }\n : null,\n ...(captureError ? { recoveryCaptureError: buildOutputErrorPayload(captureError) } : {}),\n };\n }\n\n /**\n * Readiness snapshot for the status route. HONESTY CONTRACT: the\n * underlying `isAvailable()` checks ONLY that the provider registry\n * exposes an AGENT_CLIENT_PROTOCOL contract for anthropic — it does NOT\n * guarantee the ACP adapter is installed, spawnable, or authenticated. A\n * `true` here can still be followed by a spawn/auth failure at run time.\n */\n /**\n * The cross-process workspace-mutation lock path (P-19b) — one lock for\n * every mutating coding run against this application worktree.\n */\n public getWorkspaceMutationLockPath(): string {\n return resolveWorkspaceMutationLockPath(this.companionContext.saasRoot);\n }\n\n /**\n * Cancel the in-flight coding run, if there is one.\n *\n * Cooperative by construction: this signals the session, and the runner sends\n * `session/cancel` and waits before killing anything. The run therefore\n * TERMINALISES NORMALLY — with stop reason `cancelled` and a captured change\n * set — rather than vanishing. That distinction is the whole point: an\n * operator who stops a run still needs to know what it had already written.\n *\n * Returns the task that was asked to stop, or `null` when nothing is running.\n * Idempotent: cancelling an already-cancelled run signals an aborted\n * controller again, which is a no-op.\n */\n public cancelActiveApplicationCodingTask(): { taskId: string; startedAt: string } | null {\n // Every run this process drives: a wave is cancelled as one (#1528). The first is named, as before.\n // An entry whose park is being WITHDRAWN runs nothing: it was cancelled already (#1581).\n const active = [...this.activeRuns.values()].filter((run) => run.withdrawal === undefined);\n if (active.length === 0) {\n return null;\n }\n for (const run of active) {\n this.logDebug('Cancelling active application coding task', { taskId: run.taskId });\n run.abortController.abort();\n }\n return { taskId: active[0]!.taskId, startedAt: active[0]!.startedAt };\n }\n\n /**\n * Cancel ONE coding run, named by its task id — the parked-question row's own verb (#1581, seventh\n * review F2). {@link cancelActiveApplicationCodingTask} ends everything this process drives, so from\n * a parked row it did nothing when no chain held that run, and otherwise stopped OTHER runs while\n * leaving the row's own run parked.\n *\n * Three answers, and what each promises (#1581, seventh to eleventh reviews):\n *\n * - A run this process is still handling — a turn, or its question being offered to the answering\n * agent — is SIGNALLED, exactly as the process-wide cancel signals it: `cancelled: true` means the\n * signal was given, and its chain withdraws the park on its way out. That withdraw's outcome is\n * recorded on the entry, so a second cancel meanwhile AWAITS it and reports it; a cancel after the\n * chain has gone finds the park (if the withdraw failed) and withdraws it itself.\n * - A run no chain holds here is WAITING, and is withdrawn at once under a guard entry: `cancelled:\n * true` only once it is gone, else a 409 saying the question is still waiting or could not be read.\n * - `cancelled: false` when the task is neither — no chain, and no park after reading twice (a chain\n * ending during the first read may have left one).\n *\n * A park read that FAILS is never taken for \"nothing is waiting\": with a live chain the chain is still\n * signalled, since that needs no read; without one the answer is the UNCONFIRMED 409.\n */\n public async cancelApplicationCodingTask(\n taskId: string,\n sessionContext?: CompanionExecutionSessionContext,\n /** The signed-in person cancelling (#1751), when the door has one: the withdrawal records them as the decider. */\n options?: { readonly actingUserId?: string },\n ): Promise<{ cancelled: true; taskId: string; startedAt?: string } | { cancelled: false }> {\n // Read FIRST, then look for a chain: one that began meanwhile (a person's answer) owns the run by now.\n // A failed read stops nothing here: a live chain is signalled without one (#1581, eleventh review R11-1).\n const readPark = () => this.readParkedCodingRun(taskId, sessionContext, { strict: true })\n .then((parked) => ({ parked, failed: false as const }), (error: unknown) => {\n this.logger.warn('A per-run cancel could not read the coding run\\'s park', { taskId, error: describeCaughtError(error) });\n return { parked: null, failed: true as const };\n });\n let read = await readPark();\n let live = this.activeRuns.get(taskId);\n if (!live && !read.parked && !read.failed) {\n // A chain that ended during the read may have left the run parked: read once more (#1581, tenth review R10-7).\n read = await readPark();\n live = this.activeRuns.get(taskId);\n }\n const { parked } = read;\n if (live) {\n // Already cancelled, its park being withdrawn: answer with THAT withdraw's outcome, never a second one (R9-4, R10-4).\n if (live.withdrawal) return this.reportCancelledPark(taskId, await live.withdrawal, live.startedAt);\n // Signal the chain; it ends the run on its way out, naming the canceller when there is one.\n this.logDebug('Cancelling one application coding task', { taskId });\n if (options?.actingUserId && !this.cancellersByController.has(live.abortController)) {\n this.cancellersByController.set(live.abortController, options.actingUserId);\n }\n live.abortController.abort();\n return { cancelled: true, taskId, startedAt: live.startedAt };\n }\n if (read.failed) return this.reportCancelledPark(taskId, CancelledParkOutcome.UNCONFIRMED);\n if (!parked) return { cancelled: false };\n /*\n * No chain will end it, so this door does (#1581, eighth review R8-2). Guarded by a registration taken\n * in the same synchronous step as the check above: a person's answer arriving meanwhile is refused 409\n * by `refuseWhileRunChainIsLive` rather than racing the withdraw in the driver, which takes no lock\n * between reading a run as waiting and moving it; and a second cancel awaits this withdraw.\n */\n const guard: ActiveRunState = { taskId, startedAt: new Date().toISOString(), abortController: new AbortController(), mode: parked.mode, withdrawalGuard: true };\n guard.abortController.abort();\n this.activeRuns.set(taskId, guard);\n guard.withdrawal = this.endParkIfWaiting(taskId, sessionContext, options?.actingUserId);\n try {\n const outcome = await guard.withdrawal;\n if (outcome === CancelledParkOutcome.ENDED) this.announceRunStateChanged();\n return this.reportCancelledPark(taskId, outcome);\n } finally {\n if (this.activeRuns.get(taskId) === guard) this.activeRuns.delete(taskId);\n }\n }\n\n /** A cancel's answer from what became of the park: ended, or a 409 that says why it is not (#1581, tenth review). */\n private reportCancelledPark(taskId: string, outcome: CancelledParkOutcome, startedAt?: string): { cancelled: true; taskId: string; startedAt?: string } {\n if (outcome === CancelledParkOutcome.ENDED) return { cancelled: true, taskId, ...(startedAt !== undefined ? { startedAt } : {}) };\n throw this.buildDispatchConflictError(outcome === CancelledParkOutcome.STILL_WAITING\n ? `Coding task ${taskId} could not be cancelled: its question could not be withdrawn and is still waiting. Try again.`\n : `Coding task ${taskId} could not be confirmed cancelled: the run could not be read. Check it, and cancel it again if it is still waiting.`);\n }\n\n /**\n * The run holding the worktree right now, from the actor plane (#1361) — what the creation board's\n * coding-lane badge shows. It read this process's cancel handle until 2026-09-20, so a run driven\n * by another process, or selected and not yet admitted, showed as \"idle\". A status read does not\n * fail because the plane is unreachable: it then answers what this process is driving.\n */\n private async readActiveCodingRun(): Promise<{ taskId: string; startedAt: string } | null> {\n try {\n const holder = await this.actorsSystem.readExclusiveSubjectHolder(APPLICATION_CODING_SYSTEM_REF, APPLICATION_CODING_WORKTREE_SUBJECT);\n return holder ? { taskId: holder.tasks[0]?._id ?? holder._id, startedAt: holder.createdAt ?? new Date().toISOString() } : null;\n } catch {\n const active = [...this.activeRuns.values()].find((run) => run.withdrawal === undefined);\n return active ? { taskId: active.taskId, startedAt: active.startedAt } : null;\n }\n }\n\n /** The last login read, shared by every status poll inside {@link CODING_AGENT_LOGIN_CACHE_MS}. */\n private codingAgentLoginRead: { readonly at: number; readonly value: Promise<CompanionCodingAgentStatusResponse['codingAgentLogin']> } | null = null;\n\n /**\n * The selected agent's login on this host (#1637); `null` when the selection or its declaration is\n * unavailable.\n *\n * CACHED, because `getStatus` is polled — the creation board re-derives its watched boards every 15 s\n * and the status route is on the trace-exempt polling list — and the probe runs the agent's own status\n * command, which can take seconds. One read serves every poll inside the window, and concurrent polls\n * share the same in-flight read. Signing in shows up within the window, which is the cost.\n */\n private readSelectedCodingAgentLogin(): Promise<CompanionCodingAgentStatusResponse['codingAgentLogin']> {\n const now = Date.now();\n if (this.codingAgentLoginRead && now - this.codingAgentLoginRead.at < CODING_AGENT_LOGIN_CACHE_MS) return this.codingAgentLoginRead.value;\n const value = (async () => {\n try {\n return await this.agentsService.readCodingAgentHostLogin(resolveSelectedApplicationCodingAgentBinding().providerRef);\n } catch {\n return null;\n }\n })();\n this.codingAgentLoginRead = { at: now, value };\n return value;\n }\n\n public async getStatus(): Promise<CompanionCodingAgentStatusResponse> {\n return {\n // Reports a fact this service can actually establish: whether the coding\n // agent is registered. It deliberately does NOT claim the transport is\n // usable — that depends on the provider configuration and on an agent\n // process this service has not started, and a status field that overstates\n // its knowledge is worse than one that is narrow about it.\n // Every declared agent must resolve, not merely the default: a registry\n // missing the SELECTED agent reports healthy while dispatch refuses.\n codingAgentRegistered: APPLICATION_CODING_AGENT_REFS.every(\n (ref) => this.agentsService.getAgent(ref) !== undefined,\n ),\n codingAgentLogin: await this.readSelectedCodingAgentLogin(),\n activeRun: await this.readActiveCodingRun(),\n // The answerable set: what is parked waiting for an operator response.\n pendingQuestions: await this.listPendingCodingQuestions(),\n limits: {\n defaultTimeoutMs: DISPATCH_DEFAULT_TIMEOUT_MS,\n hardMaxTimeoutMs: DISPATCH_HARD_MAX_TIMEOUT_MS,\n defaultMaxCapturedBytes: DISPATCH_DEFAULT_MAX_CAPTURED_BYTES,\n hardMaxCapturedBytes: DISPATCH_HARD_MAX_CAPTURED_BYTES,\n },\n lockFilePath: this.getWorkspaceMutationLockPath(),\n };\n }\n\n /**\n * Persist only replayable task identity and guard evidence, never\n * prompt/context bytes, with ONE named exception: an assembly repair's row keeps\n * the failure tail it was handed (`assemblyRepair.comparedFailureTail`, #2283),\n * because the bound on repairs must compare a later failure with it and the\n * directive forbids keeping a digest instead. It is a check's output, at most the\n * captured tail, never the prompt.\n *\n * CORRELATION BACK TO THE EPISODE runs through `input.candidateRef`, which is\n * the assessment episode's working-subject identity for the iteration that\n * composed this task — the same value the private checkpoint carries as\n * `basis.episode.candidateRef`. It is recorded here deliberately so the join\n * exists in BOTH directions: the checkpoint names the taskId once the task is\n * admitted, and this row names the candidate that caused it, so an auditor\n * starting from a workspace mutation can reach the episode without scanning\n * every checkpoint.\n *\n * A dedicated `episodeRef` column is NOT added: no caller supplies one yet\n * (the coding revision owner lands later), and a field with no producer is a\n * dormant surface that later readers mistake for a guarantee. The candidate\n * ref is exact per ITERATION, which is the granularity an auditor wants.\n */\n private async openApplicationCodingExecution(\n task: MetaWorkflow_ApplicationCodingTaskContract,\n baseline: GitWorktreeSnapshot,\n sessionContext?: CompanionExecutionSessionContext,\n origin?: CodingRunOrigin,\n mode: CodingRunConcurrency = CodingRunConcurrency.SINGLE_FLIGHT,\n ): Promise<OpenedActorExecution> {\n /*\n * ONE EXECUTION PER CODING RUN (#1359), opened by the engine's driver.\n *\n * Until 2026-09-20 this created a bare task with no execution parent, so a coding run had no row\n * saying \"this is a run\" and nowhere to hold a pending question or its resume inputs. Per RUN\n * rather than per build phase, because a parked run releases the worktree lock and the\n * dispatcher moves on: several questions can stand while a sibling runs, and an execution has\n * one `suspension`.\n */\n return this.actorsSystem.openActorExecution(this.buildApplicationCodingExecutionRequest(task, baseline, sessionContext, origin, mode));\n }\n\n /**\n * Open a coding run's execution at the moment its task is SELECTED — `PENDING`, not started.\n *\n * A build dispatch selects a task and then waits: for the compile watchers to go quiet, then for\n * the worktree lock. That stretch can be minutes, and until #1359 it existed only in an in-memory\n * dispatch record — so a dispatch that failed inside it failed nowhere durable, and a companion\n * restart forgot it had been selected at all. The row says `PENDING` for exactly that stretch;\n * `runApplicationCodingTask` starts it at admission, and the caller settles it `ABORTED` if the run\n * never gets that far — the host declined to start it, which is no attempt of the task's (#1581) —\n * or `FAILED` when the task's own contract was refused as invalid.\n *\n * The input carries no baseline yet: a baseline is captured under the lock this run has not taken.\n */\n public async openSelectedApplicationCodingExecution(\n rawTask: MetaWorkflow_ApplicationCodingTaskContract,\n sessionContext?: CompanionExecutionSessionContext,\n origin?: CodingRunOrigin,\n mode: CodingRunConcurrency = CodingRunConcurrency.SINGLE_FLIGHT,\n ): Promise<OpenedActorExecution> {\n const task = this.admitTypedInput(\n () => MetaWorkflow_ApplicationCodingTaskContractSchema.parse(rawTask),\n 'Application coding task contract is not valid.',\n );\n await this.refuseWhileWorktreeIsHeld(null, sessionContext);\n if (mode === CodingRunConcurrency.SINGLE_FLIGHT) await this.refuseWhileConcurrentRunsInFlight(sessionContext);\n const opened = await this.actorsSystem\n .openActorExecution({ ...this.buildApplicationCodingExecutionRequest(task, null, sessionContext, origin, mode), deferred: true })\n .catch((error: unknown) => { throw this.translateWorktreeBusy(error); });\n // SELECTED: a PENDING execution is already in flight to the next-task selection (#1310), whichever\n // door opened it — the resource operation, `POST /build/dispatch-next`, the playbook build tier.\n this.announceRunStateChanged();\n return opened;\n }\n\n /**\n * Run `critical` holding the workspace lock BRIEFLY, waiting for it rather than refusing (#1528).\n *\n * For a concurrent run's commits: the tree is shared on purpose, but git's index admits one writer,\n * and a generation step or a CLI writer may hold the lock for its whole duration. Waiting up to about\n * ten minutes is right here, where the single-flight lane's fail-fast would drop a finished run's\n * commit; a commit that still cannot get the lock is left for the wave reconciliation.\n */\n private underBriefWorktreeLock<T>(critical: () => Promise<T>): Promise<T> {\n return withDedicatedFileLock(this.getWorkspaceMutationLockPath(), critical, {\n retries: { retries: 120, minTimeout: 500, maxTimeout: 5_000 },\n });\n }\n\n /** Whether a CONCURRENT coding run is live now (#1528): it writes in the tree without holding the workspace lock. */\n private async concurrentCodingRunsLive(sessionContext?: CompanionExecutionSessionContext): Promise<boolean> {\n if (this.concurrentRunLiveInProcess()) return true;\n // The actor plane also sees a run another process drives. Asked twice; if it cannot answer, this\n // process's own runs are the answer (#1805 review R5), never a blanket \"shared\" nothing would ever settle.\n for (let attempt = 0; attempt < 2; attempt += 1) {\n try {\n return (await this.listInFlightCodingRuns(sessionContext)).some((run) => isConcurrentRunSubject(run.exclusiveSubject));\n } catch (error) {\n if (attempt === 1) {\n this.logger.warn('Could not list the live coding runs; judging sharing by this process\\'s own runs', { error: describeCaughtError(error) });\n }\n }\n }\n return false;\n }\n\n /** Whether this process drives a CONCURRENT run now — one writing the tree without holding the workspace lock. */\n private concurrentRunLiveInProcess(exceptTaskIds: readonly string[] = []): boolean {\n return [...this.activeRuns.values()].some((run) => run.mode === CodingRunConcurrency.CONCURRENT && run.withdrawalGuard !== true && !exceptTaskIds.includes(run.taskId));\n }\n\n /**\n * When the current SHARING EPISODE began: the first instant, since the tree was last written by one run\n * at a time, that a concurrent run (or a step beside one) wrote it (#1805 review R5, R9). Process-local:\n * a restart ends every episode, and restart recovery covers what it interrupted.\n */\n private sharingEpisodeStartedAt: string | undefined;\n\n private markSharingEpisodeStarted(at: string): void {\n if (this.sharingEpisodeStartedAt === undefined || at < this.sharingEpisodeStartedAt) this.sharingEpisodeStartedAt = at;\n }\n\n /**\n * Register a run; a CONCURRENT one opens a sharing episode when none is open. One of the two doors that\n * keep the dev supervisor's view of \"a coding agent is running\" in step with this process's own\n * (see {@link CODING_RUN_HEARTBEAT_RELATIVE_PATH}).\n */\n private registerActiveRun(run: ActiveRunState): void {\n if (run.mode === CodingRunConcurrency.CONCURRENT) this.markSharingEpisodeStarted(new Date().toISOString());\n this.activeRuns.set(run.taskId, run);\n this.adjustCodingWorkDepth(run.taskId, 1);\n }\n\n /**\n * Unregister a run. When it was the last CONCURRENT run live, the sharing episode has ended and nothing\n * is writing beside anything: what the episode's runs left is committed together, as a wave's end does\n * (#1805 review R5). That is what commits a generation step, or a resumed parked run, that shared the tree\n * outside any wave — no wave's end would ever reach them.\n */\n private unregisterActiveRun(taskId: string): void {\n const was = this.activeRuns.get(taskId);\n this.activeRuns.delete(taskId);\n this.adjustCodingWorkDepth(taskId, -1);\n if (was?.mode !== CodingRunConcurrency.CONCURRENT || this.concurrentRunLiveInProcess()) return;\n const startedAt = this.sharingEpisodeStartedAt;\n this.sharingEpisodeStartedAt = undefined;\n if (startedAt === undefined) return;\n this.sharingEpisodeReconciliation = this.reconcileSharedTree({ startedAt, taskIds: [] }).then(\n // Deferred (a run began writing while this waited for the lock), or the door failed: the episode goes on,\n // from the same start, for the next reconciliation (#1805 review 5 F3).\n ({ deferred, failed }) => { if (deferred || failed) this.markSharingEpisodeStarted(startedAt); },\n (error: unknown) => {\n this.markSharingEpisodeStarted(startedAt);\n this.logger.warn('Could not commit what a sharing episode left; it is kept for the next reconciliation', { error: describeCaughtError(error) });\n },\n );\n }\n\n /** The reconciliation the last sharing episode's end started, for a caller that must see its commit. */\n public sharingEpisodeReconciliation: Promise<void> = Promise.resolve();\n\n /** The live coding runs — selected, admitted or running — from the actor plane; see {@link listInFlightCodingRuns}. */\n public async listInFlightCodingRuns(sessionContext?: CompanionExecutionSessionContext): Promise<InFlightCodingRun[]> {\n return listInFlightCodingRuns(this.executionsService, sessionContext);\n }\n\n /** The live run of one build task, or `null` — what the wave skips, so no task is built twice at once. */\n public async findInFlightRunForBuildTask(\n buildTaskRef: string,\n sessionContext?: CompanionExecutionSessionContext,\n ): Promise<{ readonly executionId: string } | null> {\n const live = (await this.listInFlightCodingRuns(sessionContext)).find((run) => run.taskRef === buildTaskRef);\n return live ? { executionId: live.executionId } : null;\n }\n\n /**\n * Refuse (409) a SINGLE-FLIGHT run while any concurrent run is live (#1528).\n *\n * Two reasons, and the second is why it is explicit rather than incidental. A single-flight run was\n * promised the tree to itself. And the single-flight door is the one an agent can reach from its own\n * shell: until concurrency, the global lock refused a running agent's dispatch as a SIDE EFFECT (the\n * P-35 recursion cap). A concurrent run does not hold that lock, so without this a recursing agent\n * would be admitted beside its own wave.\n */\n private async refuseWhileConcurrentRunsInFlight(sessionContext?: CompanionExecutionSessionContext): Promise<void> {\n const concurrent = (await this.listInFlightCodingRuns(sessionContext)).filter((run) => isConcurrentRunSubject(run.exclusiveSubject));\n if (concurrent.length === 0) return;\n throw this.buildDispatchConflictError(\n `${concurrent.length} coding run(s) of a parallel build wave are live (${concurrent.map((run) => run.taskRef ?? run.executionId).join(', ')}). `\n + 'A single run cannot start beside them; it runs after the wave, or as part of the next one.',\n );\n }\n\n /** Record that a run entered the tree, for the runs it will overlap (#1528). */\n private openCodingRunWindow(taskId: string, taskRef: string): void {\n const now = Date.now();\n this.codingRunWindows = this.codingRunWindows\n .filter((window) => window.taskId !== taskId && (window.endedAtMs === undefined || now - window.endedAtMs < CODING_RUN_WINDOW_RETENTION_MS));\n this.codingRunWindows.push({ taskId, taskRef, startedAtMs: now });\n }\n\n /** End a run's window if nothing closed it — a parked run, or one that ended without a result. Idempotent. */\n private endCodingRunWindow(taskId: string): void {\n const endedAtMs = Date.now();\n this.codingRunWindows = this.codingRunWindows.map((window) => window.taskId === taskId && window.endedAtMs === undefined\n ? { ...window, endedAtMs }\n : window);\n }\n\n /** Hold the lane for a usage limit; a later reset than the one held wins, so two siblings never shorten it. */\n private holdForCodingAgentUsageLimit(limit: CodingAgentUsageLimit, taskRef: string, runTaskId: string): void {\n const held = this.codingAgentUsageLimitHold;\n if (held && Date.parse(held.resumesAt) >= Date.parse(limit.resumesAt)) return;\n this.codingAgentUsageLimitHold = { ...limit, taskRef, runTaskId };\n this.logger.warn('The coding agent\\'s account hit its usage limit; the build wave dispatches nothing until it resumes', {\n taskRef, runTaskId, resumesAt: limit.resumesAt, resumesAtSource: limit.resumesAtSource, ...(limit.statedReset ? { statedReset: limit.statedReset } : {}),\n });\n }\n\n /**\n * Release the hold on a success that proves the window is over: a run started after the limit was met. An\n * earlier sibling succeeding later proves nothing — its turn may have ended before the limit — and releasing\n * on it would refill every slot into the limit (#2388 review F4).\n */\n private releaseCodingAgentUsageLimitHoldAfterSuccess(runStartedAtMs: number): void {\n const held = this.codingAgentUsageLimitHold;\n if (held && runStartedAtMs > Date.parse(held.observedAt)) this.codingAgentUsageLimitHold = undefined;\n }\n\n /**\n * The usage limit holding the build wave now (#2388), or undefined once it has ended. Read before each slot\n * is filled; a hold past its `resumesAt` is dropped here, so the reset itself releases it.\n */\n public readCodingAgentUsageLimitHold(now: number = Date.now()): (CodingAgentUsageLimit & { readonly taskRef: string; readonly runTaskId: string }) | undefined {\n const held = this.codingAgentUsageLimitHold;\n if (held && Date.parse(held.resumesAt) <= now) {\n this.codingAgentUsageLimitHold = undefined;\n return undefined;\n }\n return held;\n }\n\n /**\n * Close a run's window with the paths it changed, and say which runs shared the tree with it and\n * which of those paths they changed too (#1528). `null` when it overlapped nothing — a run alone in\n * the tree records nothing new.\n */\n private closeCodingRunWindow(taskId: string, changedPaths: readonly string[]): CodingRunConcurrencyRecord | null {\n const window = this.codingRunWindows.find((candidate) => candidate.taskId === taskId);\n if (!window) return null;\n const endedAtMs = Date.now();\n const record = describeRunConcurrency(this.codingRunWindows, { taskId, startedAtMs: window.startedAtMs, endedAtMs }, changedPaths);\n this.codingRunWindows = this.codingRunWindows.map((candidate) => candidate.taskId === taskId\n ? { ...candidate, endedAtMs, changedPaths: [...changedPaths] }\n : candidate);\n return record.overlappingTaskRefs.length > 0 ? record : null;\n }\n\n /**\n * REPAIR at the end of a wave (#1528, #1805): commit what the wave's runs left in the tree, now that\n * nothing is writing, as ONE change naming every run whose writes it may carry.\n *\n * Under concurrency each run's own accept commits only what it claimed, and refuses the rest, so the\n * tree ends holding the merged remainder. That remainder cannot be attributed: an agent writing through\n * a shell claims nothing, so a file one run's capture holds may be a sibling's — measured 2026-09-27, a\n * FAILED run's files committed under a finisher's name by the per-task reconciliation this replaces. So\n * it is committed together, writer unknown (`acceptSharedTreeRunsTogether`).\n *\n * Which runs: every run the wave dispatched (`taskIds`, failed runs included) and every concurrent run\n * that recorded writes since the wave began (`startedAt`) — which brings in a generation step the wave\n * ran inline while its coding runs wrote. Only under the posture that lets the system accept, and never\n * a path another lane produced.\n */\n public async reconcileWaveAcceptance(input: {\n readonly startedAt: string;\n readonly taskIds: readonly string[];\n }): Promise<Array<{ readonly taskId: string; readonly committedPaths: number; readonly error?: string }>> {\n return (await this.reconcileSharedTree(input)).results;\n }\n\n /**\n * {@link reconcileWaveAcceptance}, saying whether it DEFERRED — the sharing episode's end needs to know, so a\n * deferred or failed reconcile does not lose the episode it was asked for (#1805 review F5).\n *\n * Everything that decides what to commit is read INSIDE the workspace lock: whether a concurrent run\n * outside these runs is still writing (R9 — its partial files sit in these runs' captures), and which\n * concurrent runs recorded writes since `startedAt`. Read before the lock, a run admitted or recorded while\n * this one waited for the lock was invisible to it.\n */\n private async reconcileSharedTree(input: {\n readonly startedAt: string;\n readonly taskIds: readonly string[];\n readonly lock?: { readonly takeLock?: boolean };\n }): Promise<{\n readonly deferred: boolean;\n /** The door refused with an error (a git failure, `index.lock`): nothing was committed and the work remains. */\n readonly failed: boolean;\n readonly results: Array<{ readonly taskId: string; readonly committedPaths: number; readonly error?: string }>;\n }> {\n let deferred = false;\n const results = await this.reconcileAcceptanceTogether(async () => {\n if (this.concurrentRunLiveInProcess(input.taskIds)) {\n deferred = true;\n this.logDebug('Deferred a reconciliation: a concurrent run outside it is still writing', { taskIds: input.taskIds });\n return [];\n }\n const during = (await this.codingRunWriteRegister.list())\n .filter((record) => record.concurrent === true && record.at >= input.startedAt)\n .map((record) => record.taskId);\n return [...new Set([...input.taskIds, ...during])];\n }, AcceptOrigin.WAVE_RECONCILIATION, input.lock);\n return { deferred, failed: results.some((result) => result.error !== undefined), results };\n }\n\n /** Force-accept each task's latest registered run, under the posture, with the caller's origin. */\n private async reconcileAcceptance(\n taskRefs: readonly string[],\n origin: AcceptOrigin,\n ): Promise<Array<{ readonly taskRef: string; readonly committedPaths: number; readonly error?: string }>> {\n return this.underAcceptancePosture(async () => {\n const results: Array<{ taskRef: string; committedPaths: number; error?: string }> = [];\n for (const taskRef of taskRefs) {\n try {\n const outcome = await this.acceptedChangeCommit.acceptCodingRun({ taskRef, force: true, origin });\n // A pathspec already at HEAD is not a repair: count paths only when a commit was made.\n results.push({ taskRef, committedPaths: outcome.alreadyCommitted ? 0 : outcome.committedPaths.length });\n } catch (error) {\n // Nothing left to commit is the usual answer: the run's own accept already took everything.\n results.push({ taskRef, committedPaths: 0, ...(error instanceof NothingToAcceptError ? {} : { error: describeCaughtError(error) }) });\n }\n }\n return results;\n });\n }\n\n /**\n * {@link reconcileAcceptance} for runs whose writer is not known (#1805): one forced commit naming every\n * run that contributed a file. A run that contributed reports that commit's path count; one that did\n * not reports 0, so the log never reads as if every run committed something.\n */\n private async reconcileAcceptanceTogether(\n /** The runs, or how to find them INSIDE the lock (#1805 review F5). */\n runs: readonly string[] | (() => Promise<readonly string[]>),\n origin: AcceptOrigin.WAVE_RECONCILIATION | AcceptOrigin.INTERRUPTED_RUN_RECOVERY,\n /** `takeLock: false` when the caller already holds the workspace lock. */\n lock: { readonly takeLock?: boolean } = {},\n ): Promise<Array<{ readonly taskId: string; readonly committedPaths: number; readonly error?: string }>> {\n return this.underAcceptancePosture(async () => {\n const taskIds = typeof runs === 'function' ? await runs() : runs;\n if (taskIds.length === 0) return [];\n try {\n const outcome = await this.acceptedChangeCommit.acceptSharedTreeRunsTogether({\n taskIds,\n origin,\n /*\n * #2222: the wave's reconciliation carries files no run's own accept judged, so the checks covering them\n * run here and their verdict goes in the commit body. Not on a restart's recovery, which runs while the\n * companion boots: spawning compilers there would hold the boot under the worktree lock.\n */\n ...(origin === AcceptOrigin.WAVE_RECONCILIATION ? { describeChecksOver: (paths: readonly string[]) => this.describeChecksOverPaths(paths) } : {}),\n });\n this.warnOfFilesNoRunLeft(outcome.refusedPaths, taskIds);\n const contributed = new Set(outcome.taskIds);\n const committedPaths = outcome.alreadyCommitted ? 0 : outcome.committedPaths.length;\n return taskIds.map((taskId) => ({ taskId, committedPaths: contributed.has(taskId) ? committedPaths : 0 }));\n } catch (error) {\n if (error instanceof NothingToAcceptError) this.warnOfFilesNoRunLeft(error.refusedPaths ?? [], taskIds);\n const detail = error instanceof NothingToAcceptError ? {} : { error: describeCaughtError(error) };\n return taskIds.map((taskId) => ({ taskId, committedPaths: 0, ...detail }));\n }\n }, lock);\n }\n\n /**\n * The verdict of every check whose coverage reaches `paths` (#2222), one line per check, for a commit body. The\n * checks are derived from the paths exactly as a task's are (`deriveRequiredCheckRefs`), so a file is judged by\n * the same checks whichever door commits it. A check that could not RUN says so and is never read as a pass.\n */\n private async describeChecksOverPaths(paths: readonly string[]): Promise<readonly string[]> {\n const checkRefs = deriveRequiredCheckRefs(paths);\n if (checkRefs.length === 0) return [];\n try {\n const { verification, unrunCheckRefs } = await this.executeVerificationPlans(resolveApplicationCodingTaskVerificationPlans(checkRefs));\n const unrun = new Set(unrunCheckRefs);\n return verification.map(({ checkRef, outcome }) => {\n if (unrun.has(checkRef)) return `- ${checkRef}: could not run — ${outcome.message}`;\n if (outcome.success) {\n return [`- ${checkRef}: passed`, ...(outcome.advisories ?? []).map((advisory) => ` - advisory: ${advisory}`)].join('\\n');\n }\n // tsc reports on stdout, so stdout first; stderr when a crash left nothing there.\n const first = [outcome.stdoutTail, outcome.stderrTail].map((tail) => tail.trim()).find((tail) => tail.length > 0)?.split('\\n')[0];\n return `- ${checkRef}: FAILED — ${first ?? outcome.message}`;\n });\n } catch (error) {\n return [`- the checks could not run: ${describeCaughtError(error)}`];\n }\n }\n\n /**\n * A file whose current state no run left — edited after every capture, by a person or a watcher — stays\n * uncommitted, which is right (#1805 review F6). But it stays dirty at every later run's baseline, and a\n * task declaring it never lands, so it is said at WARN, by name, where an operator reads.\n */\n private warnOfFilesNoRunLeft(refusedPaths: ReadonlyArray<{ readonly path: string; readonly reason: AcceptRefusalReason }>, taskIds: readonly string[]): void {\n const nobodys = refusedPaths.filter((entry) => entry.reason === AcceptRefusalReason.EDITED_SINCE_THE_RUN);\n if (nobodys.length === 0) return;\n this.logger.warn('Files changed after every run that shared the tree recorded them stay uncommitted: commit or revert them by hand', {\n paths: nobodys.map((entry) => entry.path), taskIds,\n });\n }\n\n /**\n * What every automatic acceptance shares: nothing under a posture that keeps acceptance with a person,\n * the worktree lock while committing, and the run-accepted listeners told once something was committed.\n */\n private async underAcceptancePosture<R extends { readonly committedPaths: number }>(\n accept: () => Promise<R[]>,\n /** FALSE when the caller already holds the workspace lock, as a single-flight run's own accept does. */\n options: { readonly takeLock?: boolean } = {},\n ): Promise<R[]> {\n if (laneBoundaryTreatmentFor(APPLICATION_CREATION_AUTONOMY_POSTURE, PlaybookLaneBoundaryDecision.APPROVE_RESULT) !== LaneBoundaryTreatment.NOTIFY_AND_PROCEED) return [];\n let results: R[] = [];\n if (options.takeLock === false) results = await accept();\n else await this.underBriefWorktreeLock(async () => { results = await accept(); });\n if (results.some((result) => result.committedPaths > 0)) {\n for (const listener of this.runAcceptedListeners) {\n try { listener(); } catch (error) { this.logDebug('A run-accepted listener threw', { error: describeCaughtError(error) }); }\n }\n }\n return results;\n }\n\n /**\n * Refuse (409) while another coding run holds the worktree, NAMING it — the holder is read from the\n * actor plane, so the message is true after a restart and from a second process. `exceptExecutionId`\n * is the execution the caller itself opened at selection, which holds the subject legitimately.\n */\n private async refuseWhileWorktreeIsHeld(exceptExecutionId: string | null, sessionContext?: CompanionExecutionSessionContext): Promise<void> {\n const holder = await this.actorsSystem.readExclusiveSubjectHolder(APPLICATION_CODING_SYSTEM_REF, APPLICATION_CODING_WORKTREE_SUBJECT, sessionContext);\n if (!holder || holder._id === exceptExecutionId) return;\n throw this.buildDispatchConflictError(\n `A coding-agent run is already active (task ${holder.tasks[0]?._id ?? 'unknown'}, execution ${holder._id}, ${holder.status}`\n + `${holder.createdAt ? `, started ${holder.createdAt}` : ''}). Application coding tasks share one working tree.`,\n );\n }\n\n /** The driver's own refusal — two callers raced past the fast 409 — in this lane's 409 shape. */\n private translateWorktreeBusy(error: unknown): unknown {\n return isActorExecutionSubjectBusyError(error)\n ? this.buildDispatchConflictError('A coding-agent run took the working tree first. Application coding tasks share one working tree.')\n : error;\n }\n\n /** Admission of a run that was opened at selection: start it, completing its input with the baseline. */\n private async startSelectedApplicationCodingExecution(\n selected: OpenedActorExecution,\n task: MetaWorkflow_ApplicationCodingTaskContract,\n baseline: GitWorktreeSnapshot,\n sessionContext?: CompanionExecutionSessionContext,\n origin?: CodingRunOrigin,\n ): Promise<OpenedActorExecution> {\n await this.actorsSystem.startActorExecution(selected, { taskInput: this.buildApplicationCodingTaskInput(task, baseline, origin) }, sessionContext);\n return selected;\n }\n\n private buildApplicationCodingExecutionRequest(\n task: MetaWorkflow_ApplicationCodingTaskContract,\n baseline: GitWorktreeSnapshot | null,\n sessionContext?: CompanionExecutionSessionContext,\n origin?: CodingRunOrigin,\n mode: CodingRunConcurrency = CodingRunConcurrency.SINGLE_FLIGHT,\n ): ActorExecutionOpenRequest<CompanionExecutionSessionContext> {\n return {\n systemRef: APPLICATION_CODING_SYSTEM_REF,\n // A single-flight run holds the application's working tree while it runs (#1361); a concurrent\n // one holds only its own task, so two runs of one task can never overlap (#1528).\n exclusiveSubject: applicationCodingExclusiveSubject(mode, task.taskRef),\n // The SELECTED agent, resolved once at creation and carried on the row —\n // so a task records which agent it was addressed to, and a selection\n // changed between creation and claim cannot silently redirect it. The\n // system declares one actor per binding under the binding's own ref.\n actorRef: resolveSelectedApplicationCodingAgentBinding().ref,\n scope: sessionContext,\n task: {\n title: `Application coding task ${task.taskRef}`,\n description: `Typed application coding task for ${task.objectiveRef}; acceptance is a commit, made by the loop under the autonomy posture or by a person on the workbench.`,\n topic: Actor_Task_Topics.IMPLEMENTATION,\n input: this.buildApplicationCodingTaskInput(task, baseline, origin),\n /*\n * The cross-plane join, carried in the GENERIC correlation envelope rather than in a\n * `workbenchBuildPlanTaskId` column on the actor-task row (#1348).\n *\n * The engine owns the slot and validates only that keys and values are non-empty strings;\n * this domain owns the keys. The value is the board's row identity — sanitized, which is the\n * ref verbatim today — so the creation plane can match its build-plan row to this task\n * without the generic platform row knowing what a build-plan task is.\n */\n correlation: {\n domain: WORKBENCH_TASK_CORRELATION_DOMAIN,\n refs: {\n [WorkbenchTaskCorrelationRef.BUILD_PLAN_TASK]: sanitizeWorkbenchCreationPlaneIdentity(task.taskRef),\n // The thread the dispatch came from (#1454, Step 7), the same key a playbook run carries.\n ...(origin?.conversationId ? { [WorkbenchTaskCorrelationRef.CONVERSATION]: origin.conversationId } : {}),\n },\n },\n },\n };\n }\n\n /**\n * The task row's INPUT — replayable task identity and guard evidence, never prompt/context bytes\n * except the assembly-repair failure tail named there (see the contract above\n * `openApplicationCodingExecution`). `baseline` is `null` between\n * selection and admission, and says so rather than being absent: a reader can tell a run that has\n * not captured one from a row that forgot to record it.\n */\n private buildApplicationCodingTaskInput(\n task: MetaWorkflow_ApplicationCodingTaskContract,\n baseline: GitWorktreeSnapshot | null,\n origin?: CodingRunOrigin,\n ): Record<string, unknown> {\n return {\n taskRef: task.taskRef,\n // Read back by the dispatch projection, so the row says which conversation started it.\n ...(origin?.conversationId ? { conversationId: origin.conversationId } : {}),\n // An operator ran a task the probe called landed (#2217): the run carries why, and the build record reads it back.\n ...(origin?.landedOverride ? { landedOverride: origin.landedOverride } : {}),\n // A repair of a failing assembly check records which check and what it printed (#2283): the bound on repairs reads it.\n ...assemblyRepairRunInputField(task),\n objectiveRef: task.objectiveRef,\n candidateRef: task.candidateRef,\n mutationScope: task.mutationScope,\n contextPlan: {\n planRef: task.contextPlan.planRef,\n objectiveRef: task.contextPlan.objectiveRef,\n },\n contextSelection: {\n planRef: task.contextSelection.planRef,\n selectedSourceRefs: task.contextSelection.selectedSources.map((source) => source.sourceRef),\n selectedSourceCount: task.contextSelection.selectedSources.length,\n /*\n * WHAT WAS SCREENED, per third-party source (#2846): the run's own record of which text written outside the\n * repository reached its brief, and what the classifier concluded. Outcome, provider and reason only, never the\n * text. Per-run state like the rest of this row, so it is not period evidence.\n *\n * assurance-control: WILDO.SOFTWARE.AI_PRODUCED_CHANGE_CONTROL — each run records what screening concluded per third-party source, and why a brief was built without provenance, never the text.\n */\n thirdPartyScreenings: task.contextSelection.selectedSources\n .filter((source) => source.screening !== undefined)\n .map((source) => ({ sourceRef: source.sourceRef, ...source.screening })),\n /*\n * WHY every decided element was routed as third-party, when the catalog could not say which came from web\n * research (#2846 review L1): the brief's own trusted statement, copied, so the row records the degraded run.\n */\n ...briefProvenanceUnavailableRunField(task),\n },\n verificationIntent: task.verificationIntent,\n installedSkillRefs: task.installedSkillRefs,\n baseline: baseline\n ? {\n headSha: baseline.headSha,\n dirtyFileCount: Object.keys(baseline.files).length,\n capturedAt: baseline.capturedAt,\n /*\n * The dirty files themselves, not only their count: the one record that survives a\n * restart mid-run, so the next start can tell what THIS run wrote from what was already\n * there ({@link recoverInterruptedRunWrites}). Paths and fingerprints only — no content.\n */\n files: baseline.files,\n }\n : null,\n };\n }\n\n /**\n * Open the trace half of one coding run — see {@link CodingRunTrace}. Best-effort like every\n * trace write here: a session that cannot be opened is recorded as a traceability error and the\n * run proceeds with no scope, which the actor plane accepts.\n */\n private async openCodingRunTrace(taskId: string, taskRef: string): Promise<CodingRunTrace> {\n let runSession: CompanionExecutionSessionContext | undefined;\n let runStep: ReturnType<CompanionTraceabilityService['createStep']> | undefined;\n const traceabilityErrors: unknown[] = [];\n const traceBestEffort = async (operation: string, write: () => Promise<void>): Promise<void> => {\n try {\n await write();\n } catch (error) {\n // Traceability is required evidence, but it must not become a control\n // flow escape that leaves the durable task PROCESSING after possible\n // source changes. The final task row records this failure and remains\n // visibly non-accepted for explicit follow-up.\n traceabilityErrors.push(error);\n this.logger.error('Application coding-task trace operation failed', {\n taskId,\n taskRef,\n operation,\n error: describeCaughtError(error),\n });\n }\n };\n await traceBestEffort('initialize-session', async () => {\n runSession = this.traceabilityService.createInternalSession({\n label: 'application-coding-task-run',\n metadata: { taskId, taskRef },\n });\n if (!runSession) return;\n await this.traceabilityService.registerAlias(runSession, CompanionTraceAliasKind.ACTOR_TASK, taskId);\n runStep = this.createOperationTraceStep(runSession, 'application-coding-task-run');\n });\n return { runSession, runStep, traceabilityErrors, traceBestEffort };\n }\n\n /**\n * ACCEPT a run's writes when the autonomy posture says the system accepts (#1534).\n *\n * **Why here.** A build task LANDS only when its declared product is COMMITTED, and until this\n * existed nothing in the loop committed — so an unattended build stopped after its first task,\n * and the 2026-09-23 run was carried by an operator's shell loop running `git add -A` in the gaps\n * between dispatches. `one-source-of-truth.md` D5 had already decided the posture (YOLO: the system\n * commits, the creator is notified and can override); what was missing was the mechanism.\n *\n * **Why it is safe HERE and nowhere later.** This runs inside `afterSettle`, which\n * `superviseCodingRun` awaits inside `withDedicatedFileLock(workspace mutation lock)`. No other\n * coding run can be live, so the commit cannot land inside another run's baseline→post window —\n * which is what destroys change-set attribution, and why the shell loop had to wait for a gap.\n *\n * **The posture is asked through the ONE table**, `laneBoundaryTreatmentFor`, as an APPROVE_RESULT\n * boundary — never by testing for YOLO here. So GUIDED keeps acceptance a person's act on the\n * workbench, YOLO_LIGHT and YOLO accept, and a posture added tomorrow is classified there once.\n *\n * **It never widens what is committed.** No `force`: every refusal the door applies to a person\n * applies here. A path it cannot vouch for stays uncommitted and the task stays visibly unlanded.\n *\n * **Best effort, and loud.** A failed accept costs the task its landing, never the run — the run's\n * result is already settled. It is logged at WARN because a silent failure here recreates exactly\n * the stall this exists to remove.\n */\n private async acceptUnderAutonomyPosture(taskRef: string, taskId: string): Promise<void> {\n // A concurrent run holds no lock (#1528), and git's index takes one writer: its commit is serialized.\n // A single-flight run already holds the workspace lock around this call.\n await this.underAcceptancePosture(async () => {\n try {\n const outcome = await this.acceptedChangeCommit.acceptCodingRun({ taskRef, origin: AcceptOrigin.AUTONOMY_POSTURE });\n this.logger.info('Accepted a build-task run under the autonomy posture', {\n taskId,\n taskRef,\n posture: APPLICATION_CREATION_AUTONOMY_POSTURE,\n commitSha: outcome.commitSha,\n committedPaths: outcome.committedPaths.length,\n refusedPaths: outcome.refusedPaths,\n alreadyCommitted: outcome.alreadyCommitted,\n });\n // Counted even when already at HEAD: the run is now recorded accepted, which the boards show.\n return [{ committedPaths: Math.max(outcome.committedPaths.length, 1) }];\n } catch (error) {\n if (error instanceof NothingToAcceptError) {\n // An empty run, or every path refused by name. The refusals are the finding; they stay visible.\n this.logger.warn('A build-task run concluded with nothing the posture could accept', {\n taskId, taskRef, reason: error.message, refusedPaths: error.refusedPaths,\n });\n return [];\n }\n this.logger.warn('Could not accept a build-task run under the autonomy posture; its task stays unlanded', {\n taskId, taskRef, error: describeCaughtError(error),\n });\n return [];\n }\n }, { takeLock: this.activeRuns.get(taskId)?.mode === CodingRunConcurrency.CONCURRENT });\n }\n\n /**\n * Accept every pending PLAYBOOK run under the posture, from inside the worktree window and before a\n * baseline — the third site of #1534 (see `acceptPendingPlaybookRuns` for why exactly here).\n * Best effort by construction: it must never cost the run whose window it borrows.\n */\n private async acceptPendingPlaybookRunsBeforeBaseline(): Promise<void> {\n if (laneBoundaryTreatmentFor(APPLICATION_CREATION_AUTONOMY_POSTURE, PlaybookLaneBoundaryDecision.APPROVE_RESULT) !== LaneBoundaryTreatment.NOTIFY_AND_PROCEED) return;\n try {\n const outcome = await this.acceptedChangeCommit.acceptPendingPlaybookRuns(AcceptOrigin.AUTONOMY_POSTURE);\n if (outcome.accepted > 0) {\n for (const listener of this.runAcceptedListeners) {\n try { listener(); } catch (error) { this.logDebug('A run-accepted listener threw', { error: describeCaughtError(error) }); }\n }\n }\n } catch (error) {\n this.logger.warn('Could not accept pending playbook runs before a baseline', { error: describeCaughtError(error) });\n }\n }\n\n /**\n * Run a build-plan GENERATION STEP inside the coding lane's attribution window, and accept what it\n * wrote under the autonomy posture — the second site of #1534's invariant.\n *\n * **Why a generation step needs this at all.** It lands on COMMITTED paths\n * (`ApplicationBuildGenerationStepLandedKind.COMMITTED_PATHS`), exactly like a coding task's\n * product, and it is EXEMPT from the loop guard because a step such as `i18n-labels` is\n * legitimately re-runnable. So an uncommitted step does not stall visibly: it is re-selected on\n * every dispatch, does nothing new, and every task that names it as a prerequisite never becomes\n * ready. The 2026-09-23 run never met this only because an operator's shell loop committed\n * everything between dispatches.\n *\n * **Why inside THIS window rather than beside it.** A coding run's attribution is a baseline→post\n * comparison, and it collapses when anything commits inside it. Until now a generation step held\n * neither half of the lane's single-flight, so it could run while a coding run was live and land\n * its writes inside that run's window. Here it takes both: the worktree lease check first — the\n * same 409 a second coding task gets, naming the holder — then the workspace mutation lock for\n * the snapshot, the step, the capture and the accept. The two are not redundant: a coding run\n * SELECTED but not yet admitted holds the lease and not the lock while it waits for the compile\n * watchers, and a step taking the lock there would fail that run's admission. A PARKED run holds\n * neither, by design — siblings run while its question waits, and anything they commit is\n * classified `committed_during_run` and excluded from its accept; a step is one more sibling. This is the lane's EXISTING single-flight,\n * extended to the other writer it always had; it restricts no agent's edits, which is what\n * #1264's \"no serialization\" constraint is about.\n *\n * **The writes go through the same register and door as a coding run's**, so the workbench's\n * Accept works on a generation-step row too, under GUIDED, with the same refusals. The capture and\n * the accept are best effort: a step whose writes could not be registered still returns its\n * result, and stays visibly unlanded.\n */\n public async runGenerationStepInWorktreeWindow<T>(input: {\n readonly taskRef: string;\n readonly taskId: string;\n readonly execute: () => Promise<T>;\n readonly sessionContext?: CompanionExecutionSessionContext;\n /**\n * The directories only this step writes (#2240): the dispatch plan's writable roots, derived from the\n * step's own evidence paths. Read only when the window is SHARED with concurrent coding runs, where they\n * are the step's claims. Omitted, a shared step claims nothing, as before.\n */\n readonly ownedPathPrefixes?: readonly string[];\n }): Promise<T> {\n await this.refuseWhileWorktreeIsHeld(null, input.sessionContext);\n return withDedicatedFileLock(\n this.getWorkspaceMutationLockPath(),\n async () => {\n await this.acceptPendingPlaybookRunsBeforeBaseline();\n const baseline = await this.gitChangeSetService.captureWorktreeSnapshot();\n await this.recordRunBaselineOnTask(input.taskId, baseline, input.sessionContext);\n const concurrentAtStart = await this.concurrentCodingRunsLive(input.sessionContext);\n // Beside a concurrent run, the step is part of that sharing episode from its own baseline (#1805).\n if (concurrentAtStart) this.markSharingEpisodeStarted(baseline.capturedAt);\n const result = await input.execute();\n let shared = concurrentAtStart;\n let claimedPaths: readonly string[] = [];\n try {\n const changeSet = await this.gitChangeSetService.captureChangeSet(baseline);\n /*\n * A step holds the workspace lock, but a CONCURRENT coding run takes that lock only to commit, so\n * a wave's runs keep writing while the step runs inline (#1805 review N2). Its capture then holds\n * their writes too. So when concurrent runs were live at either end of its window, or one recorded\n * writes during it, the step is recorded as a sharing run and claims only what lies under the\n * directories it alone writes (#2240), which it accepts under its own name. Everything else in its\n * capture is left for the wave's end, which commits it with its siblings, writer unknown.\n *\n * Before #2240 a shared step claimed nothing, so on app-creation-test-004 the labels, the logo and\n * the published documentation of a wave all landed in \"writer unknown\" commits, and a reader of the\n * history could not find the step that produced them.\n */\n const concurrentAtEnd = await this.concurrentCodingRunsLive(input.sessionContext);\n if (concurrentAtEnd) this.markSharingEpisodeStarted(baseline.capturedAt);\n shared = shared || concurrentAtEnd\n || (await this.codingRunWriteRegister.list()).some((record) => record.concurrent === true && record.at >= baseline.capturedAt);\n if (shared) claimedPaths = claimGenerationStepOwnedPaths(changeSet.files.map((file) => file.path), input.ownedPathPrefixes ?? []);\n await this.codingRunWriteRegister.record({ taskId: input.taskId, taskRef: input.taskRef, changeSet, ...(shared ? { claimedPaths } : {}) });\n } catch (error) {\n this.logger.warn('Could not register a generation step\\'s writes; it stays unlanded until they are committed', {\n taskId: input.taskId, taskRef: input.taskRef, error: describeCaughtError(error),\n });\n return result;\n }\n // A shared step with claims commits them under its own name first; the reconciliation below then finds only the rest.\n if (!shared || claimedPaths.length > 0) await this.acceptUnderAutonomyPosture(input.taskRef, input.taskId);\n if (shared && !this.concurrentRunLiveInProcess()) {\n /*\n * Shared, and nothing of this process is writing any more — the concurrent run finished during the\n * step: no episode will end after this, so the step and the runs recorded in its window are\n * committed together now. Inside the workspace lock this window already holds.\n */\n const since = this.sharingEpisodeStartedAt !== undefined && this.sharingEpisodeStartedAt < baseline.capturedAt\n ? this.sharingEpisodeStartedAt\n : baseline.capturedAt;\n await this.reconcileSharedTree({ startedAt: since, taskIds: [input.taskId], lock: { takeLock: false } });\n }\n return result;\n },\n { retries: { retries: 0 } },\n ).catch((error: unknown) => { throw this.mapLockError(error); });\n }\n\n /**\n * Run the engine-driven half of a coding run and deal with the two ways it can go wrong.\n *\n * `drive` is `completeActorExecution` or `resumeActorExecution`; `capture` hands this method the\n * executor's result, because the driver answers it only when the settle ALSO succeeded — and the\n * case that needs the result most is the one where it did not.\n *\n * - The executor returned and the SETTLE failed: not retried. The agent may already have changed\n * files and re-execution would duplicate an unclassified effect. The row is deliberately left\n * for the startup reconcile, and the trace records why it is not terminal.\n * - The executor THREW: the driver already settled `FAILED` with the message. Nothing to add\n * except a log line — the executor classifies its own failures, so a throw is a defect in it.\n */\n private async superviseCodingRun(\n taskRef: string,\n taskId: string,\n trace: CodingRunTrace,\n drive: (capture: (result: CodingRunResult) => CodingRunResult) => Promise<unknown>,\n ): Promise<void> {\n let result: CodingRunResult | null = null;\n try {\n await drive((returned) => { result = returned; return returned; });\n } catch (error) {\n const returned = result as CodingRunResult | null;\n if (returned === null) {\n // Two ways to get here with no result: the executor threw (the engine settled the run\n // FAILED with the message), or the engine refused to START it — a resume of an execution\n // that is no longer waiting. Neither leaves anything for this method to record. The two\n // refusals a person's late or concurrent answer meets are routine 409s, not errors (#1581, R10-2).\n const routineRefusal = isActorExecutionNotSuspendedError(error) || isActorExecutionSubjectBusyError(error);\n (routineRefusal ? this.logger.info.bind(this.logger) : this.logger.error.bind(this.logger))(\n routineRefusal ? 'Application coding run was not started or resumed: the driver refused it' : 'Application coding run ended without a result',\n { taskId, taskRef, error: describeCaughtError(error) },\n );\n return;\n }\n this.logger.error('Failed to persist application coding-task result', { taskId, taskRef, error: describeCaughtError(error) });\n await trace.traceBestEffort('record-terminal-patch-failure', () => this.traceOperationFailure({\n sessionContext: trace.runSession,\n step: trace.runStep,\n type: 'application-coding-task-terminal-patch-failure',\n summary: `Failed to persist the result of application coding task ${taskRef}`,\n error,\n payload: returned.output,\n }));\n return;\n }\n await (result as CodingRunResult | null)?.afterSettle();\n }\n\n /**\n * Executes the normal Agent invocation and lands the full working-result\n * evidence. This method runs inside the worktree lock and therefore is the\n * sole typed path allowed to observe its own before/after Git boundary.\n */\n private async executeApplicationCodingTask(\n task: MetaWorkflow_ApplicationCodingTaskContract,\n renderedPrompt: string,\n verificationPlans: readonly ApplicationCodingTaskVerificationPlan[],\n opened: OpenedActorExecution,\n baseline: GitWorktreeSnapshot,\n trace: CodingRunTrace,\n /**\n * Present when this run ANSWERS a parked question rather than starting the\n * task: the agent session is resumed by id via `session/load` and the answer\n * is delivered as the next turn. The task's mutation scope, verification plan\n * and original baseline are unchanged — the resume is held to exactly the\n * bounds the first run was.\n */\n resume?: { readonly continuationOfSessionId: string; readonly answerPrompt: string; readonly priorLegsUsage?: CodingAgent_Usage },\n ): Promise<CodingRunResult> {\n const { runSession, runStep, traceabilityErrors, traceBestEffort } = trace;\n // The TASK id is this lane's handle — the live stream, the answer door and the board row all\n // key on it. The execution is the engine's; it is reached from the task.\n const taskId = opened.taskId;\n const traceContext: AgentTraceContext = {\n label: `application-coding-task:${task.taskRef}`,\n attributes: {\n taskId,\n taskRef: task.taskRef,\n objectiveRef: task.objectiveRef,\n candidateRef: task.candidateRef,\n },\n };\n\n\n const startedAtMs = Date.now();\n /*\n * Which of this task's checks were ALREADY failing before the agent ran?\n *\n * Verification decides the disposition, and it used to ask \"is any check red now?\" — a question\n * about the TREE, answered as though it were about the RUN. A check that was red before the\n * agent started says nothing about the agent, and failing the task on it burns the whole run.\n *\n * Measured on the first end-to-end journey run (#1273): `check:technical-doc-typecheck` was red\n * before anything was dispatched, because `technical-doc/src/generated/consumer-documentation/`\n * has never been produced in that application. `build-task-docs-find-context` ran for fifteen\n * minutes, established its findings, wrote its report — and was recorded\n * `VERIFICATION_FAILED` on a red it did not cause, at $19.33. Every documentation task names\n * that check, so every one of them would have failed the same way, forever, for the same money.\n * That is the unbounded-cost shape `findCompletedRunForBuildTask` exists to close, reached\n * through the one door it cannot see: a run that FAILS is not a completed run, so it is\n * re-offered on the next dispatch.\n *\n * The baseline is the tree as this run found it, so it is the honest reference for \"did THIS run\n * break it\". Costs one extra pass of the same checks — tens of seconds against a run measured in\n * quarter-hours and tens of dollars.\n *\n * A check that THREW at baseline is excluded: it produced no verdict, so it cannot license\n * forgiving the same check afterwards. See `unrunCheckRefs`.\n */\n const baselineVerification = await this.executeVerificationPlans(verificationPlans);\n const unrunAtBaseline = new Set(baselineVerification.unrunCheckRefs);\n const preexistingVerificationFailures = new Set(baselineVerification.verification\n .filter(({ checkRef, outcome }) => !outcome.success && !unrunAtBaseline.has(checkRef))\n .map(({ checkRef }) => checkRef));\n let runError: unknown = null;\n // When the agent's refusal reached the host: a usage limit's reset is read against THIS instant (#2388 review F2).\n let runErrorAt: Date | null = null;\n let agentOutput = '';\n let codingUsage: CodingAgent_Usage | undefined;\n let codingDeniedPermissionCount: number | undefined;\n let codingPermissionDecisions: CodingAgent_RunTaskOutput['permissionDecisions'];\n let codingReportedFileLocations: CodingAgent_RunTaskOutput['reportedFileLocations'];\n let agentStopReason: CodingAgent_StopReason | undefined;\n /*\n * Counted in full, RETAINED in part.\n *\n * The previous shape pushed every notification into an unbounded array and\n * then persisted only its length — so a 30-minute run grew memory the\n * process never read, and the tool-call and diff frames (the reason to\n * observe a session at all) were collected and discarded. Now the count is a\n * counter, and only the frames a reader would actually open are retained, up\n * to a fixed ceiling.\n */\n let codingSessionEventCount = 0;\n // What the row keeps of the session, and why it is not \"the first N frames\": see the model.\n const codingSessionRetention = new CodingSessionFrameRetention();\n await traceBestEffort('record-start', () => this.traceOperationStart({\n sessionContext: runSession,\n step: runStep,\n type: 'application-coding-task-run-start',\n summary: `Run application coding task ${task.taskRef}`,\n payload: this.buildApplicationCodingTaskTraceSummary(task),\n artifactFileName: 'application-coding-task-input.txt',\n artifactContent: renderedPrompt,\n }));\n try {\n // Resume the agent recorded on the durable task. The host selector may\n // have changed since admission; it must not reroute an existing session.\n // The coding system declares one actor per binding under the binding's\n // own ref, so the actor the run was opened for IS the agent to invoke.\n const agentRef = opened.actorRef;\n if (typeof agentRef !== 'string' || !isApplicationCodingAgentRef(agentRef)) {\n throw this.buildDispatchConflictError('The coding task does not identify a declared application coding agent.');\n }\n const invocation: FlowsActors_Agent_Invocation<\n typeof CodingAgent_RunTaskInputSchema,\n typeof CodingAgent_RunTaskOutputSchema,\n typeof CodingAgent_OperationContext_BaseSchema\n > = {\n agentRef,\n initiator: {},\n invocationContext: [],\n // A resume delivers the operator's ANSWER as the turn and re-enters the\n // parked session; a first run delivers the rendered task.\n input: resume\n ? { prompt: resume.answerPrompt, continuationOfSessionId: resume.continuationOfSessionId }\n : { prompt: renderedPrompt },\n output: { finalMessage: '', stopReason: CodingAgent_StopReason.END_TURN },\n executionContext: { callTimestamp: new Date().toISOString() },\n artifactBindings: [],\n };\n const response = await this.agentsService.invokeAgent(\n invocation,\n traceContext,\n {\n workspaceRootPath: this.companionContext.saasRoot,\n // Hold the agent to the task's declared scope WHILE it runs, not only\n // in the change set afterwards. The post-hoc assessment stays — it is\n // the authoritative record, because an agent can write a file it never\n // asked permission for — but a refusal in the moment is the only one\n // that prevents the write rather than reporting it.\n // assurance-control: WILDO.SOFTWARE.AI_PRODUCED_CHANGE_CONTROL — the declared edits of an agent that asks before writing are held to its task's write scope while it runs; an agent that never asks, and a shell command, are held by nothing in flight.\n isPermittedCodingLocation: buildApplicationCodingTaskLocationPredicate(\n this.companionContext.saasRoot,\n task.mutationScope.allowedPathPrefixes,\n task.mutationScope.prohibitedPathPrefixes,\n ),\n onCodingSessionEvent: (event) => {\n codingSessionEventCount += 1;\n codingSessionRetention.accept(event);\n this.publishCodingSessionFrame(taskId, { channel: 'event', payload: event });\n },\n // The JUDGMENT half of the interactive lane: classify each end-of-turn\n // message so the engine ladder can auto-continue a self-pause and park\n // a genuine question. The engine fails OPEN if this throws, so a\n // classifier fault degrades to \"the turn is complete\" rather than\n // hanging the run — this method may therefore throw freely.\n classifyCodingTurnEnd: (input) => this.classifyCodingTurnEnd(input),\n onCodingSessionStateChange: (state) => {\n this.publishCodingSessionFrame(taskId, { channel: 'state', payload: state });\n },\n ...(this.activeRuns.get(taskId) ? { codingSessionAbortSignal: this.activeRuns.get(taskId)!.abortController.signal } : {}),\n },\n );\n const codingOutput = response.output as Partial<CodingAgent_RunTaskOutput> | undefined;\n // The agent runtime publishes provider-learned facts on `executionContext`.\n // A resume's leg reports its own tokens and the session's cumulative cost: the run is every leg together (#2232).\n codingUsage = mergeResumedLegUsage(resume?.priorLegsUsage, (response.executionContext as { usage?: CodingAgent_Usage } | undefined)?.usage);\n codingDeniedPermissionCount = codingOutput?.deniedPermissionCount;\n codingPermissionDecisions = codingOutput?.permissionDecisions;\n codingReportedFileLocations = codingOutput?.reportedFileLocations;\n const text = codingOutput?.finalMessage;\n agentStopReason = codingOutput?.stopReason;\n // A PARKED run stopped WITHOUT finishing to ask the operator a question.\n // Its `finalMessage` is the question and its partial edits are NOT a final\n // change set — so it must skip assessment, verification and the\n // terminal disposition entirely, and instead record an answerable,\n // non-terminal state. Handled here, before the CANCELLED/empty checks,\n // because a question is a non-empty END_TURN message that would otherwise\n // read as a completed working result.\n if (codingOutput?.suspension) {\n return this.buildParkedCodingRunResult({\n task,\n taskId,\n baseline,\n suspension: codingOutput.suspension,\n output: codingOutput,\n usage: codingUsage,\n codingSessionEventCount,\n retainedCodingSessionFrames: codingSessionRetention.frames(),\n codingSessionRetention: codingSessionRetention.summary(),\n startedAtMs,\n runSession,\n runStep,\n traceBestEffort,\n });\n }\n // A CANCELLED turn is not a completed one, and its partial change set must\n // not be read as a working result. Refused here rather than downstream so\n // the disposition names the actual reason.\n if (agentStopReason === CodingAgent_StopReason.CANCELLED) {\n throw new Error('Application coding Agent turn was cancelled before it completed.');\n }\n if (typeof text !== 'string' || text.trim().length === 0) {\n throw new Error('Application coding Agent returned no final message.');\n }\n agentOutput = text;\n } catch (error) {\n runError = error;\n runErrorAt = new Date();\n }\n /*\n * Whether an operator took this turn away, read the moment the turn ENDED (#1581, seventh review F8):\n * a wave cancel landing later, while the change set is captured, did not end a turn that had already\n * failed on its own — a timed-out turn is the task's.\n */\n const turnCancelledByOperator = this.activeRuns.get(taskId)?.abortController.signal.aborted === true;\n\n let changeSet: GitChangeSetCapture | null = null;\n let captureError: unknown = null;\n try {\n changeSet = await this.gitChangeSetService.captureChangeSet(baseline);\n } catch (error) {\n captureError = error;\n }\n /*\n * The register the workbench's `accept` commits from (#1454, Step 7): every path, attributed and\n * hashed, unbounded where the durable row's summary is bounded. Best effort — a register that\n * could not be written costs the ability to accept THIS run from the workbench, never the run.\n */\n if (changeSet) {\n try {\n // A run that shared the tree (#1528) records what it has evidence of writing: its capture also holds its siblings' files.\n const claimedPaths = this.activeRuns.get(taskId)?.mode === CodingRunConcurrency.CONCURRENT\n ? collectRunClaimedPaths({\n candidateRoots: applicationRootSpellings(this.companionContext.saasRoot),\n reportedFileLocations: codingReportedFileLocations,\n permissionDecisions: codingPermissionDecisions,\n })\n : undefined;\n await this.codingRunWriteRegister.record({ taskId, taskRef: task.taskRef, changeSet, ...(claimedPaths !== undefined ? { claimedPaths } : {}) });\n } catch (error) {\n this.logDebug('Could not record the coding run\\'s writes; accepting it from the workbench will refuse', { taskId, error: describeCaughtError(error) });\n }\n }\n\n const scopeAssessment = changeSet\n ? assessApplicationCodingTaskMutationScope(changeSet, task.mutationScope.allowedPathPrefixes, task.mutationScope.prohibitedPathPrefixes)\n : null;\n /*\n * Did Wildo's IN-FLIGHT guards actually run for this agent?\n *\n * The permission ceiling and the task mutation scope are both enforced in\n * the client's answer to `session/request_permission`, and the scope half is\n * enforced against the `locations` that request DECLARES. So there are TWO\n * ways a run reaches the end with the mutation scope never consulted, and\n * until 2026-09-09 only the first was reported:\n *\n * 1. NO REQUEST AT ALL — the agent writes without asking. Codex's design\n * (its safety model is a sandbox) and OpenCode's default. Nothing is\n * answered, so nothing is checked.\n *\n * 2. REQUESTS RAISED, NONE CARRYING A LOCATION — the agent asks, the\n * client answers, and the scope predicate has nothing to check the\n * answer against, because `locations.some(...)` over an empty array is\n * vacuously satisfied. Under an UNRESTRICTED ceiling this is EVERY\n * shell command: `execute` is admitted by the ceiling, and a shell\n * command declares no locations because its effect is not derivable\n * from the command string. A run can therefore write outside its\n * declared scope through a shell command with a full, well-formed\n * permission-decision record showing it was allowed.\n *\n * Shape 2 is not a hole to be closed by deriving locations from a command —\n * a shell command is UNSCOPED BY NATURE, and parsing one to guess its writes\n * would be an invented, defeatable answer (`sh -c \"$CMD\"`, a redirect\n * through a substituted path). The honest treatment is to say so.\n *\n * Both shapes are ADMISSIBLE by decision (2026-09-06/09): a different agent\n * architecture is not a reason to refuse a tool, the dogfood lane authors\n * UNRESTRICTED deliberately, and the framework's directive is that\n * restrictions arrive as judge-style guards rather than refusals wired into\n * the mechanism. What is NOT acceptable is the consequence going unrecorded\n * while the configuration reads as though a gate were in place.\n *\n * Keyed on the run's OWN evidence rather than on a provider declaration: an\n * agent that changes behaviour between versions cannot silently keep an\n * old, reassuring claim. (The provider's declaration is used too, at\n * DISPATCH, where it refuses a ceiling narrower than UNRESTRICTED against an\n * agent that cannot honour one — a claim before the run and evidence after\n * it, which are different jobs.)\n */\n const raisedNoPermissionRequest = (codingPermissionDecisions?.length ?? 0) === 0;\n // An ALLOWED decision that declared no path: the ceiling admitted the act and\n // the scope predicate was handed nothing to judge it by.\n const allowedActsWithNoDeclaredLocation = (codingPermissionDecisions ?? []).filter(\n (decision) => decision.allowed && decision.locations.length === 0,\n ).length;\n const mutationScopeWentUnconsulted = raisedNoPermissionRequest || allowedActsWithNoDeclaredLocation > 0;\n const mutatedFileCount = changeSet?.files.length ?? 0;\n if (!runError && mutationScopeWentUnconsulted && mutatedFileCount > 0) {\n // Best-effort and FEATURE-DETECTED, the same posture the audit emits take:\n // this observes a run, and an observation that can fail the run it\n // observes is worse than no observation. A partially-bound logger must not\n // turn a completed coding task into an error — measured the hard way, when\n // a `warn` the test double did not implement hung fifteen runs.\n this.logger.warn?.(\n (raisedNoPermissionRequest\n ? 'Coding run mutated the workspace without raising a single permission request — '\n + \"Wildo's permission ceiling and task mutation scope were NOT enforced in flight for this agent. \"\n : `Coding run mutated the workspace after ${allowedActsWithNoDeclaredLocation} permitted act(s) that `\n + 'declared no file location — typically shell commands, which are unscoped by nature — so the task '\n + 'mutation scope had nothing to check those acts against and was NOT enforced in flight for them. ')\n + 'The change set taken after the run is the only record of what it touched'\n + (scopeAssessment && scopeAssessment.outOfScopePaths.length > 0\n ? `, and it recorded ${scopeAssessment.outOfScopePaths.length} changed path(s) outside the task's declared scope `\n + '(this run\\'s or a parallel session\\'s — the change set cannot tell which).'\n : '.'),\n {\n taskRef: task.taskRef,\n objectiveRef: task.objectiveRef,\n mutationScopeRef: task.mutationScope.scopeRef,\n mutatedFileCount,\n outOfScopePathCount: scopeAssessment?.outOfScopePaths.length ?? null,\n raisedNoPermissionRequest,\n allowedActsWithNoDeclaredLocation,\n inFlightMutationScopeConsulted: false,\n },\n );\n }\n\n // Verification is deliberately sequential. Each check has a fixed\n // semantic meaning, but several checks can still contend for the same\n // application package/cache if started together. The ordered outcomes are\n // easier to inspect and avoid turning a bounded coding task into an\n // accidental local-build fan-out.\n // Out-of-scope paths never skip verification: they are recorded, not refused.\n const shouldVerify = !runError && !captureError;\n const { verification, infrastructureError: verificationInfrastructureError } = shouldVerify\n ? await this.executeVerificationPlans(verificationPlans)\n : { verification: [] as Array<{ checkRef: string; outcome: VerificationOutcome }>, infrastructureError: null as unknown };\n /*\n * Only a check this run BROKE fails the task. One that was already red is recorded and reported,\n * never attributed — see `preexistingVerificationFailures` above for what it cost when it was.\n *\n * The recording half is not decoration: a check red for every task is a project-level defect\n * that nothing else would surface, and forgiving it silently would replace a loud wrong answer\n * with a quiet one.\n */\n const carriedVerification = verification\n .filter(({ checkRef, outcome }) => !outcome.success && preexistingVerificationFailures.has(checkRef));\n const carriedVerificationFailures = carriedVerification.map(({ checkRef }) => checkRef);\n /*\n * And WHY it is red, captured while the output is in hand (#1529): the files the check names and\n * what generated them. A red nobody diagnoses is re-diagnosed by hand — on the first end-to-end run\n * that took an hour, for a fact the broken file's own banner stated.\n */\n const carriedVerificationDiagnoses = carriedVerification.map(({ checkRef, outcome }) => diagnoseCarriedVerificationFailure({\n checkRef,\n checkPath: outcome.path,\n message: outcome.message,\n stdoutTail: outcome.stdoutTail,\n stderrTail: outcome.stderrTail,\n readHead: (relativePath) => {\n try {\n return readFileSync(join(this.companionContext.saasRoot, relativePath), 'utf8').slice(0, 8_000);\n } catch {\n return undefined;\n }\n },\n }));\n const failedVerification = verification.find(\n ({ checkRef, outcome }) => !outcome.success && !preexistingVerificationFailures.has(checkRef),\n ) ?? null;\n\n if (agentOutput) {\n await traceBestEffort('write-agent-output', () =>\n this.traceOperationArtifact(runSession, runStep, 'application-coding-task-agent-output.txt', agentOutput));\n }\n if (changeSet?.fullDiffText) {\n await traceBestEffort('write-change-set', () =>\n this.traceOperationArtifact(runSession, runStep, 'application-coding-task-change-set.diff', changeSet.fullDiffText));\n }\n\n /*\n * A run started past a landing the operator called wrong exists to CHANGE something (#2409). One that wrote no file\n * of its own — files attributed to another writer (dirty at baseline, a parallel session) are not its work — has\n * repaired nothing, whatever its checks say: they passed before it ran too. Only with a captured change set: a\n * capture that failed is its own disposition, and \"no files\" cannot be read from it.\n */\n const landedOverride = readGivenLandedOverride(task);\n const overrideChangedNothing = landedOverride !== undefined && changeSet !== null\n && codingRunChangedNoFileOfItsOwn(changeSet.files, isAttributedToAnotherWriter);\n const disposition = deriveApplicationCodingTaskDisposition({\n agentFailed: Boolean(runError),\n changeSetCaptureFailed: Boolean(captureError),\n verificationFailed: failedVerification !== null,\n overrideChangedNothing,\n traceabilityFailed: traceabilityErrors.length > 0,\n });\n const succeeded = disposition === ApplicationCodingTaskDisposition.WORKING_RESULT_RECORDED;\n /*\n * Whose failure this was (#1581). An agent failure is the HOST's only when the turn was TAKEN\n * AWAY: an operator cancelled it (this run's own abort signal), or the measured classifiers name\n * the environment (a mid-turn kill, a 529/429) or the account (quota, expired login). A timed-out\n * turn also ends `cancelled`, and it is the task's — it needed more than a turn.\n */\n const runErrorMessage = runError ? describeCaughtError(runError) : '';\n const agentTurnTakenByHost = turnCancelledByOperator\n || isInfrastructureShapedAgentFailure(runErrorMessage)\n || isProviderAccountAgentFailure(runErrorMessage);\n const failureAttribution = deriveCodingRunFailureAttribution({ disposition, agentTurnTakenByHost });\n /*\n * The account's usage limit, with the instant it ends (#2388). Recorded on the row, so the attempt budget\n * counts nothing for it and the feed can say when the lane resumes; held here, so the wave starts no\n * other turn into the same window. A success is proof the window is over — but only a run STARTED after\n * the limit was met: a sibling that began earlier may have finished its agent turn before the limit and\n * be settling only now, after minutes of checks (#2388 review F4).\n */\n const codingAgentUsageLimit = runError ? readCodingAgentUsageLimit(runErrorMessage, runErrorAt ?? new Date()) : null;\n if (codingAgentUsageLimit) this.holdForCodingAgentUsageLimit(codingAgentUsageLimit, task.taskRef, taskId);\n else if (succeeded) this.releaseCodingAgentUsageLimitHoldAfterSuccess(startedAtMs);\n // Which runs shared the tree with this one, and where they both wrote (#1528). Absent for a run alone.\n const concurrency = this.closeCodingRunWindow(taskId, (changeSet?.files ?? []).map((entry) => entry.path));\n const output = {\n succeeded,\n disposition,\n ...(failureAttribution !== null ? { failureAttribution } : {}),\n ...(codingAgentUsageLimit ? { codingAgentUsageLimit } : {}),\n ...(concurrency ? {\n concurrency,\n /*\n * A failure while other runs were editing the same tree MAY be theirs — only when the tree could\n * have caused it (#2389, `deriveInterferenceSuspected`). Suspected, never proven: the attempt budget\n * forgives a bounded number of these (`selectBudgetCountingFailures`).\n */\n ...(deriveInterferenceSuspected({ disposition, failureAttribution, concurrency }) ? { interferenceSuspected: true } : {}),\n } : {}),\n durationMs: Date.now() - startedAtMs,\n agentOutputTail: agentOutput.slice(-OUTPUT_TAIL_CHARS),\n /*\n * What the agent says it could NOT meet (#2496), read from its closing report's typed block over the WHOLE message,\n * not the tail. Recorded whatever the disposition: the build plan derives a follow-up task from a completed run's,\n * and a person reading any run sees what its agent left unmet. A block that does not parse is recorded as such.\n */\n ...(() => {\n const unmet = parseClosingReportUnmetRequirements(agentOutput);\n return {\n ...(unmet.reported.length > 0 ? { unmetRequirements: unmet.reported } : {}),\n ...(unmet.malformed !== undefined ? { unmetRequirementsMalformed: unmet.malformed } : {}),\n };\n })(),\n // Recorded on the durable row because it is the difference between \"the\n // agent finished\" and \"the agent stopped\": a turn that ended on\n // `max_tokens` or `refusal` leaves a partial change set that looks exactly\n // like a complete one from the diff alone.\n ...(agentStopReason ? { agentStopReason } : {}),\n ...(codingSessionEventCount > 0 ? { codingSessionEventCount } : {}),\n // Red before this run started, and still red. Not this task's failure, and not nobody's.\n ...(carriedVerificationFailures.length > 0 ? { carriedVerificationFailures, carriedVerificationDiagnoses } : {}),\n ...(codingSessionRetention.frames().length > 0\n ? { codingSessionFrames: codingSessionRetention.frames(), codingSessionRetention: codingSessionRetention.summary() }\n : {}),\n // #2: the run's real cost, recorded on the durable row.\n //\n // This is what the previous transport structurally could not report, and\n // it was captured by the runner and dropped here — so the budget still saw\n // nothing. `usage` is optional in every field by contract, so absence is\n // preserved as absence rather than written as zero.\n ...(codingUsage ? { usage: codingUsage } : {}),\n ...(codingDeniedPermissionCount !== undefined\n ? { deniedPermissionCount: codingDeniedPermissionCount }\n : {}),\n // WHY each permission was decided, beside how many were refused. A refusal an operator\n // cannot explain is a refusal they cannot act on — see the field's contract.\n ...(codingPermissionDecisions && codingPermissionDecisions.length > 0\n ? { permissionDecisions: codingPermissionDecisions }\n : {}),\n ...(runError ? { error: buildOutputErrorPayload(runError) } : {}),\n ...(disposition === ApplicationCodingTaskDisposition.OVERRIDE_NOT_REPAIRED && landedOverride ? {\n overrideNotRepaired: {\n // The agent's own account travels with the verdict (#2409 review F12): the operator weighs it, nothing else does.\n message: `Run past a wrong landing (${landedOverride.reason}: ${landedOverride.note}) changed no file, so the defect is not repaired. `\n + `The agent said: \"${agentOutput.trim().slice(-OVERRIDE_NOT_REPAIRED_AGENT_SAY_CHARS) || 'nothing'}\". `\n + 'Fix the cause, or run it again with a note the agent can act on.',\n },\n } : {}),\n ...(captureError ? { changeSetCaptureError: buildOutputErrorPayload(captureError) } : {}),\n ...(verificationInfrastructureError ? { verificationInfrastructureError: buildOutputErrorPayload(verificationInfrastructureError) } : {}),\n ...(traceabilityErrors.length > 0 ? { traceabilityErrors: traceabilityErrors.map(buildOutputErrorPayload) } : {}),\n ...(scopeAssessment ? { scopeAssessment } : {}),\n verification,\n ...(changeSet ? {\n changeSetSummary: {\n baselineHeadSha: changeSet.baselineHeadSha,\n postRunHeadSha: changeSet.postRunHeadSha,\n headMovedDuringRun: changeSet.headMovedDuringRun,\n stats: changeSet.stats,\n /*\n * WHICH files, beside how many — asked for by the judge itself.\n *\n * On 2026-09-16, the first run whose evidence the `dispatch-outcome-sound` treatment could\n * read answered INDETERMINATE on its in-scope criterion, and said exactly why: \"the artifact\n * does not identify the changed paths or their contents. It therefore cannot show that the\n * dispatched target/stage was implemented within <the declared scope>\". That criterion asks\n * whether a schema task added a persisted shape and a ui-behavior task added field displays —\n * a question about PATHS, answered with counts.\n *\n * Path and attribution class only. The class is what lets a reader separate the run's own\n * work from a file that was already dirty at baseline or that a parallel session committed\n * inside the window — the distinction the criterion's own guidance turns on, and one the\n * counts flatten. Contents stay out: the full diff is a trace artifact, and pasting a\n * change-set into a durable row would put the repository inside its own task record.\n *\n * BOUNDED, because a durable row is not a diff: a task that touches more files than this\n * carries the first `CHANGE_SET_SUMMARY_FILE_LIMIT` and says how many it left out, which is\n * a truthful summary rather than a silently truncated one.\n */\n files: changeSet.files.slice(0, CHANGE_SET_SUMMARY_FILE_LIMIT).map((entry) => ({\n path: entry.path,\n attribution: entry.attribution,\n changeKind: entry.changeKind,\n })),\n ...(changeSet.files.length > CHANGE_SET_SUMMARY_FILE_LIMIT\n ? { filesOmittedFromSummary: changeSet.files.length - CHANGE_SET_SUMMARY_FILE_LIMIT }\n : {}),\n },\n } : { changeSetSummary: null }),\n };\n\n /*\n * The run CONCLUDED, and the engine's driver records it (#1359): the status, this output and the\n * change-set artifact land on the task in the one move that settles the execution. `FAILED` is a\n * conclusion here, not a throw — see {@link CodingRunResult}.\n */\n return {\n kind: CodingRunEnding.CONCLUDED,\n conclusion: {\n status: succeeded ? FlowsActors_Status.COMPLETED : FlowsActors_Status.FAILED,\n taskOutput: output,\n ...(changeSet ? { taskArtifacts: [buildChangeSetArtifact(taskId, changeSet)] } : {}),\n },\n output,\n afterSettle: async () => {\n /*\n * A run that ANSWERED a question and then failed would otherwise keep its resume inputs:\n * the driver leaves a FAILED run's checkpoint in place, because for most hosts re-running\n * from it is how a failure is recovered. Here it holds the admitted contract — context\n * bytes the durable row deliberately never carries — and the question it answered is gone,\n * so there is nothing to continue. A failed coding run is re-DISPATCHED, not resumed.\n */\n if (!succeeded && resume) {\n await traceBestEffort('consume-checkpoint', () => this.actorsSystem.consumeActorExecutionCheckpoint(opened.executionId, runSession));\n }\n if (succeeded) {\n await traceBestEffort('record-success', () => this.traceOperationSuccess({\n sessionContext: runSession,\n step: runStep,\n type: 'application-coding-task-run-success',\n summary: `Recorded working result for application coding task ${task.taskRef}`,\n payload: output,\n }));\n await this.acceptUnderAutonomyPosture(task.taskRef, taskId);\n this.announceRunCompleted({ taskRef: task.taskRef, runTaskId: taskId });\n return;\n }\n await traceBestEffort('record-failure', () => this.traceOperationFailure({\n sessionContext: runSession,\n step: runStep,\n type: 'application-coding-task-run-failure',\n summary: `Application coding task ${task.taskRef} requires follow-up`,\n error: runError ?? captureError ?? verificationInfrastructureError ?? traceabilityErrors[0] ?? new Error(`Application coding task disposition: ${disposition}`),\n payload: output,\n }));\n },\n };\n }\n\n // ================================================================\n // Interactive lane — classifier, live relay, park & resume\n // ================================================================\n\n /**\n * Classify a coding agent's end-of-turn message through the dedicated\n * structured classifier agent. Throws on any fault; the ENGINE ladder wraps\n * that into `CLASSIFIER_UNAVAILABLE` and settles, so this never has to invent\n * a safe default of its own.\n */\n private async classifyCodingTurnEnd(input: {\n readonly finalMessage: string;\n readonly turnIndex: number;\n }): Promise<CodingAgent_EndOfTurnClassification> {\n const prompt = [\n 'A coding agent ended its turn with the message below. Classify what the message means so an '\n + 'autonomous runner can decide whether to continue automatically, or to surface a question to '\n + 'the operator.',\n '',\n '# Agent end-of-turn message',\n input.finalMessage,\n ].join('\\n');\n const invocation: FlowsActors_Agent_Invocation<any, any> = {\n agentRef: APPLICATION_CODING_TURN_CLASSIFIER_AGENT_REF,\n initiator: {},\n invocationContext: [],\n input: { prompt, schema: CodingTurnEndClassificationOutputSchema },\n output: { object: {} },\n executionContext: {},\n artifactBindings: [],\n };\n const response = await this.agentsService.invokeAgent(invocation);\n const raw = (response.output as { object?: unknown } | undefined)?.object;\n const parsed = CodingTurnEndClassificationOutputSchema.safeParse(raw);\n if (!parsed.success) {\n // A malformed classifier answer is a classifier fault: let the ladder fail\n // open rather than guess which situation the model meant.\n throw new Error('Coding turn-end classifier returned an unparseable result.');\n }\n return parsed.data.classification;\n }\n\n /** Fan one live frame out to a task's SSE subscribers. Best-effort, never throws into the run. */\n private publishCodingSessionFrame(taskId: string, frame: CodingSessionLiveFrame): void {\n const listeners = this.codingSessionSubscribers.get(taskId);\n if (!listeners) return;\n for (const listener of listeners) {\n try {\n listener(frame);\n } catch {\n // A subscriber must never be able to fail the run it observes.\n }\n }\n }\n\n /**\n * Subscribe to a task's live coding frames. Returns an unsubscribe function.\n *\n * Frames flow only while a run is ACTIVE for that task; a subscriber that\n * attaches after the run parked or finished simply receives nothing further,\n * which is why the SSE endpoint sends the current pending question up front.\n */\n public subscribeToCodingSession(taskId: string, listener: (frame: CodingSessionLiveFrame) => void): () => void {\n let listeners = this.codingSessionSubscribers.get(taskId);\n if (!listeners) {\n listeners = new Set();\n this.codingSessionSubscribers.set(taskId, listeners);\n }\n listeners.add(listener);\n return () => {\n const set = this.codingSessionSubscribers.get(taskId);\n if (!set) return;\n set.delete(listener);\n if (set.size === 0) this.codingSessionSubscribers.delete(taskId);\n };\n }\n\n /**\n * The questions currently awaiting an operator answer, for status/UX.\n *\n * Read from the ACTOR PLANE since #1359: every parked coding run is an execution of\n * `application-coding.system` that is `AWAITING_APPROVAL`, carrying the decision it waits on and\n * the checkpoint an answer continues from. Until then this read an in-process map, so a companion\n * restart emptied the list while the questions still stood — the board showed nothing to answer\n * for runs that were one answer away from continuing.\n *\n * Each carries a `decision` — the same `HumanDecision_Request` an interview and a clarification are\n * rendered from — so a reader needs no knowledge of ACP suspensions to show one. It is the decision\n * STORED on the execution when the run parked, not one rebuilt here: a second producer of a shared\n * contract would drift from the first the day an option changed.\n */\n public async listPendingCodingQuestions(sessionContext?: CompanionExecutionSessionContext): Promise<Array<{\n taskId: string; taskRef: string; question: string; parkedAt: string; resumable: boolean; decision: HumanDecision_Request;\n /** Which of the run's questions this is (`actorExecutionSuspensionRef`), opaque to a reader. An answer echoes it (#1581). */\n suspensionRef: string;\n }>> {\n return (await this.listParkedCodingRuns(sessionContext)).map((parked) => ({\n taskId: parked.taskId,\n taskRef: parked.checkpoint.taskRef,\n question: parked.checkpoint.suspension.question,\n parkedAt: parked.checkpoint.parkedAt,\n resumable: parked.checkpoint.suspension.resumable,\n decision: parked.decision,\n suspensionRef: parked.suspensionRef,\n }));\n }\n\n /**\n * Every coding run waiting on an operator, as the actor plane holds it.\n *\n * ONE system's waiting executions — not the 200 most recently updated rows of every actor, which is\n * what the task-list scans this replaced read, and why a parked coding row could fall outside the\n * window on a busy application and be reported as absent.\n *\n * A waiting row whose checkpoint does not parse is SKIPPED, never reported: it has lost the thing\n * an answer would continue, so it is not a parked run anybody can answer. The startup reconcile\n * aborts such a row for review; between restarts it is simply not offered.\n */\n private async listParkedCodingRuns(sessionContext?: CompanionExecutionSessionContext): Promise<Array<{\n executionId: string; taskId: string; checkpoint: ApplicationCodingRunCheckpoint; decision: HumanDecision_Request; suspensionRef: string;\n }>> {\n const waiting = await this.actorsSystem.listSuspendedActorExecutions(APPLICATION_CODING_SYSTEM_REF, sessionContext);\n const parked: Array<{ executionId: string; taskId: string; checkpoint: ApplicationCodingRunCheckpoint; decision: HumanDecision_Request; suspensionRef: string }> = [];\n for (const row of waiting) {\n const checkpoint = ApplicationCodingRunCheckpointSchema.safeParse(row.checkpoint?.context);\n const task = row.tasks[0];\n if (!checkpoint.success || !task || !row.suspension) continue;\n parked.push({ executionId: row._id, taskId: task._id, checkpoint: checkpoint.data, decision: row.suspension.decision, suspensionRef: actorExecutionSuspensionRef(row.suspension) });\n }\n return parked;\n }\n\n /**\n * A run that parked on a question, as the engine's driver is told to record it: the run waits on\n * its execution (`AWAITING_APPROVAL`) with the decision a person owes and the inputs an answer\n * continues from, and its task shows the question and what the turn cost so far.\n *\n * Deliberately skips change-set assessment and verification: a parked run's\n * edits are partial by definition, and assessing them as a final change set is\n * exactly the \"read a suspended turn as complete\" mistake the suspension field\n * exists to prevent.\n */\n private buildParkedCodingRunResult(params: {\n task: MetaWorkflow_ApplicationCodingTaskContract;\n taskId: string;\n baseline: GitWorktreeSnapshot;\n suspension: CodingAgent_SessionSuspension;\n output: Partial<CodingAgent_RunTaskOutput>;\n usage: CodingAgent_Usage | undefined;\n codingSessionEventCount: number;\n retainedCodingSessionFrames: Array<{ readonly kind: string; readonly payload: unknown }>;\n codingSessionRetention: CodingSessionRetentionSummary;\n startedAtMs: number;\n runSession: CompanionExecutionSessionContext | undefined;\n runStep: ReturnType<CompanionTraceabilityService['createStep']> | undefined;\n traceBestEffort: (operation: string, write: () => Promise<void>) => Promise<void>;\n }): CodingRunResult {\n const { task, taskId, baseline, suspension, output } = params;\n const parkedAt = new Date().toISOString();\n\n const durableOutput = {\n succeeded: false,\n disposition: ApplicationCodingTaskDisposition.AWAITING_OPERATOR_INPUT,\n durationMs: Date.now() - params.startedAtMs,\n // The question the operator must answer, front and centre.\n pendingQuestion: suspension.question,\n suspension,\n agentOutputTail: (output.finalMessage ?? '').slice(-OUTPUT_TAIL_CHARS),\n ...(output.stopReason ? { agentStopReason: output.stopReason } : {}),\n ...(output.turnCount ? { turnCount: output.turnCount } : {}),\n ...(output.continuations && output.continuations.length > 0 ? { continuations: output.continuations } : {}),\n ...(params.codingSessionEventCount > 0 ? { codingSessionEventCount: params.codingSessionEventCount } : {}),\n ...(params.retainedCodingSessionFrames.length > 0\n ? { codingSessionFrames: params.retainedCodingSessionFrames, codingSessionRetention: params.codingSessionRetention }\n : {}),\n ...(params.usage ? { usage: params.usage } : {}),\n ...(output.deniedPermissionCount !== undefined ? { deniedPermissionCount: output.deniedPermissionCount } : {}),\n ...(output.permissionDecisions && output.permissionDecisions.length > 0 ? { permissionDecisions: output.permissionDecisions } : {}),\n };\n\n // The resume inputs — see `ApplicationCodingRunCheckpointSchema` for why the CONTRACT and the\n // ORIGINAL baseline travel here rather than being re-derived when the answer arrives.\n const checkpoint: ApplicationCodingRunCheckpoint = {\n kind: APPLICATION_CODING_RUN_CHECKPOINT_KIND,\n taskRef: task.taskRef,\n contract: task,\n baseline,\n suspension,\n parkedAt,\n // Every leg so far, so the resume's row keeps their tokens (`mergeResumedLegUsage`).\n ...(params.usage ? { priorLegsUsage: params.usage } : {}),\n };\n\n return {\n kind: CodingRunEnding.PARKED,\n /*\n * UNROUTED, deliberately (#1751). Under the notify-and-proceed posture the ANSWERING AGENT settles\n * the questions it can before a person sees them (#1559), and an OWNER route admits only its\n * requester as a signed-in person: routed, every one of those answers would be refused and every\n * question would fall to the creator. A coding question is routed only once the route model can\n * express \"the agent acting within the posture the owner chose\" — until then its door is its\n * authority, and each settle still records its answer.\n */\n suspension: {\n decision: projectParkedCodingQuestionAsDecision({ taskId, taskRef: task.taskRef, suspension, parkedAt }),\n checkpointContext: checkpoint,\n taskOutput: durableOutput,\n },\n output: durableOutput,\n afterSettle: () => params.traceBestEffort('record-awaiting-input', () => this.traceOperationStart({\n sessionContext: params.runSession,\n step: params.runStep,\n type: 'application-coding-task-awaiting-input',\n summary: `Application coding task ${task.taskRef} is awaiting an operator answer`,\n payload: { taskId, question: suspension.question, resumable: suspension.resumable },\n })),\n };\n }\n\n /**\n * Has this build task ALREADY been run to a working result?\n *\n * Asked by the build dispatcher before it selects a task, and the reason is a measured money\n * leak rather than tidiness. `dispatch-next` picks `ready[0]`, and readiness is \"not landed\";\n * a task whose declared PRODUCT is never satisfied by the work it does is therefore ready\n * again the instant it finishes. Measured 2026-09-10 on Wonder CRM, where every task in the\n * plan declares `produces: []` and so can never land (#606): three consecutive dispatches\n * selected `build-task-contact-schema`, ran a full coding agent each time, and cost roughly\n * $7.50 per iteration. Nothing failed — each run succeeded — and the loop is unbounded.\n *\n * The durable actor-task rows are the right source and the only one that survives a restart:\n * an in-memory \"last dispatched\" would forget across the respawn that a rebuild triggers, and\n * the loop would resume.\n *\n * Deliberately COMPLETED only. A failed or cancelled run is exactly what an operator SHOULD be\n * able to re-dispatch, and a parked one is answered by resuming rather than by re-running.\n *\n * And a RE-ARMED completed run does not count (#1535): once the reason a task did not land is\n * fixed, `rearmBuildTask` records that on the run, and the task is offered again.\n */\n public async findCompletedRunForBuildTask(\n buildTaskRef: string,\n sessionContext?: CompanionExecutionSessionContext,\n ): Promise<{ taskId: string; completedAt?: string } | null> {\n const [first] = await this.listCountingCompletedRunsForBuildTask(buildTaskRef, sessionContext);\n return first === undefined ? null : { taskId: first.taskId, completedAt: first.completedAt };\n }\n\n /**\n * Put a build task back in the queue after the reason it did not land has been fixed (#1535).\n *\n * Every completed run the anti-loop guard still counts, and every failed run not yet re-armed (a forgiven\n * one included, #1581), gets a re-arm recorded on its own row, in its\n * long-term memory, with the reason and a note. Nothing about the run is rewritten: it still reads\n * as the run it was, and it now also reads as a run that was superseded, and why.\n *\n * Refuses when there is nothing to re-arm, naming why, because a re-arm that changes nothing would\n * let an operator believe a task was released when it was never held.\n */\n public async rearmBuildTask(\n buildTaskRef: string,\n request: { readonly reason: BuildTaskRearmReason; readonly note: string },\n sessionContext?: CompanionExecutionSessionContext,\n ): Promise<{ readonly rearmedRunTaskIds: readonly string[]; readonly rearm: BuildTaskRearm }> {\n /*\n * Completed runs hold a task through the anti-loop guard; failed ones through its attempt budget\n * (#1536). EVERY failed run not yet re-armed is re-armed, including the ones the budget currently\n * FORGIVES (a host failure, suspected interference): forgiveness is bounded per task, and a re-arm\n * that left the forgiven runs in place would leave their slots used for good, so the first host\n * failure after the re-arm would already count (#1581, third review F-1).\n */\n const failedNotRearmed = (await this.listAttributableFailedRunsForBuildTask(buildTaskRef, sessionContext, { includeRearmed: true }))\n .filter((run) => readBuildTaskRearm(run.memory) === undefined);\n const runs = [\n ...(await this.listCountingCompletedRunsForBuildTask(buildTaskRef, sessionContext)),\n ...failedNotRearmed,\n ];\n if (runs.length === 0) {\n throw new NothingToRearmError(\n `Build task \"${buildTaskRef}\" has no completed coding run that still counts and no failed one not yet re-armed, so there is nothing to re-arm: `\n + 'it was never run, or every run is already re-armed. A task in that state is '\n + 'offered by the next dispatch on its own.',\n );\n }\n const rearm: BuildTaskRearm = { reason: request.reason, note: request.note, rearmedAt: new Date().toISOString() };\n try {\n await this.serializeRunMemoryWrite(async () => {\n /*\n * Each run's memory is read again inside the lane: the listing above may predate a review or an interference\n * appended since, and writing its memory back would erase that entry.\n */\n const current = new Map((await this.listCompletedRunsForBuildTask(buildTaskRef, sessionContext)).map((run) => [run.taskId, run.memory]));\n for (const run of runs) {\n const memory = current.has(run.taskId) ? current.get(run.taskId) : run.memory;\n await this.executionsService.updateActorTask(run.taskId, { memory: withBuildTaskRearm(memory, rearm) }, sessionContext);\n }\n });\n } finally {\n // A re-arm is actor-plane memory only — no file moves — and it releases a task the boards held as\n // stuck. Announced even when a later update threw: the runs re-armed before it did still moved.\n this.announceRunStateChanged();\n }\n return { rearmedRunTaskIds: runs.map((run) => run.taskId), rearm };\n }\n\n /**\n * The FAILED coding runs of one build task that still count against its attempt budget (#1536) —\n * newest first, re-armed runs excluded, each with what the dispatcher needs to tell the next attempt\n * why this one failed.\n *\n * Only the task's OWN failures count. Since `703d07c3` a check that was red before the run started\n * no longer fails it (the run completes and records `carriedVerificationFailures`). A CANCELLED or\n * ABORTED run is not an attempt and is not listed — which includes a dispatch refused before\n * admission, settled ABORTED (#1581), and a FAILED row written before that which never started. A FAILED run the HOST caused (`failureAttribution`,\n * {@link deriveCodingRunFailureAttribution}) — an operator's cancel of a running turn among them — is\n * forgiven up to `MAXIMUM_HOST_FAILURE_EXCLUSIONS`, like suspected interference: past the bound it\n * counts, so a host condition that fails every attempt still retires the task. A re-arm releases the\n * forgiven runs too (`rearmBuildTask`). A row older than the field counts. A run the coding agent's usage\n * limit took (`codingAgentUsageLimit`, #2388) is excluded outright and spends no forgiveness: the build\n * pauses until the limit's reset rather than re-dispatching into it.\n */\n public async listAttributableFailedRunsForBuildTask(\n buildTaskRef: string,\n sessionContext?: CompanionExecutionSessionContext,\n options: { readonly includeRearmed?: boolean } = {},\n ): Promise<{ taskId: string; settledAt?: string; startedAt?: string; memory: Actors_Memory_Context | undefined; output: Record<string, unknown> }[]> {\n const failed = await this.executionsService.listActorTasks(CompanionActorTasksListQuerySchema.parse({\n status: FlowsActors_Status.FAILED,\n actorRefs: [...APPLICATION_CODING_AGENT_REFS],\n limit: 200,\n }), sessionContext);\n const counting: { taskId: string; settledAt?: string; startedAt?: string; memory: Actors_Memory_Context | undefined; output: Record<string, unknown>; interferenceSuspected: boolean; hostAttributed: boolean; usageLimited: boolean }[] = [];\n for (const task of failed) {\n // A persisted task row: its instants are dates (#2187), and this record carries the ISO form.\n const stored = task as { _id?: string; actors?: { actorRef?: string }; input?: unknown; output?: unknown; completedAt?: Date; startedAt?: Date; memory?: Actors_Memory_Context };\n const row = { ...stored, completedAt: stored.completedAt?.toISOString(), startedAt: stored.startedAt?.toISOString() };\n if (!isApplicationCodingAgentRef(row.actors?.actorRef)) continue;\n if (!isRecordValue(row.input) || row.input.taskRef !== buildTaskRef) continue;\n // A re-armed failure no longer counts against the budget; a retry may still want to READ it.\n if (options.includeRearmed !== true && readBuildTaskRearm(row.memory) !== undefined) continue;\n const output = isRecordValue(row.output) ? row.output : {};\n /*\n * A run the HOST declined to start is no attempt (#1581, seventh review F7): the build board and the\n * retry context already read it so through `deriveCodingRunStart`, and the budget is the third reader\n * of that question. Only a row written before #1581 is FAILED and never started; today it is ABORTED.\n */\n if (options.includeRearmed !== true\n && deriveCodingRunStart({ status: FlowsActors_Status.FAILED, ...(row.startedAt ? { startedAt: row.startedAt } : {}), output }) === CodingRunStart.REFUSED_BY_HOST) {\n continue;\n }\n counting.push({\n taskId: String(row._id),\n ...(row.completedAt ? { settledAt: row.completedAt } : {}),\n // Whether the run STARTED is what tells a retry that nothing ran (`deriveCodingRunStart`).\n ...(row.startedAt ? { startedAt: row.startedAt } : {}),\n memory: row.memory,\n output,\n interferenceSuspected: output.interferenceSuspected === true,\n hostAttributed: output.failureAttribution === CodingRunFailureAttribution.HOST,\n // The account's usage limit took the turn: no attempt, and no forgiveness spent (#2388).\n usageLimited: readRecordedCodingAgentUsageLimit(output) !== undefined,\n });\n }\n /*\n * A run that failed while other runs shared the tree may have failed for THEIR edits (#1528). The\n * budget forgives up to MAXIMUM_INTERFERENCE_RETRIES of those, so interference cannot retire a\n * task, and a task that genuinely cannot pass still does. A retry READING its history sees them all.\n */\n return (options.includeRearmed === true ? counting : selectBudgetCountingFailures(counting))\n .map(({ interferenceSuspected: _suspected, hostAttributed: _host, usageLimited: _limited, ...run }) => run);\n }\n\n /**\n * The completed coding runs of one build task that the anti-loop guard still counts — newest first,\n * re-armed runs excluded. One reader, so the guard and the re-arm cannot disagree about which runs\n * hold a task.\n */\n private async listCountingCompletedRunsForBuildTask(\n buildTaskRef: string,\n sessionContext?: CompanionExecutionSessionContext,\n ): Promise<{ taskId: string; completedAt?: string; memory: Actors_Memory_Context | undefined }[]> {\n return (await this.listCompletedRunsForBuildTask(buildTaskRef, sessionContext)).filter((run) => readBuildTaskRearm(run.memory) === undefined);\n }\n\n /**\n * Every COMPLETED coding run of one build task, re-armed ones included, in the order the actor plane lists\n * them (a caller that needs the latest sorts by `completedAt`), each with the interference the build wave\n * recorded on it (#2210). The wave reads it twice: to count how many interference re-arms the task has\n * already had (`MAXIMUM_INTERFERENCE_REARMS`), and to tell the next attempt that its previous one lost its\n * product to a sibling.\n */\n public async listCompletedRunsForBuildTask(\n buildTaskRef: string,\n sessionContext?: CompanionExecutionSessionContext,\n ): Promise<{ taskId: string; completedAt?: string; memory: Actors_Memory_Context | undefined; interference?: BuildTaskInterference }[]> {\n /*\n * Scoped to the CODING actors before the list is trimmed (#1359). This used to read the 200 most\n * recently updated `COMPLETED` tasks of EVERY actor, so a busy judge or labelling lane could push\n * a completed coding run out of the window — and this guard would then answer \"never ran\" and\n * reopen the loop it exists to close. What remains is a bound on coding runs alone: a build task\n * whose completed run is older than the 200 most recent COMPLETED coding runs is still missed.\n */\n const completed = await this.executionsService.listActorTasks(CompanionActorTasksListQuerySchema.parse({\n status: FlowsActors_Status.COMPLETED,\n actorRefs: [...APPLICATION_CODING_AGENT_REFS],\n limit: 200,\n }), sessionContext);\n\n const runs: { taskId: string; completedAt?: string; memory: Actors_Memory_Context | undefined; interference?: BuildTaskInterference }[] = [];\n for (const task of completed) {\n // A persisted task row: its instants are dates (#2187), and this record carries the ISO form.\n const stored = task as { _id?: string; actors?: { actorRef?: string }; input?: unknown; completedAt?: Date; memory?: Actors_Memory_Context };\n const row = { ...stored, completedAt: stored.completedAt?.toISOString() };\n // MEMBERSHIP, not equality with one constant — the same reason\n // `reconcileInterruptedApplicationCodingTasks` gives: a second declared coding agent must\n // not make this silently answer \"never ran\".\n if (!isApplicationCodingAgentRef(row.actors?.actorRef)) continue;\n if (!isRecordValue(row.input) || row.input.taskRef !== buildTaskRef) continue;\n const interference = readBuildTaskInterference(row.memory);\n runs.push({ taskId: String(row._id), completedAt: row.completedAt, memory: row.memory, ...(interference ? { interference } : {}) });\n }\n return runs;\n }\n\n /**\n * Record on a COMPLETED run that the build wave found its product lost to a sibling (#2210). Appended to the\n * run's long-term memory beside any re-arm, so the run still reads as the run it was, and now also as one a\n * sibling interfered with. Refuses a run that is not a completed run of this task, because the record would\n * otherwise describe a run it was never measured on.\n */\n public async recordBuildTaskInterference(\n buildTaskRef: string,\n runTaskId: string,\n interference: BuildTaskInterference,\n sessionContext?: CompanionExecutionSessionContext,\n ): Promise<void> {\n await this.serializeRunMemoryWrite(async () => {\n const run = (await this.listCompletedRunsForBuildTask(buildTaskRef, sessionContext)).find((candidate) => candidate.taskId === runTaskId);\n if (!run) throw new Error(`Run ${runTaskId} is not a completed coding run of build task \"${buildTaskRef}\"; no interference is recorded on it.`);\n try {\n await this.executionsService.updateActorTask(runTaskId, { memory: withBuildTaskInterference(run.memory, interference) }, sessionContext);\n } finally {\n // The build record shows it; a board that read the run before must read it again.\n this.announceRunStateChanged();\n }\n });\n }\n\n /**\n * Record on a COMPLETED run what the review of its website copy found (#2593), beside any re-arm or interference.\n * Refuses a run that is not a completed run of this task, for the reason {@link recordBuildTaskInterference} does.\n */\n public async recordWebsiteCopyReview(\n buildTaskRef: string,\n runTaskId: string,\n review: WebsiteCopyReview,\n sessionContext?: CompanionExecutionSessionContext,\n ): Promise<void> {\n await this.serializeRunMemoryWrite(async () => {\n const run = (await this.listCompletedRunsForBuildTask(buildTaskRef, sessionContext)).find((candidate) => candidate.taskId === runTaskId);\n if (!run) throw new Error(`Run ${runTaskId} is not a completed coding run of build task \"${buildTaskRef}\"; no copy review is recorded on it.`);\n try {\n await this.executionsService.updateActorTask(runTaskId, { memory: withWebsiteCopyReview(run.memory, review) }, sessionContext);\n } finally {\n this.announceRunStateChanged();\n }\n });\n }\n\n /**\n * Record on a COMPLETED run what the review of its website drawing found (#2785), beside its copy review. Refuses a\n * run that is not a completed run of this task, as {@link recordWebsiteCopyReview} does.\n */\n public async recordWebsiteVisualReview(\n buildTaskRef: string,\n runTaskId: string,\n review: WebsiteVisualReview,\n sessionContext?: CompanionExecutionSessionContext,\n ): Promise<void> {\n await this.serializeRunMemoryWrite(async () => {\n const run = (await this.listCompletedRunsForBuildTask(buildTaskRef, sessionContext)).find((candidate) => candidate.taskId === runTaskId);\n if (!run) throw new Error(`Run ${runTaskId} is not a completed coding run of build task \"${buildTaskRef}\"; no visual review is recorded on it.`);\n try {\n await this.executionsService.updateActorTask(runTaskId, { memory: withWebsiteVisualReview(run.memory, review) }, sessionContext);\n } finally {\n this.announceRunStateChanged();\n }\n });\n }\n\n /**\n * Which runs shared the tree with this one, and which paths both changed, computed NOW from every window\n * this process holds (#2210). `closeCodingRunWindow` answers the same question at the run's own settle,\n * when a sibling still running has not reported its paths yet; at the end of a wave every window is\n * closed, so this one sees every sibling. `null` for a run this process holds no window for, or one that\n * overlapped nothing.\n */\n public describeCodingRunOverlap(taskId: string): CodingRunConcurrencyRecord | null {\n const window = this.codingRunWindows.find((candidate) => candidate.taskId === taskId);\n if (!window || window.endedAtMs === undefined) return null;\n const record = describeRunConcurrency(this.codingRunWindows, { taskId, startedAtMs: window.startedAtMs, endedAtMs: window.endedAtMs }, window.changedPaths ?? []);\n return record.overlappingTaskRefs.length > 0 ? record : null;\n }\n\n /**\n * A run for this build task that is PARKED on an unanswered question.\n *\n * The sibling above answers \"has this task already run to a terminal state?\" and is what the\n * dispatcher's anti-loop guard consults. It lists `COMPLETED` tasks only, so a run that SUSPENDS is\n * invisible to it, and its task would be offered again on every dispatch, forever.\n *\n * Measured 2026-09-16 on Wonder CRM: `build-task-gdpr-data-handling-governance` suspended, and the\n * next `dispatch-next` dry run selected the same task — neither landed, nor marked, nor skipped.\n * That is the money-burning loop `buildUnlandableTaskError` was written against (#606, ~$7.50 a\n * turn), reached through the one door that guard cannot see.\n *\n * Re-dispatching a parked task is worse than re-dispatching a completed one: it starts a NEW run\n * and abandons the persisted session the operator's answer would have resumed, so the question and\n * everything the agent established are lost rather than merely repeated.\n *\n * Reads the waiting EXECUTIONS of the coding system since #1359 — see `listParkedCodingRuns` for\n * the residual that closed.\n */\n public async findParkedRunForBuildTask(\n buildTaskRef: string,\n sessionContext?: CompanionExecutionSessionContext,\n ): Promise<{ taskId: string; question: string; resumable: boolean } | null> {\n for (const parked of await this.listParkedCodingRuns(sessionContext)) {\n if (parked.checkpoint.taskRef !== buildTaskRef) continue;\n /*\n * RESUMABLE only, and matching the answer door's own predicate is the whole point. A\n * non-resumable park cannot be answered — that door refuses it — so reporting it here would\n * make the dispatcher skip the one task no operator can unblock: a dead end in both\n * directions. A non-resumable park is therefore reported as NOT parked, and a fresh dispatch\n * is the only way forward for it.\n */\n if (!parked.checkpoint.suspension.resumable) continue;\n return { taskId: parked.taskId, question: parked.checkpoint.suspension.question, resumable: true };\n }\n return null;\n }\n\n /**\n * The parked run behind one TASK id, or `null` when nothing answerable waits under it.\n *\n * The task id is the lane's handle and the execution is the engine's, so this is the join: the\n * task row names its execution, and the driver says whether that execution is waiting. Every way\n * of not being a parked coding run answers `null` — not a coding task, no execution, not waiting,\n * a checkpoint that no longer parses. A read that FAILS answers `null` too in the lenient default,\n * for the one caller that treats every miss alike (the answering-agent loop, whose miss sends the\n * question to the creator); a\n * STRICT read throws it instead, for a caller that must not tell a person \"nothing is waiting\" when\n * nothing was read (#1581, tenth and eleventh reviews).\n */\n private async readParkedCodingRun(\n taskId: string,\n sessionContext?: CompanionExecutionSessionContext,\n /**\n * STRICT: a read that FAILED throws instead of answering `null` — for a caller that must tell \"nothing\n * is waiting\" from \"could not tell\" (#1581, tenth review R10-1): every door that answers a person (the\n * answer door, the per-run cancel, a chain's withdraw) reads strictly.\n */\n options: { readonly strict?: boolean } = {},\n ): Promise<{ executionId: string; suspensionRef: string; checkpoint: ApplicationCodingRunCheckpoint; mode: CodingRunConcurrency } | null> {\n let executionId: string | undefined;\n try {\n const row = await this.executionsService.getActorTask(taskId, sessionContext);\n if (!isApplicationCodingAgentRef(row.actors?.actorRef)) return null;\n executionId = row.wildoApplicationActorSystemExecutionId;\n } catch (error) {\n if (options.strict === true && !isAbsentParkRead(error)) throw error;\n return null;\n }\n if (!executionId) return null;\n try {\n const waiting = await this.actorsSystem.readSuspendedActorExecution(executionId, sessionContext);\n const checkpoint = ApplicationCodingRunCheckpointSchema.safeParse(waiting.row.checkpoint?.context);\n // A run parked from a wave resumes as one: it holds only its task, never the tree (#1528).\n const mode = isConcurrentRunSubject(waiting.row.exclusiveSubject) ? CodingRunConcurrency.CONCURRENT : CodingRunConcurrency.SINGLE_FLIGHT;\n // The suspension it waits on NOW: a resume carries it, so an answer read against one question cannot continue the next (#1581, seventh review F9).\n return checkpoint.success ? { executionId, suspensionRef: actorExecutionSuspensionRef(waiting.suspension), checkpoint: checkpoint.data, mode } : null;\n } catch (error) {\n // `readSuspendedActorExecution` refuses an execution that is not waiting — already answered,\n // cancelled, settled. For this door that is \"nothing to answer\", not a fault; a failed read is.\n if (options.strict === true && !isAbsentParkRead(error)) throw error;\n return null;\n }\n }\n\n /**\n * Append one answer to `src/build-plan/CODING-ANSWERS.md` — the record of what a person told a\n * parked coding run (#1454, Step 6). Until then the answer lived only in the agent session and\n * the run log, so a reviewer accepting the change set could not see the decision it rests on.\n *\n * Best-effort: a record that cannot be written is logged and the answer still goes to the agent\n * — the person's answer is not held hostage to a file. The file lands beside the build plan as a\n * working edit; a commit accepts it like every other decision record.\n */\n private async recordCodingQuestionAnswer(\n taskRef: string,\n question: string,\n answer: string,\n source: { readonly answeredBy?: CodingQuestionAnswerer; readonly basis?: string; readonly answeredByRef?: string } = {},\n ): Promise<void> {\n const specificationsPackageRoot = this.companionContext.resolvedSpecifications?.packageRoot;\n const buildPlanPath = getFamilyPackageRelativePath(ApplicationSpecificationFamily.BUILD_PLAN);\n if (!specificationsPackageRoot || !buildPlanPath) return;\n const filePath = join(specificationsPackageRoot, dirname(buildPlanPath), CODING_ANSWERS_FILE_NAME);\n try {\n await mkdir(dirname(filePath), { recursive: true });\n const entry = renderCodingQuestionAnswerEntry({ taskRef, question, answer, answeredAt: new Date().toISOString(), ...source });\n if (existsSync(filePath)) await appendFile(filePath, entry, 'utf8');\n else await writeFile(filePath, `${renderCodingQuestionAnswersHeader()}${entry}`, 'utf8');\n } catch (error) {\n this.logDebug('Could not record the coding-question answer beside the build plan (the answer still resumes the run)', { taskRef, error: String(error) });\n }\n }\n\n /**\n * Answer a parked coding task's question, resuming the SAME agent session.\n *\n * ONE door, in-process or after a restart (#1359). The run's execution is `AWAITING_APPROVAL`\n * with the contract, the original baseline and the agent session on its checkpoint, and the\n * engine's `resumeActorExecution` continues it under the same ids: it refuses an execution that is\n * no longer waiting on the question this answer names BEFORE moving anything — so a second answer\n * to one question cannot run the work twice — moves the rows back to `PROCESSING`, and settles\n * whatever the continued run does, including parking again on a second question.\n *\n * WHICH question the answer names is the caller's to say, and it is required (`expected.suspensionRef`,\n * the value a pending question and its workbench row carry): an answer that named nothing would\n * continue whichever question the run waits on when the request lands, which is not necessarily the\n * one its person read (#1581, eighth and ninth reviews).\n *\n * A single-flight run resumes under the worktree mutation lock, exactly like a fresh dispatch (a\n * resume mutates the same worktree); a run parked from a wave resumes beside it, holding no lock, as\n * it ran (#1528). Either way it re-enters the turn ladder through `session/load`, so the agent\n * continues with its full context. The mutation scope and verification plan are the parked\n * contract's; a resume is held to the same bounds as the first run, and its change set is measured\n * from the first run's baseline.\n */\n public async respondToApplicationCodingTaskQuestion(\n taskId: string,\n answer: string,\n sessionContext: CompanionExecutionSessionContext | undefined,\n expected: {\n readonly suspensionRef: string;\n /** Who answered (#1658) — `git:<email>`, `agent:<name>`, a workbench user — written into `CODING-ANSWERS.md`. */\n readonly answeredByRef?: string;\n /** The signed-in person answering (#1751), when the door has one: the decision's recorded actor. */\n readonly actingUserId?: string;\n },\n ): Promise<ApplicationCodingTaskRunAdmission> {\n // A missing answer is a VALIDATION 400 regardless of whether a task is parked\n // — it is a malformed request, not a state conflict.\n const trimmedAnswer = this.admitTypedInput(() => {\n const value = answer.trim();\n if (value.length === 0) throw new Error('empty answer');\n return value;\n }, 'An answer is required to resume a parked coding task.');\n // Which question it answers: required, and a blank reference names none — a 400 at every door (#1581, R12-1).\n const answeredRef = this.admitTypedInput(() => {\n const value = expected.suspensionRef.trim();\n if (value.length === 0) throw new Error('empty suspensionRef');\n return value;\n }, 'An answer must name the question it answers (`suspensionRef`, as the pending question carries it).');\n // STRICT: a failed read must not tell a person their question is gone (#1581, eleventh review R11-5).\n const parked = await this.readParkedCodingRun(taskId, sessionContext, { strict: true }).catch((error: unknown) => {\n this.logger.warn('The answer door could not read the coding run\\'s park', { taskId, error: describeCaughtError(error) });\n throw this.buildDispatchConflictError(\n `Coding task ${taskId} could not be read, so your answer was not applied. Its question may still be waiting; try again.`,\n );\n });\n if (!parked) {\n throw this.buildDispatchConflictError(\n `No coding task is awaiting an answer under id ${taskId}. It was already answered, cancelled or settled, `\n + 'or it is not a coding run.',\n );\n }\n const { checkpoint, executionId, mode } = parked;\n // The fast 409: the run has asked again since the caller read its question. The driver re-checks the\n // same suspension reference when it resumes, so a question asked after this point is refused there too.\n if (answeredRef !== parked.suspensionRef) {\n throw this.buildDispatchConflictError(\n `Coding task ${taskId} has asked another question since the one you answered. Read its current question and answer that.`,\n );\n }\n // Past that check the caller's reference IS this one; the driver holds the resume to it.\n const { suspensionRef } = parked;\n if (!checkpoint.suspension.resumable) {\n throw this.buildDispatchConflictError(\n `Coding task ${taskId} parked on a question, but its agent does not support session resume, `\n + 'so the answer cannot be delivered to the same session. Re-dispatch the task with the answer folded into the objective.',\n );\n }\n // Answers are serialized behind the same worktree: refused while another run holds it. The\n // driver re-takes the subject on resume and refuses there too; this names the holder first.\n await this.refuseWhileWorktreeIsHeld(null, sessionContext);\n if (mode === CodingRunConcurrency.SINGLE_FLIGHT) await this.refuseWhileConcurrentRunsInFlight(sessionContext);\n const task = checkpoint.contract;\n const verificationPlans = this.admitTypedInput(\n () => resolveApplicationCodingTaskVerificationPlans(task.verificationIntent.requiredChecks),\n 'The parked coding task names a verification check this host no longer registers.',\n );\n\n const admission = createDeferred<ApplicationCodingTaskRunAdmission>();\n const resumeBody = async () => {\n /*\n * Refused while THIS process still runs a chain for the task (#1581, fifth review R5-1/R5-2). A\n * run that parked is still registered while its own chain offers the question to the answering\n * agent (#1559). Under single-flight the worktree lock already excludes a person's answer there;\n * a CONCURRENT run holds no lock, so without this a person's resume would take over the chain's\n * registration and settlement, and the chain's ending would delete the one and strand the other.\n * Checked HERE, where it is followed by the registration with nothing awaited in between, and\n * nowhere earlier: a second, earlier check could only ever repeat this one.\n */\n this.refuseWhileRunChainIsLive(taskId);\n // ONE settlement for the whole chain: the resumed turn, and any questions the answering agent\n // then answers under the same hold (#1559) — a caller awaiting it sees the chain's final state.\n const settlement = createDeferred<void>();\n this.applicationCodingTaskSettlements.set(taskId, { promise: settlement.promise, resolve: () => settlement.resolve(undefined) });\n /*\n * Registered for the WHOLE chain, as a dispatched run is (#1581, fourth review A-1): each resume\n * inherits this entry, so an operator's cancel reaches the resumed turn, and a cancel made while\n * the answering agent decides a follow-up question still finds the run rather than \"nothing is\n * running\". Removed when the chain settles.\n */\n this.registerActiveRun({ taskId, startedAt: new Date().toISOString(), abortController: new AbortController(), mode: mode ?? CodingRunConcurrency.SINGLE_FLIGHT });\n let resumed: ParkedRunResume | undefined;\n try {\n resumed = await this.resumeParkedRunHoldingLock({\n taskId,\n executionId,\n suspensionRef,\n checkpoint,\n answer: trimmedAnswer,\n answerSource: expected.answeredByRef?.trim() ? { answeredByRef: expected.answeredByRef.trim() } : {},\n ...(expected.actingUserId ? { actingUserId: expected.actingUserId } : {}),\n verificationPlans,\n sessionContext,\n mode,\n onAdmitted: (admitted) => admission.resolve(admitted),\n });\n // Only a resume that RAN can have parked again: a refused one left the person's question where\n // it was, and it is still theirs, not the answering agent's (#1581, seventh review F5).\n if (resumed.outcome === ParkedRunResumeOutcome.RAN) await this.answerParkedQuestionsHoldingLock(taskId, sessionContext);\n } finally {\n // Awaited ONLY when cancelled: a chain that was not checks and unregisters in one synchronous step,\n // so no cancel can land between the two and be lost (#1581, ninth review R9-4).\n const ending = this.isRunCancelled(taskId) ? await this.withdrawCancelledRunChain(taskId, sessionContext) : null;\n this.unregisterActiveRun(taskId);\n this.applicationCodingTaskSettlements.get(taskId)?.resolve();\n // A resume that never reached the executor answered nobody: the caller is told why, in its own terms.\n admission.reject(this.buildDispatchConflictError(this.describeUnresumedAnswer(taskId, resumed, ending)));\n this.announceRunStateChanged();\n }\n };\n // A run parked from a wave resumes beside it, holding no lock, as it ran (#1528).\n const resumeRun = mode === CodingRunConcurrency.CONCURRENT\n ? resumeBody()\n : withDedicatedFileLock(this.getWorkspaceMutationLockPath(), resumeBody, { retries: { retries: 0 } });\n resumeRun.catch((error: unknown) => {\n admission.reject(this.mapLockError(error));\n this.logDebug('Application coding-task resume run terminated with error', {\n taskId,\n error: describeCaughtError(error),\n });\n });\n\n return admission.promise;\n }\n\n /**\n * Why a person's answer resumed nothing (#1581, seventh review F5; eighth review R8-5), in the terms of\n * what actually happened. A cancel wins over any refusal: the run is withdrawn either way. A held subject\n * leaves the question WAITING, so the person may answer again; only the driver's NOT_SUSPENDED means the\n * question is gone; anything else is a failure to ask, and says so.\n */\n private describeUnresumedAnswer(taskId: string, resumed: ParkedRunResume | undefined, ending: CancelledParkOutcome | null): string {\n if (ending !== null || resumed?.outcome === ParkedRunResumeOutcome.CANCELLED) {\n if (ending === CancelledParkOutcome.STILL_WAITING) {\n return `Coding task ${taskId} was cancelled before your answer could resume it, but its question could not be withdrawn and is still waiting. Cancel it again.`;\n }\n if (ending === CancelledParkOutcome.UNCONFIRMED) {\n return `Coding task ${taskId} was cancelled before your answer could resume it, but the run could not be read to confirm it was withdrawn. Check it, and cancel it again if it is still waiting.`;\n }\n return `Coding task ${taskId} was cancelled before your answer could resume it; it no longer waits, and your answer ran nothing.`;\n }\n if (resumed?.outcome === ParkedRunResumeOutcome.REFUSED) {\n if (isActorExecutionSubjectBusyError(resumed.refusal)) {\n return `Coding task ${taskId} could not be resumed yet: another run holds its worktree. Its question is still waiting — answer again once that run finishes.`;\n }\n if (isActorExecutionNotSuspendedError(resumed.refusal)) {\n return `Coding task ${taskId} could not be resumed: it is no longer awaiting this answer (it was answered, cancelled, or has asked again).`;\n }\n return `Coding task ${taskId} could not be resumed (${describeCaughtError(resumed.refusal)}). Its question is still waiting; answer again.`;\n }\n return `Coding task ${taskId} could not be resumed. Its question is still waiting; answer again.`;\n }\n\n /**\n * The terminal record of a resume a cancel stopped before any turn (#1581, ninth review R9-6): its trace\n * session was opened for a turn that never ran, and must say why it holds nothing else. Best effort.\n */\n private async recordCancelledBeforeTurn(trace: CodingRunTrace, taskRef: string, taskId: string): Promise<void> {\n await trace.traceBestEffort('record-cancelled-before-turn', () => this.traceOperationStart({\n sessionContext: trace.runSession,\n step: trace.runStep,\n type: 'application-coding-task-cancelled-before-turn',\n summary: `Application coding task ${taskRef} was cancelled before its answer resumed a turn`,\n payload: { taskId },\n }));\n }\n\n /** The terminal record of a resume the DRIVER refused before any turn (#1581, tenth review R10-2). Best effort. */\n private async recordResumeRefused(trace: CodingRunTrace, taskRef: string, taskId: string, refusal: unknown): Promise<void> {\n await trace.traceBestEffort('record-resume-refused', () => this.traceOperationStart({\n sessionContext: trace.runSession,\n step: trace.runStep,\n type: 'application-coding-task-resume-refused',\n summary: `Application coding task ${taskRef} could not be resumed: ${describeCaughtError(refusal)}`,\n payload: { taskId },\n }));\n }\n\n /**\n * Refuse (409) to start a person's resume while this process still runs a chain for the task — the\n * park's own chain offering its question to the answering agent (#1559, #1581).\n */\n private refuseWhileRunChainIsLive(taskId: string): void {\n if (!this.activeRuns.has(taskId)) return;\n throw this.buildDispatchConflictError(\n `Coding task ${taskId} is still being handled here: its own run is deciding whether it can answer the question `\n + 'it parked on, or it is being cancelled. Answer once it reports the question as waiting for you.',\n );\n }\n\n /**\n * Continue one parked run with an answer. The CALLER holds the worktree mutation lock (a concurrent\n * run holds none) and owns the run's settlement — which is what lets the answering agent resume a\n * run from inside the hold of the run that parked, without a second acquire (the lock is not\n * re-entrant) and without the build loop taking the worktree in between (#1559).\n *\n * Says how it went ({@link ParkedRunResumeOutcome}); a caller must not treat a refused or cancelled\n * resume as a run that happened.\n */\n private async resumeParkedRunHoldingLock(input: {\n readonly taskId: string;\n readonly executionId: string;\n /** The suspension the answer was read against: the driver refuses a run now waiting on a later one (#1581, seventh review F9). */\n readonly suspensionRef: string;\n readonly checkpoint: ApplicationCodingRunCheckpoint;\n readonly answer: string;\n /** Who answered, for `CODING-ANSWERS.md` — nothing for a person. */\n readonly answerSource: { readonly answeredBy?: CodingQuestionAnswerer; readonly basis?: string; readonly answeredByRef?: string };\n /** The signed-in person answering, when one is (#1751) — recorded as the decision's actor. */\n readonly actingUserId?: string;\n readonly verificationPlans: ReturnType<typeof resolveApplicationCodingTaskVerificationPlans>;\n readonly sessionContext?: CompanionExecutionSessionContext;\n readonly mode?: CodingRunConcurrency;\n readonly onAdmitted?: (admitted: ApplicationCodingTaskRunAdmission) => void;\n }): Promise<ParkedRunResume> {\n const { taskId, checkpoint } = input;\n const task = checkpoint.contract;\n const baseline = checkpoint.baseline;\n /*\n * INHERIT the run's registration when there is one (#1581, third review). Answered inside the hold of\n * the run that parked (#1559), the run is still registered, and an operator may have cancelled it\n * while the answering agent was deciding: a fresh controller dropped that cancel and ran the resumed\n * turn anyway. The entry is restored afterwards rather than deleted, so a cancel between chained\n * resumes still finds the run instead of answering \"nothing is running\".\n */\n const inherited = this.activeRuns.get(taskId);\n this.activeRuns.set(taskId, {\n taskId,\n startedAt: inherited?.startedAt ?? new Date().toISOString(),\n abortController: inherited?.abortController ?? new AbortController(),\n mode: input.mode ?? inherited?.mode ?? CodingRunConcurrency.SINGLE_FLIGHT,\n });\n // The resumed turn is coding work in its own right, registered or not around it: it holds the beat.\n this.adjustCodingWorkDepth(taskId, 1);\n this.openCodingRunWindow(taskId, task.taskRef);\n let admitted = false;\n let cancelledAfterAdmission = false;\n let refusal: unknown;\n try {\n // A cancel already made opens no trace for a turn that will not run (#1581, eighth review R8-6).\n if (this.isRunCancelled(taskId)) return { outcome: ParkedRunResumeOutcome.CANCELLED };\n const trace = await this.openCodingRunTrace(taskId, task.taskRef);\n /*\n * The cancel check before a turn starts, for both answerers (#1581, seventh review F3): after the\n * last thing this chain awaits before the driver's resume. A cancel found here starts no turn and\n * spends nothing, and the chain that owns the run withdraws the park. One landing later — inside\n * the driver's own read-and-take — is caught by the executor, which hands the question back.\n */\n if (this.isRunCancelled(taskId)) {\n await this.recordCancelledBeforeTurn(trace, task.taskRef, taskId);\n return { outcome: ParkedRunResumeOutcome.CANCELLED };\n }\n await this.superviseCodingRun(task.taskRef, taskId, trace, async (capture) => {\n try {\n return await this.actorsSystem.resumeActorExecution(\n input.executionId,\n async (opened, resumed) => {\n admitted = true;\n /*\n * A cancel landing inside the driver's own read-and-take (#1581, eighth review R8-7): the rows\n * are PROCESSING already, so the SAME question is handed back — its decision and resume\n * inputs, the task's output left as it was, under a new suspension reference as every\n * suspension gets — and the chain withdraws the park CANCELLED on its way out, like any\n * cancelled park. No answer recorded, no turn started, no attempt spent.\n */\n if (this.isRunCancelled(taskId)) {\n cancelledAfterAdmission = true;\n return capture({\n kind: CodingRunEnding.PARKED,\n suspension: { decision: resumed.suspension.decision, checkpointContext: checkpoint },\n output: undefined,\n afterSettle: () => this.recordCancelledBeforeTurn(trace, task.taskRef, taskId),\n });\n }\n // Admitted HERE, once the engine has moved the rows back to PROCESSING: a resume the\n // driver refuses (somebody answered first) rejects the admission instead of claiming it.\n input.onAdmitted?.({\n taskId,\n status: FlowsActors_Status.PROCESSING,\n taskRef: task.taskRef,\n baselineHeadSha: baseline.headSha,\n baselineDirtyFileCount: Object.keys(baseline.files).length,\n });\n // Started again, announced only NOW that the engine has moved its rows back to PROCESSING:\n // a read that re-derived before that would still see the run as parked.\n this.announceRunStateChanged();\n /*\n * The answer is a DECISION the change set will rest on: recorded beside the build plan\n * before the turn, so a turn that then fails still leaves the decision where a reviewer\n * reads (#1454, Step 6) — and only once the driver ADMITTED the resume, so an answer that\n * resumed nothing is never recorded as one that did (#1581, seventh review F5).\n */\n await this.recordCodingQuestionAnswer(task.taskRef, checkpoint.suspension.question, input.answer, input.answerSource);\n return capture(await this.executeApplicationCodingTask(\n task,\n renderApplicationCodingTaskAgentPrompt(task),\n input.verificationPlans,\n opened,\n baseline,\n trace,\n { continuationOfSessionId: checkpoint.suspension.sessionId, answerPrompt: input.answer, ...(checkpoint.priorLegsUsage ? { priorLegsUsage: checkpoint.priorLegsUsage } : {}) },\n ));\n },\n trace.runSession,\n {\n ...this.codingRunOptions,\n expectedSuspensionRef: input.suspensionRef,\n /*\n * The answer, so the status change that ends the wait records its outcome (#1751), whoever\n * answered — the person, or the answering agent (#1559). A coding park is deliberately NOT\n * routed (see where it parks), so `actor` only feeds the record.\n */\n decision: {\n ...(input.actingUserId ? { actor: humanDecisionSettler(input.actingUserId) } : {}),\n answer: {\n decisionId: taskId,\n optionRef: Workbench_ParkedCodingQuestionOptionRef.ANSWER,\n values: [{ ref: WORKBENCH_PARKED_CODING_QUESTION_FIELD_REF, value: input.answer }],\n },\n },\n },\n );\n } catch (error) {\n if (!admitted) refusal = error;\n throw error;\n }\n });\n if (cancelledAfterAdmission) return { outcome: ParkedRunResumeOutcome.CANCELLED };\n if (admitted) return { outcome: ParkedRunResumeOutcome.RAN };\n // The trace opened for this resume holds no turn: it says why (#1581, tenth review R10-2).\n await this.recordResumeRefused(trace, task.taskRef, taskId, refusal);\n return { outcome: ParkedRunResumeOutcome.REFUSED, refusal };\n } finally {\n this.endCodingRunWindow(taskId);\n if (inherited) this.activeRuns.set(taskId, inherited);\n else this.activeRuns.delete(taskId);\n this.adjustCodingWorkDepth(taskId, -1);\n // NOT announced here: this runs inside a chain its CALLER settles (`resumeBody`, or a fresh run\n // answering its parked questions), and that caller announces once the whole chain has settled.\n }\n }\n\n /**\n * Offer a run's parked question to the ANSWERING AGENT before it reaches the creator (#1559), and\n * keep doing so while the run parks again on a question the agent can answer.\n *\n * Runs inside the worktree hold of the run that parked, BEFORE that run's settlement resolves: the\n * build loop waits on the settlement, so it sees the chain's final outcome, and it cannot take the\n * worktree between the park and the answer — a race that would send answerable questions to a person\n * for no reason.\n *\n * Bounded three ways, all in `decideAgentAnswerAttempt`: the posture (GUIDED keeps every question with\n * the person), one verdict per question, and {@link MAXIMUM_AGENT_ANSWERS_PER_RUN} answers per run.\n * Every verdict is written to the run's task memory BEFORE anything acts on it, so a wrong\n * self-answer can be audited and a restart cannot ask the same question twice — except a verdict the\n * agent reaches after an operator cancelled the run, which is dropped: it would record an answer\n * nothing applied.\n *\n * Never fails the run. A refusal, a failed model call, an unparseable answer or a resume the driver\n * refused leaves the park as it was, and the question reaches the creator. A CANCEL is the one\n * exception, and it is not handled here: whichever way this returns, the chain that owns the run\n * withdraws a cancelled park when it ends ({@link withdrawCancelledRunChain}).\n */\n private async answerParkedQuestionsHoldingLock(taskId: string, sessionContext?: CompanionExecutionSessionContext): Promise<void> {\n try {\n for (;;) {\n // A cancel stops the handling at once: no model call is spent on a run that is ending (#1581).\n if (this.isRunCancelled(taskId)) return;\n const parked = await this.readParkedCodingRun(taskId, sessionContext);\n if (!parked || !parked.checkpoint.suspension.resumable) return;\n const row = await this.executionsService.getActorTask(taskId, sessionContext);\n const question = parked.checkpoint.suspension.question;\n const decision = decideAgentAnswerAttempt({\n posture: APPLICATION_CREATION_AUTONOMY_POSTURE,\n question,\n priorRecords: readParkedQuestionAnswers(row.memory),\n });\n if (decision !== AgentAnswerAttemptDecision.ATTEMPT) {\n this.logDebug('Parked question left for the creator', { taskId, decision });\n return;\n }\n const task = parked.checkpoint.contract;\n const agentOutputTail = String((row.output as { agentOutputTail?: unknown } | undefined)?.agentOutputTail ?? '');\n const output = await this.askAnsweringAgent({ brief: renderApplicationCodingTaskAgentPrompt(task), question, agentOutputTail });\n if (!output) return;\n // Cancelled while the agent decided: its verdict is NOT recorded — it would describe an answer never applied.\n if (this.isRunCancelled(taskId)) return;\n const answer = output.verdict === ParkedQuestionAnswerVerdict.ANSWERED ? output.answer.trim() : '';\n const record: ParkedQuestionAnswerRecord = {\n // An `answered` with no answer is not an answer; the creator is asked.\n verdict: answer.length > 0 ? ParkedQuestionAnswerVerdict.ANSWERED : ParkedQuestionAnswerVerdict.PRODUCT_DECISION,\n question,\n answer,\n basis: output.basis.trim(),\n decidedAt: new Date().toISOString(),\n };\n await this.executionsService.updateActorTask(taskId, { memory: withParkedQuestionAnswer(row.memory, record) }, sessionContext);\n this.logger.info('The answering agent returned a verdict on a parked coding question', {\n taskId, taskRef: task.taskRef, verdict: record.verdict,\n });\n if (record.verdict !== ParkedQuestionAnswerVerdict.ANSWERED) return;\n const resumed = await this.resumeParkedRunHoldingLock({\n taskId,\n executionId: parked.executionId,\n suspensionRef: parked.suspensionRef,\n checkpoint: parked.checkpoint,\n answer,\n answerSource: { answeredBy: CodingQuestionAnswerer.ANSWERING_AGENT, basis: record.basis },\n verificationPlans: resolveApplicationCodingTaskVerificationPlans(task.verificationIntent.requiredChecks),\n sessionContext,\n mode: parked.mode,\n });\n // Only a resume that RAN can have parked again on a question worth offering.\n if (resumed.outcome !== ParkedRunResumeOutcome.RAN) return;\n }\n } catch (error) {\n this.logger.warn('The answering agent could not handle a parked coding question; it goes to the creator unless the run was cancelled', {\n taskId,\n error: describeCaughtError(error),\n });\n }\n }\n\n /** Whether an operator cancelled the run this process is handling for `taskId`. */\n private isRunCancelled(taskId: string): boolean {\n return this.activeRuns.get(taskId)?.abortController.signal.aborted === true;\n }\n\n /**\n * End a run an operator cancelled while its chain was handling it (#1581, sixth to tenth reviews): a run\n * PARKED at this point is withdrawn, `CANCELLED`, \"the person chose not to continue\". Called from each\n * chain's ONE exit path, and only when the chain was cancelled, so no way of leaving the question handling\n * (a refusal, a failed or unparseable model call, a resume the driver refused) leaves a cancelled run\n * parked. The withdraw is recorded on the entry, which stays registered until the caller deletes it, so a\n * person's answer is refused until it is done and a second cancel answers with its outcome. A\n * `CANCELLED` run is no attempt of the task's.\n */\n private withdrawCancelledRunChain(taskId: string, sessionContext?: CompanionExecutionSessionContext): Promise<CancelledParkOutcome> {\n const entry = this.activeRuns.get(taskId);\n const withdrawal = this.endParkIfWaiting(taskId, sessionContext, entry ? this.cancellersByController.get(entry.abortController) : undefined);\n if (entry) entry.withdrawal = withdrawal;\n return withdrawal;\n }\n\n /**\n * Withdraw the task's park if one is waiting — `CANCELLED` — and say what became of it. Reads STRICTLY,\n * so a store that cannot be read is reported as UNCONFIRMED rather than as \"nothing was waiting\"\n * (#1581, tenth review R10-1). Never throws: its callers run in a `finally` or answer a person.\n */\n private async endParkIfWaiting(\n taskId: string,\n sessionContext?: CompanionExecutionSessionContext,\n /** Who withdrew it (#1751), when a signed-in person did: recorded as the decider of the withdrawn question. */\n withdrawnByUserId?: string,\n ): Promise<CancelledParkOutcome> {\n try {\n const parked = await this.readParkedCodingRun(taskId, sessionContext, { strict: true });\n if (!parked) return CancelledParkOutcome.ENDED;\n await this.actorsSystem.cancelSuspendedActorExecution(parked.executionId, sessionContext,\n withdrawnByUserId ? { decision: { actor: humanDecisionSettler(withdrawnByUserId) } } : undefined);\n this.logDebug('A cancelled coding run was withdrawn from its park', { taskId, executionId: parked.executionId });\n return CancelledParkOutcome.ENDED;\n } catch (error) {\n this.logger.warn('A cancelled coding run could not be withdrawn from its park', { taskId, error: describeCaughtError(error) });\n try {\n // Refused because it is no longer waiting (withdrawn meanwhile) ends it as surely as withdrawing it.\n return (await this.readParkedCodingRun(taskId, sessionContext, { strict: true })) ? CancelledParkOutcome.STILL_WAITING : CancelledParkOutcome.ENDED;\n } catch {\n return CancelledParkOutcome.UNCONFIRMED;\n }\n }\n }\n\n /** ONE structured call to the answering agent; `null` when it produced nothing usable, which leaves the question with the creator. */\n private async askAnsweringAgent(input: { readonly brief: string; readonly question: string; readonly agentOutputTail: string }): Promise<ParkedQuestionAnswerOutput | null> {\n const invocation: FlowsActors_Agent_Invocation<any, any> = {\n agentRef: PARKED_QUESTION_ANSWERER_AGENT_REF,\n initiator: {},\n invocationContext: [],\n input: { prompt: renderParkedQuestionAnswerPrompt(input), schema: ParkedQuestionAnswerOutputSchema },\n output: { object: {} },\n executionContext: {},\n artifactBindings: [],\n };\n const response = await this.agentsService.invokeAgent(invocation);\n const parsed = ParkedQuestionAnswerOutputSchema.safeParse((response.output as { object?: unknown } | undefined)?.object);\n return parsed.success ? parsed.data : null;\n }\n\n private buildApplicationCodingTaskTraceSummary(task: MetaWorkflow_ApplicationCodingTaskContract): Record<string, unknown> {\n return {\n taskRef: task.taskRef,\n objectiveRef: task.objectiveRef,\n candidateRef: task.candidateRef,\n mutationScope: task.mutationScope,\n contextPlanRef: task.contextPlan.planRef,\n selectedSourceRefs: task.contextSelection.selectedSources.map((source) => source.sourceRef),\n verificationRef: task.verificationIntent.verificationRef,\n requiredChecks: task.verificationIntent.requiredChecks,\n installedSkillRefs: task.installedSkillRefs,\n };\n }\n\n // ================================================================\n // Verification hook (P-29c — enum vocabulary, never a command string)\n // ================================================================\n\n private buildVerificationPlan(kind: VerificationKind, requestedPath?: string): VerificationPlan {\n if (kind === VerificationKind.VITEST_PATH) {\n const sanitized = this.sanitizeRelativePath(requestedPath ?? '');\n const absoluteTestPath = join(this.companionContext.saasRoot, sanitized);\n const packageDir = this.findNearestPackageDir(dirname(absoluteTestPath));\n return {\n kind,\n path: sanitized,\n command: 'pnpm',\n args: ['exec', 'vitest', 'run', relative(packageDir, absoluteTestPath)],\n cwd: packageDir,\n };\n }\n\n // PACKAGE_BUILD — the package's own build script, in the package (#2228).\n if (kind === VerificationKind.PACKAGE_BUILD) {\n const sanitizedPackage = this.sanitizeRelativePath(requestedPath ?? '');\n return {\n kind,\n path: sanitizedPackage,\n command: 'pnpm',\n args: ['run', 'build'],\n cwd: join(this.companionContext.saasRoot, sanitizedPackage),\n };\n }\n\n // TYPECHECK — optional path points at a workspace package directory.\n const sanitized = requestedPath ? this.sanitizeRelativePath(requestedPath) : null;\n return {\n kind,\n path: sanitized,\n command: 'pnpm',\n args: ['exec', 'tsc', '--noEmit'],\n cwd: sanitized ? join(this.companionContext.saasRoot, sanitized) : this.companionContext.saasRoot,\n };\n }\n\n /**\n * The FK-resolution sweep, sourced from the `resources-registry` introspection\n * behavior — a FRESH subprocess import of the app's shared-lib, never the\n * companion's boot-time cache, so it judges exactly the bytes the mutation\n * left on disk. Fails the check when any `.isForeignKey()` field has no\n * registered relationship edge: invisible to every typecheck in the plan and\n * to the backend boot, fatal to the app's frontend at first page load\n * (`frontend_fk_resolution_failed` — wonder-crm, 2026-08-27).\n */\n private async runForeignKeyResolutionVerification(): Promise<VerificationOutcome> {\n const backendServiceKey = Object.entries(this.companionContext.servicesByKey)\n .find(([, service]) => !service.frontendType)?.[0];\n if (!backendServiceKey) {\n throw new Error('No backend service is available to run the frontend-fk-resolution verification.');\n }\n const result = await this.introspectionService.requestInfo({\n serviceKey: backendServiceKey,\n behavior: 'resources-registry',\n });\n if (!result.success) {\n throw new Error(`resources-registry introspection failed: ${JSON.stringify(result)}`);\n }\n const unresolved = (result.data as { unresolvableForeignKeyFields?: Array<{ resourceType: string; fieldName: string }> })\n .unresolvableForeignKeyFields ?? [];\n const success = unresolved.length === 0;\n return {\n kind: VerificationKind.FRONTEND_FK_RESOLUTION,\n path: null,\n success,\n message: success\n ? 'every isForeignKey() field resolves through a registered relationship'\n : `${unresolved.length} FK field(s) cannot be resolved to a resource type: `\n + unresolved.map(({ resourceType, fieldName }) => `${resourceType}.${fieldName}`).join(', ')\n + ' — declare a relationship with the corresponding foreignKeyField.',\n stdoutTail: '',\n stderrTail: '',\n };\n }\n\n /**\n * The settings-rail content sweep — the SHELL_PLACEMENT counterpart of the FK sweep,\n * and it exists for the same reason: the defect it catches is invisible to a typecheck.\n *\n * A placement naming a `destinationRef` the engine catalog does not ship is not a type\n * error. `resolveSettingsHubConfig` DROPS it, and the section silently never renders —\n * so a coding task that typo'd a ref passes `check:app-typecheck`, reports verified, and\n * leaves the application missing a settings section nobody is told about.\n *\n * WARNINGS do not fail the check. Only errors do: the verifier reports both severities,\n * and failing a coding task on an advisory would train the lane to ignore its own gate.\n */\n private async runSettingsPlacementContentVerification(): Promise<VerificationOutcome> {\n // Mirrors the FK sweep's resolution, on the other side of the same predicate: that\n // one wants a backend service, this one a FRONTEND service, because the settings rail\n // is authored in the frontend workspace and only that subprocess can import it.\n const frontendServiceKey = Object.entries(this.companionContext.servicesByKey)\n .find(([, service]) => service.frontendType)?.[0];\n if (!frontendServiceKey) {\n throw new Error('No frontend service is available to run the settings-placement-content verification.');\n }\n const result = await this.introspectionService.requestInfo({\n serviceKey: frontendServiceKey,\n behavior: 'settings-placement-content',\n });\n if (!result.success) {\n throw new Error(`settings-placement-content introspection failed: ${JSON.stringify(result)}`);\n }\n const data = result.data as {\n authored?: boolean;\n errors?: Array<{ severity: string; code: string; message: string }>;\n };\n const blocking = (data.errors ?? []).filter((error) => error.severity !== 'warning');\n const success = blocking.length === 0;\n return {\n kind: VerificationKind.SETTINGS_PLACEMENT_CONTENT,\n path: null,\n success,\n message: success\n ? (data.authored === false\n // Not a silent pass: an application with no authored rail has nothing to\n // verify, and saying so is the difference between \"checked and clean\" and\n // \"there was nothing to check\".\n ? 'no settings rail is authored — nothing to verify'\n : 'every authored placement names a destination the engine ships')\n : `${blocking.length} settings-placement error(s): `\n + blocking.map((error) => `${error.code}: ${error.message}`).join(' | '),\n stdoutTail: '',\n stderrTail: '',\n };\n }\n\n /**\n * The schema-plan drift gate — `wildo db diff --check` at the application root.\n *\n * ## Why it is not simply another argv plan\n *\n * The other CLI checks answer a two-valued question about a package that always exists.\n * This one has THREE outcomes, and collapsing any of them into \"failed\" would fail runs\n * on a question nobody asked:\n *\n * 1. **No committed lockfile** — answered here, from the application's DECLARED store\n * (`ApplicationSchemaPlanObligation`, #1144), because `wildo db diff --check` exits\n * non-zero for every application without one. A MongoDB application is permanently in\n * this state (a collection exists on first write; there is no plan to drift from): a\n * pass that says it checked nothing. A PostgreSQL application in it has had no\n * migration create its tables and cannot boot: a FAILED check naming the initial\n * `wildo db generate`. A store that cannot be read is \"we could not ask\": it THROWS.\n * 2. **No `backend-api/dist`** — the model is computed by IMPORTING the compiled\n * modules registry, and the build lane only ever runs `tsc --noEmit`, which emits\n * nothing. This is \"we could not ask\", not \"the application has drifted\", so it\n * THROWS and is reported as an infrastructure error. Same distinction this playbook's\n * method already draws for the typechecks, and the same reasoning\n * `reconcileDevelopmentSchemaDrift` uses when it SKIPS on a stale model rather than\n * generating a migration for a model nobody has.\n * 3. **Both present** — the spawn decides, and its own message is carried through: it\n * names the drifted tables and the command that fixes them, which is more than this\n * layer could reconstruct.\n *\n * ## Why the check is worth having at all\n *\n * It is the only check in the catalog that can see a missing table. A resource whose\n * migration was never generated typechecks green in every package and then refuses\n * to boot with `postgresql_table_schema_mismatch` — measured 2026-09-07, when an engine\n * resource landed with migrations for two of the three PostgreSQL-backed applications\n * and the third crash-looped until a human read the log.\n */\n private async runSchemaPlanDriftVerification(): Promise<VerificationOutcome> {\n const saasRoot = this.companionContext.saasRoot;\n const assessment = await assessApplicationSchemaPlanObligation(saasRoot);\n if (assessment.obligation === ApplicationSchemaPlanObligation.NOT_OWED) {\n return {\n kind: VerificationKind.SCHEMA_PLAN_DRIFT,\n path: null,\n success: true,\n // Says it checked NOTHING rather than reporting a clean plan — the same honesty the\n // settings-placement sweep applies to an application with no authored rail.\n message: `no schema-plan lockfile, and ${assessment.declaredIn} does not declare PostgreSQL — this application has not adopted migrations, so there is no accepted plan to drift from (every MongoDB application is in this state permanently)`,\n stdoutTail: '',\n stderrTail: '',\n };\n }\n if (assessment.obligation === ApplicationSchemaPlanObligation.BASELINE_OWED) {\n /*\n * A FAILED check, not a pass (#1144). Until then no lockfile read as \"not adopted\" whatever the store,\n * so a PostgreSQL application whose initial migration was never generated verified green here — the\n * one check in the catalog that can see a missing table, answering for the one application that has\n * none of them.\n */\n return {\n kind: VerificationKind.SCHEMA_PLAN_DRIFT,\n path: null,\n success: false,\n message: `no schema-plan baseline, but ${assessment.declaredIn} declares PostgreSQL — no migration has created this application's tables, so its backend cannot boot. Generate the initial migration with \\`wildo db generate --name initial-schema\\` (it writes the baseline in the same invocation) and commit both.`,\n stdoutTail: '',\n stderrTail: '',\n };\n }\n if (assessment.obligation === ApplicationSchemaPlanObligation.UNDETERMINED) {\n // Infrastructure, not drift: nothing about the model was asked.\n throw new Error(`Cannot check schema-plan drift: there is no schema-plan lockfile and ${assessment.reason}.`);\n }\n\n const modulesRegistryPath = join(saasRoot, 'backend-api', 'dist', 'modules-registry.backend.js');\n if (!existsSync(modulesRegistryPath)) {\n // THROWN on purpose: `executeVerificationPlans` classifies a throw as an infrastructure\n // error and reports it apart from a failing check. A `success: false` here would say the\n // application has drifted, which is a claim about a model that was never computed.\n throw new Error(\n `Cannot check schema-plan drift: ${modulesRegistryPath} does not exist. The plan is computed by importing `\n + \"the compiled backend registry, and this build never emitted one (`tsc --noEmit` does not). Build backend-api, \"\n + 'or run this check under `wildo local dev`, whose watcher maintains that dist.',\n );\n }\n\n const outcome = await this.runVerification({\n kind: VerificationKind.SCHEMA_PLAN_DRIFT,\n path: null,\n command: 'wildo',\n args: ['db', 'diff', '--check'],\n cwd: saasRoot,\n });\n if (!outcome.success && /ENOENT|not found/i.test(outcome.message)) {\n // The CLI is a GLOBAL install (`platform/factory/scripts/install.sh`) and is not linked\n // into an application's `node_modules/.bin` — verified on both dogfood applications. So\n // \"wildo is not on PATH\" is an absent tool, never a drifted schema.\n throw new Error(`Cannot check schema-plan drift: the \\`wildo\\` CLI could not be executed (${outcome.message}).`);\n }\n /*\n * COULD NOT ASK is not DRIFT, and `wildo db diff --check` cannot tell them apart by exit code —\n * it answers `{ success: false }` for both (`diff.command.ts`), so the message is the only\n * discriminator, exactly as it already is for the ENOENT case above.\n *\n * `computeCurrentLockfileJson` refuses before planning whenever the compiled model is STALE —\n * \"shared-lib/dist is older than its sources … This is NOT drift: wait for the watcher to\n * rebuild\" — or when `backend-api/dist` is absent. Reported as a failing check, both read as\n * \"this application has drifted\", which is a claim about a model that was never computed. On a\n * per-task check that matters twice over: the check runs seconds after an agent wrote the very\n * sources the watcher is still compiling, so the race is the COMMON case rather than the edge.\n *\n * Thrown, like every other infrastructure absence here, so `executeVerificationPlans` reports it\n * apart from a failing check and a BASELINE pass cannot read it as \"already broken\".\n */\n if (!outcome.success && /Cannot compute the current schema plan/i.test(`${outcome.stdoutTail}\\n${outcome.stderrTail}`)) {\n throw new Error(\n 'Cannot check schema-plan drift: the CLI refused to compute the current plan, so nothing about the model was '\n + `asked. This is NOT drift. ${outcome.stderrTail.trim() || outcome.stdoutTail.trim()}`,\n );\n }\n return outcome;\n }\n\n /**\n * `wildo config check-resources` at the application root (#2404): the resources registry built offline, as the\n * backend's startup builds it. A refusal fails the check with the factory's own message, which names the resource.\n *\n * \"Could not ask\" — a compiled model older than its sources (the common case seconds after an agent wrote them), an\n * absent backend dist, a runner that crashed, an absent CLI — THROWS, so it is reported unrun, never as a\n * configuration the backend refuses. The CLI marks it with {@link RESOURCES_REGISTRY_COULD_NOT_ASK_MARKER}.\n */\n private async runResourcesRegistryInitVerification(): Promise<VerificationOutcome> {\n const outcome = await this.runVerification({\n kind: VerificationKind.RESOURCES_REGISTRY_INIT,\n path: null,\n command: 'wildo',\n args: ['config', 'check-resources'],\n cwd: this.companionContext.saasRoot,\n });\n if (!outcome.success && /\\bENOENT\\b/.test(outcome.message)) {\n throw new Error(`Cannot check the resources registry: the \\`wildo\\` CLI could not be executed (${outcome.message}).`);\n }\n /*\n * A `wildo` older than this companion does not know the verb and answers \"Unknown command\" (#2404 review F9): an\n * absent tool, like ENOENT, never a configuration the backend refuses.\n */\n if (!outcome.success && /Unknown command/iu.test(`${outcome.message}\\n${outcome.stdoutTail}\\n${outcome.stderrTail}`)) {\n throw new Error(`Cannot check the resources registry: the installed \\`wildo\\` CLI does not know \\`config check-resources\\` (update it). ${outcome.stderrTail.trim() || outcome.stdoutTail.trim()}`);\n }\n if (!outcome.success && `${outcome.stdoutTail}\\n${outcome.stderrTail}`.includes(RESOURCES_REGISTRY_COULD_NOT_ASK_MARKER)) {\n throw new Error(`${outcome.stderrTail.trim() || outcome.stdoutTail.trim()} This is NOT a refused configuration.`);\n }\n return outcome;\n }\n\n /**\n * `wildo config validate` at the application root (#2228): the checks the backend runs at startup, asked without\n * starting it. Errors fail the check (the backend would refuse to boot); warnings do not.\n *\n * The CLI is a global install and is not linked into an application's `node_modules/.bin`, so a missing binary is\n * thrown as \"we could not ask\" — exactly as the schema-plan drift check does — never reported as a configuration\n * that fails.\n */\n private async runConfigValidateVerification(): Promise<VerificationOutcome> {\n const outcome = await this.runVerification({\n kind: VerificationKind.CONFIG_VALIDATE,\n path: null,\n command: 'wildo',\n args: ['config', 'validate'],\n cwd: this.companionContext.saasRoot,\n });\n // ENOENT only: a configuration error can itself say \"not found\" (a referenced file, a provider), and that is a\n // failing configuration, not an absent tool.\n if (!outcome.success && /\\bENOENT\\b/.test(outcome.message)) {\n throw new Error(`Cannot validate the application configuration: the \\`wildo\\` CLI could not be executed (${outcome.message}).`);\n }\n return outcome;\n }\n\n /**\n * `wildo design-tokens contrast <frontend>` at the application root (#2351): every colour pair the framework draws,\n * measured on the palette the design-system config paints under its theme. Its output — one finding per failing\n * pair, naming both colours, the ratio and the bar — is the outcome's tail, which reaches the coding agent verbatim.\n *\n * A missing CLI is thrown as \"we could not ask\", exactly as `config validate` does, never reported as a palette\n * that fails.\n */\n private async runDesignSystemContrastVerification(frontendPath: string): Promise<VerificationOutcome> {\n const outcome = await this.runVerification({\n kind: VerificationKind.DESIGN_SYSTEM_CONTRAST,\n path: frontendPath,\n command: 'wildo',\n args: ['design-tokens', 'contrast', frontendPath],\n cwd: this.companionContext.saasRoot,\n });\n if (!outcome.success && /\\bENOENT\\b/.test(outcome.message)) {\n throw new Error(`Cannot measure the palette's contrast: the \\`wildo\\` CLI could not be executed (${outcome.message}).`);\n }\n return outcome;\n }\n\n /**\n * `wildo design-tokens contract <frontend>` at the application root (#2359): the theme the design-system config\n * declares, checked against the theme contract after the exceptions it carries. Its output — one finding per broken\n * rule, naming the recipe — is the outcome's tail, which reaches the coding agent verbatim. A missing CLI is thrown\n * as \"we could not ask\", as for the contrast check.\n */\n private async runDesignSystemContractVerification(frontendPath: string): Promise<VerificationOutcome> {\n const outcome = await this.runVerification({\n kind: VerificationKind.DESIGN_SYSTEM_CONTRACT,\n path: frontendPath,\n command: 'wildo',\n args: ['design-tokens', 'contract', frontendPath],\n cwd: this.companionContext.saasRoot,\n });\n if (!outcome.success && /\\bENOENT\\b/.test(outcome.message)) {\n throw new Error(`Cannot check the theme contract: the \\`wildo\\` CLI could not be executed (${outcome.message}).`);\n }\n return outcome;\n }\n\n /**\n * `wildo design-tokens brand <frontend>` at the application root (#2818): when the build generated `brand-design.ts`\n * beside the design-system config, the config's theme must be the one composed from the brand's point and its palette\n * the brand's. Its output — one finding per departure, naming the composition expected — is the outcome's tail, which\n * reaches the coding agent verbatim. An application with no `brand-design.ts` passes. A missing CLI, or a generated\n * `brand-design.ts` the CLI cannot load (which the agent cannot repair), is thrown as \"we could not ask\".\n *\n * The CLI also advises, without failing, on each axis the website's theme sets away from the brand. Those lines are\n * lifted onto `advisories` and into a passing message, because a passing check's output is read by nobody.\n */\n private async runDesignSystemBrandVerification(frontendPath: string): Promise<VerificationOutcome> {\n const outcome = await this.runVerification({\n kind: VerificationKind.DESIGN_SYSTEM_BRAND,\n path: frontendPath,\n command: 'wildo',\n args: ['design-tokens', 'brand', frontendPath],\n cwd: this.companionContext.saasRoot,\n });\n if (!outcome.success && /\\bENOENT\\b/.test(outcome.message)) {\n throw new Error(`Cannot check the brand composition: the \\`wildo\\` CLI could not be executed (${outcome.message}).`);\n }\n const lines = `${outcome.stdoutTail}\\n${outcome.stderrTail}`.split('\\n');\n const couldNotAsk = lines.find((line) => line.includes(DESIGN_SYSTEM_BRAND_COULD_NOT_ASK_MARKER));\n if (!outcome.success && couldNotAsk !== undefined) {\n throw new Error(`Cannot check the brand composition: ${couldNotAsk.slice(couldNotAsk.indexOf(DESIGN_SYSTEM_BRAND_COULD_NOT_ASK_MARKER)).trim()}`);\n }\n const advisories = lines\n .filter((line) => line.includes(DESIGN_SYSTEM_BRAND_ADVISORY_MARKER))\n .map((line) => line.slice(line.indexOf(DESIGN_SYSTEM_BRAND_ADVISORY_MARKER)).trim());\n if (advisories.length === 0) return outcome;\n return { ...outcome, advisories, ...(outcome.success ? { message: `${outcome.message} — ${advisories.join(' ')}` } : {}) };\n }\n\n /**\n * Ask the RUNNING backend whether it is ready (#2228), at the address the frontend uses (`VITE_API_BASE_URL` in\n * `frontend/.env`, written by config sync). Bounded by {@link BACKEND_READY_TIMEOUT_MS}: an outbound request with no\n * deadline waits for a peer that never answers.\n *\n * No address, or no answer, THROWS — \"we could not ask\", reported apart from a failing check: from here a backend\n * that was never started and one crash-looping at boot are the same closed port, and neither may read as a pass.\n */\n private async runBackendReadyVerification(): Promise<VerificationOutcome> {\n const envPath = join(this.companionContext.saasRoot, 'frontend', '.env');\n const apiBase = existsSync(envPath) ? /^VITE_API_BASE_URL=(.*)$/mu.exec(readFileSync(envPath, 'utf8'))?.[1]?.trim() : undefined;\n if (apiBase === undefined || apiBase === '') {\n throw new Error(`Cannot ask whether the backend is ready: ${envPath} declares no VITE_API_BASE_URL. Run \\`wildo config sync\\`.`);\n }\n const url = `${apiBase.replace(/\\/+$/u, '')}/health/ready`;\n let response: Response;\n try {\n response = await fetch(url, { signal: AbortSignal.timeout(BACKEND_READY_TIMEOUT_MS) });\n } catch (error) {\n throw new Error(`Cannot ask whether the backend is ready: ${url} did not answer (${describeCaughtError(error)}). It is not running, or it is crash-looping at boot; its log says which.`);\n }\n const body = (await response.text().catch(() => '')).slice(-OUTPUT_TAIL_CHARS);\n return {\n kind: VerificationKind.BACKEND_READY,\n path: null,\n success: response.status === 200,\n message: response.status === 200 ? `${url} answered 200` : `${url} answered ${response.status}: the backend is up and refuses readiness`,\n stdoutTail: body,\n stderrTail: '',\n };\n }\n\n /**\n * `wildo local smoke --json` (#2228): the CLI drives a browser through the running application and prints one JSON\n * verdict. PASSED passes, FAILED fails with the CLI's summary and the broken pages; COULD_NOT_ASK, a verdict that\n * cannot be read, or a CLI that cannot be executed THROWS — \"we could not ask\", reported apart from a failing check,\n * because the application was never seen.\n */\n private async runBrowserSmokeVerification(): Promise<VerificationOutcome> {\n const outcome = await this.runVerification({\n kind: VerificationKind.BROWSER_SMOKE,\n path: null,\n command: 'wildo',\n args: ['local', 'smoke', '--json'],\n cwd: this.companionContext.saasRoot,\n });\n if (!outcome.success && /\\bENOENT\\b/.test(outcome.message)) {\n throw new Error(`Cannot run the browser smoke: the \\`wildo\\` CLI could not be executed (${outcome.message}).`);\n }\n const lastLine = outcome.stdoutTail.trim().split('\\n').pop() ?? '';\n let verdict: { outcome?: string; summary?: string };\n try {\n verdict = JSON.parse(lastLine) as { outcome?: string; summary?: string };\n } catch {\n throw new Error(`Cannot read the browser smoke's verdict: \\`wildo local smoke --json\\` printed no JSON (${outcome.message}).`);\n }\n if (verdict.outcome === 'COULD_NOT_ASK' || (verdict.outcome !== 'PASSED' && verdict.outcome !== 'FAILED')) {\n throw new Error(`The browser smoke could not ask: ${verdict.summary ?? 'no summary'}`);\n }\n return { ...outcome, success: verdict.outcome === 'PASSED', message: `browser smoke ${verdict.outcome}: ${verdict.summary ?? ''}` };\n }\n\n /**\n * Run a resolved verification plan set and return one outcome per check.\n *\n * Extracted from the coding-task dispatch so the SAME executor serves a second caller: the\n * `DETERMINISTIC_CLI` playbook tier, which verifies an already-built application and dispatches no\n * agent (issue #147). The alternative was a second loop that re-derived which kinds branch away\n * from the argv path — and the two would drift the first time a `VerificationKind` was added,\n * silently, because a missed kind falls through to a typecheck that passes.\n *\n * A thrown error is an INFRASTRUCTURE failure, not a failing check: the subprocess could not be\n * run at all. It is recorded as a failed outcome so the caller sees which check was affected, and\n * surfaced separately so a caller can tell \"the application is broken\" from \"we could not ask\".\n */\n private async executeVerificationPlans(\n plans: readonly ApplicationCodingTaskVerificationPlan[],\n ): Promise<{\n verification: Array<{ checkRef: string; outcome: VerificationOutcome }>;\n infrastructureError: unknown;\n /**\n * Which checks did not RUN — they threw before producing a verdict.\n *\n * Reported apart from `verification` because the two answer different questions and one of them\n * must never be read as the other. A thrown check is recorded with `success: false` so a caller\n * that only looks at outcomes still fails closed, and that is right for the post-run pass. It is\n * wrong for a BASELINE pass, where `success: false` would read as \"already broken\" and forgive a\n * real regression the run introduced — `runSchemaPlanDriftVerification` throws by design when\n * `backend-api/dist` is absent, and a missing migration crash-loops the backend, so that is\n * precisely the check a baseline must not silently excuse.\n */\n unrunCheckRefs: readonly string[];\n }> {\n const verification: Array<{ checkRef: string; outcome: VerificationOutcome }> = [];\n const unrunCheckRefs: string[] = [];\n let infrastructureError: unknown = null;\n for (const plan of plans) {\n try {\n verification.push({\n checkRef: plan.checkRef,\n // The FK-resolution check is not a CLI command: it runs in the companion's\n // introspection subprocess (fresh working-tree import), so it branches before\n // the argv-plan path.\n outcome: plan.kind === VerificationKind.FRONTEND_FK_RESOLUTION\n ? await this.runForeignKeyResolutionVerification()\n : plan.kind === VerificationKind.SETTINGS_PLACEMENT_CONTENT\n ? await this.runSettingsPlacementContentVerification()\n : plan.kind === VerificationKind.SCHEMA_PLAN_DRIFT\n ? await this.runSchemaPlanDriftVerification()\n : plan.kind === VerificationKind.RESOURCES_REGISTRY_INIT\n ? await this.runResourcesRegistryInitVerification()\n : plan.kind === VerificationKind.CONFIG_VALIDATE\n ? await this.runConfigValidateVerification()\n : plan.kind === VerificationKind.DESIGN_SYSTEM_CONTRAST\n ? await this.runDesignSystemContrastVerification(plan.path ?? 'frontend')\n : plan.kind === VerificationKind.DESIGN_SYSTEM_CONTRACT\n ? await this.runDesignSystemContractVerification(plan.path ?? 'frontend')\n : plan.kind === VerificationKind.DESIGN_SYSTEM_BRAND\n ? await this.runDesignSystemBrandVerification(plan.path ?? 'frontend')\n : plan.kind === VerificationKind.BACKEND_READY\n ? await this.runBackendReadyVerification()\n : plan.kind === VerificationKind.BROWSER_SMOKE\n ? await this.runBrowserSmokeVerification()\n : plan.kind === VerificationKind.WEBSITE_DEMO_FACTS\n ? await this.runWebsiteDemoFactsVerification(plan.path ?? 'website')\n : this.absentWorkspacePackageOutcome(plan)\n ?? await this.runVerification(this.buildVerificationPlan(plan.kind, plan.path ?? undefined)),\n });\n } catch (error) {\n infrastructureError ??= error;\n unrunCheckRefs.push(plan.checkRef);\n // A check that threw out of a subprocess still carries what that subprocess printed; keep it, or\n // the record says only \"Bounded subprocess failed\" while the cause is in hand.\n const details = (error as { details?: { stdout?: string; stderr?: string } } | null | undefined)?.details;\n verification.push({\n checkRef: plan.checkRef,\n outcome: {\n kind: plan.kind,\n path: plan.path,\n success: false,\n message: describeCaughtError(error),\n stdoutTail: (details?.stdout ?? '').slice(-OUTPUT_TAIL_CHARS),\n stderrTail: (details?.stderr ?? '').slice(-OUTPUT_TAIL_CHARS),\n },\n });\n }\n }\n return { verification, infrastructureError, unrunCheckRefs };\n }\n\n /**\n * Run named verification checks against the application, outside any agent dispatch.\n *\n * The public door for the `DETERMINISTIC_CLI` tier. Check refs resolve through the same closed\n * `APPLICATION_CODING_TASK_VERIFICATION_CATALOG` a coding task uses, so an unknown ref is refused\n * here rather than becoming an unrun check that reports success by absence.\n *\n * Deliberately takes NO worktree lock and captures NO change set: this reads the application, and\n * pretending otherwise would serialize verification against the single-flight coding lane for no\n * reason.\n */\n public async runApplicationVerificationChecks(\n checkRefs: readonly string[],\n ): Promise<{\n verification: Array<{ checkRef: string; outcome: VerificationOutcome }>;\n infrastructureError: unknown;\n /** The checks that threw before a verdict (#2222): recorded failed in `verification`, but never a claim about the application. */\n unrunCheckRefs: readonly string[];\n }> {\n return this.executeVerificationPlans(resolveApplicationCodingTaskVerificationPlans(checkRefs));\n }\n\n /**\n * The website's drawn demos, held to the application they draw (#2784). A website task owes it beside its typecheck,\n * because what it catches compiles: a status the resource does not have, a change drawn as an update on a field an\n * update cannot write. The scenarios are collected in a child process that imports the site fresh\n * ({@link collectWebsiteDemoScenarios}); the facts are the ones the section's brief carried\n * ({@link checkWebsiteDemoScenarios}), from a domain model checked against the source as it stands.\n *\n * Whose fault decides the answer. The SITE's (a scenario `defineWebsiteDemoScenario` refused, a module of the site\n * that throws or does not parse) fails the task, which can fix it. The HOST's (a package the site imports cannot be\n * resolved, the collecting process died, the domain model cannot be read) leaves the check unrun.\n */\n private async runWebsiteDemoFactsVerification(websitePath: string): Promise<VerificationOutcome> {\n const packageDirectory = this.sanitizeRelativePath(websitePath);\n const saasRoot = this.companionContext.saasRoot;\n const outcome = (success: boolean, message: string): VerificationOutcome => ({\n kind: VerificationKind.WEBSITE_DEMO_FACTS,\n path: websitePath,\n success,\n message,\n stdoutTail: '',\n stderrTail: '',\n });\n if (!existsSync(join(saasRoot, packageDirectory, 'package.json'))) return outcome(true, `no ${packageDirectory} package in this application — no demo to check`);\n const collection = await collectWebsiteDemoScenarios(join(saasRoot, packageDirectory, 'src'), this.companionContext.companionHome);\n if (!collection.collected) {\n if (collection.fault === WebsiteDemoScenarioCollectionFault.HOST) throw new Error(`The website's demos could not be collected: ${collection.message}`);\n return outcome(false, `the website's sections could not be imported, so its demos cannot be checked: ${collection.message.slice(0, 600)}`);\n }\n const reached = `reached from ${collection.entries.join(' and ')}`;\n if (collection.records.every((record) => record.scenario.resource === undefined)) {\n return outcome(true, `${collection.records.length} demo scenario(s) ${reached}, none bound to a resource — nothing to hold to the application`);\n }\n const backendServiceKey = Object.entries(this.companionContext.servicesByKey).find(([, service]) => !service.frontendType)?.[0];\n if (backendServiceKey === undefined) throw new Error('No backend service is declared, so the resources a website demo binds cannot be read.');\n const { index, freshness } = await readWorkspaceElements(this.introspectionService, backendServiceKey, { verifyAgainstSource: true });\n const describeSite = (definedAt: string | null) => (definedAt === null ? 'a demo scenario (its definition site is unknown)' : relative(saasRoot, definedAt));\n const result = checkWebsiteDemoScenarios(collection.records, index.resources, describeSite);\n const against = `against the domain model (${describeWorkspaceFreshness(freshness)})`;\n return result.problems.length === 0\n ? outcome(true, `${result.bound} bound demo scenario(s) of ${result.defined} ${reached} show only what their resources allow, ${against}`)\n : outcome(false, `${result.problems.length} demo value(s) untrue of the application, ${against}: ${result.problems.join(' | ')}`);\n }\n\n /**\n * A typecheck of a workspace package the application does not have answers \"nothing to check\" (#1540).\n *\n * Required checks are derived from the paths a task may write, so a provider binding that may write\n * `website/src/provider-contributions.ts` owes the website typecheck, in every application, including\n * one with no website. Running `tsc` in a directory that is not a package would fail the task over a\n * package that does not exist. The honest answer is the one the settings sweep gives when no rail is\n * authored: checked, and nothing was there to check. That is stated in the outcome, never a silent pass.\n *\n * A package is its `package.json`. A directory holding one stray file, with no manifest, is not a\n * package that any typecheck could run in.\n */\n private absentWorkspacePackageOutcome(plan: ApplicationCodingTaskVerificationPlan): VerificationOutcome | undefined {\n // A site build is asked of every optional package at the end of a build (#2228), so the same honest answer applies.\n if ((plan.kind !== VerificationKind.TYPECHECK && plan.kind !== VerificationKind.PACKAGE_BUILD) || plan.path === null) return undefined;\n const packageDirectory = this.sanitizeRelativePath(plan.path);\n if (existsSync(join(this.companionContext.saasRoot, packageDirectory, 'package.json'))) return undefined;\n return {\n kind: plan.kind,\n path: plan.path,\n success: true,\n message: `no ${packageDirectory} package in this application — nothing to ${plan.kind === VerificationKind.PACKAGE_BUILD ? 'build' : 'typecheck'}`,\n stdoutTail: '',\n stderrTail: '',\n };\n }\n\n private async runVerification(plan: VerificationPlan): Promise<VerificationOutcome> {\n try {\n const result = await executeBoundedSubprocess({\n command: plan.command,\n args: plan.args,\n cwd: plan.cwd,\n env: buildVerificationEnv(),\n timeoutMs: VERIFICATION_TIMEOUT_MS,\n maxCapturedBytes: VERIFICATION_MAX_CAPTURED_BYTES,\n });\n return {\n kind: plan.kind,\n path: plan.path,\n success: true,\n message: `${plan.command} ${plan.args.join(' ')} passed`,\n stdoutTail: result.stdout.slice(-OUTPUT_TAIL_CHARS),\n stderrTail: result.stderr.slice(-OUTPUT_TAIL_CHARS),\n };\n } catch (error) {\n const details = (error as { details?: { stdout?: string; stderr?: string } }).details;\n return {\n kind: plan.kind,\n path: plan.path,\n success: false,\n message: describeCaughtError(error),\n stdoutTail: (details?.stdout ?? '').slice(-OUTPUT_TAIL_CHARS),\n stderrTail: (details?.stderr ?? '').slice(-OUTPUT_TAIL_CHARS),\n };\n }\n }\n\n /**\n * Run one admission-time validation and convert ANY refusal into a typed\n * VALIDATION error, preserving the original message as context.\n *\n * Deliberately a wrapper rather than N rewritten throw sites: the pure\n * resolver in the models layer has no error builder and should not grow one,\n * and a future admission check gets the same classification by being placed\n * here rather than by remembering to.\n */\n /**\n * `refusesTaskContract` marks the refusal as the task's OWN (#1581): set only by admission's two checks\n * of the task contract, so a dispatcher counts it as the task's attempt rather than the host's refusal.\n * The resume path's checks (an empty answer, a check the host no longer registers) are not the task\n * being dispatched and carry no mark.\n */\n private admitTypedInput<T>(validate: () => T, message: string, options: { readonly refusesTaskContract?: boolean } = {}): T {\n try {\n return validate();\n } catch (error) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: {\n message,\n validationError: describeCaughtError(error),\n // The task's own contract was refused: a dispatcher counts this as its attempt (#1581).\n ...(options.refusesTaskContract === true ? { [APPLICATION_CODING_CONTRACT_REFUSAL_MARKER]: true } : {}),\n },\n });\n }\n }\n\n /**\n * Sanitize an app-root-relative path from the wire: rejects absolute\n * paths, `..` escapes, backslashes, NUL bytes, and flag-lookalikes\n * (leading `-` would be parsed as an argv flag by the fixed commands).\n */\n private sanitizeRelativePath(requestedPath: string): string {\n const candidate = requestedPath.trim();\n const reject = (reason: string): never => {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: {\n message: `Invalid verification path: ${reason}`,\n requestedPath,\n },\n });\n };\n\n if (!candidate) reject('path is empty');\n if (candidate.includes('\\0')) reject('path contains a NUL byte');\n if (candidate.includes('\\\\')) reject('use forward slashes');\n if (isAbsolute(candidate)) reject('path must be relative to the application root');\n if (candidate.startsWith('-')) reject('path must not start with a dash');\n const normalized = normalize(candidate);\n if (normalized.split(sep).includes('..')) reject('path must not escape the application root');\n\n const absolute = join(this.companionContext.saasRoot, normalized);\n const relativeFromRoot = relative(this.companionContext.saasRoot, absolute);\n if (relativeFromRoot.startsWith('..') || isAbsolute(relativeFromRoot)) {\n reject('path resolves outside the application root');\n }\n return normalized;\n }\n\n /** Nearest ancestor dir (within the app root) holding a package.json. */\n private findNearestPackageDir(startDir: string): string {\n let current = startDir;\n const root = this.companionContext.saasRoot;\n while (current.startsWith(root)) {\n if (existsSync(join(current, 'package.json'))) {\n return current;\n }\n const parent = dirname(current);\n if (parent === current) break;\n current = parent;\n }\n return root;\n }\n\n // ================================================================\n // Error + traceability helpers (service-owned wrappers, P-13 pattern)\n // ================================================================\n\n private buildDispatchConflictError(message: string): unknown {\n return this.errorBuilder.buildError(ErrorType.CONFLICT, undefined, {\n customMessageReference: ErrorCustomMessageReference.CONFLICT,\n context: { message },\n });\n }\n\n /** Map proper-lockfile ELOCKED contention onto the 409 vocabulary. */\n private mapLockError(error: unknown): unknown {\n if ((error as { code?: string })?.code === 'ELOCKED') {\n return this.buildDispatchConflictError(\n 'The workspace-mutation lock is held by another process (companion run or CLI). '\n + 'Dispatch is single-flight across processes (P-20); retry after the active run completes. '\n + 'If you are a dispatched coding-agent run: dispatching from a dispatched run is forbidden (P-35).',\n );\n }\n return error;\n }\n\n private createOperationTraceStep(\n sessionContext: CompanionExecutionSessionContext | undefined,\n label: string,\n ) {\n return sessionContext\n ? this.traceabilityService.createStep(sessionContext, {\n kind: 'coding-agent-dispatch',\n label,\n })\n : undefined;\n }\n\n private async traceOperationStart(input: {\n sessionContext?: CompanionExecutionSessionContext;\n step?: ReturnType<CompanionTraceabilityService['createStep']>;\n type: string;\n summary: string;\n payload?: unknown;\n artifactFileName?: string;\n artifactContent?: unknown;\n }): Promise<void> {\n if (!input.sessionContext) return;\n\n await this.traceabilityService.traceEvent({\n session: input.sessionContext,\n minimumLevel: CompanionTraceabilityLevel.DEBUG,\n type: input.type,\n summary: input.summary,\n ...(input.payload !== undefined ? { payload: input.payload } : {}),\n ...(input.step ? { step: input.step } : {}),\n });\n if (input.artifactFileName && input.artifactContent !== undefined) {\n await this.traceabilityService.writeArtifact({\n session: input.sessionContext,\n minimumLevel: CompanionTraceabilityLevel.DEBUG_VERBOSE,\n fileName: input.artifactFileName,\n content: input.artifactContent,\n ...(input.step ? { step: input.step } : {}),\n });\n }\n }\n\n private async traceOperationSuccess(input: {\n sessionContext?: CompanionExecutionSessionContext;\n step?: ReturnType<CompanionTraceabilityService['createStep']>;\n type: string;\n summary: string;\n payload?: unknown;\n artifactFileName?: string;\n artifactContent?: unknown;\n }): Promise<void> {\n if (!input.sessionContext) return;\n\n if (input.artifactFileName && input.artifactContent !== undefined) {\n await this.traceabilityService.writeArtifact({\n session: input.sessionContext,\n minimumLevel: CompanionTraceabilityLevel.DEBUG_VERBOSE,\n fileName: input.artifactFileName,\n content: input.artifactContent,\n ...(input.step ? { step: input.step } : {}),\n });\n }\n await this.traceabilityService.traceEvent({\n session: input.sessionContext,\n minimumLevel: CompanionTraceabilityLevel.DEBUG,\n type: input.type,\n summary: input.summary,\n ...(input.payload !== undefined ? { payload: input.payload } : {}),\n ...(input.step ? { step: input.step } : {}),\n });\n }\n\n private async traceOperationFailure(input: {\n sessionContext?: CompanionExecutionSessionContext;\n step?: ReturnType<CompanionTraceabilityService['createStep']>;\n type: string;\n summary: string;\n error: unknown;\n payload?: unknown;\n }): Promise<void> {\n if (!input.sessionContext) return;\n\n await this.traceabilityService.traceEvent({\n session: input.sessionContext,\n minimumLevel: CompanionTraceabilityLevel.DEBUG,\n type: input.type,\n summary: input.summary,\n payload: {\n ...(input.payload && typeof input.payload === 'object'\n ? input.payload as Record<string, unknown>\n : { input: input.payload }),\n error: buildOutputErrorPayload(input.error),\n },\n ...(input.step ? { step: input.step } : {}),\n });\n }\n\n private async traceOperationArtifact(\n sessionContext: CompanionExecutionSessionContext | undefined,\n step: ReturnType<CompanionTraceabilityService['createStep']> | undefined,\n fileName: string,\n content: unknown,\n ): Promise<void> {\n if (!sessionContext) return;\n await this.traceabilityService.writeArtifact({\n session: sessionContext,\n minimumLevel: CompanionTraceabilityLevel.DEBUG_VERBOSE,\n fileName,\n content,\n ...(step ? { step } : {}),\n });\n }\n}\n\ninterface VerificationPlan {\n kind: VerificationKind;\n path: string | null;\n command: string;\n args: string[];\n cwd: string;\n}\n\n/**\n * Change-set artifact persisted on the task row (P-19: file list + stats\n * + head SHAs + attribution classes). `fullDiffText` is deliberately\n * stripped — the raw diff lives in the traceability artifact only.\n *\n * Persisted as `FlowsActors_IO_PartKind.STRUCTURED` with the capture in\n * `content.data`. History: on 2026-07-03 this was temporarily JSON-encoded\n * into a TEXT artifact because the zod-to-mongoose converter flattened\n * nested discriminated unions (`artifacts[]` on the task row) onto their\n * FIRST variant, making `content.text` a required Mongoose path for every\n * artifact. The converter now merges nested union variants into an\n * all-optional superset schema, so the natural STRUCTURED shape persists\n * again (requires a saas-backend-lib dist carrying that fix).\n */\nfunction buildChangeSetArtifact(taskId: string, changeSet: GitChangeSetCapture): ArtifactInstance {\n const { fullDiffText: _fullDiffText, ...structuredCapture } = changeSet;\n return {\n ref: `coding-agent-change-set-${taskId}`,\n type: FlowsActors_IO_PartKind.STRUCTURED,\n name: 'coding-agent-change-set',\n description: 'Read-only git change-set capture with per-file attribution (P-19)',\n origin: { taskId },\n content: { data: structuredCapture },\n createdAt: new Date().toISOString(),\n };\n}\n\n/** Same minimal allowlist the CLI spawn uses (P-18). */\nfunction buildVerificationEnv(): NodeJS.ProcessEnv {\n // Same minimal identity allowlist the CLI spawn uses (P-18) — incl.\n // USER/LOGNAME so a verification hook that shells out to per-user\n // tooling behaves like the agent run. Kept in lockstep with\n // `ClaudeCliCompanionService`'s allowlist.\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\nfunction buildOutputErrorPayload(error: unknown): unknown {\n if (isWildoBackendError(error)) return error;\n if (error instanceof Error) {\n return {\n message: error.message,\n name: error.name,\n ...(error.stack ? { stack: error.stack } : {}),\n };\n }\n return { message: String(error) };\n}\n\nfunction createDeferred<T>(): {\n promise: Promise<T>;\n resolve: (value: T) => void;\n reject: (error: unknown) => void;\n} {\n let settled = false;\n let resolveFn!: (value: T) => void;\n let rejectFn!: (error: unknown) => void;\n const promise = new Promise<T>((resolve, reject) => {\n resolveFn = resolve;\n rejectFn = reject;\n });\n return {\n promise,\n resolve: (value) => {\n if (settled) return;\n settled = true;\n resolveFn(value);\n },\n reject: (error) => {\n if (settled) return;\n settled = true;\n rejectFn(error);\n },\n };\n}\n\n/**\n * The run row's record of a brief built without a readable playbook catalog (#2846 review L1): the reading and the\n * reason the brief states, never more. Empty for every other brief.\n */\nfunction briefProvenanceUnavailableRunField(task: MetaWorkflow_ApplicationCodingTaskContract): Record<string, unknown> {\n const source = task.contextSelection.selectedSources.find((candidate) => candidate.sourceRef === BRIEF_PROVENANCE_UNAVAILABLE_SOURCE_REF);\n const content = source?.content as { reading?: unknown; reason?: unknown } | undefined;\n if (content === undefined || typeof content.reading !== 'string') return {};\n return { briefProvenanceUnavailable: { reading: content.reading, ...(typeof content.reason === 'string' ? { reason: content.reason } : {}) } };\n}\n"]}
|