@wildo-ai/saas-specifications 1.1.3 → 1.1.5
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/assurance/external-framework-mapping.json +1228 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts +34 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.js +66 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.js.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts +3 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js +48 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts +201 -0
- package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js +306 -0
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +304 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.js +314 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -0
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts +2 -1
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.js +4 -1
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/assertions/assertion-behaviors.schemas.d.ts +4 -4
- package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts +5 -4
- package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/assertions/assertion-specification.schemas.js +4 -1
- package/dist/esm/_core/assertions/assertion-specification.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts +5 -4
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-asset.schemas.js +7 -4
- package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-audience.schemas.d.ts +31 -0
- package/dist/esm/_core/brand/brand-audience.schemas.d.ts.map +1 -0
- package/dist/esm/_core/brand/brand-audience.schemas.js +29 -0
- package/dist/esm/_core/brand/brand-audience.schemas.js.map +1 -0
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-generation.schemas.d.ts +4 -4
- package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts +12 -9
- package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-logo-direction.schemas.js +12 -7
- package/dist/esm/_core/brand/brand-logo-direction.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-name.schemas.d.ts +2 -2
- package/dist/esm/_core/brand/brand-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot-validation.js +1 -8
- package/dist/esm/_core/brand/brand-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +23 -12
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.js +7 -0
- package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts +2 -2
- package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand.family-aspects.js +12 -1
- package/dist/esm/_core/brand/brand.family-aspects.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +252 -2
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js +19 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +121 -1
- 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 +215 -2
- 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 +703 -14
- 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 +536 -7
- 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.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js +82 -2
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts +3 -3
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.js +1 -1
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.js.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +4 -3
- 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 +4 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js.map +1 -1
- package/dist/esm/_core/business-semantics.specifications.schemas.d.ts +36 -0
- package/dist/esm/_core/business-semantics.specifications.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-semantics.specifications.schemas.js +52 -1
- package/dist/esm/_core/business-semantics.specifications.schemas.js.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts +22 -0
- package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition-validation.js +89 -0
- package/dist/esm/_core/capability-composition/capability-composition-validation.js.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition.family-aspects.d.ts +3 -0
- package/dist/esm/_core/capability-composition/capability-composition.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition.family-aspects.js +26 -0
- package/dist/esm/_core/capability-composition/capability-composition.family-aspects.js.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +141 -0
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js +147 -0
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +160 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js +124 -4
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts +95 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.js +85 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +743 -14
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +699 -22
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts +98 -6
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js +197 -8
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js.map +1 -1
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +64 -0
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +283 -0
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js +30 -1
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +220 -4
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js +149 -2
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts +70 -3
- 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 +75 -3
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js.map +1 -1
- package/dist/esm/_core/composite-view-specification.schemas.d.ts +14 -0
- package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/composite-view-specification.schemas.js +13 -0
- package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/cross-registry-assertions.d.ts +6 -4
- package/dist/esm/_core/cross-registry-assertions.d.ts.map +1 -1
- package/dist/esm/_core/cross-registry-assertions.js +7 -5
- package/dist/esm/_core/cross-registry-assertions.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts +5 -4
- 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 +5 -2
- 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 +30 -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 +99 -6
- 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 +58 -0
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js +71 -0
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts +37 -0
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan-validation.js +83 -0
- package/dist/esm/_core/experience-plan/experience-plan-validation.js.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js +78 -0
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +285 -0
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js +293 -0
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -0
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +9 -2
- 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 +7 -0
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-personas.family-aspects.d.ts +18 -0
- package/dist/esm/_core/expert-personas/expert-personas.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/expert-personas/expert-personas.family-aspects.js +21 -0
- package/dist/esm/_core/expert-personas/expert-personas.family-aspects.js.map +1 -0
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts +19 -0
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.js +23 -0
- package/dist/esm/_core/expert-personas/expert-role-template.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 +22 -1
- package/dist/esm/_core/family-aspects.registry.js.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts +64 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
- 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 +27 -27
- package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts +59 -59
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js +1 -1
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +6 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts +11 -15
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.js +12 -11
- package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
- package/dist/esm/_core/index.d.ts +16 -0
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js +16 -0
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +52 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js +50 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan-validation.d.ts +27 -0
- package/dist/esm/_core/integration-plan/integration-plan-validation.d.ts.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan-validation.js +63 -0
- package/dist/esm/_core/integration-plan/integration-plan-validation.js.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +52 -0
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +168 -0
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js +170 -0
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -0
- package/dist/esm/_core/market/feature-benefit.schemas.d.ts +6 -5
- package/dist/esm/_core/market/feature-benefit.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/feature-benefit.schemas.js +5 -2
- package/dist/esm/_core/market/feature-benefit.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-alternative.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-alternative.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-alternative.schemas.js +4 -1
- package/dist/esm/_core/market/market-alternative.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts +11 -9
- package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-authored-metadata.schemas.js +13 -10
- package/dist/esm/_core/market/market-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-buying-journey.schemas.d.ts +5 -4
- package/dist/esm/_core/market/market-buying-journey.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-buying-journey.schemas.js +4 -1
- package/dist/esm/_core/market/market-buying-journey.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-category.schemas.d.ts +2 -2
- package/dist/esm/_core/market/market-channel.schemas.d.ts +6 -5
- package/dist/esm/_core/market/market-channel.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-channel.schemas.js +6 -3
- package/dist/esm/_core/market/market-channel.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-gain.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-gain.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-gain.schemas.js +4 -1
- package/dist/esm/_core/market/market-gain.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-icp.schemas.d.ts +12 -11
- package/dist/esm/_core/market/market-icp.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-icp.schemas.js +12 -9
- package/dist/esm/_core/market/market-icp.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-job.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-job.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-job.schemas.js +4 -1
- package/dist/esm/_core/market/market-job.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-message-template.schemas.d.ts +5 -4
- package/dist/esm/_core/market/market-message-template.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-message-template.schemas.js +5 -2
- package/dist/esm/_core/market/market-message-template.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-objection.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-objection.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-objection.schemas.js +4 -1
- package/dist/esm/_core/market/market-objection.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-pain.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-pain.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-pain.schemas.js +4 -1
- package/dist/esm/_core/market/market-pain.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-persona.schemas.d.ts +5 -4
- package/dist/esm/_core/market/market-persona.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-persona.schemas.js +5 -2
- package/dist/esm/_core/market/market-persona.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-positioning.schemas.d.ts +2 -2
- package/dist/esm/_core/market/market-proof.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-proof.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-proof.schemas.js +4 -1
- package/dist/esm/_core/market/market-proof.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +54 -54
- package/dist/esm/_core/market/market-snapshot.schemas.d.ts +59 -59
- package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-tone-of-voice.schemas.js +4 -1
- package/dist/esm/_core/market/market-tone-of-voice.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-trigger.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-trigger.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-trigger.schemas.js +4 -1
- package/dist/esm/_core/market/market-trigger.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 +25 -1
- package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts +27 -22
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.js +7 -12
- package/dist/esm/_core/onboarding-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +21 -21
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +30 -16
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.js +34 -12
- 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 +24 -1
- 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 +78 -47
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js +62 -24
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
- package/dist/esm/_core/provider-specification.schemas.d.ts +19 -0
- package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/provider-specification.schemas.js +0 -20
- package/dist/esm/_core/provider-specification.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +2 -2
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts +2 -2
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +4 -4
- package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.js +3 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.d.ts +8 -0
- package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts +2 -2
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts +5 -0
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js +1 -8
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts +2 -2
- package/dist/esm/_core/roadmap/roadmap.family-aspects.js +1 -1
- package/dist/esm/_core/roadmap/roadmap.family-aspects.js.map +1 -1
- package/dist/esm/_core/utils/extract-field-specs.d.ts.map +1 -1
- package/dist/esm/_core/utils/extract-field-specs.js +4 -2
- package/dist/esm/_core/utils/extract-field-specs.js.map +1 -1
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/vision/vision-constraint.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-idea.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-mission.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-problem.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-snapshot.schemas.d.ts +10 -10
- package/dist/esm/_core/vision/vision-success-criterion.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision.family-aspects.js +1 -1
- package/dist/esm/_core/vision/vision.family-aspects.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts +45 -0
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js +55 -0
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts +37 -0
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -0
- package/dist/esm/_core/website-plan/website-plan-validation.js +77 -0
- package/dist/esm/_core/website-plan/website-plan-validation.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js +35 -0
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +194 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.js +193 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -0
- package/dist/esm/_core/zod-core-nameability.d.ts +47 -0
- package/dist/esm/_core/zod-core-nameability.d.ts.map +1 -0
- package/dist/esm/_core/zod-core-nameability.js +1 -0
- package/dist/esm/_core/zod-core-nameability.js.map +1 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +86 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +96 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +139 -34
- 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 +182 -11
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts +71 -2
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js +88 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/creator-inputs.family-aspects.d.ts +14 -0
- package/dist/esm/application-creation/creator-inputs.family-aspects.d.ts.map +1 -0
- package/dist/esm/application-creation/creator-inputs.family-aspects.js +17 -0
- package/dist/esm/application-creation/creator-inputs.family-aspects.js.map +1 -0
- package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -1
- package/dist/esm/application-creation/document-facts.family-aspects.js +25 -1
- package/dist/esm/application-creation/document-facts.family-aspects.js.map +1 -1
- package/dist/esm/application-creation/document-release-policy.family-aspects.js +1 -1
- package/dist/esm/application-creation/document-release-policy.family-aspects.js.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +14 -48
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.js +52 -52
- package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +209 -495
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +257 -534
- 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 +10 -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 +10 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation.exports.d.ts +73 -8
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.js +103 -8
- package/dist/esm/application-creation.exports.js.map +1 -1
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts +24 -0
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts.map +1 -0
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js +24 -0
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js.map +1 -0
- package/dist/esm/assurance/application-document-publication.schemas.d.ts +49 -0
- package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/application-document-publication.schemas.js +51 -0
- package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
- package/dist/esm/assurance/application-document-release-set.schemas.d.ts +161 -0
- package/dist/esm/assurance/application-document-release-set.schemas.d.ts.map +1 -0
- package/dist/esm/assurance/application-document-release-set.schemas.js +138 -0
- package/dist/esm/assurance/application-document-release-set.schemas.js.map +1 -0
- package/dist/esm/assurance/application-risk-register.family-aspects.d.ts +28 -0
- package/dist/esm/assurance/application-risk-register.family-aspects.d.ts.map +1 -0
- package/dist/esm/assurance/application-risk-register.family-aspects.js +58 -0
- package/dist/esm/assurance/application-risk-register.family-aspects.js.map +1 -0
- package/dist/esm/assurance/application-risk-register.schemas.d.ts +172 -0
- package/dist/esm/assurance/application-risk-register.schemas.d.ts.map +1 -0
- package/dist/esm/assurance/application-risk-register.schemas.js +192 -0
- package/dist/esm/assurance/application-risk-register.schemas.js.map +1 -0
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts +177 -0
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -0
- package/dist/esm/assurance/application-risk-signals.derivations.js +229 -0
- package/dist/esm/assurance/application-risk-signals.derivations.js.map +1 -0
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +257 -13
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +836 -69
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +99 -33
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.js +38 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts +30 -0
- package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-blueprint-selection.js +40 -0
- package/dist/esm/assurance/assurance-document-blueprint-selection.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.js +99 -8
- package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts +133 -41
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.js +60 -11
- package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts +470 -0
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js +451 -0
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js.map +1 -0
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts +0 -33
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +3339 -159
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts +21 -0
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.js +21 -0
- package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +32 -2
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js +148 -5
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +257 -14
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.js +588 -45
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-program.family-aspects.d.ts +32 -8
- package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.family-aspects.js +288 -10
- package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.d.ts +1182 -333
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +460 -68
- package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.js +70 -2
- package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.d.ts +17 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.js +17 -0
- 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 +205 -3
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/document-publication.family-aspects.js +1 -1
- package/dist/esm/assurance/document-publication.family-aspects.js.map +1 -1
- package/dist/esm/assurance/document-release-set.family-aspects.d.ts +11 -0
- package/dist/esm/assurance/document-release-set.family-aspects.d.ts.map +1 -0
- package/dist/esm/assurance/document-release-set.family-aspects.js +36 -0
- package/dist/esm/assurance/document-release-set.family-aspects.js.map +1 -0
- package/dist/esm/assurance/governed-document-release.d.ts +211 -0
- package/dist/esm/assurance/governed-document-release.d.ts.map +1 -0
- package/dist/esm/assurance/governed-document-release.js +314 -0
- package/dist/esm/assurance/governed-document-release.js.map +1 -0
- package/dist/esm/assurance.exports.d.ts +5 -0
- package/dist/esm/assurance.exports.d.ts.map +1 -1
- package/dist/esm/assurance.exports.js +5 -0
- package/dist/esm/assurance.exports.js.map +1 -1
- package/dist/esm/companion-exports.d.ts +135 -11
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/engine/_bootstrap.d.ts +1 -1
- package/dist/esm/engine/_bootstrap.js +1 -1
- package/dist/esm/engine/_bootstrap.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +0 -23
- 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 +110 -28
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +1 -1
- 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/auth/resources/application-access-grants.resource.specification.d.ts +57 -0
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +412 -0
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/index.d.ts +2 -0
- package/dist/esm/engine/auth/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/index.js +2 -0
- package/dist/esm/engine/auth/resources/index.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +4 -4
- 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 +57 -6
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.d.ts +9 -0
- package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.js +141 -0
- package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +4 -1
- 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 +10 -6
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +5 -4
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts +4 -0
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js +129 -0
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts +19 -7
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +24 -13
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts +0 -40
- 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 +14 -27
- 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 +8 -2
- 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 +16 -3
- 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 +5 -2
- 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 +10 -16
- 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.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +15 -5
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.d.ts +9 -0
- package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.js +164 -0
- package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.d.ts +14 -0
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js +124 -0
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.d.ts +9 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.js +123 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.d.ts +11 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.js +172 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/index.d.ts +4 -0
- package/dist/esm/engine/billing/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/index.js +4 -0
- package/dist/esm/engine/billing/resources/index.js.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts +3 -3
- package/dist/esm/engine/billing/resources/products.resource.specification.d.ts +3 -3
- 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/subscriptions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +92 -36
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +77 -0
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +375 -0
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +1 -1
- package/dist/esm/engine/compliance/resources/index.d.ts +2 -0
- package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/index.js +2 -0
- package/dist/esm/engine/compliance/resources/index.js.map +1 -1
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts +16 -0
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js +183 -0
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js.map +1 -0
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.js +28 -0
- 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 +123 -19
- package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.js +2 -1
- 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 +1 -0
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.js +4 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.js +15 -3
- package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +3 -0
- 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 +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +3 -3
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts +14 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +184 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.js +18 -0
- package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.js +21 -0
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js +82 -0
- package/dist/esm/engine/frontend-components/app/app-layout-billing-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 +6 -5
- 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-consent-gate.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js +81 -0
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.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 +4 -2
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js +1 -1
- 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-register.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js +21 -0
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.js +20 -2
- package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.js +177 -0
- package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.js +10 -2
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.js +166 -0
- package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.js +122 -0
- package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.js +152 -0
- package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.js +13 -0
- package/dist/esm/engine/frontend-components/feedback/celebration-overlay.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/form/controls/string/inline-edit-text.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.js +92 -0
- package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js +29 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/index.d.ts +12 -0
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js +40 -0
- package/dist/esm/engine/frontend-components/index.js.map +1 -1
- package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts +25 -1
- package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.js +16 -2
- package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts +9 -0
- package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.js +91 -7
- package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.js +9 -3
- package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.js +41 -1
- package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.js +19 -1
- package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.js.map +1 -1
- 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 +21 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +2 -0
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +4 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +48 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -0
- 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 +3 -2
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +77 -3
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +11 -3
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +26 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +17 -8
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts +49 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +293 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +5 -5
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +1 -1
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +6 -6
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js +3 -3
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +2 -2
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts +3 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +27 -5
- 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 +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +31 -12
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
- package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/anthropic.provider.specification.js +10 -1
- package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/apple.provider.specification.js +12 -1
- package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/email-preview.provider.specification.js +9 -1
- package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.js +12 -1
- package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/google.provider.specification.js +12 -1
- package/dist/esm/engine/providers/google.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/grok.provider.specification.js +10 -1
- package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.js +22 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/mistral.provider.specification.js +10 -1
- package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/openai.provider.specification.js +10 -1
- package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/opencode.provider.specification.js +9 -1
- package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.js +10 -1
- package/dist/esm/engine/providers/perplexity.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 +10 -1
- package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/stripe.provider.specification.js +10 -1
- package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/twilio.provider.specification.js +10 -1
- package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js +21 -0
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js.map +1 -0
- package/dist/esm/engine/roles/index.d.ts +4 -3
- package/dist/esm/engine/roles/index.d.ts.map +1 -1
- package/dist/esm/engine/roles/index.js +6 -4
- package/dist/esm/engine/roles/index.js.map +1 -1
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts +5 -3
- 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 +2 -2
- 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 +2 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +2 -2
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +1 -0
- 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 +8 -3
- 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 +2 -2
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +2 -2
- 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 +5 -5
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +4 -4
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +3 -3
- 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 +1 -1
- 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 +1 -0
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.js +2 -2
- package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
- package/dist/esm/index.d.ts +39 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +39 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts +134 -0
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js +142 -0
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts +35 -0
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.js +45 -0
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.js.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan-validation.d.ts +33 -0
- package/dist/esm/technical-documentation/application-documentation-plan-validation.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan-validation.js +77 -0
- package/dist/esm/technical-documentation/application-documentation-plan-validation.js.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.d.ts +3 -0
- package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.js +40 -0
- package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.js.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts +122 -0
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.js +138 -0
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.js.map +1 -0
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +7 -15
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-assets.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-assets.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-capture.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-capture.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-common.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-common.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-publication.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-publication.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +14 -0
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.js +16 -3
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
- package/dist/esm/technical-documentation.exports.d.ts +4 -0
- package/dist/esm/technical-documentation.exports.d.ts.map +1 -1
- package/dist/esm/technical-documentation.exports.js +24 -0
- package/dist/esm/technical-documentation.exports.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +8 -13
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts +0 -103
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts.map +0 -1
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.js +0 -76
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.js.map +0 -1
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts +0 -108
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts.map +0 -1
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js +0 -119
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +0 -1
- package/dist/esm/application-creation-playbook-runtime.exports.d.ts +0 -3
- package/dist/esm/application-creation-playbook-runtime.exports.d.ts.map +0 -1
- package/dist/esm/application-creation-playbook-runtime.exports.js +0 -3
- package/dist/esm/application-creation-playbook-runtime.exports.js.map +0 -1
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts.map +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js.map +0 -0
|
@@ -1,9 +1,59 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CoreResourceOperation, buildExecutionPlanStepDependency, selectReadyExecutionPlanSteps } from '@wildo-ai/saas-models';
|
|
2
|
+
import { BuildPlanResourceStage, BuildPlanTaskProductKind, BuildPlanTaskTargetKind } from './build-plan-task-graph.schemas.js';
|
|
2
3
|
/** Deterministic finding over a build-plan task graph; authoring consistency beyond structural validity. */
|
|
3
4
|
export var BuildPlanTaskGraphFindingCode;
|
|
4
5
|
(function (BuildPlanTaskGraphFindingCode) {
|
|
5
6
|
/** A prerequisite chain returns to its own task: no valid dispatch order exists. */
|
|
6
7
|
BuildPlanTaskGraphFindingCode["PREREQUISITE_CYCLE"] = "PREREQUISITE_CYCLE";
|
|
8
|
+
/**
|
|
9
|
+
* A coding task declares no product, so nothing in the tree can prove it landed.
|
|
10
|
+
*
|
|
11
|
+
* The host treats such a task as NEVER landed, which is the safe direction — it is re-offered,
|
|
12
|
+
* visibly, rather than silently skipped. Reported and not a hard floor because both committed
|
|
13
|
+
* plans predate `produces`; promote it once they are regenerated (#597).
|
|
14
|
+
*/
|
|
15
|
+
BuildPlanTaskGraphFindingCode["TASK_DECLARES_NO_PRODUCT"] = "TASK_DECLARES_NO_PRODUCT";
|
|
16
|
+
/**
|
|
17
|
+
* A resource-registration product names ONLY operations the scaffold already writes, so it is true
|
|
18
|
+
* before the task runs and the host would report the task landed having done nothing.
|
|
19
|
+
*
|
|
20
|
+
* Measured 2026-09-13 on Wonder CRM's first regenerated plan: all six CONFIG tasks declared
|
|
21
|
+
* `create / read / list / update / delete`, which `add-resource` writes on every resource on day
|
|
22
|
+
* one, and the dispatcher reported all six LANDED with no config task ever run — #597 returning
|
|
23
|
+
* through the vocabulary built to end it. The rule already existed in prose at three sites (this
|
|
24
|
+
* kind's JSDoc, the decomposer's output contract, the judge checklist) and was enforced at none.
|
|
25
|
+
*
|
|
26
|
+
* A WARNING, like {@link TASK_DECLARES_NO_PRODUCT}, and for the same reason: the host now discounts
|
|
27
|
+
* scaffolded operations as landing evidence, so such a task is treated as unproven rather than
|
|
28
|
+
* landed — marked, never blocking. Refusing would stall a lane over an authoring gap.
|
|
29
|
+
*/
|
|
30
|
+
BuildPlanTaskGraphFindingCode["PRODUCT_NAMES_ONLY_SCAFFOLDED_OPERATIONS"] = "PRODUCT_NAMES_ONLY_SCAFFOLDED_OPERATIONS";
|
|
31
|
+
/**
|
|
32
|
+
* A task's `objective` names a COMMAND or a CHECK ID, so it states a completion condition the
|
|
33
|
+
* dispatch contract will never evaluate.
|
|
34
|
+
*
|
|
35
|
+
* The contract is explicit and predates this: *"The task never carries paths, commands, prompts or
|
|
36
|
+
* runtime controls — the dispatch host derives mutation scope and verification from the target
|
|
37
|
+
* kind."* The host resolves each target kind to a mutation scope and a check set; nothing reads an
|
|
38
|
+
* objective for a check, so a check named there is a promise to nobody.
|
|
39
|
+
*
|
|
40
|
+
* Measured on the first end-to-end journey run (#1273): the decomposer wrote *"finish when
|
|
41
|
+
* `wildo db diff --check` is clean"* into NINE task objectives. The dispatch judge then correctly
|
|
42
|
+
* reported CONCERN on `build-task-verified-change-set` — the objective required a verification the
|
|
43
|
+
* recorded check list did not contain — for tasks whose work was entirely correct. The migration
|
|
44
|
+
* obligation was never missing: a migration is a `COMPANION_GENERATION_STEP`, landed through
|
|
45
|
+
* `SCHEMA_PLAN_IN_SYNC`, which runs that exact command on every landed resolution. The objective
|
|
46
|
+
* was claiming a gate that lives somewhere else.
|
|
47
|
+
*
|
|
48
|
+
* The cost is the judge's signal. A criterion that can never be satisfied returns CONCERN on good
|
|
49
|
+
* work, and a reviewer who sees CONCERN on everything stops reading it.
|
|
50
|
+
*
|
|
51
|
+
* A WARNING, like its two siblings above and for the same reason: this is an authoring gap, and
|
|
52
|
+
* refusing would stall a whole lane over prose. The decomposer's own method already says the
|
|
53
|
+
* migration is not a coding objective and names the application-wide backstop — so, once more, a
|
|
54
|
+
* rule that existed in prose and was enforced nowhere.
|
|
55
|
+
*/
|
|
56
|
+
BuildPlanTaskGraphFindingCode["OBJECTIVE_NAMES_A_RUNTIME_CONTROL"] = "OBJECTIVE_NAMES_A_RUNTIME_CONTROL";
|
|
7
57
|
/** A resource stage is declared without the stage that must precede it (schema → config → ui-behavior → spec) anywhere in the graph. */
|
|
8
58
|
BuildPlanTaskGraphFindingCode["RESOURCE_STAGE_WITHOUT_PREDECESSOR"] = "RESOURCE_STAGE_WITHOUT_PREDECESSOR";
|
|
9
59
|
/**
|
|
@@ -24,6 +74,22 @@ export var BuildPlanTaskGraphFindingCode;
|
|
|
24
74
|
* dispatched to author `*.resources-config.ts` for a schema that does not exist yet.
|
|
25
75
|
*/
|
|
26
76
|
BuildPlanTaskGraphFindingCode["RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR"] = "RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR";
|
|
77
|
+
/**
|
|
78
|
+
* A product ref that cannot be an identifier: it has whitespace, an apostrophe, a bracket or a
|
|
79
|
+
* sentence's punctuation, or is far longer than a name — so the artifact it claims can never be
|
|
80
|
+
* found, and the task can never land (#1543).
|
|
81
|
+
*
|
|
82
|
+
* A decomposing model naturally writes the CONCEPT: measured on the first end-to-end run, 52 of 52
|
|
83
|
+
* `fieldRefs` read like `"the item's title"` where the schema spells `title`, and every schema task
|
|
84
|
+
* was unlandable until a human noticed the board had stopped moving. The decomposer's method says a
|
|
85
|
+
* ref is an artifact identity, and a method instruction is a prompt, not a gate.
|
|
86
|
+
*
|
|
87
|
+
* Deliberately LEXICAL and conservative: it cannot tell whether `title` is the RIGHT field, only that
|
|
88
|
+
* a phrase is not a field name at all. A HARD FLOOR, because the plan would be a lie about what its
|
|
89
|
+
* tasks produce — and at generation a floor goes back to the model with the finding, which is the
|
|
90
|
+
* cheapest moment to fix it.
|
|
91
|
+
*/
|
|
92
|
+
BuildPlanTaskGraphFindingCode["PRODUCT_REF_IS_NOT_AN_IDENTIFIER"] = "PRODUCT_REF_IS_NOT_AN_IDENTIFIER";
|
|
27
93
|
})(BuildPlanTaskGraphFindingCode || (BuildPlanTaskGraphFindingCode = {}));
|
|
28
94
|
/**
|
|
29
95
|
* The finding codes that must block a landing; everything else is an authoring warning.
|
|
@@ -38,10 +104,61 @@ export var BuildPlanTaskGraphFindingCode;
|
|
|
38
104
|
* none at all; an undeclared stage edge admits one that builds config before schema). Everything
|
|
39
105
|
* else here is a judgement about authoring taste, which the creator's review owns.
|
|
40
106
|
*/
|
|
107
|
+
/**
|
|
108
|
+
* The core operations the `add-resource` composition scenario writes into EVERY resource's
|
|
109
|
+
* `resources-config.ts` on day one — so naming one of them proves nothing about a build task.
|
|
110
|
+
*
|
|
111
|
+
* One named source for a fact that otherwise lives only inside a Handlebars template, pinned to that
|
|
112
|
+
* template by `scaffolded-resource-operations.parity.test.ts`: change the scenario and the test
|
|
113
|
+
* fails until this list moves with it.
|
|
114
|
+
*/
|
|
115
|
+
export const SCAFFOLDED_RESOURCE_CORE_OPERATIONS = [
|
|
116
|
+
CoreResourceOperation.READ,
|
|
117
|
+
CoreResourceOperation.LIST,
|
|
118
|
+
CoreResourceOperation.CREATE,
|
|
119
|
+
CoreResourceOperation.UPDATE,
|
|
120
|
+
CoreResourceOperation.DELETE,
|
|
121
|
+
];
|
|
122
|
+
/** True when an operation ref names a verb composition already wrote, so it is no evidence of work. */
|
|
123
|
+
export function isScaffoldedResourceOperationRef(operationRef) {
|
|
124
|
+
return SCAFFOLDED_RESOURCE_CORE_OPERATIONS.includes(operationRef.trim().toLowerCase());
|
|
125
|
+
}
|
|
41
126
|
export const BUILD_PLAN_TASK_GRAPH_HARD_FLOOR_CODES = [
|
|
42
127
|
BuildPlanTaskGraphFindingCode.PREREQUISITE_CYCLE,
|
|
43
128
|
BuildPlanTaskGraphFindingCode.RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR,
|
|
129
|
+
BuildPlanTaskGraphFindingCode.PRODUCT_REF_IS_NOT_AN_IDENTIFIER,
|
|
44
130
|
];
|
|
131
|
+
/**
|
|
132
|
+
* What an identifier an artifact can spell looks like: a letter or `_`/`$` first, then word characters
|
|
133
|
+
* and the separators identifiers and addresses use (`.`, `-`, `:`, `/`). No whitespace, no quote, no
|
|
134
|
+
* bracket — the marks of a phrase. Longer than {@link MAXIMUM_IDENTIFIER_LENGTH} is a sentence.
|
|
135
|
+
*/
|
|
136
|
+
const IDENTIFIER_SHAPE = /^[A-Za-z_$][\w$.:/-]*$/;
|
|
137
|
+
const MAXIMUM_IDENTIFIER_LENGTH = 80;
|
|
138
|
+
/** The FREE-TEXT ref lists of a product — the ones the schema leaves unconstrained. Slug-typed refs are already checked by the schema. */
|
|
139
|
+
function freeTextProductRefs(product) {
|
|
140
|
+
switch (product.kind) {
|
|
141
|
+
case BuildPlanTaskProductKind.RESOURCE_SCHEMA_FIELDS:
|
|
142
|
+
case BuildPlanTaskProductKind.RESOURCE_SPECIFICATION:
|
|
143
|
+
return product.fieldRefs;
|
|
144
|
+
case BuildPlanTaskProductKind.RESOURCE_REGISTRATION:
|
|
145
|
+
return product.operationRefs;
|
|
146
|
+
case BuildPlanTaskProductKind.APPLICATION_FRONTEND_CONFIG:
|
|
147
|
+
return product.declarationRefs;
|
|
148
|
+
case BuildPlanTaskProductKind.APPLICATION_WORKER:
|
|
149
|
+
return product.jobRefs;
|
|
150
|
+
case BuildPlanTaskProductKind.APPLICATION_MINION:
|
|
151
|
+
return product.behaviorRefs;
|
|
152
|
+
case BuildPlanTaskProductKind.PDF_TEMPLATE:
|
|
153
|
+
return [product.templateRef];
|
|
154
|
+
default:
|
|
155
|
+
return [];
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
/** True when a product ref could be an artifact's identifier. */
|
|
159
|
+
export function isIdentifierShapedProductRef(ref) {
|
|
160
|
+
return ref.length <= MAXIMUM_IDENTIFIER_LENGTH && IDENTIFIER_SHAPE.test(ref);
|
|
161
|
+
}
|
|
45
162
|
const STAGE_ORDER = [
|
|
46
163
|
BuildPlanResourceStage.SCHEMA,
|
|
47
164
|
BuildPlanResourceStage.CONFIG,
|
|
@@ -140,13 +257,109 @@ export function validateBuildPlanTaskGraph(graph) {
|
|
|
140
257
|
});
|
|
141
258
|
}
|
|
142
259
|
}
|
|
260
|
+
graph.tasks.forEach((task) => {
|
|
261
|
+
task.produces.forEach((product) => {
|
|
262
|
+
if (product.kind !== BuildPlanTaskProductKind.RESOURCE_REGISTRATION)
|
|
263
|
+
return;
|
|
264
|
+
if (!product.operationRefs.every(isScaffoldedResourceOperationRef))
|
|
265
|
+
return;
|
|
266
|
+
findings.push({
|
|
267
|
+
code: BuildPlanTaskGraphFindingCode.PRODUCT_NAMES_ONLY_SCAFFOLDED_OPERATIONS,
|
|
268
|
+
taskRef: task.taskRef,
|
|
269
|
+
message: `${task.taskRef} declares ${product.resourceRef}'s registration as [${product.operationRefs.join(', ')}], which the add-resource scaffold already writes; name the operations this task ADDS, or the host cannot tell it ran.`,
|
|
270
|
+
});
|
|
271
|
+
});
|
|
272
|
+
});
|
|
273
|
+
graph.tasks.forEach((task) => {
|
|
274
|
+
task.produces.forEach((product) => {
|
|
275
|
+
const phrases = freeTextProductRefs(product).filter((ref) => !isIdentifierShapedProductRef(ref));
|
|
276
|
+
if (phrases.length === 0)
|
|
277
|
+
return;
|
|
278
|
+
findings.push({
|
|
279
|
+
code: BuildPlanTaskGraphFindingCode.PRODUCT_REF_IS_NOT_AN_IDENTIFIER,
|
|
280
|
+
taskRef: task.taskRef,
|
|
281
|
+
message: `${task.taskRef} declares its ${product.kind} product as ${phrases.map((ref) => JSON.stringify(ref)).join(', ')}, which cannot be an identifier `
|
|
282
|
+
+ '(whitespace, a quote, a bracket, or too long to be a name). Name the artifact as the code spells it (`title`, not "the item\'s title"), or the task can never be proven landed.',
|
|
283
|
+
});
|
|
284
|
+
});
|
|
285
|
+
});
|
|
286
|
+
/*
|
|
287
|
+
* A shell command, a package-manager invocation, or a `check:` id in the objective. Matched on the
|
|
288
|
+
* VERB rather than on any particular tool so a plan naming `pnpm check:x` and one naming
|
|
289
|
+
* `wildo db diff` are the same finding — what is wrong is that a task states a runtime control at
|
|
290
|
+
* all, not which one it chose.
|
|
291
|
+
*/
|
|
292
|
+
const RUNTIME_CONTROL_IN_PROSE = /\b(?:wildo|pnpm|npm|npx|yarn|tsc)\s+[a-z]|\bcheck:[a-z][a-z0-9-]*/iu;
|
|
293
|
+
graph.tasks.forEach((task) => {
|
|
294
|
+
const objective = typeof task.objective === 'string' ? task.objective : '';
|
|
295
|
+
const named = RUNTIME_CONTROL_IN_PROSE.exec(objective);
|
|
296
|
+
if (named === null)
|
|
297
|
+
return;
|
|
298
|
+
findings.push({
|
|
299
|
+
code: BuildPlanTaskGraphFindingCode.OBJECTIVE_NAMES_A_RUNTIME_CONTROL,
|
|
300
|
+
taskRef: task.taskRef,
|
|
301
|
+
message: `${task.taskRef}'s objective names the runtime control "${named[0]}", which the dispatch host never evaluates — it derives verification from the target kind. State WHAT the task must produce, not how it will be checked.`,
|
|
302
|
+
});
|
|
303
|
+
});
|
|
304
|
+
graph.tasks.forEach((task) => {
|
|
305
|
+
if (task.target.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP)
|
|
306
|
+
return;
|
|
307
|
+
if (task.produces.length > 0)
|
|
308
|
+
return;
|
|
309
|
+
findings.push({
|
|
310
|
+
code: BuildPlanTaskGraphFindingCode.TASK_DECLARES_NO_PRODUCT,
|
|
311
|
+
taskRef: task.taskRef,
|
|
312
|
+
message: `${task.taskRef} declares no product, so nothing in the working tree can prove it landed; the host will keep offering it.`,
|
|
313
|
+
});
|
|
314
|
+
});
|
|
143
315
|
return findings;
|
|
144
316
|
}
|
|
317
|
+
/**
|
|
318
|
+
* The identity a build plan has as an ENGINE execution plan (#1359).
|
|
319
|
+
*
|
|
320
|
+
* An application has one build plan, so both refs are constants. `actorSystemId` names the actor
|
|
321
|
+
* system that OWNS the plan — the host registers its build system under this exact ref, so the edge
|
|
322
|
+
* a step carries and the system a run executes under cannot be two spellings of one thing.
|
|
323
|
+
*/
|
|
324
|
+
export const BUILD_PLAN_EXECUTION_PLAN_IDENTITY = {
|
|
325
|
+
planId: 'application-creation.build-plan',
|
|
326
|
+
actorSystemId: 'application-build.system',
|
|
327
|
+
};
|
|
328
|
+
/**
|
|
329
|
+
* The build plan AS engine plan steps: one step per task, one `DEPENDS_ON` edge per prerequisite.
|
|
330
|
+
*
|
|
331
|
+
* ## Why a projection, and why it is not a second copy
|
|
332
|
+
*
|
|
333
|
+
* The authored plan is a specification FILE, and its `prerequisiteTaskRefs` are what a model writes
|
|
334
|
+
* and a human reviews. The engine's dependency vocabulary is `FlowsActors_Relation.DEPENDS_ON`
|
|
335
|
+
* between plan steps. Until 2026-09-20 nothing connected them: the engine's edge had no reader, and
|
|
336
|
+
* this file scheduled the plan itself with a one-line filter.
|
|
337
|
+
*
|
|
338
|
+
* This is a pure function of the file, evaluated when readiness is asked for and STORED NOWHERE, so
|
|
339
|
+
* there is one authored source and nothing that can drift from it. What was rejected is the other
|
|
340
|
+
* arrangement — keeping `prerequisiteTaskRefs` as the scheduler's input and writing `DEPENDS_ON`
|
|
341
|
+
* beside it as a record: two sources for one edge, only one of them read.
|
|
342
|
+
*
|
|
343
|
+
* Total over the graph: every task becomes a step, and every prerequisite an edge, including one
|
|
344
|
+
* that names a task the plan does not contain — which the scheduler fails closed on.
|
|
345
|
+
*/
|
|
346
|
+
export function projectBuildPlanAsExecutionPlanSteps(graph) {
|
|
347
|
+
return graph.tasks.map((task) => ({
|
|
348
|
+
_id: task.taskRef,
|
|
349
|
+
relationships: task.prerequisiteTaskRefs.map((prerequisite) => buildExecutionPlanStepDependency({ ...BUILD_PLAN_EXECUTION_PLAN_IDENTITY, planStepId: prerequisite })),
|
|
350
|
+
task,
|
|
351
|
+
}));
|
|
352
|
+
}
|
|
145
353
|
/**
|
|
146
354
|
* The tasks whose declared prerequisites are all in `landedTaskRefs`; the
|
|
147
355
|
* host's dependency-readiness resolution, in graph order. Pure and total.
|
|
356
|
+
*
|
|
357
|
+
* Decided by the ENGINE's scheduler since #1359 (`selectReadyExecutionPlanSteps`): this supplies the
|
|
358
|
+
* plan as steps and the one thing that is app-creation's — what "done" means. A build task is done
|
|
359
|
+
* when its declared products are COMMITTED, which is git-as-acceptance and the product; the engine
|
|
360
|
+
* is told the answer and never how it was reached.
|
|
148
361
|
*/
|
|
149
362
|
export function selectReadyBuildPlanTasks(graph, landedTaskRefs) {
|
|
150
|
-
return
|
|
363
|
+
return selectReadyExecutionPlanSteps(projectBuildPlanAsExecutionPlanSteps(graph), (planStepId) => landedTaskRefs.has(planStepId)).map((step) => step.task);
|
|
151
364
|
}
|
|
152
365
|
//# sourceMappingURL=build-plan-task-graph-validation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-plan-task-graph-validation.js","sourceRoot":"","sources":["../../../../../src/_core/build-plan/build-plan-task-graph-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAA2B,MAAM,iCAAiC,CAAC;AAE3H,4GAA4G;AAC5G,MAAM,CAAN,IAAY,6BAuBX;AAvBD,WAAY,6BAA6B;IACvC,oFAAoF;IACpF,0EAAyC,CAAA;IACzC,wIAAwI;IACxI,0GAAyE,CAAA;IACzE;;;;;;;;;;;;;;;;OAgBG;IACH,oHAAmF,CAAA;AACrF,CAAC,EAvBW,6BAA6B,KAA7B,6BAA6B,QAuBxC;AAQD;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAA6C;IAC9F,6BAA6B,CAAC,kBAAkB;IAChD,6BAA6B,CAAC,uC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kD,MAAM,CAAC,KAAK,SAAS;aACzN,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,yBAAyB,CAAC,KAAyB,EAAE,cAAmC;IACtG,OAAO,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,oBAAoB,CAAC,KAAK,CAAC,CAAC,YAAY,EAAE,EAAE,CAAC,cAAc,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;AAChK,CAAC","sourcesContent":["import { BuildPlanResourceStage, BuildPlanTaskTargetKind, type BuildPlanTaskGraph } from './build-plan-task-graph.schemas';\n\n/** Deterministic finding over a build-plan task graph; authoring consistency beyond structural validity. */\nexport enum BuildPlanTaskGraphFindingCode {\n /** A prerequisite chain returns to its own task: no valid dispatch order exists. */\n PREREQUISITE_CYCLE = 'PREREQUISITE_CYCLE',\n /** A resource stage is declared without the stage that must precede it (schema → config → ui-behavior → spec) anywhere in the graph. */\n RESOURCE_STAGE_WITHOUT_PREDECESSOR = 'RESOURCE_STAGE_WITHOUT_PREDECESSOR',\n /**\n * The predecessor stage IS in the graph, and this task does not depend on it —\n * so a dispatch order exists that runs this stage FIRST.\n *\n * Distinct from {@link RESOURCE_STAGE_WITHOUT_PREDECESSOR}, and the distinction decides the\n * severity. A missing predecessor can be legitimate: a plan may author only the CONFIG stage of a\n * resource whose schema already stands in the tree and needs no task, which is why that finding is\n * an authoring warning. This one cannot be legitimate — the plan ITSELF says the schema is being\n * (re)authored by a task in this same graph, and then permits the config to be written first.\n *\n * It is invisible without this check because the two mechanisms that decide ordering and the one\n * that reports on it were reading different things: dispatch order comes SOLELY from\n * `prerequisiteTaskRefs` (`selectReadyBuildPlanTasks`), while the stage-sequence check asked only\n * that a predecessor task EXIST somewhere in the graph. A CONFIG task with no prerequisites was\n * therefore simultaneously finding-free and immediately ready, and a coding agent could be\n * dispatched to author `*.resources-config.ts` for a schema that does not exist yet.\n */\n RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR = 'RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR',\n}\n\nexport interface BuildPlanTaskGraphFinding {\n readonly code: BuildPlanTaskGraphFindingCode;\n readonly taskRef: string | null;\n readonly message: string;\n}\n\n/**\n * The finding codes that must block a landing; everything else is an authoring warning.\n *\n * Mirrors `PLACEMENT_PLAN_HARD_FLOOR_CODES` on the sibling family, deliberately: the severity\n * decision belongs beside the codes it classifies, not re-derived at each caller. It used to be\n * re-derived — the semantic authority hard-coded `=== PREREQUISITE_CYCLE` in two expressions — which\n * is how a new floor code would have landed as a warning at one gate while the dispatch gate refused\n * it, with nothing naming the disagreement.\n *\n * Both members share one property: the graph admits a dispatch order that is WRONG (a cycle admits\n * none at all; an undeclared stage edge admits one that builds config before schema). Everything\n * else here is a judgement about authoring taste, which the creator's review owns.\n */\nexport const BUILD_PLAN_TASK_GRAPH_HARD_FLOOR_CODES: readonly BuildPlanTaskGraphFindingCode[] = [\n BuildPlanTaskGraphFindingCode.PREREQUISITE_CYCLE,\n BuildPlanTaskGraphFindingCode.RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR,\n];\n\nconst STAGE_ORDER: readonly BuildPlanResourceStage[] = [\n BuildPlanResourceStage.SCHEMA,\n BuildPlanResourceStage.CONFIG,\n BuildPlanResourceStage.UI_BEHAVIOR,\n BuildPlanResourceStage.SPEC,\n];\n\n/**\n * Validate what Zod cannot: prerequisite cycles and the per-resource stage\n * sequence. Returns findings rather than throwing so a caller can treat a\n * cycle as a hard floor and a missing predecessor as an authoring warning;\n * `BUILD_PLAN_TASK_GRAPH_HARD_FLOOR_CODES` is the classification.\n *\n * The stage-sequence check asks TWO questions, because \"the predecessor exists\"\n * and \"this task waits for it\" are different claims and only the second one\n * constrains what the host may dispatch.\n */\nexport function validateBuildPlanTaskGraph(graph: BuildPlanTaskGraph): readonly BuildPlanTaskGraphFinding[] {\n // An empty graph is unrepresentable: the schema requires min(1) tasks (a zero-task decomposition is\n // a refusal at generation, never an artifact — proven necessary by the first live loop run).\n const findings: BuildPlanTaskGraphFinding[] = [];\n const byRef = new Map(graph.tasks.map((task) => [task.taskRef, task]));\n // Cycle detection over declared prerequisites (depth-first with colours).\n const state = new Map<string, 'visiting' | 'done'>();\n const visit = (taskRef: string, trail: string[]): void => {\n const current = state.get(taskRef);\n if (current === 'done') return;\n if (current === 'visiting') {\n findings.push({ code: BuildPlanTaskGraphFindingCode.PREREQUISITE_CYCLE, taskRef, message: `Prerequisite cycle: ${[...trail, taskRef].join(' → ')}` });\n return;\n }\n state.set(taskRef, 'visiting');\n for (const prerequisite of byRef.get(taskRef)?.prerequisiteTaskRefs ?? []) visit(prerequisite, [...trail, taskRef]);\n state.set(taskRef, 'done');\n };\n for (const task of graph.tasks) visit(task.taskRef, []);\n\n /**\n * Every task that must have landed before `taskRef` may be dispatched — the TRANSITIVE closure of\n * declared prerequisites, memoized, and cycle-safe by construction (the `seen` set terminates).\n *\n * Transitive rather than direct, because transitive reachability is exactly the property that\n * matters: it is the statement \"no dispatch order the host can produce puts this task before that\n * one\". A direct-edge requirement would refuse the legitimate authoring a live decomposition\n * actually produces — `config` depending on `module`, which depends on `schema` — which would make\n * the check a style rule rather than an ordering guarantee.\n */\n const closures = new Map<string, ReadonlySet<string>>();\n const prerequisiteClosure = (taskRef: string): ReadonlySet<string> => {\n const memoized = closures.get(taskRef);\n if (memoized !== undefined) return memoized;\n const reached = new Set<string>();\n // Seed the memo BEFORE walking so a cyclic graph resolves to the partial set rather than recursing.\n closures.set(taskRef, reached);\n const walk = (current: string): void => {\n for (const prerequisite of byRef.get(current)?.prerequisiteTaskRefs ?? []) {\n if (reached.has(prerequisite)) continue;\n reached.add(prerequisite);\n walk(prerequisite);\n }\n };\n walk(taskRef);\n return reached;\n };\n\n // Per-resource stage sequence: each stage after SCHEMA needs its predecessor DECLARED for the same\n // resource, and needs to WAIT for it.\n for (const task of graph.tasks) {\n if (task.target.kind !== BuildPlanTaskTargetKind.RESOURCE_STAGE) continue;\n const stageIndex = STAGE_ORDER.indexOf(task.target.stage);\n if (stageIndex <= 0) continue;\n const predecessorStage = STAGE_ORDER[stageIndex - 1]!;\n const target = task.target;\n const isPredecessor = (candidate: BuildPlanTaskGraph['tasks'][number] | undefined): boolean =>\n candidate !== undefined\n && candidate.target.kind === BuildPlanTaskTargetKind.RESOURCE_STAGE\n && candidate.target.moduleRef === target.moduleRef\n && candidate.target.resourceRef === target.resourceRef\n && candidate.target.stage === predecessorStage;\n\n if (!graph.tasks.some(isPredecessor)) {\n findings.push({\n code: BuildPlanTaskGraphFindingCode.RESOURCE_STAGE_WITHOUT_PREDECESSOR,\n taskRef: task.taskRef,\n message: `Resource ${target.moduleRef}/${target.resourceRef} declares stage ${target.stage} without its ${predecessorStage} stage.`,\n });\n continue;\n }\n if (![...prerequisiteClosure(task.taskRef)].some((prerequisite) => isPredecessor(byRef.get(prerequisite)))) {\n findings.push({\n code: BuildPlanTaskGraphFindingCode.RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR,\n taskRef: task.taskRef,\n message: `Resource ${target.moduleRef}/${target.resourceRef} declares stage ${target.stage} and its ${predecessorStage} stage, but ${task.taskRef} does not depend on it — the host may dispatch ${target.stage} first.`,\n });\n }\n }\n return findings;\n}\n\n/**\n * The tasks whose declared prerequisites are all in `landedTaskRefs`; the\n * host's dependency-readiness resolution, in graph order. Pure and total.\n */\nexport function selectReadyBuildPlanTasks(graph: BuildPlanTaskGraph, landedTaskRefs: ReadonlySet<string>): readonly BuildPlanTaskGraph['tasks'][number][] {\n return graph.tasks.filter((task) => !landedTaskRefs.has(task.taskRef) && task.prerequisiteTaskRefs.every((prerequisite) => landedTaskRefs.has(prerequisite)));\n}\n"]}
|
|
1
|
+
{"version":3,"file":"build-plan-task-graph-validation.js","sourceRoot":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kCAAkC,EAAE,UAAU,EAAE,YAAY,EAAE,CAAC,CAAC;QACxG,IAAI;KACL,CAAC,CAAC,CAAC;AACN,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,yBAAyB,CAAC,KAAyB,EAAE,cAAmC;IACtG,OAAO,6BAA6B,CAClC,oCAAoC,CAAC,KAAK,CAAC,EAC3C,CAAC,UAAU,EAAE,EAAE,CAAC,cAAc,CAAC,GAAG,CAAC,UAAU,CAAC,CAC/C,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC7B,CAAC","sourcesContent":["import { CoreResourceOperation, buildExecutionPlanStepDependency, selectReadyExecutionPlanSteps, type FlowsActors_Relationship } from '@wildo-ai/saas-models';\n\nimport { BuildPlanResourceStage, BuildPlanTaskProductKind, BuildPlanTaskTargetKind, type BuildPlanTaskGraph } from './build-plan-task-graph.schemas';\n\n/** Deterministic finding over a build-plan task graph; authoring consistency beyond structural validity. */\nexport enum BuildPlanTaskGraphFindingCode {\n /** A prerequisite chain returns to its own task: no valid dispatch order exists. */\n PREREQUISITE_CYCLE = 'PREREQUISITE_CYCLE',\n /**\n * A coding task declares no product, so nothing in the tree can prove it landed.\n *\n * The host treats such a task as NEVER landed, which is the safe direction — it is re-offered,\n * visibly, rather than silently skipped. Reported and not a hard floor because both committed\n * plans predate `produces`; promote it once they are regenerated (#597).\n */\n TASK_DECLARES_NO_PRODUCT = 'TASK_DECLARES_NO_PRODUCT',\n /**\n * A resource-registration product names ONLY operations the scaffold already writes, so it is true\n * before the task runs and the host would report the task landed having done nothing.\n *\n * Measured 2026-09-13 on Wonder CRM's first regenerated plan: all six CONFIG tasks declared\n * `create / read / list / update / delete`, which `add-resource` writes on every resource on day\n * one, and the dispatcher reported all six LANDED with no config task ever run — #597 returning\n * through the vocabulary built to end it. The rule already existed in prose at three sites (this\n * kind's JSDoc, the decomposer's output contract, the judge checklist) and was enforced at none.\n *\n * A WARNING, like {@link TASK_DECLARES_NO_PRODUCT}, and for the same reason: the host now discounts\n * scaffolded operations as landing evidence, so such a task is treated as unproven rather than\n * landed — marked, never blocking. Refusing would stall a lane over an authoring gap.\n */\n PRODUCT_NAMES_ONLY_SCAFFOLDED_OPERATIONS = 'PRODUCT_NAMES_ONLY_SCAFFOLDED_OPERATIONS',\n /**\n * A task's `objective` names a COMMAND or a CHECK ID, so it states a completion condition the\n * dispatch contract will never evaluate.\n *\n * The contract is explicit and predates this: *\"The task never carries paths, commands, prompts or\n * runtime controls — the dispatch host derives mutation scope and verification from the target\n * kind.\"* The host resolves each target kind to a mutation scope and a check set; nothing reads an\n * objective for a check, so a check named there is a promise to nobody.\n *\n * Measured on the first end-to-end journey run (#1273): the decomposer wrote *\"finish when\n * `wildo db diff --check` is clean\"* into NINE task objectives. The dispatch judge then correctly\n * reported CONCERN on `build-task-verified-change-set` — the objective required a verification the\n * recorded check list did not contain — for tasks whose work was entirely correct. The migration\n * obligation was never missing: a migration is a `COMPANION_GENERATION_STEP`, landed through\n * `SCHEMA_PLAN_IN_SYNC`, which runs that exact command on every landed resolution. The objective\n * was claiming a gate that lives somewhere else.\n *\n * The cost is the judge's signal. A criterion that can never be satisfied returns CONCERN on good\n * work, and a reviewer who sees CONCERN on everything stops reading it.\n *\n * A WARNING, like its two siblings above and for the same reason: this is an authoring gap, and\n * refusing would stall a whole lane over prose. The decomposer's own method already says the\n * migration is not a coding objective and names the application-wide backstop — so, once more, a\n * rule that existed in prose and was enforced nowhere.\n */\n OBJECTIVE_NAMES_A_RUNTIME_CONTROL = 'OBJECTIVE_NAMES_A_RUNTIME_CONTROL',\n /** A resource stage is declared without the stage that must precede it (schema → config → ui-behavior → spec) anywhere in the graph. */\n RESOURCE_STAGE_WITHOUT_PREDECESSOR = 'RESOURCE_STAGE_WITHOUT_PREDECESSOR',\n /**\n * The predecessor stage IS in the graph, and this task does not depend on it —\n * so a dispatch order exists that runs this stage FIRST.\n *\n * Distinct from {@link RESOURCE_STAGE_WITHOUT_PREDECESSOR}, and the distinction decides the\n * severity. A missing predecessor can be legitimate: a plan may author only the CONFIG stage of a\n * resource whose schema already stands in the tree and needs no task, which is why that finding is\n * an authoring warning. This one cannot be legitimate — the plan ITSELF says the schema is being\n * (re)authored by a task in this same graph, and then permits the config to be written first.\n *\n * It is invisible without this check because the two mechanisms that decide ordering and the one\n * that reports on it were reading different things: dispatch order comes SOLELY from\n * `prerequisiteTaskRefs` (`selectReadyBuildPlanTasks`), while the stage-sequence check asked only\n * that a predecessor task EXIST somewhere in the graph. A CONFIG task with no prerequisites was\n * therefore simultaneously finding-free and immediately ready, and a coding agent could be\n * dispatched to author `*.resources-config.ts` for a schema that does not exist yet.\n */\n RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR = 'RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR',\n /**\n * A product ref that cannot be an identifier: it has whitespace, an apostrophe, a bracket or a\n * sentence's punctuation, or is far longer than a name — so the artifact it claims can never be\n * found, and the task can never land (#1543).\n *\n * A decomposing model naturally writes the CONCEPT: measured on the first end-to-end run, 52 of 52\n * `fieldRefs` read like `\"the item's title\"` where the schema spells `title`, and every schema task\n * was unlandable until a human noticed the board had stopped moving. The decomposer's method says a\n * ref is an artifact identity, and a method instruction is a prompt, not a gate.\n *\n * Deliberately LEXICAL and conservative: it cannot tell whether `title` is the RIGHT field, only that\n * a phrase is not a field name at all. A HARD FLOOR, because the plan would be a lie about what its\n * tasks produce — and at generation a floor goes back to the model with the finding, which is the\n * cheapest moment to fix it.\n */\n PRODUCT_REF_IS_NOT_AN_IDENTIFIER = 'PRODUCT_REF_IS_NOT_AN_IDENTIFIER',\n}\n\nexport interface BuildPlanTaskGraphFinding {\n readonly code: BuildPlanTaskGraphFindingCode;\n readonly taskRef: string | null;\n readonly message: string;\n}\n\n/**\n * The finding codes that must block a landing; everything else is an authoring warning.\n *\n * Mirrors `PLACEMENT_PLAN_HARD_FLOOR_CODES` on the sibling family, deliberately: the severity\n * decision belongs beside the codes it classifies, not re-derived at each caller. It used to be\n * re-derived — the semantic authority hard-coded `=== PREREQUISITE_CYCLE` in two expressions — which\n * is how a new floor code would have landed as a warning at one gate while the dispatch gate refused\n * it, with nothing naming the disagreement.\n *\n * Both members share one property: the graph admits a dispatch order that is WRONG (a cycle admits\n * none at all; an undeclared stage edge admits one that builds config before schema). Everything\n * else here is a judgement about authoring taste, which the creator's review owns.\n */\n/**\n * The core operations the `add-resource` composition scenario writes into EVERY resource's\n * `resources-config.ts` on day one — so naming one of them proves nothing about a build task.\n *\n * One named source for a fact that otherwise lives only inside a Handlebars template, pinned to that\n * template by `scaffolded-resource-operations.parity.test.ts`: change the scenario and the test\n * fails until this list moves with it.\n */\nexport const SCAFFOLDED_RESOURCE_CORE_OPERATIONS: readonly CoreResourceOperation[] = [\n CoreResourceOperation.READ,\n CoreResourceOperation.LIST,\n CoreResourceOperation.CREATE,\n CoreResourceOperation.UPDATE,\n CoreResourceOperation.DELETE,\n];\n\n/** True when an operation ref names a verb composition already wrote, so it is no evidence of work. */\nexport function isScaffoldedResourceOperationRef(operationRef: string): boolean {\n return (SCAFFOLDED_RESOURCE_CORE_OPERATIONS as readonly string[]).includes(operationRef.trim().toLowerCase());\n}\n\nexport const BUILD_PLAN_TASK_GRAPH_HARD_FLOOR_CODES: readonly BuildPlanTaskGraphFindingCode[] = [\n BuildPlanTaskGraphFindingCode.PREREQUISITE_CYCLE,\n BuildPlanTaskGraphFindingCode.RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR,\n BuildPlanTaskGraphFindingCode.PRODUCT_REF_IS_NOT_AN_IDENTIFIER,\n];\n\n/**\n * What an identifier an artifact can spell looks like: a letter or `_`/`$` first, then word characters\n * and the separators identifiers and addresses use (`.`, `-`, `:`, `/`). No whitespace, no quote, no\n * bracket — the marks of a phrase. Longer than {@link MAXIMUM_IDENTIFIER_LENGTH} is a sentence.\n */\nconst IDENTIFIER_SHAPE = /^[A-Za-z_$][\\w$.:/-]*$/;\nconst MAXIMUM_IDENTIFIER_LENGTH = 80;\n\n/** The FREE-TEXT ref lists of a product — the ones the schema leaves unconstrained. Slug-typed refs are already checked by the schema. */\nfunction freeTextProductRefs(product: BuildPlanTaskGraph['tasks'][number]['produces'][number]): readonly string[] {\n switch (product.kind) {\n case BuildPlanTaskProductKind.RESOURCE_SCHEMA_FIELDS:\n case BuildPlanTaskProductKind.RESOURCE_SPECIFICATION:\n return product.fieldRefs;\n case BuildPlanTaskProductKind.RESOURCE_REGISTRATION:\n return product.operationRefs;\n case BuildPlanTaskProductKind.APPLICATION_FRONTEND_CONFIG:\n return product.declarationRefs;\n case BuildPlanTaskProductKind.APPLICATION_WORKER:\n return product.jobRefs;\n case BuildPlanTaskProductKind.APPLICATION_MINION:\n return product.behaviorRefs;\n case BuildPlanTaskProductKind.PDF_TEMPLATE:\n return [product.templateRef];\n default:\n return [];\n }\n}\n\n/** True when a product ref could be an artifact's identifier. */\nexport function isIdentifierShapedProductRef(ref: string): boolean {\n return ref.length <= MAXIMUM_IDENTIFIER_LENGTH && IDENTIFIER_SHAPE.test(ref);\n}\n\nconst STAGE_ORDER: readonly BuildPlanResourceStage[] = [\n BuildPlanResourceStage.SCHEMA,\n BuildPlanResourceStage.CONFIG,\n BuildPlanResourceStage.UI_BEHAVIOR,\n BuildPlanResourceStage.SPEC,\n];\n\n/**\n * Validate what Zod cannot: prerequisite cycles and the per-resource stage\n * sequence. Returns findings rather than throwing so a caller can treat a\n * cycle as a hard floor and a missing predecessor as an authoring warning;\n * `BUILD_PLAN_TASK_GRAPH_HARD_FLOOR_CODES` is the classification.\n *\n * The stage-sequence check asks TWO questions, because \"the predecessor exists\"\n * and \"this task waits for it\" are different claims and only the second one\n * constrains what the host may dispatch.\n */\nexport function validateBuildPlanTaskGraph(graph: BuildPlanTaskGraph): readonly BuildPlanTaskGraphFinding[] {\n // An empty graph is unrepresentable: the schema requires min(1) tasks (a zero-task decomposition is\n // a refusal at generation, never an artifact — proven necessary by the first live loop run).\n const findings: BuildPlanTaskGraphFinding[] = [];\n const byRef = new Map(graph.tasks.map((task) => [task.taskRef, task]));\n // Cycle detection over declared prerequisites (depth-first with colours).\n const state = new Map<string, 'visiting' | 'done'>();\n const visit = (taskRef: string, trail: string[]): void => {\n const current = state.get(taskRef);\n if (current === 'done') return;\n if (current === 'visiting') {\n findings.push({ code: BuildPlanTaskGraphFindingCode.PREREQUISITE_CYCLE, taskRef, message: `Prerequisite cycle: ${[...trail, taskRef].join(' → ')}` });\n return;\n }\n state.set(taskRef, 'visiting');\n for (const prerequisite of byRef.get(taskRef)?.prerequisiteTaskRefs ?? []) visit(prerequisite, [...trail, taskRef]);\n state.set(taskRef, 'done');\n };\n for (const task of graph.tasks) visit(task.taskRef, []);\n\n /**\n * Every task that must have landed before `taskRef` may be dispatched — the TRANSITIVE closure of\n * declared prerequisites, memoized, and cycle-safe by construction (the `seen` set terminates).\n *\n * Transitive rather than direct, because transitive reachability is exactly the property that\n * matters: it is the statement \"no dispatch order the host can produce puts this task before that\n * one\". A direct-edge requirement would refuse the legitimate authoring a live decomposition\n * actually produces — `config` depending on `module`, which depends on `schema` — which would make\n * the check a style rule rather than an ordering guarantee.\n */\n const closures = new Map<string, ReadonlySet<string>>();\n const prerequisiteClosure = (taskRef: string): ReadonlySet<string> => {\n const memoized = closures.get(taskRef);\n if (memoized !== undefined) return memoized;\n const reached = new Set<string>();\n // Seed the memo BEFORE walking so a cyclic graph resolves to the partial set rather than recursing.\n closures.set(taskRef, reached);\n const walk = (current: string): void => {\n for (const prerequisite of byRef.get(current)?.prerequisiteTaskRefs ?? []) {\n if (reached.has(prerequisite)) continue;\n reached.add(prerequisite);\n walk(prerequisite);\n }\n };\n walk(taskRef);\n return reached;\n };\n\n // Per-resource stage sequence: each stage after SCHEMA needs its predecessor DECLARED for the same\n // resource, and needs to WAIT for it.\n for (const task of graph.tasks) {\n if (task.target.kind !== BuildPlanTaskTargetKind.RESOURCE_STAGE) continue;\n const stageIndex = STAGE_ORDER.indexOf(task.target.stage);\n if (stageIndex <= 0) continue;\n const predecessorStage = STAGE_ORDER[stageIndex - 1]!;\n const target = task.target;\n const isPredecessor = (candidate: BuildPlanTaskGraph['tasks'][number] | undefined): boolean =>\n candidate !== undefined\n && candidate.target.kind === BuildPlanTaskTargetKind.RESOURCE_STAGE\n && candidate.target.moduleRef === target.moduleRef\n && candidate.target.resourceRef === target.resourceRef\n && candidate.target.stage === predecessorStage;\n\n if (!graph.tasks.some(isPredecessor)) {\n findings.push({\n code: BuildPlanTaskGraphFindingCode.RESOURCE_STAGE_WITHOUT_PREDECESSOR,\n taskRef: task.taskRef,\n message: `Resource ${target.moduleRef}/${target.resourceRef} declares stage ${target.stage} without its ${predecessorStage} stage.`,\n });\n continue;\n }\n if (![...prerequisiteClosure(task.taskRef)].some((prerequisite) => isPredecessor(byRef.get(prerequisite)))) {\n findings.push({\n code: BuildPlanTaskGraphFindingCode.RESOURCE_STAGE_PRECEDES_ITS_PREDECESSOR,\n taskRef: task.taskRef,\n message: `Resource ${target.moduleRef}/${target.resourceRef} declares stage ${target.stage} and its ${predecessorStage} stage, but ${task.taskRef} does not depend on it — the host may dispatch ${target.stage} first.`,\n });\n }\n }\n graph.tasks.forEach((task) => {\n task.produces.forEach((product) => {\n if (product.kind !== BuildPlanTaskProductKind.RESOURCE_REGISTRATION) return;\n if (!product.operationRefs.every(isScaffoldedResourceOperationRef)) return;\n findings.push({\n code: BuildPlanTaskGraphFindingCode.PRODUCT_NAMES_ONLY_SCAFFOLDED_OPERATIONS,\n taskRef: task.taskRef,\n message: `${task.taskRef} declares ${product.resourceRef}'s registration as [${product.operationRefs.join(', ')}], which the add-resource scaffold already writes; name the operations this task ADDS, or the host cannot tell it ran.`,\n });\n });\n });\n graph.tasks.forEach((task) => {\n task.produces.forEach((product) => {\n const phrases = freeTextProductRefs(product).filter((ref) => !isIdentifierShapedProductRef(ref));\n if (phrases.length === 0) return;\n findings.push({\n code: BuildPlanTaskGraphFindingCode.PRODUCT_REF_IS_NOT_AN_IDENTIFIER,\n taskRef: task.taskRef,\n message: `${task.taskRef} declares its ${product.kind} product as ${phrases.map((ref) => JSON.stringify(ref)).join(', ')}, which cannot be an identifier `\n + '(whitespace, a quote, a bracket, or too long to be a name). Name the artifact as the code spells it (`title`, not \"the item\\'s title\"), or the task can never be proven landed.',\n });\n });\n });\n /*\n * A shell command, a package-manager invocation, or a `check:` id in the objective. Matched on the\n * VERB rather than on any particular tool so a plan naming `pnpm check:x` and one naming\n * `wildo db diff` are the same finding — what is wrong is that a task states a runtime control at\n * all, not which one it chose.\n */\n const RUNTIME_CONTROL_IN_PROSE = /\\b(?:wildo|pnpm|npm|npx|yarn|tsc)\\s+[a-z]|\\bcheck:[a-z][a-z0-9-]*/iu;\n graph.tasks.forEach((task) => {\n const objective = typeof task.objective === 'string' ? task.objective : '';\n const named = RUNTIME_CONTROL_IN_PROSE.exec(objective);\n if (named === null) return;\n findings.push({\n code: BuildPlanTaskGraphFindingCode.OBJECTIVE_NAMES_A_RUNTIME_CONTROL,\n taskRef: task.taskRef,\n message: `${task.taskRef}'s objective names the runtime control \"${named[0]}\", which the dispatch host never evaluates — it derives verification from the target kind. State WHAT the task must produce, not how it will be checked.`,\n });\n });\n graph.tasks.forEach((task) => {\n if (task.target.kind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP) return;\n if (task.produces.length > 0) return;\n findings.push({\n code: BuildPlanTaskGraphFindingCode.TASK_DECLARES_NO_PRODUCT,\n taskRef: task.taskRef,\n message: `${task.taskRef} declares no product, so nothing in the working tree can prove it landed; the host will keep offering it.`,\n });\n });\n return findings;\n}\n\n/**\n * The identity a build plan has as an ENGINE execution plan (#1359).\n *\n * An application has one build plan, so both refs are constants. `actorSystemId` names the actor\n * system that OWNS the plan — the host registers its build system under this exact ref, so the edge\n * a step carries and the system a run executes under cannot be two spellings of one thing.\n */\nexport const BUILD_PLAN_EXECUTION_PLAN_IDENTITY = {\n planId: 'application-creation.build-plan',\n actorSystemId: 'application-build.system',\n} as const;\n\n/** One build-plan task as the engine's scheduler sees it: a plan step whose id is the task ref. */\nexport interface BuildPlanExecutionPlanStep {\n readonly _id: string;\n readonly relationships: readonly FlowsActors_Relationship[];\n readonly task: BuildPlanTaskGraph['tasks'][number];\n}\n\n/**\n * The build plan AS engine plan steps: one step per task, one `DEPENDS_ON` edge per prerequisite.\n *\n * ## Why a projection, and why it is not a second copy\n *\n * The authored plan is a specification FILE, and its `prerequisiteTaskRefs` are what a model writes\n * and a human reviews. The engine's dependency vocabulary is `FlowsActors_Relation.DEPENDS_ON`\n * between plan steps. Until 2026-09-20 nothing connected them: the engine's edge had no reader, and\n * this file scheduled the plan itself with a one-line filter.\n *\n * This is a pure function of the file, evaluated when readiness is asked for and STORED NOWHERE, so\n * there is one authored source and nothing that can drift from it. What was rejected is the other\n * arrangement — keeping `prerequisiteTaskRefs` as the scheduler's input and writing `DEPENDS_ON`\n * beside it as a record: two sources for one edge, only one of them read.\n *\n * Total over the graph: every task becomes a step, and every prerequisite an edge, including one\n * that names a task the plan does not contain — which the scheduler fails closed on.\n */\nexport function projectBuildPlanAsExecutionPlanSteps(graph: BuildPlanTaskGraph): readonly BuildPlanExecutionPlanStep[] {\n return graph.tasks.map((task) => ({\n _id: task.taskRef,\n relationships: task.prerequisiteTaskRefs.map((prerequisite) =>\n buildExecutionPlanStepDependency({ ...BUILD_PLAN_EXECUTION_PLAN_IDENTITY, planStepId: prerequisite })),\n task,\n }));\n}\n\n/**\n * The tasks whose declared prerequisites are all in `landedTaskRefs`; the\n * host's dependency-readiness resolution, in graph order. Pure and total.\n *\n * Decided by the ENGINE's scheduler since #1359 (`selectReadyExecutionPlanSteps`): this supplies the\n * plan as steps and the one thing that is app-creation's — what \"done\" means. A build task is done\n * when its declared products are COMMITTED, which is git-as-acceptance and the product; the engine\n * is told the answer and never how it was reached.\n */\nexport function selectReadyBuildPlanTasks(graph: BuildPlanTaskGraph, landedTaskRefs: ReadonlySet<string>): readonly BuildPlanTaskGraph['tasks'][number][] {\n return selectReadyExecutionPlanSteps(\n projectBuildPlanAsExecutionPlanSteps(graph),\n (planStepId) => landedTaskRefs.has(planStepId),\n ).map((step) => step.task);\n}\n"]}
|