@wildo-ai/saas-specifications 1.1.9 → 1.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts +5 -4
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js +5 -4
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/index.js +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -1
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +11 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -1
- package/dist/esm/_core/application-specification-family-identity.schemas.js +11 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-choice.d.ts +72 -10
- package/dist/esm/_core/brand/brand-name-choice.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-choice.js +144 -24
- package/dist/esm/_core/brand/brand-name-choice.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts +41 -1
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js +19 -3
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.d.ts +7 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.js +24 -3
- package/dist/esm/_core/brand/brand-name-screening-validation.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-view.d.ts +61 -9
- package/dist/esm/_core/brand/brand-name-screening-view.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-view.js +42 -1
- package/dist/esm/_core/brand/brand-name-screening-view.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts +130 -2
- package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening.schemas.js +165 -3
- package/dist/esm/_core/brand/brand-name-screening.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts +25 -7
- package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-visual-tone.schemas.js +26 -8
- package/dist/esm/_core/brand/brand-visual-tone.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +76 -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-validation.d.ts +7 -2
- 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 +21 -3
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +411 -13
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +281 -8
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts +4 -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 +3 -0
- 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 +6 -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 +20 -0
- 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-lite-snapshot.schemas.d.ts +1 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +1 -0
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js +7 -0
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +4 -3
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js +4 -3
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts +265 -0
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js +371 -0
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +55 -5
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +66 -2
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts +42 -2
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js +174 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +4 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js +10 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts +102 -10
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js +128 -25
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts +28 -0
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.js +36 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts +15 -0
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js +15 -0
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts +21 -10
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js +130 -14
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js.map +1 -1
- package/dist/esm/_core/data-seed-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/data-seed-specification.schemas.js +5 -1
- package/dist/esm/_core/data-seed-specification.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts +32 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js +41 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts +33 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js +134 -9
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts +117 -0
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js +118 -0
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +1 -0
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +22 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts +17 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js +21 -5
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts +7 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.js +39 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js +31 -5
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +81 -9
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js +88 -7
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +13 -6
- 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 +13 -6
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
- package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.registry.js +2 -0
- package/dist/esm/_core/family-aspects.registry.js.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts +24 -0
- package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.js +20 -0
- package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +6 -6
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +2 -2
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
- package/dist/esm/_core/index.d.ts +6 -0
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js +6 -0
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +1 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +2 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +26 -2
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js +21 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-references.schemas.d.ts +7 -0
- package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-references.schemas.js +13 -1
- package/dist/esm/_core/market/market-references.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +18 -12
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js +46 -17
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.js +4 -1
- package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +15 -3
- 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 +6 -3
- 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 +12 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.js +56 -3
- 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.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +9 -0
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +83 -0
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js +102 -2
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +3 -2
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.js +8 -2
- package/dist/esm/_core/requirements/functional-requirement.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts +1 -0
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.js +2 -0
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-pain-coverage.d.ts +41 -0
- package/dist/esm/_core/requirements/requirements-pain-coverage.d.ts.map +1 -0
- package/dist/esm/_core/requirements/requirements-pain-coverage.js +63 -0
- package/dist/esm/_core/requirements/requirements-pain-coverage.js.map +1 -0
- package/dist/esm/_core/requirements/requirements-references.schemas.d.ts +1 -1
- package/dist/esm/_core/requirements/requirements-references.schemas.js +1 -1
- package/dist/esm/_core/requirements/requirements-references.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts +16 -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 +12 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts +13 -2
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.js +32 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +65 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.js +53 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.js +2 -0
- package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.d.ts +56 -15
- package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.js +73 -13
- package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts +1 -16
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.js +3 -17
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts +2 -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 +2 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts +1 -1
- package/dist/esm/_core/service-method/service-method-derivation.d.ts +155 -0
- package/dist/esm/_core/service-method/service-method-derivation.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method-derivation.js +410 -0
- package/dist/esm/_core/service-method/service-method-derivation.js.map +1 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts +86 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.js +28 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.js.map +1 -0
- package/dist/esm/_core/service-method/service-method-validation.d.ts +35 -0
- package/dist/esm/_core/service-method/service-method-validation.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method-validation.js +75 -0
- package/dist/esm/_core/service-method/service-method-validation.js.map +1 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.d.ts +3 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.js +59 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.js.map +1 -0
- package/dist/esm/_core/service-method/service-method.schemas.d.ts +385 -0
- package/dist/esm/_core/service-method/service-method.schemas.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method.schemas.js +372 -0
- package/dist/esm/_core/service-method/service-method.schemas.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts +37 -5
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js +34 -6
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts +29 -3
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-validation.js +97 -5
- package/dist/esm/_core/website-plan/website-plan-validation.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js +6 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +521 -15
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.schemas.js +703 -23
- package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -1
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts +78 -0
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js +92 -0
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +26 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +14 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +21 -5
- 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 +22 -4
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts +119 -10
- package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-line.application-creation.schemas.js +140 -7
- package/dist/esm/application-creation/application-line.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts +7 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts.map +1 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.js +7 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.js.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +4 -2
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.js +4 -2
- package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +103 -15
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +151 -21
- 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 +1 -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 +1 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation.exports.d.ts +7 -0
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.js +7 -0
- package/dist/esm/application-creation.exports.js.map +1 -1
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts +36 -2
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -1
- package/dist/esm/assurance/application-risk-signals.derivations.js +52 -4
- package/dist/esm/assurance/application-risk-signals.derivations.js.map +1 -1
- package/dist/esm/assurance/assurance-assessment-twins.d.ts +38 -0
- package/dist/esm/assurance/assurance-assessment-twins.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-assessment-twins.js +36 -0
- package/dist/esm/assurance/assurance-assessment-twins.js.map +1 -0
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +608 -9
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +2962 -1078
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +15 -0
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.js +1 -0
- package/dist/esm/assurance/assurance-authority-basis.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts +2 -0
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.js +138 -19
- package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts +65 -0
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.js +13 -0
- package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts +81 -6
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js +68 -7
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +1631 -70
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts +77 -0
- package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-host-implementation-artifacts.js +51 -0
- package/dist/esm/assurance/assurance-host-implementation-artifacts.js.map +1 -0
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +3 -2
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js +327 -3
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts +12 -0
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.js +19 -0
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.js.map +1 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts +403 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js +825 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js.map +1 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +83 -8
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.js +167 -20
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.d.ts +234 -35
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +255 -14
- package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts +2 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.js +259 -18
- package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts +17 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js +216 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js.map +1 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts +110 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.js +111 -1
- package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +356 -5
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/governed-document-audience.derivations.d.ts +83 -0
- package/dist/esm/assurance/governed-document-audience.derivations.d.ts.map +1 -0
- package/dist/esm/assurance/governed-document-audience.derivations.js +97 -0
- package/dist/esm/assurance/governed-document-audience.derivations.js.map +1 -0
- package/dist/esm/assurance/governed-document-release.d.ts +15 -1
- package/dist/esm/assurance/governed-document-release.d.ts.map +1 -1
- package/dist/esm/assurance/governed-document-release.js +3 -1
- package/dist/esm/assurance/governed-document-release.js.map +1 -1
- package/dist/esm/assurance.exports.d.ts +4 -0
- package/dist/esm/assurance.exports.d.ts.map +1 -1
- package/dist/esm/assurance.exports.js +4 -0
- package/dist/esm/assurance.exports.js.map +1 -1
- package/dist/esm/companion-exports.d.ts +9 -1
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts +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 +33 -5
- 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 +9 -12
- 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 +1 -1
- 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 +60 -6
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +4 -4
- 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 +1 -0
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.js +2 -2
- package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +12 -4
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +46 -10
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts +3 -2
- 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 +15 -4
- 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 +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 +40 -11
- 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 +1 -1
- 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 +44 -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 +7 -3
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +40 -8
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts +14 -8
- 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 +72 -19
- 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 +2 -2
- 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 +6 -6
- 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 +1 -0
- 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 +14 -13
- 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 +2 -2
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js.map +1 -1
- 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 +68 -12
- 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.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +75 -19
- 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 +3 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +11 -7
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts +2 -0
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +2 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts +4 -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 +8 -7
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js +6 -6
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +2 -2
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +1 -1
- 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 +4 -0
- 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 +4 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +9 -5
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +16 -8
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts +73 -0
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js +192 -0
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +5 -3
- 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 +19 -13
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts +11 -6
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js +14 -3
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts +37 -0
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js +161 -0
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js +1 -1
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.js +55 -11
- package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.js +300 -5
- package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
- package/dist/esm/engine/features/core-limits.feature.specifications.d.ts +10 -4
- package/dist/esm/engine/features/core-limits.feature.specifications.d.ts.map +1 -1
- package/dist/esm/engine/features/core-limits.feature.specifications.js +100 -5
- package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
- package/dist/esm/engine/features/custom-branding.feature.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/custom-branding.feature.specification.js +7 -3
- package/dist/esm/engine/features/custom-branding.feature.specification.js.map +1 -1
- package/dist/esm/engine/features/index.d.ts +4 -2
- package/dist/esm/engine/features/index.d.ts.map +1 -1
- package/dist/esm/engine/features/index.js +6 -4
- package/dist/esm/engine/features/index.js.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.js +2 -2
- 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 +34 -15
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts +4 -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 +24 -3
- 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.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +31 -3
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +6 -6
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts +30 -0
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js +181 -0
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js +110 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js +286 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js +147 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js +71 -26
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js +92 -0
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts +46 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js +196 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +73 -31
- 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 +118 -18
- 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 -0
- 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 +9 -4
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js +184 -0
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js +17 -5
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js +47 -7
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js +118 -0
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js +230 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js +151 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts +23 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js +124 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js +114 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +45 -3
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js +6 -0
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js +78 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.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 +2 -1
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js +7 -0
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js +6 -6
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js +24 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js +6 -6
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js +128 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js +139 -0
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js +5 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/index.d.ts +7 -0
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js +29 -0
- package/dist/esm/engine/frontend-components/index.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js +3 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js +27 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js +3 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts +24 -0
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js +136 -0
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js.map +1 -0
- 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 +6 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.js +110 -0
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js +10 -4
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js +20 -2
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js +6 -6
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +5 -5
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.d.ts +10 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js +118 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js +54 -8
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.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 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js +33 -5
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +21 -4
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +3 -3
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.d.ts +10 -0
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js +159 -0
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts +5 -5
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +38 -10
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js +100 -0
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts +37 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js +181 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts +3 -3
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js +7 -7
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts +31 -1
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js +33 -7
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts +16 -14
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js +56 -53
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts +6 -2
- 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 -4
- 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 +2 -2
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts +2 -0
- 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 +3 -3
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts +1 -0
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js +43 -2
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/index.d.ts +0 -1
- package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/index.js +1 -3
- package/dist/esm/engine/notifications/system-emails/index.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js +25 -15
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js +13 -13
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/index.d.ts +1 -2
- package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/index.js +1 -2
- package/dist/esm/engine/organizations/resources/index.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +5 -4
- 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 +114 -51
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts +11 -10
- 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 +10 -7
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/{service-provider-relationships.resource.specification.d.ts → organization-relationships.resource.specification.d.ts} +73 -56
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js +643 -0
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js.map +1 -0
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts +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 +6 -4
- 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.js +2 -2
- 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 +4 -4
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +93 -43
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts +39 -0
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js +140 -0
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js.map +1 -0
- package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.js +8 -5
- package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/google-drive.provider.specification.d.ts +6 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.js +39 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/index.d.ts +2 -0
- package/dist/esm/engine/providers/index.d.ts.map +1 -1
- package/dist/esm/engine/providers/index.js +5 -1
- package/dist/esm/engine/providers/index.js.map +1 -1
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts +6 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js +39 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/mistral.provider.specification.js +2 -2
- package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.js +8 -6
- package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js +1 -1
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/index.d.ts +2 -2
- package/dist/esm/engine/roles/index.d.ts.map +1 -1
- package/dist/esm/engine/roles/index.js +5 -5
- package/dist/esm/engine/roles/index.js.map +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js +24 -24
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/org-representative.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/org-representative.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/org-representative.role.specification.js +22 -0
- package/dist/esm/engine/roles/org-representative.role.specification.js.map +1 -0
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts +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 +7 -5
- 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 +3 -3
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +3 -3
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +3 -3
- 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 +13 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +1 -0
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +2 -0
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +4 -0
- 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 +3 -3
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +4 -0
- 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 +6 -2
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts +1 -0
- 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 +33 -0
- 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 +2 -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 +10 -4
- package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +17 -15
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
- package/package.json +8 -8
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts +0 -6
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts.map +0 -1
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js +0 -146
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts +0 -38
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js +0 -152
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js +0 -417
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js.map +0 -1
- package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts +0 -2
- package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts.map +0 -1
- package/dist/esm/engine/roles/org-service-provider.role.specification.js +0 -22
- package/dist/esm/engine/roles/org-service-provider.role.specification.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"market.family-aspects.js","sourceRoot":"","sources":["../../../../../src/_core/market/market.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+CAA+C,EAAE,MAAM,sDAAsD,CAAC;AAEvH,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,6BAA6B,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,6BAA6B,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,+BAA+B,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC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,EAAE,iCAAiC;YAC7C,WAAW,EAAE,KAAK;YAClB,aAAa,EAAE,MAAM;YACrB,aAAa,EAAE,CAAC,2BAA2B,CAAC,KAAK,CAAC;YAClD,KAAK,EAAE;gBACL,EAAE,KAAK,EAAE,mBAAmB,EAAE,aAAa,EAAE,CAAC,sBAAsB,CAAC,EAAE;aACxE;SACF;KACF;CACF,CAAC","sourcesContent":["import { ApplicationSpecificationFamilySemanticSchemaRef } from \"../application-specification-family-identity.schemas\";\nimport type { FamilyAspectsDeclaration } from '../family-aspects.schemas';\nimport { FamilyAspectKind } from '../family-aspects.schemas';\nimport { MetaWorkflow_ArtifactIntent } from '@wildo-ai/saas-models/meta-workflows';\nimport { MarketCategoryConfigSchema } from './market-category.schemas';\nimport { MarketICPConfigSchema } from './market-icp.schemas';\nimport { MarketPersonaConfigSchema } from './market-persona.schemas';\nimport { MarketJobConfigSchema } from './market-job.schemas';\nimport { MarketPainConfigSchema } from './market-pain.schemas';\nimport { MarketGainConfigSchema } from './market-gain.schemas';\nimport { ToneOfVoiceConfigSchema } from './market-tone-of-voice.schemas';\nimport { FeatureBenefitConfigSchema } from './feature-benefit.schemas';\nimport { MarketPositioningConfigSchema } from './market-positioning.schemas';\nimport { MarketChannelConfigSchema } from './market-channel.schemas';\nimport { MarketAlternativeConfigSchema } from './market-alternative.schemas';\nimport { MarketTriggerConfigSchema } from './market-trigger.schemas';\nimport { MarketBuyingJourneyConfigSchema } from './market-buying-journey.schemas';\nimport { MarketProofConfigSchema } from './market-proof.schemas';\nimport { MarketObjectionConfigSchema } from './market-objection.schemas';\nimport { MarketMessageTemplateConfigSchema } from './market-message-template.schemas';\n\n/**\n * The market family's aspects — the largest declaration, and the graph's hub: most cross-family\n * edges land HERE (requirements serve ICPs and jobs, plans target ICPs, positionings speak to\n * ICPs in a tone). Edge fields below are TRANSCRIBED from the entry schemas, not remembered —\n * the drift pin in `__tests__/family-aspects.registry.test.ts` holds them to that.\n */\nexport const MARKET_FAMILY_ASPECTS: FamilyAspectsDeclaration = {\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.MARKET_SNAPSHOT,\n aspects: [\n {\n key: 'market.category',\n snapshotPath: 'category',\n kind: FamilyAspectKind.SINGLETON,\n itemSchema: MarketCategoryConfigSchema,\n headlineField: 'name',\n // Category and ICPs ride in every intent on purpose: an audience without its category is unreadable,\n // and a benefit or a tone with no segment to attach to is an assertion about nobody.\n servesIntents: [MetaWorkflow_ArtifactIntent.AUDIENCE, MetaWorkflow_ArtifactIntent.VALUE, MetaWorkflow_ArtifactIntent.VOICE],\n edges: [],\n nonEdgeRefFields: { ref: 'the category names itself; nothing references it by key yet' },\n },\n {\n key: 'market.icp',\n snapshotPath: 'icps',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketICPConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n servesIntents: [MetaWorkflow_ArtifactIntent.AUDIENCE, MetaWorkflow_ArtifactIntent.VALUE, MetaWorkflow_ArtifactIntent.VOICE],\n edges: [\n /*\n * An ICP's influences name OTHER ICPs — a self-edge, and one that was carried in the data and\n * invisible to the registry until #1427 walked one level down. It is what makes a buying\n * group legible: the economic buyer an end user influences is the reason both are on record.\n */\n { field: 'influences', throughField: 'icpRef', targetAspects: ['market.icp'] },\n { field: 'buyingGroup', throughField: 'personaRef', targetAspects: ['market.persona'] },\n { field: 'jobs', throughField: 'jobRef', targetAspects: ['market.job'] },\n { field: 'pains', throughField: 'painRef', targetAspects: ['market.pain'] },\n { field: 'gains', throughField: 'gainRef', targetAspects: ['market.gain'] },\n { field: 'channelRefs', targetAspects: ['market.channel'] },\n { field: 'triggerRefs', targetAspects: ['market.trigger'] },\n { field: 'alternativeRefs', targetAspects: ['market.alternative'] },\n { field: 'proofRefs', targetAspects: ['market.proof'] },\n { field: 'objectionRefs', targetAspects: ['market.objection'] },\n { field: 'preferredVoiceRef', targetAspects: ['market.tone-of-voice'] },\n ],\n nonEdgeRefFields: {\n recommendedProductRefs:\n 'ProductSpecification refs — the runtime product catalog, not a family aspect; becomes an edge when products join the registry',\n upsellPathProductRefs:\n 'ProductSpecification refs, same catalog and same future as recommendedProductRefs',\n },\n },\n {\n key: 'market.persona',\n snapshotPath: 'personas',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketPersonaConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n servesIntents: [MetaWorkflow_ArtifactIntent.AUDIENCE],\n edges: [\n { field: 'belongsToIcpRefs', targetAspects: ['market.icp'] },\n { field: 'jobs', throughField: 'jobRef', targetAspects: ['market.job'] },\n { field: 'pains', throughField: 'painRef', targetAspects: ['market.pain'] },\n { field: 'gains', throughField: 'gainRef', targetAspects: ['market.gain'] },\n { field: 'channelRefs', targetAspects: ['market.channel'] },\n { field: 'preferredVoiceRef', targetAspects: ['market.tone-of-voice'] },\n ],\n },\n {\n key: 'market.job',\n snapshotPath: 'jobs',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketJobConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n // VALUE as well as AUDIENCE (#1429): `requirements-definition` reads VALUE and must emit `jobRefs` on\n // every requirement. Without the jobs the model saw only bare ref strings; a job is what a benefit advances.\n servesIntents: [MetaWorkflow_ArtifactIntent.AUDIENCE, MetaWorkflow_ArtifactIntent.VALUE],\n edges: [],\n nonEdgeRefFields: {\n successCriteria: 'prose criteria of the job itself, not vision success-criterion keys',\n },\n },\n {\n key: 'market.pain',\n snapshotPath: 'pains',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketPainConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n servesIntents: [MetaWorkflow_ArtifactIntent.VALUE],\n edges: [],\n },\n {\n key: 'market.gain',\n snapshotPath: 'gains',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketGainConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n servesIntents: [MetaWorkflow_ArtifactIntent.VALUE],\n edges: [],\n },\n {\n key: 'market.tone-of-voice',\n snapshotPath: 'tonesOfVoice',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: ToneOfVoiceConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n servesIntents: [MetaWorkflow_ArtifactIntent.VOICE],\n edges: [],\n },\n {\n key: 'market.benefit',\n snapshotPath: 'benefits',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: FeatureBenefitConfigSchema,\n businessKey: 'ref',\n headlineField: 'claim',\n // `bottom_up.domain-plan` reads VALUE because its method calls the market's BENEFITS load-bearing (#1428).\n servesIntents: [MetaWorkflow_ArtifactIntent.VALUE],\n edges: [\n { field: 'deliveredByFeatureRefs', targetAspects: ['feature-drafts.draft'] },\n { field: 'relieves', throughField: 'painRef', targetAspects: ['market.pain'] },\n { field: 'creates', throughField: 'gainRef', targetAspects: ['market.gain'] },\n { field: 'advances', throughField: 'jobRef', targetAspects: ['market.job'] },\n { field: 'importanceByICP', throughField: 'icpRef', targetAspects: ['market.icp'] },\n { field: 'proofRefs', targetAspects: ['market.proof'] },\n { field: 'addressesObjectionRefs', targetAspects: ['market.objection'] },\n ],\n },\n {\n key: 'market.positioning',\n snapshotPath: 'positionings',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketPositioningConfigSchema,\n businessKey: 'ref',\n headlineField: 'oneSentence',\n servesIntents: [MetaWorkflow_ArtifactIntent.VOICE],\n edges: [\n { field: 'icpRef', targetAspects: ['market.icp'] },\n { field: 'preferredVoiceRef', targetAspects: ['market.tone-of-voice'] },\n { field: 'valuePillars', throughField: 'backedByBenefitRefs', targetAspects: ['market.benefit'] },\n { field: 'alternativesContrasted', throughField: 'alternativeRef', targetAspects: ['market.alternative'] },\n ],\n },\n {\n key: 'market.channel',\n snapshotPath: 'channels',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketChannelConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n edges: [],\n },\n {\n key: 'market.alternative',\n snapshotPath: 'alternatives',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketAlternativeConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n edges: [],\n },\n {\n key: 'market.trigger',\n snapshotPath: 'triggers',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketTriggerConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n edges: [\n { field: 'affectedIcpRefs', targetAspects: ['market.icp'] },\n { field: 'recommendedChannelRefs', targetAspects: ['market.channel'] },\n ],\n },\n {\n key: 'market.buying-journey',\n snapshotPath: 'buyingJourneys',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketBuyingJourneyConfigSchema,\n businessKey: 'ref',\n headlineField: 'icpRef',\n edges: [\n { field: 'icpRef', targetAspects: ['market.icp'] },\n ],\n },\n {\n key: 'market.proof',\n snapshotPath: 'proofs',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketProofConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n servesIntents: [MetaWorkflow_ArtifactIntent.VOICE],\n edges: [\n { field: 'supportsBenefitRefs', targetAspects: ['market.benefit'] },\n { field: 'supportsIcpRefs', targetAspects: ['market.icp'] },\n ],\n },\n {\n key: 'market.objection',\n snapshotPath: 'objections',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketObjectionConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n servesIntents: [MetaWorkflow_ArtifactIntent.VOICE],\n edges: [\n { field: 'raisedByIcpRefs', targetAspects: ['market.icp'] },\n { field: 'raisedByPersonaRefs', targetAspects: ['market.persona'] },\n { field: 'proofRefs', targetAspects: ['market.proof'] },\n { field: 'relatedBenefitRefs', targetAspects: ['market.benefit'] },\n ],\n },\n {\n key: 'market.message-template',\n snapshotPath: 'messageTemplates',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketMessageTemplateConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n servesIntents: [MetaWorkflow_ArtifactIntent.VOICE],\n edges: [\n { field: 'preferredVoiceRef', targetAspects: ['market.tone-of-voice'] },\n ],\n },\n ],\n};\n"]}
|
|
1
|
+
{"version":3,"file":"market.family-aspects.js","sourceRoot":"","sources":["../../../../../src/_core/market/market.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+CAA+C,EAAE,MAAM,sDAAsD,CAAC;AAEvH,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,6BAA6B,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,6BAA6B,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,+BAA+B,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,EAAE,iCAAiC,EAAE,MAAM,mCAAmC,CAAC;AAEtF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAA6B;IAC7D,SAAS,EAAE,+CAA+C,CA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AK,EAAE;gBACL,EAAE,KAAK,EAAE,mBAAmB,EAAE,aAAa,EAAE,CAAC,sBAAsB,CAAC,EAAE;aACxE;SACF;KACF;CACF,CAAC","sourcesContent":["import { ApplicationSpecificationFamilySemanticSchemaRef } from \"../application-specification-family-identity.schemas\";\nimport type { FamilyAspectsDeclaration } from '../family-aspects.schemas';\nimport { FamilyAspectKind } from '../family-aspects.schemas';\nimport { MetaWorkflow_ArtifactIntent } from '@wildo-ai/saas-models/meta-workflows';\nimport { MarketCategoryConfigSchema } from './market-category.schemas';\nimport { MarketICPConfigSchema } from './market-icp.schemas';\nimport { MarketPersonaConfigSchema } from './market-persona.schemas';\nimport { MarketJobConfigSchema } from './market-job.schemas';\nimport { MarketPainConfigSchema } from './market-pain.schemas';\nimport { MarketGainConfigSchema } from './market-gain.schemas';\nimport { ToneOfVoiceConfigSchema } from './market-tone-of-voice.schemas';\nimport { FeatureBenefitConfigSchema } from './feature-benefit.schemas';\nimport { MarketPositioningConfigSchema } from './market-positioning.schemas';\nimport { MarketChannelConfigSchema } from './market-channel.schemas';\nimport { MarketAlternativeConfigSchema } from './market-alternative.schemas';\nimport { MarketTriggerConfigSchema } from './market-trigger.schemas';\nimport { MarketBuyingJourneyConfigSchema } from './market-buying-journey.schemas';\nimport { MarketProofConfigSchema } from './market-proof.schemas';\nimport { MarketObjectionConfigSchema } from './market-objection.schemas';\nimport { MarketMessageTemplateConfigSchema } from './market-message-template.schemas';\n\n/**\n * The market family's aspects — the largest declaration, and the graph's hub: most cross-family\n * edges land HERE (requirements serve ICPs and jobs, plans target ICPs, positionings speak to\n * ICPs in a tone). Edge fields below are TRANSCRIBED from the entry schemas, not remembered —\n * the drift pin in `__tests__/family-aspects.registry.test.ts` holds them to that.\n */\nexport const MARKET_FAMILY_ASPECTS: FamilyAspectsDeclaration = {\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.MARKET_SNAPSHOT,\n aspects: [\n {\n key: 'market.category',\n snapshotPath: 'category',\n kind: FamilyAspectKind.SINGLETON,\n itemSchema: MarketCategoryConfigSchema,\n headlineField: 'name',\n // Category and ICPs ride in every intent on purpose: an audience without its category is unreadable,\n // and a benefit or a tone with no segment to attach to is an assertion about nobody.\n servesIntents: [MetaWorkflow_ArtifactIntent.AUDIENCE, MetaWorkflow_ArtifactIntent.VALUE, MetaWorkflow_ArtifactIntent.VOICE],\n edges: [],\n nonEdgeRefFields: { ref: 'the category names itself; nothing references it by key yet' },\n },\n {\n key: 'market.icp',\n snapshotPath: 'icps',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketICPConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n servesIntents: [MetaWorkflow_ArtifactIntent.AUDIENCE, MetaWorkflow_ArtifactIntent.VALUE, MetaWorkflow_ArtifactIntent.VOICE],\n edges: [\n /*\n * An ICP's influences name OTHER ICPs — a self-edge, and one that was carried in the data and\n * invisible to the registry until #1427 walked one level down. It is what makes a buying\n * group legible: the economic buyer an end user influences is the reason both are on record.\n */\n { field: 'influences', throughField: 'icpRef', targetAspects: ['market.icp'] },\n { field: 'buyingGroup', throughField: 'personaRef', targetAspects: ['market.persona'] },\n { field: 'jobs', throughField: 'jobRef', targetAspects: ['market.job'] },\n { field: 'pains', throughField: 'painRef', targetAspects: ['market.pain'] },\n { field: 'gains', throughField: 'gainRef', targetAspects: ['market.gain'] },\n { field: 'channelRefs', targetAspects: ['market.channel'] },\n { field: 'triggerRefs', targetAspects: ['market.trigger'] },\n { field: 'alternativeRefs', targetAspects: ['market.alternative'] },\n { field: 'proofRefs', targetAspects: ['market.proof'] },\n { field: 'objectionRefs', targetAspects: ['market.objection'] },\n { field: 'preferredVoiceRef', targetAspects: ['market.tone-of-voice'] },\n ],\n nonEdgeRefFields: {\n recommendedProductRefs:\n 'ProductSpecification refs — the runtime product catalog, not a family aspect; becomes an edge when products join the registry',\n upsellPathProductRefs:\n 'ProductSpecification refs, same catalog and same future as recommendedProductRefs',\n },\n },\n {\n key: 'market.persona',\n snapshotPath: 'personas',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketPersonaConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n // VALUE as well as AUDIENCE (#2500), like `market.job` (#1429): `requirements-definition` reads VALUE and owes every\n // high-severity pain a persona feels a relieving requirement or an exclusion. Without the personas the model saw a\n // bare `ref — label` map: no pain edges, no severities, so a persona-only pain could not be answered.\n servesIntents: [MetaWorkflow_ArtifactIntent.AUDIENCE, MetaWorkflow_ArtifactIntent.VALUE],\n edges: [\n { field: 'belongsToIcpRefs', targetAspects: ['market.icp'] },\n { field: 'jobs', throughField: 'jobRef', targetAspects: ['market.job'] },\n { field: 'pains', throughField: 'painRef', targetAspects: ['market.pain'] },\n { field: 'gains', throughField: 'gainRef', targetAspects: ['market.gain'] },\n { field: 'channelRefs', targetAspects: ['market.channel'] },\n { field: 'preferredVoiceRef', targetAspects: ['market.tone-of-voice'] },\n ],\n },\n {\n key: 'market.job',\n snapshotPath: 'jobs',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketJobConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n // VALUE as well as AUDIENCE (#1429): `requirements-definition` reads VALUE and must emit `jobRefs` on\n // every requirement. Without the jobs the model saw only bare ref strings; a job is what a benefit advances.\n servesIntents: [MetaWorkflow_ArtifactIntent.AUDIENCE, MetaWorkflow_ArtifactIntent.VALUE],\n edges: [],\n nonEdgeRefFields: {\n successCriteria: 'prose criteria of the job itself, not vision success-criterion keys',\n },\n },\n {\n key: 'market.pain',\n snapshotPath: 'pains',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketPainConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n servesIntents: [MetaWorkflow_ArtifactIntent.VALUE],\n edges: [],\n },\n {\n key: 'market.gain',\n snapshotPath: 'gains',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketGainConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n servesIntents: [MetaWorkflow_ArtifactIntent.VALUE],\n edges: [],\n },\n {\n key: 'market.tone-of-voice',\n snapshotPath: 'tonesOfVoice',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: ToneOfVoiceConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n servesIntents: [MetaWorkflow_ArtifactIntent.VOICE],\n edges: [],\n },\n {\n key: 'market.benefit',\n snapshotPath: 'benefits',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: FeatureBenefitConfigSchema,\n businessKey: 'ref',\n headlineField: 'claim',\n // `bottom_up.domain-plan` reads VALUE because its method calls the market's BENEFITS load-bearing (#1428).\n servesIntents: [MetaWorkflow_ArtifactIntent.VALUE],\n edges: [\n { field: 'deliveredByFeatureRefs', targetAspects: ['feature-drafts.draft'] },\n { field: 'relieves', throughField: 'painRef', targetAspects: ['market.pain'] },\n { field: 'creates', throughField: 'gainRef', targetAspects: ['market.gain'] },\n { field: 'advances', throughField: 'jobRef', targetAspects: ['market.job'] },\n { field: 'importanceByICP', throughField: 'icpRef', targetAspects: ['market.icp'] },\n { field: 'proofRefs', targetAspects: ['market.proof'] },\n { field: 'addressesObjectionRefs', targetAspects: ['market.objection'] },\n ],\n },\n {\n key: 'market.positioning',\n snapshotPath: 'positionings',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketPositioningConfigSchema,\n businessKey: 'ref',\n headlineField: 'oneSentence',\n servesIntents: [MetaWorkflow_ArtifactIntent.VOICE],\n edges: [\n { field: 'icpRef', targetAspects: ['market.icp'] },\n { field: 'preferredVoiceRef', targetAspects: ['market.tone-of-voice'] },\n { field: 'valuePillars', throughField: 'backedByBenefitRefs', targetAspects: ['market.benefit'] },\n { field: 'alternativesContrasted', throughField: 'alternativeRef', targetAspects: ['market.alternative'] },\n ],\n },\n {\n key: 'market.channel',\n snapshotPath: 'channels',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketChannelConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n edges: [],\n },\n {\n key: 'market.alternative',\n snapshotPath: 'alternatives',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketAlternativeConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n edges: [],\n },\n {\n key: 'market.trigger',\n snapshotPath: 'triggers',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketTriggerConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n edges: [\n { field: 'affectedIcpRefs', targetAspects: ['market.icp'] },\n { field: 'recommendedChannelRefs', targetAspects: ['market.channel'] },\n ],\n },\n {\n key: 'market.buying-journey',\n snapshotPath: 'buyingJourneys',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketBuyingJourneyConfigSchema,\n businessKey: 'ref',\n headlineField: 'icpRef',\n edges: [\n { field: 'icpRef', targetAspects: ['market.icp'] },\n ],\n },\n {\n key: 'market.proof',\n snapshotPath: 'proofs',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketProofConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n servesIntents: [MetaWorkflow_ArtifactIntent.VOICE],\n edges: [\n { field: 'supportsBenefitRefs', targetAspects: ['market.benefit'] },\n { field: 'supportsIcpRefs', targetAspects: ['market.icp'] },\n ],\n },\n {\n key: 'market.objection',\n snapshotPath: 'objections',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketObjectionConfigSchema,\n businessKey: 'ref',\n headlineField: 'statement',\n servesIntents: [MetaWorkflow_ArtifactIntent.VOICE],\n edges: [\n { field: 'raisedByIcpRefs', targetAspects: ['market.icp'] },\n { field: 'raisedByPersonaRefs', targetAspects: ['market.persona'] },\n { field: 'proofRefs', targetAspects: ['market.proof'] },\n { field: 'relatedBenefitRefs', targetAspects: ['market.benefit'] },\n ],\n },\n {\n key: 'market.message-template',\n snapshotPath: 'messageTemplates',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: MarketMessageTemplateConfigSchema,\n businessKey: 'ref',\n headlineField: 'name',\n servesIntents: [MetaWorkflow_ArtifactIntent.VOICE],\n edges: [\n { field: 'preferredVoiceRef', targetAspects: ['market.tone-of-voice'] },\n ],\n },\n ],\n};\n"]}
|
|
@@ -6,9 +6,9 @@ import { PlacementDisposition, type PlacementPlan } from './placement-plan.schem
|
|
|
6
6
|
* and the payload version.
|
|
7
7
|
*
|
|
8
8
|
* No file path, config key, label string or runtime control is representable
|
|
9
|
-
* here — by construction, not by instruction. The plan decides WHERE and
|
|
10
|
-
* the coding agent that authors
|
|
11
|
-
*
|
|
9
|
+
* here — by construction, not by instruction. The plan decides WHERE, WHY and, for a launcher entry, FOR WHOM
|
|
10
|
+
* (`requiredRoles`); the coding agent that authors the config decides HOW, guided by `settings-placement-authoring`
|
|
11
|
+
* (settings rail) or `config-app-shell` (sidebar, command palette, user menu).
|
|
12
12
|
*
|
|
13
13
|
* Neither is `origin`, and that omission is load-bearing rather than incidental.
|
|
14
14
|
* A panel run IS the panel's judgement, so the runtime stamps `DELIBERATED`
|
|
@@ -34,6 +34,7 @@ export declare const PlacementDecisionGenerationSchema: z.ZodDiscriminatedUnion<
|
|
|
34
34
|
address: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
35
35
|
surface: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./placement-plan.schemas").PlacementSurface.SETTINGS_HUB>>;
|
|
36
36
|
groupRef: z.ZodString;
|
|
37
|
+
subGroupRef: z.ZodOptional<z.ZodString>;
|
|
37
38
|
order: z.ZodNumber;
|
|
38
39
|
}, z.core.$strict>, z.ZodObject<{
|
|
39
40
|
surface: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./placement-plan.schemas").PlacementSurface.SIDEBAR>>;
|
|
@@ -47,6 +48,8 @@ export declare const PlacementDecisionGenerationSchema: z.ZodDiscriminatedUnion<
|
|
|
47
48
|
order: z.ZodNumber;
|
|
48
49
|
}, z.core.$strict>], "surface">;
|
|
49
50
|
rationale: z.ZodString;
|
|
51
|
+
/** Who the entry is shown to, when it is for one audience only; on a sidebar or command-menu placement only. */
|
|
52
|
+
requiredRoles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
50
53
|
}, z.core.$strict>, z.ZodObject<{
|
|
51
54
|
slug: z.ZodString;
|
|
52
55
|
disposition: z.ZodLiteral<PlacementDisposition.DECLINED>;
|
|
@@ -72,6 +75,12 @@ export declare const PlacementPlanGenerationSchema: z.ZodObject<{
|
|
|
72
75
|
surface: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof import("./placement-plan.schemas").PlacementSurface>>;
|
|
73
76
|
purpose: z.ZodString;
|
|
74
77
|
order: z.ZodNumber;
|
|
78
|
+
subGroups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
79
|
+
groupRef: z.ZodString;
|
|
80
|
+
purpose: z.ZodString;
|
|
81
|
+
order: z.ZodNumber;
|
|
82
|
+
}, z.core.$strict>>>;
|
|
83
|
+
requiredRoles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
75
84
|
}, z.core.$strict>>;
|
|
76
85
|
decisions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
77
86
|
slug: z.ZodString;
|
|
@@ -91,6 +100,7 @@ export declare const PlacementPlanGenerationSchema: z.ZodObject<{
|
|
|
91
100
|
address: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
92
101
|
surface: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./placement-plan.schemas").PlacementSurface.SETTINGS_HUB>>;
|
|
93
102
|
groupRef: z.ZodString;
|
|
103
|
+
subGroupRef: z.ZodOptional<z.ZodString>;
|
|
94
104
|
order: z.ZodNumber;
|
|
95
105
|
}, z.core.$strict>, z.ZodObject<{
|
|
96
106
|
surface: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("./placement-plan.schemas").PlacementSurface.SIDEBAR>>;
|
|
@@ -104,6 +114,8 @@ export declare const PlacementPlanGenerationSchema: z.ZodObject<{
|
|
|
104
114
|
order: z.ZodNumber;
|
|
105
115
|
}, z.core.$strict>], "surface">;
|
|
106
116
|
rationale: z.ZodString;
|
|
117
|
+
/** Who the entry is shown to, when it is for one audience only; on a sidebar or command-menu placement only. */
|
|
118
|
+
requiredRoles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
107
119
|
}, z.core.$strict>, z.ZodObject<{
|
|
108
120
|
slug: z.ZodString;
|
|
109
121
|
disposition: z.ZodLiteral<PlacementDisposition.DECLINED>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"placement-plan-generation.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/placement-plan/placement-plan-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAIL,oBAAoB,EAKpB,KAAK,aAAa,EACnB,MAAM,0BAA0B,CAAC;AAKlC;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,iCAAiC
|
|
1
|
+
{"version":3,"file":"placement-plan-generation.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/placement-plan/placement-plan-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAIL,oBAAoB,EAKpB,KAAK,aAAa,EACnB,MAAM,0BAA0B,CAAC;AAKlC;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAO1C,gHAAgH;;;;;;;;;;;;;;;;;;mCASlH,CAAC;AACH,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAE5F,oEAAoE;AACpE,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAbtC,gHAAgH;;;;;;;;;;;;;;;;;;;kBA6BlH,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF;;;;;;;GAOG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,OAAO,GAAG,aAAa,CAyB1E"}
|
|
@@ -9,9 +9,9 @@ const NonEmptyStringSchema = z.string().trim().min(1);
|
|
|
9
9
|
* and the payload version.
|
|
10
10
|
*
|
|
11
11
|
* No file path, config key, label string or runtime control is representable
|
|
12
|
-
* here — by construction, not by instruction. The plan decides WHERE and
|
|
13
|
-
* the coding agent that authors
|
|
14
|
-
*
|
|
12
|
+
* here — by construction, not by instruction. The plan decides WHERE, WHY and, for a launcher entry, FOR WHOM
|
|
13
|
+
* (`requiredRoles`); the coding agent that authors the config decides HOW, guided by `settings-placement-authoring`
|
|
14
|
+
* (settings rail) or `config-app-shell` (sidebar, command palette, user menu).
|
|
15
15
|
*
|
|
16
16
|
* Neither is `origin`, and that omission is load-bearing rather than incidental.
|
|
17
17
|
* A panel run IS the panel's judgement, so the runtime stamps `DELIBERATED`
|
|
@@ -26,6 +26,8 @@ export const PlacementDecisionGenerationSchema = z.discriminatedUnion('dispositi
|
|
|
26
26
|
subject: PlacementSubjectSchema,
|
|
27
27
|
address: PlacementAddressSchema,
|
|
28
28
|
rationale: NonEmptyStringSchema,
|
|
29
|
+
/** Who the entry is shown to, when it is for one audience only; on a sidebar or command-menu placement only. */
|
|
30
|
+
requiredRoles: z.array(NonEmptyStringSchema).min(1).optional(),
|
|
29
31
|
}),
|
|
30
32
|
z.strictObject({
|
|
31
33
|
slug: SlugSchema,
|
|
@@ -73,6 +75,7 @@ export function parsePlacementPlanGeneration(input) {
|
|
|
73
75
|
subject: decision.subject,
|
|
74
76
|
address: decision.address,
|
|
75
77
|
rationale: decision.rationale,
|
|
78
|
+
...(decision.requiredRoles === undefined ? {} : { requiredRoles: decision.requiredRoles }),
|
|
76
79
|
}
|
|
77
80
|
: {
|
|
78
81
|
decisionRef: applyFamilyRefPrefix(decision.slug, PLACEMENT_DECISION_REF_PREFIX),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"placement-plan-generation.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/placement-plan/placement-plan-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EACL,6BAA6B,EAC7B,uBAAuB,EACvB,sBAAsB,EACtB,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,oBAAoB,EACpB,sBAAsB,GAEvB,MAAM,0BAA0B,CAAC;AAElC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,4BAA4B,CAAC,CAAC;AAClE,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAEtD;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,kBAAkB,CAAC,aAAa,EAAE;IACnF,CAAC,CAAC,YAAY,CAAC;QACb,IAAI,EAAE,UAAU;QAChB,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,oBAAoB,CAAC,MAAM,CAAC;QACnD,OAAO,EAAE,sBAAsB;QAC/B,OAAO,EAAE,sBAAsB;QAC/B,SAAS,EAAE,oBAAoB;
|
|
1
|
+
{"version":3,"file":"placement-plan-generation.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/placement-plan/placement-plan-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EACL,6BAA6B,EAC7B,uBAAuB,EACvB,sBAAsB,EACt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OAAO,EAAE,QAAQ,CAAC,OAAO;gBACzB,SAAS,EAAE,QAAQ,CAAC,SAAS;gBAC7B,GAAG,CAAC,QAAQ,CAAC,aAAa,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,aAAa,EAAE,QAAQ,CAAC,aAAa,EAAE,CAAC;aAC3F;YACD,CAAC,CAAC;gBACA,WAAW,EAAE,oBAAoB,CAAC,QAAQ,CAAC,IAAI,EAAE,6BAA6B,CAAC;gBAC/E,WAAW,EAAE,QAAQ,CAAC,WAAW;gBACjC,MAAM,EAAE,uBAAuB,CAAC,WAAW;gBAC3C,OAAO,EAAE,QAAQ,CAAC,OAAO;gBACzB,SAAS,EAAE,QAAQ,CAAC,SAAS;aAC9B,CACJ,CAAC;KACH,CAAC,CAAC;AACL,CAAC","sourcesContent":["import { z } from 'zod';\n\nimport { applyFamilyRefPrefix } from '../utils/family-ref-stamping';\nimport {\n PLACEMENT_DECISION_REF_PREFIX,\n PlacementDecisionOrigin,\n PlacementAddressSchema,\n PlacementDisposition,\n PlacementGroupSchema,\n PlacementPlanSchema,\n PlacementPlanVersion,\n PlacementSubjectSchema,\n type PlacementPlan,\n} from './placement-plan.schemas';\n\nconst SlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);\nconst NonEmptyStringSchema = z.string().trim().min(1);\n\n/**\n * Strict provider-facing placement decision. The provider supplies a stable\n * semantic slug; the trusted runtime stamps the canonical decision-ref prefix\n * and the payload version.\n *\n * No file path, config key, label string or runtime control is representable\n * here — by construction, not by instruction. The plan decides WHERE, WHY and, for a launcher entry, FOR WHOM\n * (`requiredRoles`); the coding agent that authors the config decides HOW, guided by `settings-placement-authoring`\n * (settings rail) or `config-app-shell` (sidebar, command palette, user menu).\n *\n * Neither is `origin`, and that omission is load-bearing rather than incidental.\n * A panel run IS the panel's judgement, so the runtime stamps `DELIBERATED`\n * below; representing the field here would let a provider declare its own output\n * a human revision, which is a claim no model is in a position to make. Same\n * split, and the same reason, as `decisionRef` and `version`.\n */\nexport const PlacementDecisionGenerationSchema = z.discriminatedUnion('disposition', [\n z.strictObject({\n slug: SlugSchema,\n disposition: z.literal(PlacementDisposition.PLACED),\n subject: PlacementSubjectSchema,\n address: PlacementAddressSchema,\n rationale: NonEmptyStringSchema,\n /** Who the entry is shown to, when it is for one audience only; on a sidebar or command-menu placement only. */\n requiredRoles: z.array(NonEmptyStringSchema).min(1).optional(),\n }),\n z.strictObject({\n slug: SlugSchema,\n disposition: z.literal(PlacementDisposition.DECLINED),\n subject: PlacementSubjectSchema,\n rationale: NonEmptyStringSchema,\n }),\n]);\nexport type PlacementDecisionGeneration = z.infer<typeof PlacementDecisionGenerationSchema>;\n\n/** One complete provider response for the placement-plan family. */\nexport const PlacementPlanGenerationSchema = z.strictObject({\n groups: z.array(PlacementGroupSchema),\n decisions: z.array(PlacementDecisionGenerationSchema).min(1),\n}).superRefine((generated, context) => {\n // Keyed on the STAMPED form, not on the authored slug, because `applyFamilyRefPrefix` is deliberately\n // not injective: `billing` and `placement-billing` are two distinct slugs that both become\n // `placement-billing`. Checking the slug would let that pair through and produce two decisions sharing\n // one ref, which makes `priorDecisionRef` -- the revision lineage -- point at either of them.\n const seen = new Set<string>();\n generated.decisions.forEach((decision, index) => {\n const decisionRef = applyFamilyRefPrefix(decision.slug, PLACEMENT_DECISION_REF_PREFIX);\n if (seen.has(decisionRef)) {\n context.addIssue({ code: 'custom', message: `duplicate placement decision slug \"${decision.slug}\" (normalizes to \"${decisionRef}\")`, path: ['decisions', index, 'slug'] });\n }\n seen.add(decisionRef);\n });\n});\nexport type PlacementPlanGeneration = z.infer<typeof PlacementPlanGenerationSchema>;\n\n/**\n * Normalize strict provider output into the persisted family (stamping refs and\n * version).\n *\n * This is also the REVISION producer's output shape in a deliberation round:\n * a placement candidate is regenerated through this exact schema, the same way\n * a text candidate is regenerated through `DeliberationTextRevisionOutputStrictSchema`.\n */\nexport function parsePlacementPlanGeneration(input: unknown): PlacementPlan {\n const generated = PlacementPlanGenerationSchema.parse(input);\n return PlacementPlanSchema.parse({\n version: PlacementPlanVersion.V1,\n groups: generated.groups,\n decisions: generated.decisions.map((decision) => (\n decision.disposition === PlacementDisposition.PLACED\n ? {\n decisionRef: applyFamilyRefPrefix(decision.slug, PLACEMENT_DECISION_REF_PREFIX),\n disposition: decision.disposition,\n origin: PlacementDecisionOrigin.DELIBERATED,\n subject: decision.subject,\n address: decision.address,\n rationale: decision.rationale,\n ...(decision.requiredRoles === undefined ? {} : { requiredRoles: decision.requiredRoles }),\n }\n : {\n decisionRef: applyFamilyRefPrefix(decision.slug, PLACEMENT_DECISION_REF_PREFIX),\n disposition: decision.disposition,\n origin: PlacementDecisionOrigin.DELIBERATED,\n subject: decision.subject,\n rationale: decision.rationale,\n }\n )),\n });\n}\n"]}
|
|
@@ -32,7 +32,18 @@ export declare enum PlacementPlanFindingCode {
|
|
|
32
32
|
* ceremony — exactly what `.claude/rules/application-creation-directive.md` says protection must
|
|
33
33
|
* not become at this stage.
|
|
34
34
|
*/
|
|
35
|
-
REVISION_RESTATES_SUPERSEDED_RATIONALE = "REVISION_RESTATES_SUPERSEDED_RATIONALE"
|
|
35
|
+
REVISION_RESTATES_SUPERSEDED_RATIONALE = "REVISION_RESTATES_SUPERSEDED_RATIONALE",
|
|
36
|
+
/**
|
|
37
|
+
* A sidebar entry restricted to roles none of which reaches its section's roles (#2512): no holder of an entry role
|
|
38
|
+
* passes the section by that role alone, counting core inheritance (an `ORG_ADMIN` entry in an `ORG_MEMBER` section
|
|
39
|
+
* is fine, since an admin is a member). Only someone holding a role from each list sees the row.
|
|
40
|
+
*
|
|
41
|
+
* A warning, never a floor: a person may hold several roles, so the plan is satisfiable, just almost certainly not
|
|
42
|
+
* what was meant. Core inheritance only: the plan is validated without the application's role tables, so an entry
|
|
43
|
+
* role that reaches the section through a CUSTOM role's own inheritance (which the shell does follow, #2376) is still
|
|
44
|
+
* reported. Read such a finding against the application's `customRoles`.
|
|
45
|
+
*/
|
|
46
|
+
ENTRY_AUDIENCE_OUTSIDE_SECTION_AUDIENCE = "ENTRY_AUDIENCE_OUTSIDE_SECTION_AUDIENCE"
|
|
36
47
|
}
|
|
37
48
|
export interface PlacementPlanFinding {
|
|
38
49
|
readonly code: PlacementPlanFindingCode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"placement-plan-validation.d.ts","sourceRoot":"","sources":["../../../../../src/_core/placement-plan/placement-plan-validation.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"placement-plan-validation.d.ts","sourceRoot":"","sources":["../../../../../src/_core/placement-plan/placement-plan-validation.ts"],"names":[],"mappings":"AAEA,OAAO,EAKL,oBAAoB,EAEpB,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACtB,MAAM,0BAA0B,CAAC;AAElC,mGAAmG;AACnG,oBAAY,wBAAwB;IAClC,+FAA+F;IAC/F,8BAA8B,mCAAmC;IACjE,2GAA2G;IAC3G,WAAW,gBAAgB;IAC3B,gHAAgH;IAChH,eAAe,oBAAoB;IACnC,6FAA6F;IAC7F,mBAAmB,wBAAwB;IAC3C,yEAAyE;IACzE,eAAe,oBAAoB;IACnC;;;;;;OAMG;IACH,kCAAkC,uCAAuC;IACzE;;;;;;;;;;;;OAYG;IACH,sCAAsC,2CAA2C;IACjF;;;;;;;;;OASG;IACH,uCAAuC,4CAA4C;CACpF;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,IAAI,EAAE,wBAAwB,CAAC;IACxC,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,gBAAgB,GAAG,MAAM,CAS1E;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,gBAAgB,GAAG,MAAM,CAErE;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,MAAM,6BAA6B,GAAG,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,oBAAoB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;AAEjH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,aAAa,EACnB,aAAa,CAAC,EAAE,6BAA6B,GAC5C,SAAS,oBAAoB,EAAE,CA8HjC;AAUD,4FAA4F;AAC5F,eAAO,MAAM,+BAA+B,EAAE,SAAS,wBAAwB,EAI9E,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,WAAW,yBAAyB;IACxC,iHAAiH;IACjH,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,wFAAwF;IACxF,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,kDAAkD;IAClD,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,gFAAgF;IAChF,QAAQ,CAAC,mBAAmB,EAAE,MAAM,GAAG,SAAS,CAAC;CAClD;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,iCAAiC,CAC/C,KAAK,EAAE,aAAa,GAAG,SAAS,EAChC,QAAQ,EAAE,aAAa,GACtB,SAAS,yBAAyB,EAAE,CAgBtC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAgB,+BAA+B,CAAC,sBAAsB,EAAE,MAAM,GAAG,MAAM,EAAE,CAWxF"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DEFAULT_APP_ROLE_CONFIGURATION, DEFAULT_ORGANIZATION_ROLES, computeRoleHierarchy } from '@wildo-ai/saas-models';
|
|
2
|
+
import { PLACEMENT_SURFACE_EXPRESSIBLE_SUBJECT_KINDS, PlacementSurface, PlacementDecisionOrigin, PlacementDisposition, PlacementSubjectKind, placementGroupIdentity, } from './placement-plan.schemas.js';
|
|
2
3
|
/** Deterministic finding over a placement plan; authoring coherence beyond structural validity. */
|
|
3
4
|
export var PlacementPlanFindingCode;
|
|
4
5
|
(function (PlacementPlanFindingCode) {
|
|
@@ -34,6 +35,17 @@ export var PlacementPlanFindingCode;
|
|
|
34
35
|
* not become at this stage.
|
|
35
36
|
*/
|
|
36
37
|
PlacementPlanFindingCode["REVISION_RESTATES_SUPERSEDED_RATIONALE"] = "REVISION_RESTATES_SUPERSEDED_RATIONALE";
|
|
38
|
+
/**
|
|
39
|
+
* A sidebar entry restricted to roles none of which reaches its section's roles (#2512): no holder of an entry role
|
|
40
|
+
* passes the section by that role alone, counting core inheritance (an `ORG_ADMIN` entry in an `ORG_MEMBER` section
|
|
41
|
+
* is fine, since an admin is a member). Only someone holding a role from each list sees the row.
|
|
42
|
+
*
|
|
43
|
+
* A warning, never a floor: a person may hold several roles, so the plan is satisfiable, just almost certainly not
|
|
44
|
+
* what was meant. Core inheritance only: the plan is validated without the application's role tables, so an entry
|
|
45
|
+
* role that reaches the section through a CUSTOM role's own inheritance (which the shell does follow, #2376) is still
|
|
46
|
+
* reported. Read such a finding against the application's `customRoles`.
|
|
47
|
+
*/
|
|
48
|
+
PlacementPlanFindingCode["ENTRY_AUDIENCE_OUTSIDE_SECTION_AUDIENCE"] = "ENTRY_AUDIENCE_OUTSIDE_SECTION_AUDIENCE";
|
|
37
49
|
})(PlacementPlanFindingCode || (PlacementPlanFindingCode = {}));
|
|
38
50
|
/**
|
|
39
51
|
* The identity of a subject WITHIN its own kind — the id a catalog of that kind
|
|
@@ -131,7 +143,10 @@ export function validatePlacementPlan(plan, knownSubjects) {
|
|
|
131
143
|
seenOnSurface.add(surfaceKey);
|
|
132
144
|
const groupRef = 'groupRef' in decision.address ? decision.address.groupRef : null;
|
|
133
145
|
if (groupRef !== null)
|
|
134
|
-
populatedGroups.add(
|
|
146
|
+
populatedGroups.add(placementGroupIdentity(decision.address.surface, groupRef));
|
|
147
|
+
const subGroupRef = 'subGroupRef' in decision.address ? decision.address.subGroupRef : undefined;
|
|
148
|
+
if (groupRef !== null && subGroupRef !== undefined)
|
|
149
|
+
populatedGroups.add(placementGroupIdentity(decision.address.surface, subGroupRef, groupRef));
|
|
135
150
|
const orderKey = `${decision.address.surface}::${groupRef ?? '-'}::${decision.address.order}`;
|
|
136
151
|
const collidesWith = seenOrder.get(orderKey);
|
|
137
152
|
if (collidesWith !== undefined) {
|
|
@@ -147,13 +162,43 @@ export function validatePlacementPlan(plan, knownSubjects) {
|
|
|
147
162
|
}
|
|
148
163
|
// ── Declared groups nothing was placed in ──
|
|
149
164
|
for (const group of plan.groups) {
|
|
150
|
-
if (!populatedGroups.has(
|
|
165
|
+
if (!populatedGroups.has(placementGroupIdentity(group.surface, group.groupRef))) {
|
|
151
166
|
findings.push({
|
|
152
167
|
code: PlacementPlanFindingCode.EMPTY_GROUP,
|
|
153
168
|
decisionRef: null,
|
|
154
169
|
message: `Group "${group.groupRef}" on ${group.surface} is declared but nothing is placed in it.`,
|
|
155
170
|
});
|
|
156
171
|
}
|
|
172
|
+
for (const subGroup of group.subGroups ?? []) {
|
|
173
|
+
if (populatedGroups.has(placementGroupIdentity(group.surface, subGroup.groupRef, group.groupRef)))
|
|
174
|
+
continue;
|
|
175
|
+
findings.push({
|
|
176
|
+
code: PlacementPlanFindingCode.EMPTY_GROUP,
|
|
177
|
+
decisionRef: null,
|
|
178
|
+
message: `Sub-category "${subGroup.groupRef}" of "${group.groupRef}" on ${group.surface} is declared but nothing is placed in it.`,
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
// ── Entry audiences that no role reaches through the section's (#2512) ──
|
|
183
|
+
const sectionAudience = new Map(plan.groups
|
|
184
|
+
.filter((group) => group.surface === PlacementSurface.SIDEBAR && group.requiredRoles !== undefined)
|
|
185
|
+
.map((group) => [group.groupRef, group.requiredRoles]));
|
|
186
|
+
for (const decision of plan.decisions) {
|
|
187
|
+
if (decision.disposition !== PlacementDisposition.PLACED || decision.requiredRoles === undefined)
|
|
188
|
+
continue;
|
|
189
|
+
if (decision.address.surface !== PlacementSurface.SIDEBAR)
|
|
190
|
+
continue;
|
|
191
|
+
const section = sectionAudience.get(decision.address.groupRef);
|
|
192
|
+
if (section === undefined)
|
|
193
|
+
continue;
|
|
194
|
+
const reaches = decision.requiredRoles.some((role) => rolesConferredBy(role).some((conferred) => section.includes(conferred)));
|
|
195
|
+
if (reaches)
|
|
196
|
+
continue;
|
|
197
|
+
findings.push({
|
|
198
|
+
code: PlacementPlanFindingCode.ENTRY_AUDIENCE_OUTSIDE_SECTION_AUDIENCE,
|
|
199
|
+
decisionRef: decision.decisionRef,
|
|
200
|
+
message: `Decision "${decision.decisionRef}" is shown to [${decision.requiredRoles.join(', ')}] inside section "${decision.address.groupRef}", which is shown to [${section.join(', ')}]: no listed role reaches the section, so only someone holding a role from each list sees it.`,
|
|
201
|
+
});
|
|
157
202
|
}
|
|
158
203
|
// ── Revisions that record nothing ──
|
|
159
204
|
for (const decision of plan.decisions) {
|
|
@@ -203,6 +248,14 @@ export function validatePlacementPlan(plan, knownSubjects) {
|
|
|
203
248
|
}
|
|
204
249
|
return findings;
|
|
205
250
|
}
|
|
251
|
+
/** A role and every role it inherits, through the CORE tables; a custom role confers only itself. */
|
|
252
|
+
function rolesConferredBy(role) {
|
|
253
|
+
const hierarchy = computeRoleHierarchy(role, DEFAULT_ORGANIZATION_ROLES);
|
|
254
|
+
if (hierarchy.length > 0)
|
|
255
|
+
return hierarchy;
|
|
256
|
+
const appHierarchy = computeRoleHierarchy(role, DEFAULT_APP_ROLE_CONFIGURATION);
|
|
257
|
+
return appHierarchy.length > 0 ? appHierarchy : [role];
|
|
258
|
+
}
|
|
206
259
|
/** The finding codes that must block a landing; everything else is an authoring warning. */
|
|
207
260
|
export const PLACEMENT_PLAN_HARD_FLOOR_CODES = [
|
|
208
261
|
PlacementPlanFindingCode.DUPLICATE_PLACEMENT_ON_SURFACE,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"placement-plan-validation.js","sourceRoot":"","sources":["../../../../../src/_core/placement-plan/placement-plan-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2CAA2C,EAC3C,uBAAuB,EACvB,oBAAoB,EACpB,oBAAoB,GAGrB,MAAM,0BAA0B,CAAC;AAElC,mGAAmG;AACnG,MAAM,CAAN,IAAY,wBAiCX;AAjCD,WAAY,wBAAwB;IAClC,+FAA+F;IAC/F,6FAAiE,CAAA;IACjE,2GAA2G;IAC3G,uDAA2B,CAAA;IAC3B,gHAAgH;IAChH,+DAAmC,CAAA;IACnC,6FAA6F;IAC7F,uEAA2C,CAAA;IAC3C,yEAAyE;IACzE,+DAAmC,CAAA;IACnC;;;;;;OAMG;IACH,qGAAyE,CAAA;IACzE;;;;;;;;;;;;OAYG;IACH,6GAAiF,CAAA;AACnF,CAAC,EAjCW,wBAAwB,KAAxB,wBAAwB,QAiCnC;AAQD;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,wBAAwB,CAAC,OAAyB;IAChE,QAAQ,OAAO,CAAC,IAAI,EAAE,CAAC;QACrB,KAAK,oBAAoB,CAAC,2BAA2B;YACnD,OAAO,OAAO,CAAC,cAAc,CAAC;QAChC,KAAK,oBAAoB,CAAC,kBAAkB;YAC1C,OAAO,GAAG,OAAO,CAAC,SAAS,IAAI,OAAO,CAAC,WAAW,KAAK,OAAO,CAAC,SAAS,EAAE,CAAC;QAC7E,KAAK,oBAAoB,CAAC,QAAQ;YAChC,OAAO,OAAO,CAAC,OAAO,CAAC;IAC3B,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,mBAAmB,CAAC,OAAyB;IAC3D,OAAO,GAAG,OAAO,CAAC,IAAI,KAAK,wBAAwB,CAAC,OAAO,CAAC,EAAE,CAAC;AACjE,CAAC;AA6BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAM,U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D,IAAI,GAAG,KAAK,SAAS;YAAE,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACxC,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC","sourcesContent":["import {\n PLACEMENT_SURFACE_EXPRESSIBLE_SUBJECT_KINDS,\n PlacementDecisionOrigin,\n PlacementDisposition,\n PlacementSubjectKind,\n type PlacementPlan,\n type PlacementSubject,\n} from './placement-plan.schemas';\n\n/** Deterministic finding over a placement plan; authoring coherence beyond structural validity. */\nexport enum PlacementPlanFindingCode {\n /** One subject placed twice on the SAME surface — the two placements contradict each other. */\n DUPLICATE_PLACEMENT_ON_SURFACE = 'DUPLICATE_PLACEMENT_ON_SURFACE',\n /** A declared group that nothing is placed in — an empty rail group or sidebar section is visual noise. */\n EMPTY_GROUP = 'EMPTY_GROUP',\n /** Two placements share an order within one group, so their rendered sequence is not determined by the plan. */\n ORDER_COLLISION = 'ORDER_COLLISION',\n /** A known subject the plan never decided about — neither placed nor explicitly declined. */\n SUBJECT_NOT_DECIDED = 'SUBJECT_NOT_DECIDED',\n /** A placement names a subject the caller's catalog does not contain. */\n UNKNOWN_SUBJECT = 'UNKNOWN_SUBJECT',\n /**\n * A subject placed on a surface that cannot carry its kind — an application view on the settings rail\n * or the user dropdown. See `PLACEMENT_SURFACE_EXPRESSIBLE_SUBJECT_KINDS`.\n *\n * A hard floor: the plan is the coding task's specification, and a placement no configuration can\n * express yields a task that can never land.\n */\n SUBJECT_NOT_EXPRESSIBLE_ON_SURFACE = 'SUBJECT_NOT_EXPRESSIBLE_ON_SURFACE',\n /**\n * A REVISED decision whose superseded rationale repeats its own, word for word.\n *\n * The schema can require a revision to record what the panel had decided; it cannot require the\n * record to say anything. A verbatim copy is the shape that satisfies the requirement and defeats\n * it — the reader gets two identical paragraphs and still cannot see what changed, which is worse\n * than an honest absence because it LOOKS answered.\n *\n * A warning, never a floor. Two decisions can legitimately land on the same words (a revision that\n * only changed the address, keeping the argument), and refusing that would make the mechanism a\n * ceremony — exactly what `.claude/rules/application-creation-directive.md` says protection must\n * not become at this stage.\n */\n REVISION_RESTATES_SUPERSEDED_RATIONALE = 'REVISION_RESTATES_SUPERSEDED_RATIONALE',\n}\n\nexport interface PlacementPlanFinding {\n readonly code: PlacementPlanFindingCode;\n readonly decisionRef: string | null;\n readonly message: string;\n}\n\n/**\n * The identity of a subject WITHIN its own kind — the id a catalog of that kind\n * addresses it by, and nothing more.\n *\n * Split out of {@link placementSubjectKey} so a catalog can be handed to\n * {@link validatePlacementPlan} in the exact shape its owner already publishes:\n * the engine's settings catalog exports a set of bare `destinationRef` strings,\n * and requiring a caller to re-spell those as `KIND::ref` would be a second\n * spelling of an identity this module already owns — the classic place two\n * copies drift.\n *\n * Total over the union, so adding a subject kind is a compile error here rather\n * than a silent hole in the duplicate check.\n */\nexport function placementSubjectLocalKey(subject: PlacementSubject): string {\n switch (subject.kind) {\n case PlacementSubjectKind.ENGINE_SETTINGS_DESTINATION:\n return subject.destinationRef;\n case PlacementSubjectKind.RESOURCE_OPERATION:\n return `${subject.moduleRef}/${subject.resourceRef}::${subject.operation}`;\n case PlacementSubjectKind.APP_VIEW:\n return subject.viewRef;\n }\n}\n\n/**\n * The identity of a subject ACROSS kinds, for duplicate + coverage comparison.\n * Composed from {@link placementSubjectLocalKey} so the two views of one\n * identity cannot disagree.\n */\nexport function placementSubjectKey(subject: PlacementSubject): string {\n return `${subject.kind}::${placementSubjectLocalKey(subject)}`;\n}\n\n/**\n * What a caller CLAIMS TO KNOW, per subject kind — and only per subject kind.\n *\n * ## Why this is a per-kind map rather than one universe\n *\n * `UNKNOWN_SUBJECT` is a HARD FLOOR (`PLACEMENT_PLAN_HARD_FLOOR_CODES`): it refuses a landing. So a\n * caller that supplies a universe is asserting *\"everything outside this does not exist\"*, and that\n * assertion has to be true of every subject kind the plan can name — a settings destination, a\n * resource operation, and an app view.\n *\n * No single catalog spans those three. The one that exists — `ENGINE_SETTINGS_DESTINATION_REFS` in\n * `@wildo-ai/saas-models` — covers ONE. Handing it to a validator that took one flat set would not\n * have activated the floor; it would have made the floor FIRE ON EVERY RESOURCE OPERATION AND APP\n * VIEW, refusing every realistic placement plan. A partial universe presented as a total one is\n * worse than no universe at all, and the flat parameter made that mistake the natural one to make.\n *\n * So the shape carries the scope of the claim: a kind that is ABSENT from this map is not checked in\n * either direction, and a kind that is PRESENT is checked in both — an undecided known subject is\n * `SUBJECT_NOT_DECIDED`, and a decision naming something outside the set is `UNKNOWN_SUBJECT`. A\n * present-but-EMPTY set is a real and different claim (\"this application has none\"), which is why\n * absence rather than emptiness marks the uncovered case.\n *\n * Values are {@link placementSubjectLocalKey} outputs — bare ids, as their own catalog publishes\n * them, never `KIND::id`.\n */\nexport type KnownPlacementSubjectUniverse = Partial<Readonly<Record<PlacementSubjectKind, ReadonlySet<string>>>>;\n\n/**\n * Validate what Zod cannot.\n *\n * `knownSubjects` is OPTIONAL and carries the coverage question. `_core`\n * deliberately does not import the engine settings catalog (that would invert\n * the layering: `saas-specifications` must not depend on `saas-frontend-lib`),\n * so a caller that HOLDS a catalog supplies it — per kind, see\n * {@link KnownPlacementSubjectUniverse} — and gets `SUBJECT_NOT_DECIDED` /\n * `UNKNOWN_SUBJECT` for exactly the kinds it claimed. Omit it, or omit a kind,\n * and those two checks do not run for what was not claimed, which is honest: a\n * validator that cannot see a catalog must not report a clean coverage result.\n *\n * ## Who supplies one, and what the floor can therefore refuse\n *\n * The only production caller is the app-creation semantic authority\n * (`application-specification-semantic-authority.application-creation.service.ts`). It supplies\n * `ENGINE_SETTINGS_DESTINATION_REFS` for the `ENGINE_SETTINGS_DESTINATION` kind and nothing else,\n * so `UNKNOWN_SUBJECT` refuses a plan that places a settings destination the engine does not ship,\n * while a resource operation or an app view is still unchecked — nobody holds a catalog of either.\n *\n * That took a vocabulary relocation rather than a code change. Until 2026-09-09 the refs were\n * declared in `saas-frontend-lib`, which this backend-side caller must not depend on, so a declared\n * hard floor had no holder for no reason except where sixteen strings were written down. They now\n * live in `@wildo-ai/saas-models`, which the caller already depends on; the frontend package still\n * owns what each ref MEANS (its target, its gating), which is the half that names components.\n *\n * Two earlier revisions of this comment named the COMPANION as the caller. That was false — the\n * companion can reach the catalog and has never called this validator at all.\n *\n * The defect this floor guards is also caught downstream: `verifySettingsHubContent` refuses an\n * unknown destination ref at DEV startup, on the config a build task authors from this plan.\n * Refusing it at the plan is the earlier line, not the only one.\n *\n * Returns findings rather than throwing so a caller can treat a duplicate\n * placement as a hard floor and an empty group as an authoring warning.\n */\nexport function validatePlacementPlan(\n plan: PlacementPlan,\n knownSubjects?: KnownPlacementSubjectUniverse,\n): readonly PlacementPlanFinding[] {\n const findings: PlacementPlanFinding[] = [];\n\n // ── Duplicate placements on one surface, and order collisions within a group ──\n const seenOnSurface = new Set<string>();\n const seenOrder = new Map<string, string>();\n const populatedGroups = new Set<string>();\n\n for (const decision of plan.decisions) {\n if (decision.disposition !== PlacementDisposition.PLACED) continue;\n const subjectKey = placementSubjectKey(decision.subject);\n if (!PLACEMENT_SURFACE_EXPRESSIBLE_SUBJECT_KINDS[decision.address.surface].includes(decision.subject.kind)) {\n findings.push({\n code: PlacementPlanFindingCode.SUBJECT_NOT_EXPRESSIBLE_ON_SURFACE,\n decisionRef: decision.decisionRef,\n message: `Subject \"${subjectKey}\" is placed on ${decision.address.surface}, which cannot carry a ${decision.subject.kind}; it can carry ${PLACEMENT_SURFACE_EXPRESSIBLE_SUBJECT_KINDS[decision.address.surface].join(', ')}. Place it on a surface that can, or decline it.`,\n });\n }\n const surfaceKey = `${decision.address.surface}::${subjectKey}`;\n if (seenOnSurface.has(surfaceKey)) {\n findings.push({\n code: PlacementPlanFindingCode.DUPLICATE_PLACEMENT_ON_SURFACE,\n decisionRef: decision.decisionRef,\n message: `Subject \"${subjectKey}\" is placed more than once on ${decision.address.surface}.`,\n });\n }\n seenOnSurface.add(surfaceKey);\n\n const groupRef = 'groupRef' in decision.address ? decision.address.groupRef : null;\n if (groupRef !== null) populatedGroups.add(`${decision.address.surface}::${groupRef}`);\n\n const orderKey = `${decision.address.surface}::${groupRef ?? '-'}::${decision.address.order}`;\n const collidesWith = seenOrder.get(orderKey);\n if (collidesWith !== undefined) {\n findings.push({\n code: PlacementPlanFindingCode.ORDER_COLLISION,\n decisionRef: decision.decisionRef,\n message: `Order ${decision.address.order} is used by both \"${collidesWith}\" and \"${decision.decisionRef}\" in the same group, so their rendered sequence is undetermined.`,\n });\n } else {\n seenOrder.set(orderKey, decision.decisionRef);\n }\n }\n\n // ── Declared groups nothing was placed in ──\n for (const group of plan.groups) {\n if (!populatedGroups.has(`${group.surface}::${group.groupRef}`)) {\n findings.push({\n code: PlacementPlanFindingCode.EMPTY_GROUP,\n decisionRef: null,\n message: `Group \"${group.groupRef}\" on ${group.surface} is declared but nothing is placed in it.`,\n });\n }\n }\n\n // ── Revisions that record nothing ──\n for (const decision of plan.decisions) {\n if (decision.origin !== PlacementDecisionOrigin.REVISED) continue;\n if (decision.supersedes === undefined) continue; // the schema already refuses this\n if (decision.supersedes.rationale.trim() !== decision.rationale.trim()) continue;\n findings.push({\n code: PlacementPlanFindingCode.REVISION_RESTATES_SUPERSEDED_RATIONALE,\n decisionRef: decision.decisionRef,\n message: `Decision \"${decision.decisionRef}\" is REVISED but its superseded rationale repeats the new one verbatim — the record satisfies the schema and tells a reader nothing about what changed.`,\n });\n }\n\n // ── Coverage, only for the kinds the caller claimed to know ──\n if (knownSubjects !== undefined) {\n const decided = new Set(plan.decisions.map((decision) => placementSubjectKey(decision.subject)));\n for (const [kind, localKeys] of Object.entries(knownSubjects) as readonly (readonly [PlacementSubjectKind, ReadonlySet<string> | undefined])[]) {\n if (localKeys === undefined) continue;\n for (const localKey of localKeys) {\n if (decided.has(`${kind}::${localKey}`)) continue;\n findings.push({\n code: PlacementPlanFindingCode.SUBJECT_NOT_DECIDED,\n decisionRef: null,\n message: `Subject \"${kind}::${localKey}\" exists but the plan neither places nor declines it — the decision was never taken.`,\n });\n }\n }\n for (const decision of plan.decisions) {\n // A kind the caller did not claim is not checked: silence there is the ABSENCE of a claim, and\n // treating it as \"does not exist\" would make this floor refuse every plan whose subjects reach\n // past the one catalog anyone actually holds.\n const localKeys = knownSubjects[decision.subject.kind];\n if (localKeys === undefined) continue;\n if (!localKeys.has(placementSubjectLocalKey(decision.subject))) {\n findings.push({\n code: PlacementPlanFindingCode.UNKNOWN_SUBJECT,\n decisionRef: decision.decisionRef,\n message: `Decision \"${decision.decisionRef}\" names subject \"${placementSubjectKey(decision.subject)}\", which does not exist.`,\n });\n }\n }\n }\n\n return findings;\n}\n\n/** The finding codes that must block a landing; everything else is an authoring warning. */\nexport const PLACEMENT_PLAN_HARD_FLOOR_CODES: readonly PlacementPlanFindingCode[] = [\n PlacementPlanFindingCode.DUPLICATE_PLACEMENT_ON_SURFACE,\n PlacementPlanFindingCode.UNKNOWN_SUBJECT,\n PlacementPlanFindingCode.SUBJECT_NOT_EXPRESSIBLE_ON_SURFACE,\n];\n\n/**\n * A human revision a re-run is about to overwrite.\n *\n * Carries the panel argument the revision superseded, because that is the half a reader cannot\n * reconstruct: `git diff` shows the address that changed and never the case it was making, and\n * once the re-run lands, the `supersedes` record is gone from the file.\n */\nexport interface RevertedPlacementRevision {\n /** The decision ref as the PRIOR plan carried it. A re-run mints its own refs, so this is the durable handle. */\n readonly priorDecisionRef: string;\n /** Which subject/surface pair the human had ruled on, in `placementSubjectKey` form. */\n readonly subjectKey: string;\n /** The human's reasoning, from the prior plan. */\n readonly revisedRationale: string;\n /** What the panel had said before the human overruled it, from `supersedes`. */\n readonly supersededRationale: string | undefined;\n}\n\n/**\n * Every `REVISED` decision in `prior` that `incoming` does not preserve.\n *\n * **This does not prevent the overwrite — it removes the SILENCE**, which is the actual harm\n * (issue #142). `parsePlacementPlanGeneration` stamps every generated decision `DELIBERATED` and\n * knows nothing of a prior plan, and landing replaces the artifact wholesale, so a panel re-run\n * reverts every human revision and discards its `supersedes` record. A creator TOLD \"your revision\n * to `billing` was replaced by the panel, which had argued X\" re-applies it in one edit; a creator\n * told nothing discovers it when the rail is wrong.\n *\n * Matched on `placementSubjectKey`, never on `decisionRef`: a re-run mints fresh refs from its own\n * slugs, so ref equality would report every revision as reverted on every run — true by accident and\n * useless. The subject/surface pair is what a human actually ruled on.\n *\n * A revision counts as PRESERVED when the incoming decision for the same subject is itself\n * `REVISED`. That is deliberately generous: the only way a generated plan can carry `REVISED` is a\n * human having written it (the generation schema cannot express `origin`), so its presence means the\n * revision survived a hand-merge rather than being reproduced by the panel. A panel that happens to\n * land on the same address is still a REVERSION — the human decision no longer stands as a decision,\n * only as a coincidence, and the `supersedes` argument is gone either way.\n */\nexport function collectRevertedPlacementRevisions(\n prior: PlacementPlan | undefined,\n incoming: PlacementPlan,\n): readonly RevertedPlacementRevision[] {\n if (prior === undefined) return [];\n const preserved = new Set(\n incoming.decisions\n .filter((decision) => decision.origin === PlacementDecisionOrigin.REVISED)\n .map((decision) => placementSubjectKey(decision.subject)),\n );\n return prior.decisions\n .filter((decision) => decision.origin === PlacementDecisionOrigin.REVISED)\n .filter((decision) => !preserved.has(placementSubjectKey(decision.subject)))\n .map((decision) => ({\n priorDecisionRef: decision.decisionRef,\n subjectKey: placementSubjectKey(decision.subject),\n revisedRationale: decision.rationale,\n supersededRationale: decision.supersedes?.rationale,\n }));\n}\n\n/**\n * The decisions a landing is about to overwrite that a HUMAN had revised.\n *\n * ## Why this exists\n *\n * `origin: REVISED` + `supersedes.rationale` record that a human overrode the\n * panel. A playbook re-run destroys both: `parsePlacementPlanGeneration` stamps\n * every decision `DELIBERATED` and has no knowledge of the prior plan, and\n * landing replaces the file wholesale. So the one field designed to make a human\n * decision legible is reset by the ordinary operation of the system that owns it.\n *\n * That replacement is DELIBERATE — mutation is free and git is the undo\n * (`.claude/rules/application-creation-directive.md`), and acceptance is a human\n * commit, so the loss appears in a diff before it becomes real. What was missing\n * is that it appeared as one flipped enum among many changed lines, with nothing\n * naming it. This does not refuse, does not gate, and does not preserve\n * anything: it makes the loss SAYABLE.\n *\n * It matters more than it looks because the loop can re-select the producing\n * playbook unprompted — its preconditions stay satisfied once the domain plan\n * lands, and there is no generic \"my output already exists\" suppression. The\n * same shape was found live on 2026-08-24, when the loop re-chose\n * `build-decompose` on sound reasoning and overwrote a completed build plan.\n *\n * ## Why it reads TEXT\n *\n * The previous plan exists only as a rendered TypeScript module — landing returns\n * it as `previousContent`, not as a parsed value, and re-parsing a source file to\n * produce a warning would be a heavier mechanism than the warning is worth. Enum\n * values render as `EnumName.MEMBER`, so a REVISED decision is textually\n * unambiguous. A scan can only ever UNDER-report here (a renderer change makes it\n * find nothing, never invent something), which is the safe direction for a report\n * that must not cry wolf.\n */\nexport function findSupersededHumanDecisionRefs(previousRenderedSource: string): string[] {\n const refs: string[] = [];\n const chunks = previousRenderedSource.split('\"decisionRef\"');\n // chunks[0] is everything before the first decision — never a decision itself.\n for (let index = 1; index < chunks.length; index += 1) {\n const chunk = chunks[index];\n if (chunk === undefined || !chunk.includes('PlacementDecisionOrigin.REVISED')) continue;\n const ref = chunk.match(/^\\s*:\\s*\"([^\"]+)\"/)?.[1];\n if (ref !== undefined) refs.push(ref);\n }\n return refs;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"placement-plan-validation.js","sourceRoot":"","sources":["../../../../../src/_core/placement-plan/placement-plan-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,0BAA0B,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAEzH,OAAO,EACL,2CAA2C,EAC3C,gBAAgB,EAChB,uBAAuB,EACvB,oBAAoB,EACpB,oBAAoB,EACpB,sBAAsB,GAGvB,MAAM,0BAA0B,CAAC;AAElC,mGAAmG;AACnG,MAAM,CAAN,IAAY,wBA4CX;AA5CD,WAAY,wBAAwB;IAClC,+FAA+F;IAC/F,6FAAiE,CAAA;IACjE,2GAA2G;IAC3G,uDAA2B,CAAA;IAC3B,gHAAgH;IAChH,+DAAmC,CAAA;IACnC,6FAA6F;IAC7F,uEAA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,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;QAClB,gBAAgB,EAAE,QAAQ,CAAC,WAAW;QACtC,UAAU,EAAE,mBAAmB,CAAC,QAAQ,CAAC,OAAO,CAAC;QACjD,gBAAgB,EAAE,QAAQ,CAAC,SAAS;QACpC,mBAAmB,EAAE,QAAQ,CAAC,UAAU,EAAE,SAAS;KACpD,CAAC,CAAC,CAAC;AACR,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAM,UAAU,+BAA+B,CAAC,sBAA8B;IAC5E,MAAM,IAAI,GAAa,EAAE,CAAC;IAC1B,MAAM,MAAM,GAAG,sBAAsB,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;IAC7D,+EAA+E;IAC/E,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,IAAI,CAAC,EAAE,CAAC;QACtD,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;QAC5B,IAAI,KAAK,KAAK,SAAS,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,iCAAiC,CAAC;YAAE,SAAS;QACxF,MAAM,GAAG,GAAG,KAAK,CAAC,KAAK,CAAC,mBAAmB,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;QAClD,IAAI,GAAG,KAAK,SAAS;YAAE,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACxC,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC","sourcesContent":["import { DEFAULT_APP_ROLE_CONFIGURATION, DEFAULT_ORGANIZATION_ROLES, computeRoleHierarchy } from '@wildo-ai/saas-models';\n\nimport {\n PLACEMENT_SURFACE_EXPRESSIBLE_SUBJECT_KINDS,\n PlacementSurface,\n PlacementDecisionOrigin,\n PlacementDisposition,\n PlacementSubjectKind,\n placementGroupIdentity,\n type PlacementPlan,\n type PlacementSubject,\n} from './placement-plan.schemas';\n\n/** Deterministic finding over a placement plan; authoring coherence beyond structural validity. */\nexport enum PlacementPlanFindingCode {\n /** One subject placed twice on the SAME surface — the two placements contradict each other. */\n DUPLICATE_PLACEMENT_ON_SURFACE = 'DUPLICATE_PLACEMENT_ON_SURFACE',\n /** A declared group that nothing is placed in — an empty rail group or sidebar section is visual noise. */\n EMPTY_GROUP = 'EMPTY_GROUP',\n /** Two placements share an order within one group, so their rendered sequence is not determined by the plan. */\n ORDER_COLLISION = 'ORDER_COLLISION',\n /** A known subject the plan never decided about — neither placed nor explicitly declined. */\n SUBJECT_NOT_DECIDED = 'SUBJECT_NOT_DECIDED',\n /** A placement names a subject the caller's catalog does not contain. */\n UNKNOWN_SUBJECT = 'UNKNOWN_SUBJECT',\n /**\n * A subject placed on a surface that cannot carry its kind — an application view on the settings rail\n * or the user dropdown. See `PLACEMENT_SURFACE_EXPRESSIBLE_SUBJECT_KINDS`.\n *\n * A hard floor: the plan is the coding task's specification, and a placement no configuration can\n * express yields a task that can never land.\n */\n SUBJECT_NOT_EXPRESSIBLE_ON_SURFACE = 'SUBJECT_NOT_EXPRESSIBLE_ON_SURFACE',\n /**\n * A REVISED decision whose superseded rationale repeats its own, word for word.\n *\n * The schema can require a revision to record what the panel had decided; it cannot require the\n * record to say anything. A verbatim copy is the shape that satisfies the requirement and defeats\n * it — the reader gets two identical paragraphs and still cannot see what changed, which is worse\n * than an honest absence because it LOOKS answered.\n *\n * A warning, never a floor. Two decisions can legitimately land on the same words (a revision that\n * only changed the address, keeping the argument), and refusing that would make the mechanism a\n * ceremony — exactly what `.claude/rules/application-creation-directive.md` says protection must\n * not become at this stage.\n */\n REVISION_RESTATES_SUPERSEDED_RATIONALE = 'REVISION_RESTATES_SUPERSEDED_RATIONALE',\n /**\n * A sidebar entry restricted to roles none of which reaches its section's roles (#2512): no holder of an entry role\n * passes the section by that role alone, counting core inheritance (an `ORG_ADMIN` entry in an `ORG_MEMBER` section\n * is fine, since an admin is a member). Only someone holding a role from each list sees the row.\n *\n * A warning, never a floor: a person may hold several roles, so the plan is satisfiable, just almost certainly not\n * what was meant. Core inheritance only: the plan is validated without the application's role tables, so an entry\n * role that reaches the section through a CUSTOM role's own inheritance (which the shell does follow, #2376) is still\n * reported. Read such a finding against the application's `customRoles`.\n */\n ENTRY_AUDIENCE_OUTSIDE_SECTION_AUDIENCE = 'ENTRY_AUDIENCE_OUTSIDE_SECTION_AUDIENCE',\n}\n\nexport interface PlacementPlanFinding {\n readonly code: PlacementPlanFindingCode;\n readonly decisionRef: string | null;\n readonly message: string;\n}\n\n/**\n * The identity of a subject WITHIN its own kind — the id a catalog of that kind\n * addresses it by, and nothing more.\n *\n * Split out of {@link placementSubjectKey} so a catalog can be handed to\n * {@link validatePlacementPlan} in the exact shape its owner already publishes:\n * the engine's settings catalog exports a set of bare `destinationRef` strings,\n * and requiring a caller to re-spell those as `KIND::ref` would be a second\n * spelling of an identity this module already owns — the classic place two\n * copies drift.\n *\n * Total over the union, so adding a subject kind is a compile error here rather\n * than a silent hole in the duplicate check.\n */\nexport function placementSubjectLocalKey(subject: PlacementSubject): string {\n switch (subject.kind) {\n case PlacementSubjectKind.ENGINE_SETTINGS_DESTINATION:\n return subject.destinationRef;\n case PlacementSubjectKind.RESOURCE_OPERATION:\n return `${subject.moduleRef}/${subject.resourceRef}::${subject.operation}`;\n case PlacementSubjectKind.APP_VIEW:\n return subject.viewRef;\n }\n}\n\n/**\n * The identity of a subject ACROSS kinds, for duplicate + coverage comparison.\n * Composed from {@link placementSubjectLocalKey} so the two views of one\n * identity cannot disagree.\n */\nexport function placementSubjectKey(subject: PlacementSubject): string {\n return `${subject.kind}::${placementSubjectLocalKey(subject)}`;\n}\n\n/**\n * What a caller CLAIMS TO KNOW, per subject kind — and only per subject kind.\n *\n * ## Why this is a per-kind map rather than one universe\n *\n * `UNKNOWN_SUBJECT` is a HARD FLOOR (`PLACEMENT_PLAN_HARD_FLOOR_CODES`): it refuses a landing. So a\n * caller that supplies a universe is asserting *\"everything outside this does not exist\"*, and that\n * assertion has to be true of every subject kind the plan can name — a settings destination, a\n * resource operation, and an app view.\n *\n * No single catalog spans those three. The one that exists — `ENGINE_SETTINGS_DESTINATION_REFS` in\n * `@wildo-ai/saas-models` — covers ONE. Handing it to a validator that took one flat set would not\n * have activated the floor; it would have made the floor FIRE ON EVERY RESOURCE OPERATION AND APP\n * VIEW, refusing every realistic placement plan. A partial universe presented as a total one is\n * worse than no universe at all, and the flat parameter made that mistake the natural one to make.\n *\n * So the shape carries the scope of the claim: a kind that is ABSENT from this map is not checked in\n * either direction, and a kind that is PRESENT is checked in both — an undecided known subject is\n * `SUBJECT_NOT_DECIDED`, and a decision naming something outside the set is `UNKNOWN_SUBJECT`. A\n * present-but-EMPTY set is a real and different claim (\"this application has none\"), which is why\n * absence rather than emptiness marks the uncovered case.\n *\n * Values are {@link placementSubjectLocalKey} outputs — bare ids, as their own catalog publishes\n * them, never `KIND::id`.\n */\nexport type KnownPlacementSubjectUniverse = Partial<Readonly<Record<PlacementSubjectKind, ReadonlySet<string>>>>;\n\n/**\n * Validate what Zod cannot.\n *\n * `knownSubjects` is OPTIONAL and carries the coverage question. `_core`\n * deliberately does not import the engine settings catalog (that would invert\n * the layering: `saas-specifications` must not depend on `saas-frontend-lib`),\n * so a caller that HOLDS a catalog supplies it — per kind, see\n * {@link KnownPlacementSubjectUniverse} — and gets `SUBJECT_NOT_DECIDED` /\n * `UNKNOWN_SUBJECT` for exactly the kinds it claimed. Omit it, or omit a kind,\n * and those two checks do not run for what was not claimed, which is honest: a\n * validator that cannot see a catalog must not report a clean coverage result.\n *\n * ## Who supplies one, and what the floor can therefore refuse\n *\n * The only production caller is the app-creation semantic authority\n * (`application-specification-semantic-authority.application-creation.service.ts`). It supplies\n * `ENGINE_SETTINGS_DESTINATION_REFS` for the `ENGINE_SETTINGS_DESTINATION` kind and nothing else,\n * so `UNKNOWN_SUBJECT` refuses a plan that places a settings destination the engine does not ship,\n * while a resource operation or an app view is still unchecked — nobody holds a catalog of either.\n *\n * That took a vocabulary relocation rather than a code change. Until 2026-09-09 the refs were\n * declared in `saas-frontend-lib`, which this backend-side caller must not depend on, so a declared\n * hard floor had no holder for no reason except where sixteen strings were written down. They now\n * live in `@wildo-ai/saas-models`, which the caller already depends on; the frontend package still\n * owns what each ref MEANS (its target, its gating), which is the half that names components.\n *\n * Two earlier revisions of this comment named the COMPANION as the caller. That was false — the\n * companion can reach the catalog and has never called this validator at all.\n *\n * The defect this floor guards is also caught downstream: `verifySettingsHubContent` refuses an\n * unknown destination ref at DEV startup, on the config a build task authors from this plan.\n * Refusing it at the plan is the earlier line, not the only one.\n *\n * Returns findings rather than throwing so a caller can treat a duplicate\n * placement as a hard floor and an empty group as an authoring warning.\n */\nexport function validatePlacementPlan(\n plan: PlacementPlan,\n knownSubjects?: KnownPlacementSubjectUniverse,\n): readonly PlacementPlanFinding[] {\n const findings: PlacementPlanFinding[] = [];\n\n // ── Duplicate placements on one surface, and order collisions within a group ──\n const seenOnSurface = new Set<string>();\n const seenOrder = new Map<string, string>();\n const populatedGroups = new Set<string>();\n\n for (const decision of plan.decisions) {\n if (decision.disposition !== PlacementDisposition.PLACED) continue;\n const subjectKey = placementSubjectKey(decision.subject);\n if (!PLACEMENT_SURFACE_EXPRESSIBLE_SUBJECT_KINDS[decision.address.surface].includes(decision.subject.kind)) {\n findings.push({\n code: PlacementPlanFindingCode.SUBJECT_NOT_EXPRESSIBLE_ON_SURFACE,\n decisionRef: decision.decisionRef,\n message: `Subject \"${subjectKey}\" is placed on ${decision.address.surface}, which cannot carry a ${decision.subject.kind}; it can carry ${PLACEMENT_SURFACE_EXPRESSIBLE_SUBJECT_KINDS[decision.address.surface].join(', ')}. Place it on a surface that can, or decline it.`,\n });\n }\n const surfaceKey = `${decision.address.surface}::${subjectKey}`;\n if (seenOnSurface.has(surfaceKey)) {\n findings.push({\n code: PlacementPlanFindingCode.DUPLICATE_PLACEMENT_ON_SURFACE,\n decisionRef: decision.decisionRef,\n message: `Subject \"${subjectKey}\" is placed more than once on ${decision.address.surface}.`,\n });\n }\n seenOnSurface.add(surfaceKey);\n\n const groupRef = 'groupRef' in decision.address ? decision.address.groupRef : null;\n if (groupRef !== null) populatedGroups.add(placementGroupIdentity(decision.address.surface, groupRef));\n const subGroupRef = 'subGroupRef' in decision.address ? decision.address.subGroupRef : undefined;\n if (groupRef !== null && subGroupRef !== undefined) populatedGroups.add(placementGroupIdentity(decision.address.surface, subGroupRef, groupRef));\n\n const orderKey = `${decision.address.surface}::${groupRef ?? '-'}::${decision.address.order}`;\n const collidesWith = seenOrder.get(orderKey);\n if (collidesWith !== undefined) {\n findings.push({\n code: PlacementPlanFindingCode.ORDER_COLLISION,\n decisionRef: decision.decisionRef,\n message: `Order ${decision.address.order} is used by both \"${collidesWith}\" and \"${decision.decisionRef}\" in the same group, so their rendered sequence is undetermined.`,\n });\n } else {\n seenOrder.set(orderKey, decision.decisionRef);\n }\n }\n\n // ── Declared groups nothing was placed in ──\n for (const group of plan.groups) {\n if (!populatedGroups.has(placementGroupIdentity(group.surface, group.groupRef))) {\n findings.push({\n code: PlacementPlanFindingCode.EMPTY_GROUP,\n decisionRef: null,\n message: `Group \"${group.groupRef}\" on ${group.surface} is declared but nothing is placed in it.`,\n });\n }\n for (const subGroup of group.subGroups ?? []) {\n if (populatedGroups.has(placementGroupIdentity(group.surface, subGroup.groupRef, group.groupRef))) continue;\n findings.push({\n code: PlacementPlanFindingCode.EMPTY_GROUP,\n decisionRef: null,\n message: `Sub-category \"${subGroup.groupRef}\" of \"${group.groupRef}\" on ${group.surface} is declared but nothing is placed in it.`,\n });\n }\n }\n\n // ── Entry audiences that no role reaches through the section's (#2512) ──\n const sectionAudience = new Map(plan.groups\n .filter((group) => group.surface === PlacementSurface.SIDEBAR && group.requiredRoles !== undefined)\n .map((group) => [group.groupRef, group.requiredRoles!] as const));\n for (const decision of plan.decisions) {\n if (decision.disposition !== PlacementDisposition.PLACED || decision.requiredRoles === undefined) continue;\n if (decision.address.surface !== PlacementSurface.SIDEBAR) continue;\n const section = sectionAudience.get(decision.address.groupRef);\n if (section === undefined) continue;\n const reaches = decision.requiredRoles.some((role) => rolesConferredBy(role).some((conferred) => section.includes(conferred)));\n if (reaches) continue;\n findings.push({\n code: PlacementPlanFindingCode.ENTRY_AUDIENCE_OUTSIDE_SECTION_AUDIENCE,\n decisionRef: decision.decisionRef,\n message: `Decision \"${decision.decisionRef}\" is shown to [${decision.requiredRoles.join(', ')}] inside section \"${decision.address.groupRef}\", which is shown to [${section.join(', ')}]: no listed role reaches the section, so only someone holding a role from each list sees it.`,\n });\n }\n\n // ── Revisions that record nothing ──\n for (const decision of plan.decisions) {\n if (decision.origin !== PlacementDecisionOrigin.REVISED) continue;\n if (decision.supersedes === undefined) continue; // the schema already refuses this\n if (decision.supersedes.rationale.trim() !== decision.rationale.trim()) continue;\n findings.push({\n code: PlacementPlanFindingCode.REVISION_RESTATES_SUPERSEDED_RATIONALE,\n decisionRef: decision.decisionRef,\n message: `Decision \"${decision.decisionRef}\" is REVISED but its superseded rationale repeats the new one verbatim — the record satisfies the schema and tells a reader nothing about what changed.`,\n });\n }\n\n // ── Coverage, only for the kinds the caller claimed to know ──\n if (knownSubjects !== undefined) {\n const decided = new Set(plan.decisions.map((decision) => placementSubjectKey(decision.subject)));\n for (const [kind, localKeys] of Object.entries(knownSubjects) as readonly (readonly [PlacementSubjectKind, ReadonlySet<string> | undefined])[]) {\n if (localKeys === undefined) continue;\n for (const localKey of localKeys) {\n if (decided.has(`${kind}::${localKey}`)) continue;\n findings.push({\n code: PlacementPlanFindingCode.SUBJECT_NOT_DECIDED,\n decisionRef: null,\n message: `Subject \"${kind}::${localKey}\" exists but the plan neither places nor declines it — the decision was never taken.`,\n });\n }\n }\n for (const decision of plan.decisions) {\n // A kind the caller did not claim is not checked: silence there is the ABSENCE of a claim, and\n // treating it as \"does not exist\" would make this floor refuse every plan whose subjects reach\n // past the one catalog anyone actually holds.\n const localKeys = knownSubjects[decision.subject.kind];\n if (localKeys === undefined) continue;\n if (!localKeys.has(placementSubjectLocalKey(decision.subject))) {\n findings.push({\n code: PlacementPlanFindingCode.UNKNOWN_SUBJECT,\n decisionRef: decision.decisionRef,\n message: `Decision \"${decision.decisionRef}\" names subject \"${placementSubjectKey(decision.subject)}\", which does not exist.`,\n });\n }\n }\n }\n\n return findings;\n}\n\n/** A role and every role it inherits, through the CORE tables; a custom role confers only itself. */\nfunction rolesConferredBy(role: string): readonly string[] {\n const hierarchy = computeRoleHierarchy(role, DEFAULT_ORGANIZATION_ROLES);\n if (hierarchy.length > 0) return hierarchy;\n const appHierarchy = computeRoleHierarchy(role, DEFAULT_APP_ROLE_CONFIGURATION);\n return appHierarchy.length > 0 ? appHierarchy : [role];\n}\n\n/** The finding codes that must block a landing; everything else is an authoring warning. */\nexport const PLACEMENT_PLAN_HARD_FLOOR_CODES: readonly PlacementPlanFindingCode[] = [\n PlacementPlanFindingCode.DUPLICATE_PLACEMENT_ON_SURFACE,\n PlacementPlanFindingCode.UNKNOWN_SUBJECT,\n PlacementPlanFindingCode.SUBJECT_NOT_EXPRESSIBLE_ON_SURFACE,\n];\n\n/**\n * A human revision a re-run is about to overwrite.\n *\n * Carries the panel argument the revision superseded, because that is the half a reader cannot\n * reconstruct: `git diff` shows the address that changed and never the case it was making, and\n * once the re-run lands, the `supersedes` record is gone from the file.\n */\nexport interface RevertedPlacementRevision {\n /** The decision ref as the PRIOR plan carried it. A re-run mints its own refs, so this is the durable handle. */\n readonly priorDecisionRef: string;\n /** Which subject/surface pair the human had ruled on, in `placementSubjectKey` form. */\n readonly subjectKey: string;\n /** The human's reasoning, from the prior plan. */\n readonly revisedRationale: string;\n /** What the panel had said before the human overruled it, from `supersedes`. */\n readonly supersededRationale: string | undefined;\n}\n\n/**\n * Every `REVISED` decision in `prior` that `incoming` does not preserve.\n *\n * **This does not prevent the overwrite — it removes the SILENCE**, which is the actual harm\n * (issue #142). `parsePlacementPlanGeneration` stamps every generated decision `DELIBERATED` and\n * knows nothing of a prior plan, and landing replaces the artifact wholesale, so a panel re-run\n * reverts every human revision and discards its `supersedes` record. A creator TOLD \"your revision\n * to `billing` was replaced by the panel, which had argued X\" re-applies it in one edit; a creator\n * told nothing discovers it when the rail is wrong.\n *\n * Matched on `placementSubjectKey`, never on `decisionRef`: a re-run mints fresh refs from its own\n * slugs, so ref equality would report every revision as reverted on every run — true by accident and\n * useless. The subject/surface pair is what a human actually ruled on.\n *\n * A revision counts as PRESERVED when the incoming decision for the same subject is itself\n * `REVISED`. That is deliberately generous: the only way a generated plan can carry `REVISED` is a\n * human having written it (the generation schema cannot express `origin`), so its presence means the\n * revision survived a hand-merge rather than being reproduced by the panel. A panel that happens to\n * land on the same address is still a REVERSION — the human decision no longer stands as a decision,\n * only as a coincidence, and the `supersedes` argument is gone either way.\n */\nexport function collectRevertedPlacementRevisions(\n prior: PlacementPlan | undefined,\n incoming: PlacementPlan,\n): readonly RevertedPlacementRevision[] {\n if (prior === undefined) return [];\n const preserved = new Set(\n incoming.decisions\n .filter((decision) => decision.origin === PlacementDecisionOrigin.REVISED)\n .map((decision) => placementSubjectKey(decision.subject)),\n );\n return prior.decisions\n .filter((decision) => decision.origin === PlacementDecisionOrigin.REVISED)\n .filter((decision) => !preserved.has(placementSubjectKey(decision.subject)))\n .map((decision) => ({\n priorDecisionRef: decision.decisionRef,\n subjectKey: placementSubjectKey(decision.subject),\n revisedRationale: decision.rationale,\n supersededRationale: decision.supersedes?.rationale,\n }));\n}\n\n/**\n * The decisions a landing is about to overwrite that a HUMAN had revised.\n *\n * ## Why this exists\n *\n * `origin: REVISED` + `supersedes.rationale` record that a human overrode the\n * panel. A playbook re-run destroys both: `parsePlacementPlanGeneration` stamps\n * every decision `DELIBERATED` and has no knowledge of the prior plan, and\n * landing replaces the file wholesale. So the one field designed to make a human\n * decision legible is reset by the ordinary operation of the system that owns it.\n *\n * That replacement is DELIBERATE — mutation is free and git is the undo\n * (`.claude/rules/application-creation-directive.md`), and acceptance is a human\n * commit, so the loss appears in a diff before it becomes real. What was missing\n * is that it appeared as one flipped enum among many changed lines, with nothing\n * naming it. This does not refuse, does not gate, and does not preserve\n * anything: it makes the loss SAYABLE.\n *\n * It matters more than it looks because the loop can re-select the producing\n * playbook unprompted — its preconditions stay satisfied once the domain plan\n * lands, and there is no generic \"my output already exists\" suppression. The\n * same shape was found live on 2026-08-24, when the loop re-chose\n * `build-decompose` on sound reasoning and overwrote a completed build plan.\n *\n * ## Why it reads TEXT\n *\n * The previous plan exists only as a rendered TypeScript module — landing returns\n * it as `previousContent`, not as a parsed value, and re-parsing a source file to\n * produce a warning would be a heavier mechanism than the warning is worth. Enum\n * values render as `EnumName.MEMBER`, so a REVISED decision is textually\n * unambiguous. A scan can only ever UNDER-report here (a renderer change makes it\n * find nothing, never invent something), which is the safe direction for a report\n * that must not cry wolf.\n */\nexport function findSupersededHumanDecisionRefs(previousRenderedSource: string): string[] {\n const refs: string[] = [];\n const chunks = previousRenderedSource.split('\"decisionRef\"');\n // chunks[0] is everything before the first decision — never a decision itself.\n for (let index = 1; index < chunks.length; index += 1) {\n const chunk = chunks[index];\n if (chunk === undefined || !chunk.includes('PlacementDecisionOrigin.REVISED')) continue;\n const ref = chunk.match(/^\\s*:\\s*\"([^\"]+)\"/)?.[1];\n if (ref !== undefined) refs.push(ref);\n }\n return refs;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"placement-plan.family-aspects.d.ts","sourceRoot":"","sources":["../../../../../src/_core/placement-plan/placement-plan.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAI1E,eAAO,MAAM,6BAA6B,EAAE,
|
|
1
|
+
{"version":3,"file":"placement-plan.family-aspects.d.ts","sourceRoot":"","sources":["../../../../../src/_core/placement-plan/placement-plan.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAI1E,eAAO,MAAM,6BAA6B,EAAE,wBA0D3C,CAAC"}
|
|
@@ -12,6 +12,11 @@ export const PLACEMENT_PLAN_FAMILY_ASPECTS = {
|
|
|
12
12
|
businessKey: 'groupRef',
|
|
13
13
|
headlineField: 'purpose',
|
|
14
14
|
edges: [],
|
|
15
|
+
nonEdgeRefFields: {
|
|
16
|
+
// #2481: nested inside the category on purpose, so it never joins the group keys above and two categories may
|
|
17
|
+
// each name a `people` sub-category without colliding.
|
|
18
|
+
'subGroups.groupRef': 'a sub-category\'s own key, scoped to the category it is declared in — not a reference to anything',
|
|
19
|
+
},
|
|
15
20
|
},
|
|
16
21
|
{
|
|
17
22
|
key: 'placement.decision',
|
|
@@ -47,6 +52,10 @@ export const PLACEMENT_PLAN_FAMILY_ASPECTS = {
|
|
|
47
52
|
*/
|
|
48
53
|
'subject.destinationRef': "an engine settings destination — the engine's own closed vocabulary, not a decided element",
|
|
49
54
|
'subject.viewRef': 'an application view — a surface of the built product, not a decided element',
|
|
55
|
+
// #2481: resolved INSIDE the addressed category's `subGroups`, never against the plan's group keys, which is why
|
|
56
|
+
// it is no edge: an edge resolves through a target aspect's business key, and a sub-category key is unique only
|
|
57
|
+
// within its category.
|
|
58
|
+
'address.subGroupRef': 'a sub-category of the address\'s own category, resolved within that category\'s subGroups',
|
|
50
59
|
},
|
|
51
60
|
},
|
|
52
61
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"placement-plan.family-aspects.js","sourceRoot":"","sources":["../../../../../src/_core/placement-plan/placement-plan.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+CAA+C,EAAE,MAAM,sDAAsD,CAAC;AAEvH,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AAEzF,MAAM,CAAC,MAAM,6BAA6B,GAA6B;IACrE,SAAS,EAAE,+CAA+C,CAAC,cAAc;IACzE,OAAO,EAAE;QACP;YACE,GAAG,EAAE,iBAAiB;YACtB,YAAY,EAAE,QAAQ;YACtB,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,oBAAoB;YAChC,WAAW,EAAE,UAAU;YACvB,aAAa,EAAE,SAAS;YACxB,KAAK,EAAE,EAAE;
|
|
1
|
+
{"version":3,"file":"placement-plan.family-aspects.js","sourceRoot":"","sources":["../../../../../src/_core/placement-plan/placement-plan.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+CAA+C,EAAE,MAAM,sDAAsD,CAAC;AAEvH,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AAEzF,MAAM,CAAC,MAAM,6BAA6B,GAA6B;IACrE,SAAS,EAAE,+CAA+C,CAAC,cAAc;IACzE,OAAO,EAAE;QACP;YACE,GAAG,EAAE,iBAAiB;YACtB,YAAY,EAAE,QAAQ;YACtB,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,oBAAoB;YAChC,WAAW,EAAE,UAAU;YACvB,aAAa,EAAE,SAAS;YACxB,KAAK,EAAE,EAAE;YACT,gBAAgB,EAAE;gBAChB,8GAA8G;gBAC9G,uDAAuD;gBACvD,oBAAoB,EAAE,mGAAmG;aAC1H;SACF;QACD;YACE,GAAG,EAAE,oBAAoB;YACzB,YAAY,EAAE,WAAW;YACzB,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,oFAAoF;YACpF,UAAU,EAAE,uBAAuB;YACnC,WAAW,EAAE,aAAa;YAC1B,aAAa,EAAE,WAAW;YAC1B,KAAK,EAAE;gBACL,qFAAqF;gBACrF,EAAE,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,CAAC,iBAAiB,CAAC,EAAE;gBAClF;;;;mBAIG;gBACH,EAAE,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,CAAC,oBAAoB,CAAC,EAAE;gBACtF,+FAA+F;gBAC/F,EAAE,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,CAAC,sBAAsB,CAAC,EAAE;aAC3F;YACD,gBAAgB,EAAE;gBAChB;;;;;;;;;;mBAUG;gBACH,wBAAwB,EAAE,4FAA4F;gBACtH,iBAAiB,EAAE,6EAA6E;gBAChG,iHAAiH;gBACjH,gHAAgH;gBAChH,uBAAuB;gBACvB,qBAAqB,EAAE,2FAA2F;aACnH;SACF;KACF;CACF,CAAC","sourcesContent":["import { ApplicationSpecificationFamilySemanticSchemaRef } from \"../application-specification-family-identity.schemas\";\nimport type { FamilyAspectsDeclaration } from '../family-aspects.schemas';\nimport { FamilyAspectKind } from '../family-aspects.schemas';\nimport { PlacementGroupSchema, PlacementDecisionSchema } from './placement-plan.schemas';\n\nexport const PLACEMENT_PLAN_FAMILY_ASPECTS: FamilyAspectsDeclaration = {\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.PLACEMENT_PLAN,\n aspects: [\n {\n key: 'placement.group',\n snapshotPath: 'groups',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: PlacementGroupSchema,\n businessKey: 'groupRef',\n headlineField: 'purpose',\n edges: [],\n nonEdgeRefFields: {\n // #2481: nested inside the category on purpose, so it never joins the group keys above and two categories may\n // each name a `people` sub-category without colliding.\n 'subGroups.groupRef': 'a sub-category\\'s own key, scoped to the category it is declared in — not a reference to anything',\n },\n },\n {\n key: 'placement.decision',\n snapshotPath: 'decisions',\n kind: FamilyAspectKind.COLLECTION,\n // A discriminated union (PLACED | DECLINED) — the drift pins read its MERGED shape.\n itemSchema: PlacementDecisionSchema,\n businessKey: 'decisionRef',\n headlineField: 'rationale',\n edges: [\n // Where a PLACED decision lands: the address object's groupRef (absent on DECLINED).\n { field: 'address', throughField: 'groupRef', targetAspects: ['placement.group'] },\n /*\n * WHAT is being placed, when it is a module of the domain plan (#1427). The subject is an\n * object, so this link was carried in the data and invisible to the registry until the drift\n * pin walked one level down.\n */\n { field: 'subject', throughField: 'moduleRef', targetAspects: ['domain-plan.module'] },\n // An edge since #1482, for the same reason as a build task's: the resource is addressable now.\n { field: 'subject', throughField: 'resourceRef', targetAspects: ['domain-plan.resource'] },\n ],\n nonEdgeRefFields: {\n /*\n * The other three subject kinds, and none of them reaches a decided element (#1427).\n *\n * `destinationRef` is the ENGINE's settings-destination vocabulary — a closed set of ids the\n * engine ships, held by the semantic authority as the universe `UNKNOWN_SUBJECT` measures\n * against. It is exactly the kind of external vocabulary this field exists to name.\n *\n * `resourceRef` and `viewRef` address the built APPLICATION. Same shape as a build task's\n * `target.resourceRef`: the domain plan lists resources as strings inside a module rather\n * than as an addressable aspect, and a view is not a decided element at all.\n */\n 'subject.destinationRef': \"an engine settings destination — the engine's own closed vocabulary, not a decided element\",\n 'subject.viewRef': 'an application view — a surface of the built product, not a decided element',\n // #2481: resolved INSIDE the addressed category's `subGroups`, never against the plan's group keys, which is why\n // it is no edge: an edge resolves through a target aspect's business key, and a sub-category key is unique only\n // within its category.\n 'address.subGroupRef': 'a sub-category of the address\\'s own category, resolved within that category\\'s subGroups',\n },\n },\n ],\n};\n"]}
|