@wildo-ai/saas-specifications 1.1.1 → 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/brand/brand.family-aspects.d.ts +3 -0
- package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/brand/brand.family-aspects.js +51 -0
- package/dist/esm/_core/brand/brand.family-aspects.js.map +1 -0
- 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/build-plan/build-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js +28 -0
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -0
- 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/business-model-lite/business-model.family-aspects.d.ts +3 -0
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.js +21 -0
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.js.map +1 -0
- package/dist/esm/_core/chart-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/chart-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/chart-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +85 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js +41 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +178 -2
- 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 +115 -9
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts +12 -0
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js +47 -0
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js.map +1 -0
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js +8 -3
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts +21 -0
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js +40 -0
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js.map +1 -0
- package/dist/esm/_core/composite-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +32 -0
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/execution-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/execution-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/execution-view-specification.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/family-aspects.registry.d.ts +18 -0
- package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -0
- package/dist/esm/_core/family-aspects.registry.js +60 -0
- package/dist/esm/_core/family-aspects.registry.js.map +1 -0
- package/dist/esm/_core/family-aspects.schemas.d.ts +122 -0
- package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -0
- package/dist/esm/_core/family-aspects.schemas.js +15 -0
- package/dist/esm/_core/family-aspects.schemas.js.map +1 -0
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +11 -11
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts +3 -0
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js +25 -0
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -0
- 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/flows-actors-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/flows-actors-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/frontend-component-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/frontend-component-specification.schemas.js +19 -1
- package/dist/esm/_core/frontend-component-specification.schemas.js.map +1 -1
- package/dist/esm/_core/full-custom-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/full-custom-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/full-custom-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.js +14 -0
- package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
- package/dist/esm/_core/index.d.ts +3 -0
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js +3 -0
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +22 -22
- 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/market/market.family-aspects.d.ts +9 -0
- package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/market/market.family-aspects.js +227 -0
- package/dist/esm/_core/market/market.family-aspects.js.map +1 -0
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.js +14 -0
- package/dist/esm/_core/onboarding-view-specification.schemas.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.family-aspects.d.ts +3 -0
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +31 -0
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -0
- 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/requirements/requirements.family-aspects.d.ts +9 -0
- package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/requirements/requirements.family-aspects.js +40 -0
- package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -0
- package/dist/esm/_core/resource-specification.schemas.d.ts +22 -0
- package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.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/roadmap/roadmap.family-aspects.d.ts +3 -0
- package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/roadmap/roadmap.family-aspects.js +26 -0
- package/dist/esm/_core/roadmap/roadmap.family-aspects.js.map +1 -0
- 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/_core/vision/vision.family-aspects.d.ts +11 -0
- package/dist/esm/_core/vision/vision.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/vision/vision.family-aspects.js +63 -0
- package/dist/esm/_core/vision/vision.family-aspects.js.map +1 -0
- 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 +193 -38
- 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 +157 -57
- 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 +38 -4
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js +37 -3
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/document-facts.family-aspects.d.ts +12 -0
- package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -0
- package/dist/esm/application-creation/document-facts.family-aspects.js +37 -0
- package/dist/esm/application-creation/document-facts.family-aspects.js.map +1 -0
- package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts +3 -0
- package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts.map +1 -0
- package/dist/esm/application-creation/document-release-policy.family-aspects.js +23 -0
- package/dist/esm/application-creation/document-release-policy.family-aspects.js.map +1 -0
- 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 +101 -85
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +171 -86
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +2 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +2 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation.exports.d.ts +11 -0
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.js +11 -0
- package/dist/esm/application-creation.exports.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 +999 -2
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +2127 -61
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +26 -0
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.js +18 -3
- package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts +32 -2
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.js +32 -2
- package/dist/esm/assurance/assurance-document-system.schemas.js.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-external-framework-mapping.d.ts +90 -0
- package/dist/esm/assurance/assurance-external-framework-mapping.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-external-framework-mapping.js +134 -0
- package/dist/esm/assurance/assurance-external-framework-mapping.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 +78 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js +562 -5
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +148 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.js +385 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -0
- package/dist/esm/assurance/assurance-program.family-aspects.d.ts +13 -0
- package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-program.family-aspects.js +16 -0
- package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -0
- package/dist/esm/assurance/assurance-program.schemas.d.ts +474 -14
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +319 -8
- package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts +1 -0
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.js +12 -0
- package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.d.ts +76 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.js +59 -0
- package/dist/esm/assurance/assurance-sources.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/assurance/document-publication.family-aspects.d.ts +29 -0
- package/dist/esm/assurance/document-publication.family-aspects.d.ts.map +1 -0
- package/dist/esm/assurance/document-publication.family-aspects.js +48 -0
- package/dist/esm/assurance/document-publication.family-aspects.js.map +1 -0
- package/dist/esm/assurance.exports.d.ts +2 -0
- package/dist/esm/assurance.exports.d.ts.map +1 -1
- package/dist/esm/assurance.exports.js +2 -0
- package/dist/esm/assurance.exports.js.map +1 -1
- package/dist/esm/companion-exports.d.ts +26 -8
- 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 +15 -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.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +4 -2
- 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 +17 -3
- 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.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +12 -10
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.js +4 -2
- package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts +36 -0
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js +193 -0
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +3 -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 +15 -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 +17 -3
- 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.d.ts +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +6 -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.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +4 -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.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +8 -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.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js +11 -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.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +8 -6
- 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 +106 -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/sso-connections.resource.specification.js +2 -0
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.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 +2 -2
- 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 +6 -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.d.ts +8 -8
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js +4 -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.d.ts +2 -2
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +5 -3
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.js +10 -8
- package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js +10 -8
- 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 +16 -12
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js +10 -8
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +6 -6
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +8 -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 +13 -9
- 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 +30 -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.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +10 -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 +11 -2
- package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
- package/dist/esm/engine/engine-resource-sub-domain.d.ts +83 -0
- package/dist/esm/engine/engine-resource-sub-domain.d.ts.map +1 -0
- package/dist/esm/engine/engine-resource-sub-domain.js +153 -0
- package/dist/esm/engine/engine-resource-sub-domain.js.map +1 -0
- package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.js +44 -1
- 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.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.js +5 -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.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js +5 -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.d.ts +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.js +5 -3
- package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.js +12 -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.d.ts +3 -3
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +22 -10
- 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.d.ts +3 -3
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +6 -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.d.ts +3 -3
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +4 -2
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +3 -3
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +3 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.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/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +8 -3
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
- 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.d.ts +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js +15 -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.d.ts +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js +12 -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 +9 -1
- 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 +9 -6
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/index.d.ts +2 -0
- package/dist/esm/engine/index.d.ts.map +1 -1
- package/dist/esm/engine/index.js +2 -0
- package/dist/esm/engine/index.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +19 -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.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +9 -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.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +10 -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 +12 -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 +22 -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 +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 +14 -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 +31 -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.d.ts +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +11 -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.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js +5 -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.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js +6 -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.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +4 -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.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +3 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +2 -0
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +9 -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.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +9 -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.d.ts +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +11 -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.d.ts +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +4 -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.d.ts +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +10 -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 +5 -5
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +6 -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.d.ts +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +4 -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 +5 -5
- 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 +15 -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.d.ts +1 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js +3 -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.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.js +11 -9
- 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 +95 -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 +5 -0
- 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 +451 -25
- 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 +37 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/package.json +8 -8
- package/dist/esm/.builder.pid +0 -9
- package/dist/esm/_core/business-coverage/coverage-findings-validation.d.ts +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings-validation.d.ts.map +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings-validation.js.map +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings.schemas.d.ts +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings.schemas.d.ts.map +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings.schemas.js.map +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"expert-role-template.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/expert-personas/expert-role-template.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAE3E;;;;;GAKG;AACH,MAAM,CAAN,IAAY,oBASX;AATD,WAAY,oBAAoB;IAC9B;;;;OAIG;IACH,uCAAe,CAAA;IACf,oEAAoE;IACpE,yCAAiB,CAAA;AACnB,CAAC,EATW,oBAAoB,KAApB,oBAAoB,QAS/B;AAED;;;;;;GAMG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C3F,0FAA0F;cAC1F,0FAA0F;cAC1F,wFAAwF;cACxF,wFAAwF;cACxF,6FAA6F;cAC7F,2FAA2F;cAC3F,0FAA0F;cAC1F,4BAA4B;KACjC;CACF,CAAC;AAEF,2EAA2E;AAC3E,MAAM,UAAU,qBAAqB,CAAC,OAAe;IACnD,OAAO,qBAAqB,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,OAAO,KAAK,OAAO,CAAC,CAAC;AAChF,CAAC","sourcesContent":["import { z } from 'zod';\nimport { ExpertWorkDomain } from '@wildo-ai/saas-models';\n\nimport { NonEmptyStringSchema } from '../market/market-references.schemas';\n\n/**\n * What an expert role may DO inside a deliberation. Deliberately an enum\n * (project rule — enums over literal unions): the orchestration routes by\n * capability and must fail-closed on an expert asked to do something its\n * role does not declare.\n */\nexport enum ExpertRoleCapability {\n /**\n * Author the CREATIVE BRIEF for a production run — deriving N distinct\n * concept directions from the app's spec inputs (replaces any\n * framework-hardcoded direction catalog).\n */\n BRIEF = 'brief',\n /** Review candidates against a derived rubric and emit verdicts. */\n REVIEW = 'review',\n}\n\n/**\n * Which specification-tier inputs SHAPE a role's derived charter. The\n * derivation step resolves each kind through the companion introspection\n * seam (all already reachable: the snapshot exports + the existing\n * design-system behaviors) and the charter's `inputsDigest` seals their\n * state at derivation time.\n */\nexport enum ExpertShapingInputKind {\n /** The `VisionSnapshot` (idea, mission, values). */\n VISION = 'vision',\n /** The `MarketSnapshot` (ICPs, personas, positioning, tones of voice, buying journey). */\n MARKET = 'market',\n /** The `BrandSnapshot` (name, logo direction, visual tone, accepted assets). */\n BRAND = 'brand',\n /** The authored design-system source config + generated design tokens. */\n DESIGN_SYSTEM = 'design_system',\n /** The `RequirementsSnapshot`. */\n REQUIREMENTS = 'requirements',\n /** The business-model-lite snapshot (offer shape, pricing posture). */\n BUSINESS_MODEL = 'business_model',\n /**\n * Prior ACCEPTED creative decisions (e.g. the promoted brand assets) —\n * the coherence memory that keeps new work consistent with what\n * already shipped.\n */\n ACCEPTED_DECISIONS = 'accepted_decisions',\n}\n\n/**\n * Framework-knowledge anchors are deliberately NOT placed yet — anchors +\n * the app-knowledge skill land together in the workstream's knowledge\n * step so the registry, references, and INDEX stay in one synchronized\n * pass.\n *\n * An **ExpertRoleTemplate** is the FRAMEWORK-owned half of an expert\n * persona: profession-generic knowledge (what any art director evaluates,\n * regardless of app) plus the instructions for compiling an APP-specific\n * charter out of the app's own specification artifacts. The template is\n * the taste LINE: everything app-specific (what THIS app's art director\n * prioritizes, given its ICP and positioning) must come from derivation,\n * never be hardcoded here.\n *\n * NARROWNESS IS THE CONTRACT, on two axes: `workDomains` (OWNERSHIP —\n * brief authoring + rubric derivation; one role owns one thing) and\n * `reviewScopes` (LENS REACH — which artifacts the role may sit on\n * panels for; the lens itself stays narrow: coherence vs strategy vs\n * craft). The deliberation composer fail-closes on both. Unlike a human\n * employee who wears several hats, an agent persona stays specialized —\n * a review needing three angles convenes three experts and a\n * coordinator, never one generalist.\n */\n/**\n * Strict kebab-case, starting with a letter (e.g. `art-director`). Pinned by\n * REGEX, not convention: the companion derives generated-module FILE names\n * and camelCased TS IDENTIFIERS from `roleRef` — a leading digit, double\n * hyphen, or dot would emit a module that breaks the whole specifications\n * package compile.\n */\nexport const ExpertRoleRefSchema = z\n .string()\n .regex(/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/, 'roleRef must be strict kebab-case starting with a letter');\n\nexport const ExpertRoleTemplateSchema = z.object({\n /** Stable kebab-case role id (e.g. `art-director`) — see {@link ExpertRoleRefSchema}. */\n roleRef: ExpertRoleRefSchema,\n /** Human display name. */\n displayName: NonEmptyStringSchema,\n /**\n * The work-product domains this role OWNS — where it authors creative\n * briefs and derives evaluation rubrics (the domain-owner axis,\n * fail-closed). Narrow by design: one role owns one thing.\n */\n workDomains: z.array(z.enum(ExpertWorkDomain)).min(1),\n /**\n * The work-product domains this role may SIT ON REVIEW PANELS for — its\n * review LENS reach. Distinct from ownership on purpose: a design-system\n * guardian does not OWN visual marks, but marks are squarely inside its\n * coherence lens; a brand strategist reviews a mark's strategy without\n * being a mark craftsman. Narrowness lives in WHAT the lens judges\n * (coherence vs strategy vs craft), not in which artifacts it may look\n * at. Always a superset-or-equal of `workDomains`.\n */\n reviewScopes: z.array(z.enum(ExpertWorkDomain)).min(1),\n /** Which spec-tier inputs shape this role's derived charter. */\n shapingInputKinds: z.array(z.enum(ExpertShapingInputKind)).min(1),\n /** What the role may do inside a deliberation. */\n roleCapabilities: z.array(z.enum(ExpertRoleCapability)).min(1),\n /**\n * The profession-generic craft charter — what this role evaluates and\n * stands for in ANY app. App-agnostic by design; app substance belongs\n * to the derived `ExpertPersonaCharter`.\n */\n professionCharter: NonEmptyStringSchema,\n /**\n * Instructions for the derivation agent: how to compile the shaping\n * inputs into an app-specific charter (persona prose, ordered\n * priorities, taboos). May embed worked examples — teaching material,\n * NOT runtime vocabulary.\n */\n derivationInstructions: NonEmptyStringSchema,\n});\nexport type ExpertRoleTemplate = z.infer<typeof ExpertRoleTemplateSchema>;\n\n/**\n * The framework's role-template catalog — the v1 roster of narrow\n * experts. Extend per capability (a new deliberation domain ships with\n * its roles), never speculatively.\n *\n * Authoring bar for `professionCharter` / `derivationInstructions`:\n * studio-voiced, concrete, decision-driving prose. Vague direction is\n * exactly why generic prompts produce generic work.\n */\nexport const EXPERT_ROLE_TEMPLATES: readonly ExpertRoleTemplate[] = [\n {\n roleRef: 'information-architect',\n displayName: 'Information Architect',\n workDomains: [ExpertWorkDomain.INFORMATION_ARCHITECTURE],\n reviewScopes: [\n ExpertWorkDomain.INFORMATION_ARCHITECTURE,\n ExpertWorkDomain.UI_DESIGN_COHERENCE,\n ],\n shapingInputKinds: [\n ExpertShapingInputKind.REQUIREMENTS,\n ExpertShapingInputKind.MARKET,\n ExpertShapingInputKind.VISION,\n ExpertShapingInputKind.ACCEPTED_DECISIONS,\n ],\n roleCapabilities: [ExpertRoleCapability.BRIEF, ExpertRoleCapability.REVIEW],\n professionCharter:\n 'You are an information architect for application shells. You judge WHERE a destination, '\n + 'operation or view belongs — never how it looks. Your criteria, in order: FINDABILITY (would '\n + 'the user who wants this look here FIRST, not merely accept it once shown — the test is where '\n + 'they would go unprompted); GROUPING COHERENCE (everything in a group answers one question a '\n + 'user actually asks; a group that needs \"and other things\" in its name is two groups); SCOPE '\n + 'CORRECTNESS (a thing that acts on the whole organization does not sit among a person\\'s own '\n + 'preferences, and the reverse — a scope mismatch is a defect, not a nuance); CONVENTION FIT '\n + '(where comparable products put this, because a user arrives with expectations already '\n + 'formed, and a novel arrangement must EARN the cost of surprising them); and DEPTH DISCIPLINE '\n + '(one more level of nesting must buy more than it costs; a section reachable only after three '\n + 'guesses is not placed, it is hidden). You reject placements justified by implementation '\n + 'convenience (\"it renders there already\"), by the shape of the data model rather than the '\n + 'user\\'s task, and by symmetry for its own sake. A surface that shows everything ranks below '\n + 'one that shows the right things: you treat \"put it in the settings rail too\" as a cost.',\n derivationInstructions:\n 'Compile this app\\'s information-architect charter from its specification: derive WHO is '\n + 'placing and finding things from the market ICPs and personas (an admin-heavy B2B tool and a '\n + 'consumer app do not group alike); derive WHICH TASKS must be reachable in one step from the '\n + 'requirements and the vision\\'s core promise; derive the conventions this audience already '\n + 'carries from the market\\'s alternatives and category; derive what the shell already promises '\n + 'from the accepted decisions (the surfaces users have already learned). State ordered '\n + 'priorities and hard taboos as CONCRETE placements to refuse for this app, not generic advice '\n + '(\"no org-scoped destination inside the personal account group\"; \"nothing a daily task needs '\n + 'behind two levels of nesting\"). For `qualityBar`, state what a PERFECT placement looks like '\n + 'here — named surfaces, named groups, and the one-step tasks — grounded in this app\\'s actual '\n + 'audience and shell. For `reviewProtocol`, order the checks a placement review runs: scope '\n + 'correctness first (it is the only one that is objectively wrong rather than debatable), then '\n + 'findability against the personas\\' unprompted first guess, then grouping coherence, then '\n + 'convention fit, then depth. When asked to author a brief, produce N genuinely DISTINCT '\n + 'placement arrangements that make different trade-offs — one optimizing first-run '\n + 'discoverability, one optimizing the daily-use path, one following category convention most '\n + 'closely — each stating what it makes worse, because an arrangement with no cost has not been '\n + 'thought about.',\n },\n {\n roleRef: 'art-director',\n displayName: 'Art Director',\n workDomains: [ExpertWorkDomain.VISUAL_BRAND_MARK],\n reviewScopes: [ExpertWorkDomain.VISUAL_BRAND_MARK],\n shapingInputKinds: [\n ExpertShapingInputKind.VISION,\n ExpertShapingInputKind.MARKET,\n ExpertShapingInputKind.BRAND,\n ExpertShapingInputKind.DESIGN_SYSTEM,\n ],\n roleCapabilities: [ExpertRoleCapability.BRIEF, ExpertRoleCapability.REVIEW],\n professionCharter:\n 'You are an art director at the level of a top-tier brand-identity studio. You judge visual '\n + 'marks by: ONE clear, ownable idea per mark (a collage of motifs is a failure); ruthless '\n + 'restraint (nothing that can be removed remains); legibility at the smallest real surface the '\n + 'mark will live on (for an app: the 16px favicon — a mark that dissolves when small cannot '\n + 'win, striking-at-poster-size is only a tie-breaker); composition and visual balance; palette '\n + 'discipline (the brand colors, applied with intent — a primary that leads and an accent that '\n + 'beats, never decoration); and distinctiveness against the category’s visual clichés. You '\n + 'reject 3D, gradients-as-crutch, drop shadows, clip-art, and generic rounded-app-icon '\n + 'sameness unless the brand direction explicitly calls for them.',\n derivationInstructions:\n 'Compile this app’s art-director charter from its specification: derive the aesthetic '\n + 'priorities from the brand’s visual tone and logo direction; derive WHO must instantly read '\n + 'the mark from the market ICPs and personas; derive the emotional register from the vision '\n + '(idea, mission) and the market tones of voice; derive the palette and surface constraints '\n + 'from the design-system config and tokens. State ordered priorities (most important first) '\n + 'and hard taboos (from the brand avoid-list plus category clichés the positioning must '\n + 'escape). When asked to author a creative brief, produce N genuinely DISTINCT concept '\n + 'directions — one idea each, studio-voiced, concrete enough for an image model to execute. '\n + 'Worked example of distinct directions for a productivity brand (teaching material, not a '\n + 'catalog to copy): a negative-space mark (bold shape with the symbol carved out, accent notch '\n + 'at the tip); a continuous monoline (one even-weight stroke forming the symbol in a single '\n + 'gesture, accent tip); a geometric-modular construction (2–3 precise modules, exactly one '\n + 'accent module); a motion-echo (2–3 bold trailing echoes conveying speed, accent leading '\n + 'edge); a minimal glyph (the most reductive possible mark plus one accent beat); a contained '\n + 'progress emblem (ring as progress arc cradling the symbol). Each direction names the '\n + 'compositional idea, the two-color application, and the craft posture. For `qualityBar`, state what a 95+ MARK looks like for this app (favicon survival, palette fidelity, one-idea discipline — grounded in the actual surfaces and audience); for `reviewProtocol`, order the checks a mark review runs (squint-test at 16px first, then palette, then idea-count, then category-cliché scan).',\n },\n {\n roleRef: 'design-system-guardian',\n displayName: 'Design-System Guardian',\n workDomains: [ExpertWorkDomain.UI_DESIGN_COHERENCE],\n reviewScopes: [\n ExpertWorkDomain.UI_DESIGN_COHERENCE,\n ExpertWorkDomain.VISUAL_BRAND_MARK,\n ExpertWorkDomain.MARKETING_COPY,\n // Seated on placement panels as the coherence memory, NOT as the domain\n // owner: where a thing goes must not fork the pattern the shipped surfaces\n // already taught users. The information-architect owns the domain.\n ExpertWorkDomain.INFORMATION_ARCHITECTURE,\n ],\n shapingInputKinds: [\n ExpertShapingInputKind.DESIGN_SYSTEM,\n ExpertShapingInputKind.BRAND,\n ExpertShapingInputKind.ACCEPTED_DECISIONS,\n ],\n roleCapabilities: [ExpertRoleCapability.REVIEW],\n professionCharter:\n 'You are the guardian of the application’s design system. You judge any creative candidate by '\n + 'its coherence with the system it must live inside: does it respect the token palette (exact '\n + 'brand colors, not near-misses — a drifted hue is a defect, not a nuance); does it hold '\n + 'sufficient contrast on the system’s actual light AND dark surfaces; does it stay consistent '\n + 'with previously accepted decisions (the shipped assets and styles users already know); and '\n + 'does it scale across the system’s real surfaces (app shell, favicon, marketing site, email, '\n + 'documents) without per-surface hacks. You are the panel’s coherence memory: you flag '\n + 'anything that would fork the visual language, however attractive in isolation.',\n derivationInstructions:\n 'Compile this app’s guardian charter from its design-system source config and generated '\n + 'tokens: extract the exact palette (primary, accent, surface colors for light and dark), '\n + 'typography posture, and radius/spacing character as checkable priorities. From the accepted '\n + 'decisions (promoted brand assets, shipped styles), extract what the visual language already '\n + 'promises users. State taboos as concrete violations (off-palette hues, insufficient '\n + 'dark-surface contrast, styles that contradict an accepted asset). For `qualityBar`, state what PERFECT system coherence looks like here (exact tokens, both themes, no per-surface hacks); for `reviewProtocol`, order the coherence checks (palette hexes first, then dark-theme contrast, then consistency with each accepted asset).',\n },\n {\n roleRef: 'brand-strategist',\n displayName: 'Brand Strategist',\n workDomains: [ExpertWorkDomain.BRAND_STRATEGY],\n reviewScopes: [\n ExpertWorkDomain.BRAND_STRATEGY,\n ExpertWorkDomain.VISUAL_BRAND_MARK,\n ExpertWorkDomain.MARKETING_COPY,\n ],\n shapingInputKinds: [\n ExpertShapingInputKind.VISION,\n ExpertShapingInputKind.MARKET,\n ExpertShapingInputKind.BUSINESS_MODEL,\n ExpertShapingInputKind.BRAND,\n ],\n roleCapabilities: [ExpertRoleCapability.REVIEW],\n professionCharter:\n 'You are a brand strategist. You judge creative candidates by strategic fit, not by craft '\n + 'alone: does the candidate express the positioning (and escape the category’s sameness); '\n + 'would the actual ICPs recognize themselves in it (their sophistication, their taste, their '\n + 'context of use); does it differentiate against the named alternatives rather than imitating '\n + 'them; and does it carry the brand’s meaning (symbolism, values) rather than being merely '\n + 'pleasant. A beautiful mark that could belong to any competitor is a strategic failure.',\n derivationInstructions:\n 'Compile this app’s strategist charter from its market snapshot (positioning, ICPs, '\n + 'alternatives, objections), vision (idea, mission, values), and business model (offer shape, '\n + 'pricing posture — premium demands different codes than accessible). State priorities as '\n + 'strategic questions the candidate must answer (e.g. “does this read as calm precision to a '\n + 'maker, not enterprise bureaucracy?”) and taboos as the competitor codes and category '\n + 'clichés the positioning explicitly escapes. For `qualityBar`, state what an UNMISTAKABLY on-strategy candidate looks like (which positioning line it proves, which competitor codes it escapes); for `reviewProtocol`, order the strategic checks (ICP recognition first, then differentiation vs each named alternative, then meaning-carriage).',\n },\n {\n roleRef: 'copy-chief',\n displayName: 'Copy Chief',\n workDomains: [ExpertWorkDomain.MARKETING_COPY],\n reviewScopes: [ExpertWorkDomain.MARKETING_COPY],\n shapingInputKinds: [\n ExpertShapingInputKind.VISION,\n ExpertShapingInputKind.MARKET,\n ExpertShapingInputKind.BRAND,\n ExpertShapingInputKind.REQUIREMENTS,\n ],\n roleCapabilities: [ExpertRoleCapability.BRIEF, ExpertRoleCapability.REVIEW],\n professionCharter:\n 'You are a copy chief. You judge prose by: voice consistency (the brand’s tone of voice, held '\n + 'from headline to footnote); clarity over cleverness (a reader should never re-read a '\n + 'sentence to parse it); benefit-led messaging in the reader’s own vocabulary (the ICP’s '\n + 'words, not the product team’s); rhythm and economy (every word earns its place); and honest '\n + 'claims (no superlatives the product cannot keep). Jargon, filler, and interchangeable SaaS '\n + 'boilerplate (“supercharge your workflow”) are defects.',\n derivationInstructions:\n 'Compile this app’s copy-chief charter from its market tones of voice (the register and its '\n + 'do/don’t), ICPs and personas (their vocabulary, their objections — copy must pre-answer '\n + 'them), positioning (the one thing every piece must communicate), vision (the deeper why '\n + 'behind the product), and requirements (what the product actually does — the floor for '\n + 'honest claims). State priorities as voice rules with examples, and taboos as concrete '\n + 'banned registers and phrases. For `qualityBar`, state what a 95+ piece of copy sounds like '\n + 'for this app (voice held, ICP vocabulary, objection pre-answered); for `reviewProtocol`, '\n + 'order the copy checks (read-aloud voice test first, then claim-honesty vs requirements, '\n + 'then jargon/filler sweep).',\n },\n];\n\n/** Look up a role template by ref (undefined when the role is unknown). */\nexport function getExpertRoleTemplate(roleRef: string): ExpertRoleTemplate | undefined {\n return EXPERT_ROLE_TEMPLATES.find((template) => template.roleRef === roleRef);\n}\n"]}
|
|
1
|
+
{"version":3,"file":"expert-role-template.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/expert-personas/expert-role-template.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,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,sBAAsB,CAAC,YAAY;SACpC;QACD,gBAAgB,EAAE,CAAC,oBAAoB,CAAC,KAAK,EAAE,oBAAoB,CAAC,MAAM,CAAC;QAC3E,iBAAiB,EACf,+FAA+F;cAC7F,uFAAuF;cACvF,yFAAyF;cACzF,8FAA8F;cAC9F,6FAA6F;cAC7F,wDAAwD;QAC5D,sBAAsB,EACpB,6FAA6F;cAC3F,0FAA0F;cAC1F,0FAA0F;cAC1F,wFAAwF;cACxF,wFAAwF;cACxF,6FAA6F;cAC7F,2FAA2F;cAC3F,0FAA0F;cAC1F,4BAA4B;KACjC;CACF,CAAC;AAEF,2EAA2E;AAC3E,MAAM,UAAU,qBAAqB,CAAC,OAAe;IACnD,OAAO,qBAAqB,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,OAAO,KAAK,OAAO,CAAC,CAAC;AAChF,CAAC","sourcesContent":["import { z } from 'zod';\nimport { ExpertWorkDomain } from '@wildo-ai/saas-models';\n\nimport { NonEmptyStringSchema } from '../market/market-references.schemas';\n\n/**\n * What an expert role may DO inside a deliberation. Deliberately an enum\n * (project rule — enums over literal unions): the orchestration routes by\n * capability and must fail-closed on an expert asked to do something its\n * role does not declare.\n */\nexport enum ExpertRoleCapability {\n /**\n * Author the CREATIVE BRIEF for a production run — deriving N distinct\n * concept directions from the app's spec inputs (replaces any\n * framework-hardcoded direction catalog).\n */\n BRIEF = 'brief',\n /** Review candidates against a derived rubric and emit verdicts. */\n REVIEW = 'review',\n}\n\n/**\n * Which specification-tier inputs SHAPE a role's derived charter. The\n * derivation step resolves each kind through the companion introspection\n * seam (all already reachable: the snapshot exports + the existing\n * design-system behaviors).\n */\nexport enum ExpertShapingInputKind {\n /** The `VisionSnapshot` (idea, mission, values). */\n VISION = 'vision',\n /** The `MarketSnapshot` (ICPs, personas, positioning, tones of voice, buying journey). */\n MARKET = 'market',\n /** The `BrandSnapshot` (name, logo direction, visual tone, accepted assets). */\n BRAND = 'brand',\n /** The authored design-system source config + generated design tokens. */\n DESIGN_SYSTEM = 'design_system',\n /** The `RequirementsSnapshot`. */\n REQUIREMENTS = 'requirements',\n /** The business-model-lite snapshot (offer shape, pricing posture). */\n BUSINESS_MODEL = 'business_model',\n /**\n * Prior ACCEPTED creative decisions (e.g. the promoted brand assets) —\n * the coherence memory that keeps new work consistent with what\n * already shipped.\n */\n ACCEPTED_DECISIONS = 'accepted_decisions',\n}\n\n/**\n * Framework-knowledge anchors are deliberately NOT placed yet — anchors +\n * the app-knowledge skill land together in the workstream's knowledge\n * step so the registry, references, and INDEX stay in one synchronized\n * pass.\n *\n * An **ExpertRoleTemplate** is the FRAMEWORK-owned half of an expert\n * persona: profession-generic knowledge (what any art director evaluates,\n * regardless of app) plus the instructions for compiling an APP-specific\n * charter out of the app's own specification artifacts. The template is\n * the taste LINE: everything app-specific (what THIS app's art director\n * prioritizes, given its ICP and positioning) must come from derivation,\n * never be hardcoded here.\n *\n * NARROWNESS IS THE CONTRACT, on two axes: `workDomains` (OWNERSHIP —\n * brief authoring + rubric derivation; one role owns one thing) and\n * `reviewScopes` (LENS REACH — which artifacts the role may sit on\n * panels for; the lens itself stays narrow: coherence vs strategy vs\n * craft). The deliberation composer fail-closes on both. Unlike a human\n * employee who wears several hats, an agent persona stays specialized —\n * a review needing three angles convenes three experts and a\n * coordinator, never one generalist.\n */\n/**\n * Strict kebab-case, starting with a letter (e.g. `art-director`). Pinned by\n * REGEX, not convention: the companion derives generated-module FILE names\n * and camelCased TS IDENTIFIERS from `roleRef` — a leading digit, double\n * hyphen, or dot would emit a module that breaks the whole specifications\n * package compile.\n */\nexport const ExpertRoleRefSchema = z\n .string()\n .regex(/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/, 'roleRef must be strict kebab-case starting with a letter');\n\nexport const ExpertRoleTemplateSchema = z.object({\n /** Stable kebab-case role id (e.g. `art-director`) — see {@link ExpertRoleRefSchema}. */\n roleRef: ExpertRoleRefSchema,\n /** Human display name. */\n displayName: NonEmptyStringSchema,\n /**\n * The work-product domains this role OWNS — where it authors creative\n * briefs and derives evaluation rubrics (the domain-owner axis,\n * fail-closed). Narrow by design: one role owns one thing.\n */\n workDomains: z.array(z.enum(ExpertWorkDomain)).min(1),\n /**\n * The work-product domains this role may SIT ON REVIEW PANELS for — its\n * review LENS reach. Distinct from ownership on purpose: a design-system\n * guardian does not OWN visual marks, but marks are squarely inside its\n * coherence lens; a brand strategist reviews a mark's strategy without\n * being a mark craftsman. Narrowness lives in WHAT the lens judges\n * (coherence vs strategy vs craft), not in which artifacts it may look\n * at. Always a superset-or-equal of `workDomains`.\n */\n reviewScopes: z.array(z.enum(ExpertWorkDomain)).min(1),\n /** Which spec-tier inputs shape this role's derived charter. */\n shapingInputKinds: z.array(z.enum(ExpertShapingInputKind)).min(1),\n /** What the role may do inside a deliberation. */\n roleCapabilities: z.array(z.enum(ExpertRoleCapability)).min(1),\n /**\n * The profession-generic craft charter — what this role evaluates and\n * stands for in ANY app. App-agnostic by design; app substance belongs\n * to the derived `ExpertPersonaCharter`.\n */\n professionCharter: NonEmptyStringSchema,\n /**\n * Instructions for the derivation agent: how to compile the shaping\n * inputs into an app-specific charter (persona prose, ordered\n * priorities, taboos). May embed worked examples — teaching material,\n * NOT runtime vocabulary.\n */\n derivationInstructions: NonEmptyStringSchema,\n});\nexport type ExpertRoleTemplate = z.infer<typeof ExpertRoleTemplateSchema>;\n\n/**\n * The framework's role-template catalog — the v1 roster of narrow\n * experts. Extend per capability (a new deliberation domain ships with\n * its roles), never speculatively.\n *\n * Authoring bar for `professionCharter` / `derivationInstructions`:\n * studio-voiced, concrete, decision-driving prose. Vague direction is\n * exactly why generic prompts produce generic work.\n */\nexport const EXPERT_ROLE_TEMPLATES: readonly ExpertRoleTemplate[] = [\n {\n roleRef: 'information-architect',\n displayName: 'Information Architect',\n workDomains: [ExpertWorkDomain.INFORMATION_ARCHITECTURE],\n reviewScopes: [\n ExpertWorkDomain.INFORMATION_ARCHITECTURE,\n ExpertWorkDomain.UI_DESIGN_COHERENCE,\n ],\n shapingInputKinds: [\n ExpertShapingInputKind.REQUIREMENTS,\n ExpertShapingInputKind.MARKET,\n ExpertShapingInputKind.VISION,\n ExpertShapingInputKind.ACCEPTED_DECISIONS,\n ],\n roleCapabilities: [ExpertRoleCapability.BRIEF, ExpertRoleCapability.REVIEW],\n professionCharter:\n 'You are an information architect for application shells. You judge WHERE a destination, '\n + 'operation or view belongs — never how it looks. Your criteria, in order: FINDABILITY (would '\n + 'the user who wants this look here FIRST, not merely accept it once shown — the test is where '\n + 'they would go unprompted); GROUPING COHERENCE (everything in a group answers one question a '\n + 'user actually asks; a group that needs \"and other things\" in its name is two groups); SCOPE '\n + 'CORRECTNESS (a thing that acts on the whole organization does not sit among a person\\'s own '\n + 'preferences, and the reverse — a scope mismatch is a defect, not a nuance); CONVENTION FIT '\n + '(where comparable products put this, because a user arrives with expectations already '\n + 'formed, and a novel arrangement must EARN the cost of surprising them); and DEPTH DISCIPLINE '\n + '(one more level of nesting must buy more than it costs; a section reachable only after three '\n + 'guesses is not placed, it is hidden). You reject placements justified by implementation '\n + 'convenience (\"it renders there already\"), by the shape of the data model rather than the '\n + 'user\\'s task, and by symmetry for its own sake. A surface that shows everything ranks below '\n + 'one that shows the right things: you treat \"put it in the settings rail too\" as a cost.',\n derivationInstructions:\n 'Compile this app\\'s information-architect charter from its specification: derive WHO is '\n + 'placing and finding things from the market ICPs and personas (an admin-heavy B2B tool and a '\n + 'consumer app do not group alike); derive WHICH TASKS must be reachable in one step from the '\n + 'requirements and the vision\\'s core promise; derive the conventions this audience already '\n + 'carries from the market\\'s alternatives and category; derive what the shell already promises '\n + 'from the accepted decisions (the surfaces users have already learned). State ordered '\n + 'priorities and hard taboos as CONCRETE placements to refuse for this app, not generic advice '\n + '(\"no org-scoped destination inside the personal account group\"; \"nothing a daily task needs '\n + 'behind two levels of nesting\"). For `qualityBar`, state what a PERFECT placement looks like '\n + 'here — named surfaces, named groups, and the one-step tasks — grounded in this app\\'s actual '\n + 'audience and shell. For `reviewProtocol`, order the checks a placement review runs: scope '\n + 'correctness first (it is the only one that is objectively wrong rather than debatable), then '\n + 'findability against the personas\\' unprompted first guess, then grouping coherence, then '\n + 'convention fit, then depth. When asked to author a brief, produce N genuinely DISTINCT '\n + 'placement arrangements that make different trade-offs — one optimizing first-run '\n + 'discoverability, one optimizing the daily-use path, one following category convention most '\n + 'closely — each stating what it makes worse, because an arrangement with no cost has not been '\n + 'thought about.',\n },\n {\n roleRef: 'art-director',\n displayName: 'Art Director',\n workDomains: [ExpertWorkDomain.VISUAL_BRAND_MARK],\n reviewScopes: [ExpertWorkDomain.VISUAL_BRAND_MARK],\n shapingInputKinds: [\n ExpertShapingInputKind.VISION,\n ExpertShapingInputKind.MARKET,\n ExpertShapingInputKind.BRAND,\n ExpertShapingInputKind.DESIGN_SYSTEM,\n ],\n roleCapabilities: [ExpertRoleCapability.BRIEF, ExpertRoleCapability.REVIEW],\n professionCharter:\n 'You are an art director at the level of a top-tier brand-identity studio. You judge visual '\n + 'marks by: ONE clear, ownable idea per mark (a collage of motifs is a failure); ruthless '\n + 'restraint (nothing that can be removed remains); legibility at the smallest real surface the '\n + 'mark will live on (for an app: the 16px favicon — a mark that dissolves when small cannot '\n + 'win, striking-at-poster-size is only a tie-breaker); composition and visual balance; palette '\n + 'discipline (the brand colors, applied with intent — a primary that leads and an accent that '\n + 'beats, never decoration); and distinctiveness against the category’s visual clichés. You '\n + 'reject 3D, gradients-as-crutch, drop shadows, clip-art, and generic rounded-app-icon '\n + 'sameness unless the brand direction explicitly calls for them.',\n derivationInstructions:\n 'Compile this app’s art-director charter from its specification: derive the aesthetic '\n + 'priorities from the brand’s visual tone and logo direction; derive WHO must instantly read '\n + 'the mark from the market ICPs and personas; derive the emotional register from the vision '\n + '(idea, mission) and the market tones of voice; derive the palette and surface constraints '\n + 'from the design-system config and tokens. State ordered priorities (most important first) '\n + 'and hard taboos (from the brand avoid-list plus category clichés the positioning must '\n + 'escape). When asked to author a creative brief, produce N genuinely DISTINCT concept '\n + 'directions — one idea each, studio-voiced, concrete enough for an image model to execute. '\n + 'Worked example of distinct directions for a productivity brand (teaching material, not a '\n + 'catalog to copy): a negative-space mark (bold shape with the symbol carved out, accent notch '\n + 'at the tip); a continuous monoline (one even-weight stroke forming the symbol in a single '\n + 'gesture, accent tip); a geometric-modular construction (2–3 precise modules, exactly one '\n + 'accent module); a motion-echo (2–3 bold trailing echoes conveying speed, accent leading '\n + 'edge); a minimal glyph (the most reductive possible mark plus one accent beat); a contained '\n + 'progress emblem (ring as progress arc cradling the symbol). Each direction names the '\n + 'compositional idea, the two-color application, and the craft posture. For `qualityBar`, state what a 95+ MARK looks like for this app (favicon survival, palette fidelity, one-idea discipline — grounded in the actual surfaces and audience); for `reviewProtocol`, order the checks a mark review runs (squint-test at 16px first, then palette, then idea-count, then category-cliché scan).',\n },\n {\n roleRef: 'design-system-guardian',\n displayName: 'Design-System Guardian',\n workDomains: [ExpertWorkDomain.UI_DESIGN_COHERENCE],\n reviewScopes: [\n ExpertWorkDomain.UI_DESIGN_COHERENCE,\n ExpertWorkDomain.VISUAL_BRAND_MARK,\n ExpertWorkDomain.MARKETING_COPY,\n // Seated on placement panels as the coherence memory, NOT as the domain\n // owner: where a thing goes must not fork the pattern the shipped surfaces\n // already taught users. The information-architect owns the domain.\n ExpertWorkDomain.INFORMATION_ARCHITECTURE,\n ],\n shapingInputKinds: [\n ExpertShapingInputKind.DESIGN_SYSTEM,\n ExpertShapingInputKind.BRAND,\n ExpertShapingInputKind.ACCEPTED_DECISIONS,\n ],\n roleCapabilities: [ExpertRoleCapability.REVIEW],\n professionCharter:\n 'You are the guardian of the application’s design system. You judge any creative candidate by '\n + 'its coherence with the system it must live inside: does it respect the token palette (exact '\n + 'brand colors, not near-misses — a drifted hue is a defect, not a nuance); does it hold '\n + 'sufficient contrast on the system’s actual light AND dark surfaces; does it stay consistent '\n + 'with previously accepted decisions (the shipped assets and styles users already know); and '\n + 'does it scale across the system’s real surfaces (app shell, favicon, marketing site, email, '\n + 'documents) without per-surface hacks. You are the panel’s coherence memory: you flag '\n + 'anything that would fork the visual language, however attractive in isolation.',\n derivationInstructions:\n 'Compile this app’s guardian charter from its design-system source config and generated '\n + 'tokens: extract the exact palette (primary, accent, surface colors for light and dark), '\n + 'typography posture, and radius/spacing character as checkable priorities. From the accepted '\n + 'decisions (promoted brand assets, shipped styles), extract what the visual language already '\n + 'promises users. State taboos as concrete violations (off-palette hues, insufficient '\n + 'dark-surface contrast, styles that contradict an accepted asset). For `qualityBar`, state what PERFECT system coherence looks like here (exact tokens, both themes, no per-surface hacks); for `reviewProtocol`, order the coherence checks (palette hexes first, then dark-theme contrast, then consistency with each accepted asset).',\n },\n {\n roleRef: 'brand-strategist',\n displayName: 'Brand Strategist',\n workDomains: [ExpertWorkDomain.BRAND_STRATEGY],\n reviewScopes: [\n ExpertWorkDomain.BRAND_STRATEGY,\n ExpertWorkDomain.VISUAL_BRAND_MARK,\n ExpertWorkDomain.MARKETING_COPY,\n ],\n shapingInputKinds: [\n ExpertShapingInputKind.VISION,\n ExpertShapingInputKind.MARKET,\n ExpertShapingInputKind.BUSINESS_MODEL,\n ExpertShapingInputKind.BRAND,\n ],\n roleCapabilities: [ExpertRoleCapability.REVIEW],\n professionCharter:\n 'You are a brand strategist. You judge creative candidates by strategic fit, not by craft '\n + 'alone: does the candidate express the positioning (and escape the category’s sameness); '\n + 'would the actual ICPs recognize themselves in it (their sophistication, their taste, their '\n + 'context of use); does it differentiate against the named alternatives rather than imitating '\n + 'them; and does it carry the brand’s meaning (symbolism, values) rather than being merely '\n + 'pleasant. A beautiful mark that could belong to any competitor is a strategic failure.',\n derivationInstructions:\n 'Compile this app’s strategist charter from its market snapshot (positioning, ICPs, '\n + 'alternatives, objections), vision (idea, mission, values), and business model (offer shape, '\n + 'pricing posture — premium demands different codes than accessible). State priorities as '\n + 'strategic questions the candidate must answer (e.g. “does this read as calm precision to a '\n + 'maker, not enterprise bureaucracy?”) and taboos as the competitor codes and category '\n + 'clichés the positioning explicitly escapes. For `qualityBar`, state what an UNMISTAKABLY on-strategy candidate looks like (which positioning line it proves, which competitor codes it escapes); for `reviewProtocol`, order the strategic checks (ICP recognition first, then differentiation vs each named alternative, then meaning-carriage).',\n },\n {\n roleRef: 'copy-chief',\n displayName: 'Copy Chief',\n workDomains: [ExpertWorkDomain.MARKETING_COPY],\n reviewScopes: [ExpertWorkDomain.MARKETING_COPY],\n shapingInputKinds: [\n ExpertShapingInputKind.VISION,\n ExpertShapingInputKind.MARKET,\n ExpertShapingInputKind.BRAND,\n ExpertShapingInputKind.REQUIREMENTS,\n ],\n roleCapabilities: [ExpertRoleCapability.BRIEF, ExpertRoleCapability.REVIEW],\n professionCharter:\n 'You are a copy chief. You judge prose by: voice consistency (the brand’s tone of voice, held '\n + 'from headline to footnote); clarity over cleverness (a reader should never re-read a '\n + 'sentence to parse it); benefit-led messaging in the reader’s own vocabulary (the ICP’s '\n + 'words, not the product team’s); rhythm and economy (every word earns its place); and honest '\n + 'claims (no superlatives the product cannot keep). Jargon, filler, and interchangeable SaaS '\n + 'boilerplate (“supercharge your workflow”) are defects.',\n derivationInstructions:\n 'Compile this app’s copy-chief charter from its market tones of voice (the register and its '\n + 'do/don’t), ICPs and personas (their vocabulary, their objections — copy must pre-answer '\n + 'them), positioning (the one thing every piece must communicate), vision (the deeper why '\n + 'behind the product), and requirements (what the product actually does — the floor for '\n + 'honest claims). State priorities as voice rules with examples, and taboos as concrete '\n + 'banned registers and phrases. For `qualityBar`, state what a 95+ piece of copy sounds like '\n + 'for this app (voice held, ICP vocabulary, objection pre-answered); for `reviewProtocol`, '\n + 'order the copy checks (read-aloud voice test first, then claim-honesty vs requirements, '\n + 'then jargon/filler sweep).',\n },\n];\n\n/** Look up a role template by ref (undefined when the role is unknown). */\nexport function getExpertRoleTemplate(roleRef: string): ExpertRoleTemplate | undefined {\n return EXPERT_ROLE_TEMPLATES.find((template) => template.roleRef === roleRef);\n}\n"]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { FamilyAspectsDeclaration } from './family-aspects.schemas';
|
|
2
|
+
/**
|
|
3
|
+
* The assembled family-aspects registry — every family's aspect declaration, keyed by the
|
|
4
|
+
* family's semantic `schemaRef`. See `family-aspects.schemas.ts` for the contract and for why
|
|
5
|
+
* the declarations live BESIDE their family's schemas rather than here.
|
|
6
|
+
*
|
|
7
|
+
* Every semantic family is declared. The count is deliberately not written here: it moves, and a
|
|
8
|
+
* number in prose has to be re-measured before it can be believed. One family is deliberately
|
|
9
|
+
* aspect-EMPTY (the assurance programme — see its declaration for why a versioned union refuses a
|
|
10
|
+
* single aspect shape), and the drift pins in `_core/__tests__/family-aspects.registry.test.ts` hold
|
|
11
|
+
* every declaration to the schemas it transcribes.
|
|
12
|
+
*/
|
|
13
|
+
export declare const FAMILY_ASPECTS_REGISTRY: readonly FamilyAspectsDeclaration[];
|
|
14
|
+
/** Registry lookup by the family's semantic schemaRef (the artifact rows' `schemaRef` field). */
|
|
15
|
+
export declare function getFamilyAspectsBySchemaRef(schemaRef: string): FamilyAspectsDeclaration | undefined;
|
|
16
|
+
/** Flat lookup of one aspect declaration by its global key (`'market.icp'`). */
|
|
17
|
+
export declare function getFamilyAspectByKey(key: string): FamilyAspectsDeclaration['aspects'][number] | undefined;
|
|
18
|
+
//# sourceMappingURL=family-aspects.registry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"family-aspects.registry.d.ts","sourceRoot":"","sources":["../../../../src/_core/family-aspects.registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAkBzE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,uBAAuB,EAAE,SAAS,wBAAwB,EAkBtE,CAAC;AAEF,iGAAiG;AACjG,wBAAgB,2BAA2B,CAAC,SAAS,EAAE,MAAM,GAAG,wBAAwB,GAAG,SAAS,CAEnG;AAED,gFAAgF;AAChF,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,wBAAwB,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,GAAG,SAAS,CAMzG"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { VISION_FAMILY_ASPECTS } from './vision/vision.family-aspects.js';
|
|
2
|
+
import { MARKET_FAMILY_ASPECTS } from './market/market.family-aspects.js';
|
|
3
|
+
import { REQUIREMENTS_FAMILY_ASPECTS } from './requirements/requirements.family-aspects.js';
|
|
4
|
+
import { FEATURE_DRAFTS_FAMILY_ASPECTS } from './feature-drafts/feature-drafts.family-aspects.js';
|
|
5
|
+
import { ROADMAP_FAMILY_ASPECTS } from './roadmap/roadmap.family-aspects.js';
|
|
6
|
+
import { BUSINESS_MODEL_FAMILY_ASPECTS } from './business-model-lite/business-model.family-aspects.js';
|
|
7
|
+
import { BRAND_FAMILY_ASPECTS } from './brand/brand.family-aspects.js';
|
|
8
|
+
import { DOMAIN_PLAN_FAMILY_ASPECTS } from './domain-plan/domain-plan.family-aspects.js';
|
|
9
|
+
import { BUILD_PLAN_FAMILY_ASPECTS } from './build-plan/build-plan.family-aspects.js';
|
|
10
|
+
import { PLACEMENT_PLAN_FAMILY_ASPECTS } from './placement-plan/placement-plan.family-aspects.js';
|
|
11
|
+
import { COMPLIANCE_DOCUMENT_CANDIDATE_FAMILY_ASPECTS } from './compliance-documents/compliance-documents.family-aspects.js';
|
|
12
|
+
import { PROCESSOR_REGISTER_FAMILY_ASPECTS } from './compliance-documents/processor-register.family-aspects.js';
|
|
13
|
+
import { AUTHORED_DOCUMENT_FACTS_FAMILY_ASPECTS, DOCUMENT_FACTS_FAMILY_ASPECTS } from '../application-creation/document-facts.family-aspects.js';
|
|
14
|
+
import { DOCUMENT_RELEASE_POLICY_FAMILY_ASPECTS } from '../application-creation/document-release-policy.family-aspects.js';
|
|
15
|
+
import { DOCUMENT_PUBLICATION_FAMILY_ASPECTS } from '../assurance/document-publication.family-aspects.js';
|
|
16
|
+
import { ASSURANCE_PROGRAM_FAMILY_ASPECTS } from '../assurance/assurance-program.family-aspects.js';
|
|
17
|
+
/**
|
|
18
|
+
* The assembled family-aspects registry — every family's aspect declaration, keyed by the
|
|
19
|
+
* family's semantic `schemaRef`. See `family-aspects.schemas.ts` for the contract and for why
|
|
20
|
+
* the declarations live BESIDE their family's schemas rather than here.
|
|
21
|
+
*
|
|
22
|
+
* Every semantic family is declared. The count is deliberately not written here: it moves, and a
|
|
23
|
+
* number in prose has to be re-measured before it can be believed. One family is deliberately
|
|
24
|
+
* aspect-EMPTY (the assurance programme — see its declaration for why a versioned union refuses a
|
|
25
|
+
* single aspect shape), and the drift pins in `_core/__tests__/family-aspects.registry.test.ts` hold
|
|
26
|
+
* every declaration to the schemas it transcribes.
|
|
27
|
+
*/
|
|
28
|
+
export const FAMILY_ASPECTS_REGISTRY = [
|
|
29
|
+
VISION_FAMILY_ASPECTS,
|
|
30
|
+
MARKET_FAMILY_ASPECTS,
|
|
31
|
+
REQUIREMENTS_FAMILY_ASPECTS,
|
|
32
|
+
FEATURE_DRAFTS_FAMILY_ASPECTS,
|
|
33
|
+
ROADMAP_FAMILY_ASPECTS,
|
|
34
|
+
BUSINESS_MODEL_FAMILY_ASPECTS,
|
|
35
|
+
BRAND_FAMILY_ASPECTS,
|
|
36
|
+
DOMAIN_PLAN_FAMILY_ASPECTS,
|
|
37
|
+
BUILD_PLAN_FAMILY_ASPECTS,
|
|
38
|
+
PLACEMENT_PLAN_FAMILY_ASPECTS,
|
|
39
|
+
COMPLIANCE_DOCUMENT_CANDIDATE_FAMILY_ASPECTS,
|
|
40
|
+
PROCESSOR_REGISTER_FAMILY_ASPECTS,
|
|
41
|
+
DOCUMENT_FACTS_FAMILY_ASPECTS,
|
|
42
|
+
AUTHORED_DOCUMENT_FACTS_FAMILY_ASPECTS,
|
|
43
|
+
DOCUMENT_RELEASE_POLICY_FAMILY_ASPECTS,
|
|
44
|
+
DOCUMENT_PUBLICATION_FAMILY_ASPECTS,
|
|
45
|
+
ASSURANCE_PROGRAM_FAMILY_ASPECTS,
|
|
46
|
+
];
|
|
47
|
+
/** Registry lookup by the family's semantic schemaRef (the artifact rows' `schemaRef` field). */
|
|
48
|
+
export function getFamilyAspectsBySchemaRef(schemaRef) {
|
|
49
|
+
return FAMILY_ASPECTS_REGISTRY.find((declaration) => declaration.schemaRef === schemaRef);
|
|
50
|
+
}
|
|
51
|
+
/** Flat lookup of one aspect declaration by its global key (`'market.icp'`). */
|
|
52
|
+
export function getFamilyAspectByKey(key) {
|
|
53
|
+
for (const declaration of FAMILY_ASPECTS_REGISTRY) {
|
|
54
|
+
const aspect = declaration.aspects.find((entry) => entry.key === key);
|
|
55
|
+
if (aspect)
|
|
56
|
+
return aspect;
|
|
57
|
+
}
|
|
58
|
+
return undefined;
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=family-aspects.registry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"family-aspects.registry.js","sourceRoot":"","sources":["../../../../src/_core/family-aspects.registry.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AACvE,OAAO,EAAE,2BAA2B,EAAE,MAAM,4CAA4C,CAAC;AACzF,OAAO,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAC/F,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EAAE,6BAA6B,EAAE,MAAM,qDAAqD,CAAC;AACpG,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AACtF,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AACnF,OAAO,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAC/F,OAAO,EAAE,4CAA4C,EAAE,MAAM,4DAA4D,CAAC;AAC1H,OAAO,EAAE,iCAAiC,EAAE,MAAM,0DAA0D,CAAC;AAC7G,OAAO,EAAE,sCAAsC,EAAE,6BAA6B,EAAE,MAAM,uDAAuD,CAAC;AAC9I,OAAO,EAAE,sCAAsC,EAAE,MAAM,gEAAgE,CAAC;AACxH,OAAO,EAAE,mCAAmC,EAAE,MAAM,kDAAkD,CAAC;AACvG,OAAO,EAAE,gCAAgC,EAAE,MAAM,+CAA+C,CAAC;AAEjG;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAwC;IAC1E,qBAAqB;IACrB,qBAAqB;IACrB,2BAA2B;IAC3B,6BAA6B;IAC7B,sBAAsB;IACtB,6BAA6B;IAC7B,oBAAoB;IACpB,0BAA0B;IAC1B,yBAAyB;IACzB,6BAA6B;IAC7B,4CAA4C;IAC5C,iCAAiC;IACjC,6BAA6B;IAC7B,sCAAsC;IACtC,sCAAsC;IACtC,mCAAmC;IACnC,gCAAgC;CACjC,CAAC;AAEF,iGAAiG;AACjG,MAAM,UAAU,2BAA2B,CAAC,SAAiB;IAC3D,OAAO,uBAAuB,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,WAAW,CAAC,SAAS,KAAK,SAAS,CAAC,CAAC;AAC5F,CAAC;AAED,gFAAgF;AAChF,MAAM,UAAU,oBAAoB,CAAC,GAAW;IAC9C,KAAK,MAAM,WAAW,IAAI,uBAAuB,EAAE,CAAC;QAClD,MAAM,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,GAAG,KAAK,GAAG,CAAC,CAAC;QACtE,IAAI,MAAM;YAAE,OAAO,MAAM,CAAC;IAC5B,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC","sourcesContent":["import type { FamilyAspectsDeclaration } from './family-aspects.schemas';\nimport { VISION_FAMILY_ASPECTS } from './vision/vision.family-aspects';\nimport { MARKET_FAMILY_ASPECTS } from './market/market.family-aspects';\nimport { REQUIREMENTS_FAMILY_ASPECTS } from './requirements/requirements.family-aspects';\nimport { FEATURE_DRAFTS_FAMILY_ASPECTS } from './feature-drafts/feature-drafts.family-aspects';\nimport { ROADMAP_FAMILY_ASPECTS } from './roadmap/roadmap.family-aspects';\nimport { BUSINESS_MODEL_FAMILY_ASPECTS } from './business-model-lite/business-model.family-aspects';\nimport { BRAND_FAMILY_ASPECTS } from './brand/brand.family-aspects';\nimport { DOMAIN_PLAN_FAMILY_ASPECTS } from './domain-plan/domain-plan.family-aspects';\nimport { BUILD_PLAN_FAMILY_ASPECTS } from './build-plan/build-plan.family-aspects';\nimport { PLACEMENT_PLAN_FAMILY_ASPECTS } from './placement-plan/placement-plan.family-aspects';\nimport { COMPLIANCE_DOCUMENT_CANDIDATE_FAMILY_ASPECTS } from './compliance-documents/compliance-documents.family-aspects';\nimport { PROCESSOR_REGISTER_FAMILY_ASPECTS } from './compliance-documents/processor-register.family-aspects';\nimport { AUTHORED_DOCUMENT_FACTS_FAMILY_ASPECTS, DOCUMENT_FACTS_FAMILY_ASPECTS } from '../application-creation/document-facts.family-aspects';\nimport { DOCUMENT_RELEASE_POLICY_FAMILY_ASPECTS } from '../application-creation/document-release-policy.family-aspects';\nimport { DOCUMENT_PUBLICATION_FAMILY_ASPECTS } from '../assurance/document-publication.family-aspects';\nimport { ASSURANCE_PROGRAM_FAMILY_ASPECTS } from '../assurance/assurance-program.family-aspects';\n\n/**\n * The assembled family-aspects registry — every family's aspect declaration, keyed by the\n * family's semantic `schemaRef`. See `family-aspects.schemas.ts` for the contract and for why\n * the declarations live BESIDE their family's schemas rather than here.\n *\n * Every semantic family is declared. The count is deliberately not written here: it moves, and a\n * number in prose has to be re-measured before it can be believed. One family is deliberately\n * aspect-EMPTY (the assurance programme — see its declaration for why a versioned union refuses a\n * single aspect shape), and the drift pins in `_core/__tests__/family-aspects.registry.test.ts` hold\n * every declaration to the schemas it transcribes.\n */\nexport const FAMILY_ASPECTS_REGISTRY: readonly FamilyAspectsDeclaration[] = [\n VISION_FAMILY_ASPECTS,\n MARKET_FAMILY_ASPECTS,\n REQUIREMENTS_FAMILY_ASPECTS,\n FEATURE_DRAFTS_FAMILY_ASPECTS,\n ROADMAP_FAMILY_ASPECTS,\n BUSINESS_MODEL_FAMILY_ASPECTS,\n BRAND_FAMILY_ASPECTS,\n DOMAIN_PLAN_FAMILY_ASPECTS,\n BUILD_PLAN_FAMILY_ASPECTS,\n PLACEMENT_PLAN_FAMILY_ASPECTS,\n COMPLIANCE_DOCUMENT_CANDIDATE_FAMILY_ASPECTS,\n PROCESSOR_REGISTER_FAMILY_ASPECTS,\n DOCUMENT_FACTS_FAMILY_ASPECTS,\n AUTHORED_DOCUMENT_FACTS_FAMILY_ASPECTS,\n DOCUMENT_RELEASE_POLICY_FAMILY_ASPECTS,\n DOCUMENT_PUBLICATION_FAMILY_ASPECTS,\n ASSURANCE_PROGRAM_FAMILY_ASPECTS,\n];\n\n/** Registry lookup by the family's semantic schemaRef (the artifact rows' `schemaRef` field). */\nexport function getFamilyAspectsBySchemaRef(schemaRef: string): FamilyAspectsDeclaration | undefined {\n return FAMILY_ASPECTS_REGISTRY.find((declaration) => declaration.schemaRef === schemaRef);\n}\n\n/** Flat lookup of one aspect declaration by its global key (`'market.icp'`). */\nexport function getFamilyAspectByKey(key: string): FamilyAspectsDeclaration['aspects'][number] | undefined {\n for (const declaration of FAMILY_ASPECTS_REGISTRY) {\n const aspect = declaration.aspects.find((entry) => entry.key === key);\n if (aspect) return aspect;\n }\n return undefined;\n}\n"]}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import type { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* FAMILY ASPECTS — the canonical declaration of a specification family's SECOND-LEVEL structure.
|
|
4
|
+
*
|
|
5
|
+
* ## What this is
|
|
6
|
+
*
|
|
7
|
+
* Every `_core` family snapshot is a document holding collections and singletons — the vision's
|
|
8
|
+
* success criteria, the market's ICPs and personas, the requirements' functional entries. Those
|
|
9
|
+
* members reference EACH OTHER by business key (`icpRefs`, `deliversRequirementRefs`,
|
|
10
|
+
* `belongsToIcpRefs`, …): the families form one product GRAPH that the snapshot files flatten.
|
|
11
|
+
*
|
|
12
|
+
* This module is the contract for declaring that graph ONCE, beside the schemas that own it
|
|
13
|
+
* (decided 2026-09-01: schemas stay authoritative — a family's aspect declaration is colocated
|
|
14
|
+
* with the family, never re-derived downstream). Everything that makes an aspect a navigable
|
|
15
|
+
* RESOURCE derives from the declaration: the workbench's introspection projections, the aspect
|
|
16
|
+
* resource surfaces, the REFERENCE relationships, and the reference-popup navigation.
|
|
17
|
+
*
|
|
18
|
+
* ## What this is NOT
|
|
19
|
+
*
|
|
20
|
+
* Not a reshape of any family schema — the snapshots stay exactly as authored and validated.
|
|
21
|
+
* Not a persistence model — aspect rows are DERIVED per read from the landed files (git is the
|
|
22
|
+
* database), exactly like the specification-artifacts rows they refine.
|
|
23
|
+
*
|
|
24
|
+
* The platform spine (platform-core-shared) deliberately never imports this package; it carries
|
|
25
|
+
* a plain-data descriptor table whose keys a registry test pins against these declarations —
|
|
26
|
+
* the same split `APPLICATION_SPECIFICATION_SEMANTIC_SCHEMA_BINDINGS` already makes.
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* Global aspect key: `<family-domain>.<aspect>`, kebab-case, unique across ALL families —
|
|
30
|
+
* it names the aspect KIND everywhere (edge targets, resource surfaces, projections).
|
|
31
|
+
*/
|
|
32
|
+
export type FamilyAspectKey = `${string}.${string}`;
|
|
33
|
+
/**
|
|
34
|
+
* One reference EDGE from this aspect's items to another aspect's items.
|
|
35
|
+
*/
|
|
36
|
+
export interface FamilyAspectEdge {
|
|
37
|
+
/**
|
|
38
|
+
* The field on the ITEM schema carrying the reference(s) — a business-key string, an array of
|
|
39
|
+
* them, or (with `throughField`) an array of edge OBJECTS each carrying the key.
|
|
40
|
+
*/
|
|
41
|
+
readonly field: string;
|
|
42
|
+
/**
|
|
43
|
+
* For weighted/qualified edge objects (`jobs: JobEdge[]` where `JobEdge.jobRef` holds the key):
|
|
44
|
+
* the ref-carrying subfield of each array entry — itself either one key or an ARRAY of keys
|
|
45
|
+
* (`valuePillars[].backedByBenefitRefs`). Absent for plain string / string[] fields.
|
|
46
|
+
*/
|
|
47
|
+
readonly throughField?: string;
|
|
48
|
+
/**
|
|
49
|
+
* The aspect KIND(s) the reference may point at. Usually one; more when a field legitimately
|
|
50
|
+
* holds keys of several kinds — a roadmap phase's `deliversRequirementRefs` carries functional
|
|
51
|
+
* AND non-functional requirement keys, told apart by their namespaced prefixes. Resolution is
|
|
52
|
+
* membership: the key belongs to whichever target aspect's key set contains it.
|
|
53
|
+
*/
|
|
54
|
+
readonly targetAspects: readonly FamilyAspectKey[];
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* How an aspect is SHAPED inside the family snapshot, which decides how a reader addresses its rows.
|
|
58
|
+
*
|
|
59
|
+
* The distinction is not cosmetic: it selects the identity contract. A COLLECTION carries many items
|
|
60
|
+
* and needs a business key (or an index fallback) to name one; a SINGLETON is one object per family,
|
|
61
|
+
* so the aspect key IS its identity and a business key would be a second name for the same row.
|
|
62
|
+
*/
|
|
63
|
+
export declare enum FamilyAspectKind {
|
|
64
|
+
/** An array of items — icps, features, requirements. Rows are addressed by business key or index. */
|
|
65
|
+
COLLECTION = "collection",
|
|
66
|
+
/** One object per family — mission, problem, idea. The aspect key is the row's identity. */
|
|
67
|
+
SINGLETON = "singleton"
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* One second-level aspect of a family snapshot.
|
|
71
|
+
*/
|
|
72
|
+
export interface FamilyAspectDeclaration {
|
|
73
|
+
/** Global aspect key — see {@link FamilyAspectKey}. */
|
|
74
|
+
readonly key: FamilyAspectKey;
|
|
75
|
+
/** Top-level member of the family snapshot this aspect reads from (`'icps'`, `'mission'`). */
|
|
76
|
+
readonly snapshotPath: string;
|
|
77
|
+
/** How this aspect is shaped inside the family snapshot — see {@link FamilyAspectKind}. */
|
|
78
|
+
readonly kind: FamilyAspectKind;
|
|
79
|
+
/** The item's authoritative Zod schema — the SAME instance the snapshot schema composes. */
|
|
80
|
+
readonly itemSchema: z.ZodTypeAny;
|
|
81
|
+
/**
|
|
82
|
+
* The item field whose value is the aspect's BUSINESS KEY (`'ref'`, `'featureRef'`, …).
|
|
83
|
+
* Undefined for singletons (identity = the aspect key — one per family) and for the rare
|
|
84
|
+
* collection whose schema declares no single-field key (a publication VARIANT is keyed by
|
|
85
|
+
* locale × jurisdictions): there, row identity falls back to `<aspectKey>[<index>]`, which is
|
|
86
|
+
* stable per landed snapshot and honest about carrying no business meaning.
|
|
87
|
+
*/
|
|
88
|
+
readonly businessKey?: string;
|
|
89
|
+
/**
|
|
90
|
+
* The item field a reader meets first — the popup/summary headline.
|
|
91
|
+
*
|
|
92
|
+
* A DOTTED PATH is allowed (`'draft.purpose'`) for the families whose reader-facing name sits
|
|
93
|
+
* under a wrapper the schema needs and a reader does not: a feature draft is
|
|
94
|
+
* `{featureRef, draft: {purpose, …}}` because the payload is authored ref-lessly, so its only
|
|
95
|
+
* top-level string is the machine slug. Naming the slug there made every reference TO a feature
|
|
96
|
+
* draft — and its own popup header — read `feature-deal-owner` where its siblings read a
|
|
97
|
+
* sentence. Resolution walks plain objects only; a path that misses falls back to the row
|
|
98
|
+
* identity, and the registry pin refuses a path the item schema does not carry.
|
|
99
|
+
*/
|
|
100
|
+
readonly headlineField: string;
|
|
101
|
+
/** Every reference this aspect's items carry toward other aspects. */
|
|
102
|
+
readonly edges: readonly FamilyAspectEdge[];
|
|
103
|
+
/**
|
|
104
|
+
* Item fields that LOOK like references (`*Ref`/`*Refs`) but deliberately are not edges —
|
|
105
|
+
* external vocabularies, machine addresses, refs whose target is not an aspect. Each entry
|
|
106
|
+
* carries the reason, so the drift pin (every ref-shaped field is an edge OR is listed here)
|
|
107
|
+
* refuses silence instead of guessing.
|
|
108
|
+
*/
|
|
109
|
+
readonly nonEdgeRefFields?: Readonly<Record<string, string>>;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* A family's whole aspect declaration — authored beside the family's `_core` schemas.
|
|
113
|
+
*/
|
|
114
|
+
export interface FamilyAspectsDeclaration {
|
|
115
|
+
/**
|
|
116
|
+
* The family's semantic schema ref (`ApplicationSpecificationFamilySemanticSchemaRef` value) —
|
|
117
|
+
* the same identity the artifact rows carry as `schemaRef`, which is what keys the registry.
|
|
118
|
+
*/
|
|
119
|
+
readonly schemaRef: string;
|
|
120
|
+
readonly aspects: readonly FamilyAspectDeclaration[];
|
|
121
|
+
}
|
|
122
|
+
//# sourceMappingURL=family-aspects.schemas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"family-aspects.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/family-aspects.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG,GAAG,MAAM,IAAI,MAAM,EAAE,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IAC/B;;;;;OAKG;IACH,QAAQ,CAAC,aAAa,EAAE,SAAS,eAAe,EAAE,CAAC;CACpD;AAED;;;;;;GAMG;AACH,oBAAY,gBAAgB;IAC1B,qGAAqG;IACrG,UAAU,eAAe;IACzB,4FAA4F;IAC5F,SAAS,cAAc;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,uDAAuD;IACvD,QAAQ,CAAC,GAAG,EAAE,eAAe,CAAC;IAC9B,8FAA8F;IAC9F,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,2FAA2F;IAC3F,QAAQ,CAAC,IAAI,EAAE,gBAAgB,CAAC;IAChC,4FAA4F;IAC5F,QAAQ,CAAC,UAAU,EAAE,CAAC,CAAC,UAAU,CAAC;IAClC;;;;;;OAMG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,sEAAsE;IACtE,QAAQ,CAAC,KAAK,EAAE,SAAS,gBAAgB,EAAE,CAAC;IAC5C;;;;;OAKG;IACH,QAAQ,CAAC,gBAAgB,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;CAC9D;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC;;;OAGG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,OAAO,EAAE,SAAS,uBAAuB,EAAE,CAAC;CACtD"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How an aspect is SHAPED inside the family snapshot, which decides how a reader addresses its rows.
|
|
3
|
+
*
|
|
4
|
+
* The distinction is not cosmetic: it selects the identity contract. A COLLECTION carries many items
|
|
5
|
+
* and needs a business key (or an index fallback) to name one; a SINGLETON is one object per family,
|
|
6
|
+
* so the aspect key IS its identity and a business key would be a second name for the same row.
|
|
7
|
+
*/
|
|
8
|
+
export var FamilyAspectKind;
|
|
9
|
+
(function (FamilyAspectKind) {
|
|
10
|
+
/** An array of items — icps, features, requirements. Rows are addressed by business key or index. */
|
|
11
|
+
FamilyAspectKind["COLLECTION"] = "collection";
|
|
12
|
+
/** One object per family — mission, problem, idea. The aspect key is the row's identity. */
|
|
13
|
+
FamilyAspectKind["SINGLETON"] = "singleton";
|
|
14
|
+
})(FamilyAspectKind || (FamilyAspectKind = {}));
|
|
15
|
+
//# sourceMappingURL=family-aspects.schemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"family-aspects.schemas.js","sourceRoot":"","sources":["../../../../src/_core/family-aspects.schemas.ts"],"names":[],"mappings":"AA2DA;;;;;;GAMG;AACH,MAAM,CAAN,IAAY,gBAKX;AALD,WAAY,gBAAgB;IAC1B,qGAAqG;IACrG,6CAAyB,CAAA;IACzB,4FAA4F;IAC5F,2CAAuB,CAAA;AACzB,CAAC,EALW,gBAAgB,KAAhB,gBAAgB,QAK3B","sourcesContent":["import type { z } from 'zod';\n\n/**\n * FAMILY ASPECTS — the canonical declaration of a specification family's SECOND-LEVEL structure.\n *\n * ## What this is\n *\n * Every `_core` family snapshot is a document holding collections and singletons — the vision's\n * success criteria, the market's ICPs and personas, the requirements' functional entries. Those\n * members reference EACH OTHER by business key (`icpRefs`, `deliversRequirementRefs`,\n * `belongsToIcpRefs`, …): the families form one product GRAPH that the snapshot files flatten.\n *\n * This module is the contract for declaring that graph ONCE, beside the schemas that own it\n * (decided 2026-09-01: schemas stay authoritative — a family's aspect declaration is colocated\n * with the family, never re-derived downstream). Everything that makes an aspect a navigable\n * RESOURCE derives from the declaration: the workbench's introspection projections, the aspect\n * resource surfaces, the REFERENCE relationships, and the reference-popup navigation.\n *\n * ## What this is NOT\n *\n * Not a reshape of any family schema — the snapshots stay exactly as authored and validated.\n * Not a persistence model — aspect rows are DERIVED per read from the landed files (git is the\n * database), exactly like the specification-artifacts rows they refine.\n *\n * The platform spine (platform-core-shared) deliberately never imports this package; it carries\n * a plain-data descriptor table whose keys a registry test pins against these declarations —\n * the same split `APPLICATION_SPECIFICATION_SEMANTIC_SCHEMA_BINDINGS` already makes.\n */\n\n/**\n * Global aspect key: `<family-domain>.<aspect>`, kebab-case, unique across ALL families —\n * it names the aspect KIND everywhere (edge targets, resource surfaces, projections).\n */\nexport type FamilyAspectKey = `${string}.${string}`;\n\n/**\n * One reference EDGE from this aspect's items to another aspect's items.\n */\nexport interface FamilyAspectEdge {\n /**\n * The field on the ITEM schema carrying the reference(s) — a business-key string, an array of\n * them, or (with `throughField`) an array of edge OBJECTS each carrying the key.\n */\n readonly field: string;\n /**\n * For weighted/qualified edge objects (`jobs: JobEdge[]` where `JobEdge.jobRef` holds the key):\n * the ref-carrying subfield of each array entry — itself either one key or an ARRAY of keys\n * (`valuePillars[].backedByBenefitRefs`). Absent for plain string / string[] fields.\n */\n readonly throughField?: string;\n /**\n * The aspect KIND(s) the reference may point at. Usually one; more when a field legitimately\n * holds keys of several kinds — a roadmap phase's `deliversRequirementRefs` carries functional\n * AND non-functional requirement keys, told apart by their namespaced prefixes. Resolution is\n * membership: the key belongs to whichever target aspect's key set contains it.\n */\n readonly targetAspects: readonly FamilyAspectKey[];\n}\n\n/**\n * How an aspect is SHAPED inside the family snapshot, which decides how a reader addresses its rows.\n *\n * The distinction is not cosmetic: it selects the identity contract. A COLLECTION carries many items\n * and needs a business key (or an index fallback) to name one; a SINGLETON is one object per family,\n * so the aspect key IS its identity and a business key would be a second name for the same row.\n */\nexport enum FamilyAspectKind {\n /** An array of items — icps, features, requirements. Rows are addressed by business key or index. */\n COLLECTION = 'collection',\n /** One object per family — mission, problem, idea. The aspect key is the row's identity. */\n SINGLETON = 'singleton',\n}\n\n/**\n * One second-level aspect of a family snapshot.\n */\nexport interface FamilyAspectDeclaration {\n /** Global aspect key — see {@link FamilyAspectKey}. */\n readonly key: FamilyAspectKey;\n /** Top-level member of the family snapshot this aspect reads from (`'icps'`, `'mission'`). */\n readonly snapshotPath: string;\n /** How this aspect is shaped inside the family snapshot — see {@link FamilyAspectKind}. */\n readonly kind: FamilyAspectKind;\n /** The item's authoritative Zod schema — the SAME instance the snapshot schema composes. */\n readonly itemSchema: z.ZodTypeAny;\n /**\n * The item field whose value is the aspect's BUSINESS KEY (`'ref'`, `'featureRef'`, …).\n * Undefined for singletons (identity = the aspect key — one per family) and for the rare\n * collection whose schema declares no single-field key (a publication VARIANT is keyed by\n * locale × jurisdictions): there, row identity falls back to `<aspectKey>[<index>]`, which is\n * stable per landed snapshot and honest about carrying no business meaning.\n */\n readonly businessKey?: string;\n /**\n * The item field a reader meets first — the popup/summary headline.\n *\n * A DOTTED PATH is allowed (`'draft.purpose'`) for the families whose reader-facing name sits\n * under a wrapper the schema needs and a reader does not: a feature draft is\n * `{featureRef, draft: {purpose, …}}` because the payload is authored ref-lessly, so its only\n * top-level string is the machine slug. Naming the slug there made every reference TO a feature\n * draft — and its own popup header — read `feature-deal-owner` where its siblings read a\n * sentence. Resolution walks plain objects only; a path that misses falls back to the row\n * identity, and the registry pin refuses a path the item schema does not carry.\n */\n readonly headlineField: string;\n /** Every reference this aspect's items carry toward other aspects. */\n readonly edges: readonly FamilyAspectEdge[];\n /**\n * Item fields that LOOK like references (`*Ref`/`*Refs`) but deliberately are not edges —\n * external vocabularies, machine addresses, refs whose target is not an aspect. Each entry\n * carries the reason, so the drift pin (every ref-shaped field is an edge OR is listed here)\n * refuses silence instead of guessing.\n */\n readonly nonEdgeRefFields?: Readonly<Record<string, string>>;\n}\n\n/**\n * A family's whole aspect declaration — authored beside the family's `_core` schemas.\n */\nexport interface FamilyAspectsDeclaration {\n /**\n * The family's semantic schema ref (`ApplicationSpecificationFamilySemanticSchemaRef` value) —\n * the same identity the artifact rows carry as `schemaRef`, which is what keys the registry.\n */\n readonly schemaRef: string;\n readonly aspects: readonly FamilyAspectDeclaration[];\n}\n"]}
|
|
@@ -133,22 +133,22 @@ export declare const CapabilityMapOutputSetGenerationSchema: z.ZodObject<{
|
|
|
133
133
|
slug: z.ZodString;
|
|
134
134
|
} & {
|
|
135
135
|
statement: z.ZodString;
|
|
136
|
+
successCriteria: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
136
137
|
jobKind: z.ZodEnum<typeof import("..").JobKind>;
|
|
137
138
|
context: z.ZodOptional<z.ZodString>;
|
|
138
|
-
successCriteria: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
139
139
|
}, z.core.$strict>>;
|
|
140
140
|
pains: z.ZodArray<z.ZodObject<{
|
|
141
141
|
slug: z.ZodString;
|
|
142
142
|
} & {
|
|
143
|
-
evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
144
143
|
statement: z.ZodString;
|
|
145
144
|
painKind: z.ZodEnum<typeof import("..").PainKind>;
|
|
145
|
+
evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
146
146
|
}, z.core.$strict>>;
|
|
147
147
|
gains: z.ZodArray<z.ZodObject<{
|
|
148
148
|
slug: z.ZodString;
|
|
149
149
|
} & {
|
|
150
|
-
evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
151
150
|
statement: z.ZodString;
|
|
151
|
+
evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
152
152
|
gainKind: z.ZodEnum<typeof import("..").GainKind>;
|
|
153
153
|
}, z.core.$strict>>;
|
|
154
154
|
tonesOfVoice: z.ZodArray<z.ZodObject<{
|
|
@@ -170,8 +170,9 @@ export declare const CapabilityMapOutputSetGenerationSchema: z.ZodObject<{
|
|
|
170
170
|
slug: z.ZodString;
|
|
171
171
|
} & {
|
|
172
172
|
role: z.ZodEnum<typeof import("..").BenefitRole>;
|
|
173
|
-
|
|
173
|
+
proofRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
174
174
|
evidence: z.ZodOptional<z.ZodString>;
|
|
175
|
+
claim: z.ZodString;
|
|
175
176
|
deliveredByFeatureRefs: z.ZodArray<z.ZodString>;
|
|
176
177
|
differentiation: z.ZodOptional<z.ZodString>;
|
|
177
178
|
relieves: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -191,7 +192,6 @@ export declare const CapabilityMapOutputSetGenerationSchema: z.ZodObject<{
|
|
|
191
192
|
weight: z.ZodNumber;
|
|
192
193
|
kanoCategory: z.ZodEnum<typeof import("..").BenefitKanoCategory>;
|
|
193
194
|
}, z.core.$strip>>>;
|
|
194
|
-
proofRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
195
195
|
addressesObjectionRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
196
196
|
}, z.core.$strict>>;
|
|
197
197
|
positionings: z.ZodArray<z.ZodObject<{
|
|
@@ -264,6 +264,11 @@ export declare const CapabilityMapOutputSetGenerationSchema: z.ZodObject<{
|
|
|
264
264
|
slug: z.ZodString;
|
|
265
265
|
} & {
|
|
266
266
|
statement: z.ZodString;
|
|
267
|
+
metric: z.ZodOptional<z.ZodObject<{
|
|
268
|
+
value: z.ZodNumber;
|
|
269
|
+
unit: z.ZodString;
|
|
270
|
+
period: z.ZodOptional<z.ZodString>;
|
|
271
|
+
}, z.core.$strip>>;
|
|
267
272
|
proofKind: z.ZodEnum<typeof import("..").ProofKind>;
|
|
268
273
|
attribution: z.ZodOptional<z.ZodObject<{
|
|
269
274
|
name: z.ZodString;
|
|
@@ -271,11 +276,6 @@ export declare const CapabilityMapOutputSetGenerationSchema: z.ZodObject<{
|
|
|
271
276
|
company: z.ZodOptional<z.ZodString>;
|
|
272
277
|
url: z.ZodOptional<z.ZodURL>;
|
|
273
278
|
}, z.core.$strip>>;
|
|
274
|
-
metric: z.ZodOptional<z.ZodObject<{
|
|
275
|
-
value: z.ZodNumber;
|
|
276
|
-
unit: z.ZodString;
|
|
277
|
-
period: z.ZodOptional<z.ZodString>;
|
|
278
|
-
}, z.core.$strip>>;
|
|
279
279
|
evidenceUrl: z.ZodOptional<z.ZodURL>;
|
|
280
280
|
supportsBenefitRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
281
281
|
supportsIcpRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -283,8 +283,8 @@ export declare const CapabilityMapOutputSetGenerationSchema: z.ZodObject<{
|
|
|
283
283
|
objections: z.ZodArray<z.ZodObject<{
|
|
284
284
|
slug: z.ZodString;
|
|
285
285
|
} & {
|
|
286
|
-
proofRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
287
286
|
statement: z.ZodString;
|
|
287
|
+
proofRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
288
288
|
objectionKind: z.ZodEnum<typeof import("..").ObjectionKind>;
|
|
289
289
|
raisedByIcpRefs: z.ZodArray<z.ZodString>;
|
|
290
290
|
raisedByPersonaRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature-drafts.family-aspects.d.ts","sourceRoot":"","sources":["../../../../../src/_core/feature-drafts/feature-drafts.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAI1E,eAAO,MAAM,6BAA6B,EAAE,wBAoB3C,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ApplicationSpecificationFamilySemanticSchemaRef } from '../../application-creation/application-specification-family-identity.application-creation.schemas.js';
|
|
2
|
+
import { FamilyAspectKind } from '../family-aspects.schemas.js';
|
|
3
|
+
import { FeatureSpecificationDraftArtifactSchema } from './feature-specification-drafts.schemas.js';
|
|
4
|
+
export const FEATURE_DRAFTS_FAMILY_ASPECTS = {
|
|
5
|
+
schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.FEATURE_SPECIFICATION_DRAFTS,
|
|
6
|
+
aspects: [
|
|
7
|
+
{
|
|
8
|
+
key: 'feature-drafts.draft',
|
|
9
|
+
snapshotPath: 'drafts',
|
|
10
|
+
kind: FamilyAspectKind.COLLECTION,
|
|
11
|
+
itemSchema: FeatureSpecificationDraftArtifactSchema,
|
|
12
|
+
businessKey: 'featureRef',
|
|
13
|
+
/*
|
|
14
|
+
* The PURPOSE, not the ref. `featureRef` is the business key and the only top-level string
|
|
15
|
+
* this item carries — the payload is authored ref-lessly under `draft` — so naming it here
|
|
16
|
+
* made a feature draft the one aspect whose headline was a machine slug: its popup header,
|
|
17
|
+
* and every reference to it from a benefit or a build task, read `feature-deal-owner` while
|
|
18
|
+
* every sibling aspect read a sentence.
|
|
19
|
+
*/
|
|
20
|
+
headlineField: 'draft.purpose',
|
|
21
|
+
edges: [],
|
|
22
|
+
},
|
|
23
|
+
],
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=feature-drafts.family-aspects.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature-drafts.family-aspects.js","sourceRoot":"","sources":["../../../../../src/_core/feature-drafts/feature-drafts.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+CAA+C,EAAE,MAAM,mGAAmG,CAAC;AAEpK,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,uCAAuC,EAAE,MAAM,wCAAwC,CAAC;AAEjG,MAAM,CAAC,MAAM,6BAA6B,GAA6B;IACrE,SAAS,EAAE,+CAA+C,CAAC,4BAA4B;IACvF,OAAO,EAAE;QACP;YACE,GAAG,EAAE,sBAAsB;YAC3B,YAAY,EAAE,QAAQ;YACtB,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,uCAAuC;YACnD,WAAW,EAAE,YAAY;YACzB;;;;;;eAMG;YACH,aAAa,EAAE,eAAe;YAC9B,KAAK,EAAE,EAAE;SACV;KACF;CACF,CAAC","sourcesContent":["import { ApplicationSpecificationFamilySemanticSchemaRef } from '../../application-creation/application-specification-family-identity.application-creation.schemas';\nimport type { FamilyAspectsDeclaration } from '../family-aspects.schemas';\nimport { FamilyAspectKind } from '../family-aspects.schemas';\nimport { FeatureSpecificationDraftArtifactSchema } from './feature-specification-drafts.schemas';\n\nexport const FEATURE_DRAFTS_FAMILY_ASPECTS: FamilyAspectsDeclaration = {\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.FEATURE_SPECIFICATION_DRAFTS,\n aspects: [\n {\n key: 'feature-drafts.draft',\n snapshotPath: 'drafts',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: FeatureSpecificationDraftArtifactSchema,\n businessKey: 'featureRef',\n /*\n * The PURPOSE, not the ref. `featureRef` is the business key and the only top-level string\n * this item carries — the payload is authored ref-lessly under `draft` — so naming it here\n * made a feature draft the one aspect whose headline was a machine slug: its popup header,\n * and every reference to it from a benefit or a build task, read `feature-deal-owner` while\n * every sibling aspect read a sentence.\n */\n headlineField: 'draft.purpose',\n edges: [],\n },\n ],\n};\n"]}
|
package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-specification-drafts-generation.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/feature-drafts/feature-specification-drafts-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"feature-specification-drafts-generation.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/feature-drafts/feature-specification-drafts-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAGL,KAAK,0BAA0B,EAChC,MAAM,wCAAwC,CAAC;AAYhD,eAAO,MAAM,yCAAyC;;;;;;;;;;;kBAGpD,CAAC;AAEH,6EAA6E;AAC7E,eAAO,MAAM,0CAA0C;;;;;;;;;;;;;kBAgBrD,CAAC;AACH,MAAM,MAAM,oCAAoC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0CAA0C,CAAC,CAAC;AAE9G,wBAAgB,yCAAyC,CAAC,KAAK,EAAE,OAAO,GAAG,0BAA0B,CASpG"}
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { applyFamilyRefPrefix } from '../utils/family-ref-stamping.js';
|
|
2
3
|
import { FeatureSpecificationDraftPayloadSchema, FeatureSpecificationDraftsSchema, } from './feature-specification-drafts.schemas.js';
|
|
3
4
|
const FeatureSlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);
|
|
5
|
+
/**
|
|
6
|
+
* The family prefix stamped onto every draft's `featureRef`.
|
|
7
|
+
*
|
|
8
|
+
* Lifted out of the template literal it used to be inlined in so the normalizer and the duplicate check
|
|
9
|
+
* cannot disagree about what the prefix is.
|
|
10
|
+
*/
|
|
11
|
+
const FEATURE_REF_PREFIX = 'feature-';
|
|
4
12
|
export const FeatureSpecificationDraftGenerationSchema = z.strictObject({
|
|
5
13
|
slug: FeatureSlugSchema,
|
|
6
14
|
draft: FeatureSpecificationDraftPayloadSchema,
|
|
@@ -9,13 +17,18 @@ export const FeatureSpecificationDraftGenerationSchema = z.strictObject({
|
|
|
9
17
|
export const FeatureSpecificationDraftsGenerationSchema = z.strictObject({
|
|
10
18
|
drafts: z.array(FeatureSpecificationDraftGenerationSchema).min(1),
|
|
11
19
|
}).superRefine((generated, context) => {
|
|
20
|
+
// Keyed on the STAMPED form, not on the authored slug, because `applyFamilyRefPrefix` is deliberately
|
|
21
|
+
// not injective: `locking` and `feature-locking` are two distinct slugs that both become
|
|
22
|
+
// `feature-locking`. Checking the slug would let that pair through and produce two drafts sharing one
|
|
23
|
+
// featureRef, which makes every capability-map edge naming it ambiguous.
|
|
12
24
|
const seen = new Set();
|
|
13
25
|
generated.drafts.forEach((entry, index) => {
|
|
14
|
-
|
|
15
|
-
|
|
26
|
+
const featureRef = applyFamilyRefPrefix(entry.slug, FEATURE_REF_PREFIX);
|
|
27
|
+
if (!seen.has(featureRef)) {
|
|
28
|
+
seen.add(featureRef);
|
|
16
29
|
return;
|
|
17
30
|
}
|
|
18
|
-
context.addIssue({ code: 'custom', path: ['drafts', index, 'slug'], message: `duplicate feature slug "${entry.slug}"` });
|
|
31
|
+
context.addIssue({ code: 'custom', path: ['drafts', index, 'slug'], message: `duplicate feature slug "${entry.slug}" (normalizes to "${featureRef}")` });
|
|
19
32
|
});
|
|
20
33
|
});
|
|
21
34
|
export function parseFeatureSpecificationDraftsGeneration(input) {
|
|
@@ -23,7 +36,7 @@ export function parseFeatureSpecificationDraftsGeneration(input) {
|
|
|
23
36
|
return FeatureSpecificationDraftsSchema.parse({
|
|
24
37
|
schemaVersion: 1,
|
|
25
38
|
drafts: generated.drafts.map(entry => ({
|
|
26
|
-
featureRef:
|
|
39
|
+
featureRef: applyFamilyRefPrefix(entry.slug, FEATURE_REF_PREFIX),
|
|
27
40
|
draft: entry.draft,
|
|
28
41
|
})),
|
|
29
42
|
});
|
package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-specification-drafts-generation.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/feature-drafts/feature-specification-drafts-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,sCAAsC,EACtC,gCAAgC,GAEjC,MAAM,wCAAwC,CAAC;AAEhD,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,4BAA4B,CAAC,CAAC;AAEzE,MAAM,CAAC,MAAM,yCAAyC,GAAG,CAAC,CAAC,YAAY,CAAC;IACtE,IAAI,EAAE,iBAAiB;IACvB,KAAK,EAAE,sCAAsC;CAC9C,CAAC,CAAC;AAEH,6EAA6E;AAC7E,MAAM,CAAC,MAAM,0CAA0C,GAAG,CAAC,CAAC,YAAY,CAAC;IACvE,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,yCAAyC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;CAClE,CAAC,CAAC,WAAW,CAAC,CAAC,SAAS,EAAE,OAAO,EAAE,EAAE;IACpC,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU,CAAC;IAC/B,SAAS,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE;QACxC,IAAI,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"feature-specification-drafts-generation.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/feature-drafts/feature-specification-drafts-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EACL,sCAAsC,EACtC,gCAAgC,GAEjC,MAAM,wCAAwC,CAAC;AAEhD,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,4BAA4B,CAAC,CAAC;AAEzE;;;;;GAKG;AACH,MAAM,kBAAkB,GAAG,UAAU,CAAC;AAEtC,MAAM,CAAC,MAAM,yCAAyC,GAAG,CAAC,CAAC,YAAY,CAAC;IACtE,IAAI,EAAE,iBAAiB;IACvB,KAAK,EAAE,sCAAsC;CAC9C,CAAC,CAAC;AAEH,6EAA6E;AAC7E,MAAM,CAAC,MAAM,0CAA0C,GAAG,CAAC,CAAC,YAAY,CAAC;IACvE,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,yCAAyC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;CAClE,CAAC,CAAC,WAAW,CAAC,CAAC,SAAS,EAAE,OAAO,EAAE,EAAE;IACpC,sGAAsG;IACtG,yFAAyF;IACzF,sGAAsG;IACtG,yEAAyE;IACzE,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU,CAAC;IAC/B,SAAS,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE;QACxC,MAAM,UAAU,GAAG,oBAAoB,CAAC,KAAK,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC;QACxE,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAC;YAC1B,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;YACrB,OAAO;QACT,CAAC;QACD,OAAO,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,2BAA2B,KAAK,CAAC,IAAI,qBAAqB,UAAU,IAAI,EAAE,CAAC,CAAC;IAC3J,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAGH,MAAM,UAAU,yCAAyC,CAAC,KAAc;IACtE,MAAM,SAAS,GAAG,0CAA0C,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAC1E,OAAO,gCAAgC,CAAC,KAAK,CAAC;QAC5C,aAAa,EAAE,CAAC;QAChB,MAAM,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;YACrC,UAAU,EAAE,oBAAoB,CAAC,KAAK,CAAC,IAAI,EAAE,kBAAkB,CAAC;YAChE,KAAK,EAAE,KAAK,CAAC,KAAK;SACnB,CAAC,CAAC;KACJ,CAAC,CAAC;AACL,CAAC","sourcesContent":["import { z } from 'zod';\n\nimport { applyFamilyRefPrefix } from '../utils/family-ref-stamping';\nimport {\n FeatureSpecificationDraftPayloadSchema,\n FeatureSpecificationDraftsSchema,\n type FeatureSpecificationDrafts,\n} from './feature-specification-drafts.schemas';\n\nconst FeatureSlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);\n\n/**\n * The family prefix stamped onto every draft's `featureRef`.\n *\n * Lifted out of the template literal it used to be inlined in so the normalizer and the duplicate check\n * cannot disagree about what the prefix is.\n */\nconst FEATURE_REF_PREFIX = 'feature-';\n\nexport const FeatureSpecificationDraftGenerationSchema = z.strictObject({\n slug: FeatureSlugSchema,\n draft: FeatureSpecificationDraftPayloadSchema,\n});\n\n/** Provider output; runner-owned `feature-<slug>` refs are stamped later. */\nexport const FeatureSpecificationDraftsGenerationSchema = z.strictObject({\n drafts: z.array(FeatureSpecificationDraftGenerationSchema).min(1),\n}).superRefine((generated, context) => {\n // Keyed on the STAMPED form, not on the authored slug, because `applyFamilyRefPrefix` is deliberately\n // not injective: `locking` and `feature-locking` are two distinct slugs that both become\n // `feature-locking`. Checking the slug would let that pair through and produce two drafts sharing one\n // featureRef, which makes every capability-map edge naming it ambiguous.\n const seen = new Set<string>();\n generated.drafts.forEach((entry, index) => {\n const featureRef = applyFamilyRefPrefix(entry.slug, FEATURE_REF_PREFIX);\n if (!seen.has(featureRef)) {\n seen.add(featureRef);\n return;\n }\n context.addIssue({ code: 'custom', path: ['drafts', index, 'slug'], message: `duplicate feature slug \"${entry.slug}\" (normalizes to \"${featureRef}\")` });\n });\n});\nexport type FeatureSpecificationDraftsGeneration = z.infer<typeof FeatureSpecificationDraftsGenerationSchema>;\n\nexport function parseFeatureSpecificationDraftsGeneration(input: unknown): FeatureSpecificationDrafts {\n const generated = FeatureSpecificationDraftsGenerationSchema.parse(input);\n return FeatureSpecificationDraftsSchema.parse({\n schemaVersion: 1,\n drafts: generated.drafts.map(entry => ({\n featureRef: applyFamilyRefPrefix(entry.slug, FEATURE_REF_PREFIX),\n draft: entry.draft,\n })),\n });\n}\n"]}
|
|
@@ -3,7 +3,18 @@ import type { TranslationSlotSpecificationMap } from './translation-slot-specifi
|
|
|
3
3
|
interface PublicCodeSymbolRef {
|
|
4
4
|
packageName: string;
|
|
5
5
|
exportName: string;
|
|
6
|
+
/**
|
|
7
|
+
* PUBLIC SUBPATH only — a subpath the owning package declares in
|
|
8
|
+
* `package.json#exports`, so `${packageName}/${importPath}` resolves. For a module
|
|
9
|
+
* that has no public door, author `filePathHint` instead (issue #150).
|
|
10
|
+
*/
|
|
6
11
|
importPath?: string;
|
|
12
|
+
/**
|
|
13
|
+
* MODULE LOCATION inside the owning package — a navigation aid, never concatenated
|
|
14
|
+
* onto `packageName`. See `CodeSymbolRef` in `@wildo-ai/zod-decorators` for the
|
|
15
|
+
* canonical contract this narrows.
|
|
16
|
+
*/
|
|
17
|
+
filePathHint?: string;
|
|
7
18
|
}
|
|
8
19
|
interface FlowsActorsViewDefinitionSpecRef {
|
|
9
20
|
ref: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flows-actors-view-specification.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/flows-actors-view-specification.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,0CAA0C,CAAC;AAEhG,UAAU,mBAAmB;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"flows-actors-view-specification.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/flows-actors-view-specification.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,0CAA0C,CAAC;AAEhG,UAAU,mBAAmB;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,UAAU,gCAAgC;IACxC,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,wCAAwC;IACvD,oEAAoE;IACpE,eAAe,CAAC,EAAE,qBAAqB,CAAC;IACxC,2EAA2E;IAC3E,kBAAkB,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAC3C,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,MAAM,WAAW,kCAAkC;IACjD,qCAAqC;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,gFAAgF;IAChF,OAAO,EAAE,MAAM,CAAC;IAChB,iEAAiE;IACjE,MAAM,EAAE,MAAM,C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