@wildo-ai/saas-specifications 1.1.2 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts +4 -6
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-asset.schemas.js +4 -12
- package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-generation.schemas.d.ts +5 -3
- package/dist/esm/_core/brand/brand-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-generation.schemas.js +5 -2
- package/dist/esm/_core/brand/brand-generation.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +10 -3
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.js +10 -2
- package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js +15 -5
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +40 -3
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +85 -6
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js +10 -4
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts +15 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +10 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +17 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +6 -7
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +6 -13
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts +0 -11
- package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-validation.js +0 -19
- package/dist/esm/_core/expert-personas/expert-persona-validation.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts +1 -2
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.js +1 -2
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.js.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js +17 -4
- package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js.map +1 -1
- package/dist/esm/_core/index.d.ts +1 -0
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js +1 -0
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js +5 -40
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-validation.d.ts +15 -0
- package/dist/esm/_core/market/market-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js +11 -5
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +66 -9
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.js +62 -20
- package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +4 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js +4 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
- package/dist/esm/_core/provider-specification.schemas.d.ts +82 -0
- package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -0
- package/dist/esm/_core/provider-specification.schemas.js +144 -0
- package/dist/esm/_core/provider-specification.schemas.js.map +1 -0
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js +13 -8
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts +15 -0
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js +7 -2
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts +15 -0
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/utils/family-ref-stamping.d.ts +64 -0
- package/dist/esm/_core/utils/family-ref-stamping.d.ts.map +1 -0
- package/dist/esm/_core/utils/family-ref-stamping.js +73 -0
- package/dist/esm/_core/utils/family-ref-stamping.js.map +1 -0
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js +23 -9
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts +0 -4
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +7 -7
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +6 -7
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts +3 -3
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js +3 -3
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts +2 -2
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js +2 -2
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +18 -6
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.js +18 -6
- package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +8 -23
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +57 -27
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
- package/dist/esm/assurance/application-document-publication.schemas.d.ts +20 -6
- package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/application-document-publication.schemas.js +26 -10
- package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +72 -49
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +161 -60
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +25 -0
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts +36 -0
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +859 -0
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -0
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts +43 -0
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.js +56 -0
- package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +14 -7
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js +24 -7
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +8 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.js +10 -2
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.d.ts +447 -11
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +293 -5
- package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts +35 -0
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +999 -0
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -0
- package/dist/esm/companion-exports.d.ts +7 -6
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/engine/_bootstrap.js +3 -1
- package/dist/esm/engine/_bootstrap.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +13 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +2 -0
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +14 -2
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +9 -9
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.js +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js +3 -3
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +13 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +2 -0
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +14 -2
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +32 -0
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +308 -0
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +4 -4
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +2 -2
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +6 -6
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js +9 -9
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +2 -2
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts +9 -25
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +104 -10
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +0 -6
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +32 -0
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +297 -0
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +4 -3
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js +2 -2
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +3 -3
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.js +7 -7
- package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js +7 -7
- package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js +14 -12
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js +7 -7
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +6 -3
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts +7 -3
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +28 -11
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +8 -8
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts +2 -2
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.js +6 -2
- package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
- package/dist/esm/engine/engine-resource-sub-domain.d.ts +20 -0
- package/dist/esm/engine/engine-resource-sub-domain.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-sub-domain.js +66 -0
- package/dist/esm/engine/engine-resource-sub-domain.js.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.js +14 -0
- package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
- package/dist/esm/engine/features/audit-logs.feature.specification.js +4 -4
- package/dist/esm/engine/features/audit-logs.feature.specification.js.map +1 -1
- package/dist/esm/engine/features/core-limits.feature.specifications.js +7 -7
- package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.js +3 -3
- package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js +3 -3
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.js +3 -3
- package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.js +10 -10
- package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +11 -11
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +4 -4
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +2 -2
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +81 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts +0 -4
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +0 -1
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js +0 -21
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +0 -1
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts +0 -4
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts.map +0 -1
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js +0 -21
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js.map +0 -1
- package/dist/esm/engine/frontend-components/index.d.ts +0 -2
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js +4 -6
- package/dist/esm/engine/frontend-components/index.js.map +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js +12 -12
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js +9 -9
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +8 -0
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js +6 -6
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/index.d.ts +1 -0
- package/dist/esm/engine/index.d.ts.map +1 -1
- package/dist/esm/engine/index.js +1 -0
- package/dist/esm/engine/index.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +17 -17
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +7 -7
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +8 -8
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +7 -2
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +10 -5
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +20 -15
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js +11 -10
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +29 -6
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +9 -9
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js +3 -3
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js +4 -4
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +2 -2
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +1 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +7 -7
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
- package/dist/esm/engine/providers/_engine-provider-shared.d.ts +9 -0
- package/dist/esm/engine/providers/_engine-provider-shared.d.ts.map +1 -0
- package/dist/esm/engine/providers/_engine-provider-shared.js +19 -0
- package/dist/esm/engine/providers/_engine-provider-shared.js.map +1 -0
- package/dist/esm/engine/providers/anthropic.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/anthropic.provider.specification.js +33 -0
- package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/apple.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/apple.provider.specification.js +35 -0
- package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/email-preview.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/email-preview.provider.specification.js +31 -0
- package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/github.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/github.provider.specification.js +30 -0
- package/dist/esm/engine/providers/github.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/google.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/google.provider.specification.js +34 -0
- package/dist/esm/engine/providers/google.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/grok.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/grok.provider.specification.js +30 -0
- package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/index.d.ts +23 -0
- package/dist/esm/engine/providers/index.d.ts.map +1 -0
- package/dist/esm/engine/providers/index.js +37 -0
- package/dist/esm/engine/providers/index.js.map +1 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.js +30 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/mistral.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/mistral.provider.specification.js +33 -0
- package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/openai.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/openai.provider.specification.js +43 -0
- package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/opencode.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/opencode.provider.specification.js +50 -0
- package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/perplexity.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/perplexity.provider.specification.js +30 -0
- package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/resend.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/resend.provider.specification.js +33 -0
- package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/stripe.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/stripe.provider.specification.js +35 -0
- package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/twilio.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/twilio.provider.specification.js +33 -0
- package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -0
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +7 -7
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +9 -9
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +2 -2
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +8 -8
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +4 -4
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +4 -4
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +2 -2
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +4 -4
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +13 -11
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js +1 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.js +8 -8
- package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.js +93 -0
- package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +95 -45
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +37 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.js +36 -0
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +8 -8
- package/dist/assurance/external-framework-mapping.json +0 -980
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-messages.specification.js","sourceRoot":"","sources":["../../../../../src/engine/errors/error-messages.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,EAAE,iCAAiC,EAAE,MAAM,6BAA6B,CAAC;AAMhF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAM,yCAAyC,GAG3C;IACF,2EAA2E;IAC3E,uEAAuE;IACvE,0EAA0E;IAC1E,yEAAyE;IACzE,2CAA2C;IAC3C,CAAC,2BAA2B,CAAC,OAAO,CAAC,EAAE;QACrC,QAAQ,EAAE,aAAa,CAAC,QAAQ;QAChC,OAAO,EAAE,kEAAkE;QAC3E,YAAY,EAAE,wEAAwE;KACvF;IACD,CAAC,2BAA2B,CAAC,MAAM,CAAC,EAAE,IAAI;IAC1C,CAAC,2BAA2B,CAAC,OAAO,CAAC,EAAE;QACrC,QAAQ,EAAE,aAAa,CAAC,QAAQ;QAChC,OAAO,EAAE,+FAA+F;QACxG,YAAY,EAAE,wEAAwE;KACvF;IACD,CAAC,2BAA2B,CAAC,cAAc,CAAC,EAAE;QAC5C,QAAQ,EAAE,aAAa,CAAC,QAAQ;QAChC,OAAO,EAAE,iDAAiD;QAC1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Content":["import { LabelAudience } from '@wildo-ai/presets-components-models';\nimport { ErrorCustomMessageReference } from '@wildo-ai/saas-models';\nimport { buildErrorMessageSpecificationMap } from '~wildo-specifications/_core';\nimport type {\n ErrorMessageSpecification,\n ErrorMessageSpecificationDraft,\n} from '~wildo-specifications/_core';\n\n/**\n * Engine-shipped semantic overlay for `ErrorCustomMessageReference`.\n *\n * # Why this record is EXHAUSTIVE (`Record`, not `Partial<Record>`)\n *\n * Every `ErrorCustomMessageReference` member MUST appear here — the\n * `Record<ErrorCustomMessageReference, …>` type makes a missing member a\n * COMPILE error. This is the durable guarantee that a newly-added error\n * reference cannot ship without a deliberate decision about its\n * user-facing wording: either author a draft, or mark it `null`.\n *\n * # `null` = intentionally internal (no user-facing quality investment)\n *\n * `null` means \"this reference is server-internal plumbing (DI, registry,\n * driver, transport, job/queue) that a normal user never meaningfully\n * reads — let the label generator fall back to its default token-based\n * copy.\" Marking `null` is a positive statement, not an omission: it is\n * how the exhaustiveness gate is satisfied for an internal error.\n *\n * # Authored drafts (the user-facing subset — D2)\n *\n * A draft carries `{ audience, purpose, businessRole }`:\n * - `audience` — `END_USER` (consumer flows), `ADMIN` (back-office /\n * operator surfaces), or `DEVELOPER` (integration / API errors).\n * - `purpose` — the USER-FACING intent (what the reader should\n * understand + do next); this is the `errors_messages.<ref>.msg` seed.\n * - `businessRole` — the system condition the error guards.\n *\n * The audience axis is deliberately per-ref (unlike roles, which are all\n * `ADMIN` at the unit level) — invitation/auth flows are `END_USER`,\n * seed/config surfaces are `ADMIN`, API/webhook/SSO integration surfaces\n * are `DEVELOPER`.\n *\n * NOTE: this classification is a first, defensible pass. Refining an\n * individual audience/purpose only touches this record; the mechanism\n * (projection → prompt) is unaffected.\n */\nconst ENGINE_ERROR_MESSAGE_SPECIFICATION_DRAFTS: Record<\n ErrorCustomMessageReference,\n ErrorMessageSpecificationDraft | null\n> = {\n // ── Coarse ErrorType fallbacks ──────────────────────────────────────────\n // Generic buckets shown when no specific reference is set. The clearly\n // user-facing ones get graceful copy; pure server-fault buckets stay null\n // (the generator keeps a terse \"server error\" style; context is stripped\n // from the client for these types anyway).\n [ErrorCustomMessageReference.DEFAULT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user something went wrong and to try again in a moment.',\n businessRole: 'Generic fallback message when no more specific error reference is set.',\n },\n [ErrorCustomMessageReference.CUSTOM]: null,\n [ErrorCustomMessageReference.NETWORK]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the request could not reach the server and to check their connection and retry.',\n businessRole: 'Coarse network-failure bucket surfaced when a request never completed.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user they need to sign in to continue.',\n businessRole: 'Coarse 401 bucket for missing or invalid authentication.',\n },\n [ErrorCustomMessageReference.AUTHORIZATION]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user they don't have permission to do this.\",\n businessRole: 'Coarse 403 bucket for an authenticated but not-permitted request.',\n },\n [ErrorCustomMessageReference.VALIDATION]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user some of the information they entered is invalid and to review it.',\n businessRole: 'Coarse 400 bucket for malformed input or a failed cross-field rule.',\n },\n [ErrorCustomMessageReference.NOT_FOUND]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user the item they're looking for could not be found.\",\n businessRole: 'Coarse 404 bucket for a missing or not-visible resource.',\n },\n [ErrorCustomMessageReference.CONFLICT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the action conflicts with the current state and to reload and try again.',\n businessRole: 'Coarse 409 bucket for a uniqueness, version, or state conflict.',\n },\n [ErrorCustomMessageReference.RATE_LIMIT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user they are doing that too often and to wait a moment before retrying.',\n businessRole: 'Coarse 429 bucket for too many requests.',\n },\n [ErrorCustomMessageReference.INTERNAL]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user an unexpected error occurred on our side and to try again later.',\n businessRole: 'Coarse 500 bucket for a server-side fault (details are logged, not shown).',\n },\n [ErrorCustomMessageReference.DATABASE]: null,\n [ErrorCustomMessageReference.EXTERNAL_SERVICE]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user a service we depend on is temporarily unavailable and to try again later.',\n businessRole: 'Coarse 502 bucket for a failed downstream provider/API.',\n },\n [ErrorCustomMessageReference.UNKNOWN]: null,\n [ErrorCustomMessageReference.UNCAUGHT_EXCEPTION]: null,\n [ErrorCustomMessageReference.UNHANDLED_REJECTION]: null,\n [ErrorCustomMessageReference.BUSINESS_RULE]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the action is not allowed by a business rule.',\n businessRole: 'Coarse 422 bucket for a well-formed request that violates a domain rule.',\n },\n [ErrorCustomMessageReference.INFRASTRUCTURE]: null,\n [ErrorCustomMessageReference.CONFIGURATION]: null,\n\n // ── Controller / repository / service / registry plumbing (internal) ────\n [ErrorCustomMessageReference.CONTROLLER_RESOURCE_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.CONTROLLER_RESOURCE_BUILD_ERROR]: null,\n [ErrorCustomMessageReference.REPOSITORIES_REGISTRY_NOT_FOUND]: null,\n [ErrorCustomMessageReference.REPOSITORIES_REGISTRY_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.REPOSITORY_RESOURCE_OPERATION_FAILED]: null,\n [ErrorCustomMessageReference.REPOSITORY_RESOURCE_SEARCH_NOT_CONFIGURED]: null,\n [ErrorCustomMessageReference.REPOSITORY_RESOURCE_SEARCH_NOT_ENABLED]: null,\n [ErrorCustomMessageReference.REPOSITORY_RESOURCE_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.RESOURCE_ID_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.FILE_ID_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.APP_ID_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.FILENAME_SANITIZATION_FAILED]: null,\n [ErrorCustomMessageReference.CONTENT_LENGTH_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.STREAM_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.SERVICE_RESOURCE_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.SERVICE_RESOURCE_TRANSFORMATION_FAILED]: null,\n [ErrorCustomMessageReference.SERVICE_RESOURCE_BUILD_ERROR]: null,\n [ErrorCustomMessageReference.SERVICE_RESOURCE_OPERATION_FAILED]: null,\n [ErrorCustomMessageReference.SERVICE_RESOURCE_OPERATION_DISABLED]: null,\n [ErrorCustomMessageReference.SERVICE_RESOURCE_REGISTRY_NOT_AVAILABLE]: null,\n [ErrorCustomMessageReference.SERVICES_REGISTRY_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.MONGODB_CONNECTION_FAILED]: null,\n [ErrorCustomMessageReference.MONGODB_OPERATION_FAILED]: null,\n [ErrorCustomMessageReference.MONGODB_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.REDIS_CONNECTION_FAILED]: null,\n [ErrorCustomMessageReference.REDIS_OPERATION_FAILED]: null,\n [ErrorCustomMessageReference.REDIS_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.ZOD_CONVERTER_SCHEMA_CONVERSION_FAILED]: null,\n [ErrorCustomMessageReference.ZOD_CONVERTER_UNSUPPORTED_TYPE]: null,\n [ErrorCustomMessageReference.ZOD_CONVERTER_MODEL_BUILD_FAILED]: null,\n [ErrorCustomMessageReference.RESOURCES_REGISTRY_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.RESOURCES_REGISTRY_REGISTRATION_FAILED]: null,\n [ErrorCustomMessageReference.EXTERNAL_PROVIDER_REGISTRY_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.EXECUTION_CONTEXT_SEALED_MODIFICATION]: null,\n [ErrorCustomMessageReference.EXECUTION_CONTEXT_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.HTTP_SERVER_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.START_APPLICATION_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.START_APPLICATION_CONFIGURATION_FAILED]: null,\n [ErrorCustomMessageReference.START_APPLICATION_STARTUP_FAILED]: null,\n [ErrorCustomMessageReference.AUTHORIZATIONS_MISSING_INITIATOR]: null,\n [ErrorCustomMessageReference.AUTHORIZATIONS_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.AUTHORIZATIONS_ACCESS_DENIED]: null,\n [ErrorCustomMessageReference.AUTHORIZATIONS_NO_OPERATION_CONTEXT]: null,\n\n // ── JWT internals (never user-facing) ───────────────────────────────────\n [ErrorCustomMessageReference.JWT_SIGNING_FAILED]: null,\n [ErrorCustomMessageReference.JWT_VERIFICATION_FAILED]: null,\n [ErrorCustomMessageReference.JWT_TOKEN_GENERATION_FAILED]: null,\n [ErrorCustomMessageReference.JWT_TOKEN_PARSING_FAILED]: null,\n [ErrorCustomMessageReference.JWT_TOKEN_EXPIRED]: null,\n [ErrorCustomMessageReference.JWT_TOKEN_INVALID]: null,\n [ErrorCustomMessageReference.JWT_TOKEN_NOT_FOUND]: null,\n [ErrorCustomMessageReference.JWT_TOKEN_NOT_VERIFIED]: null,\n [ErrorCustomMessageReference.JWT_TOKEN_NOT_SIGNED]: null,\n [ErrorCustomMessageReference.PLATFORM_HTTP_ERROR]: null,\n [ErrorCustomMessageReference.RESOURCE_OPERATION_CUSTOM_IMPLEMENTATION_NOT_IMPLEMENTED]: null,\n [ErrorCustomMessageReference.SERVICE_NOT_FOUND]: null,\n [ErrorCustomMessageReference.SERVICE_CREATION_FAILED]: null,\n [ErrorCustomMessageReference.RESOURCES_REGISTRY_OPERATION_PATH_NOT_FOUND]: null,\n [ErrorCustomMessageReference.RESOURCES_REGISTRY_FIELD_IDENTIFIER_NOT_FOUND]: null,\n [ErrorCustomMessageReference.RESOURCES_REGISTRY_RELATIONSHIP_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.CONTROLLER_RESOURCE_NOT_FOUND]: null,\n [ErrorCustomMessageReference.CONTROLLER_CUSTOM_NAME_CONFLICT]: null,\n [ErrorCustomMessageReference.CONTROLLER_RESOURCE_ID_MUST_BE_UNIQUE]: null,\n\n // ── API-key / token / initiator auth (integrator-facing) ────────────────\n [ErrorCustomMessageReference.AUTHENTICATION_API_KEY_INVALID]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the API key is invalid or unrecognised.',\n businessRole: 'Rejects a request whose API key does not resolve to an active credential.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_API_KEY_FAILED]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller API-key authentication failed.',\n businessRole: 'Generic API-key authentication failure.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_INVALID_TOKEN]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the authentication token is invalid or malformed.',\n businessRole: 'Rejects a request carrying an unparseable or invalid bearer token.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_NO_AUTHENTICATION_PROVIDED]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller no credential was supplied and one is required.',\n businessRole: 'Rejects a request that reached a protected endpoint with no auth material.',\n },\n [ErrorCustomMessageReference.API_CALL_INITIATOR_PARAMETER_MISSING]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller a required initiator parameter is missing from the request.',\n businessRole: 'Rejects an API call whose initiator identification is incomplete.',\n },\n [ErrorCustomMessageReference.API_CALL_INITIATOR_PARAMETER_INCONSISTENT]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the initiator parameters are inconsistent with each other.',\n businessRole: 'Rejects an API call whose initiator parameters contradict.',\n },\n [ErrorCustomMessageReference.API_CALL_INITIATOR_PARAMETER_UNSUPPORTED]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the supplied initiator parameter is not supported.',\n businessRole: 'Rejects an API call using an unsupported initiator parameter.',\n },\n [ErrorCustomMessageReference.API_ORG_KEY_WITHOUT_ORG_ID]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller an organization-scoped API key requires an organization id.',\n businessRole: 'Rejects an org-scoped key used without the organization identifier.',\n },\n [ErrorCustomMessageReference.API_ORG_KEY_WRONG_RESOURCE]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the organization API key is not valid for this resource.',\n businessRole: 'Rejects an org-scoped key used against a resource outside its scope.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_JWT_TOKEN_FAILED]: null,\n [ErrorCustomMessageReference.AUTHENTICATION_USER_NOT_FOUND]: null,\n [ErrorCustomMessageReference.AUTHENTICATION_USER_NOT_ACTIVE]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user their account is not active and to contact support.',\n businessRole: 'Blocks sign-in for a user whose account is not in an active state.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_USER_NOT_AUTHORIZED]: null,\n [ErrorCustomMessageReference.AUTHENTICATION_USER_CREDENTIALS_NOT_FOUND]: null,\n [ErrorCustomMessageReference.AUTHENTICATION_USER_CREDENTIALS_INVALID]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the email or password is incorrect (without revealing which).',\n businessRole: 'Rejects a password sign-in with wrong credentials; deliberately non-specific for security.',\n },\n\n // ── Authentication session & flow (user-facing) ─────────────────────────\n [ErrorCustomMessageReference.AUTHENTICATION_SESSION_INVALID]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user their session is no longer valid and to sign in again.',\n businessRole: 'Rejects a request whose session could not be validated.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_SESSION_EXPIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user their session has expired and to sign in again.',\n businessRole: 'Rejects a request whose session has passed its lifetime.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_ACCOUNT_LOCKED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user their account is locked and how to regain access.',\n businessRole: 'Blocks sign-in for an account locked (e.g. after repeated failures).',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_MFA_REQUIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user multi-factor authentication is required to continue.',\n businessRole: 'Signals the sign-in flow must complete an MFA challenge.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_SSO_REQUIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user their organization requires single sign-on and to use the SSO option.',\n businessRole: 'Blocks password sign-in when the org mandates SSO (grace exhausted or disallowed).',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_EMAIL_REQUIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user an email address is required to continue.',\n businessRole: 'Blocks a sign-in/registration step that needs an email address.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_METHOD_NOT_SUPPORTED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user that sign-in method is not available here.',\n businessRole: 'Rejects an authentication method not enabled for this application.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_PASSWORD_EXPIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user their password has expired and must be changed before continuing.',\n businessRole: 'Blocks token issuance until an expired password is changed (password policy).',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_USER_TYPE_MISMATCH]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user their account can't be used to sign in to this application.\",\n businessRole: \"Blocks sign-in when the user's types do not include this app's active user type.\",\n },\n [ErrorCustomMessageReference.AUTHENTICATION_NOT_IMPLEMENTED]: null,\n [ErrorCustomMessageReference.STEP_UP_REQUIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this action needs them to confirm their identity again.',\n businessRole: 'Requires step-up re-authentication before a sensitive operation.',\n },\n [ErrorCustomMessageReference.CROSS_ORG_SSO_BLOCKED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user cross-organization single sign-on is not allowed for their account.',\n businessRole: 'Blocks SSO when the user already holds an enterprise SSO link from another org.',\n },\n [ErrorCustomMessageReference.APP_CONFIGURATION_UNAUTHORIZED]: null,\n [ErrorCustomMessageReference.APP_CONFIGURATION_NOT_INITIALIZED]: null,\n\n // ── Frontend runtime internals (never user-facing copy) ─────────────────\n [ErrorCustomMessageReference.FRONTEND_FORM_READ_OPERATION_NOT_AVAILABLE]: null,\n [ErrorCustomMessageReference.FRONTEND_NAVIGATION_INVALID_URL_PARAMETERS]: null,\n [ErrorCustomMessageReference.FRONTEND_NAVIGATION_MISSING_REQUIRED_PARAMETERS]: null,\n [ErrorCustomMessageReference.FRONTEND_NAVIGATION_UNRESOLVED_ROUTE_PARAMETERS]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_OPERATION_NOT_FOUND]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_UNSUPPORTED_OPERATION_TYPE]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_SEARCH_OPERATION_INVALID]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_UNSUPPORTED_HTTP_METHOD]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_NO_ENDPOINT_AVAILABLE]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_NO_ROUTE_PATHS_AVAILABLE]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_NO_CALLBACK_URL]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_RESPONSE_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.REGISTRY_FK_MAP_COLLISION]: null,\n [ErrorCustomMessageReference.FRONTEND_FK_RESOLUTION_FAILED]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_FIELD_IDENTIFIER_NOT_FOUND]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCES_NOT_INITIALIZED]: null,\n [ErrorCustomMessageReference.SCHEMA_FAMILY_INVALID_DISCRIMINATOR]: null,\n [ErrorCustomMessageReference.SCHEMA_FAMILY_UNACCOUNTED_VALUES]: null,\n [ErrorCustomMessageReference.SCHEMA_FAMILY_DUPLICATE_VALUES]: null,\n\n // ── Database constraint / field validation (user-facing) ────────────────\n [ErrorCustomMessageReference.UNIQUE_CONSTRAINT_VIOLATION]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the value they entered is already taken and to choose another.',\n businessRole: 'Rejects a write that would break a uniqueness constraint.',\n },\n [ErrorCustomMessageReference.VERSION_CONFLICT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this item was changed by someone else and to reload before saving again.',\n businessRole: 'Rejects an optimistic-concurrency write against a stale version.',\n },\n [ErrorCustomMessageReference.VALIDATE_FIELD_NOT_UNIQUE]: null,\n [ErrorCustomMessageReference.VALIDATE_FIELD_NOT_FOUND]: null,\n [ErrorCustomMessageReference.VALIDATE_FIELD_NOT_UNIQUE_FIELD]: null,\n [ErrorCustomMessageReference.VALIDATION_PASSWORD_POLICY_VIOLATION]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user their password doesn't meet the requirements and to choose a stronger one.\",\n businessRole: 'Rejects a password that fails the configured password policy.',\n },\n\n // ── Queue / job internals (never user-facing) ───────────────────────────\n [ErrorCustomMessageReference.QUEUE_CONNECTION_FAILED]: null,\n [ErrorCustomMessageReference.QUEUE_PUBLISH_FAILED]: null,\n [ErrorCustomMessageReference.QUEUE_CONSUME_FAILED]: null,\n [ErrorCustomMessageReference.QUEUE_CHANNEL_CLOSED]: null,\n [ErrorCustomMessageReference.QUEUE_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.JOB_EXECUTION_FAILED]: null,\n [ErrorCustomMessageReference.JOB_TIMEOUT]: null,\n [ErrorCustomMessageReference.JOB_MAX_RETRIES_EXCEEDED]: null,\n [ErrorCustomMessageReference.JOB_DEAD_LETTERED]: null,\n [ErrorCustomMessageReference.JOB_PAYLOAD_TOO_LARGE]: null,\n [ErrorCustomMessageReference.JOB_PAYLOAD_STORAGE_FAILED]: null,\n [ErrorCustomMessageReference.JOB_PAYLOAD_RETRIEVAL_FAILED]: null,\n [ErrorCustomMessageReference.JOB_NOT_FOUND]: null,\n [ErrorCustomMessageReference.JOB_ALREADY_PROCESSED]: null,\n [ErrorCustomMessageReference.JOB_CANCELLED]: null,\n [ErrorCustomMessageReference.JOB_SCHEDULED_SIGNATURE_INVALID]: null,\n [ErrorCustomMessageReference.JOB_SCHEDULED_SIGNATURE_EXPIRED]: null,\n [ErrorCustomMessageReference.JOB_SCHEDULED_UNAUTHORIZED]: null,\n [ErrorCustomMessageReference.JOB_OPERATION_PATH_NOT_FOUND]: null,\n [ErrorCustomMessageReference.JOB_EXECUTION_CONTEXT_INVALID]: null,\n [ErrorCustomMessageReference.JOB_BATCH_REF_NOT_FOUND]: null,\n\n // ── Feature gating (user-facing) ────────────────────────────────────────\n [ErrorCustomMessageReference.FEATURE_NOT_AVAILABLE]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user this feature isn't available on their current plan.\",\n businessRole: 'Gates a feature the current plan/entitlement does not include.',\n },\n [ErrorCustomMessageReference.FEATURE_LIMIT_EXCEEDED]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user they've reached their plan's limit for this and how to raise it.\",\n businessRole: 'Gates an action that would exceed a plan limit.',\n },\n [ErrorCustomMessageReference.INSUFFICIENT_CREDITS]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user they don't have enough credits for this action.\",\n businessRole: 'Gates a metered action when the credit balance is insufficient.',\n },\n\n // ── Consumable tokens (user-facing share / reset links) ─────────────────\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_NOT_FOUND]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this link is invalid.',\n businessRole: 'Rejects a consumable-token flow whose token does not resolve.',\n },\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_EXPIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this link has expired and to request a new one.',\n businessRole: 'Rejects a consumable token past its expiry.',\n },\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_ALREADY_CONSUMED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this link has already been used.',\n businessRole: 'Rejects a single-use token that was already consumed.',\n },\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_REVOKED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this link has been revoked.',\n businessRole: 'Rejects a consumable token that was revoked before use.',\n },\n // END_USER: a token type/context/operation mismatch surfaces in a user's\n // share/reset link flow as \"this link can't be used here\" — user-facing, not\n // internal. (RACE_CONDITION stays null — a transient internal retry concern.)\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_TYPE_MISMATCH]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this link cannot be used here.',\n businessRole: 'Rejects a consumable token presented for a different token type than expected.',\n },\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_CONTEXT_MISMATCH]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this link cannot be used here.',\n businessRole: 'Rejects a consumable token whose bound context does not match the request.',\n },\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_NOT_ACCEPTED_FOR_OPERATION]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this link cannot be used for this action.',\n businessRole: 'Rejects a consumable token not accepted for the attempted operation.',\n },\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_RACE_CONDITION]: null,\n [ErrorCustomMessageReference.FILE_UPLOAD_GRANT_TARGET_MISMATCH]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this upload link is for a different place and cannot be used here.',\n businessRole: 'Rejects an upload grant presented on a route other than the one resource, field, operation and row it was minted for.',\n },\n [ErrorCustomMessageReference.FILE_UPLOAD_GRANT_DURATION_EXCEEDS_MAX]: {\n audience: LabelAudience.ADMIN,\n purpose: 'Tell the caller the requested link lifetime is above the maximum and to request a shorter one.',\n businessRole: 'Rejects minting an upload grant whose lifetime exceeds the engine ceiling; the ceiling is fixed because the link travels outside the application.',\n },\n [ErrorCustomMessageReference.FILE_UPLOAD_GRANT_MINTER_NOT_ELIGIBLE]: {\n audience: LabelAudience.ADMIN,\n purpose: 'Tell the caller that this kind of session cannot create upload links.',\n businessRole: 'Rejects minting from a consumable-token or anonymous context: a link may not mint a link, and an anonymous session has no subject to attribute the file to.',\n },\n [ErrorCustomMessageReference.FILE_UPLOAD_GRANT_NOT_FOUND]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this upload link is not valid.',\n businessRole: 'Rejects a status read or redemption of an upload grant that does not match any token, without revealing whether one ever existed.',\n },\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_FILE_SHARING_DISABLED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user file sharing is turned off.',\n businessRole: 'Blocks a file-share token flow when sharing is disabled.',\n },\n [ErrorCustomMessageReference.ADDITIVE_TOKEN_REQUIRED]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller this request also requires a consumable-token header alongside its auth.',\n businessRole: 'Enforces the ADDITIVE policy requiring x-consumable-token alongside JWT/API-key auth.',\n },\n [ErrorCustomMessageReference.ONE_OFF_SESSION_DURATION_EXCEEDS_MAX]: {\n audience: LabelAudience.ADMIN,\n purpose: 'Tell the administrator the requested one-off session lifetime is longer than this user type allows, and to request a shorter one.',\n businessRole: \"Caps a super-admin-minted one-off session at the user type's max-duration ceiling so it cannot become a long-lived impersonation credential.\",\n },\n\n // ── Invitation acceptance / registration (user-facing; seed refs) ───────\n [ErrorCustomMessageReference.INVITATION_ORG_VERIFICATION_FAILED]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the invitee we couldn't verify the invitation right now and that it's safe to try again.\",\n businessRole: \"Transient failure verifying the invitation's organization; the single-use token is NOT consumed.\",\n },\n [ErrorCustomMessageReference.AUTHENTICATION_SCIM_LOCAL_CREDENTIAL_BLOCKED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the invitee this organization uses single sign-on, so they should sign in with SSO instead of setting a password.',\n businessRole: 'Blocks setting a local credential for a directory-managed (SCIM) organization.',\n },\n [ErrorCustomMessageReference.INVITATION_NO_LONGER_VALID]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the invitee the invitation link can no longer be used and to ask the inviting administrator for a new one.',\n businessRole: 'Uniform terminal guard on the public invitation-accept flow (unrecognised / expired / consumed / superseded).',\n },\n [ErrorCustomMessageReference.INVITATION_NOT_ADDRESSED_TO_CALLER]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this invitation was sent to a different account.',\n businessRole: 'Rejects an authenticated accept when the invitation targets another account.',\n },\n [ErrorCustomMessageReference.INVITATION_EXISTING_ACCOUNT_NO_PASSWORD]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user they already have an account, so they can accept the invitation and then sign in with their existing method.',\n businessRole: 'Signals the invitee already has an account and must accept without setting a password.',\n },\n [ErrorCustomMessageReference.REGISTRATION_DISABLED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user sign-up is turned off for this application.',\n businessRole: 'Blocks self-service registration when it is disabled for the app/service/user type.',\n },\n [ErrorCustomMessageReference.REGISTRATION_INVITATION_ONLY]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user registration is invitation-only and they need a valid invitation.',\n businessRole: 'Blocks registration without an invitation when the app is invitation-only.',\n },\n [ErrorCustomMessageReference.REGISTRATION_ADMIN_ONLY]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this account type is created by an administrator, so they cannot sign up themselves.',\n businessRole: 'Blocks self-service registration when the user type is admin-provisioned only (registration.mode=admin_only).',\n },\n [ErrorCustomMessageReference.REGISTRATION_PASSWORD_REQUIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user a password is required to finish creating their account.',\n businessRole: 'Blocks registration completion when a password is required but missing.',\n },\n [ErrorCustomMessageReference.REGISTRATION_FAILED]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user registration couldn't be completed and to try again.\",\n businessRole: 'Transient server failure during registration; the user may retry.',\n },\n [ErrorCustomMessageReference.ACCOUNT_ACTIVATION_NOT_ALLOWED]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user this account can't be activated in its current state.\",\n businessRole: 'Blocks activation of an account that exists but is not in an activatable state.',\n },\n\n // ── Auth / session flow (user-facing) ───────────────────────────────────\n [ErrorCustomMessageReference.AUTHENTICATION_FIRST_FACTOR_REQUIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user they must complete the first sign-in step before this one.',\n businessRole: 'Blocks a second-factor step before a first authentication factor is completed.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_MAGIC_LINK_DISABLED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user magic-link sign-in is not available and to use another method.',\n businessRole: 'Blocks magic-link authentication when disabled for the application.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_NO_VERIFIED_PHONE]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user there is no verified phone number for SMS codes and to add one first.',\n businessRole: 'Blocks SMS one-time-passcode delivery when no verified phone is on file.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_ONBOARDING_STATE_INVALID]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user organization setup can't be completed in the current state.\",\n businessRole: 'Blocks completing organization onboarding from an invalid session state.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_SESSION_LOST]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user their session was lost and to start signing in again.',\n businessRole: 'Signals the session was lost after magic-link verification; sign-in must restart.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_SESSION_NO_EMAIL]: null,\n [ErrorCustomMessageReference.AUTHENTICATION_SESSION_NO_USER]: null,\n [ErrorCustomMessageReference.AUTHENTICATION_SMS_OTP_DISABLED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user SMS code sign-in is not available and to use another method.',\n businessRole: 'Blocks SMS one-time-passcode authentication when disabled for the application.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_REFRESH_TOKEN_REQUIRED]: null,\n [ErrorCustomMessageReference.AUTHORIZATION_USER_ID_MISMATCH]: null,\n [ErrorCustomMessageReference.AUTHORIZATION_MACHINE_SCOPE_MISMATCH]: null,\n\n // ── MFA flow (user-facing) ──────────────────────────────────────────────\n [ErrorCustomMessageReference.MFA_ENROLLMENT_STATE_INVALID]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user MFA setup can't be completed right now and to restart it.\",\n businessRole: 'Blocks completing MFA enrollment from an invalid session state.',\n },\n [ErrorCustomMessageReference.MFA_NOT_ENROLLED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user no multi-factor method is set up yet.',\n businessRole: 'Rejects an MFA challenge when no method is enrolled.',\n },\n [ErrorCustomMessageReference.MFA_TOTP_ALREADY_ENROLLED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user an authenticator app is already set up for their account.',\n businessRole: 'Rejects a duplicate TOTP enrollment.',\n },\n [ErrorCustomMessageReference.MFA_TOTP_CODE_INVALID]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user that authentication code didn't match and to try again.\",\n businessRole: 'Rejects an invalid TOTP verification code.',\n },\n [ErrorCustomMessageReference.MFA_TOTP_SETUP_NOT_INITIATED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user to start authenticator setup before entering a code.',\n businessRole: 'Rejects TOTP verification when no pending setup exists.',\n },\n\n // ── Config / request contract ───────────────────────────────────────────\n [ErrorCustomMessageReference.ORG_NAME_REQUIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user an organization name is required.',\n businessRole: 'Rejects organization creation/onboarding without a name.',\n },\n [ErrorCustomMessageReference.ORGANIZATION_UNIT_HAS_DEPENDENTS]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the org admin the unit cannot be deleted while child units or assigned members still hang off it, and that the children must first be re-parented onto another node with MOVE (or the subtree deleted bottom-up).',\n businessRole: 'Protects the integrity of the organization tree: the unit self-relationship declares no delete cascade, so removing an interior node would strand its whole subtree behind a dangling parent reference and a stale hierarchy path.',\n },\n [ErrorCustomMessageReference.ORGANIZATION_UNIT_MOVE_CONFLICT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the org admin the destination is not a legal home for this unit, because it sits inside the unit\\'s own subtree.',\n businessRole: 'Protects the organization tree from a re-parent that would detach a branch into a cycle — a node beneath its own descendant has no route back to the root.',\n },\n [ErrorCustomMessageReference.ORGANIZATION_UNIT_CONFLICT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the org admin the archive or restore is not a legal transition from the unit\\'s current state.',\n businessRole: 'Keeps archive/restore ordered — a branch cannot be restored underneath a parent that is still archived, which would leave an active node unreachable through an inactive ancestor.',\n },\n [ErrorCustomMessageReference.RESOURCE_STATUS_TRANSITION_CONFLICT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this action is unavailable because the item is no longer in a state that permits it, and to refresh before choosing the next action.',\n businessRole: 'Rejects a lifecycle transition when the persisted item\\'s current status is not one of the operation\\'s allowed source statuses.',\n },\n [ErrorCustomMessageReference.ORGANIZATION_SLUG_EXISTS]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the person creating the organization that this web address is already taken, and to choose a different one.',\n businessRole: \"Protects the tenant's URL-safe identity. The slug is creation-time identity and cannot be edited afterwards, so a collision has to be refused at creation — there would be no way to resolve it later.\",\n },\n [ErrorCustomMessageReference.ORGANIZATION_UNIT_CODE_EXISTS]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the org admin that another unit under the same parent already uses this code, and that the code must be changed (or the unit placed elsewhere).',\n businessRole: 'Keeps unit codes unambiguous where they are actually used to disambiguate — among siblings. Codes stay reusable across different branches, and units that carry no code at all are unaffected.',\n },\n [ErrorCustomMessageReference.APPLICATION_SLUG_EXISTS]: {\n audience: LabelAudience.ADMIN,\n purpose: 'Tell the operator creating the application that this slug is already in use somewhere on the platform — including in another organization — and to choose a different one.',\n businessRole: 'Protects the application slug, which names every backing resource the application is provisioned with (its database, database user and message-broker vhost). Uniqueness is deliberately platform-wide rather than per-organization, because two applications sharing a slug would be handed the same backing resources. The slug is creation-time identity and cannot be edited afterwards, so a collision has to be refused at creation.',\n },\n [ErrorCustomMessageReference.FRONTEND_SERVICE_HEADER_REQUIRED]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the X-Frontend-Service-Name header is required.',\n businessRole: 'Rejects a request missing the frontend-service identity header.',\n },\n\n // ── Webhook (integrator-facing) ─────────────────────────────────────────\n [ErrorCustomMessageReference.WEBHOOK_SIGNATURE_INVALID]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the inbound webhook signature could not be verified.',\n businessRole: 'Rejects an inbound webhook whose signature verification failed.',\n },\n\n // ── Billing ─────────────────────────────────────────────────────────────\n [ErrorCustomMessageReference.BILLING_NOT_INITIALIZED]: null,\n [ErrorCustomMessageReference.BILLING_ACCOUNT_NOT_FOUND]: null,\n [ErrorCustomMessageReference.BILLING_NO_PROVIDER_CUSTOMER]: null,\n [ErrorCustomMessageReference.BILLING_SUBSCRIPTION_NOT_FOUND]: null,\n [ErrorCustomMessageReference.BILLING_NO_ACTIVE_SUBSCRIPTION]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user there is no active subscription for this action.',\n businessRole: 'Gates an action that requires an active subscription.',\n },\n [ErrorCustomMessageReference.BILLING_NO_PROVIDER_SUBSCRIPTION]: null,\n [ErrorCustomMessageReference.BILLING_NO_PROVIDER_PRICE]: null,\n [ErrorCustomMessageReference.BILLING_PRODUCT_NOT_FOUND]: null,\n [ErrorCustomMessageReference.BILLING_PRICE_NOT_FOUND]: null,\n [ErrorCustomMessageReference.BILLING_INVALID_PRODUCT_TYPE]: null,\n [ErrorCustomMessageReference.BILLING_PLAN_TIER_REQUIRED]: null,\n [ErrorCustomMessageReference.BILLING_ADDON_NOT_ON_SUBSCRIPTION]: null,\n [ErrorCustomMessageReference.BILLING_LOCAL_WRITE_FAILED]: null,\n [ErrorCustomMessageReference.BILLING_SUBSCRIPTION_NO_ITEMS]: null,\n [ErrorCustomMessageReference.BILLING_ACCOUNT_UPDATE_FAILED]: null,\n [ErrorCustomMessageReference.BILLING_SUBSCRIPTION_UPDATE_FAILED]: null,\n [ErrorCustomMessageReference.BILLING_PROMOTION_NOT_FOUND]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user that promotion code could not be found.',\n businessRole: 'Rejects a promotion code that does not resolve.',\n },\n [ErrorCustomMessageReference.BILLING_INSUFFICIENT_CREDITS]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user they don't have enough credits for this.\",\n businessRole: 'Gates a billing action when the credit balance is insufficient.',\n },\n [ErrorCustomMessageReference.BILLING_CREDIT_POOL_NOT_FOUND]: null,\n [ErrorCustomMessageReference.BILLING_PROMOTION_INVALID]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user that promotion code is not valid.',\n businessRole: 'Rejects a promotion code that is expired or not applicable.',\n },\n [ErrorCustomMessageReference.BILLING_PRODUCT_SCOPE_MISMATCH]: null,\n // Not `null`: the reader is an end user in a self-serve purchase or plan-change flow, and the\n // refusal is a business rule about the request they just made — not plumbing. The message must\n // say the chosen price does not belong to the chosen product, so a UI that de-synced its product\n // and price pickers produces a legible failure instead of an opaque 400.\n [ErrorCustomMessageReference.BILLING_PRICE_PRODUCT_MISMATCH]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the selected price does not belong to the selected product, so the purchase or plan change cannot proceed.',\n businessRole: 'Enforces the price→product foreign key at purchase time: entitlements derive from the product while the provider bills the price, so an unmatched pair would grant one product’s entitlements at another’s price.',\n },\n [ErrorCustomMessageReference.BILLING_SCOPE_NOT_ENABLED]: null,\n // Not `null`: this is a business rule, not plumbing. The reader is whoever wrote the\n // off-boarding routine (the operation is INTERNAL_CALL with no HTTP/UI surface), and the\n // message must tell them the delete was refused on purpose and what to resolve first.\n [ErrorCustomMessageReference.BILLING_ACCOUNT_HAS_DEPENDENTS]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Explain that the billing account cannot be hard-deleted because retained financial records (subscriptions, invoices, usage, credits) still reference it, and that those must be resolved — or the account soft-retired instead — first.',\n businessRole: 'Protects the retained financial audit trail: this account holds the only local provider-customer mapping, so removing it would leave those records unreconcilable against the billing provider.',\n },\n\n // ── SAML protocol engine (SSO integration diagnostics) ──────────────────\n // Deferred: SAML failures surface a coarse authentication error to the\n // end user; these granular refs are operator/integration diagnostics and\n // are left null for a dedicated pass.\n [ErrorCustomMessageReference.SAML_ASSERTION_INVALID]: null,\n [ErrorCustomMessageReference.SAML_SIGNATURE_INVALID]: null,\n [ErrorCustomMessageReference.SAML_AUDIENCE_MISMATCH]: null,\n [ErrorCustomMessageReference.SAML_REPLAY_DETECTED]: null,\n [ErrorCustomMessageReference.SAML_EXPIRED]: null,\n [ErrorCustomMessageReference.SAML_DOMAIN_NOT_VERIFIED]: null,\n [ErrorCustomMessageReference.SAML_CERT_EXPIRED]: null,\n [ErrorCustomMessageReference.SAML_DECRYPTION_FAILED]: null,\n [ErrorCustomMessageReference.SAML_SP_KEY_MISMATCH]: null,\n [ErrorCustomMessageReference.SAML_UNSUPPORTED_ENCRYPTION]: null,\n [ErrorCustomMessageReference.SAML_TRANSIENT_NAMEID]: null,\n [ErrorCustomMessageReference.SAML_INVALID_NAME_ID]: null,\n [ErrorCustomMessageReference.SAML_MOBILE_NOT_SUPPORTED]: null,\n [ErrorCustomMessageReference.SAML_MULTIPLE_ASSERTIONS]: null,\n [ErrorCustomMessageReference.SAML_BINDING_MISMATCH]: null,\n [ErrorCustomMessageReference.SAML_METADATA_PARSE_ERROR]: null,\n [ErrorCustomMessageReference.SAML_INVALID_IN_RESPONSE_TO]: null,\n [ErrorCustomMessageReference.SAML_ORGANIZATION_REQUIRED]: null,\n [ErrorCustomMessageReference.SAML_IDP_INITIATED_NOT_ALLOWED]: null,\n [ErrorCustomMessageReference.SAML_AMBIGUOUS_IDP]: null,\n [ErrorCustomMessageReference.SAML_UNKNOWN_IDP]: null,\n [ErrorCustomMessageReference.SAML_DESTINATION_MISMATCH]: null,\n [ErrorCustomMessageReference.SAML_JAVA_REQUIRED]: null,\n\n // ── Aggregation / chart ─────────────────────────────────────────────────\n [ErrorCustomMessageReference.CHART_NOT_FOUND]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user that chart could not be found.',\n businessRole: 'Rejects a chart request whose chart does not resolve.',\n },\n // END_USER: a chart query timing out is seen by the person viewing the chart.\n [ErrorCustomMessageReference.AGGREGATION_TIMEOUT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the chart took too long to load and to narrow the range or filters.',\n businessRole: 'Aborts a chart aggregation that exceeded its time budget.',\n },\n [ErrorCustomMessageReference.AGGREGATION_MAX_BUCKETS_EXCEEDED]: null,\n [ErrorCustomMessageReference.AGGREGATION_FIELD_ACCESS_DENIED]: null,\n [ErrorCustomMessageReference.AGGREGATION_COMPUTED_EXPRESSION_ERROR]: null,\n [ErrorCustomMessageReference.AGGREGATION_JOIN_ACCESS_DENIED]: null,\n [ErrorCustomMessageReference.AGGREGATION_ACCESS_DENIED]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user they don't have permission to view this chart's data.\",\n businessRole: 'Blocks aggregated-data access without the required list/chart permissions.',\n },\n [ErrorCustomMessageReference.AGGREGATION_SCOPE_UNRESOLVED]: null,\n [ErrorCustomMessageReference.AGGREGATION_SCOPE_CONFLICT]: null,\n [ErrorCustomMessageReference.AGGREGATION_EXECUTION_CONTEXT_REQUIRED]: null,\n\n // ── Agent / flows-actors (developer/config; deferred) ───────────────────\n [ErrorCustomMessageReference.AGENT_PROVIDER_NOT_ENABLED]: null,\n [ErrorCustomMessageReference.AGENT_PROVIDER_NOT_FOUND]: null,\n [ErrorCustomMessageReference.AGENT_OPERATION_NOT_SUPPORTED]: null,\n [ErrorCustomMessageReference.AGENT_IMAGE_GENERATION_NOT_SUPPORTED]: null,\n [ErrorCustomMessageReference.AGENT_IMAGE_PROMPT_REQUIRED]: null,\n [ErrorCustomMessageReference.AGENT_CLI_OUTPUT_INVALID]: null,\n [ErrorCustomMessageReference.AGENT_STRUCTURED_SCHEMA_REQUIRED]: null,\n [ErrorCustomMessageReference.AGENT_MODEL_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.AGENT_MESSAGES_REQUIRED]: null,\n [ErrorCustomMessageReference.AGENT_NOT_ACTIVE]: null,\n [ErrorCustomMessageReference.FLOW_INVALID_KIND]: null,\n [ErrorCustomMessageReference.FLOW_NOT_ACTIVE]: null,\n [ErrorCustomMessageReference.ACTOR_INVALID_KIND]: null,\n [ErrorCustomMessageReference.ACTOR_NOT_ACTIVE]: null,\n [ErrorCustomMessageReference.CHART_PARENT_CONTEXT_INACCESSIBLE]: null,\n\n // ── Auth-methods / SSO (integrator-facing) ──────────────────────────────\n [ErrorCustomMessageReference.AUTHENTICATION_DISABLED_FOR_SERVICE]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user sign-in is not available here.',\n businessRole: 'Blocks authentication for a frontend service + user type combination.',\n },\n // END_USER (not DEVELOPER): these surface to a person attempting a social /\n // SSO sign-in whose provider or connection is unconfigured, so the friendly\n // consumer register fits better than integrator voice.\n [ErrorCustomMessageReference.OAUTH_PROVIDER_NOT_FOUND]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user that sign-in option is not available right now.',\n businessRole: 'Rejects an OAuth/social sign-in flow for an unregistered or disabled provider.',\n },\n [ErrorCustomMessageReference.SSO_CONNECTION_NOT_FOUND]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user single sign-on is not available for their account right now.',\n businessRole: 'Rejects an SSO sign-in flow whose connection was not found or is disabled.',\n },\n\n // ── Config / data-seeding / email ───────────────────────────────────────\n [ErrorCustomMessageReference.APP_CONFIGURATION_FRONTEND_SERVICE_REQUIRED]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the frontendServiceName query parameter is required.',\n businessRole: 'Rejects an app-configuration fetch missing the frontend-service parameter.',\n },\n [ErrorCustomMessageReference.APP_CONFIGURATION_UNKNOWN_FRONTEND_SERVICE]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the frontendServiceName does not match a configured service.',\n businessRole: 'Rejects an app-configuration fetch for an unknown frontend service.',\n },\n [ErrorCustomMessageReference.SEED_ADMIN_SECRET_REQUIRED]: {\n audience: LabelAudience.ADMIN,\n purpose: 'Tell the operator the data-seeding admin secret header is missing.',\n businessRole: 'Rejects a data-seeding admin call without the secret header.',\n },\n [ErrorCustomMessageReference.SEED_ADMIN_SECRET_INVALID]: {\n audience: LabelAudience.ADMIN,\n purpose: 'Tell the operator the data-seeding admin secret did not match.',\n businessRole: 'Rejects a data-seeding admin call with a wrong secret header.',\n },\n [ErrorCustomMessageReference.SEED_ADMIN_INVALID_QUERY]: {\n audience: LabelAudience.ADMIN,\n purpose: 'Tell the operator the data-seeding admin list-runs query is invalid.',\n businessRole: 'Rejects invalid query parameters on the data-seeding admin endpoint.',\n },\n [ErrorCustomMessageReference.SEED_ADMIN_INVALID_PAYLOAD]: {\n audience: LabelAudience.ADMIN,\n purpose: 'Tell the operator the data-seeding admin rerun payload is invalid.',\n businessRole: 'Rejects an invalid request body on the data-seeding admin rerun endpoint.',\n },\n [ErrorCustomMessageReference.REPOSITORY_RESOURCE_SEED_METADATA_NOT_FOUND]: null,\n [ErrorCustomMessageReference.EMAIL_INVALID_ADDRESS_FORMAT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user one of the email addresses is not valid.',\n businessRole: 'Rejects an email whose recipient/cc/bcc/replyTo contains a malformed address.',\n },\n\n // ── File operations ─────────────────────────────────────────────────────\n [ErrorCustomMessageReference.FILE_NOT_FOUND]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user that file could not be found.',\n businessRole: 'Rejects a file operation whose file does not exist or is not accessible.',\n },\n [ErrorCustomMessageReference.FILE_INVALID_STATUS_TRANSITION]: null,\n [ErrorCustomMessageReference.FILE_NOT_LINKABLE]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the file is not ready to be attached (it failed, was removed, or is already in use) and to upload it again.',\n businessRole: 'Rejects attaching a file whose status is outside the linkable set — a failed, deleted, orphaned or infected upload cannot be attached to a record.',\n },\n [ErrorCustomMessageReference.FILE_SCAN_IN_PROGRESS]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the file is still being checked and to try attaching it again in a moment.',\n businessRole: 'Rejects attaching a file whose antivirus scan has not finished; the file is not wrong, only not yet known to be safe, so the action is retryable.',\n },\n [ErrorCustomMessageReference.FILE_ALREADY_LINKED]: null,\n [ErrorCustomMessageReference.FILE_ALREADY_DELETED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user that file has already been deleted.',\n businessRole: 'Rejects a delete on an already-deleted file.',\n },\n [ErrorCustomMessageReference.FILE_ACCESS_DENIED]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user they don't have access to that file.\",\n businessRole: 'Blocks access to a file the caller is not permitted to see.',\n },\n [ErrorCustomMessageReference.FILE_DELETE_WHILE_PROCESSING]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user the file is still being processed and can't be deleted yet.\",\n businessRole: 'Blocks file deletion while the AV scan is in progress.',\n },\n [ErrorCustomMessageReference.FILE_DELETE_LINKED_BLOCKED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user to unlink the file from its item before deleting it.',\n businessRole: 'Blocks deleting a file still linked to a resource.',\n },\n [ErrorCustomMessageReference.FILE_DELETE_UPLOADER_ONLY]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user only the person who uploaded this file can delete it.',\n businessRole: 'Blocks file deletion by anyone other than the original uploader.',\n },\n [ErrorCustomMessageReference.FILE_SHARE_REQUEST_INVALID]: null,\n [ErrorCustomMessageReference.FILE_UPLOAD_NO_FILE]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user no file was provided to upload.',\n businessRole: 'Rejects an upload request with no file.',\n },\n [ErrorCustomMessageReference.FILE_TOO_MANY_FILES]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user they selected too many files for this field and to remove some.',\n businessRole: 'Rejects an upload exceeding the field maximum.',\n },\n [ErrorCustomMessageReference.FILE_GENERATED_FIELD_NOT_WRITABLE]: null,\n [ErrorCustomMessageReference.FILE_FIELD_NOT_OVERRIDABLE]: null,\n [ErrorCustomMessageReference.FILE_FIELD_VALUE_INVALID]: null,\n [ErrorCustomMessageReference.FILE_NESTED_UPDATE_AMBIGUOUS]: null,\n [ErrorCustomMessageReference.FILE_UPLOADER_FIELDS_INCONSISTENT]: null,\n [ErrorCustomMessageReference.FILE_UPLOADER_MISMATCH]: null,\n [ErrorCustomMessageReference.FILE_SCOPE_IDENTIFIER_MISSING]: null,\n [ErrorCustomMessageReference.FILE_SCOPE_IDENTIFIER_INVALID]: null,\n [ErrorCustomMessageReference.FILE_SCOPE_DERIVATION_FAILED]: null,\n [ErrorCustomMessageReference.FILE_TEXT_EXTRACTION_UNSUPPORTED_TYPE]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user text can't be extracted from this type of file.\",\n businessRole: 'Rejects text extraction for an unsupported MIME type.',\n },\n [ErrorCustomMessageReference.FILE_TEXT_EXTRACTION_FAILED]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user this file's contents could not be read, and that a different copy may work.\",\n businessRole: 'Reports a document whose bytes are corrupt, truncated, or password-protected.',\n },\n [ErrorCustomMessageReference.FILE_NOT_FOUND_IN_STORAGE]: null,\n [ErrorCustomMessageReference.FILE_STORAGE_ACCESS_DENIED]: null,\n [ErrorCustomMessageReference.FILE_STORAGE_KEY_COMPOSITION_FAILED]: null,\n [ErrorCustomMessageReference.FILE_STORAGE_REF_INVALID]: null,\n [ErrorCustomMessageReference.FILE_STORAGE_REF_FORBIDDEN]: null,\n [ErrorCustomMessageReference.FILE_PATH_TRAVERSAL_DETECTED]: null,\n\n // ── Bulk relationship ───────────────────────────────────────────────────\n [ErrorCustomMessageReference.BULK_RELATIONSHIP_SELECTOR_REQUIRED]: null,\n};\n\n/**\n * Engine-shipped {@link ErrorMessageSpecification} map — the authored\n * (non-`null`) subset of {@link ENGINE_ERROR_MESSAGE_SPECIFICATION_DRAFTS},\n * with each draft's `ref` injected from the exhaustive record's key.\n *\n * Built once at module load via {@link buildErrorMessageSpecificationMap},\n * which validates every entry and keys it `app.<ref>`. Consumed by the dev\n * companion's label projector to attach `purpose` + `audience` to\n * `errors_messages.<ref>.msg` label keys before generation.\n */\nexport const engineErrorMessageSpecifications: ErrorMessageSpecification =\n buildErrorMessageSpecificationMap(\n ...Object.entries(ENGINE_ERROR_MESSAGE_SPECIFICATION_DRAFTS)\n .filter(\n (entry): entry is [string, ErrorMessageSpecificationDraft] =>\n entry[1] !== null,\n )\n .map(([ref, draft]) => ({ ref, ...draft })),\n );\n"]}
|
|
1
|
+
{"version":3,"file":"error-messages.specification.js","sourceRoot":"","sources":["../../../../../src/engine/errors/error-messages.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,EAAE,iCAAiC,EAAE,MAAM,6BAA6B,CAAC;AAMhF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAM,yCAAyC,GAG3C;IACF,2EAA2E;IAC3E,uEAAuE;IACvE,0EAA0E;IAC1E,yEAAyE;IACzE,2CAA2C;IAC3C,CAAC,2BAA2B,CAAC,OAAO,CAAC,EAAE;QACrC,QAAQ,EAAE,aAAa,CAAC,QAAQ;QAChC,OAAO,EAAE,kEAAkE;QAC3E,YAAY,EAAE,wEAAwE;KACvF;IACD,CAAC,2BAA2B,CAAC,MAAM,CAAC,EAAE,IAAI;IAC1C,CAAC,2BAA2B,CAAC,OAAO,CAAC,EAAE;QACrC,QAAQ,EAAE,aAAa,CAAC,QAAQ;QAChC,OAAO,EAAE,+FAA+F;QACxG,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I;IAC9D,CAAC,2BAA2B,CAAC,4BAA4B,CAAC,EAAE,IAAI;IAEhE,2EAA2E;IAC3E,CAAC,2BAA2B,CAAC,mCAAmC,CAAC,EAAE,IAAI;CACxE,CAAC;AAEF;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAC3C,iCAAiC,CAC/B,GAAG,MAAM,CAAC,OAAO,CAAC,yCAAyC,CAAC;KACzD,MAAM,CACL,CAAC,KAAK,EAAqD,EAAE,CAC3D,KAAK,CAAC,CAAC,CAAC,KAAK,IAAI,CACpB;KACA,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,KAAK,EAAE,CAAC,CAAC,CAC9C,CAAC","sourcesContent":["import { LabelAudience } from '@wildo-ai/presets-components-models';\nimport { ErrorCustomMessageReference } from '@wildo-ai/saas-models';\nimport { buildErrorMessageSpecificationMap } from '~wildo-specifications/_core';\nimport type {\n ErrorMessageSpecification,\n ErrorMessageSpecificationDraft,\n} from '~wildo-specifications/_core';\n\n/**\n * Engine-shipped semantic overlay for `ErrorCustomMessageReference`.\n *\n * # Why this record is EXHAUSTIVE (`Record`, not `Partial<Record>`)\n *\n * Every `ErrorCustomMessageReference` member MUST appear here — the\n * `Record<ErrorCustomMessageReference, …>` type makes a missing member a\n * COMPILE error. This is the durable guarantee that a newly-added error\n * reference cannot ship without a deliberate decision about its\n * user-facing wording: either author a draft, or mark it `null`.\n *\n * # `null` = intentionally internal (no user-facing quality investment)\n *\n * `null` means \"this reference is server-internal plumbing (DI, registry,\n * driver, transport, job/queue) that a normal user never meaningfully\n * reads — let the label generator fall back to its default token-based\n * copy.\" Marking `null` is a positive statement, not an omission: it is\n * how the exhaustiveness gate is satisfied for an internal error.\n *\n * # Authored drafts (the user-facing subset — D2)\n *\n * A draft carries `{ audience, purpose, businessRole }`:\n * - `audience` — `END_USER` (consumer flows), `ADMIN` (back-office /\n * operator surfaces), or `DEVELOPER` (integration / API errors).\n * - `purpose` — the USER-FACING intent (what the reader should\n * understand + do next); this is the `errors_messages.<ref>.msg` seed.\n * - `businessRole` — the system condition the error guards.\n *\n * The audience axis is deliberately per-ref (unlike roles, which are all\n * `ADMIN` at the unit level) — invitation/auth flows are `END_USER`,\n * seed/config surfaces are `ADMIN`, API/webhook/SSO integration surfaces\n * are `DEVELOPER`.\n *\n * NOTE: this classification is a first, defensible pass. Refining an\n * individual audience/purpose only touches this record; the mechanism\n * (projection → prompt) is unaffected.\n */\nconst ENGINE_ERROR_MESSAGE_SPECIFICATION_DRAFTS: Record<\n ErrorCustomMessageReference,\n ErrorMessageSpecificationDraft | null\n> = {\n // ── Coarse ErrorType fallbacks ──────────────────────────────────────────\n // Generic buckets shown when no specific reference is set. The clearly\n // user-facing ones get graceful copy; pure server-fault buckets stay null\n // (the generator keeps a terse \"server error\" style; context is stripped\n // from the client for these types anyway).\n [ErrorCustomMessageReference.DEFAULT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user something went wrong and to try again in a moment.',\n businessRole: 'Generic fallback message when no more specific error reference is set.',\n },\n [ErrorCustomMessageReference.CUSTOM]: null,\n [ErrorCustomMessageReference.NETWORK]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the request could not reach the server and to check their connection and retry.',\n businessRole: 'Coarse network-failure bucket surfaced when a request never completed.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user they need to sign in to continue.',\n businessRole: 'Coarse 401 bucket for missing or invalid authentication.',\n },\n [ErrorCustomMessageReference.AUTHORIZATION]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user they don't have permission to do this.\",\n businessRole: 'Coarse 403 bucket for an authenticated but not-permitted request.',\n },\n [ErrorCustomMessageReference.VALIDATION]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user some of the information they entered is invalid and to review it.',\n businessRole: 'Coarse 400 bucket for malformed input or a failed cross-field rule.',\n },\n [ErrorCustomMessageReference.NOT_FOUND]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user the item they're looking for could not be found.\",\n businessRole: 'Coarse 404 bucket for a missing or not-visible resource.',\n },\n [ErrorCustomMessageReference.CONFLICT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the action conflicts with the current state and to reload and try again.',\n businessRole: 'Coarse 409 bucket for a uniqueness, version, or state conflict.',\n },\n [ErrorCustomMessageReference.RATE_LIMIT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user they are doing that too often and to wait a moment before retrying.',\n businessRole: 'Coarse 429 bucket for too many requests.',\n },\n [ErrorCustomMessageReference.INTERNAL]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user an unexpected error occurred on our side and to try again later.',\n businessRole: 'Coarse 500 bucket for a server-side fault (details are logged, not shown).',\n },\n [ErrorCustomMessageReference.DATABASE]: null,\n [ErrorCustomMessageReference.EXTERNAL_SERVICE]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user a service we depend on is temporarily unavailable and to try again later.',\n businessRole: 'Coarse 502 bucket for a failed downstream provider/API.',\n },\n [ErrorCustomMessageReference.UNKNOWN]: null,\n [ErrorCustomMessageReference.UNCAUGHT_EXCEPTION]: null,\n [ErrorCustomMessageReference.UNHANDLED_REJECTION]: null,\n [ErrorCustomMessageReference.BUSINESS_RULE]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the action is not allowed by a business rule.',\n businessRole: 'Coarse 422 bucket for a well-formed request that violates a domain rule.',\n },\n [ErrorCustomMessageReference.INFRASTRUCTURE]: null,\n [ErrorCustomMessageReference.CONFIGURATION]: null,\n\n // ── Controller / repository / service / registry plumbing (internal) ────\n [ErrorCustomMessageReference.CONTROLLER_RESOURCE_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.CONTROLLER_RESOURCE_BUILD_ERROR]: null,\n [ErrorCustomMessageReference.REPOSITORIES_REGISTRY_NOT_FOUND]: null,\n [ErrorCustomMessageReference.REPOSITORIES_REGISTRY_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.REPOSITORY_RESOURCE_OPERATION_FAILED]: null,\n [ErrorCustomMessageReference.REPOSITORY_RESOURCE_SEARCH_NOT_CONFIGURED]: null,\n [ErrorCustomMessageReference.REPOSITORY_RESOURCE_SEARCH_NOT_ENABLED]: null,\n [ErrorCustomMessageReference.REPOSITORY_RESOURCE_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.RESOURCE_ID_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.FILE_ID_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.APP_ID_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.FILENAME_SANITIZATION_FAILED]: null,\n [ErrorCustomMessageReference.CONTENT_LENGTH_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.STREAM_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.SERVICE_RESOURCE_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.SERVICE_RESOURCE_TRANSFORMATION_FAILED]: null,\n [ErrorCustomMessageReference.SERVICE_RESOURCE_BUILD_ERROR]: null,\n [ErrorCustomMessageReference.SERVICE_RESOURCE_OPERATION_FAILED]: null,\n [ErrorCustomMessageReference.SERVICE_RESOURCE_OPERATION_DISABLED]: null,\n [ErrorCustomMessageReference.SERVICE_RESOURCE_REGISTRY_NOT_AVAILABLE]: null,\n [ErrorCustomMessageReference.SERVICES_REGISTRY_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.MONGODB_CONNECTION_FAILED]: null,\n [ErrorCustomMessageReference.MONGODB_OPERATION_FAILED]: null,\n [ErrorCustomMessageReference.MONGODB_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.REDIS_CONNECTION_FAILED]: null,\n [ErrorCustomMessageReference.REDIS_OPERATION_FAILED]: null,\n [ErrorCustomMessageReference.REDIS_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.ZOD_CONVERTER_SCHEMA_CONVERSION_FAILED]: null,\n [ErrorCustomMessageReference.ZOD_CONVERTER_UNSUPPORTED_TYPE]: null,\n [ErrorCustomMessageReference.ZOD_CONVERTER_MODEL_BUILD_FAILED]: null,\n [ErrorCustomMessageReference.RESOURCES_REGISTRY_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.RESOURCES_REGISTRY_REGISTRATION_FAILED]: null,\n [ErrorCustomMessageReference.EXTERNAL_PROVIDER_REGISTRY_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.EXECUTION_CONTEXT_SEALED_MODIFICATION]: null,\n [ErrorCustomMessageReference.EXECUTION_CONTEXT_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.HTTP_SERVER_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.START_APPLICATION_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.START_APPLICATION_CONFIGURATION_FAILED]: null,\n [ErrorCustomMessageReference.START_APPLICATION_STARTUP_FAILED]: null,\n [ErrorCustomMessageReference.AUTHORIZATIONS_MISSING_INITIATOR]: null,\n [ErrorCustomMessageReference.AUTHORIZATIONS_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.AUTHORIZATIONS_ACCESS_DENIED]: null,\n [ErrorCustomMessageReference.AUTHORIZATIONS_NO_OPERATION_CONTEXT]: null,\n\n // ── JWT internals (never user-facing) ───────────────────────────────────\n [ErrorCustomMessageReference.JWT_SIGNING_FAILED]: null,\n [ErrorCustomMessageReference.JWT_VERIFICATION_FAILED]: null,\n [ErrorCustomMessageReference.JWT_TOKEN_GENERATION_FAILED]: null,\n [ErrorCustomMessageReference.JWT_TOKEN_PARSING_FAILED]: null,\n [ErrorCustomMessageReference.JWT_TOKEN_EXPIRED]: null,\n [ErrorCustomMessageReference.JWT_TOKEN_INVALID]: null,\n [ErrorCustomMessageReference.JWT_TOKEN_NOT_FOUND]: null,\n [ErrorCustomMessageReference.JWT_TOKEN_NOT_VERIFIED]: null,\n [ErrorCustomMessageReference.JWT_TOKEN_NOT_SIGNED]: null,\n [ErrorCustomMessageReference.PLATFORM_HTTP_ERROR]: null,\n [ErrorCustomMessageReference.RESOURCE_OPERATION_CUSTOM_IMPLEMENTATION_NOT_IMPLEMENTED]: null,\n [ErrorCustomMessageReference.SERVICE_NOT_FOUND]: null,\n [ErrorCustomMessageReference.SERVICE_CREATION_FAILED]: null,\n [ErrorCustomMessageReference.RESOURCES_REGISTRY_OPERATION_PATH_NOT_FOUND]: null,\n [ErrorCustomMessageReference.RESOURCES_REGISTRY_FIELD_IDENTIFIER_NOT_FOUND]: null,\n [ErrorCustomMessageReference.RESOURCES_REGISTRY_RELATIONSHIP_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.CONTROLLER_RESOURCE_NOT_FOUND]: null,\n [ErrorCustomMessageReference.CONTROLLER_CUSTOM_NAME_CONFLICT]: null,\n [ErrorCustomMessageReference.CONTROLLER_RESOURCE_ID_MUST_BE_UNIQUE]: null,\n\n // ── API-key / token / initiator auth (integrator-facing) ────────────────\n [ErrorCustomMessageReference.AUTHENTICATION_API_KEY_INVALID]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the API key is invalid or unrecognised.',\n businessRole: 'Rejects a request whose API key does not resolve to an active credential.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_API_KEY_FAILED]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller API-key authentication failed.',\n businessRole: 'Generic API-key authentication failure.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_INVALID_TOKEN]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the authentication token is invalid or malformed.',\n businessRole: 'Rejects a request carrying an unparseable or invalid bearer token.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_NO_AUTHENTICATION_PROVIDED]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller no credential was supplied and one is required.',\n businessRole: 'Rejects a request that reached a protected endpoint with no auth material.',\n },\n [ErrorCustomMessageReference.API_CALL_INITIATOR_PARAMETER_MISSING]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller a required initiator parameter is missing from the request.',\n businessRole: 'Rejects an API call whose initiator identification is incomplete.',\n },\n [ErrorCustomMessageReference.API_CALL_INITIATOR_PARAMETER_INCONSISTENT]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the initiator parameters are inconsistent with each other.',\n businessRole: 'Rejects an API call whose initiator parameters contradict.',\n },\n [ErrorCustomMessageReference.API_CALL_INITIATOR_PARAMETER_UNSUPPORTED]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the supplied initiator parameter is not supported.',\n businessRole: 'Rejects an API call using an unsupported initiator parameter.',\n },\n [ErrorCustomMessageReference.API_ORG_KEY_WITHOUT_ORG_ID]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller an organization-scoped API key requires an organization id.',\n businessRole: 'Rejects an org-scoped key used without the organization identifier.',\n },\n [ErrorCustomMessageReference.API_ORG_KEY_WRONG_RESOURCE]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the organization API key is not valid for this resource.',\n businessRole: 'Rejects an org-scoped key used against a resource outside its scope.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_JWT_TOKEN_FAILED]: null,\n [ErrorCustomMessageReference.AUTHENTICATION_USER_NOT_FOUND]: null,\n [ErrorCustomMessageReference.AUTHENTICATION_USER_NOT_ACTIVE]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user their account is not active and to contact support.',\n businessRole: 'Blocks sign-in for a user whose account is not in an active state.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_USER_NOT_AUTHORIZED]: null,\n [ErrorCustomMessageReference.AUTHENTICATION_USER_CREDENTIALS_NOT_FOUND]: null,\n [ErrorCustomMessageReference.AUTHENTICATION_USER_CREDENTIALS_INVALID]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the email or password is incorrect (without revealing which).',\n businessRole: 'Rejects a password sign-in with wrong credentials; deliberately non-specific for security.',\n },\n\n // ── Authentication session & flow (user-facing) ─────────────────────────\n [ErrorCustomMessageReference.AUTHENTICATION_SESSION_INVALID]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user their session is no longer valid and to sign in again.',\n businessRole: 'Rejects a request whose session could not be validated.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_SESSION_EXPIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user their session has expired and to sign in again.',\n businessRole: 'Rejects a request whose session has passed its lifetime.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_ACCOUNT_LOCKED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user their account is locked and how to regain access.',\n businessRole: 'Blocks sign-in for an account locked (e.g. after repeated failures).',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_MFA_REQUIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user multi-factor authentication is required to continue.',\n businessRole: 'Signals the sign-in flow must complete an MFA challenge.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_SSO_REQUIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user their organization requires single sign-on and to use the SSO option.',\n businessRole: 'Blocks password sign-in when the org mandates SSO (grace exhausted or disallowed).',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_EMAIL_REQUIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user an email address is required to continue.',\n businessRole: 'Blocks a sign-in/registration step that needs an email address.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_METHOD_NOT_SUPPORTED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user that sign-in method is not available here.',\n businessRole: 'Rejects an authentication method not enabled for this application.',\n },\n [ErrorCustomMessageReference.INVITATION_ORGANIZATION_TYPE_UNRESOLVED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell an invitee the invitation cannot be completed right now and that the workspace owner has to act — never that their sign-in choice was wrong.',\n businessRole: 'Refuses invitation acceptance when the joining organization resolves to no user type, so no authentication policy exists to honour. An operator-configuration fault, not a user error: the copy must not send the invitee looking for a different sign-in method, which is what made this indistinguishable from AUTHENTICATION_METHOD_NOT_SUPPORTED for so long.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_PASSWORD_EXPIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user their password has expired and must be changed before continuing.',\n businessRole: 'Blocks token issuance until an expired password is changed (password policy).',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_USER_TYPE_MISMATCH]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user their account can't be used to sign in to this application.\",\n businessRole: \"Blocks sign-in when the user's types do not include this app's active user type.\",\n },\n [ErrorCustomMessageReference.AUTHENTICATION_NOT_IMPLEMENTED]: null,\n [ErrorCustomMessageReference.STEP_UP_REQUIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this action needs them to confirm their identity again.',\n businessRole: 'Requires step-up re-authentication before a sensitive operation.',\n },\n [ErrorCustomMessageReference.CROSS_ORG_SSO_BLOCKED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user cross-organization single sign-on is not allowed for their account.',\n businessRole: 'Blocks SSO when the user already holds an enterprise SSO link from another org.',\n },\n [ErrorCustomMessageReference.APP_CONFIGURATION_UNAUTHORIZED]: null,\n [ErrorCustomMessageReference.APP_CONFIGURATION_NOT_INITIALIZED]: null,\n\n // ── Frontend runtime internals (never user-facing copy) ─────────────────\n [ErrorCustomMessageReference.FRONTEND_FORM_READ_OPERATION_NOT_AVAILABLE]: null,\n [ErrorCustomMessageReference.FRONTEND_NAVIGATION_INVALID_URL_PARAMETERS]: null,\n [ErrorCustomMessageReference.FRONTEND_NAVIGATION_MISSING_REQUIRED_PARAMETERS]: null,\n [ErrorCustomMessageReference.FRONTEND_NAVIGATION_UNRESOLVED_ROUTE_PARAMETERS]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_OPERATION_NOT_FOUND]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_UNSUPPORTED_OPERATION_TYPE]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_SEARCH_OPERATION_INVALID]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_UNSUPPORTED_HTTP_METHOD]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_NO_ENDPOINT_AVAILABLE]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_NO_ROUTE_PATHS_AVAILABLE]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_NO_CALLBACK_URL]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_RESPONSE_VALIDATION_FAILED]: null,\n [ErrorCustomMessageReference.REGISTRY_FK_MAP_COLLISION]: null,\n [ErrorCustomMessageReference.FRONTEND_FK_RESOLUTION_FAILED]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCE_FIELD_IDENTIFIER_NOT_FOUND]: null,\n [ErrorCustomMessageReference.FRONTEND_RESOURCES_NOT_INITIALIZED]: null,\n [ErrorCustomMessageReference.SCHEMA_FAMILY_INVALID_DISCRIMINATOR]: null,\n [ErrorCustomMessageReference.SCHEMA_FAMILY_UNACCOUNTED_VALUES]: null,\n [ErrorCustomMessageReference.SCHEMA_FAMILY_DUPLICATE_VALUES]: null,\n\n // ── Database constraint / field validation (user-facing) ────────────────\n [ErrorCustomMessageReference.UNIQUE_CONSTRAINT_VIOLATION]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the value they entered is already taken and to choose another.',\n businessRole: 'Rejects a write that would break a uniqueness constraint.',\n },\n [ErrorCustomMessageReference.VERSION_CONFLICT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this item was changed by someone else and to reload before saving again.',\n businessRole: 'Rejects an optimistic-concurrency write against a stale version.',\n },\n [ErrorCustomMessageReference.VALIDATE_FIELD_NOT_UNIQUE]: null,\n [ErrorCustomMessageReference.VALIDATE_FIELD_NOT_FOUND]: null,\n [ErrorCustomMessageReference.VALIDATE_FIELD_NOT_UNIQUE_FIELD]: null,\n [ErrorCustomMessageReference.VALIDATION_PASSWORD_POLICY_VIOLATION]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user their password doesn't meet the requirements and to choose a stronger one.\",\n businessRole: 'Rejects a password that fails the configured password policy.',\n },\n\n // ── Queue / job internals (never user-facing) ───────────────────────────\n [ErrorCustomMessageReference.QUEUE_CONNECTION_FAILED]: null,\n [ErrorCustomMessageReference.QUEUE_PUBLISH_FAILED]: null,\n [ErrorCustomMessageReference.QUEUE_CONSUME_FAILED]: null,\n [ErrorCustomMessageReference.QUEUE_CHANNEL_CLOSED]: null,\n [ErrorCustomMessageReference.QUEUE_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.JOB_EXECUTION_FAILED]: null,\n [ErrorCustomMessageReference.JOB_TIMEOUT]: null,\n [ErrorCustomMessageReference.JOB_MAX_RETRIES_EXCEEDED]: null,\n [ErrorCustomMessageReference.JOB_DEAD_LETTERED]: null,\n [ErrorCustomMessageReference.JOB_PAYLOAD_TOO_LARGE]: null,\n [ErrorCustomMessageReference.JOB_PAYLOAD_STORAGE_FAILED]: null,\n [ErrorCustomMessageReference.JOB_PAYLOAD_RETRIEVAL_FAILED]: null,\n [ErrorCustomMessageReference.JOB_NOT_FOUND]: null,\n [ErrorCustomMessageReference.JOB_ALREADY_PROCESSED]: null,\n [ErrorCustomMessageReference.JOB_CANCELLED]: null,\n [ErrorCustomMessageReference.JOB_SCHEDULED_SIGNATURE_INVALID]: null,\n [ErrorCustomMessageReference.JOB_SCHEDULED_SIGNATURE_EXPIRED]: null,\n [ErrorCustomMessageReference.JOB_SCHEDULED_UNAUTHORIZED]: null,\n [ErrorCustomMessageReference.JOB_OPERATION_PATH_NOT_FOUND]: null,\n [ErrorCustomMessageReference.JOB_EXECUTION_CONTEXT_INVALID]: null,\n [ErrorCustomMessageReference.JOB_BATCH_REF_NOT_FOUND]: null,\n\n // ── Feature gating (user-facing) ────────────────────────────────────────\n [ErrorCustomMessageReference.FEATURE_NOT_AVAILABLE]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user this feature isn't available on their current plan.\",\n businessRole: 'Gates a feature the current plan/entitlement does not include.',\n },\n [ErrorCustomMessageReference.FEATURE_LIMIT_EXCEEDED]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user they've reached their plan's limit for this and how to raise it.\",\n businessRole: 'Gates an action that would exceed a plan limit.',\n },\n [ErrorCustomMessageReference.INSUFFICIENT_CREDITS]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user they don't have enough credits for this action.\",\n businessRole: 'Gates a metered action when the credit balance is insufficient.',\n },\n\n // ── Consumable tokens (user-facing share / reset links) ─────────────────\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_NOT_FOUND]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this link is invalid.',\n businessRole: 'Rejects a consumable-token flow whose token does not resolve.',\n },\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_EXPIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this link has expired and to request a new one.',\n businessRole: 'Rejects a consumable token past its expiry.',\n },\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_ALREADY_CONSUMED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this link has already been used.',\n businessRole: 'Rejects a single-use token that was already consumed.',\n },\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_REVOKED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this link has been revoked.',\n businessRole: 'Rejects a consumable token that was revoked before use.',\n },\n // END_USER: a token type/context/operation mismatch surfaces in a user's\n // share/reset link flow as \"this link can't be used here\" — user-facing, not\n // internal. (RACE_CONDITION stays null — a transient internal retry concern.)\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_TYPE_MISMATCH]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this link cannot be used here.',\n businessRole: 'Rejects a consumable token presented for a different token type than expected.',\n },\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_CONTEXT_MISMATCH]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this link cannot be used here.',\n businessRole: 'Rejects a consumable token whose bound context does not match the request.',\n },\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_NOT_ACCEPTED_FOR_OPERATION]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this link cannot be used for this action.',\n businessRole: 'Rejects a consumable token not accepted for the attempted operation.',\n },\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_RACE_CONDITION]: null,\n [ErrorCustomMessageReference.FILE_UPLOAD_GRANT_TARGET_MISMATCH]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this upload link is for a different place and cannot be used here.',\n businessRole: 'Rejects an upload grant presented on a route other than the one resource, field, operation and row it was minted for.',\n },\n [ErrorCustomMessageReference.FILE_UPLOAD_GRANT_DURATION_EXCEEDS_MAX]: {\n audience: LabelAudience.ADMIN,\n purpose: 'Tell the caller the requested link lifetime is above the maximum and to request a shorter one.',\n businessRole: 'Rejects minting an upload grant whose lifetime exceeds the engine ceiling; the ceiling is fixed because the link travels outside the application.',\n },\n [ErrorCustomMessageReference.FILE_UPLOAD_GRANT_MINTER_NOT_ELIGIBLE]: {\n audience: LabelAudience.ADMIN,\n purpose: 'Tell the caller that this kind of session cannot create upload links.',\n businessRole: 'Rejects minting from a consumable-token or anonymous context: a link may not mint a link, and an anonymous session has no subject to attribute the file to.',\n },\n [ErrorCustomMessageReference.FILE_UPLOAD_GRANT_NOT_FOUND]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this upload link is not valid.',\n businessRole: 'Rejects a status read or redemption of an upload grant that does not match any token, without revealing whether one ever existed.',\n },\n [ErrorCustomMessageReference.CONSUMABLE_TOKEN_FILE_SHARING_DISABLED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user file sharing is turned off.',\n businessRole: 'Blocks a file-share token flow when sharing is disabled.',\n },\n [ErrorCustomMessageReference.ADDITIVE_TOKEN_REQUIRED]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller this request also requires a consumable-token header alongside its auth.',\n businessRole: 'Enforces the ADDITIVE policy requiring x-consumable-token alongside JWT/API-key auth.',\n },\n [ErrorCustomMessageReference.ONE_OFF_SESSION_DURATION_EXCEEDS_MAX]: {\n audience: LabelAudience.ADMIN,\n purpose: 'Tell the administrator the requested one-off session lifetime is longer than this user type allows, and to request a shorter one.',\n businessRole: \"Caps a super-admin-minted one-off session at the user type's max-duration ceiling so it cannot become a long-lived impersonation credential.\",\n },\n\n // ── Invitation acceptance / registration (user-facing; seed refs) ───────\n [ErrorCustomMessageReference.INVITATION_ORG_VERIFICATION_FAILED]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the invitee we couldn't verify the invitation right now and that it's safe to try again.\",\n businessRole: \"Transient failure verifying the invitation's organization; the single-use token is NOT consumed.\",\n },\n [ErrorCustomMessageReference.AUTHENTICATION_SCIM_LOCAL_CREDENTIAL_BLOCKED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the invitee this organization uses single sign-on, so they should sign in with SSO instead of setting a password.',\n businessRole: 'Blocks setting a local credential for a directory-managed (SCIM) organization.',\n },\n [ErrorCustomMessageReference.INVITATION_NO_LONGER_VALID]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the invitee the invitation link can no longer be used and to ask the inviting administrator for a new one.',\n businessRole: 'Uniform terminal guard on the public invitation-accept flow (unrecognised / expired / consumed / superseded).',\n },\n [ErrorCustomMessageReference.INVITATION_NOT_ADDRESSED_TO_CALLER]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this invitation was sent to a different account.',\n businessRole: 'Rejects an authenticated accept when the invitation targets another account.',\n },\n [ErrorCustomMessageReference.INVITATION_EXISTING_ACCOUNT_NO_PASSWORD]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user they already have an account, so they can accept the invitation and then sign in with their existing method.',\n businessRole: 'Signals the invitee already has an account and must accept without setting a password.',\n },\n [ErrorCustomMessageReference.REGISTRATION_DISABLED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user sign-up is turned off for this application.',\n businessRole: 'Blocks self-service registration when it is disabled for the app/service/user type.',\n },\n [ErrorCustomMessageReference.REGISTRATION_INVITATION_ONLY]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user registration is invitation-only and they need a valid invitation.',\n businessRole: 'Blocks registration without an invitation when the app is invitation-only.',\n },\n [ErrorCustomMessageReference.REGISTRATION_ADMIN_ONLY]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this account type is created by an administrator, so they cannot sign up themselves.',\n businessRole: 'Blocks self-service registration when the user type is admin-provisioned only (registration.mode=admin_only).',\n },\n [ErrorCustomMessageReference.REGISTRATION_PASSWORD_REQUIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user a password is required to finish creating their account.',\n businessRole: 'Blocks registration completion when a password is required but missing.',\n },\n [ErrorCustomMessageReference.REGISTRATION_FAILED]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user registration couldn't be completed and to try again.\",\n businessRole: 'Transient server failure during registration; the user may retry.',\n },\n [ErrorCustomMessageReference.ACCOUNT_ACTIVATION_NOT_ALLOWED]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user this account can't be activated in its current state.\",\n businessRole: 'Blocks activation of an account that exists but is not in an activatable state.',\n },\n\n // ── Auth / session flow (user-facing) ───────────────────────────────────\n [ErrorCustomMessageReference.AUTHENTICATION_FIRST_FACTOR_REQUIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user they must complete the first sign-in step before this one.',\n businessRole: 'Blocks a second-factor step before a first authentication factor is completed.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_MAGIC_LINK_DISABLED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user magic-link sign-in is not available and to use another method.',\n businessRole: 'Blocks magic-link authentication when disabled for the application.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_NO_VERIFIED_PHONE]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user there is no verified phone number for SMS codes and to add one first.',\n businessRole: 'Blocks SMS one-time-passcode delivery when no verified phone is on file.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_ONBOARDING_STATE_INVALID]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user organization setup can't be completed in the current state.\",\n businessRole: 'Blocks completing organization onboarding from an invalid session state.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_SESSION_LOST]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user their session was lost and to start signing in again.',\n businessRole: 'Signals the session was lost after magic-link verification; sign-in must restart.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_SESSION_NO_EMAIL]: null,\n [ErrorCustomMessageReference.AUTHENTICATION_SESSION_NO_USER]: null,\n [ErrorCustomMessageReference.AUTHENTICATION_SMS_OTP_DISABLED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user SMS code sign-in is not available and to use another method.',\n businessRole: 'Blocks SMS one-time-passcode authentication when disabled for the application.',\n },\n [ErrorCustomMessageReference.AUTHENTICATION_REFRESH_TOKEN_REQUIRED]: null,\n [ErrorCustomMessageReference.AUTHORIZATION_USER_ID_MISMATCH]: null,\n [ErrorCustomMessageReference.AUTHORIZATION_MACHINE_SCOPE_MISMATCH]: null,\n\n // ── MFA flow (user-facing) ──────────────────────────────────────────────\n [ErrorCustomMessageReference.MFA_ENROLLMENT_STATE_INVALID]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user MFA setup can't be completed right now and to restart it.\",\n businessRole: 'Blocks completing MFA enrollment from an invalid session state.',\n },\n [ErrorCustomMessageReference.MFA_NOT_ENROLLED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user no multi-factor method is set up yet.',\n businessRole: 'Rejects an MFA challenge when no method is enrolled.',\n },\n [ErrorCustomMessageReference.MFA_TOTP_ALREADY_ENROLLED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user an authenticator app is already set up for their account.',\n businessRole: 'Rejects a duplicate TOTP enrollment.',\n },\n [ErrorCustomMessageReference.MFA_TOTP_CODE_INVALID]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user that authentication code didn't match and to try again.\",\n businessRole: 'Rejects an invalid TOTP verification code.',\n },\n [ErrorCustomMessageReference.MFA_TOTP_SETUP_NOT_INITIATED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user to start authenticator setup before entering a code.',\n businessRole: 'Rejects TOTP verification when no pending setup exists.',\n },\n\n // ── Config / request contract ───────────────────────────────────────────\n [ErrorCustomMessageReference.ORG_NAME_REQUIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user an organization name is required.',\n businessRole: 'Rejects organization creation/onboarding without a name.',\n },\n [ErrorCustomMessageReference.ORGANIZATION_UNIT_HAS_DEPENDENTS]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the org admin the unit cannot be deleted while child units or assigned members still hang off it, and that the children must first be re-parented onto another node with MOVE (or the subtree deleted bottom-up).',\n businessRole: 'Protects the integrity of the organization tree: the unit self-relationship declares no delete cascade, so removing an interior node would strand its whole subtree behind a dangling parent reference and a stale hierarchy path.',\n },\n [ErrorCustomMessageReference.ORGANIZATION_UNIT_MOVE_CONFLICT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the org admin the destination is not a legal home for this unit, because it sits inside the unit\\'s own subtree.',\n businessRole: 'Protects the organization tree from a re-parent that would detach a branch into a cycle — a node beneath its own descendant has no route back to the root.',\n },\n [ErrorCustomMessageReference.ORGANIZATION_UNIT_CONFLICT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the org admin the archive or restore is not a legal transition from the unit\\'s current state.',\n businessRole: 'Keeps archive/restore ordered — a branch cannot be restored underneath a parent that is still archived, which would leave an active node unreachable through an inactive ancestor.',\n },\n [ErrorCustomMessageReference.RESOURCE_STATUS_TRANSITION_CONFLICT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user this action is unavailable because the item is no longer in a state that permits it, and to refresh before choosing the next action.',\n businessRole: 'Rejects a lifecycle transition when the persisted item\\'s current status is not one of the operation\\'s allowed source statuses.',\n },\n [ErrorCustomMessageReference.ORGANIZATION_SLUG_EXISTS]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the person creating the organization that this web address is already taken, and to choose a different one.',\n businessRole: \"Protects the tenant's URL-safe identity. The slug is creation-time identity and cannot be edited afterwards, so a collision has to be refused at creation — there would be no way to resolve it later.\",\n },\n [ErrorCustomMessageReference.ORGANIZATION_UNIT_CODE_EXISTS]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the org admin that another unit under the same parent already uses this code, and that the code must be changed (or the unit placed elsewhere).',\n businessRole: 'Keeps unit codes unambiguous where they are actually used to disambiguate — among siblings. Codes stay reusable across different branches, and units that carry no code at all are unaffected.',\n },\n [ErrorCustomMessageReference.APPLICATION_SLUG_EXISTS]: {\n audience: LabelAudience.ADMIN,\n purpose: 'Tell the operator creating the application that this slug is already in use somewhere on the platform — including in another organization — and to choose a different one.',\n businessRole: 'Protects the application slug, which names every backing resource the application is provisioned with (its database, database user and message-broker vhost). Uniqueness is deliberately platform-wide rather than per-organization, because two applications sharing a slug would be handed the same backing resources. The slug is creation-time identity and cannot be edited afterwards, so a collision has to be refused at creation.',\n },\n [ErrorCustomMessageReference.FRONTEND_SERVICE_HEADER_REQUIRED]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the X-Frontend-Service-Name header is required.',\n businessRole: 'Rejects a request missing the frontend-service identity header.',\n },\n\n // ── Webhook (integrator-facing) ─────────────────────────────────────────\n [ErrorCustomMessageReference.WEBHOOK_SIGNATURE_INVALID]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the inbound webhook signature could not be verified.',\n businessRole: 'Rejects an inbound webhook whose signature verification failed.',\n },\n\n // ── Billing ─────────────────────────────────────────────────────────────\n [ErrorCustomMessageReference.BILLING_NOT_INITIALIZED]: null,\n [ErrorCustomMessageReference.BILLING_ACCOUNT_NOT_FOUND]: null,\n [ErrorCustomMessageReference.BILLING_NO_PROVIDER_CUSTOMER]: null,\n [ErrorCustomMessageReference.BILLING_SUBSCRIPTION_NOT_FOUND]: null,\n [ErrorCustomMessageReference.BILLING_NO_ACTIVE_SUBSCRIPTION]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user there is no active subscription for this action.',\n businessRole: 'Gates an action that requires an active subscription.',\n },\n [ErrorCustomMessageReference.BILLING_NO_PROVIDER_SUBSCRIPTION]: null,\n [ErrorCustomMessageReference.BILLING_NO_PROVIDER_PRICE]: null,\n [ErrorCustomMessageReference.BILLING_PRODUCT_NOT_FOUND]: null,\n [ErrorCustomMessageReference.BILLING_PRICE_NOT_FOUND]: null,\n [ErrorCustomMessageReference.BILLING_INVALID_PRODUCT_TYPE]: null,\n [ErrorCustomMessageReference.BILLING_PLAN_TIER_REQUIRED]: null,\n [ErrorCustomMessageReference.BILLING_ADDON_NOT_ON_SUBSCRIPTION]: null,\n [ErrorCustomMessageReference.BILLING_LOCAL_WRITE_FAILED]: null,\n [ErrorCustomMessageReference.BILLING_SUBSCRIPTION_NO_ITEMS]: null,\n [ErrorCustomMessageReference.BILLING_ACCOUNT_UPDATE_FAILED]: null,\n [ErrorCustomMessageReference.BILLING_SUBSCRIPTION_UPDATE_FAILED]: null,\n [ErrorCustomMessageReference.BILLING_PROMOTION_NOT_FOUND]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user that promotion code could not be found.',\n businessRole: 'Rejects a promotion code that does not resolve.',\n },\n [ErrorCustomMessageReference.BILLING_INSUFFICIENT_CREDITS]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user they don't have enough credits for this.\",\n businessRole: 'Gates a billing action when the credit balance is insufficient.',\n },\n [ErrorCustomMessageReference.BILLING_CREDIT_POOL_NOT_FOUND]: null,\n [ErrorCustomMessageReference.BILLING_PROMOTION_INVALID]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user that promotion code is not valid.',\n businessRole: 'Rejects a promotion code that is expired or not applicable.',\n },\n [ErrorCustomMessageReference.BILLING_PRODUCT_SCOPE_MISMATCH]: null,\n // Not `null`: the reader is an end user in a self-serve purchase or plan-change flow, and the\n // refusal is a business rule about the request they just made — not plumbing. The message must\n // say the chosen price does not belong to the chosen product, so a UI that de-synced its product\n // and price pickers produces a legible failure instead of an opaque 400.\n [ErrorCustomMessageReference.BILLING_PRICE_PRODUCT_MISMATCH]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the selected price does not belong to the selected product, so the purchase or plan change cannot proceed.',\n businessRole: 'Enforces the price→product foreign key at purchase time: entitlements derive from the product while the provider bills the price, so an unmatched pair would grant one product’s entitlements at another’s price.',\n },\n // Not `null`: the reader is an end user part-way through a purchase or plan change, and a plan\n // that has been withdrawn from the catalogue is a business fact they need stated — otherwise a\n // pricing page that still lists a retired plan (nothing filters `isActive` on that surface today)\n // produces an unexplained 409 at the moment of payment.\n [ErrorCustomMessageReference.BILLING_PRODUCT_RETIRED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the plan or add-on they chose is no longer offered, so this purchase or plan change cannot proceed.',\n businessRole: 'Enforces catalogue retirement at purchase time: a product withdrawn from the code catalogue keeps whatever entitlements the last sync wrote, so allowing a new purchase would grant a frozen, unmaintained set of features.',\n },\n [ErrorCustomMessageReference.BILLING_SCOPE_NOT_ENABLED]: null,\n // Not `null`: this is a business rule, not plumbing. The reader is whoever wrote the\n // off-boarding routine (the operation is INTERNAL_CALL with no HTTP/UI surface), and the\n // message must tell them the delete was refused on purpose and what to resolve first.\n [ErrorCustomMessageReference.BILLING_ACCOUNT_HAS_DEPENDENTS]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Explain that the billing account cannot be hard-deleted because retained financial records (subscriptions, invoices, usage, credits) still reference it, and that those must be resolved — or the account soft-retired instead — first.',\n businessRole: 'Protects the retained financial audit trail: this account holds the only local provider-customer mapping, so removing it would leave those records unreconcilable against the billing provider.',\n },\n\n // ── SAML protocol engine (SSO integration diagnostics) ──────────────────\n // Deferred: SAML failures surface a coarse authentication error to the\n // end user; these granular refs are operator/integration diagnostics and\n // are left null for a dedicated pass.\n [ErrorCustomMessageReference.SAML_ASSERTION_INVALID]: null,\n [ErrorCustomMessageReference.SAML_SIGNATURE_INVALID]: null,\n [ErrorCustomMessageReference.SAML_AUDIENCE_MISMATCH]: null,\n [ErrorCustomMessageReference.SAML_REPLAY_DETECTED]: null,\n [ErrorCustomMessageReference.SAML_EXPIRED]: null,\n [ErrorCustomMessageReference.SAML_DOMAIN_NOT_VERIFIED]: null,\n [ErrorCustomMessageReference.SAML_CERT_EXPIRED]: null,\n [ErrorCustomMessageReference.SAML_DECRYPTION_FAILED]: null,\n [ErrorCustomMessageReference.SAML_SP_KEY_MISMATCH]: null,\n [ErrorCustomMessageReference.SAML_UNSUPPORTED_ENCRYPTION]: null,\n [ErrorCustomMessageReference.SAML_TRANSIENT_NAMEID]: null,\n [ErrorCustomMessageReference.SAML_INVALID_NAME_ID]: null,\n [ErrorCustomMessageReference.SAML_MOBILE_NOT_SUPPORTED]: null,\n [ErrorCustomMessageReference.SAML_MULTIPLE_ASSERTIONS]: null,\n [ErrorCustomMessageReference.SAML_BINDING_MISMATCH]: null,\n [ErrorCustomMessageReference.SAML_METADATA_PARSE_ERROR]: null,\n [ErrorCustomMessageReference.SAML_INVALID_IN_RESPONSE_TO]: null,\n [ErrorCustomMessageReference.SAML_ORGANIZATION_REQUIRED]: null,\n [ErrorCustomMessageReference.SAML_IDP_INITIATED_NOT_ALLOWED]: null,\n [ErrorCustomMessageReference.SAML_AMBIGUOUS_IDP]: null,\n [ErrorCustomMessageReference.SAML_UNKNOWN_IDP]: null,\n [ErrorCustomMessageReference.SAML_DESTINATION_MISMATCH]: null,\n [ErrorCustomMessageReference.SAML_JAVA_REQUIRED]: null,\n\n // ── Aggregation / chart ─────────────────────────────────────────────────\n [ErrorCustomMessageReference.CHART_NOT_FOUND]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user that chart could not be found.',\n businessRole: 'Rejects a chart request whose chart does not resolve.',\n },\n // END_USER: a chart query timing out is seen by the person viewing the chart.\n [ErrorCustomMessageReference.AGGREGATION_TIMEOUT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the chart took too long to load and to narrow the range or filters.',\n businessRole: 'Aborts a chart aggregation that exceeded its time budget.',\n },\n [ErrorCustomMessageReference.AGGREGATION_MAX_BUCKETS_EXCEEDED]: null,\n [ErrorCustomMessageReference.AGGREGATION_FIELD_ACCESS_DENIED]: null,\n [ErrorCustomMessageReference.AGGREGATION_COMPUTED_EXPRESSION_ERROR]: null,\n [ErrorCustomMessageReference.AGGREGATION_JOIN_ACCESS_DENIED]: null,\n [ErrorCustomMessageReference.AGGREGATION_ACCESS_DENIED]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user they don't have permission to view this chart's data.\",\n businessRole: 'Blocks aggregated-data access without the required list/chart permissions.',\n },\n [ErrorCustomMessageReference.AGGREGATION_SCOPE_UNRESOLVED]: null,\n [ErrorCustomMessageReference.AGGREGATION_SCOPE_CONFLICT]: null,\n [ErrorCustomMessageReference.AGGREGATION_EXECUTION_CONTEXT_REQUIRED]: null,\n\n // ── Agent / flows-actors (developer/config; deferred) ───────────────────\n [ErrorCustomMessageReference.AGENT_PROVIDER_NOT_ENABLED]: null,\n [ErrorCustomMessageReference.AGENT_PROVIDER_NOT_FOUND]: null,\n [ErrorCustomMessageReference.AGENT_OPERATION_NOT_SUPPORTED]: null,\n [ErrorCustomMessageReference.AGENT_IMAGE_GENERATION_NOT_SUPPORTED]: null,\n [ErrorCustomMessageReference.AGENT_IMAGE_PROMPT_REQUIRED]: null,\n [ErrorCustomMessageReference.AGENT_CLI_OUTPUT_INVALID]: null,\n [ErrorCustomMessageReference.AGENT_STRUCTURED_SCHEMA_REQUIRED]: null,\n [ErrorCustomMessageReference.AGENT_MODEL_INITIALIZATION_FAILED]: null,\n [ErrorCustomMessageReference.AGENT_MESSAGES_REQUIRED]: null,\n [ErrorCustomMessageReference.AGENT_NOT_ACTIVE]: null,\n [ErrorCustomMessageReference.FLOW_INVALID_KIND]: null,\n [ErrorCustomMessageReference.FLOW_NOT_ACTIVE]: null,\n [ErrorCustomMessageReference.ACTOR_INVALID_KIND]: null,\n [ErrorCustomMessageReference.ACTOR_NOT_ACTIVE]: null,\n [ErrorCustomMessageReference.CHART_PARENT_CONTEXT_INACCESSIBLE]: null,\n\n // ── Auth-methods / SSO (integrator-facing) ──────────────────────────────\n [ErrorCustomMessageReference.AUTHENTICATION_DISABLED_FOR_SERVICE]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user sign-in is not available here.',\n businessRole: 'Blocks authentication for a frontend service + user type combination.',\n },\n // END_USER (not DEVELOPER): these surface to a person attempting a social /\n // SSO sign-in whose provider or connection is unconfigured, so the friendly\n // consumer register fits better than integrator voice.\n [ErrorCustomMessageReference.OAUTH_PROVIDER_NOT_FOUND]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user that sign-in option is not available right now.',\n businessRole: 'Rejects an OAuth/social sign-in flow for an unregistered or disabled provider.',\n },\n [ErrorCustomMessageReference.SSO_CONNECTION_NOT_FOUND]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user single sign-on is not available for their account right now.',\n businessRole: 'Rejects an SSO sign-in flow whose connection was not found or is disabled.',\n },\n\n // ── Config / data-seeding / email ───────────────────────────────────────\n [ErrorCustomMessageReference.APP_CONFIGURATION_FRONTEND_SERVICE_REQUIRED]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the frontendServiceName query parameter is required.',\n businessRole: 'Rejects an app-configuration fetch missing the frontend-service parameter.',\n },\n [ErrorCustomMessageReference.APP_CONFIGURATION_UNKNOWN_FRONTEND_SERVICE]: {\n audience: LabelAudience.DEVELOPER,\n purpose: 'Tell the caller the frontendServiceName does not match a configured service.',\n businessRole: 'Rejects an app-configuration fetch for an unknown frontend service.',\n },\n [ErrorCustomMessageReference.SEED_ADMIN_SECRET_REQUIRED]: {\n audience: LabelAudience.ADMIN,\n purpose: 'Tell the operator the data-seeding admin secret header is missing.',\n businessRole: 'Rejects a data-seeding admin call without the secret header.',\n },\n [ErrorCustomMessageReference.SEED_ADMIN_SECRET_INVALID]: {\n audience: LabelAudience.ADMIN,\n purpose: 'Tell the operator the data-seeding admin secret did not match.',\n businessRole: 'Rejects a data-seeding admin call with a wrong secret header.',\n },\n [ErrorCustomMessageReference.SEED_ADMIN_INVALID_QUERY]: {\n audience: LabelAudience.ADMIN,\n purpose: 'Tell the operator the data-seeding admin list-runs query is invalid.',\n businessRole: 'Rejects invalid query parameters on the data-seeding admin endpoint.',\n },\n [ErrorCustomMessageReference.SEED_ADMIN_INVALID_PAYLOAD]: {\n audience: LabelAudience.ADMIN,\n purpose: 'Tell the operator the data-seeding admin rerun payload is invalid.',\n businessRole: 'Rejects an invalid request body on the data-seeding admin rerun endpoint.',\n },\n [ErrorCustomMessageReference.REPOSITORY_RESOURCE_SEED_METADATA_NOT_FOUND]: null,\n [ErrorCustomMessageReference.EMAIL_INVALID_ADDRESS_FORMAT]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user one of the email addresses is not valid.',\n businessRole: 'Rejects an email whose recipient/cc/bcc/replyTo contains a malformed address.',\n },\n\n // ── File operations ─────────────────────────────────────────────────────\n [ErrorCustomMessageReference.FILE_NOT_FOUND]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user that file could not be found.',\n businessRole: 'Rejects a file operation whose file does not exist or is not accessible.',\n },\n [ErrorCustomMessageReference.FILE_INVALID_STATUS_TRANSITION]: null,\n [ErrorCustomMessageReference.FILE_NOT_LINKABLE]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the file is not ready to be attached (it failed, was removed, or is already in use) and to upload it again.',\n businessRole: 'Rejects attaching a file whose status is outside the linkable set — a failed, deleted, orphaned or infected upload cannot be attached to a record.',\n },\n [ErrorCustomMessageReference.FILE_SCAN_IN_PROGRESS]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user the file is still being checked and to try attaching it again in a moment.',\n businessRole: 'Rejects attaching a file whose antivirus scan has not finished; the file is not wrong, only not yet known to be safe, so the action is retryable.',\n },\n [ErrorCustomMessageReference.FILE_ALREADY_LINKED]: null,\n [ErrorCustomMessageReference.FILE_ALREADY_DELETED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user that file has already been deleted.',\n businessRole: 'Rejects a delete on an already-deleted file.',\n },\n [ErrorCustomMessageReference.FILE_ACCESS_DENIED]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user they don't have access to that file.\",\n businessRole: 'Blocks access to a file the caller is not permitted to see.',\n },\n [ErrorCustomMessageReference.FILE_DELETE_WHILE_PROCESSING]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user the file is still being processed and can't be deleted yet.\",\n businessRole: 'Blocks file deletion while the AV scan is in progress.',\n },\n [ErrorCustomMessageReference.FILE_DELETE_LINKED_BLOCKED]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user to unlink the file from its item before deleting it.',\n businessRole: 'Blocks deleting a file still linked to a resource.',\n },\n [ErrorCustomMessageReference.FILE_DELETE_UPLOADER_ONLY]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user only the person who uploaded this file can delete it.',\n businessRole: 'Blocks file deletion by anyone other than the original uploader.',\n },\n [ErrorCustomMessageReference.FILE_SHARE_REQUEST_INVALID]: null,\n [ErrorCustomMessageReference.FILE_UPLOAD_NO_FILE]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user no file was provided to upload.',\n businessRole: 'Rejects an upload request with no file.',\n },\n [ErrorCustomMessageReference.FILE_TOO_MANY_FILES]: {\n audience: LabelAudience.END_USER,\n purpose: 'Tell the user they selected too many files for this field and to remove some.',\n businessRole: 'Rejects an upload exceeding the field maximum.',\n },\n [ErrorCustomMessageReference.FILE_GENERATED_FIELD_NOT_WRITABLE]: null,\n [ErrorCustomMessageReference.FILE_FIELD_NOT_OVERRIDABLE]: null,\n [ErrorCustomMessageReference.FILE_FIELD_VALUE_INVALID]: null,\n [ErrorCustomMessageReference.FILE_NESTED_UPDATE_AMBIGUOUS]: null,\n [ErrorCustomMessageReference.FILE_UPLOADER_FIELDS_INCONSISTENT]: null,\n [ErrorCustomMessageReference.FILE_UPLOADER_MISMATCH]: null,\n [ErrorCustomMessageReference.FILE_SCOPE_IDENTIFIER_MISSING]: null,\n [ErrorCustomMessageReference.FILE_SCOPE_IDENTIFIER_INVALID]: null,\n [ErrorCustomMessageReference.FILE_SCOPE_DERIVATION_FAILED]: null,\n [ErrorCustomMessageReference.FILE_TEXT_EXTRACTION_UNSUPPORTED_TYPE]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user text can't be extracted from this type of file.\",\n businessRole: 'Rejects text extraction for an unsupported MIME type.',\n },\n [ErrorCustomMessageReference.FILE_TEXT_EXTRACTION_FAILED]: {\n audience: LabelAudience.END_USER,\n purpose: \"Tell the user this file's contents could not be read, and that a different copy may work.\",\n businessRole: 'Reports a document whose bytes are corrupt, truncated, or password-protected.',\n },\n [ErrorCustomMessageReference.FILE_NOT_FOUND_IN_STORAGE]: null,\n [ErrorCustomMessageReference.FILE_STORAGE_ACCESS_DENIED]: null,\n [ErrorCustomMessageReference.FILE_STORAGE_KEY_COMPOSITION_FAILED]: null,\n [ErrorCustomMessageReference.FILE_STORAGE_REF_INVALID]: null,\n [ErrorCustomMessageReference.FILE_STORAGE_REF_FORBIDDEN]: null,\n [ErrorCustomMessageReference.FILE_PATH_TRAVERSAL_DETECTED]: null,\n\n // ── Bulk relationship ───────────────────────────────────────────────────\n [ErrorCustomMessageReference.BULK_RELATIONSHIP_SELECTOR_REQUIRED]: null,\n};\n\n/**\n * Engine-shipped {@link ErrorMessageSpecification} map — the authored\n * (non-`null`) subset of {@link ENGINE_ERROR_MESSAGE_SPECIFICATION_DRAFTS},\n * with each draft's `ref` injected from the exhaustive record's key.\n *\n * Built once at module load via {@link buildErrorMessageSpecificationMap},\n * which validates every entry and keys it `app.<ref>`. Consumed by the dev\n * companion's label projector to attach `purpose` + `audience` to\n * `errors_messages.<ref>.msg` label keys before generation.\n */\nexport const engineErrorMessageSpecifications: ErrorMessageSpecification =\n buildErrorMessageSpecificationMap(\n ...Object.entries(ENGINE_ERROR_MESSAGE_SPECIFICATION_DRAFTS)\n .filter(\n (entry): entry is [string, ErrorMessageSpecificationDraft] =>\n entry[1] !== null,\n )\n .map(([ref, draft]) => ({ ref, ...draft })),\n );\n"]}
|
|
@@ -3,12 +3,12 @@ import { appLevelFeatureSpecificationFromDefinition } from '../../_core/index.js
|
|
|
3
3
|
import { CORE_FEATURE_DEFINITIONS_COLLECTION_SYMBOL, ENGINE_OWNER_REF, coreFeatureDefinitionCollectionEntry, coreFeatureIdentifierDeclaration, } from './_engine-feature-shared.js';
|
|
4
4
|
export const auditLogsFeatureSpecification = appLevelFeatureSpecificationFromDefinition({ identifier: CoreFeature.AUDIT_LOGS }, () => ({
|
|
5
5
|
purpose: 'Surface the security/compliance audit trail so administrators can retrospectively review who did what across the tenant.',
|
|
6
|
-
businessRole: 'Compliance-tier capability
|
|
6
|
+
businessRole: 'Compliance-tier capability flag for the read-side of the engine’s security audit trail. The engine SHIPS the flag and does not read it: the audit-log settings destination declares no `entitlementFeatureId`, and no other code branches on this identifier, so an application that wants the read surface gated wires the gate itself.',
|
|
7
7
|
availabilityRole: 'Compliance/security plan gate — typically required by mid-market and enterprise buyers, often paired with `SINGLE_SIGN_ON` and `SECURITY_EVENT_EXPORT`.',
|
|
8
|
-
useWhen: '
|
|
9
|
-
avoidWhen: 'Avoid using this flag to gate the recording itself — the engine always records audit events
|
|
8
|
+
useWhen: 'Declare this feature when the tenant should see its own audit log surface (filterable, searchable, exportable inside the product UI), and wire the gate that reads it.',
|
|
9
|
+
avoidWhen: 'Avoid using this flag to gate the recording itself — the engine always records audit events. This flag is only ever about the read/export surface.',
|
|
10
10
|
businessConstraints: [
|
|
11
|
-
'The recording side of the audit trail must remain unconditional
|
|
11
|
+
'The recording side of the audit trail must remain unconditional. A gate wired on this flag hides the read surface and must never disable ingestion.',
|
|
12
12
|
'This flag does not grant downstream SIEM forwarding — that capability lives on `SECURITY_EVENT_EXPORT`.',
|
|
13
13
|
],
|
|
14
14
|
codeHandling: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audit-logs.feature.specification.js","sourceRoot":"","sources":["../../../../../src/engine/features/audit-logs.feature.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,0CAA0C,EAAE,MAAM,6BAA6B,CAAC;AACzF,OAAO,EACL,0CAA0C,EAC1C,gBAAgB,EAChB,oCAAoC,EACpC,gCAAgC,GACjC,MAAM,0BAA0B,CAAC;AAElC,MAAM,CAAC,MAAM,6BAA6B,GAAG,0CAA0C,CACrF,EAAE,UAAU,EAAE,WAAW,CAAC,UAAU,EAAE,EACtC,GAAG,EAAE,CAAC,CAAC;IACL,OAAO,EACL,0HAA0H;IAC5H,YAAY,EACV,
|
|
1
|
+
{"version":3,"file":"audit-logs.feature.specification.js","sourceRoot":"","sources":["../../../../../src/engine/features/audit-logs.feature.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,0CAA0C,EAAE,MAAM,6BAA6B,CAAC;AACzF,OAAO,EACL,0CAA0C,EAC1C,gBAAgB,EAChB,oCAAoC,EACpC,gCAAgC,GACjC,MAAM,0BAA0B,CAAC;AAElC,MAAM,CAAC,MAAM,6BAA6B,GAAG,0CAA0C,CACrF,EAAE,UAAU,EAAE,WAAW,CAAC,UAAU,EAAE,EACtC,GAAG,EAAE,CAAC,CAAC;IACL,OAAO,EACL,0HAA0H;IAC5H,YAAY,EACV,0UAA0U;IAC5U,gBAAgB,EACd,yJAAyJ;IAC3J,OAAO,EACL,wKAAwK;IAC1K,SAAS,EACP,oJAAoJ;IACtJ,mBAAmB,EAAE;QACnB,qJAAqJ;QACrJ,yGAAyG;KAC1G;IACD,YAAY,EAAE;QACZ,eAAe,EAAE,gBAAgB;QACjC,gBAAgB,EAAE,0CAA0C;QAC5D,yBAAyB,EAAE,oCAAoC,CAC7D,WAAW,CAAC,UAAU,CACvB;QACD,qBAAqB,EAAE,gCAAgC,CAAC,YAAY,CAAC;KACtE;CACF,CAAC,CACH,CAAC","sourcesContent":["import { CoreFeature } from '@wildo-ai/saas-models';\nimport { appLevelFeatureSpecificationFromDefinition } from '~wildo-specifications/_core';\nimport {\n CORE_FEATURE_DEFINITIONS_COLLECTION_SYMBOL,\n ENGINE_OWNER_REF,\n coreFeatureDefinitionCollectionEntry,\n coreFeatureIdentifierDeclaration,\n} from './_engine-feature-shared';\n\nexport const auditLogsFeatureSpecification = appLevelFeatureSpecificationFromDefinition(\n { identifier: CoreFeature.AUDIT_LOGS },\n () => ({\n purpose:\n 'Surface the security/compliance audit trail so administrators can retrospectively review who did what across the tenant.',\n businessRole:\n 'Compliance-tier capability flag for the read-side of the engine’s security audit trail. The engine SHIPS the flag and does not read it: the audit-log settings destination declares no `entitlementFeatureId`, and no other code branches on this identifier, so an application that wants the read surface gated wires the gate itself.',\n availabilityRole:\n 'Compliance/security plan gate — typically required by mid-market and enterprise buyers, often paired with `SINGLE_SIGN_ON` and `SECURITY_EVENT_EXPORT`.',\n useWhen:\n 'Declare this feature when the tenant should see its own audit log surface (filterable, searchable, exportable inside the product UI), and wire the gate that reads it.',\n avoidWhen:\n 'Avoid using this flag to gate the recording itself — the engine always records audit events. This flag is only ever about the read/export surface.',\n businessConstraints: [\n 'The recording side of the audit trail must remain unconditional. A gate wired on this flag hides the read surface and must never disable ingestion.',\n 'This flag does not grant downstream SIEM forwarding — that capability lives on `SECURITY_EVENT_EXPORT`.',\n ],\n codeHandling: {\n definitionOwner: ENGINE_OWNER_REF,\n definitionSymbol: CORE_FEATURE_DEFINITIONS_COLLECTION_SYMBOL,\n definitionCollectionEntry: coreFeatureDefinitionCollectionEntry(\n CoreFeature.AUDIT_LOGS,\n ),\n identifierDeclaration: coreFeatureIdentifierDeclaration('AUDIT_LOGS'),\n },\n }),\n);\n"]}
|
|
@@ -23,13 +23,13 @@ import { appLevelFeatureSpecificationFromDefinition } from '../../_core/index.js
|
|
|
23
23
|
import { CORE_FEATURE_DEFINITIONS_COLLECTION_SYMBOL, ENGINE_OWNER_REF, coreFeatureDefinitionCollectionEntry, } from './_engine-feature-shared.js';
|
|
24
24
|
export const maxMembersFeatureSpecification = appLevelFeatureSpecificationFromDefinition({ identifier: 'MAX_MEMBERS' }, () => ({
|
|
25
25
|
purpose: 'Cap the number of members an organisation can hold so seat-based packaging stays enforceable.',
|
|
26
|
-
businessRole: 'Seat-based limit feature
|
|
26
|
+
businessRole: 'Seat-based limit feature declaring organisation-membership counting. NOT ENFORCED TODAY: no operation declares a `limitChecks` entry for it, and automatic registration runs only for application-declared limits built with `countResource`, so the engine ships the declaration and the default value without a gate behind them.',
|
|
27
27
|
availabilityRole: 'Plan-derived numeric limit. The default of 5 covers entry tiers; larger seat counts ship through plan upgrades or seat add-ons.',
|
|
28
|
-
useWhen: '
|
|
28
|
+
useWhen: 'Read this limit whenever a tenant operation tries to add a new organisation member. Nothing consumes it automatically: an application that wants the cap enforced declares its own `limitChecks` entry on the `ORGANIZATION_MEMBERS` CREATE operation, or declares its own limit feature with `countResource` so the check is auto-registered.',
|
|
29
29
|
avoidWhen: 'Avoid using this limit to gate non-member resources (API keys, anonymous users) — those have their own dedicated counters.',
|
|
30
30
|
businessConstraints: [
|
|
31
|
-
'Lowering the limit below the current member count must not silently revoke existing memberships;
|
|
32
|
-
'
|
|
31
|
+
'Lowering the limit below the current member count must not silently revoke existing memberships; a gate, once declared, fails closed for new additions only.',
|
|
32
|
+
'The counted resource is named by the runtime `FeatureDefinition.counting.resourceType` field. Counting from an ad-hoc read instead would silently overflow the limit.',
|
|
33
33
|
],
|
|
34
34
|
codeHandling: {
|
|
35
35
|
definitionOwner: ENGINE_OWNER_REF,
|
|
@@ -42,13 +42,13 @@ export const maxMembersFeatureSpecification = appLevelFeatureSpecificationFromDe
|
|
|
42
42
|
}));
|
|
43
43
|
export const maxApiKeysFeatureSpecification = appLevelFeatureSpecificationFromDefinition({ identifier: 'MAX_API_KEYS' }, () => ({
|
|
44
44
|
purpose: 'Cap the number of API keys an organisation can mint so credential sprawl stays bounded by plan tier.',
|
|
45
|
-
businessRole: 'API-credential limit feature
|
|
45
|
+
businessRole: 'API-credential limit feature declaring the `ORG_API_KEYS` resource counter. NOT ENFORCED TODAY, for the same reason as `MAX_MEMBERS`: no operation declares a `limitChecks` entry for it and core definitions are not auto-registered.',
|
|
46
46
|
availabilityRole: 'Plan-derived numeric limit. The default of 2 covers low-touch integrations; higher counts ship as part of integration-heavy plans.',
|
|
47
|
-
useWhen: '
|
|
47
|
+
useWhen: 'Read this limit whenever a tenant operation tries to create a new organisation-scoped API key. Nothing consumes it automatically; an application that wants the cap enforced declares the check itself.',
|
|
48
48
|
avoidWhen: 'Avoid using this limit to gate application-scoped API keys, user-scoped tokens, or webhook secrets — those credentials live on different counters.',
|
|
49
49
|
businessConstraints: [
|
|
50
50
|
'Lowering the limit below the current key count must not silently revoke existing keys; revocation is an explicit admin action.',
|
|
51
|
-
'
|
|
51
|
+
'The counted resource is named by the runtime `FeatureDefinition.counting.resourceType` field. Creation paths that count some other way would silently overflow the limit.',
|
|
52
52
|
],
|
|
53
53
|
codeHandling: {
|
|
54
54
|
definitionOwner: ENGINE_OWNER_REF,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core-limits.feature.specifications.js","sourceRoot":"","sources":["../../../../../src/engine/features/core-limits.feature.specifications.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;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AC1F,EAAE,UAAU,EAAE,2BAA2B,EAAE,EAC3C,GAAG,EAAE,CAAC,CAAC;IACL,OAAO,EACL,8KAA8K;IAChL,YAAY,EACV,kWAAkW;IACpW,gBAAgB,EACd,wPAAwP;IAC1P,OAAO,EACL,oKAAoK;IACtK,SAAS,EACP,uLAAuL;IACzL,mBAAmB,EAAE;QACnB,wSAAwS;QACxS,gOAAgO;QAChO,mQAAmQ;QACnQ,6JAA6J;KAC9J;IACD,YAAY,EAAE;QACZ,eAAe,EAAE,gBAAgB;QACjC,gBAAgB,EAAE,0CAA0C;QAC5D,yBAAyB,EAAE,oCAAoC,CAAC,2BAA2B,CAAC;QAC5F,KAAK,EAAE;YACL,+OAA+O;YAC/O,qPAAqP;YACrP,0OAA0O;SAC3O;KACF;CACF,CAAC,CACH,CAAC","sourcesContent":["/**\n * Engine-shipped overlays for the LIMIT-typed feature definitions in\n * `CORE_FEATURE_DEFINITIONS` that are NOT members of the `CoreFeature`\n * enum (`MAX_MEMBERS`, `MAX_API_KEYS`).\n *\n * These two LIMIT features are bundled into a single file because they\n * share the same shape (organisation-scoped numeric limit feeding a\n * resource counter) and are not enum members — there is no `CoreFeature`\n * declaration to point `identifierDeclaration` at, so the spec layer\n * carries the literal string identifier as `ref` directly. Companion\n * prompts surface them just like the enum-backed entries, but the\n * `codeHandling` shape reflects the truthful absence of a public enum\n * declaration.\n *\n * Q5-2 says \"engine ships overlays for: (a) all 7 `CoreFeature`\n * definitions\". The LIMIT entries are engine-shipped feature\n * definitions too — covering them keeps the engine overlay set\n * exhaustive across `CORE_FEATURE_DEFINITIONS`, not only the enum\n * subset.\n */\n\nimport { A2A_TOKEN_BUDGET_FEATURE_ID } from '@wildo-ai/saas-models';\nimport { appLevelFeatureSpecificationFromDefinition } from '~wildo-specifications/_core';\nimport {\n CORE_FEATURE_DEFINITIONS_COLLECTION_SYMBOL,\n ENGINE_OWNER_REF,\n coreFeatureDefinitionCollectionEntry,\n} from './_engine-feature-shared';\n\nexport const maxMembersFeatureSpecification = appLevelFeatureSpecificationFromDefinition(\n { identifier: 'MAX_MEMBERS' },\n () => ({\n purpose:\n 'Cap the number of members an organisation can hold so seat-based packaging stays enforceable.',\n businessRole:\n 'Seat-based limit feature backing organisation-membership counting. The enforcement and counting both run inside the engine feature gate.',\n availabilityRole:\n 'Plan-derived numeric limit. The default of 5 covers entry tiers; larger seat counts ship through plan upgrades or seat add-ons.',\n useWhen:\n 'Use this limit whenever a tenant operation tries to add a new organisation member; the engine feature gate consumes it automatically against the `ORGANIZATION_MEMBERS` resource counter.',\n avoidWhen:\n 'Avoid using this limit to gate non-member resources (API keys, anonymous users) — those have their own dedicated counters.',\n businessConstraints: [\n 'Lowering the limit below the current member count must not silently revoke existing memberships; the gate fails closed for new additions only.',\n 'Counting is owned by the runtime `FeatureDefinition.counting.resourceType` field, not by ad-hoc reads — bypassing the counter would silently overflow the limit.',\n ],\n codeHandling: {\n definitionOwner: ENGINE_OWNER_REF,\n definitionSymbol: CORE_FEATURE_DEFINITIONS_COLLECTION_SYMBOL,\n definitionCollectionEntry: coreFeatureDefinitionCollectionEntry('MAX_MEMBERS'),\n notes: [\n 'No public enum declaration owns this identifier — the runtime entry uses the literal string `MAX_MEMBERS` directly inside `CORE_FEATURE_DEFINITIONS`. Authors should treat `MAX_MEMBERS` as a stable constant and surface the value via the engine feature gate.',\n ],\n },\n }),\n);\n\nexport const maxApiKeysFeatureSpecification = appLevelFeatureSpecificationFromDefinition(\n { identifier: 'MAX_API_KEYS' },\n () => ({\n purpose:\n 'Cap the number of API keys an organisation can mint so credential sprawl stays bounded by plan tier.',\n businessRole:\n 'API-credential limit feature backing the `ORG_API_KEYS` resource counter inside the engine feature gate.',\n availabilityRole:\n 'Plan-derived numeric limit. The default of 2 covers low-touch integrations; higher counts ship as part of integration-heavy plans.',\n useWhen:\n 'Use this limit whenever a tenant operation tries to create a new organisation-scoped API key; the engine feature gate consumes it automatically.',\n avoidWhen:\n 'Avoid using this limit to gate application-scoped API keys, user-scoped tokens, or webhook secrets — those credentials live on different counters.',\n businessConstraints: [\n 'Lowering the limit below the current key count must not silently revoke existing keys; revocation is an explicit admin action.',\n 'API key counting is owned by the runtime `FeatureDefinition.counting.resourceType` field — ad-hoc creation paths that bypass the counter would silently overflow the limit.',\n ],\n codeHandling: {\n definitionOwner: ENGINE_OWNER_REF,\n definitionSymbol: CORE_FEATURE_DEFINITIONS_COLLECTION_SYMBOL,\n definitionCollectionEntry: coreFeatureDefinitionCollectionEntry('MAX_API_KEYS'),\n notes: [\n 'No public enum declaration owns this identifier — the runtime entry uses the literal string `MAX_API_KEYS` directly inside `CORE_FEATURE_DEFINITIONS`. Authors should treat `MAX_API_KEYS` as a stable constant and surface the value via the engine feature gate.',\n ],\n },\n }),\n);\n\nexport const a2aTokenBudgetFeatureSpecification = appLevelFeatureSpecificationFromDefinition(\n { identifier: A2A_TOKEN_BUDGET_FEATURE_ID },\n () => ({\n purpose:\n 'Cap how many LLM tokens a tenant\\'s inbound Agent2Agent (A2A) agent turns may consume per billing period, so exposing an agent endpoint cannot become unbounded model spend.',\n businessRole:\n 'Consumption CEILING for external agent traffic. Unlike the seat/credential limits above — which are entitlement FLOORS that plans raise — this one is a cap that plans TIGHTEN: the most restrictive value wins, and unlimited means \"no ceiling\". Enforcement lives in the A2A transport, which denies a turn with HTTP 402 once the period allowance is spent.',\n availabilityRole:\n 'Plan-derived numeric limit, granted per billing plan. Absent (or unlimited) by default, so A2A budgeting is strictly opt-in: an application that never grants it keeps today\\'s uncapped behaviour, and only the per-principal burst throttle applies.',\n useWhen:\n 'Grant this whenever a plan exposes A2A agent access and the model spend it drives must be bounded by tier — the transport consumes it automatically on every turn.',\n avoidWhen:\n 'Avoid using it to gate non-LLM external traffic: MCP `tools/call` dispatches a CRUD resource operation rather than an agent turn, and is bounded by its own request throttle instead.',\n businessConstraints: [\n 'Measured in TOKENS, not currency: the framework\\'s canonical provider-usage pricing registry is deliberately not consulted by this A2A entitlement gate. The gate caps directly metered transport consumption; monetary reservation and settlement belong to the separate Work Cycle budget authority.',\n 'The allowance applies to the PAYING TENANT, which is not always the conversation owner — a user-delegated turn is billed to the organisation the user is acting within, while the conversation record stays owned by the user.',\n 'Consumption is only known after a turn completes, so the gate compares already-accumulated usage: a tenant can exceed the cap by the turns in flight when it is reached, and lowering an allowance mid-period does not retroactively revoke turns already served.',\n 'Agent transports that report no token usage (and turns that fail after the model has run) cannot be metered; that spend is logged but invisible to the cap.',\n ],\n codeHandling: {\n definitionOwner: ENGINE_OWNER_REF,\n definitionSymbol: CORE_FEATURE_DEFINITIONS_COLLECTION_SYMBOL,\n definitionCollectionEntry: coreFeatureDefinitionCollectionEntry(A2A_TOKEN_BUDGET_FEATURE_ID),\n notes: [\n 'The identifier is exported as the named constant `A2A_TOKEN_BUDGET_FEATURE_ID` from `@wildo-ai/saas-models` — the single source shared by the definition and the enforcing service, so a grant cannot drift from what the transport resolves.',\n 'This definition carries `limitSemantic: CEILING`, which is load-bearing rather than descriptive: under the default FLOOR semantic the unlimited default would absorb every finite plan grant (most-permissive wins) and the cap could never engage.',\n 'It intentionally declares no `counting` config: consumption is a sum of tokens rather than a count of resource rows, so the feature gate\\'s row-counting strategy cannot measure it and the A2A budget service owns measurement instead.',\n ],\n },\n }),\n);\n"]}
|
|
1
|
+
{"version":3,"file":"core-limits.feature.specifications.js","sourceRoot":"","sources":["../../../../../src/engine/features/core-limits.feature.specifications.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,EAAE,0CAA0C,EAAE,MAAM,6BAA6B,CAAC;AACzF,OAAO,EACL,0CAA0C,EAC1C,gBAAgB,EAChB,oCAAoC,GACrC,MAAM,0BAA0B,CAAC;AAElC,MAAM,CAAC,MAAM,8BAA8B,GAAG,0CAA0C,CACtF,EAAE,UAAU,EAAE,aAAa,EAAE,EAC7B,GAAG,EAAE,CAAC,CAAC;IACL,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AgB;QACjC,gBAAgB,EAAE,0CAA0C;QAC5D,yBAAyB,EAAE,oCAAoC,CAAC,2BAA2B,CAAC;QAC5F,KAAK,EAAE;YACL,+OAA+O;YAC/O,qPAAqP;YACrP,0OAA0O;SAC3O;KACF;CACF,CAAC,CACH,CAAC","sourcesContent":["/**\n * Engine-shipped overlays for the LIMIT-typed feature definitions in\n * `CORE_FEATURE_DEFINITIONS` that are NOT members of the `CoreFeature`\n * enum (`MAX_MEMBERS`, `MAX_API_KEYS`).\n *\n * These two LIMIT features are bundled into a single file because they\n * share the same shape (organisation-scoped numeric limit feeding a\n * resource counter) and are not enum members — there is no `CoreFeature`\n * declaration to point `identifierDeclaration` at, so the spec layer\n * carries the literal string identifier as `ref` directly. Companion\n * prompts surface them just like the enum-backed entries, but the\n * `codeHandling` shape reflects the truthful absence of a public enum\n * declaration.\n *\n * Q5-2 says \"engine ships overlays for: (a) all 7 `CoreFeature`\n * definitions\". The LIMIT entries are engine-shipped feature\n * definitions too — covering them keeps the engine overlay set\n * exhaustive across `CORE_FEATURE_DEFINITIONS`, not only the enum\n * subset.\n */\n\nimport { A2A_TOKEN_BUDGET_FEATURE_ID } from '@wildo-ai/saas-models';\nimport { appLevelFeatureSpecificationFromDefinition } from '~wildo-specifications/_core';\nimport {\n CORE_FEATURE_DEFINITIONS_COLLECTION_SYMBOL,\n ENGINE_OWNER_REF,\n coreFeatureDefinitionCollectionEntry,\n} from './_engine-feature-shared';\n\nexport const maxMembersFeatureSpecification = appLevelFeatureSpecificationFromDefinition(\n { identifier: 'MAX_MEMBERS' },\n () => ({\n purpose:\n 'Cap the number of members an organisation can hold so seat-based packaging stays enforceable.',\n businessRole:\n 'Seat-based limit feature declaring organisation-membership counting. NOT ENFORCED TODAY: no operation declares a `limitChecks` entry for it, and automatic registration runs only for application-declared limits built with `countResource`, so the engine ships the declaration and the default value without a gate behind them.',\n availabilityRole:\n 'Plan-derived numeric limit. The default of 5 covers entry tiers; larger seat counts ship through plan upgrades or seat add-ons.',\n useWhen:\n 'Read this limit whenever a tenant operation tries to add a new organisation member. Nothing consumes it automatically: an application that wants the cap enforced declares its own `limitChecks` entry on the `ORGANIZATION_MEMBERS` CREATE operation, or declares its own limit feature with `countResource` so the check is auto-registered.',\n avoidWhen:\n 'Avoid using this limit to gate non-member resources (API keys, anonymous users) — those have their own dedicated counters.',\n businessConstraints: [\n 'Lowering the limit below the current member count must not silently revoke existing memberships; a gate, once declared, fails closed for new additions only.',\n 'The counted resource is named by the runtime `FeatureDefinition.counting.resourceType` field. Counting from an ad-hoc read instead would silently overflow the limit.',\n ],\n codeHandling: {\n definitionOwner: ENGINE_OWNER_REF,\n definitionSymbol: CORE_FEATURE_DEFINITIONS_COLLECTION_SYMBOL,\n definitionCollectionEntry: coreFeatureDefinitionCollectionEntry('MAX_MEMBERS'),\n notes: [\n 'No public enum declaration owns this identifier — the runtime entry uses the literal string `MAX_MEMBERS` directly inside `CORE_FEATURE_DEFINITIONS`. Authors should treat `MAX_MEMBERS` as a stable constant and surface the value via the engine feature gate.',\n ],\n },\n }),\n);\n\nexport const maxApiKeysFeatureSpecification = appLevelFeatureSpecificationFromDefinition(\n { identifier: 'MAX_API_KEYS' },\n () => ({\n purpose:\n 'Cap the number of API keys an organisation can mint so credential sprawl stays bounded by plan tier.',\n businessRole:\n 'API-credential limit feature declaring the `ORG_API_KEYS` resource counter. NOT ENFORCED TODAY, for the same reason as `MAX_MEMBERS`: no operation declares a `limitChecks` entry for it and core definitions are not auto-registered.',\n availabilityRole:\n 'Plan-derived numeric limit. The default of 2 covers low-touch integrations; higher counts ship as part of integration-heavy plans.',\n useWhen:\n 'Read this limit whenever a tenant operation tries to create a new organisation-scoped API key. Nothing consumes it automatically; an application that wants the cap enforced declares the check itself.',\n avoidWhen:\n 'Avoid using this limit to gate application-scoped API keys, user-scoped tokens, or webhook secrets — those credentials live on different counters.',\n businessConstraints: [\n 'Lowering the limit below the current key count must not silently revoke existing keys; revocation is an explicit admin action.',\n 'The counted resource is named by the runtime `FeatureDefinition.counting.resourceType` field. Creation paths that count some other way would silently overflow the limit.',\n ],\n codeHandling: {\n definitionOwner: ENGINE_OWNER_REF,\n definitionSymbol: CORE_FEATURE_DEFINITIONS_COLLECTION_SYMBOL,\n definitionCollectionEntry: coreFeatureDefinitionCollectionEntry('MAX_API_KEYS'),\n notes: [\n 'No public enum declaration owns this identifier — the runtime entry uses the literal string `MAX_API_KEYS` directly inside `CORE_FEATURE_DEFINITIONS`. Authors should treat `MAX_API_KEYS` as a stable constant and surface the value via the engine feature gate.',\n ],\n },\n }),\n);\n\nexport const a2aTokenBudgetFeatureSpecification = appLevelFeatureSpecificationFromDefinition(\n { identifier: A2A_TOKEN_BUDGET_FEATURE_ID },\n () => ({\n purpose:\n 'Cap how many LLM tokens a tenant\\'s inbound Agent2Agent (A2A) agent turns may consume per billing period, so exposing an agent endpoint cannot become unbounded model spend.',\n businessRole:\n 'Consumption CEILING for external agent traffic. Unlike the seat/credential limits above — which are entitlement FLOORS that plans raise — this one is a cap that plans TIGHTEN: the most restrictive value wins, and unlimited means \"no ceiling\". Enforcement lives in the A2A transport, which denies a turn with HTTP 402 once the period allowance is spent.',\n availabilityRole:\n 'Plan-derived numeric limit, granted per billing plan. Absent (or unlimited) by default, so A2A budgeting is strictly opt-in: an application that never grants it keeps today\\'s uncapped behaviour, and only the per-principal burst throttle applies.',\n useWhen:\n 'Grant this whenever a plan exposes A2A agent access and the model spend it drives must be bounded by tier — the transport consumes it automatically on every turn.',\n avoidWhen:\n 'Avoid using it to gate non-LLM external traffic: MCP `tools/call` dispatches a CRUD resource operation rather than an agent turn, and is bounded by its own request throttle instead.',\n businessConstraints: [\n 'Measured in TOKENS, not currency: the framework\\'s canonical provider-usage pricing registry is deliberately not consulted by this A2A entitlement gate. The gate caps directly metered transport consumption; monetary reservation and settlement belong to the separate Work Cycle budget authority.',\n 'The allowance applies to the PAYING TENANT, which is not always the conversation owner — a user-delegated turn is billed to the organisation the user is acting within, while the conversation record stays owned by the user.',\n 'Consumption is only known after a turn completes, so the gate compares already-accumulated usage: a tenant can exceed the cap by the turns in flight when it is reached, and lowering an allowance mid-period does not retroactively revoke turns already served.',\n 'Agent transports that report no token usage (and turns that fail after the model has run) cannot be metered; that spend is logged but invisible to the cap.',\n ],\n codeHandling: {\n definitionOwner: ENGINE_OWNER_REF,\n definitionSymbol: CORE_FEATURE_DEFINITIONS_COLLECTION_SYMBOL,\n definitionCollectionEntry: coreFeatureDefinitionCollectionEntry(A2A_TOKEN_BUDGET_FEATURE_ID),\n notes: [\n 'The identifier is exported as the named constant `A2A_TOKEN_BUDGET_FEATURE_ID` from `@wildo-ai/saas-models` — the single source shared by the definition and the enforcing service, so a grant cannot drift from what the transport resolves.',\n 'This definition carries `limitSemantic: CEILING`, which is load-bearing rather than descriptive: under the default FLOOR semantic the unlimited default would absorb every finite plan grant (most-permissive wins) and the cap could never engage.',\n 'It intentionally declares no `counting` config: consumption is a sum of tokens rather than a count of resource rows, so the feature gate\\'s row-counting strategy cannot measure it and the A2A budget service owns measurement instead.',\n ],\n },\n }),\n);\n"]}
|
|
@@ -95,7 +95,7 @@ export const applicationFeaturesResourceSpecification = resourceSpecificationFro
|
|
|
95
95
|
purpose: 'Repository-only bootstrap of the application feature ledger.',
|
|
96
96
|
outcome: 'The application has a singleton entitlement row.',
|
|
97
97
|
responseStatuses: [
|
|
98
|
-
{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The singleton application-feature ledger
|
|
98
|
+
{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The singleton application-feature ledger record was materialized for the app.' },
|
|
99
99
|
],
|
|
100
100
|
// REPOSITORY_ONLY variant — invoked by system/admin bootstrap workflows, not exposed as a public HTTP endpoint, so no client-facing 400/403/404 are documented.
|
|
101
101
|
idempotent: false,
|
|
@@ -115,7 +115,7 @@ export const applicationFeaturesResourceSpecification = resourceSpecificationFro
|
|
|
115
115
|
purpose: 'Reserved lightweight listing path for app feature rows.',
|
|
116
116
|
outcome: 'Returns rows if a host admin surface enables it.',
|
|
117
117
|
responseStatuses: [
|
|
118
|
-
{ code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of application feature ledger
|
|
118
|
+
{ code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of application feature ledger records for super-admin diagnostics.' },
|
|
119
119
|
],
|
|
120
120
|
errorScenarios: [
|
|
121
121
|
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an application super-admin; the app-feature listing path is admin-only.' },
|
|
@@ -138,7 +138,7 @@ export const applicationFeaturesResourceSpecification = resourceSpecificationFro
|
|
|
138
138
|
purpose: 'Repository-only teardown of the application feature ledger when its owning application is deleted (composition `onParentDelete` cascade).',
|
|
139
139
|
outcome: 'The singleton entitlement row is removed together with the application — the composition part does not outlive its whole.',
|
|
140
140
|
responseStatuses: [
|
|
141
|
-
{ code: HttpResponseStatusCode.OK_200, meaning: 'The application-feature ledger
|
|
141
|
+
{ code: HttpResponseStatusCode.OK_200, meaning: 'The application-feature ledger record was deleted as part of the owning application’s deletion cascade.' },
|
|
142
142
|
],
|
|
143
143
|
// REPOSITORY_ONLY variant (super-admin) — invoked by the onParentDelete cascade, not a public HTTP endpoint, so no client-facing 400/403/404 are documented.
|
|
144
144
|
idempotent: true,
|