@wildo-ai/dev-companion 1.1.8 → 1.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/companion-supervisor.d.mts +33 -0
- package/bin/companion-supervisor.mjs +174 -0
- package/bin/wildo-dev-companion-supervised.mjs +16 -0
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/brand/models/accepted-brand-mark.models.d.ts +46 -0
- package/dist/esm/brand/models/accepted-brand-mark.models.d.ts.map +1 -0
- package/dist/esm/brand/models/accepted-brand-mark.models.js +89 -0
- package/dist/esm/brand/models/accepted-brand-mark.models.js.map +1 -0
- package/dist/esm/brand/models/logo-creative-brief.schemas.d.ts.map +1 -1
- package/dist/esm/brand/models/logo-creative-brief.schemas.js.map +1 -1
- package/dist/esm/brand/models/logo-generation.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/brand/models/logo-generation.actors-system.definitions.js +8 -2
- package/dist/esm/brand/models/logo-generation.actors-system.definitions.js.map +1 -1
- package/dist/esm/brand/models/logo-judge.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/brand/models/logo-judge.actors-system.definitions.js +8 -2
- package/dist/esm/brand/models/logo-judge.actors-system.definitions.js.map +1 -1
- package/dist/esm/brand/models/logo-judge.schemas.d.ts +5 -3
- package/dist/esm/brand/models/logo-judge.schemas.d.ts.map +1 -1
- package/dist/esm/brand/models/logo-judge.schemas.js +5 -3
- package/dist/esm/brand/models/logo-judge.schemas.js.map +1 -1
- package/dist/esm/brand/services/brand-accept.companion.service.d.ts +1 -1
- package/dist/esm/brand/services/brand-accept.companion.service.d.ts.map +1 -1
- package/dist/esm/brand/services/brand-accept.companion.service.js +9 -11
- package/dist/esm/brand/services/brand-accept.companion.service.js.map +1 -1
- package/dist/esm/brand/services/brand-propagation.companion.utils.d.ts.map +1 -1
- package/dist/esm/brand/services/brand-propagation.companion.utils.js.map +1 -1
- package/dist/esm/brand/services/logo-deliberation.companion.service.d.ts.map +1 -1
- package/dist/esm/brand/services/logo-deliberation.companion.service.js +10 -7
- package/dist/esm/brand/services/logo-deliberation.companion.service.js.map +1 -1
- package/dist/esm/brand/services/logo-generation.companion.service.d.ts.map +1 -1
- package/dist/esm/brand/services/logo-generation.companion.service.js.map +1 -1
- package/dist/esm/brand/utils/derived-brand-assets.d.ts.map +1 -1
- package/dist/esm/brand/utils/derived-brand-assets.js.map +1 -1
- package/dist/esm/brand/utils/stage-brand-candidate.d.ts.map +1 -1
- package/dist/esm/brand/utils/stage-brand-candidate.js.map +1 -1
- package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts +21 -0
- package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js +33 -1
- package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js.map +1 -1
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts +130 -2
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js +176 -1
- package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
- package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.d.ts +52 -0
- package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.d.ts.map +1 -0
- package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.js +206 -0
- package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.js.map +1 -0
- package/dist/esm/claude-cli/models/coding-session-frame-retention.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/coding-session-frame-retention.js.map +1 -1
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts +38 -3
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js +48 -4
- package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js.map +1 -1
- package/dist/esm/claude-cli/models/parked-question-answer.models.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/parked-question-answer.models.js.map +1 -1
- package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.js.map +1 -1
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts +165 -8
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js +536 -28
- package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.d.ts +53 -0
- package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.d.ts.map +1 -0
- package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.js +193 -0
- package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.js.map +1 -0
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +164 -6
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js +468 -41
- package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/git-change-set.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.js.map +1 -1
- package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js.map +1 -1
- package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts +15 -2
- package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts.map +1 -1
- package/dist/esm/claude-cli/services/research-evidence-store.companion.js +36 -4
- package/dist/esm/claude-cli/services/research-evidence-store.companion.js.map +1 -1
- package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.d.ts.map +1 -1
- package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.js.map +1 -1
- package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.d.ts.map +1 -1
- package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js.map +1 -1
- package/dist/esm/companion-api/companion-api.schemas.d.ts +360 -339
- package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
- package/dist/esm/companion-api/companion-api.schemas.js +13 -2
- package/dist/esm/companion-api/companion-api.schemas.js.map +1 -1
- package/dist/esm/companion-api/companion-error-guidance.models.d.ts.map +1 -1
- package/dist/esm/companion-api/companion-error-guidance.models.js.map +1 -1
- package/dist/esm/companion-api/controllers/companion-file-route-confinement.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion-file-route-confinement.js.map +1 -1
- package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.js.map +1 -1
- package/dist/esm/companion-api/controllers/companion-token-floor.policy.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion-token-floor.policy.js.map +1 -1
- package/dist/esm/companion-api/controllers/companion-trace-exemptions.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion-trace-exemptions.js.map +1 -1
- package/dist/esm/companion-api/controllers/companion.controller.d.ts +88 -13
- package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
- package/dist/esm/companion-api/controllers/companion.controller.js +448 -51
- package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -1
- package/dist/esm/core/auth/companion-auth-floor.companion.service.d.ts.map +1 -1
- package/dist/esm/core/auth/companion-auth-floor.companion.service.js.map +1 -1
- package/dist/esm/core/catalogs/catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/catalog-context.factory.models.d.ts.map +1 -1
- package/dist/esm/core/catalogs/catalog-context.factory.models.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.d.ts.map +1 -1
- package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.js.map +1 -1
- package/dist/esm/core/catalogs/structured-data-catalog-audit.service.d.ts.map +1 -1
- package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js.map +1 -1
- package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.d.ts.map +1 -1
- package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.js.map +1 -1
- package/dist/esm/core/config/primary-language.companion.utils.d.ts +5 -4
- package/dist/esm/core/config/primary-language.companion.utils.d.ts.map +1 -1
- package/dist/esm/core/config/primary-language.companion.utils.js +5 -4
- package/dist/esm/core/config/primary-language.companion.utils.js.map +1 -1
- package/dist/esm/core/context/application-module-generations.companion.d.ts +103 -0
- package/dist/esm/core/context/application-module-generations.companion.d.ts.map +1 -0
- package/dist/esm/core/context/application-module-generations.companion.js +313 -0
- package/dist/esm/core/context/application-module-generations.companion.js.map +1 -0
- package/dist/esm/core/context/companion-context.d.ts.map +1 -1
- package/dist/esm/core/context/companion-context.js.map +1 -1
- package/dist/esm/core/context/companion-package-loaders.companion.d.ts +19 -19
- package/dist/esm/core/context/companion-package-loaders.companion.d.ts.map +1 -1
- package/dist/esm/core/context/companion-package-loaders.companion.js +52 -40
- package/dist/esm/core/context/companion-package-loaders.companion.js.map +1 -1
- package/dist/esm/core/context/draft-family-values.companion.d.ts.map +1 -1
- package/dist/esm/core/context/draft-family-values.companion.js.map +1 -1
- package/dist/esm/core/inject/models/container.d.ts.map +1 -1
- package/dist/esm/core/inject/models/container.js +4 -0
- package/dist/esm/core/inject/models/container.js.map +1 -1
- package/dist/esm/core/inject/models/service-types.d.ts +4 -0
- package/dist/esm/core/inject/models/service-types.d.ts.map +1 -1
- package/dist/esm/core/inject/models/service-types.js +4 -0
- package/dist/esm/core/inject/models/service-types.js.map +1 -1
- package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.d.ts.map +1 -1
- package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js.map +1 -1
- package/dist/esm/core/introspection/models/companion-introspection.models.d.ts.map +1 -1
- package/dist/esm/core/introspection/models/companion-introspection.models.js.map +1 -1
- package/dist/esm/core/introspection/resources/application-secrets.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/application-secrets.companion.js.map +1 -1
- package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts +15 -1
- package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-console-answer.companion.js +38 -3
- package/dist/esm/core/introspection/resources/creation-console-answer.companion.js.map +1 -1
- package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts +21 -0
- package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-console-projection.companion.js +71 -25
- package/dist/esm/core/introspection/resources/creation-console-projection.companion.js.map +1 -1
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts +10 -0
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.js +58 -2
- package/dist/esm/core/introspection/resources/creation-home-projection.companion.js.map +1 -1
- package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts +0 -28
- package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js +197 -20
- package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js +49 -7
- package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/resources/launch-blockers.companion.d.ts +51 -0
- package/dist/esm/core/introspection/resources/launch-blockers.companion.d.ts.map +1 -0
- package/dist/esm/core/introspection/resources/launch-blockers.companion.js +124 -0
- package/dist/esm/core/introspection/resources/launch-blockers.companion.js.map +1 -0
- package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts +14 -3
- package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/companion-introspection.companion.service.js +91 -5
- package/dist/esm/core/introspection/services/companion-introspection.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts +186 -11
- package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js +437 -35
- package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/introspection-input-closure.companion.d.ts +44 -0
- package/dist/esm/core/introspection/services/introspection-input-closure.companion.d.ts.map +1 -0
- package/dist/esm/core/introspection/services/introspection-input-closure.companion.js +104 -0
- package/dist/esm/core/introspection/services/introspection-input-closure.companion.js.map +1 -0
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts +123 -24
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js +281 -54
- package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts +22 -6
- package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js +38 -7
- package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/services/translation-placement.companion.service.d.ts.map +1 -1
- package/dist/esm/core/introspection/services/translation-placement.companion.service.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts +9 -0
- package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js +29 -9
- package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/assertions.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/assertions.behavior.js +10 -10
- package/dist/esm/core/introspection/subprocess/assertions.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/asset-noop-hooks.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/asset-noop-hooks.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/asset-noop-register.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/asset-noop-register.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js +20 -19
- package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-child.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-child.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts +7 -1
- package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.js +13 -4
- package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js +9 -1
- package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/market-context-block.builder.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/market-context-block.builder.js +2 -1
- package/dist/esm/core/introspection/subprocess/market-context-block.builder.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts +4 -3
- package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/market-prompt-renderer.js +14 -8
- package/dist/esm/core/introspection/subprocess/market-prompt-renderer.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js +17 -4
- package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/risk-signals.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/risk-signals.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js +7 -0
- package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js.map +1 -1
- package/dist/esm/core/introspection/subprocess/specification-elements.behavior.d.ts.map +1 -1
- package/dist/esm/core/introspection/subprocess/specification-elements.behavior.js.map +1 -1
- package/dist/esm/core/introspection/workspace-element-index.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/workspace-element-index.companion.js.map +1 -1
- package/dist/esm/core/introspection/workspace-elements.companion.d.ts.map +1 -1
- package/dist/esm/core/introspection/workspace-elements.companion.js.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.companion.service.d.ts.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.companion.service.js.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.models.d.ts.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.models.js.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts +4 -4
- package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts.map +1 -1
- package/dist/esm/core/lock/wildo-saas-lock.schemas.js.map +1 -1
- package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts +35 -0
- package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/application-runtime-liveness.companion.js +74 -0
- package/dist/esm/core/runtime/application-runtime-liveness.companion.js.map +1 -1
- package/dist/esm/core/runtime/companion-endpoint-record.d.ts.map +1 -1
- package/dist/esm/core/runtime/companion-endpoint-record.js.map +1 -1
- package/dist/esm/core/runtime/companion-env-file.d.ts +39 -9
- package/dist/esm/core/runtime/companion-env-file.d.ts.map +1 -1
- package/dist/esm/core/runtime/companion-env-file.js +75 -16
- package/dist/esm/core/runtime/companion-env-file.js.map +1 -1
- package/dist/esm/core/runtime/companion-self-restart.companion.d.ts +38 -0
- package/dist/esm/core/runtime/companion-self-restart.companion.d.ts.map +1 -0
- package/dist/esm/core/runtime/companion-self-restart.companion.js +110 -0
- package/dist/esm/core/runtime/companion-self-restart.companion.js.map +1 -0
- package/dist/esm/core/runtime/companion-startup-assembly.d.ts.map +1 -1
- package/dist/esm/core/runtime/companion-startup-assembly.js +7 -1
- package/dist/esm/core/runtime/companion-startup-assembly.js.map +1 -1
- package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts +12 -0
- package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/dev-compile-quiet.companion.js +15 -1
- package/dist/esm/core/runtime/dev-compile-quiet.companion.js.map +1 -1
- package/dist/esm/core/runtime/event-loop-stall-monitor.companion.d.ts +83 -0
- package/dist/esm/core/runtime/event-loop-stall-monitor.companion.d.ts.map +1 -0
- package/dist/esm/core/runtime/event-loop-stall-monitor.companion.js +150 -0
- package/dist/esm/core/runtime/event-loop-stall-monitor.companion.js.map +1 -0
- package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.js.map +1 -1
- package/dist/esm/core/runtime/models/companion-runtime.models.d.ts.map +1 -1
- package/dist/esm/core/runtime/models/companion-runtime.models.js.map +1 -1
- package/dist/esm/core/runtime/services/file-storage-initialization.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/services/file-storage-initialization.companion.js.map +1 -1
- package/dist/esm/core/runtime/services/start-companion-application.service.d.ts +30 -4
- package/dist/esm/core/runtime/services/start-companion-application.service.d.ts.map +1 -1
- package/dist/esm/core/runtime/services/start-companion-application.service.js +78 -12
- package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -1
- package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.js.map +1 -1
- package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/utils/companion-platform-config.companion.js.map +1 -1
- package/dist/esm/core/runtime/utils/companion-workbench-topology.d.ts.map +1 -1
- package/dist/esm/core/runtime/utils/companion-workbench-topology.js.map +1 -1
- package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.d.ts.map +1 -1
- package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.js.map +1 -1
- package/dist/esm/core/specifications/chart-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/chart-view-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/composite-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/composite-view-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/cross-registry-rendering.shared.d.ts.map +1 -1
- package/dist/esm/core/specifications/cross-registry-rendering.shared.js.map +1 -1
- package/dist/esm/core/specifications/execution-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/execution-view-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/feature-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/feature-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/frontend-component-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/frontend-component-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/full-custom-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/full-custom-view-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/guidance-flow-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/guidance-flow-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/milestone-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/milestone-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/non-composite-view-specification-context.shared.d.ts.map +1 -1
- package/dist/esm/core/specifications/non-composite-view-specification-context.shared.js.map +1 -1
- package/dist/esm/core/specifications/onboarding-element-rendering.shared.d.ts.map +1 -1
- package/dist/esm/core/specifications/onboarding-element-rendering.shared.js.map +1 -1
- package/dist/esm/core/specifications/onboarding-view-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/onboarding-view-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/product-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/product-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/resource-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/resource-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/role-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/role-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.js.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.models.d.ts.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.models.js.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.shared.d.ts.map +1 -1
- package/dist/esm/core/specifications/specification-context-factory.shared.js.map +1 -1
- package/dist/esm/core/specifications/system-email-template-specification-context.factory.d.ts.map +1 -1
- package/dist/esm/core/specifications/system-email-template-specification-context.factory.js.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/product/product-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/role/role-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.js.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.d.ts.map +1 -1
- package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.js.map +1 -1
- package/dist/esm/core/specifications/validate-resource-field-completeness.d.ts.map +1 -1
- package/dist/esm/core/specifications/validate-resource-field-completeness.js.map +1 -1
- package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.d.ts.map +1 -1
- package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.js.map +1 -1
- package/dist/esm/core/traceability/companion-traceability.models.d.ts.map +1 -1
- package/dist/esm/core/traceability/companion-traceability.models.js.map +1 -1
- package/dist/esm/core/traceability/companion-traceability.service.d.ts.map +1 -1
- package/dist/esm/core/traceability/companion-traceability.service.js.map +1 -1
- package/dist/esm/core/utils/atomic-write.utils.d.ts.map +1 -1
- package/dist/esm/core/utils/atomic-write.utils.js.map +1 -1
- package/dist/esm/core/utils/bounded-concurrency.utils.d.ts +17 -0
- package/dist/esm/core/utils/bounded-concurrency.utils.d.ts.map +1 -0
- package/dist/esm/core/utils/bounded-concurrency.utils.js +37 -0
- package/dist/esm/core/utils/bounded-concurrency.utils.js.map +1 -0
- package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts +10 -1
- package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts.map +1 -1
- package/dist/esm/core/utils/derived-input-signature.companion.utils.js +9 -2
- package/dist/esm/core/utils/derived-input-signature.companion.utils.js.map +1 -1
- package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js +2 -0
- package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js.map +1 -1
- package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts.map +1 -1
- package/dist/esm/creation-conversation/creation-conversation.function-tools.js +69 -7
- package/dist/esm/creation-conversation/creation-conversation.function-tools.js.map +1 -1
- package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts +0 -17
- package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js +17 -12
- package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js.map +1 -1
- package/dist/esm/deliberations/services/deliberation.companion.service.d.ts +10 -5
- package/dist/esm/deliberations/services/deliberation.companion.service.d.ts.map +1 -1
- package/dist/esm/deliberations/services/deliberation.companion.service.js +31 -21
- package/dist/esm/deliberations/services/deliberation.companion.service.js.map +1 -1
- package/dist/esm/deliberations/services/structured-deliberation.companion.service.d.ts.map +1 -1
- package/dist/esm/deliberations/services/structured-deliberation.companion.service.js.map +1 -1
- package/dist/esm/deliberations/utils/expert-agent-registration.d.ts +56 -0
- package/dist/esm/deliberations/utils/expert-agent-registration.d.ts.map +1 -0
- package/dist/esm/deliberations/utils/expert-agent-registration.js +74 -0
- package/dist/esm/deliberations/utils/expert-agent-registration.js.map +1 -0
- package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts +9 -5
- package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts.map +1 -1
- package/dist/esm/deliberations/utils/load-committed-expert-agents.js +11 -15
- package/dist/esm/deliberations/utils/load-committed-expert-agents.js.map +1 -1
- package/dist/esm/email/models/email-template.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/email/models/email-template.actors-system.definitions.js.map +1 -1
- package/dist/esm/email/services/email-spec-context-loader.companion.service.d.ts.map +1 -1
- package/dist/esm/email/services/email-spec-context-loader.companion.service.js.map +1 -1
- package/dist/esm/email/services/email-template.companion.service.d.ts +6 -1
- package/dist/esm/email/services/email-template.companion.service.d.ts.map +1 -1
- package/dist/esm/email/services/email-template.companion.service.js +4 -1
- package/dist/esm/email/services/email-template.companion.service.js.map +1 -1
- package/dist/esm/email/utils/email-labels-file-source.utils.d.ts.map +1 -1
- package/dist/esm/email/utils/email-labels-file-source.utils.js.map +1 -1
- package/dist/esm/email/utils/email-labels-tree.utils.d.ts.map +1 -1
- package/dist/esm/email/utils/email-labels-tree.utils.js.map +1 -1
- package/dist/esm/email/utils/email-template-fs-discovery.utils.d.ts.map +1 -1
- package/dist/esm/email/utils/email-template-fs-discovery.utils.js.map +1 -1
- package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts.map +1 -1
- package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.js.map +1 -1
- package/dist/esm/executions/services/companion-executions.companion.service.d.ts.map +1 -1
- package/dist/esm/executions/services/companion-executions.companion.service.js.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js +8 -2
- package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js +8 -2
- package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts +5 -3
- package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts.map +1 -1
- package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.js +5 -3
- package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.js.map +1 -1
- package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts +17 -1
- package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts.map +1 -1
- package/dist/esm/expert-personas/services/expert-persona.companion.service.js +51 -14
- package/dist/esm/expert-personas/services/expert-persona.companion.service.js.map +1 -1
- package/dist/esm/expert-personas/services/persona-source-ownership.d.ts.map +1 -1
- package/dist/esm/expert-personas/services/persona-source-ownership.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.js.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.js.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.js.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.js.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.js.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.js.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.js.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.js.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.js.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_announcement.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_announcement.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_banner.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_banner.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_card.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_card.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_checklist.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_checklist.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_checklist_item.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_checklist_item.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_modal.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_modal.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_onboarding_view.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_onboarding_view.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_survey.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_survey.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_tooltip.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_tooltip.en.js.map +1 -1
- package/dist/esm/i18n/components/guidance_tour.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/guidance_tour.en.js.map +1 -1
- package/dist/esm/i18n/components/progression_achievement_badge.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/progression_achievement_badge.en.js.map +1 -1
- package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts.map +1 -1
- package/dist/esm/i18n/components/progression_milestone_tracker.en.js.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts +1 -0
- package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-conversation.en.js +55 -1
- package/dist/esm/i18n/composite_views/app.creation-conversation.en.js.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-dossier.en.d.ts.map +1 -1
- package/dist/esm/i18n/composite_views/app.creation-dossier.en.js.map +1 -1
- package/dist/esm/i18n/composite_views/app.domain-model.en.d.ts.map +1 -1
- package/dist/esm/i18n/composite_views/app.domain-model.en.js.map +1 -1
- package/dist/esm/i18n/control-plane-label-blocks.d.ts +344 -0
- package/dist/esm/i18n/control-plane-label-blocks.d.ts.map +1 -0
- package/dist/esm/i18n/control-plane-label-blocks.js +115 -0
- package/dist/esm/i18n/control-plane-label-blocks.js.map +1 -0
- package/dist/esm/i18n/errors_guidance/errors-guidance.en.d.ts.map +1 -1
- package/dist/esm/i18n/errors_guidance/errors-guidance.en.js.map +1 -1
- package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts.map +1 -1
- package/dist/esm/i18n/errors_messages/errors-messages.en.js.map +1 -1
- package/dist/esm/i18n/index.d.ts.map +1 -1
- package/dist/esm/i18n/index.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts +410 -0
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js +13 -145
- package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts +65 -0
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js +4 -37
- package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts +65 -0
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js +4 -37
- package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchAspects.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchAspects.en.js +11 -0
- package/dist/esm/i18n/resources/workbenchAspects.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts +5 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js +5 -0
- package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts +1 -1
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js +2 -1
- package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchDomainResources.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchDomainResources.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts +56 -0
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.js +15 -0
- package/dist/esm/i18n/resources/workbenchDossierEntries.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchPlaybooks.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts +553 -0
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js +187 -5
- package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchTraceSessions.en.js.map +1 -1
- package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.d.ts.map +1 -1
- package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/application-creation.en.d.ts +60 -0
- package/dist/esm/i18n/system_enums/application-creation.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/application-creation.en.js +66 -1
- package/dist/esm/i18n/system_enums/application-creation.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/compliance-programme.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/compliance-programme.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/flows-actors.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/flows-actors.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/localization.en.d.ts +82 -0
- package/dist/esm/i18n/system_enums/localization.en.d.ts.map +1 -0
- package/dist/esm/i18n/system_enums/localization.en.js +82 -0
- package/dist/esm/i18n/system_enums/localization.en.js.map +1 -0
- package/dist/esm/i18n/system_enums/market.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/market.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/processor-register.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/processor-register.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/risk-register.en.d.ts +1 -0
- package/dist/esm/i18n/system_enums/risk-register.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/risk-register.en.js +1 -0
- package/dist/esm/i18n/system_enums/risk-register.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-build.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-build.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts +1 -0
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.js +2 -0
- package/dist/esm/i18n/system_enums/workbench-creation-home.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts +10 -0
- package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-dossier.en.js +13 -0
- package/dist/esm/i18n/system_enums/workbench-dossier.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-playbook-run.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-playbook-run.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-secrets.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-secrets.en.js.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.d.ts.map +1 -1
- package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.js.map +1 -1
- package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.js.map +1 -1
- package/dist/esm/i18n-labelling/models/labelling-progress.models.d.ts +43 -0
- package/dist/esm/i18n-labelling/models/labelling-progress.models.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/models/labelling-progress.models.js +34 -0
- package/dist/esm/i18n-labelling/models/labelling-progress.models.js.map +1 -0
- package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts +29 -2
- package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/models/labelling-unit.models.js +17 -0
- package/dist/esm/i18n-labelling/models/labelling-unit.models.js.map +1 -1
- package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js.map +1 -1
- package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts +5 -0
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js +44 -4
- package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts +8 -0
- package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js +97 -56
- package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts +18 -0
- package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js +269 -153
- package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/email-template-translation.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/email-template-translation.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/guidance-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/guidance-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/label-file-source.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/label-file-source.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.d.ts +41 -0
- package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.js +47 -0
- package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.js.map +1 -0
- package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts +12 -0
- package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js +10 -2
- package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts +8 -1
- package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js +9 -2
- package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.d.ts +89 -0
- package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.d.ts.map +1 -0
- package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.js +229 -0
- package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.js.map +1 -0
- package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts +13 -7
- package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js +13 -7
- package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.js.map +1 -1
- package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.d.ts.map +1 -1
- package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.js.map +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/market/services/market-generation.companion.service.d.ts.map +1 -1
- package/dist/esm/market/services/market-generation.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js +3 -3
- package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/application-line-catalog.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/application-line-catalog.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts +85 -1
- package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/build-task-rearm.models.js +101 -0
- package/dist/esm/meta-workflows/models/build-task-rearm.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/carried-verification-failure.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/carried-verification-failure.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/composite-round-relaunch.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/composite-round-relaunch.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/creation-intervention.models.d.ts +308 -0
- package/dist/esm/meta-workflows/models/creation-intervention.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/creation-intervention.models.js +365 -0
- package/dist/esm/meta-workflows/models/creation-intervention.models.js.map +1 -0
- package/dist/esm/meta-workflows/models/generation-step-progress.models.d.ts +61 -0
- package/dist/esm/meta-workflows/models/generation-step-progress.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/generation-step-progress.models.js +58 -0
- package/dist/esm/meta-workflows/models/generation-step-progress.models.js.map +1 -0
- package/dist/esm/meta-workflows/models/human-decision-settler.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/human-decision-settler.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts +10 -6
- package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js +11 -6
- package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts +3 -0
- package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js +8 -1
- package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts +26 -0
- package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-run-record.models.js +66 -10
- package/dist/esm/meta-workflows/models/playbook-run-record.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.d.ts.map +1 -1
- package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.js.map +1 -1
- package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.d.ts +36 -0
- package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.js +97 -0
- package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.js.map +1 -0
- package/dist/esm/meta-workflows/models/website-copy-review.models.d.ts +124 -0
- package/dist/esm/meta-workflows/models/website-copy-review.models.d.ts.map +1 -0
- package/dist/esm/meta-workflows/models/website-copy-review.models.js +74 -0
- package/dist/esm/meta-workflows/models/website-copy-review.models.js.map +1 -0
- package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.d.ts +13 -0
- package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.js +33 -0
- package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.js.map +1 -0
- package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.d.ts +145 -0
- package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.js +179 -0
- package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.js.map +1 -0
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +672 -24
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js +1887 -74
- package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts +232 -14
- package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js +407 -55
- package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts +158 -3
- package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js +446 -18
- package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts +130 -2
- package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js +266 -10
- package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.d.ts +122 -0
- package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.js +295 -0
- package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.d.ts +22 -0
- package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.js +45 -0
- package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.js.map +1 -0
- package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js +10 -11
- package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.d.ts +53 -0
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.js +97 -0
- package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.js.map +1 -0
- package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js +10 -11
- package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.d.ts +82 -0
- package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js +291 -0
- package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.d.ts +76 -0
- package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.js +88 -0
- package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.d.ts +53 -0
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js +164 -0
- package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js.map +1 -0
- package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.d.ts +37 -0
- package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.js +52 -0
- package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.js.map +1 -0
- package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts +79 -14
- package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/dossier.companion.service.js +185 -29
- package/dist/esm/meta-workflows/services/dossier.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.js.map +1 -1
- package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts +52 -4
- package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js +134 -62
- package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/governed-document-texts.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/governed-document-texts.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.d.ts +67 -0
- package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.d.ts.map +1 -0
- package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.js +64 -0
- package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.js.map +1 -0
- package/dist/esm/meta-workflows/services/landed-module-import.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/landed-module-import.companion.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-instance.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js +61 -20
- package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts +134 -4
- package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js +390 -7
- package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts +166 -7
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.js +703 -116
- package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts +62 -1
- package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js +152 -2
- package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js.map +1 -1
- package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.d.ts.map +1 -1
- package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.js.map +1 -1
- package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.d.ts.map +1 -1
- package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.js.map +1 -1
- package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts.map +1 -1
- package/dist/esm/technical-doc/services/technical-doc.companion.service.js.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.d.ts.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.js.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.d.ts.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.js.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts.map +1 -1
- package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js.map +1 -1
- package/package.json +22 -18
- package/dist/esm/__tests__/asset-noop.d.ts +0 -3
- package/dist/esm/__tests__/asset-noop.d.ts.map +0 -1
- package/dist/esm/__tests__/asset-noop.js +0 -2
- package/dist/esm/__tests__/asset-noop.js.map +0 -1
- package/dist/esm/__tests__/chdir-dogfood-app.setup.d.ts +0 -2
- package/dist/esm/__tests__/chdir-dogfood-app.setup.d.ts.map +0 -1
- package/dist/esm/__tests__/chdir-dogfood-app.setup.js +0 -44
- package/dist/esm/__tests__/chdir-dogfood-app.setup.js.map +0 -1
- package/dist/esm/__tests__/internal-test-view.d.ts +0 -39
- package/dist/esm/__tests__/internal-test-view.d.ts.map +0 -1
- package/dist/esm/__tests__/internal-test-view.js +0 -2
- package/dist/esm/__tests__/internal-test-view.js.map +0 -1
- package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts +0 -50
- package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts.map +0 -1
- package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js +0 -157
- package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js.map +0 -1
- package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.d.ts +0 -8
- package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.d.ts.map +0 -1
- package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js +0 -43
- package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js.map +0 -1
- package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts +0 -79
- package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts.map +0 -1
- package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js +0 -193
- package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"risk-signals.behavior.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"risk-signals.behavior.d.ts","sourceRoot":"","sources":["../../../../../src/core/introspection/subprocess/risk-signals.behavior.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,8BAA8B,EAEpC,MAAM,uBAAuB,CAAC;AAE/B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,sFAAsF;AACtF,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,gBAAgB,EAAE,OAAO,CAAC;IACnC,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC;CACjC;AAED,+FAA+F;AAC/F,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,kBAAkB,EAAE,SAAS,MAAM,EAAE,CAAC;IAC/C,QAAQ,CAAC,aAAa,EAAE,SAAS,MAAM,EAAE,CAAC;IAC1C,QAAQ,CAAC,iBAAiB,EAAE,SAAS,MAAM,EAAE,CAAC;IAC9C,QAAQ,CAAC,UAAU,EAAE,SAAS,8BAA8B,EAAE,CAAC;IAC/D,QAAQ,CAAC,wBAAwB,EAAE,MAAM,CAAC;IAC1C,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC;;;;;;OAMG;IACH,QAAQ,CAAC,6BAA6B,EAAE,SAAS,MAAM,EAAE,CAAC;CAC3D;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,SAAS,uBAAuB,EAAE,GAAG;IAC/E,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAYA;AAED;;;;;GAKG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE;IACrD,QAAQ,CAAC,SAAS,EAAE,SAAS,uBAAuB,EAAE,CAAC;IACvD,QAAQ,CAAC,6BAA6B,EAAE,SAAS,MAAM,EAAE,CAAC;CAC3D,GAAG,wBAAwB,CAwB3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"risk-signals.behavior.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"risk-signals.behavior.js","sourceRoot":"","sources":["../../../../../src/core/introspection/subprocess/risk-signals.behavior.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wDAAwD,EACxD,6BAA6B,EAC7B,oBAAoB,EAEpB,qCAAqC,GACtC,MAAM,uBAAuB,CAAC;AA4D/B;;;;;;GAMG;AACH,MAAM,UAAU,gBAAgB,CAAC,SAA6C;IAK5E,MAAM,YAAY,GAAG,CAAC,KAA8B,EAA8C,EAAE,CAClG,CAAE,KAAK,CAAC,aAAoF,EAAE,UAAU,IAAI,EAAE,CAAC,CAAC;IAClH,MAAM,SAAS,GAAG,CAAC,UAA8C,EAAU,EAAE,CAC3E,UAAU,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,KAAK,E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qC,CAClD,KAAK,CAAC,aAAiD,EAAE,UAAmB,CAC9E,CAAC;QACF,kBAAkB,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,UAAU,IAAI,EAAE,CAAC,CAAC,CAAC;IAC1D,CAAC;IACD,OAAO;QACL,kBAAkB;QAClB,aAAa;QACb,iBAAiB,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,6BAA6B,CAAC,QAAQ,CAAC,CAAC;QAC9F,UAAU,EAAE,CAAC,GAAG,wDAAwD,CAAC;gBACvE,sBAAsB,EAAE,sBAA+B;gBACvD,wBAAwB,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC;aACjE,CAAC,CAAC;QACH,wBAAwB,EAAE,GAAG,CAAC,MAAM;QACpC,GAAG,gBAAgB,CAAC,KAAK,CAAC,SAAS,CAAC;QACpC,6BAA6B,EAAE,KAAK,CAAC,6BAA6B;KACnE,CAAC;AACJ,CAAC","sourcesContent":["import {\n collectApplicationResourcesWithNoPersonalDataDeclaration,\n isSpecialCategoryPersonalData,\n PersonalDataCategory,\n type UnansweredPersonalDataResource,\n resolveResourcePersonalDataCategories,\n} from '@wildo-ai/saas-models';\n\n/**\n * **risk-signals** — the two DERIVED risk-signal families that need the application's materialized\n * resources, projected to exactly the inputs the engine's derivations take (#1435).\n *\n * ## What this answers, and what it deliberately does not\n *\n * Of #300's six application-time signals, FOUR are pure functions of `wildo.saas.config.ts` — the\n * capability surface, the retention declarations, the provider hosting — and the companion already\n * holds that config, so it derives those in process with no subprocess at all. The other two need\n * every resource CONFIGURATION materialized: what personal-data categories the application's own\n * schemas declare, and how many operations are reachable by an external agent over MCP. That is a\n * question only the application's own module graph can answer, which is what this behavior is for.\n *\n * It returns INPUTS, never signals. The observation sentences live in the engine\n * (`application-risk-signals.derivations.ts`) so the assurance report and the creation brief read\n * one wording of one measurement; this side extracts, and nothing here decides what a number means.\n *\n * ## No model, by construction\n *\n * Every value is a declaration already written down, so this is a lookup — and a lookup does not\n * need a model. That is not enforced by a rule: this module has no model port in its signature and\n * nothing to inject one through, so a model call here is unrepresentable rather than forbidden.\n *\n * ## The application's OWN resources are counted apart from the engine's\n *\n * An application author chooses one set and inherits the other, so a report that merged them would\n * give one number neither party can act on — the engine's own reasoning, and the same split\n * `compliance-primary-facts` takes. Both populations are returned, because an external agent\n * reaches whatever is exposed regardless of who declared it.\n */\n\n/** One materialized resource, reduced to the slice these two signal families read. */\nexport interface RiskSignalResourceInput {\n readonly resourceType: string;\n readonly isEngineResource: boolean;\n readonly configuration: unknown;\n}\n\n/** What the behavior returns: the inputs the engine's two resource-backed derivations take. */\nexport interface RiskSignalResourceInputs {\n readonly declaredCategories: readonly string[];\n readonly allCategories: readonly string[];\n readonly specialCategories: readonly string[];\n readonly unanswered: readonly UnansweredPersonalDataResource[];\n readonly applicationResourceCount: number;\n readonly ownExposed: number;\n readonly ownOperations: number;\n readonly inheritedExposed: number;\n /**\n * Resources whose factory threw, NAMED rather than dropped.\n *\n * A resource silently missing would make every count under-report, and under-reporting is the one\n * direction a risk signal must never fail in — \"no application resource declares a personal-data\n * category\" is a serious finding that a swallowed factory error must never be able to wear.\n */\n readonly unmaterializableResourceTypes: readonly string[];\n}\n\n/**\n * Count `mcp.exposed` operations in both populations.\n *\n * The engine-inclusive set MINUS the application's own is what it inherits — clamped at zero, so a\n * population that somehow shrinks reports \"inherits nothing\" rather than a negative count that\n * would read as a measurement.\n */\nexport function countMcpExposure(resources: readonly RiskSignalResourceInput[]): {\n ownExposed: number;\n ownOperations: number;\n inheritedExposed: number;\n} {\n const operationsOf = (entry: RiskSignalResourceInput): readonly { mcp?: { exposed?: boolean } }[] =>\n ((entry.configuration as { operations?: readonly { mcp?: { exposed?: boolean } }[] } | null)?.operations ?? []);\n const exposedIn = (population: readonly RiskSignalResourceInput[]): number =>\n population.reduce((total, entry) => total + operationsOf(entry).filter((operation) => operation?.mcp?.exposed === true).length, 0);\n const own = resources.filter((entry) => !entry.isEngineResource);\n const ownExposed = exposedIn(own);\n return {\n ownExposed,\n ownOperations: own.reduce((total, entry) => total + operationsOf(entry).length, 0),\n inheritedExposed: Math.max(exposedIn(resources) - ownExposed, 0),\n };\n}\n\n/**\n * Project the materialized population into the engine derivations' inputs.\n *\n * Exported separately from the handler so it can be pinned with planted resources — the handler's\n * own half is module loading, which a unit test can only mock into meaninglessness.\n */\nexport function projectRiskSignalResourceInputs(input: {\n readonly resources: readonly RiskSignalResourceInput[];\n readonly unmaterializableResourceTypes: readonly string[];\n}): RiskSignalResourceInputs {\n const own = input.resources.filter((entry) => !entry.isEngineResource);\n const allCategories = Object.values(PersonalDataCategory).filter((value): value is PersonalDataCategory => typeof value === 'string').sort();\n const declaredCategories: string[] = [];\n const resourceConfigurations: Record<string, unknown> = {};\n for (const entry of own) {\n resourceConfigurations[entry.resourceType] = entry.configuration;\n const profile = resolveResourcePersonalDataCategories(\n (entry.configuration as { mainSchema?: unknown } | null)?.mainSchema as never,\n );\n declaredCategories.push(...(profile?.categories ?? []));\n }\n return {\n declaredCategories,\n allCategories,\n specialCategories: allCategories.filter((category) => isSpecialCategoryPersonalData(category)),\n unanswered: [...collectApplicationResourcesWithNoPersonalDataDeclaration({\n resourceConfigurations: resourceConfigurations as never,\n applicationResourceTypes: own.map((entry) => entry.resourceType),\n })],\n applicationResourceCount: own.length,\n ...countMcpExposure(input.resources),\n unmaterializableResourceTypes: input.unmaterializableResourceTypes,\n };\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"specification-artifacts.behavior.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"specification-artifacts.behavior.d.ts","sourceRoot":"","sources":["../../../../../src/core/introspection/subprocess/specification-artifacts.behavior.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,qCAAqC,EACrC,mCAAmC,EACpC,MAAM,gCAAgC,CAAC;AAmYxC,+EAA+E;A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C;IAC/C,QAAQ,CAAC,KAAK,EAAE;QACd,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;QAC1B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;QACxB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;QACzB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;KAC9B,CAAC;CACH;AA2LD;;;;;;GAMG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE;IACnD,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChD,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,wBAAwB,EAAE,MAAM,CAAC;IAC1C,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B,GAAG,8BAA8B,CA+BjC"}
|
|
@@ -160,6 +160,13 @@ const FAMILY_EDITORIAL = {
|
|
|
160
160
|
return name ? (tagline ? `${name} — ${tagline}` : name) : null;
|
|
161
161
|
},
|
|
162
162
|
},
|
|
163
|
+
[ApplicationSpecificationFamily.BRAND_NAME_SCREENING]: {
|
|
164
|
+
title: 'Brand names',
|
|
165
|
+
description: 'The names proposed for the brand and what a minimal trademark screening of each found — a screening, not a legal clearance opinion.',
|
|
166
|
+
/* IDENTITY, beside the brand: it decides what the product is called. */
|
|
167
|
+
concern: WorkbenchSpecificationArtifactConcern.IDENTITY,
|
|
168
|
+
pulse: ({ count, parts }) => parts([[count('candidates'), 'candidate']]),
|
|
169
|
+
},
|
|
163
170
|
[ApplicationSpecificationFamily.COMPLIANCE_PROGRAM]: {
|
|
164
171
|
title: 'Assurance programme',
|
|
165
172
|
description: 'The controls this product commits to, and the authorities they answer.',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"specification-artifacts.behavior.js","sourceRoot":"","sources":["../../../../../../src/core/introspection/subprocess/specification-artifacts.behavior.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA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AqB,CAAC;QACnD,WAAW,EAAE,KAAK,CAAC,WAAW;QAC9B,wBAAwB,EAAE,KAAK,CAAC,wBAAwB;QACxD,oBAAoB;KACrB,CAAC,CACH,CAAC;IAEF,OAAO;QACL,SAAS;QACT,KAAK,EAAE;YACL,QAAQ,EAAE,SAAS,CAAC,MAAM;YAC1B,MAAM,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,KAAK,KAAK,mCAAmC,CAAC,UAAU,CAAC,CAAC,MAAM;YAChH,OAAO,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,KAAK,KAAK,mCAAmC,CAAC,cAAc,CAAC,CAAC,MAAM;YACrH,WAAW,EAAE,KAAK,CAAC,WAAW;SAC/B;KACF,CAAC;AACJ,CAAC","sourcesContent":["import { existsSync, readFileSync } from 'node:fs';\nimport { dirname, join } from 'node:path';\n\nimport {\n APPLICATION_SPECIFICATION_SEMANTIC_SCHEMA_BINDINGS,\n getFamilyPackageRelativePath,\n renderSpecificationFamilyReviewDocument,\n type ApplicationSpecificationSemanticSchemaBinding,\n} from '@wildo-ai/application-creation-runtime';\nimport { getFrameworkKnowledgePlaybook, listFrameworkKnowledgePlaybooks } from '@wildo-ai/framework-knowledge';\nimport {\n WorkbenchSpecificationArtifactConcern,\n WorkbenchSpecificationArtifactState,\n} from '@wildo-ai/platform-core-shared';\nimport {\n ApplicationSpecificationFamily,\n JourneyArtifactValidationState,\n} from '@wildo-ai/saas-specifications/application-creation';\n\nimport { resolveSpecificationsCompanionExports } from './companion-introspection-module-exports.utils';\n\n/**\n * The operator-facing projection of the application's specification families (issue #162).\n *\n * ## What was missing, and what was already there\n *\n * Nine companion behaviors already READ this content — `market-context-for-icp`,\n * `market-render-prompt`, `brand-render-prompt`, `compliance-primary-facts`,\n * `definition-specifications`, `specification-context-parts` and their siblings — and every one of\n * them renders PROSE FOR A LANGUAGE MODEL. The loading and resolution paths were proven; what did\n * not exist was a projection whose consumer is a human. So a creator could not review, compare or\n * revise anything the journey had decided about their product without opening TypeScript files in an\n * editor.\n *\n * Reusing one of those renderers to fill a UI would ship an LLM context block into a human surface.\n * This behavior therefore renders through `renderSpecificationFamilyReviewDocument`, whose only\n * reader is a person.\n *\n * ## Why it REPORTS where `definition-specifications` REFUSES\n *\n * That behavior runs the same validators through the same authority and THROWS on any ERROR-severity\n * issue — correct for a durable load-time guard, and exactly wrong for a review surface: it would\n * make an invalid artifact the one thing a reviewer cannot look at, precisely when they most need to\n * see it. The two cannot disagree about what is VALID, because the validator is the same object; they\n * differ only in what to do about an invalid answer.\n *\n * ## Pure, deterministic, and read-only by construction\n *\n * Reads the authored snapshots off the specifications companion exports, the two committed markdown\n * records beside each family, and the compiled playbook catalog. No LLM, no network, no write, and no\n * state: acceptance of a specification is a human git commit (`.claude/rules/one-source-of-truth.md`\n * rule 2), so there is nowhere here for an acceptance state to accumulate.\n */\n\n/**\n * ONE AUTHORED DECLARATION PER FAMILY — the family's whole editorial identity, in one place.\n *\n * ## What this replaced, and why four places was three too many\n *\n * A family's row-facing decisions were spread over THREE hand-kept maps keyed by slug\n * (`FAMILY_TITLES`, `FAMILY_DESCRIPTIONS`, `FAMILY_CONCERNS`) and an eighteen-arm `switch` inside\n * `deriveContentPulse` — four independent lists over one population, none of them typed, each free\n * to gain a family the others did not. Adding a family meant four edits in four shapes, and\n * forgetting one produced a card titled by its own slug, or unclassified, or with no pulse at all,\n * every one of them silently.\n *\n * A RESOURCE does not work that way: `resourceUIBehavior` is ONE call carrying the icon, the layout,\n * the label rule and the surfaces together, because they are one set of decisions about one thing.\n * This is that shape for a family.\n *\n * ## TOTAL over the vocabulary, so the compiler is the checker\n *\n * `Record<ApplicationSpecificationFamily, …>` with no index signature: a family with no entry is a\n * COMPILE ERROR, and so is a key naming no family. The companion test that asserted the same thing\n * stays and now proves the half a type cannot — that the ENUM still matches the semantic authority's\n * bindings, which are declared in another package.\n *\n * ## Why these four belong together, and NOT beside the schema\n *\n * They are what a reader MEETS: a name, a sentence, the question the family answers, and a one-line\n * pulse of what landed. None of them is semantics — the schema, the validator and the generation\n * contract stay on the authority's binding, which is the resources-config half of this split.\n * Merging the two would put display words in the package that decides whether content is VALID.\n */\ninterface SpecificationFamilyEditorial {\n /**\n * The creator-facing NAME, authored rather than derived from the slug.\n *\n * The two diverge exactly where it matters: `vision-brief` names a product VISION,\n * `compliance-program` an assurance PROGRAMME. Humanizing the slug gives \"Vision brief\" and\n * \"Compliance program\" — accurate about the id, and a worse answer to \"what am I looking at\".\n */\n readonly title: string;\n /**\n * What the family IS, in one sentence a creator recognizes — the card's subtitle.\n *\n * Present whether or not anything landed: on a NOT_LANDED card it is the whole answer to \"why\n * would I care\", and on a landed one it frames the pulse beside it. Written in the creator's\n * vocabulary, never the framework's.\n */\n readonly description: string;\n /** Which question this family answers — the axis the workbench groups its list by. */\n readonly concern: WorkbenchSpecificationArtifactConcern;\n /**\n * This family's own one-line reading of what landed — the card's pulse.\n *\n * REQUIRED, which is the change worth noticing: as a `switch` it had a `default: return null`, so\n * two families (the two governed-document SETS) fell through it and rendered a landed card with\n * nothing on it — indistinguishable from a family whose rule nobody had written. Both have one\n * now, and a twenty-first family cannot be added without one.\n */\n readonly pulse: (read: FamilyPulseReader) => string | null;\n}\n\n/** What a family's pulse rule may ask of its landed snapshot. */\ninterface FamilyPulseReader {\n /** How many entries a top-level collection holds — 0 when absent or not an array. */\n readonly count: (key: string) => number;\n /** How many entries the landed value ITSELF holds when it is a collection (the persona charter set) — 0 otherwise. */\n readonly length: () => number;\n /** A non-empty trimmed string at a path, else null. */\n readonly text: (path: readonly string[]) => string | null;\n /**\n * Counted parts, joined — each entry names its SINGULAR, and the plural defaults to `+s` and is\n * spelled out where English disagrees. \"1 ICPs\" on a live card is what bought that parameter.\n */\n readonly parts: (entries: ReadonlyArray<readonly [number, string, string?]>) => string | null;\n}\n\nconst FAMILY_EDITORIAL: Readonly<Record<ApplicationSpecificationFamily, SpecificationFamilyEditorial>> = {\n [ApplicationSpecificationFamily.VISION_BRIEF]: {\n title: 'Vision',\n description: 'The founding intent — the idea, the problem it answers, and what success looks like.',\n concern: WorkbenchSpecificationArtifactConcern.INTENT,\n /* The one-liner IS the vision; a count of criteria would say nothing about what was decided. */\n pulse: ({ text }) => text(['idea', 'oneLiner']),\n },\n [ApplicationSpecificationFamily.MARKET_SNAPSHOT]: {\n title: 'Market',\n description: 'Who this product is for and how it is positioned — category, ICPs, personas, messaging.',\n concern: WorkbenchSpecificationArtifactConcern.INTENT,\n pulse: ({ count, parts }) => parts([\n [count('icps'), 'ICP'],\n [count('personas'), 'persona'],\n [count('positionings'), 'positioning'],\n [count('tonesOfVoice'), 'tone of voice', 'tones of voice'],\n ]),\n },\n [ApplicationSpecificationFamily.REQUIREMENTS]: {\n title: 'Requirements',\n description: 'What the product must do, functionally and non-functionally, with acceptance criteria.',\n concern: WorkbenchSpecificationArtifactConcern.SCOPE,\n /* Both singulars are their own plurals — \"3 functional\", never \"3 functionals\". */\n pulse: ({ count, parts }) => parts([\n [count('functional'), 'functional', 'functional'],\n [count('nonFunctional'), 'non-functional', 'non-functional'],\n ]),\n },\n [ApplicationSpecificationFamily.FEATURE_DRAFTS]: {\n title: 'Feature drafts',\n description: 'Accepted feature intent — spec-first drafts awaiting their runtime definitions.',\n concern: WorkbenchSpecificationArtifactConcern.SCOPE,\n pulse: ({ count, parts }) => parts([[count('drafts'), 'feature draft']]),\n },\n [ApplicationSpecificationFamily.BUSINESS_MODEL]: {\n title: 'Business model',\n description: 'How the product earns — the revenue model and its pricing plans.',\n concern: WorkbenchSpecificationArtifactConcern.SCOPE,\n /*\n * The revenue model leads because it is the DECISION; the plan count is its consequence. Either\n * half may be absent, so each is allowed to carry the line alone.\n *\n * ## The value is read RAW, and that is a correction\n *\n * This read `revenueModel.toLowerCase().replace(/_/g, ' ')` — inventing a word from a member of\n * `RevenueModelKind`, a real closed enum. That is the defect\n * `.claude/rules/display-text-comes-from-i18n.md` exists for, and it was carried in that check's\n * shrink-only baseline as `specification-artifacts.behavior.ts::separator-to-words`.\n *\n * A pulse is composed SERVER-SIDE into one string on the row; there is no label loop here to ask,\n * so the honest answer is the raw value, which looks unlabelled because it is. The remedy, if the\n * word matters, is to carry the member and let the workbench word it — not to humanize the token\n * where nobody can translate or reword it.\n */\n pulse: ({ count, parts, text }) => {\n const model = text(['revenueModel']);\n const plans = parts([[count('plans'), 'plan']]);\n return model && plans ? `${model} · ${plans}` : model ?? plans;\n },\n },\n [ApplicationSpecificationFamily.ROADMAP]: {\n title: 'Roadmap',\n description: 'The build order — phases, their objectives, and what each one delivers.',\n concern: WorkbenchSpecificationArtifactConcern.DELIVERY,\n pulse: ({ count, parts }) => parts([[count('phases'), 'phase']]),\n },\n [ApplicationSpecificationFamily.DOMAIN_PLAN]: {\n title: 'Domain plan',\n description: 'The domain model as planned — modules, their purposes, and the relationships between resources.',\n concern: WorkbenchSpecificationArtifactConcern.DELIVERY,\n pulse: ({ count, parts }) => parts([[count('modules'), 'module'], [count('relationships'), 'relationship']]),\n },\n [ApplicationSpecificationFamily.BUILD_PLAN]: {\n title: 'Build plan',\n description: 'The task graph the coding lane executes — objectives, targets and prerequisites.',\n concern: WorkbenchSpecificationArtifactConcern.DELIVERY,\n pulse: ({ count, parts }) => parts([[count('tasks'), 'task']]),\n },\n [ApplicationSpecificationFamily.PLACEMENT_PLAN]: {\n title: 'Placement plan',\n description: 'Where every destination sits in the application shell, and why.',\n concern: WorkbenchSpecificationArtifactConcern.DELIVERY,\n pulse: ({ count, parts }) => parts([[count('groups'), 'group'], [count('decisions'), 'decision']]),\n },\n [ApplicationSpecificationFamily.CAPABILITY_COMPOSITION]: {\n title: 'Composition',\n description: 'Which optional packages this application needs — website, documentation portal, workers — and the declaration each decision was read from.',\n /*\n * DELIVERY: the composition decides what the foundation composes, not what the product is — a\n * website follows from a market channel or a brand, never the other way round (#1491).\n */\n concern: WorkbenchSpecificationArtifactConcern.DELIVERY,\n pulse: ({ count, parts }) => parts([[count('scenarioDecisions'), 'decision']]),\n },\n [ApplicationSpecificationFamily.EXPERIENCE_PLAN]: {\n title: 'Experience',\n description: 'The surfaces this application carries beyond its generated screens, how its shell, navigation and palette are composed, and the milestones and guidance that carry a new person through it.',\n concern: WorkbenchSpecificationArtifactConcern.DELIVERY,\n pulse: ({ count, parts }) => parts([\n [count('views'), 'view'],\n [count('configurations'), 'configured surface'],\n [count('milestones'), 'milestone'],\n // \"guidance\" is uncountable; the entries are pieces of it.\n [count('guidance'), 'piece of guidance', 'pieces of guidance'],\n ]),\n },\n [ApplicationSpecificationFamily.APPLICATION_MATURITY]: {\n title: 'Where we stand',\n description: 'One row per requirement this application set itself, the evidence that exists for it, and the stage that follows. A measurement, never a verdict.',\n /*\n * DELIVERY: the reading is about what has been BUILT against what was asked, not about what the\n * product is. It is also the one artifact nobody authors — it is derived and re-derived.\n */\n concern: WorkbenchSpecificationArtifactConcern.DELIVERY,\n /* The STAGE first — it is the reading — with the population that produced it behind it. */\n pulse: ({ count, parts, text }) => {\n const stage = text(['stage']);\n const measured = parts([[count('requirements'), 'requirement']]);\n if (stage === null) return measured;\n return measured === null ? stage : `${stage} · ${measured}`;\n },\n },\n [ApplicationSpecificationFamily.INTEGRATION_PLAN]: {\n title: 'Background & integrations',\n description: 'What this application runs beside its backend — workers it delegates to, schedules that wake on their own — and the outside services it binds.',\n /* DELIVERY: a worker or a minion is part of what the product DOES, not of how it presents itself. */\n concern: WorkbenchSpecificationArtifactConcern.DELIVERY,\n pulse: ({ count, parts }) => parts([[count('workers'), 'worker'], [count('minions'), 'minion'], [count('providerBindings'), 'binding']]),\n },\n [ApplicationSpecificationFamily.DOCUMENTATION_PLAN]: {\n title: 'Documentation',\n description: 'The chapters the documentation portal carries, what each documents in this product, and who it is written for.',\n concern: WorkbenchSpecificationArtifactConcern.IDENTITY,\n pulse: ({ count, parts }) => parts([[count('chapters'), 'chapter']]),\n },\n [ApplicationSpecificationFamily.WEBSITE_PLAN]: {\n title: 'Website',\n description: 'What the marketing site says — its pages, the sections that carry each argument, and the market entries they draw on.',\n /* IDENTITY: the site is how the product presents itself, the same axis as the brand beside it. */\n concern: WorkbenchSpecificationArtifactConcern.IDENTITY,\n pulse: ({ count, parts }) => parts([[count('pages'), 'page']]),\n },\n [ApplicationSpecificationFamily.BRAND_BRIEF]: {\n title: 'Brand',\n description: 'How the product presents itself — name, logo direction and visual tone.',\n concern: WorkbenchSpecificationArtifactConcern.IDENTITY,\n /* The name, and the tagline only if there is a name to attach it to. */\n pulse: ({ text }) => {\n const name = text(['name', 'brandName']);\n const tagline = text(['name', 'tagline']);\n return name ? (tagline ? `${name} — ${tagline}` : name) : null;\n },\n },\n [ApplicationSpecificationFamily.COMPLIANCE_PROGRAM]: {\n title: 'Assurance programme',\n description: 'The controls this product commits to, and the authorities they answer.',\n concern: WorkbenchSpecificationArtifactConcern.OBLIGATIONS,\n pulse: ({ count, parts }) => parts([\n [count('roleAuthorities'), 'role authority', 'role authorities'],\n [count('capabilityAuthorities'), 'capability authority', 'capability authorities'],\n [count('implementationStatements'), 'implementation statement'],\n ]),\n },\n [ApplicationSpecificationFamily.COMPLIANCE_DOCUMENT_CANDIDATE]: {\n title: 'Governed-document drafts',\n description: 'Drafts of the public governed documents this product must publish.',\n concern: WorkbenchSpecificationArtifactConcern.OBLIGATIONS,\n pulse: ({ count, parts, text }) => {\n const title = text(['title']);\n const sections = parts([[count('sections'), 'section']]);\n return title ? (sections ? `${title} · ${sections}` : title) : sections;\n },\n },\n [ApplicationSpecificationFamily.COMPLIANCE_DOCUMENT_CANDIDATE_SET]: {\n title: 'Draft document collection',\n description: 'All the governed documents your application has drafted, kept together as each document evolves.',\n concern: WorkbenchSpecificationArtifactConcern.OBLIGATIONS,\n /*\n * AUTHORED 2026-09-19. This family had no arm in the switch and took its `default: return null`,\n * so a landed set rendered a card with nothing on it — the same card a family whose rule nobody\n * had written would render. How many documents are drafted is what a reader wants.\n */\n pulse: ({ count, parts }) => parts([[count('candidates'), 'drafted document']]),\n },\n [ApplicationSpecificationFamily.DOCUMENT_PUBLICATION]: {\n title: 'Document publication',\n description: 'Which locales and jurisdictions each governed document publishes in.',\n concern: WorkbenchSpecificationArtifactConcern.OBLIGATIONS,\n pulse: ({ count, parts }) => parts([[count('variants'), 'publication variant']]),\n },\n [ApplicationSpecificationFamily.DOCUMENT_RELEASE_POLICY]: {\n title: 'Document release policy',\n description: 'How each required document may be released — draft, attested, or reviewed.',\n concern: WorkbenchSpecificationArtifactConcern.OBLIGATIONS,\n pulse: ({ count, parts }) => parts([[count('selections'), 'selection']]),\n },\n [ApplicationSpecificationFamily.DOCUMENT_RELEASE_SET]: {\n title: 'Document releases',\n description: 'The document releases composed from your drafts, document definitions and release policies.',\n concern: WorkbenchSpecificationArtifactConcern.OBLIGATIONS,\n /* AUTHORED 2026-09-19 — the second family that fell through the switch's default. */\n pulse: ({ count, parts }) => parts([[count('releases'), 'release']]),\n },\n [ApplicationSpecificationFamily.DOCUMENT_FACTS]: {\n title: 'Document facts',\n description: 'The accepted raw facts governed documents are built from.',\n concern: WorkbenchSpecificationArtifactConcern.OBLIGATIONS,\n pulse: ({ count, parts }) => parts([[count('declarations'), 'declaration']]),\n },\n [ApplicationSpecificationFamily.DOCUMENT_FACTS_AUTHORED]: {\n title: 'Document facts you decide',\n description: 'The facts nobody can derive for you — the ones you decide or have reviewed.',\n concern: WorkbenchSpecificationArtifactConcern.OBLIGATIONS,\n /*\n * The same shape as the derived half, and deliberately its OWN rule rather than a shared switch\n * arm: the two families are separate precisely so a regeneration cannot reach the human's half,\n * and a shared line would be the first place they quietly became one thing again.\n */\n pulse: ({ count, parts }) => parts([[count('declarations'), 'declaration']]),\n },\n [ApplicationSpecificationFamily.PROCESSOR_REGISTER]: {\n title: 'Who else processes your data',\n description: 'Every vendor that handles your users\\' personal data, who they legally are, and where.',\n concern: WorkbenchSpecificationArtifactConcern.OBLIGATIONS,\n pulse: ({ count, parts }) => parts([[count('processors'), 'processor']]),\n },\n [ApplicationSpecificationFamily.RISK_REGISTER]: {\n title: 'What could go wrong',\n description: 'The risks this application carries, how bad each would be, and what you have decided to do about them.',\n /*\n * OBLIGATIONS, beside the programme rather than under it. A programme states which control\n * objectives the application CLAIMS; a register states which exposures it CARRIES. They inform\n * each other and answer different questions — the family schema argues the same split — so the\n * register belongs in the same concern and is not folded into the programme.\n */\n concern: WorkbenchSpecificationArtifactConcern.OBLIGATIONS,\n pulse: ({ count, parts }) => parts([[count('entries'), 'risk']]),\n },\n [ApplicationSpecificationFamily.CREATOR_INPUTS]: {\n title: 'What you told us',\n description: 'Your answers to the questions the creation steps asked — kept, so nothing asks twice.',\n /*\n * INTENT: the dossier is the creator's own words about the product, the same axis as the vision\n * they feed. It is the only family here that nobody PRODUCES, and its pulse counts answers rather\n * than an artifact's parts.\n */\n concern: WorkbenchSpecificationArtifactConcern.INTENT,\n pulse: ({ count, parts }) => parts([[count('answers'), 'answer']]),\n },\n [ApplicationSpecificationFamily.EXPERT_PERSONAS]: {\n title: 'Who reviews the work',\n description: 'The expert reviewers derived for this application — the panels that decide placement and judge the logo.',\n /*\n * DELIVERY: a charter is part of HOW the application gets built — the panels convene at placement and at\n * the logo step — not a statement about the product's intent, scope, identity or obligations (#572).\n * The landed value is the charter ARRAY, so the pulse counts the array itself: the aggregator exports\n * `ExpertPersonaCharter[]`, and a reader keyed on a top-level collection name would count nothing.\n */\n concern: WorkbenchSpecificationArtifactConcern.DELIVERY,\n pulse: ({ length, parts }) => parts([[length(), 'expert reviewer']]),\n },\n};\n\n/** The companion records a landing writes beside a family's own `index.ts`. */\n/**\n * The question a family answers — its CONCERN — for a family named by id, as the workbench groups\n * by it. A family this table does not know answers `UNCLASSIFIED`, the visible bucket, never a\n * plausible guess. Exported so the dossier groups its questions on the same axis the artifact list\n * groups its families (#1454, gap 4): one vocabulary for \"what is this about\".\n */\nexport function specificationFamilyConcern(family: string): WorkbenchSpecificationArtifactConcern {\n return (FAMILY_EDITORIAL as Readonly<Record<string, SpecificationFamilyEditorial | undefined>>)[family]?.concern ?? WorkbenchSpecificationArtifactConcern.UNCLASSIFIED;\n}\n\nconst DECISION_RECORD_FILE_NAME = 'DECISIONS.md';\nconst DIAGRAM_FILE_NAME = 'DIAGRAM.md';\n\n/** One family row, JSON-safe, matching `Workbench_SpecificationArtifact_Schema`. */\nexport interface SpecificationArtifactRow {\n readonly family: string;\n readonly title: string;\n /** Static per-family subtitle — see {@link FAMILY_DESCRIPTIONS}. */\n readonly description: string;\n /** One-line pulse of the landed content, `null` when nothing landed. See {@link deriveContentPulse}. */\n readonly contentSummary: string | null;\n readonly concern: WorkbenchSpecificationArtifactConcern;\n readonly state: WorkbenchSpecificationArtifactState;\n readonly schemaRef: string;\n readonly sourcePath: string | null;\n readonly errorCount: number;\n readonly warnCount: number;\n readonly producedByPlaybookRefs: string[];\n /**\n * The landed family value, RAW — exactly what the specifications package exports, never the\n * validator's parsed output (whose schema `.default()`s would inject content the author never\n * wrote). The workbench's per-family templates render from this; the markdown `document` beside\n * it is their structural fallback. `null` when the family has not landed.\n */\n readonly content: Record<string, unknown> | null;\n readonly document: string | null;\n readonly issues: string | null;\n /** The validator's warnings, structured — see `Workbench_SpecificationArtifact_Schema.warnings`. */\n readonly warnings: { readonly path: string; readonly message: string }[];\n readonly decisionRecord: string | null;\n readonly diagram: string | null;\n}\n\nexport interface SpecificationArtifactsResponse {\n readonly artifacts: SpecificationArtifactRow[];\n readonly trace: {\n readonly families: number;\n readonly landed: number;\n readonly invalid: number;\n readonly evaluatedAt: string;\n };\n}\n\n/**\n * Every playbook whose declared `outputs[].family` is `family`.\n *\n * The durable half of \"what produced this\": a fact about the compiled catalog, carried in git, true\n * whether or not any run's state still exists. A link to the RUN that produced a particular value was\n * deliberately not built — runs, traces and the write register are a per-run cache under\n * `one-source-of-truth.md` rule 5, so a durable artifact pointing into deletable state is dangling by\n * design. The link runs the other way: a run may name what it wrote.\n *\n * Built ONCE per derivation rather than per family: the catalog read is the same 21 files either way,\n * and looping it fifteen times would multiply the only file I/O in this behavior by fifteen.\n */\nfunction buildPlaybookRefsByFamily(): ReadonlyMap<string, string[]> {\n const byFamily = new Map<string, string[]>();\n for (const entry of listFrameworkKnowledgePlaybooks()) {\n const hydrated = getFrameworkKnowledgePlaybook(entry.ref);\n const outputs = (hydrated?.playbook as { outputs?: readonly { family?: unknown }[] } | undefined)?.outputs ?? [];\n for (const output of outputs) {\n if (typeof output?.family !== 'string' || output.family.length === 0) continue;\n const refs = byFamily.get(output.family) ?? [];\n if (!refs.includes(entry.ref)) refs.push(entry.ref);\n byFamily.set(output.family, refs);\n }\n }\n return byFamily;\n}\n\n/**\n * Read a markdown record committed beside a family, or `null`.\n *\n * `null` for an absent file is a FACT with a precise meaning, and the two files mean different things\n * by their absence: no `DIAGRAM.md` means this family has no diagram renderer, while no\n * `DECISIONS.md` means the run that produced it asked the creator nothing — never that no\n * clarification happened. The row's JSDoc carries that distinction to the reader; here both are just\n * a missing file.\n */\nfunction readCommittedRecord(packageRoot: string, familyRelativePath: string, fileName: string): string | null {\n const path = join(packageRoot, dirname(familyRelativePath), fileName);\n if (!existsSync(path)) return null;\n try {\n const content = readFileSync(path, 'utf8').trim();\n return content.length > 0 ? content : null;\n } catch {\n /*\n * A record that cannot be READ is reported as absent rather than failing the derivation. It is\n * supporting provenance beside the artifact, not the artifact — refusing the whole page because\n * one sibling file is unreadable would deny a reviewer the fifteen rows that are fine.\n */\n return null;\n }\n}\n\n/**\n * The validator's ERRORS, rendered for a reader, or `null` when there are none.\n *\n * An error says this artifact no longer satisfies its own contract, and a reviewer must meet it\n * before the prose — the page leads with this block. WARNINGS are not rendered here: they travel as\n * the structured `warnings` list, which the page shows in its own authored words at the foot.\n */\nfunction renderIssues(errorDetails: readonly string[]): string | null {\n if (errorDetails.length === 0) return null;\n const lines = [`**${errorDetails.length} error${errorDetails.length === 1 ? '' : 's'}** — the artifact does not satisfy its own contract.`, ''];\n for (const detail of errorDetails) lines.push(`- ${detail}`);\n return lines.join('\\n').trim();\n}\n\n/**\n * A one-line PULSE of what actually landed — the card's third line, beside the title and subtitle.\n *\n * Each family answers this for itself, in its own `pulse` rule beside its title and concern, because\n * what is worth saying about a landed value is a decision about THAT family: the vision's is its\n * one-liner, the market's is how many ICPs and personas, the brand's is the name and tagline. A\n * generic \"N keys\" would be true of all of them and useful for none.\n *\n * This used to be an eighteen-arm `switch` here, three declarations away from the titles and\n * concerns it belongs with. It is now one field of {@link SpecificationFamilyEditorial}; this\n * function is only the reader those rules are handed.\n *\n * It runs on the RAW landed value, never the validator's parsed output — a schema `.default()` would\n * otherwise inject content the author never wrote and the card would report it as landed. And it\n * runs for an INVALID family too, deliberately: a reader shown \"3 ICPs\" beside a red badge knows\n * more than one shown nothing.\n */\nfunction deriveContentPulse(family: ApplicationSpecificationFamily, snapshot: Record<string, unknown> | readonly unknown[]): string | null {\n const member = (key: string): unknown => (Array.isArray(snapshot) ? undefined : (snapshot as Record<string, unknown>)[key]);\n const read: FamilyPulseReader = {\n count: (key) => (Array.isArray(member(key)) ? (member(key) as unknown[]).length : 0),\n length: () => (Array.isArray(snapshot) ? snapshot.length : 0),\n text: (path) => {\n let value: unknown = snapshot;\n for (const key of path) {\n if (!value || typeof value !== 'object') return null;\n value = (value as Record<string, unknown>)[key];\n }\n return typeof value === 'string' && value.trim().length > 0 ? value.trim() : null;\n },\n parts: (entries) => {\n const present = entries\n .filter(([n]) => n > 0)\n .map(([n, singular, plural]) => `${n} ${n === 1 ? singular : plural ?? `${singular}s`}`);\n return present.length > 0 ? present.join(' · ') : null;\n },\n };\n return FAMILY_EDITORIAL[family].pulse(read);\n}\n\nfunction projectFamily(input: {\n readonly binding: ApplicationSpecificationSemanticSchemaBinding;\n readonly snapshot: unknown;\n readonly packageRoot: string;\n readonly appRelativePackagePrefix: string;\n readonly playbookRefsByFamily: ReadonlyMap<string, string[]>;\n}): SpecificationArtifactRow {\n const { binding, snapshot, packageRoot, appRelativePackagePrefix, playbookRefsByFamily } = input;\n const familyRelativePath = getFamilyPackageRelativePath(binding.family);\n /*\n * ONE lookup, and no fallback — `binding.family` is typed by the vocabulary and `FAMILY_EDITORIAL`\n * is total over it, so the three `?? binding.family` slug fallbacks this replaced are unreachable\n * by construction rather than guarded at runtime. A family with nothing authored cannot compile.\n */\n const editorial = FAMILY_EDITORIAL[binding.family];\n\n const base = {\n family: binding.family,\n title: editorial.title,\n description: editorial.description,\n concern: editorial.concern,\n schemaRef: binding.schemaRef,\n sourcePath: familyRelativePath ? `${appRelativePackagePrefix}/${familyRelativePath}` : null,\n producedByPlaybookRefs: [...(playbookRefsByFamily.get(binding.family) ?? [])],\n };\n\n if (snapshot === undefined || snapshot === null) {\n return {\n ...base,\n state: WorkbenchSpecificationArtifactState.NOT_LANDED,\n errorCount: 0,\n warnCount: 0,\n contentSummary: null,\n content: null,\n document: null,\n issues: null,\n warnings: [],\n decisionRecord: null,\n diagram: null,\n };\n }\n\n const validation = binding.validate(snapshot);\n return {\n ...base,\n state: validation.validation === JourneyArtifactValidationState.VALID\n ? WorkbenchSpecificationArtifactState.LANDED_VALID\n : WorkbenchSpecificationArtifactState.LANDED_INVALID,\n errorCount: validation.errorCount,\n warnCount: validation.warnCount,\n // An ARRAY landed value has a pulse too (the charter set: \"5 expert reviewers\"); only a non-object has none.\n contentSummary: typeof snapshot === 'object' && snapshot !== null\n ? deriveContentPulse(binding.family, snapshot as Record<string, unknown> | readonly unknown[])\n : null,\n /*\n * Both carried from the RAW snapshot, not from the validator's parsed output. The validator\n * parses with the family schema, whose `.default()` members would inject values the author never\n * wrote — a reviewer would then be shown, and could accept, content nobody authored. Mutation-\n * proven on the `document` half (parsed-value render reddens the raw-value pin); `content`\n * follows the same rule for the same reason.\n *\n * Every family binding's `snapshotSchema` is an object EXCEPT `expert-personas`, whose landed value\n * is the charter ARRAY (#572). The row schema types `content` as a record, so an array family carries\n * `content: null` deliberately and is read through its pulse and the review document; anything else\n * non-object is reported rather than smuggled through as a shape the row schema would refuse.\n */\n content: typeof snapshot === 'object' && !Array.isArray(snapshot) ? snapshot as Record<string, unknown> : null,\n document: renderSpecificationFamilyReviewDocument({ title: editorial.title, value: snapshot }),\n issues: renderIssues(validation.errorDetails),\n warnings: validation.warnings.map(({ path, message }) => ({ path, message })),\n decisionRecord: familyRelativePath\n ? readCommittedRecord(packageRoot, familyRelativePath, DECISION_RECORD_FILE_NAME)\n : null,\n diagram: familyRelativePath\n ? readCommittedRecord(packageRoot, familyRelativePath, DIAGRAM_FILE_NAME)\n : null,\n };\n}\n\n/**\n * Project every application-specification family for a human reviewer.\n *\n * `packageRoot` is the specifications package's absolute root, and `appRelativePackagePrefix` its\n * directory name relative to the application — so a row can name a path a reader recognizes\n * (`specifications/src/vision/index.ts`) rather than one that only makes sense inside the package.\n */\nexport function projectSpecificationArtifacts(input: {\n readonly moduleExports: Record<string, unknown>;\n readonly packageRoot: string;\n readonly appRelativePackagePrefix: string;\n readonly evaluatedAt: string;\n}): SpecificationArtifactsResponse {\n const companionExports = resolveSpecificationsCompanionExports(input.moduleExports) as unknown as Record<string, unknown>;\n const playbookRefsByFamily = buildPlaybookRefsByFamily();\n\n const artifacts = APPLICATION_SPECIFICATION_SEMANTIC_SCHEMA_BINDINGS.map((binding) =>\n projectFamily({\n binding,\n /*\n * A family with no `companionExportsField` is a DRAFT — it is not accepted application truth\n * and has no slot to read (`compliance-document-candidate`). It is reported as NOT_LANDED\n * rather than skipped, for the same reason absent families are rows at all: an omitted row and\n * a family that does not exist look identical to a reader.\n */\n snapshot: binding.companionExportsField === undefined\n ? undefined\n : companionExports[binding.companionExportsField],\n packageRoot: input.packageRoot,\n appRelativePackagePrefix: input.appRelativePackagePrefix,\n playbookRefsByFamily,\n }),\n );\n\n return {\n artifacts,\n trace: {\n families: artifacts.length,\n landed: artifacts.filter((artifact) => artifact.state !== WorkbenchSpecificationArtifactState.NOT_LANDED).length,\n invalid: artifacts.filter((artifact) => artifact.state === WorkbenchSpecificationArtifactState.LANDED_INVALID).length,\n evaluatedAt: input.evaluatedAt,\n },\n };\n}\n"]}
|
|
1
|
+
{"version":3,"file":"specification-artifacts.behavior.js","sourceRoot":"","sources":["../../../../../src/core/introspection/subprocess/specification-artifacts.behavior.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAE1C,OAAO,EACL,kDAAkD,EAClD,4BAA4B,EAC5B,uCAAuC,GAExC,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,6BAA6B,EAAE,+BAA+B,EAAE,MAAM,+BAA+B,CAAC;AAC/G,OAAO,EACL,qCAAqC,EACrC,mCAAmC,GACpC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,8BAA8B,EAC9B,8BAA8B,GAC/B,MAAM,oDAAoD,CAAC;AAE5D,OAAO,EAAE,qCAAqC,EAAE,MAAM,gDAAgD,CAAC;AA8GvG,MAAM,gBAAgB,GAAmF;IACvG,CAAC,8BAA8B,CAAC,YAAY,CAAC,EAAE;QAC7C,KAAK,EAAE,QAAQ;QACf,WAAW,EAAE,sFAAsF;QACnG,OAAO,EAAE,qCAAqC,CAAC,MAAM;QACrD,gGAAgG;QAChG,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;KAChD;IACD,CAAC,8BAA8B,CAAC,eAAe,CAAC,EAAE;QAChD,KAAK,EAAE,QAAQ;QACf,WAAW,EAAE,yFAAyF;QACtG,OAAO,EAAE,qCAAqC,CAAC,MAAM;QACrD,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC;YACjC,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,KAAK,CAAC;YACtB,CAAC,KAAK,CAAC,UAAU,CAAC,EAAE,SAAS,CAA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AAkB,EAAE,iBAAiB,CAAC;YACzE,CAAC,CAAC,IAAI;KACT,CAAC;AACJ,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,6BAA6B,CAAC,KAK7C;IACC,MAAM,gBAAgB,GAAG,qCAAqC,CAAC,KAAK,CAAC,aAAa,CAAuC,CAAC;IAC1H,MAAM,oBAAoB,GAAG,yBAAyB,EAAE,CAAC;IAEzD,MAAM,SAAS,GAAG,kDAAkD,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CACnF,aAAa,CAAC;QACZ,OAAO;QACP;;;;;WAKG;QACH,QAAQ,EAAE,OAAO,CAAC,qBAAqB,KAAK,SAAS;YACnD,CAAC,CAAC,SAAS;YACX,CAAC,CAAC,gBAAgB,CAAC,OAAO,CAAC,qBAAqB,CAAC;QACnD,WAAW,EAAE,KAAK,CAAC,WAAW;QAC9B,wBAAwB,EAAE,KAAK,CAAC,wBAAwB;QACxD,oBAAoB;KACrB,CAAC,CACH,CAAC;IAEF,OAAO;QACL,SAAS;QACT,KAAK,EAAE;YACL,QAAQ,EAAE,SAAS,CAAC,MAAM;YAC1B,MAAM,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,KAAK,KAAK,mCAAmC,CAAC,UAAU,CAAC,CAAC,MAAM;YAChH,OAAO,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,KAAK,KAAK,mCAAmC,CAAC,cAAc,CAAC,CAAC,MAAM;YACrH,WAAW,EAAE,KAAK,CAAC,WAAW;SAC/B;KACF,CAAC;AACJ,CAAC","sourcesContent":["import { existsSync, readFileSync } from 'node:fs';\nimport { dirname, join } from 'node:path';\n\nimport {\n APPLICATION_SPECIFICATION_SEMANTIC_SCHEMA_BINDINGS,\n getFamilyPackageRelativePath,\n renderSpecificationFamilyReviewDocument,\n type ApplicationSpecificationSemanticSchemaBinding,\n} from '@wildo-ai/application-creation-runtime';\nimport { getFrameworkKnowledgePlaybook, listFrameworkKnowledgePlaybooks } from '@wildo-ai/framework-knowledge';\nimport {\n WorkbenchSpecificationArtifactConcern,\n WorkbenchSpecificationArtifactState,\n} from '@wildo-ai/platform-core-shared';\nimport {\n ApplicationSpecificationFamily,\n JourneyArtifactValidationState,\n} from '@wildo-ai/saas-specifications/application-creation';\n\nimport { resolveSpecificationsCompanionExports } from './companion-introspection-module-exports.utils';\n\n/**\n * The operator-facing projection of the application's specification families (issue #162).\n *\n * ## What was missing, and what was already there\n *\n * Nine companion behaviors already READ this content — `market-context-for-icp`,\n * `market-render-prompt`, `brand-render-prompt`, `compliance-primary-facts`,\n * `definition-specifications`, `specification-context-parts` and their siblings — and every one of\n * them renders PROSE FOR A LANGUAGE MODEL. The loading and resolution paths were proven; what did\n * not exist was a projection whose consumer is a human. So a creator could not review, compare or\n * revise anything the journey had decided about their product without opening TypeScript files in an\n * editor.\n *\n * Reusing one of those renderers to fill a UI would ship an LLM context block into a human surface.\n * This behavior therefore renders through `renderSpecificationFamilyReviewDocument`, whose only\n * reader is a person.\n *\n * ## Why it REPORTS where `definition-specifications` REFUSES\n *\n * That behavior runs the same validators through the same authority and THROWS on any ERROR-severity\n * issue — correct for a durable load-time guard, and exactly wrong for a review surface: it would\n * make an invalid artifact the one thing a reviewer cannot look at, precisely when they most need to\n * see it. The two cannot disagree about what is VALID, because the validator is the same object; they\n * differ only in what to do about an invalid answer.\n *\n * ## Pure, deterministic, and read-only by construction\n *\n * Reads the authored snapshots off the specifications companion exports, the two committed markdown\n * records beside each family, and the compiled playbook catalog. No LLM, no network, no write, and no\n * state: acceptance of a specification is a human git commit (`.claude/rules/one-source-of-truth.md`\n * rule 2), so there is nowhere here for an acceptance state to accumulate.\n */\n\n/**\n * ONE AUTHORED DECLARATION PER FAMILY — the family's whole editorial identity, in one place.\n *\n * ## What this replaced, and why four places was three too many\n *\n * A family's row-facing decisions were spread over THREE hand-kept maps keyed by slug\n * (`FAMILY_TITLES`, `FAMILY_DESCRIPTIONS`, `FAMILY_CONCERNS`) and an eighteen-arm `switch` inside\n * `deriveContentPulse` — four independent lists over one population, none of them typed, each free\n * to gain a family the others did not. Adding a family meant four edits in four shapes, and\n * forgetting one produced a card titled by its own slug, or unclassified, or with no pulse at all,\n * every one of them silently.\n *\n * A RESOURCE does not work that way: `resourceUIBehavior` is ONE call carrying the icon, the layout,\n * the label rule and the surfaces together, because they are one set of decisions about one thing.\n * This is that shape for a family.\n *\n * ## TOTAL over the vocabulary, so the compiler is the checker\n *\n * `Record<ApplicationSpecificationFamily, …>` with no index signature: a family with no entry is a\n * COMPILE ERROR, and so is a key naming no family. The companion test that asserted the same thing\n * stays and now proves the half a type cannot — that the ENUM still matches the semantic authority's\n * bindings, which are declared in another package.\n *\n * ## Why these four belong together, and NOT beside the schema\n *\n * They are what a reader MEETS: a name, a sentence, the question the family answers, and a one-line\n * pulse of what landed. None of them is semantics — the schema, the validator and the generation\n * contract stay on the authority's binding, which is the resources-config half of this split.\n * Merging the two would put display words in the package that decides whether content is VALID.\n */\ninterface SpecificationFamilyEditorial {\n /**\n * The creator-facing NAME, authored rather than derived from the slug.\n *\n * The two diverge exactly where it matters: `vision-brief` names a product VISION,\n * `compliance-program` an assurance PROGRAMME. Humanizing the slug gives \"Vision brief\" and\n * \"Compliance program\" — accurate about the id, and a worse answer to \"what am I looking at\".\n */\n readonly title: string;\n /**\n * What the family IS, in one sentence a creator recognizes — the card's subtitle.\n *\n * Present whether or not anything landed: on a NOT_LANDED card it is the whole answer to \"why\n * would I care\", and on a landed one it frames the pulse beside it. Written in the creator's\n * vocabulary, never the framework's.\n */\n readonly description: string;\n /** Which question this family answers — the axis the workbench groups its list by. */\n readonly concern: WorkbenchSpecificationArtifactConcern;\n /**\n * This family's own one-line reading of what landed — the card's pulse.\n *\n * REQUIRED, which is the change worth noticing: as a `switch` it had a `default: return null`, so\n * two families (the two governed-document SETS) fell through it and rendered a landed card with\n * nothing on it — indistinguishable from a family whose rule nobody had written. Both have one\n * now, and a twenty-first family cannot be added without one.\n */\n readonly pulse: (read: FamilyPulseReader) => string | null;\n}\n\n/** What a family's pulse rule may ask of its landed snapshot. */\ninterface FamilyPulseReader {\n /** How many entries a top-level collection holds — 0 when absent or not an array. */\n readonly count: (key: string) => number;\n /** How many entries the landed value ITSELF holds when it is a collection (the persona charter set) — 0 otherwise. */\n readonly length: () => number;\n /** A non-empty trimmed string at a path, else null. */\n readonly text: (path: readonly string[]) => string | null;\n /**\n * Counted parts, joined — each entry names its SINGULAR, and the plural defaults to `+s` and is\n * spelled out where English disagrees. \"1 ICPs\" on a live card is what bought that parameter.\n */\n readonly parts: (entries: ReadonlyArray<readonly [number, string, string?]>) => string | null;\n}\n\nconst FAMILY_EDITORIAL: Readonly<Record<ApplicationSpecificationFamily, SpecificationFamilyEditorial>> = {\n [ApplicationSpecificationFamily.VISION_BRIEF]: {\n title: 'Vision',\n description: 'The founding intent — the idea, the problem it answers, and what success looks like.',\n concern: WorkbenchSpecificationArtifactConcern.INTENT,\n /* The one-liner IS the vision; a count of criteria would say nothing about what was decided. */\n pulse: ({ text }) => text(['idea', 'oneLiner']),\n },\n [ApplicationSpecificationFamily.MARKET_SNAPSHOT]: {\n title: 'Market',\n description: 'Who this product is for and how it is positioned — category, ICPs, personas, messaging.',\n concern: WorkbenchSpecificationArtifactConcern.INTENT,\n pulse: ({ count, parts }) => parts([\n [count('icps'), 'ICP'],\n [count('personas'), 'persona'],\n [count('positionings'), 'positioning'],\n [count('tonesOfVoice'), 'tone of voice', 'tones of voice'],\n ]),\n },\n [ApplicationSpecificationFamily.REQUIREMENTS]: {\n title: 'Requirements',\n description: 'What the product must do, functionally and non-functionally, with acceptance criteria.',\n concern: WorkbenchSpecificationArtifactConcern.SCOPE,\n /* Both singulars are their own plurals — \"3 functional\", never \"3 functionals\". */\n pulse: ({ count, parts }) => parts([\n [count('functional'), 'functional', 'functional'],\n [count('nonFunctional'), 'non-functional', 'non-functional'],\n ]),\n },\n [ApplicationSpecificationFamily.FEATURE_DRAFTS]: {\n title: 'Feature drafts',\n description: 'Accepted feature intent — spec-first drafts awaiting their runtime definitions.',\n concern: WorkbenchSpecificationArtifactConcern.SCOPE,\n pulse: ({ count, parts }) => parts([[count('drafts'), 'feature draft']]),\n },\n [ApplicationSpecificationFamily.BUSINESS_MODEL]: {\n title: 'Business model',\n description: 'How the product earns — the revenue model and its pricing plans.',\n concern: WorkbenchSpecificationArtifactConcern.SCOPE,\n /*\n * The revenue model leads because it is the DECISION; the plan count is its consequence. Either\n * half may be absent, so each is allowed to carry the line alone.\n *\n * ## The value is read RAW, and that is a correction\n *\n * This read `revenueModel.toLowerCase().replace(/_/g, ' ')` — inventing a word from a member of\n * `RevenueModelKind`, a real closed enum. That is the defect\n * `.claude/rules/display-text-comes-from-i18n.md` exists for, and it was carried in that check's\n * shrink-only baseline as `specification-artifacts.behavior.ts::separator-to-words`.\n *\n * A pulse is composed SERVER-SIDE into one string on the row; there is no label loop here to ask,\n * so the honest answer is the raw value, which looks unlabelled because it is. The remedy, if the\n * word matters, is to carry the member and let the workbench word it — not to humanize the token\n * where nobody can translate or reword it.\n */\n pulse: ({ count, parts, text }) => {\n const model = text(['revenueModel']);\n const plans = parts([[count('plans'), 'plan']]);\n return model && plans ? `${model} · ${plans}` : model ?? plans;\n },\n },\n [ApplicationSpecificationFamily.ROADMAP]: {\n title: 'Roadmap',\n description: 'The build order — phases, their objectives, and what each one delivers.',\n concern: WorkbenchSpecificationArtifactConcern.DELIVERY,\n pulse: ({ count, parts }) => parts([[count('phases'), 'phase']]),\n },\n [ApplicationSpecificationFamily.DOMAIN_PLAN]: {\n title: 'Domain plan',\n description: 'The domain model as planned — modules, their purposes, and the relationships between resources.',\n concern: WorkbenchSpecificationArtifactConcern.DELIVERY,\n pulse: ({ count, parts }) => parts([[count('modules'), 'module'], [count('relationships'), 'relationship']]),\n },\n [ApplicationSpecificationFamily.BUILD_PLAN]: {\n title: 'Build plan',\n description: 'The task graph the coding lane executes — objectives, targets and prerequisites.',\n concern: WorkbenchSpecificationArtifactConcern.DELIVERY,\n pulse: ({ count, parts }) => parts([[count('tasks'), 'task']]),\n },\n [ApplicationSpecificationFamily.PLACEMENT_PLAN]: {\n title: 'Placement plan',\n description: 'Where every destination sits in the application shell, and why.',\n concern: WorkbenchSpecificationArtifactConcern.DELIVERY,\n pulse: ({ count, parts }) => parts([[count('groups'), 'group'], [count('decisions'), 'decision']]),\n },\n [ApplicationSpecificationFamily.CAPABILITY_COMPOSITION]: {\n title: 'Composition',\n description: 'Which optional packages this application needs — website, documentation portal, workers — and the declaration each decision was read from.',\n /*\n * DELIVERY: the composition decides what the foundation composes, not what the product is — a\n * website follows from a market channel or a brand, never the other way round (#1491).\n */\n concern: WorkbenchSpecificationArtifactConcern.DELIVERY,\n pulse: ({ count, parts }) => parts([[count('scenarioDecisions'), 'decision']]),\n },\n [ApplicationSpecificationFamily.EXPERIENCE_PLAN]: {\n title: 'Experience',\n description: 'The surfaces this application carries beyond its generated screens, how its shell, navigation and palette are composed, and the milestones and guidance that carry a new person through it.',\n concern: WorkbenchSpecificationArtifactConcern.DELIVERY,\n pulse: ({ count, parts }) => parts([\n [count('views'), 'view'],\n [count('configurations'), 'configured surface'],\n [count('milestones'), 'milestone'],\n // \"guidance\" is uncountable; the entries are pieces of it.\n [count('guidance'), 'piece of guidance', 'pieces of guidance'],\n ]),\n },\n [ApplicationSpecificationFamily.APPLICATION_MATURITY]: {\n title: 'Where we stand',\n description: 'One row per requirement this application set itself, the evidence that exists for it, and the stage that follows. A measurement, never a verdict.',\n /*\n * DELIVERY: the reading is about what has been BUILT against what was asked, not about what the\n * product is. It is also the one artifact nobody authors — it is derived and re-derived.\n */\n concern: WorkbenchSpecificationArtifactConcern.DELIVERY,\n /* The STAGE first — it is the reading — with the population that produced it behind it. */\n pulse: ({ count, parts, text }) => {\n const stage = text(['stage']);\n const measured = parts([[count('requirements'), 'requirement']]);\n if (stage === null) return measured;\n return measured === null ? stage : `${stage} · ${measured}`;\n },\n },\n [ApplicationSpecificationFamily.INTEGRATION_PLAN]: {\n title: 'Background & integrations',\n description: 'What this application runs beside its backend — workers it delegates to, schedules that wake on their own — and the outside services it binds.',\n /* DELIVERY: a worker or a minion is part of what the product DOES, not of how it presents itself. */\n concern: WorkbenchSpecificationArtifactConcern.DELIVERY,\n pulse: ({ count, parts }) => parts([[count('workers'), 'worker'], [count('minions'), 'minion'], [count('providerBindings'), 'binding']]),\n },\n [ApplicationSpecificationFamily.DOCUMENTATION_PLAN]: {\n title: 'Documentation',\n description: 'The chapters the documentation portal carries, what each documents in this product, and who it is written for.',\n concern: WorkbenchSpecificationArtifactConcern.IDENTITY,\n pulse: ({ count, parts }) => parts([[count('chapters'), 'chapter']]),\n },\n [ApplicationSpecificationFamily.WEBSITE_PLAN]: {\n title: 'Website',\n description: 'What the marketing site says — its pages, the sections that carry each argument, and the market entries they draw on.',\n /* IDENTITY: the site is how the product presents itself, the same axis as the brand beside it. */\n concern: WorkbenchSpecificationArtifactConcern.IDENTITY,\n pulse: ({ count, parts }) => parts([[count('pages'), 'page']]),\n },\n [ApplicationSpecificationFamily.BRAND_BRIEF]: {\n title: 'Brand',\n description: 'How the product presents itself — name, logo direction and visual tone.',\n concern: WorkbenchSpecificationArtifactConcern.IDENTITY,\n /* The name, and the tagline only if there is a name to attach it to. */\n pulse: ({ text }) => {\n const name = text(['name', 'brandName']);\n const tagline = text(['name', 'tagline']);\n return name ? (tagline ? `${name} — ${tagline}` : name) : null;\n },\n },\n [ApplicationSpecificationFamily.BRAND_NAME_SCREENING]: {\n title: 'Brand names',\n description: 'The names proposed for the brand and what a minimal trademark screening of each found — a screening, not a legal clearance opinion.',\n /* IDENTITY, beside the brand: it decides what the product is called. */\n concern: WorkbenchSpecificationArtifactConcern.IDENTITY,\n pulse: ({ count, parts }) => parts([[count('candidates'), 'candidate']]),\n },\n [ApplicationSpecificationFamily.COMPLIANCE_PROGRAM]: {\n title: 'Assurance programme',\n description: 'The controls this product commits to, and the authorities they answer.',\n concern: WorkbenchSpecificationArtifactConcern.OBLIGATIONS,\n pulse: ({ count, parts }) => parts([\n [count('roleAuthorities'), 'role authority', 'role authorities'],\n [count('capabilityAuthorities'), 'capability authority', 'capability authorities'],\n [count('implementationStatements'), 'implementation statement'],\n ]),\n },\n [ApplicationSpecificationFamily.COMPLIANCE_DOCUMENT_CANDIDATE]: {\n title: 'Governed-document drafts',\n description: 'Drafts of the public governed documents this product must publish.',\n concern: WorkbenchSpecificationArtifactConcern.OBLIGATIONS,\n pulse: ({ count, parts, text }) => {\n const title = text(['title']);\n const sections = parts([[count('sections'), 'section']]);\n return title ? (sections ? `${title} · ${sections}` : title) : sections;\n },\n },\n [ApplicationSpecificationFamily.COMPLIANCE_DOCUMENT_CANDIDATE_SET]: {\n title: 'Draft document collection',\n description: 'All the governed documents your application has drafted, kept together as each document evolves.',\n concern: WorkbenchSpecificationArtifactConcern.OBLIGATIONS,\n /*\n * AUTHORED 2026-09-19. This family had no arm in the switch and took its `default: return null`,\n * so a landed set rendered a card with nothing on it — the same card a family whose rule nobody\n * had written would render. How many documents are drafted is what a reader wants.\n */\n pulse: ({ count, parts }) => parts([[count('candidates'), 'drafted document']]),\n },\n [ApplicationSpecificationFamily.DOCUMENT_PUBLICATION]: {\n title: 'Document publication',\n description: 'Which locales and jurisdictions each governed document publishes in.',\n concern: WorkbenchSpecificationArtifactConcern.OBLIGATIONS,\n pulse: ({ count, parts }) => parts([[count('variants'), 'publication variant']]),\n },\n [ApplicationSpecificationFamily.DOCUMENT_RELEASE_POLICY]: {\n title: 'Document release policy',\n description: 'How each required document may be released — draft, attested, or reviewed.',\n concern: WorkbenchSpecificationArtifactConcern.OBLIGATIONS,\n pulse: ({ count, parts }) => parts([[count('selections'), 'selection']]),\n },\n [ApplicationSpecificationFamily.DOCUMENT_RELEASE_SET]: {\n title: 'Document releases',\n description: 'The document releases composed from your drafts, document definitions and release policies.',\n concern: WorkbenchSpecificationArtifactConcern.OBLIGATIONS,\n /* AUTHORED 2026-09-19 — the second family that fell through the switch's default. */\n pulse: ({ count, parts }) => parts([[count('releases'), 'release']]),\n },\n [ApplicationSpecificationFamily.DOCUMENT_FACTS]: {\n title: 'Document facts',\n description: 'The accepted raw facts governed documents are built from.',\n concern: WorkbenchSpecificationArtifactConcern.OBLIGATIONS,\n pulse: ({ count, parts }) => parts([[count('declarations'), 'declaration']]),\n },\n [ApplicationSpecificationFamily.DOCUMENT_FACTS_AUTHORED]: {\n title: 'Document facts you decide',\n description: 'The facts nobody can derive for you — the ones you decide or have reviewed.',\n concern: WorkbenchSpecificationArtifactConcern.OBLIGATIONS,\n /*\n * The same shape as the derived half, and deliberately its OWN rule rather than a shared switch\n * arm: the two families are separate precisely so a regeneration cannot reach the human's half,\n * and a shared line would be the first place they quietly became one thing again.\n */\n pulse: ({ count, parts }) => parts([[count('declarations'), 'declaration']]),\n },\n [ApplicationSpecificationFamily.PROCESSOR_REGISTER]: {\n title: 'Who else processes your data',\n description: 'Every vendor that handles your users\\' personal data, who they legally are, and where.',\n concern: WorkbenchSpecificationArtifactConcern.OBLIGATIONS,\n pulse: ({ count, parts }) => parts([[count('processors'), 'processor']]),\n },\n [ApplicationSpecificationFamily.RISK_REGISTER]: {\n title: 'What could go wrong',\n description: 'The risks this application carries, how bad each would be, and what you have decided to do about them.',\n /*\n * OBLIGATIONS, beside the programme rather than under it. A programme states which control\n * objectives the application CLAIMS; a register states which exposures it CARRIES. They inform\n * each other and answer different questions — the family schema argues the same split — so the\n * register belongs in the same concern and is not folded into the programme.\n */\n concern: WorkbenchSpecificationArtifactConcern.OBLIGATIONS,\n pulse: ({ count, parts }) => parts([[count('entries'), 'risk']]),\n },\n [ApplicationSpecificationFamily.CREATOR_INPUTS]: {\n title: 'What you told us',\n description: 'Your answers to the questions the creation steps asked — kept, so nothing asks twice.',\n /*\n * INTENT: the dossier is the creator's own words about the product, the same axis as the vision\n * they feed. It is the only family here that nobody PRODUCES, and its pulse counts answers rather\n * than an artifact's parts.\n */\n concern: WorkbenchSpecificationArtifactConcern.INTENT,\n pulse: ({ count, parts }) => parts([[count('answers'), 'answer']]),\n },\n [ApplicationSpecificationFamily.EXPERT_PERSONAS]: {\n title: 'Who reviews the work',\n description: 'The expert reviewers derived for this application — the panels that decide placement and judge the logo.',\n /*\n * DELIVERY: a charter is part of HOW the application gets built — the panels convene at placement and at\n * the logo step — not a statement about the product's intent, scope, identity or obligations (#572).\n * The landed value is the charter ARRAY, so the pulse counts the array itself: the aggregator exports\n * `ExpertPersonaCharter[]`, and a reader keyed on a top-level collection name would count nothing.\n */\n concern: WorkbenchSpecificationArtifactConcern.DELIVERY,\n pulse: ({ length, parts }) => parts([[length(), 'expert reviewer']]),\n },\n};\n\n/** The companion records a landing writes beside a family's own `index.ts`. */\n/**\n * The question a family answers — its CONCERN — for a family named by id, as the workbench groups\n * by it. A family this table does not know answers `UNCLASSIFIED`, the visible bucket, never a\n * plausible guess. Exported so the dossier groups its questions on the same axis the artifact list\n * groups its families (#1454, gap 4): one vocabulary for \"what is this about\".\n */\nexport function specificationFamilyConcern(family: string): WorkbenchSpecificationArtifactConcern {\n return (FAMILY_EDITORIAL as Readonly<Record<string, SpecificationFamilyEditorial | undefined>>)[family]?.concern ?? WorkbenchSpecificationArtifactConcern.UNCLASSIFIED;\n}\n\nconst DECISION_RECORD_FILE_NAME = 'DECISIONS.md';\nconst DIAGRAM_FILE_NAME = 'DIAGRAM.md';\n\n/** One family row, JSON-safe, matching `Workbench_SpecificationArtifact_Schema`. */\nexport interface SpecificationArtifactRow {\n readonly family: string;\n readonly title: string;\n /** Static per-family subtitle — see {@link FAMILY_DESCRIPTIONS}. */\n readonly description: string;\n /** One-line pulse of the landed content, `null` when nothing landed. See {@link deriveContentPulse}. */\n readonly contentSummary: string | null;\n readonly concern: WorkbenchSpecificationArtifactConcern;\n readonly state: WorkbenchSpecificationArtifactState;\n readonly schemaRef: string;\n readonly sourcePath: string | null;\n readonly errorCount: number;\n readonly warnCount: number;\n readonly producedByPlaybookRefs: string[];\n /**\n * The landed family value, RAW — exactly what the specifications package exports, never the\n * validator's parsed output (whose schema `.default()`s would inject content the author never\n * wrote). The workbench's per-family templates render from this; the markdown `document` beside\n * it is their structural fallback. `null` when the family has not landed.\n */\n readonly content: Record<string, unknown> | null;\n readonly document: string | null;\n readonly issues: string | null;\n /** The validator's warnings, structured — see `Workbench_SpecificationArtifact_Schema.warnings`. */\n readonly warnings: { readonly path: string; readonly message: string }[];\n readonly decisionRecord: string | null;\n readonly diagram: string | null;\n}\n\nexport interface SpecificationArtifactsResponse {\n readonly artifacts: SpecificationArtifactRow[];\n readonly trace: {\n readonly families: number;\n readonly landed: number;\n readonly invalid: number;\n readonly evaluatedAt: string;\n };\n}\n\n/**\n * Every playbook whose declared `outputs[].family` is `family`.\n *\n * The durable half of \"what produced this\": a fact about the compiled catalog, carried in git, true\n * whether or not any run's state still exists. A link to the RUN that produced a particular value was\n * deliberately not built — runs, traces and the write register are a per-run cache under\n * `one-source-of-truth.md` rule 5, so a durable artifact pointing into deletable state is dangling by\n * design. The link runs the other way: a run may name what it wrote.\n *\n * Built ONCE per derivation rather than per family: the catalog read is the same 21 files either way,\n * and looping it fifteen times would multiply the only file I/O in this behavior by fifteen.\n */\nfunction buildPlaybookRefsByFamily(): ReadonlyMap<string, string[]> {\n const byFamily = new Map<string, string[]>();\n for (const entry of listFrameworkKnowledgePlaybooks()) {\n const hydrated = getFrameworkKnowledgePlaybook(entry.ref);\n const outputs = (hydrated?.playbook as { outputs?: readonly { family?: unknown }[] } | undefined)?.outputs ?? [];\n for (const output of outputs) {\n if (typeof output?.family !== 'string' || output.family.length === 0) continue;\n const refs = byFamily.get(output.family) ?? [];\n if (!refs.includes(entry.ref)) refs.push(entry.ref);\n byFamily.set(output.family, refs);\n }\n }\n return byFamily;\n}\n\n/**\n * Read a markdown record committed beside a family, or `null`.\n *\n * `null` for an absent file is a FACT with a precise meaning, and the two files mean different things\n * by their absence: no `DIAGRAM.md` means this family has no diagram renderer, while no\n * `DECISIONS.md` means the run that produced it asked the creator nothing — never that no\n * clarification happened. The row's JSDoc carries that distinction to the reader; here both are just\n * a missing file.\n */\nfunction readCommittedRecord(packageRoot: string, familyRelativePath: string, fileName: string): string | null {\n const path = join(packageRoot, dirname(familyRelativePath), fileName);\n if (!existsSync(path)) return null;\n try {\n const content = readFileSync(path, 'utf8').trim();\n return content.length > 0 ? content : null;\n } catch {\n /*\n * A record that cannot be READ is reported as absent rather than failing the derivation. It is\n * supporting provenance beside the artifact, not the artifact — refusing the whole page because\n * one sibling file is unreadable would deny a reviewer the fifteen rows that are fine.\n */\n return null;\n }\n}\n\n/**\n * The validator's ERRORS, rendered for a reader, or `null` when there are none.\n *\n * An error says this artifact no longer satisfies its own contract, and a reviewer must meet it\n * before the prose — the page leads with this block. WARNINGS are not rendered here: they travel as\n * the structured `warnings` list, which the page shows in its own authored words at the foot.\n */\nfunction renderIssues(errorDetails: readonly string[]): string | null {\n if (errorDetails.length === 0) return null;\n const lines = [`**${errorDetails.length} error${errorDetails.length === 1 ? '' : 's'}** — the artifact does not satisfy its own contract.`, ''];\n for (const detail of errorDetails) lines.push(`- ${detail}`);\n return lines.join('\\n').trim();\n}\n\n/**\n * A one-line PULSE of what actually landed — the card's third line, beside the title and subtitle.\n *\n * Each family answers this for itself, in its own `pulse` rule beside its title and concern, because\n * what is worth saying about a landed value is a decision about THAT family: the vision's is its\n * one-liner, the market's is how many ICPs and personas, the brand's is the name and tagline. A\n * generic \"N keys\" would be true of all of them and useful for none.\n *\n * This used to be an eighteen-arm `switch` here, three declarations away from the titles and\n * concerns it belongs with. It is now one field of {@link SpecificationFamilyEditorial}; this\n * function is only the reader those rules are handed.\n *\n * It runs on the RAW landed value, never the validator's parsed output — a schema `.default()` would\n * otherwise inject content the author never wrote and the card would report it as landed. And it\n * runs for an INVALID family too, deliberately: a reader shown \"3 ICPs\" beside a red badge knows\n * more than one shown nothing.\n */\nfunction deriveContentPulse(family: ApplicationSpecificationFamily, snapshot: Record<string, unknown> | readonly unknown[]): string | null {\n const member = (key: string): unknown => (Array.isArray(snapshot) ? undefined : (snapshot as Record<string, unknown>)[key]);\n const read: FamilyPulseReader = {\n count: (key) => (Array.isArray(member(key)) ? (member(key) as unknown[]).length : 0),\n length: () => (Array.isArray(snapshot) ? snapshot.length : 0),\n text: (path) => {\n let value: unknown = snapshot;\n for (const key of path) {\n if (!value || typeof value !== 'object') return null;\n value = (value as Record<string, unknown>)[key];\n }\n return typeof value === 'string' && value.trim().length > 0 ? value.trim() : null;\n },\n parts: (entries) => {\n const present = entries\n .filter(([n]) => n > 0)\n .map(([n, singular, plural]) => `${n} ${n === 1 ? singular : plural ?? `${singular}s`}`);\n return present.length > 0 ? present.join(' · ') : null;\n },\n };\n return FAMILY_EDITORIAL[family].pulse(read);\n}\n\nfunction projectFamily(input: {\n readonly binding: ApplicationSpecificationSemanticSchemaBinding;\n readonly snapshot: unknown;\n readonly packageRoot: string;\n readonly appRelativePackagePrefix: string;\n readonly playbookRefsByFamily: ReadonlyMap<string, string[]>;\n}): SpecificationArtifactRow {\n const { binding, snapshot, packageRoot, appRelativePackagePrefix, playbookRefsByFamily } = input;\n const familyRelativePath = getFamilyPackageRelativePath(binding.family);\n /*\n * ONE lookup, and no fallback — `binding.family` is typed by the vocabulary and `FAMILY_EDITORIAL`\n * is total over it, so the three `?? binding.family` slug fallbacks this replaced are unreachable\n * by construction rather than guarded at runtime. A family with nothing authored cannot compile.\n */\n const editorial = FAMILY_EDITORIAL[binding.family];\n\n const base = {\n family: binding.family,\n title: editorial.title,\n description: editorial.description,\n concern: editorial.concern,\n schemaRef: binding.schemaRef,\n sourcePath: familyRelativePath ? `${appRelativePackagePrefix}/${familyRelativePath}` : null,\n producedByPlaybookRefs: [...(playbookRefsByFamily.get(binding.family) ?? [])],\n };\n\n if (snapshot === undefined || snapshot === null) {\n return {\n ...base,\n state: WorkbenchSpecificationArtifactState.NOT_LANDED,\n errorCount: 0,\n warnCount: 0,\n contentSummary: null,\n content: null,\n document: null,\n issues: null,\n warnings: [],\n decisionRecord: null,\n diagram: null,\n };\n }\n\n const validation = binding.validate(snapshot);\n return {\n ...base,\n state: validation.validation === JourneyArtifactValidationState.VALID\n ? WorkbenchSpecificationArtifactState.LANDED_VALID\n : WorkbenchSpecificationArtifactState.LANDED_INVALID,\n errorCount: validation.errorCount,\n warnCount: validation.warnCount,\n // An ARRAY landed value has a pulse too (the charter set: \"5 expert reviewers\"); only a non-object has none.\n contentSummary: typeof snapshot === 'object' && snapshot !== null\n ? deriveContentPulse(binding.family, snapshot as Record<string, unknown> | readonly unknown[])\n : null,\n /*\n * Both carried from the RAW snapshot, not from the validator's parsed output. The validator\n * parses with the family schema, whose `.default()` members would inject values the author never\n * wrote — a reviewer would then be shown, and could accept, content nobody authored. Mutation-\n * proven on the `document` half (parsed-value render reddens the raw-value pin); `content`\n * follows the same rule for the same reason.\n *\n * Every family binding's `snapshotSchema` is an object EXCEPT `expert-personas`, whose landed value\n * is the charter ARRAY (#572). The row schema types `content` as a record, so an array family carries\n * `content: null` deliberately and is read through its pulse and the review document; anything else\n * non-object is reported rather than smuggled through as a shape the row schema would refuse.\n */\n content: typeof snapshot === 'object' && !Array.isArray(snapshot) ? snapshot as Record<string, unknown> : null,\n document: renderSpecificationFamilyReviewDocument({ title: editorial.title, value: snapshot }),\n issues: renderIssues(validation.errorDetails),\n warnings: validation.warnings.map(({ path, message }) => ({ path, message })),\n decisionRecord: familyRelativePath\n ? readCommittedRecord(packageRoot, familyRelativePath, DECISION_RECORD_FILE_NAME)\n : null,\n diagram: familyRelativePath\n ? readCommittedRecord(packageRoot, familyRelativePath, DIAGRAM_FILE_NAME)\n : null,\n };\n}\n\n/**\n * Project every application-specification family for a human reviewer.\n *\n * `packageRoot` is the specifications package's absolute root, and `appRelativePackagePrefix` its\n * directory name relative to the application — so a row can name a path a reader recognizes\n * (`specifications/src/vision/index.ts`) rather than one that only makes sense inside the package.\n */\nexport function projectSpecificationArtifacts(input: {\n readonly moduleExports: Record<string, unknown>;\n readonly packageRoot: string;\n readonly appRelativePackagePrefix: string;\n readonly evaluatedAt: string;\n}): SpecificationArtifactsResponse {\n const companionExports = resolveSpecificationsCompanionExports(input.moduleExports) as unknown as Record<string, unknown>;\n const playbookRefsByFamily = buildPlaybookRefsByFamily();\n\n const artifacts = APPLICATION_SPECIFICATION_SEMANTIC_SCHEMA_BINDINGS.map((binding) =>\n projectFamily({\n binding,\n /*\n * A family with no `companionExportsField` is a DRAFT — it is not accepted application truth\n * and has no slot to read (`compliance-document-candidate`). It is reported as NOT_LANDED\n * rather than skipped, for the same reason absent families are rows at all: an omitted row and\n * a family that does not exist look identical to a reader.\n */\n snapshot: binding.companionExportsField === undefined\n ? undefined\n : companionExports[binding.companionExportsField],\n packageRoot: input.packageRoot,\n appRelativePackagePrefix: input.appRelativePackagePrefix,\n playbookRefsByFamily,\n }),\n );\n\n return {\n artifacts,\n trace: {\n families: artifacts.length,\n landed: artifacts.filter((artifact) => artifact.state !== WorkbenchSpecificationArtifactState.NOT_LANDED).length,\n invalid: artifacts.filter((artifact) => artifact.state === WorkbenchSpecificationArtifactState.LANDED_INVALID).length,\n evaluatedAt: input.evaluatedAt,\n },\n };\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"specification-elements.behavior.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"specification-elements.behavior.d.ts","sourceRoot":"","sources":["../../../../../src/core/introspection/subprocess/specification-elements.behavior.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,8BAA8B,EAM9B,sBAAsB,EAEtB,KAAK,oBAAoB,EACzB,KAAK,gCAAgC,EACtC,MAAM,wCAAwC,CAAC;AAMhD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,EAAE,EAAE,sBAAsB,CAAC;IACpC,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,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SAAS,gCAAgC,EAAE,CAAC;CAClE,CAAC;AAGN;;;;;GAKG;AACH,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,OAAO,GAAG,4BAA4B,CA4D9F;AAED,iHAAiH;AACjH,eAAO,MAAM,oCAAoC,QAKN,CAAC;AAE5C,wBAAgB,4BAA4B,CAAC,KAAK,EAAE;IAClD,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChD,QAAQ,CAAC,OAAO,EAAE,4BAA4B,CAAC;IAC/C,mGAAmG;IACnG,QAAQ,CAAC,mBAAmB,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC7D,GAAG,6BAA6B,CAiChC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"specification-elements.behavior.js","sourceRoot":"","sources":["../../../../../../src/core/introspection/subprocess/specification-elements.behavior.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,8BAA8B,EAC9B,uCAAuC,EACvC,WAAW,EACX,mBAAmB,EACnB,UAAU,EACV,eAAe,EACf,sBAAsB,GAIvB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,qCAAqC,EAAE,MAAM,oDAAoD,CAAC;AAE3G,OAAO,EAAE,iCAAiC,EAAE,MAAM,0CAA0C,CAAC;AAC7F,OAAO,EAAE,qCAAqC,EAAE,MAAM,gDAAgD,CAAC;AAyDvG;;;;;GAKG;AACH,MAAM,UAAU,iCAAiC,CAAC,KAAc;IAC9D,IAAI,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACxE,MAAM,IAAI,iCAAiC,CAAC,oFAAoF,CAAC,CAAC;IACpI,CAAC;IACD,MAAM,GAAG,GAAG,KAAgC,CAAC;IAC7C,MAAM,EAAE,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC;IAC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AAE,OAAO,CAAC,KAAK;QACpB,IAAI,EAAE,OAAO,CAAC,IAAI;QAClB,GAAG,CAAC,OAAO,CAAC,QAAQ,KAAK,sBAAsB,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,sBAAsB,CAAC,KAAc,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KAClH,CAAC;AACJ,CAAC","sourcesContent":["import {\n DecidedAspectOperation,\n DecidedAspectRelationDirection,\n decidedFamilyValuesFromCompanionExports,\n getElements,\n indexDecidedAspects,\n mapAspects,\n relatedElements,\n DecidedElementStanding,\n type DecidedAspectElement,\n type DecidedAspectMapLine,\n type DecidedAspectUnresolvedReference,\n} from '@wildo-ai/application-creation-runtime';\nimport { DECIDED_ELEMENTS_MAXIMUM_RELATED_HOPS } from '@wildo-ai/saas-specifications/application-creation';\n\nimport { IntrospectionInputValidationError } from '../models/companion-introspection.models';\nimport { resolveSpecificationsCompanionExports } from './companion-introspection-module-exports.utils';\n\n/**\n * SPECIFICATION ELEMENTS — MAP, GET and RELATED over an application's decided elements, for an agent\n * that has tools (#1418).\n *\n * `family-aspects` answers the same questions for the workbench as ONE unfiltered dump, and its\n * forty resources depend on that contract, so it stays as it is. This behavior is the PARAMETERISED\n * door: an agent first asks for the MAP (one `{aspectKey, family, ref, label}` entry per element, a fraction of the\n * families' size), then GETs the few elements it needs, then follows RELATED references from them.\n * All three are answered by the one index in `@wildo-ai/application-creation-runtime`\n * (`indexDecidedAspects`), so this door and every brief the runtime composes agree on identity,\n * membership routing and dangling references.\n *\n * ## Who may call it\n *\n * Decision #251: a PULL door, for coding and research agents that already hold tools. The\n * structured-generation step is never given tools; it receives elements only through the input\n * declarations resolved before its brief is composed (`inputs[].aspects`, #1420).\n *\n * ## What it reads\n *\n * The COMPILED companion exports of the specifications package, like every introspection behavior —\n * an unsaved or unemitted edit is not represented, and the CLI header says so.\n */\n\nexport interface SpecificationElementsRequest {\n readonly op: DecidedAspectOperation;\n readonly families?: readonly string[];\n readonly aspectKeys?: readonly string[];\n readonly refs?: readonly string[];\n readonly hops?: number;\n readonly direction?: DecidedAspectRelationDirection;\n}\n\n/** One element as the door returns it: identity, label and the item as authored. */\nexport interface SpecificationElementView {\n readonly aspectKey: string;\n readonly family: string;\n readonly ref: string;\n readonly label: string;\n readonly item: Readonly<Record<string, unknown>>;\n /** Present only on a DRAFT element: committed, not accepted truth (#1426). Never treat it as released. */\n readonly standing?: DecidedElementStanding.DRAFT;\n}\n\nexport type SpecificationElementsResponse =\n | { readonly op: DecidedAspectOperation.MAP; readonly total: number; readonly lines: readonly DecidedAspectMapLine[] }\n | { readonly op: DecidedAspectOperation.GET; readonly elements: readonly SpecificationElementView[]; readonly unmatched: readonly string[] }\n | {\n readonly op: DecidedAspectOperation.RELATED;\n readonly elements: readonly SpecificationElementView[];\n readonly unmatched: readonly string[];\n readonly unresolved: readonly DecidedAspectUnresolvedReference[];\n };\n\n\n/**\n * Validate a raw introspection input into a request, refusing with a message that names the fix.\n *\n * Refusal rather than a default for a missing `op`: a door that guesses would answer a question the\n * caller did not ask, and the whole point of this one is to return LESS than a dump.\n */\nexport function parseSpecificationElementsRequest(input: unknown): SpecificationElementsRequest {\n if (input === null || typeof input !== 'object' || Array.isArray(input)) {\n throw new IntrospectionInputValidationError('specification-elements input must be an object: {\"op\":\"map\"|\"get\"|\"related\", ...}.');\n }\n const raw = input as Record<string, unknown>;\n const op = raw['op'];\n if (!Object.values(DecidedAspectOperation).includes(op as DecidedAspectOperation)) {\n throw new IntrospectionInputValidationError(`specification-elements \\`op\\` must be one of ${Object.values(DecidedAspectOperation).join(', ')}.`);\n }\n const stringList = (key: string): readonly string[] | undefined => {\n const value = raw[key];\n if (value === undefined) return undefined;\n if (!Array.isArray(value) || value.length === 0 || !value.every((entry) => typeof entry === 'string' && entry.length > 0)) {\n throw new IntrospectionInputValidationError(`specification-elements \\`${key}\\` must be a non-empty array of non-empty strings.`);\n }\n return value as string[];\n };\n const families = stringList('families');\n const aspectKeys = stringList('aspectKeys');\n const refs = stringList('refs');\n const hopsValue = raw['hops'];\n if (hopsValue !== undefined && (!Number.isInteger(hopsValue) || (hopsValue as number) < 1 || (hopsValue as number) > DECIDED_ELEMENTS_MAXIMUM_RELATED_HOPS)) {\n throw new IntrospectionInputValidationError(`specification-elements \\`hops\\` must be an integer from 1 to ${DECIDED_ELEMENTS_MAXIMUM_RELATED_HOPS}.`);\n }\n const directionValue = raw['direction'];\n if (directionValue !== undefined && !Object.values(DecidedAspectRelationDirection).includes(directionValue as DecidedAspectRelationDirection)) {\n throw new IntrospectionInputValidationError(`specification-elements \\`direction\\` must be one of ${Object.values(DecidedAspectRelationDirection).join(', ')}.`);\n }\n /*\n * Refuse a key the operation does not read. A door that silently dropped one would answer a narrower\n * or wider question than the caller asked — `get` with refs AND aspectKeys used to ignore the aspects.\n */\n const applicableKeys: Record<DecidedAspectOperation, readonly string[]> = {\n [DecidedAspectOperation.MAP]: ['op', 'families', 'aspectKeys'],\n [DecidedAspectOperation.GET]: ['op', 'refs', 'aspectKeys'],\n [DecidedAspectOperation.RELATED]: ['op', 'refs', 'aspectKeys', 'hops', 'direction'],\n };\n const inapplicable = Object.keys(raw).filter((key) => !applicableKeys[op as DecidedAspectOperation].includes(key));\n if (inapplicable.length > 0) {\n throw new IntrospectionInputValidationError(`specification-elements \\`${String(op)}\\` does not read ${inapplicable.map((key) => `\\`${key}\\``).join(', ')}; `\n + `it reads ${applicableKeys[op as DecidedAspectOperation].filter((key) => key !== 'op').map((key) => `\\`${key}\\``).join(', ')}.`);\n }\n if (op === DecidedAspectOperation.GET && refs && aspectKeys) {\n throw new IntrospectionInputValidationError('specification-elements `get` takes `refs` OR `aspectKeys`, not both — get by ref, or get whole aspects.');\n }\n const request: SpecificationElementsRequest = {\n op: op as DecidedAspectOperation,\n ...(families ? { families } : {}),\n ...(aspectKeys ? { aspectKeys } : {}),\n ...(refs ? { refs } : {}),\n ...(hopsValue !== undefined ? { hops: hopsValue as number } : {}),\n ...(directionValue !== undefined ? { direction: directionValue as DecidedAspectRelationDirection } : {}),\n };\n if (request.op === DecidedAspectOperation.GET && !request.refs && !request.aspectKeys) {\n throw new IntrospectionInputValidationError('specification-elements `get` needs `refs` or `aspectKeys` — ask for the `map` first to learn the refs.');\n }\n if (request.op === DecidedAspectOperation.RELATED && !request.refs) {\n throw new IntrospectionInputValidationError('specification-elements `related` needs `refs` — the elements to follow references from.');\n }\n return request;\n}\n\n/** The input's shape, in one line — published by the behavior catalog so a caller can learn it from the door. */\nexport const SPECIFICATION_ELEMENTS_INPUT_SUMMARY =\n '{\"op\":\"map\", \"families\"?:string[], \"aspectKeys\"?:string[]} | {\"op\":\"get\", \"refs\":string[]} | '\n + '{\"op\":\"get\", \"aspectKeys\":string[]} | {\"op\":\"related\", \"refs\":string[], \"aspectKeys\"?:string[], '\n + `\"hops\"?:1..${DECIDED_ELEMENTS_MAXIMUM_RELATED_HOPS}, \"direction\"?`\n + ':\"outgoing\"|\"incoming\"|\"both\"} — related keeps only aspectKeys when given; '\n + 'a key an op does not read is refused.';\n\nexport function projectSpecificationElements(input: {\n readonly moduleExports: Record<string, unknown>;\n readonly request: SpecificationElementsRequest;\n /** The landed DRAFT families (`loadDraftFamilyValues`) — indexed, and marked as drafts (#1426). */\n readonly draftValuesByFamily?: ReadonlyMap<string, unknown>;\n}): SpecificationElementsResponse {\n const companionExports = resolveSpecificationsCompanionExports(input.moduleExports) as unknown as Record<string, unknown>;\n const index = indexDecidedAspects(decidedFamilyValuesFromCompanionExports(companionExports), {\n ...(input.draftValuesByFamily ? { drafts: Object.fromEntries(input.draftValuesByFamily) } : {}),\n });\n const { request } = input;\n\n switch (request.op) {\n case DecidedAspectOperation.MAP: {\n const lines = mapAspects(index, {\n ...(request.families ? { families: request.families } : {}),\n ...(request.aspectKeys ? { aspectKeys: request.aspectKeys } : {}),\n });\n return { op: DecidedAspectOperation.MAP, total: lines.length, lines };\n }\n case DecidedAspectOperation.GET: {\n const result = getElements(index, request.refs ? { refs: request.refs } : { aspectKeys: request.aspectKeys ?? [] });\n return { op: DecidedAspectOperation.GET, elements: result.elements.map(toView), unmatched: result.unmatched };\n }\n case DecidedAspectOperation.RELATED: {\n const result = relatedElements(index, request.refs ?? [], {\n ...(request.hops !== undefined ? { hops: request.hops } : {}),\n ...(request.aspectKeys ? { targetAspects: request.aspectKeys } : {}),\n ...(request.direction !== undefined ? { direction: request.direction } : {}),\n });\n return {\n op: DecidedAspectOperation.RELATED,\n elements: result.elements.map(toView),\n unmatched: result.unmatched,\n unresolved: result.unresolved,\n };\n }\n }\n}\n\n/** The routed `references` stay internal: the item already carries every reference as authored. */\nfunction toView(element: DecidedAspectElement): SpecificationElementView {\n return {\n aspectKey: element.aspectKey,\n family: element.family,\n ref: element.ref,\n label: element.label,\n item: element.item,\n ...(element.standing === DecidedElementStanding.DRAFT ? { standing: DecidedElementStanding.DRAFT as const } : {}),\n };\n}\n"]}
|
|
1
|
+
{"version":3,"file":"specification-elements.behavior.js","sourceRoot":"","sources":["../../../../../src/core/introspection/subprocess/specification-elements.behavior.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,8BAA8B,EAC9B,uCAAuC,EACvC,WAAW,EACX,mBAAmB,EACnB,UAAU,EACV,eAAe,EACf,sBAAsB,GAIvB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,qCAAqC,EAAE,MAAM,oDAAoD,CAAC;AAE3G,OAAO,EAAE,iCAAiC,EAAE,MAAM,0CAA0C,CAAC;AAC7F,OAAO,EAAE,qCAAqC,EAAE,MAAM,gDAAgD,CAAC;AAyDvG;;;;;GAKG;AACH,MAAM,UAAU,iCAAiC,CAAC,KAAc;IAC9D,IAAI,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACxE,MAAM,IAAI,iCAAiC,CAAC,oFAAoF,CAAC,CAAC;IACpI,CAAC;IACD,MAAM,GAA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MAAM,EAAE,OAAO,CAAC,MAAM;QACtB,GAAG,EAAE,OAAO,CAAC,GAAG;QAChB,KAAK,EAAE,OAAO,CAAC,KAAK;QACpB,IAAI,EAAE,OAAO,CAAC,IAAI;QAClB,GAAG,CAAC,OAAO,CAAC,QAAQ,KAAK,sBAAsB,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,sBAAsB,CAAC,KAAc,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KAClH,CAAC;AACJ,CAAC","sourcesContent":["import {\n DecidedAspectOperation,\n DecidedAspectRelationDirection,\n decidedFamilyValuesFromCompanionExports,\n getElements,\n indexDecidedAspects,\n mapAspects,\n relatedElements,\n DecidedElementStanding,\n type DecidedAspectElement,\n type DecidedAspectMapLine,\n type DecidedAspectUnresolvedReference,\n} from '@wildo-ai/application-creation-runtime';\nimport { DECIDED_ELEMENTS_MAXIMUM_RELATED_HOPS } from '@wildo-ai/saas-specifications/application-creation';\n\nimport { IntrospectionInputValidationError } from '../models/companion-introspection.models';\nimport { resolveSpecificationsCompanionExports } from './companion-introspection-module-exports.utils';\n\n/**\n * SPECIFICATION ELEMENTS — MAP, GET and RELATED over an application's decided elements, for an agent\n * that has tools (#1418).\n *\n * `family-aspects` answers the same questions for the workbench as ONE unfiltered dump, and its\n * forty resources depend on that contract, so it stays as it is. This behavior is the PARAMETERISED\n * door: an agent first asks for the MAP (one `{aspectKey, family, ref, label}` entry per element, a fraction of the\n * families' size), then GETs the few elements it needs, then follows RELATED references from them.\n * All three are answered by the one index in `@wildo-ai/application-creation-runtime`\n * (`indexDecidedAspects`), so this door and every brief the runtime composes agree on identity,\n * membership routing and dangling references.\n *\n * ## Who may call it\n *\n * Decision #251: a PULL door, for coding and research agents that already hold tools. The\n * structured-generation step is never given tools; it receives elements only through the input\n * declarations resolved before its brief is composed (`inputs[].aspects`, #1420).\n *\n * ## What it reads\n *\n * The COMPILED companion exports of the specifications package, like every introspection behavior —\n * an unsaved or unemitted edit is not represented, and the CLI header says so.\n */\n\nexport interface SpecificationElementsRequest {\n readonly op: DecidedAspectOperation;\n readonly families?: readonly string[];\n readonly aspectKeys?: readonly string[];\n readonly refs?: readonly string[];\n readonly hops?: number;\n readonly direction?: DecidedAspectRelationDirection;\n}\n\n/** One element as the door returns it: identity, label and the item as authored. */\nexport interface SpecificationElementView {\n readonly aspectKey: string;\n readonly family: string;\n readonly ref: string;\n readonly label: string;\n readonly item: Readonly<Record<string, unknown>>;\n /** Present only on a DRAFT element: committed, not accepted truth (#1426). Never treat it as released. */\n readonly standing?: DecidedElementStanding.DRAFT;\n}\n\nexport type SpecificationElementsResponse =\n | { readonly op: DecidedAspectOperation.MAP; readonly total: number; readonly lines: readonly DecidedAspectMapLine[] }\n | { readonly op: DecidedAspectOperation.GET; readonly elements: readonly SpecificationElementView[]; readonly unmatched: readonly string[] }\n | {\n readonly op: DecidedAspectOperation.RELATED;\n readonly elements: readonly SpecificationElementView[];\n readonly unmatched: readonly string[];\n readonly unresolved: readonly DecidedAspectUnresolvedReference[];\n };\n\n\n/**\n * Validate a raw introspection input into a request, refusing with a message that names the fix.\n *\n * Refusal rather than a default for a missing `op`: a door that guesses would answer a question the\n * caller did not ask, and the whole point of this one is to return LESS than a dump.\n */\nexport function parseSpecificationElementsRequest(input: unknown): SpecificationElementsRequest {\n if (input === null || typeof input !== 'object' || Array.isArray(input)) {\n throw new IntrospectionInputValidationError('specification-elements input must be an object: {\"op\":\"map\"|\"get\"|\"related\", ...}.');\n }\n const raw = input as Record<string, unknown>;\n const op = raw['op'];\n if (!Object.values(DecidedAspectOperation).includes(op as DecidedAspectOperation)) {\n throw new IntrospectionInputValidationError(`specification-elements \\`op\\` must be one of ${Object.values(DecidedAspectOperation).join(', ')}.`);\n }\n const stringList = (key: string): readonly string[] | undefined => {\n const value = raw[key];\n if (value === undefined) return undefined;\n if (!Array.isArray(value) || value.length === 0 || !value.every((entry) => typeof entry === 'string' && entry.length > 0)) {\n throw new IntrospectionInputValidationError(`specification-elements \\`${key}\\` must be a non-empty array of non-empty strings.`);\n }\n return value as string[];\n };\n const families = stringList('families');\n const aspectKeys = stringList('aspectKeys');\n const refs = stringList('refs');\n const hopsValue = raw['hops'];\n if (hopsValue !== undefined && (!Number.isInteger(hopsValue) || (hopsValue as number) < 1 || (hopsValue as number) > DECIDED_ELEMENTS_MAXIMUM_RELATED_HOPS)) {\n throw new IntrospectionInputValidationError(`specification-elements \\`hops\\` must be an integer from 1 to ${DECIDED_ELEMENTS_MAXIMUM_RELATED_HOPS}.`);\n }\n const directionValue = raw['direction'];\n if (directionValue !== undefined && !Object.values(DecidedAspectRelationDirection).includes(directionValue as DecidedAspectRelationDirection)) {\n throw new IntrospectionInputValidationError(`specification-elements \\`direction\\` must be one of ${Object.values(DecidedAspectRelationDirection).join(', ')}.`);\n }\n /*\n * Refuse a key the operation does not read. A door that silently dropped one would answer a narrower\n * or wider question than the caller asked — `get` with refs AND aspectKeys used to ignore the aspects.\n */\n const applicableKeys: Record<DecidedAspectOperation, readonly string[]> = {\n [DecidedAspectOperation.MAP]: ['op', 'families', 'aspectKeys'],\n [DecidedAspectOperation.GET]: ['op', 'refs', 'aspectKeys'],\n [DecidedAspectOperation.RELATED]: ['op', 'refs', 'aspectKeys', 'hops', 'direction'],\n };\n const inapplicable = Object.keys(raw).filter((key) => !applicableKeys[op as DecidedAspectOperation].includes(key));\n if (inapplicable.length > 0) {\n throw new IntrospectionInputValidationError(`specification-elements \\`${String(op)}\\` does not read ${inapplicable.map((key) => `\\`${key}\\``).join(', ')}; `\n + `it reads ${applicableKeys[op as DecidedAspectOperation].filter((key) => key !== 'op').map((key) => `\\`${key}\\``).join(', ')}.`);\n }\n if (op === DecidedAspectOperation.GET && refs && aspectKeys) {\n throw new IntrospectionInputValidationError('specification-elements `get` takes `refs` OR `aspectKeys`, not both — get by ref, or get whole aspects.');\n }\n const request: SpecificationElementsRequest = {\n op: op as DecidedAspectOperation,\n ...(families ? { families } : {}),\n ...(aspectKeys ? { aspectKeys } : {}),\n ...(refs ? { refs } : {}),\n ...(hopsValue !== undefined ? { hops: hopsValue as number } : {}),\n ...(directionValue !== undefined ? { direction: directionValue as DecidedAspectRelationDirection } : {}),\n };\n if (request.op === DecidedAspectOperation.GET && !request.refs && !request.aspectKeys) {\n throw new IntrospectionInputValidationError('specification-elements `get` needs `refs` or `aspectKeys` — ask for the `map` first to learn the refs.');\n }\n if (request.op === DecidedAspectOperation.RELATED && !request.refs) {\n throw new IntrospectionInputValidationError('specification-elements `related` needs `refs` — the elements to follow references from.');\n }\n return request;\n}\n\n/** The input's shape, in one line — published by the behavior catalog so a caller can learn it from the door. */\nexport const SPECIFICATION_ELEMENTS_INPUT_SUMMARY =\n '{\"op\":\"map\", \"families\"?:string[], \"aspectKeys\"?:string[]} | {\"op\":\"get\", \"refs\":string[]} | '\n + '{\"op\":\"get\", \"aspectKeys\":string[]} | {\"op\":\"related\", \"refs\":string[], \"aspectKeys\"?:string[], '\n + `\"hops\"?:1..${DECIDED_ELEMENTS_MAXIMUM_RELATED_HOPS}, \"direction\"?`\n + ':\"outgoing\"|\"incoming\"|\"both\"} — related keeps only aspectKeys when given; '\n + 'a key an op does not read is refused.';\n\nexport function projectSpecificationElements(input: {\n readonly moduleExports: Record<string, unknown>;\n readonly request: SpecificationElementsRequest;\n /** The landed DRAFT families (`loadDraftFamilyValues`) — indexed, and marked as drafts (#1426). */\n readonly draftValuesByFamily?: ReadonlyMap<string, unknown>;\n}): SpecificationElementsResponse {\n const companionExports = resolveSpecificationsCompanionExports(input.moduleExports) as unknown as Record<string, unknown>;\n const index = indexDecidedAspects(decidedFamilyValuesFromCompanionExports(companionExports), {\n ...(input.draftValuesByFamily ? { drafts: Object.fromEntries(input.draftValuesByFamily) } : {}),\n });\n const { request } = input;\n\n switch (request.op) {\n case DecidedAspectOperation.MAP: {\n const lines = mapAspects(index, {\n ...(request.families ? { families: request.families } : {}),\n ...(request.aspectKeys ? { aspectKeys: request.aspectKeys } : {}),\n });\n return { op: DecidedAspectOperation.MAP, total: lines.length, lines };\n }\n case DecidedAspectOperation.GET: {\n const result = getElements(index, request.refs ? { refs: request.refs } : { aspectKeys: request.aspectKeys ?? [] });\n return { op: DecidedAspectOperation.GET, elements: result.elements.map(toView), unmatched: result.unmatched };\n }\n case DecidedAspectOperation.RELATED: {\n const result = relatedElements(index, request.refs ?? [], {\n ...(request.hops !== undefined ? { hops: request.hops } : {}),\n ...(request.aspectKeys ? { targetAspects: request.aspectKeys } : {}),\n ...(request.direction !== undefined ? { direction: request.direction } : {}),\n });\n return {\n op: DecidedAspectOperation.RELATED,\n elements: result.elements.map(toView),\n unmatched: result.unmatched,\n unresolved: result.unresolved,\n };\n }\n }\n}\n\n/** The routed `references` stay internal: the item already carries every reference as authored. */\nfunction toView(element: DecidedAspectElement): SpecificationElementView {\n return {\n aspectKey: element.aspectKey,\n family: element.family,\n ref: element.ref,\n label: element.label,\n item: element.item,\n ...(element.standing === DecidedElementStanding.DRAFT ? { standing: DecidedElementStanding.DRAFT as const } : {}),\n };\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace-element-index.companion.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"workspace-element-index.companion.d.ts","sourceRoot":"","sources":["../../../../src/core/introspection/workspace-element-index.companion.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,uBAAuB,EACvB,qBAAqB,EACrB,0BAA0B,EAC1B,sBAAsB,EACvB,MAAM,gDAAgD,CAAC;AAExD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,mFAAmF;AACnF,oBAAY,yBAAyB;IACnC,mGAAmG;IACnG,GAAG,QAAQ;IACX,8EAA8E;IAC9E,GAAG,QAAQ;IACX,oEAAoE;IACpE,OAAO,YAAY;CACpB;AAED,6CAA6C;AAC7C,oBAAY,oBAAoB;IAC9B,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,YAAY,iBA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,CAqDpC;AAED;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,qBAAqB,EAAE,YAAY,EAAE,MAAM,GAAG,qBAAqB,GAAG,SAAS,CA0B1H;AAED,8EAA8E;AAC9E,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,SAAS,yBAAyB,EAAE,CAAC;IACrD,QAAQ,CAAC,SAAS,EAAE,SAAS,qBAAqB,EAAE,CAAC;IACrD,8FAA8F;IAC9F,QAAQ,CAAC,UAAU,EAAE,SAAS,MAAM,EAAE,CAAC;CACxC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,qBAAqB,EAC5B,YAAY,EAAE,MAAM,EACpB,OAAO,GAAE;IAAE,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAO,GACvC,sBAAsB,CAsCxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace-element-index.companion.js","sourceRoot":"","sources":["../../../../../src/core/introspection/workspace-element-index.companion.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,mFAAmF;AACnF,MAAM,CAAN,IAAY,yBAOX;AAPD,WAAY,yBAAyB;IACnC,mGAAmG;IACnG,wCAAW,CAAA;IACX,8EAA8E;IAC9E,wCAAW,CAAA;IACX,oEAAoE;IACpE,gDAAmB,CAAA;AACrB,CAAC,EAPW,yBAAyB,KAAzB,yBAAyB,QAOpC;AAED,6CAA6C;AAC7C,MAAM,CAAN,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,6CAAqB,CAAA;IACrB,uCAAe,CAAA;IACf,+CAAuB,CAAA;IACvB,qDAA6B,CAAA;AAC/B,CAAC,EALW,oBAAoB,KAApB,oBAAoB,QAK/B;AAoCD;;;;;;;;GAQG;AACH,MAAM,eAAe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iC,EAAE,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC;IACvE,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC,GAAG,UAAU,CAAC,EAAE,CAAC;AACpG,CAAC","sourcesContent":["import type {\n DomainModelFieldRow,\n DomainModelOperationRow,\n DomainModelProjection,\n DomainModelRelationshipRow,\n DomainModelResourceRow,\n} from './subprocess/application-domain-model.behavior';\n\n/**\n * MAP / GET / RELATED over the application's OWN CODE TRUTH (#1437).\n *\n * The third knowledge slice of epic #1415, beside decided families (what the creation run decided,\n * #1416) and framework knowledge (the reusable how). Workspace truth is what the application's code\n * CURRENTLY IS — its resources, fields, relationships and operations — and every build task depends\n * on it.\n *\n * ## Why an index and not a filter on the derivation\n *\n * It could only be read whole. Of the pull door's behaviors, `resources-registry` answers 43 KB and\n * `resource-specifications` **227 KB** on the dogfood application, and no filter on the door reaches\n * a module, a resource, a field, a relationship or an operation. The one existing slice is\n * hand-coded — `buildContextSources` cuts one module's field names out of the registry, 8% of it,\n * with no relationships, operations or specifications, and `resourceRef` does not narrow it further.\n *\n * The narrowing is deliberately NOT a behavior input. `application-domain-model` costs ~35 s (it\n * materializes every factory and the specification overlay), and the introspection cache keys on\n * the behavior's INPUT — so a per-resource filter pushed into the derivation would make every\n * distinct question a fresh 35-second subprocess. One derivation, cached, sliced many times is the\n * only shape that is both cheap and consistent: two slices of one projection cannot disagree about\n * an application that is being edited underneath them.\n *\n * ## Pure, and that is what makes it testable\n *\n * Nothing here reads a file, spawns a child or knows what a companion is. It takes the projection\n * and answers three questions about it — the same separation `decided-aspect-index` has on the\n * decided side, and for the same reason: the interesting failures are in the slicing, not in the\n * plumbing that fetches the input.\n */\n\n/** What a caller asks for. One verb per question, named as the caller names it. */\nexport enum WorkspaceElementOperation {\n /** Every element of a kind, as `ref — one line`. The cheapest answer, and the one that orients. */\n MAP = 'map',\n /** One resource in full: its fields, its relationships and its operations. */\n GET = 'get',\n /** What a resource is CONNECTED to, following its relationships. */\n RELATED = 'related',\n}\n\n/** The element kinds a MAP can enumerate. */\nexport enum WorkspaceElementKind {\n RESOURCE = 'resource',\n FIELD = 'field',\n OPERATION = 'operation',\n RELATIONSHIP = 'relationship',\n}\n\n/** One MAP line: how to address the element, and one line saying what it is. */\nexport interface WorkspaceElementMapLine {\n readonly kind: WorkspaceElementKind;\n readonly ref: string;\n readonly label: string;\n /** The resource this element belongs to. Its own `resourceType` for a resource. */\n readonly resourceType: string;\n}\n\n/** What a relationship looks like once it is addressable. */\nexport interface WorkspaceRelationshipView {\n readonly ref: string;\n readonly from: string;\n readonly to: string;\n readonly nature: string;\n readonly cardinality: string;\n readonly foreignKeyField: string | null;\n /** Which side's rows CARRY the key — the direction an arrow points. */\n readonly foreignKeyHolderResourceType: string;\n readonly jointResourceType: string | null;\n readonly isDisabled: boolean;\n}\n\n/** One resource, in full. */\nexport interface WorkspaceResourceView {\n readonly ref: string;\n readonly resourceType: string;\n readonly moduleId: string | null;\n readonly purpose: string | null;\n readonly fields: readonly { readonly ref: string; readonly fieldName: string; readonly meaning: string | null }[];\n readonly operations: readonly { readonly ref: string; readonly operationIdentifier: string; readonly variantType: string | null; readonly variantKey: string | null; readonly purpose: string | null }[];\n readonly relationships: readonly WorkspaceRelationshipView[];\n}\n\n/**\n * The separator between a resource and what it owns.\n *\n * Three distinct ones rather than one, because a ref should say WHAT IT ADDRESSES without a kind\n * beside it: `todos.dueDate` is a field, `todos#read` is an operation, `todos~users~assignedToUserId`\n * is an edge. A single separator would make `todos.read` ambiguous between a field and an operation\n * on a resource that has both, and a reader resolving that ambiguity by trying one and then the\n * other is a reader the ref failed.\n */\nconst FIELD_SEPARATOR = '.';\nconst OPERATION_SEPARATOR = '#';\nconst RELATIONSHIP_SEPARATOR = '~';\n\n/** `todos.dueDate` */\nexport function workspaceFieldRef(resourceType: string, fieldName: string): string {\n return `${resourceType}${FIELD_SEPARATOR}${fieldName}`;\n}\n\n/**\n * `todos#read`, `todos#read@api_call`, `todos#read@api_call/admin`.\n *\n * The variant halves are appended only when they exist, so the common case — a resource's one\n * `read` — is addressed by the name a person would use. They matter: measured across the engine's\n * core map, 133 of 794 operations collide on `identifier × variantType` and are separated only by\n * `variantKey`, so a ref built from the pair alone would address several operations at once.\n */\nexport function workspaceOperationRef(\n resourceType: string,\n operation: Pick<DomainModelOperationRow, 'operationIdentifier' | 'variantType' | 'variantKey'>,\n): string {\n const variant = operation.variantType === null ? '' : `@${operation.variantType}`;\n const key = operation.variantKey === null ? '' : `/${operation.variantKey}`;\n return `${resourceType}${OPERATION_SEPARATOR}${operation.operationIdentifier}${variant}${key}`;\n}\n\n/**\n * A SHORT, readable ref for one relationship — the thing #1437 says relationships do not have.\n *\n * The projection's own `relationshipId` is total and deliberately unreadable: it joins twelve fields\n * with `|` and its docstring says it \"never becomes a URL path parameter\". That is right for an\n * identity a graph de-duplicates on, and useless as something an agent types.\n *\n * So this composes the pair with whatever DISCRIMINATES the edge — the foreign-key field, else the\n * junction resource of a many-to-many, else the nature. Those cover every edge in the dogfood\n * applications. Where two edges still collide, the caller appends an ordinal (see\n * {@link indexWorkspaceElements}), which keeps the ref total without making the common case\n * unreadable.\n *\n * The pair is NOT sorted: `resourceType1`/`resourceType2` carry the declaration's own direction, and\n * `foreignKeyHolderResourceType` beside it says which side holds the key. Sorting the pair would\n * make two edges that differ only in direction produce the same ref.\n */\nexport function workspaceRelationshipRefBase(relationship: DomainModelRelationshipRow): string {\n const discriminator = relationship.foreignKeyField ?? relationship.jointResourceType ?? relationship.nature;\n return [relationship.resourceType1, relationship.resourceType2, discriminator].join(RELATIONSHIP_SEPARATOR);\n}\n\n/** The whole index: every element addressable, and the rows behind each ref. */\nexport interface WorkspaceElementIndex {\n readonly resources: ReadonlyMap<string, DomainModelResourceRow>;\n /** Short relationship ref → the row, and the row's own `relationshipId` for the graph that needs it. */\n readonly relationships: ReadonlyMap<string, DomainModelRelationshipRow>;\n}\n\n/**\n * Index one projection so every element has a ref.\n *\n * Relationship refs are de-collided here rather than at each call site: the same edge rides on BOTH\n * resources it joins, so a ref computed per resource would give one edge two names. The projection's\n * `relationshipId` is what identifies it across those two appearances.\n */\nexport function indexWorkspaceElements(projection: DomainModelProjection): WorkspaceElementIndex {\n const resources = new Map<string, DomainModelResourceRow>();\n for (const resource of projection.domainResources) resources.set(resource.resourceType, resource);\n\n // Deduplicate by the projection's own identity: one edge appears on both endpoints' rows.\n const rowsByIdentity = new Map<string, DomainModelRelationshipRow>();\n for (const resource of projection.domainResources) {\n for (const relationship of resource.relationships) {\n if (!rowsByIdentity.has(relationship.relationshipId)) rowsByIdentity.set(relationship.relationshipId, relationship);\n }\n }\n\n /*\n * Sorted by the full identity before ordinals are assigned, so a colliding pair's suffixes are a\n * function of the edges themselves rather than of the order the projection happened to emit them.\n * Two reads of an unchanged application therefore produce the same refs.\n */\n const relationships = new Map<string, DomainModelRelationshipRow>();\n const seenBase = new Map<string, number>();\n for (const relationship of [...rowsByIdentity.values()].sort((left, right) => left.relationshipId.localeCompare(right.relationshipId))) {\n const base = workspaceRelationshipRefBase(relationship);\n const seen = seenBase.get(base) ?? 0;\n seenBase.set(base, seen + 1);\n relationships.set(seen === 0 ? base : `${base}${RELATIONSHIP_SEPARATOR}${seen + 1}`, relationship);\n }\n return { resources, relationships };\n}\n\n/** The authored `meaning` of a field, when its specification carries one. */\nfunction fieldMeaning(field: DomainModelFieldRow): string | null {\n const meaning = field.params?.['meaning'];\n return typeof meaning === 'string' && meaning.length > 0 ? meaning : null;\n}\n\n/** The authored `purpose` of an operation, when its specification carries one. */\nfunction operationPurpose(operation: DomainModelOperationRow): string | null {\n const purpose = operation.specification?.['purpose'];\n return typeof purpose === 'string' && purpose.length > 0 ? purpose : null;\n}\n\nfunction relationshipView(ref: string, relationship: DomainModelRelationshipRow): WorkspaceRelationshipView {\n return {\n ref,\n from: relationship.resourceType1,\n to: relationship.resourceType2,\n nature: relationship.nature,\n cardinality: `${relationship.cardinality1}-to-${relationship.cardinality2}`,\n foreignKeyField: relationship.foreignKeyField,\n foreignKeyHolderResourceType: relationship.foreignKeyHolderResourceType,\n jointResourceType: relationship.jointResourceType,\n isDisabled: relationship.isDisabled,\n };\n}\n\n/**\n * MAP — every element of the requested kinds as `ref — label`.\n *\n * The label is the AUTHORED prose where there is any: a resource's `purpose`, a field's `meaning`,\n * an operation's `purpose`. Where a specification says nothing, the label states the structural\n * fact instead and says nothing more — an invented sentence would read exactly like an authored one,\n * and the gap is what a reader should see.\n *\n * `resourceTypes` narrows the map to named resources; omitted means every resource, which is what a\n * caller orienting itself asks for and is still two orders of magnitude smaller than the projection.\n */\nexport function mapWorkspaceElements(\n index: WorkspaceElementIndex,\n request: { readonly kinds?: readonly WorkspaceElementKind[]; readonly resourceTypes?: readonly string[] } = {},\n): readonly WorkspaceElementMapLine[] {\n const kinds = new Set(request.kinds ?? [WorkspaceElementKind.RESOURCE]);\n const wanted = request.resourceTypes === undefined ? null : new Set(request.resourceTypes);\n const lines: WorkspaceElementMapLine[] = [];\n\n for (const resource of index.resources.values()) {\n if (wanted !== null && !wanted.has(resource.resourceType)) continue;\n if (kinds.has(WorkspaceElementKind.RESOURCE)) {\n lines.push({\n kind: WorkspaceElementKind.RESOURCE,\n ref: resource.resourceType,\n resourceType: resource.resourceType,\n label: resource.specification?.purpose\n ?? `${resource.fields.length} field(s), ${resource.operations.length} operation(s)${resource.moduleId === null ? ' — engine resource' : `, module \\`${resource.moduleId}\\``}`,\n });\n }\n if (kinds.has(WorkspaceElementKind.FIELD)) {\n for (const field of resource.fields) {\n lines.push({\n kind: WorkspaceElementKind.FIELD,\n ref: workspaceFieldRef(resource.resourceType, field.fieldName),\n resourceType: resource.resourceType,\n label: fieldMeaning(field) ?? String(field.derived?.['kind'] ?? 'field'),\n });\n }\n }\n if (kinds.has(WorkspaceElementKind.OPERATION)) {\n for (const operation of resource.operations) {\n lines.push({\n kind: WorkspaceElementKind.OPERATION,\n ref: workspaceOperationRef(resource.resourceType, operation),\n resourceType: resource.resourceType,\n label: operationPurpose(operation) ?? `${operation.operationIdentifier}${operation.isUnimplemented ? ' (declared, not implemented)' : ''}`,\n });\n }\n }\n }\n\n if (kinds.has(WorkspaceElementKind.RELATIONSHIP)) {\n for (const [ref, relationship] of index.relationships) {\n // An edge belongs to BOTH its endpoints, so a resource narrowing keeps it when either side matches.\n if (wanted !== null && !wanted.has(relationship.resourceType1) && !wanted.has(relationship.resourceType2)) continue;\n lines.push({\n kind: WorkspaceElementKind.RELATIONSHIP,\n ref,\n resourceType: relationship.resourceType1,\n label: `${relationship.resourceType1} ${relationship.cardinality1}-to-${relationship.cardinality2} ${relationship.resourceType2}`\n + ` (${relationship.nature}${relationship.foreignKeyField ? `, fk \\`${relationship.foreignKeyField}\\` on ${relationship.foreignKeyHolderResourceType}` : ''})`\n + (relationship.isDisabled ? ' — DISABLED' : ''),\n });\n }\n }\n return lines;\n}\n\n/**\n * GET — one resource in full, by ref.\n *\n * An unknown ref answers `undefined` rather than throwing: a caller that named a resource the\n * application does not have needs to be told that, and a refusal one layer up can say so with the\n * map beside it. Inventing an empty resource would be the worse answer — it reads as \"exists and\n * holds nothing\".\n */\nexport function getWorkspaceResource(index: WorkspaceElementIndex, resourceType: string): WorkspaceResourceView | undefined {\n const resource = index.resources.get(resourceType);\n if (resource === undefined) return undefined;\n const refByIdentity = new Map([...index.relationships].map(([ref, relationship]) => [relationship.relationshipId, ref]));\n return {\n ref: resource.resourceType,\n resourceType: resource.resourceType,\n moduleId: resource.moduleId,\n purpose: resource.specification?.purpose ?? null,\n fields: resource.fields.map((field) => ({\n ref: workspaceFieldRef(resource.resourceType, field.fieldName),\n fieldName: field.fieldName,\n meaning: fieldMeaning(field),\n })),\n operations: resource.operations.map((operation) => ({\n ref: workspaceOperationRef(resource.resourceType, operation),\n operationIdentifier: operation.operationIdentifier,\n variantType: operation.variantType,\n variantKey: operation.variantKey,\n purpose: operationPurpose(operation),\n })),\n relationships: resource.relationships.map((relationship) => relationshipView(\n refByIdentity.get(relationship.relationshipId) ?? workspaceRelationshipRefBase(relationship),\n relationship,\n )),\n };\n}\n\n/** What RELATED answers: the edges walked, and the resources they reached. */\nexport interface WorkspaceRelatedResult {\n readonly from: string;\n readonly edges: readonly WorkspaceRelationshipView[];\n readonly resources: readonly WorkspaceResourceView[];\n /** Named but not on record — an edge pointing at a resource the projection does not carry. */\n readonly unresolved: readonly string[];\n}\n\n/**\n * RELATED — what a resource is connected to, following its declared relationships.\n *\n * This is what replaces the coding floor's hand-cut module slice. A build task targets ONE resource,\n * and what it needs is that resource plus the ones its edges reach — which is neither \"the whole\n * registry\" nor \"everything in its module\": a module slice over-supplies the siblings a task never\n * touches and UNDER-supplies the engine resources its own foreign keys point at (`users`,\n * `organizations` — the scope anchors, and the most load-bearing edges a resource has).\n *\n * `hops` defaults to 1. Bounded rather than transitive-by-default because the relationship graph of\n * a real application is nearly connected through the scope anchors: two hops from any resource\n * reaches most of the application, which is the whole-registry answer with extra steps.\n *\n * A DISABLED edge is walked and reported as disabled rather than skipped. It is declared, a reader\n * asking what a resource is connected to should see it, and the view says `isDisabled` so nothing\n * mistakes it for a live one.\n */\nexport function relatedWorkspaceResources(\n index: WorkspaceElementIndex,\n resourceType: string,\n options: { readonly hops?: number } = {},\n): WorkspaceRelatedResult {\n const hops = Math.max(1, Math.trunc(options.hops ?? 1));\n const refByIdentity = new Map([...index.relationships].map(([ref, relationship]) => [relationship.relationshipId, ref]));\n const visited = new Set<string>([resourceType]);\n const edges = new Map<string, WorkspaceRelationshipView>();\n const unresolved = new Set<string>();\n\n let frontier: string[] = [resourceType];\n for (let hop = 0; hop < hops; hop += 1) {\n const next: string[] = [];\n for (const current of frontier) {\n const resource = index.resources.get(current);\n if (resource === undefined) {\n // Only reachable for the SEED: a neighbour is only ever added after its row is found.\n unresolved.add(current);\n continue;\n }\n for (const relationship of resource.relationships) {\n const ref = refByIdentity.get(relationship.relationshipId) ?? workspaceRelationshipRefBase(relationship);\n if (!edges.has(ref)) edges.set(ref, relationshipView(ref, relationship));\n const neighbour = relationship.resourceType1 === current ? relationship.resourceType2 : relationship.resourceType1;\n if (visited.has(neighbour)) continue;\n if (!index.resources.has(neighbour)) {\n unresolved.add(neighbour);\n continue;\n }\n visited.add(neighbour);\n next.push(neighbour);\n }\n }\n frontier = next;\n if (frontier.length === 0) break;\n }\n\n const resources = [...visited]\n .map((reached) => getWorkspaceResource(index, reached))\n .filter((view): view is WorkspaceResourceView => view !== undefined);\n return { from: resourceType, edges: [...edges.values()], resources, unresolved: [...unresolved] };\n}\n"]}
|
|
1
|
+
{"version":3,"file":"workspace-element-index.companion.js","sourceRoot":"","sources":["../../../../src/core/introspection/workspace-element-index.companion.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,mFAAmF;AACnF,MAAM,CAAN,IAAY,yBAOX;AAPD,WAAY,yBAAyB;IACnC,mGAAmG;IACnG,wCAAW,CAAA;IACX,8EAA8E;IAC9E,wCAAW,CAAA;IACX,oEAAoE;IACpE,gDAAmB,CAAA;AACrB,CAAC,EAPW,yBAAyB,KAAzB,yBAAyB,QAOpC;AAED,6CAA6C;AAC7C,MAAM,CAAN,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,6CAAqB,CAAA;IACrB,uCAAe,CAAA;IACf,+CAAuB,CAAA;IACvB,qDAA6B,CAAA;AAC/B,CAAC,EALW,oBAAoB,KAApB,oBAAoB,QAK/B;AAoCD;;;;;;;;GAQG;AACH,MAAM,eAAe,GAAG,GAAG,CAAC;AAC5B,MAAM,mBAAmB,GAAG,GAAG,CAAC;AAChC,MAAM,sBAAsB,GAAG,GAAG,CAAC;AAEnC,sBAAsB;AACtB,MAAM,UAAU,iBAAiB,CAAC,YAAoB,EAAE,SAAiB;IACvE,OAAO,GAAG,YAAY,GAAG,eAAe,GAAG,SAAS,EAAE,CAAC;AACzD,CAAC;AAED;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ieldRow,\n DomainModelOperationRow,\n DomainModelProjection,\n DomainModelRelationshipRow,\n DomainModelResourceRow,\n} from './subprocess/application-domain-model.behavior';\n\n/**\n * MAP / GET / RELATED over the application's OWN CODE TRUTH (#1437).\n *\n * The third knowledge slice of epic #1415, beside decided families (what the creation run decided,\n * #1416) and framework knowledge (the reusable how). Workspace truth is what the application's code\n * CURRENTLY IS — its resources, fields, relationships and operations — and every build task depends\n * on it.\n *\n * ## Why an index and not a filter on the derivation\n *\n * It could only be read whole. Of the pull door's behaviors, `resources-registry` answers 43 KB and\n * `resource-specifications` **227 KB** on the dogfood application, and no filter on the door reaches\n * a module, a resource, a field, a relationship or an operation. The one existing slice is\n * hand-coded — `buildContextSources` cuts one module's field names out of the registry, 8% of it,\n * with no relationships, operations or specifications, and `resourceRef` does not narrow it further.\n *\n * The narrowing is deliberately NOT a behavior input. `application-domain-model` costs ~35 s (it\n * materializes every factory and the specification overlay), and the introspection cache keys on\n * the behavior's INPUT — so a per-resource filter pushed into the derivation would make every\n * distinct question a fresh 35-second subprocess. One derivation, cached, sliced many times is the\n * only shape that is both cheap and consistent: two slices of one projection cannot disagree about\n * an application that is being edited underneath them.\n *\n * ## Pure, and that is what makes it testable\n *\n * Nothing here reads a file, spawns a child or knows what a companion is. It takes the projection\n * and answers three questions about it — the same separation `decided-aspect-index` has on the\n * decided side, and for the same reason: the interesting failures are in the slicing, not in the\n * plumbing that fetches the input.\n */\n\n/** What a caller asks for. One verb per question, named as the caller names it. */\nexport enum WorkspaceElementOperation {\n /** Every element of a kind, as `ref — one line`. The cheapest answer, and the one that orients. */\n MAP = 'map',\n /** One resource in full: its fields, its relationships and its operations. */\n GET = 'get',\n /** What a resource is CONNECTED to, following its relationships. */\n RELATED = 'related',\n}\n\n/** The element kinds a MAP can enumerate. */\nexport enum WorkspaceElementKind {\n RESOURCE = 'resource',\n FIELD = 'field',\n OPERATION = 'operation',\n RELATIONSHIP = 'relationship',\n}\n\n/** One MAP line: how to address the element, and one line saying what it is. */\nexport interface WorkspaceElementMapLine {\n readonly kind: WorkspaceElementKind;\n readonly ref: string;\n readonly label: string;\n /** The resource this element belongs to. Its own `resourceType` for a resource. */\n readonly resourceType: string;\n}\n\n/** What a relationship looks like once it is addressable. */\nexport interface WorkspaceRelationshipView {\n readonly ref: string;\n readonly from: string;\n readonly to: string;\n readonly nature: string;\n readonly cardinality: string;\n readonly foreignKeyField: string | null;\n /** Which side's rows CARRY the key — the direction an arrow points. */\n readonly foreignKeyHolderResourceType: string;\n readonly jointResourceType: string | null;\n readonly isDisabled: boolean;\n}\n\n/** One resource, in full. */\nexport interface WorkspaceResourceView {\n readonly ref: string;\n readonly resourceType: string;\n readonly moduleId: string | null;\n readonly purpose: string | null;\n readonly fields: readonly { readonly ref: string; readonly fieldName: string; readonly meaning: string | null }[];\n readonly operations: readonly { readonly ref: string; readonly operationIdentifier: string; readonly variantType: string | null; readonly variantKey: string | null; readonly purpose: string | null }[];\n readonly relationships: readonly WorkspaceRelationshipView[];\n}\n\n/**\n * The separator between a resource and what it owns.\n *\n * Three distinct ones rather than one, because a ref should say WHAT IT ADDRESSES without a kind\n * beside it: `todos.dueDate` is a field, `todos#read` is an operation, `todos~users~assignedToUserId`\n * is an edge. A single separator would make `todos.read` ambiguous between a field and an operation\n * on a resource that has both, and a reader resolving that ambiguity by trying one and then the\n * other is a reader the ref failed.\n */\nconst FIELD_SEPARATOR = '.';\nconst OPERATION_SEPARATOR = '#';\nconst RELATIONSHIP_SEPARATOR = '~';\n\n/** `todos.dueDate` */\nexport function workspaceFieldRef(resourceType: string, fieldName: string): string {\n return `${resourceType}${FIELD_SEPARATOR}${fieldName}`;\n}\n\n/**\n * `todos#read`, `todos#read@api_call`, `todos#read@api_call/admin`.\n *\n * The variant halves are appended only when they exist, so the common case — a resource's one\n * `read` — is addressed by the name a person would use. They matter: measured across the engine's\n * core map, 133 of 794 operations collide on `identifier × variantType` and are separated only by\n * `variantKey`, so a ref built from the pair alone would address several operations at once.\n */\nexport function workspaceOperationRef(\n resourceType: string,\n operation: Pick<DomainModelOperationRow, 'operationIdentifier' | 'variantType' | 'variantKey'>,\n): string {\n const variant = operation.variantType === null ? '' : `@${operation.variantType}`;\n const key = operation.variantKey === null ? '' : `/${operation.variantKey}`;\n return `${resourceType}${OPERATION_SEPARATOR}${operation.operationIdentifier}${variant}${key}`;\n}\n\n/**\n * A SHORT, readable ref for one relationship — the thing #1437 says relationships do not have.\n *\n * The projection's own `relationshipId` is total and deliberately unreadable: it joins twelve fields\n * with `|` and its docstring says it \"never becomes a URL path parameter\". That is right for an\n * identity a graph de-duplicates on, and useless as something an agent types.\n *\n * So this composes the pair with whatever DISCRIMINATES the edge — the foreign-key field, else the\n * junction resource of a many-to-many, else the nature. Those cover every edge in the dogfood\n * applications. Where two edges still collide, the caller appends an ordinal (see\n * {@link indexWorkspaceElements}), which keeps the ref total without making the common case\n * unreadable.\n *\n * The pair is NOT sorted: `resourceType1`/`resourceType2` carry the declaration's own direction, and\n * `foreignKeyHolderResourceType` beside it says which side holds the key. Sorting the pair would\n * make two edges that differ only in direction produce the same ref.\n */\nexport function workspaceRelationshipRefBase(relationship: DomainModelRelationshipRow): string {\n const discriminator = relationship.foreignKeyField ?? relationship.jointResourceType ?? relationship.nature;\n return [relationship.resourceType1, relationship.resourceType2, discriminator].join(RELATIONSHIP_SEPARATOR);\n}\n\n/** The whole index: every element addressable, and the rows behind each ref. */\nexport interface WorkspaceElementIndex {\n readonly resources: ReadonlyMap<string, DomainModelResourceRow>;\n /** Short relationship ref → the row, and the row's own `relationshipId` for the graph that needs it. */\n readonly relationships: ReadonlyMap<string, DomainModelRelationshipRow>;\n}\n\n/**\n * Index one projection so every element has a ref.\n *\n * Relationship refs are de-collided here rather than at each call site: the same edge rides on BOTH\n * resources it joins, so a ref computed per resource would give one edge two names. The projection's\n * `relationshipId` is what identifies it across those two appearances.\n */\nexport function indexWorkspaceElements(projection: DomainModelProjection): WorkspaceElementIndex {\n const resources = new Map<string, DomainModelResourceRow>();\n for (const resource of projection.domainResources) resources.set(resource.resourceType, resource);\n\n // Deduplicate by the projection's own identity: one edge appears on both endpoints' rows.\n const rowsByIdentity = new Map<string, DomainModelRelationshipRow>();\n for (const resource of projection.domainResources) {\n for (const relationship of resource.relationships) {\n if (!rowsByIdentity.has(relationship.relationshipId)) rowsByIdentity.set(relationship.relationshipId, relationship);\n }\n }\n\n /*\n * Sorted by the full identity before ordinals are assigned, so a colliding pair's suffixes are a\n * function of the edges themselves rather than of the order the projection happened to emit them.\n * Two reads of an unchanged application therefore produce the same refs.\n */\n const relationships = new Map<string, DomainModelRelationshipRow>();\n const seenBase = new Map<string, number>();\n for (const relationship of [...rowsByIdentity.values()].sort((left, right) => left.relationshipId.localeCompare(right.relationshipId))) {\n const base = workspaceRelationshipRefBase(relationship);\n const seen = seenBase.get(base) ?? 0;\n seenBase.set(base, seen + 1);\n relationships.set(seen === 0 ? base : `${base}${RELATIONSHIP_SEPARATOR}${seen + 1}`, relationship);\n }\n return { resources, relationships };\n}\n\n/** The authored `meaning` of a field, when its specification carries one. */\nfunction fieldMeaning(field: DomainModelFieldRow): string | null {\n const meaning = field.params?.['meaning'];\n return typeof meaning === 'string' && meaning.length > 0 ? meaning : null;\n}\n\n/** The authored `purpose` of an operation, when its specification carries one. */\nfunction operationPurpose(operation: DomainModelOperationRow): string | null {\n const purpose = operation.specification?.['purpose'];\n return typeof purpose === 'string' && purpose.length > 0 ? purpose : null;\n}\n\nfunction relationshipView(ref: string, relationship: DomainModelRelationshipRow): WorkspaceRelationshipView {\n return {\n ref,\n from: relationship.resourceType1,\n to: relationship.resourceType2,\n nature: relationship.nature,\n cardinality: `${relationship.cardinality1}-to-${relationship.cardinality2}`,\n foreignKeyField: relationship.foreignKeyField,\n foreignKeyHolderResourceType: relationship.foreignKeyHolderResourceType,\n jointResourceType: relationship.jointResourceType,\n isDisabled: relationship.isDisabled,\n };\n}\n\n/**\n * MAP — every element of the requested kinds as `ref — label`.\n *\n * The label is the AUTHORED prose where there is any: a resource's `purpose`, a field's `meaning`,\n * an operation's `purpose`. Where a specification says nothing, the label states the structural\n * fact instead and says nothing more — an invented sentence would read exactly like an authored one,\n * and the gap is what a reader should see.\n *\n * `resourceTypes` narrows the map to named resources; omitted means every resource, which is what a\n * caller orienting itself asks for and is still two orders of magnitude smaller than the projection.\n */\nexport function mapWorkspaceElements(\n index: WorkspaceElementIndex,\n request: { readonly kinds?: readonly WorkspaceElementKind[]; readonly resourceTypes?: readonly string[] } = {},\n): readonly WorkspaceElementMapLine[] {\n const kinds = new Set(request.kinds ?? [WorkspaceElementKind.RESOURCE]);\n const wanted = request.resourceTypes === undefined ? null : new Set(request.resourceTypes);\n const lines: WorkspaceElementMapLine[] = [];\n\n for (const resource of index.resources.values()) {\n if (wanted !== null && !wanted.has(resource.resourceType)) continue;\n if (kinds.has(WorkspaceElementKind.RESOURCE)) {\n lines.push({\n kind: WorkspaceElementKind.RESOURCE,\n ref: resource.resourceType,\n resourceType: resource.resourceType,\n label: resource.specification?.purpose\n ?? `${resource.fields.length} field(s), ${resource.operations.length} operation(s)${resource.moduleId === null ? ' — engine resource' : `, module \\`${resource.moduleId}\\``}`,\n });\n }\n if (kinds.has(WorkspaceElementKind.FIELD)) {\n for (const field of resource.fields) {\n lines.push({\n kind: WorkspaceElementKind.FIELD,\n ref: workspaceFieldRef(resource.resourceType, field.fieldName),\n resourceType: resource.resourceType,\n label: fieldMeaning(field) ?? String(field.derived?.['kind'] ?? 'field'),\n });\n }\n }\n if (kinds.has(WorkspaceElementKind.OPERATION)) {\n for (const operation of resource.operations) {\n lines.push({\n kind: WorkspaceElementKind.OPERATION,\n ref: workspaceOperationRef(resource.resourceType, operation),\n resourceType: resource.resourceType,\n label: operationPurpose(operation) ?? `${operation.operationIdentifier}${operation.isUnimplemented ? ' (declared, not implemented)' : ''}`,\n });\n }\n }\n }\n\n if (kinds.has(WorkspaceElementKind.RELATIONSHIP)) {\n for (const [ref, relationship] of index.relationships) {\n // An edge belongs to BOTH its endpoints, so a resource narrowing keeps it when either side matches.\n if (wanted !== null && !wanted.has(relationship.resourceType1) && !wanted.has(relationship.resourceType2)) continue;\n lines.push({\n kind: WorkspaceElementKind.RELATIONSHIP,\n ref,\n resourceType: relationship.resourceType1,\n label: `${relationship.resourceType1} ${relationship.cardinality1}-to-${relationship.cardinality2} ${relationship.resourceType2}`\n + ` (${relationship.nature}${relationship.foreignKeyField ? `, fk \\`${relationship.foreignKeyField}\\` on ${relationship.foreignKeyHolderResourceType}` : ''})`\n + (relationship.isDisabled ? ' — DISABLED' : ''),\n });\n }\n }\n return lines;\n}\n\n/**\n * GET — one resource in full, by ref.\n *\n * An unknown ref answers `undefined` rather than throwing: a caller that named a resource the\n * application does not have needs to be told that, and a refusal one layer up can say so with the\n * map beside it. Inventing an empty resource would be the worse answer — it reads as \"exists and\n * holds nothing\".\n */\nexport function getWorkspaceResource(index: WorkspaceElementIndex, resourceType: string): WorkspaceResourceView | undefined {\n const resource = index.resources.get(resourceType);\n if (resource === undefined) return undefined;\n const refByIdentity = new Map([...index.relationships].map(([ref, relationship]) => [relationship.relationshipId, ref]));\n return {\n ref: resource.resourceType,\n resourceType: resource.resourceType,\n moduleId: resource.moduleId,\n purpose: resource.specification?.purpose ?? null,\n fields: resource.fields.map((field) => ({\n ref: workspaceFieldRef(resource.resourceType, field.fieldName),\n fieldName: field.fieldName,\n meaning: fieldMeaning(field),\n })),\n operations: resource.operations.map((operation) => ({\n ref: workspaceOperationRef(resource.resourceType, operation),\n operationIdentifier: operation.operationIdentifier,\n variantType: operation.variantType,\n variantKey: operation.variantKey,\n purpose: operationPurpose(operation),\n })),\n relationships: resource.relationships.map((relationship) => relationshipView(\n refByIdentity.get(relationship.relationshipId) ?? workspaceRelationshipRefBase(relationship),\n relationship,\n )),\n };\n}\n\n/** What RELATED answers: the edges walked, and the resources they reached. */\nexport interface WorkspaceRelatedResult {\n readonly from: string;\n readonly edges: readonly WorkspaceRelationshipView[];\n readonly resources: readonly WorkspaceResourceView[];\n /** Named but not on record — an edge pointing at a resource the projection does not carry. */\n readonly unresolved: readonly string[];\n}\n\n/**\n * RELATED — what a resource is connected to, following its declared relationships.\n *\n * This is what replaces the coding floor's hand-cut module slice. A build task targets ONE resource,\n * and what it needs is that resource plus the ones its edges reach — which is neither \"the whole\n * registry\" nor \"everything in its module\": a module slice over-supplies the siblings a task never\n * touches and UNDER-supplies the engine resources its own foreign keys point at (`users`,\n * `organizations` — the scope anchors, and the most load-bearing edges a resource has).\n *\n * `hops` defaults to 1. Bounded rather than transitive-by-default because the relationship graph of\n * a real application is nearly connected through the scope anchors: two hops from any resource\n * reaches most of the application, which is the whole-registry answer with extra steps.\n *\n * A DISABLED edge is walked and reported as disabled rather than skipped. It is declared, a reader\n * asking what a resource is connected to should see it, and the view says `isDisabled` so nothing\n * mistakes it for a live one.\n */\nexport function relatedWorkspaceResources(\n index: WorkspaceElementIndex,\n resourceType: string,\n options: { readonly hops?: number } = {},\n): WorkspaceRelatedResult {\n const hops = Math.max(1, Math.trunc(options.hops ?? 1));\n const refByIdentity = new Map([...index.relationships].map(([ref, relationship]) => [relationship.relationshipId, ref]));\n const visited = new Set<string>([resourceType]);\n const edges = new Map<string, WorkspaceRelationshipView>();\n const unresolved = new Set<string>();\n\n let frontier: string[] = [resourceType];\n for (let hop = 0; hop < hops; hop += 1) {\n const next: string[] = [];\n for (const current of frontier) {\n const resource = index.resources.get(current);\n if (resource === undefined) {\n // Only reachable for the SEED: a neighbour is only ever added after its row is found.\n unresolved.add(current);\n continue;\n }\n for (const relationship of resource.relationships) {\n const ref = refByIdentity.get(relationship.relationshipId) ?? workspaceRelationshipRefBase(relationship);\n if (!edges.has(ref)) edges.set(ref, relationshipView(ref, relationship));\n const neighbour = relationship.resourceType1 === current ? relationship.resourceType2 : relationship.resourceType1;\n if (visited.has(neighbour)) continue;\n if (!index.resources.has(neighbour)) {\n unresolved.add(neighbour);\n continue;\n }\n visited.add(neighbour);\n next.push(neighbour);\n }\n }\n frontier = next;\n if (frontier.length === 0) break;\n }\n\n const resources = [...visited]\n .map((reached) => getWorkspaceResource(index, reached))\n .filter((view): view is WorkspaceResourceView => view !== undefined);\n return { from: resourceType, edges: [...edges.values()], resources, unresolved: [...unresolved] };\n}\n"]}
|