@wildo-ai/framework-knowledge 1.1.10 → 1.1.12
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/claude-marketplace/.claude-plugin/marketplace.json +1 -1
- package/dist/claude-marketplace/plugins/wildo/.claude-plugin/plugin.json +1 -1
- package/dist/claude-marketplace/plugins/wildo/references/acceptance.md +4 -0
- package/dist/claude-marketplace/plugins/wildo/references/composites-and-the-loop.md +25 -3
- package/dist/claude-marketplace/plugins/wildo/references/creation-state.md +40 -12
- package/dist/claude-marketplace/plugins/wildo/references/derived-artifacts.md +7 -5
- package/dist/claude-marketplace/plugins/wildo/references/runs-judges-and-questions.md +12 -0
- package/dist/claude-marketplace/plugins/wildo/skills/answer/SKILL.md +19 -2
- package/dist/claude-marketplace/plugins/wildo/skills/build/SKILL.md +33 -9
- package/dist/esm/framework-knowledge.definitions.d.ts +2 -3
- package/dist/esm/framework-knowledge.definitions.d.ts.map +1 -1
- package/dist/esm/framework-knowledge.definitions.js +628 -107
- package/dist/esm/framework-knowledge.definitions.js.map +1 -1
- package/dist/esm/framework-knowledge.loader.js.map +1 -1
- package/dist/esm/framework-knowledge.research-provenance.d.ts +90 -0
- package/dist/esm/framework-knowledge.research-provenance.d.ts.map +1 -0
- package/dist/esm/framework-knowledge.research-provenance.js +140 -0
- package/dist/esm/framework-knowledge.research-provenance.js.map +1 -0
- package/dist/esm/framework-knowledge.schemas.d.ts.map +1 -1
- package/dist/esm/framework-knowledge.schemas.js.map +1 -1
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/playbooks/bottom_up.assemble-verify/playbook.definition.d.ts +2 -3
- package/dist/esm/playbooks/bottom_up.assemble-verify/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/bottom_up.assemble-verify/playbook.definition.js +4 -12
- package/dist/esm/playbooks/bottom_up.assemble-verify/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/bottom_up.build/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/bottom_up.build/playbook.definition.js +12 -1
- package/dist/esm/playbooks/bottom_up.build/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/bottom_up.build-decompose/playbook.definition.d.ts +10 -4
- package/dist/esm/playbooks/bottom_up.build-decompose/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/bottom_up.build-decompose/playbook.definition.js +82 -15
- package/dist/esm/playbooks/bottom_up.build-decompose/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/bottom_up.build-dispatch/playbook.definition.d.ts +1 -5
- package/dist/esm/playbooks/bottom_up.build-dispatch/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/bottom_up.build-dispatch/playbook.definition.js +4 -16
- package/dist/esm/playbooks/bottom_up.build-dispatch/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/bottom_up.build-scale/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/bottom_up.build-scale/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/bottom_up.capability-composition/playbook.definition.d.ts +1 -1
- package/dist/esm/playbooks/bottom_up.capability-composition/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/bottom_up.capability-composition/playbook.definition.js +1 -1
- package/dist/esm/playbooks/bottom_up.capability-composition/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/bottom_up.conception/playbook.definition.d.ts +9 -5
- package/dist/esm/playbooks/bottom_up.conception/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/bottom_up.conception/playbook.definition.js +11 -7
- package/dist/esm/playbooks/bottom_up.conception/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/bottom_up.documentation-plan/playbook.definition.d.ts +1 -1
- package/dist/esm/playbooks/bottom_up.documentation-plan/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/bottom_up.documentation-plan/playbook.definition.js +1 -1
- package/dist/esm/playbooks/bottom_up.documentation-plan/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/bottom_up.domain-plan/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/bottom_up.domain-plan/playbook.definition.js +38 -14
- package/dist/esm/playbooks/bottom_up.domain-plan/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/bottom_up.experience-plan/playbook.definition.d.ts +16 -8
- package/dist/esm/playbooks/bottom_up.experience-plan/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/bottom_up.experience-plan/playbook.definition.js +20 -8
- package/dist/esm/playbooks/bottom_up.experience-plan/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/bottom_up.foundation/playbook.definition.d.ts +29 -3
- package/dist/esm/playbooks/bottom_up.foundation/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/bottom_up.foundation/playbook.definition.js +80 -16
- package/dist/esm/playbooks/bottom_up.foundation/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/bottom_up.integration-plan/playbook.definition.d.ts +2 -2
- package/dist/esm/playbooks/bottom_up.integration-plan/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/bottom_up.integration-plan/playbook.definition.js +7 -2
- package/dist/esm/playbooks/bottom_up.integration-plan/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/bottom_up.maturity-reading/playbook.definition.d.ts +2 -2
- package/dist/esm/playbooks/bottom_up.maturity-reading/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/bottom_up.maturity-reading/playbook.definition.js +2 -2
- package/dist/esm/playbooks/bottom_up.maturity-reading/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/bottom_up.placement-plan/playbook.definition.d.ts +6 -2
- package/dist/esm/playbooks/bottom_up.placement-plan/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/bottom_up.placement-plan/playbook.definition.js +4 -3
- package/dist/esm/playbooks/bottom_up.placement-plan/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/bottom_up.website-plan/playbook.definition.d.ts +26 -7
- package/dist/esm/playbooks/bottom_up.website-plan/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/bottom_up.website-plan/playbook.definition.js +23 -6
- package/dist/esm/playbooks/bottom_up.website-plan/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/cross_cutting.application-creation/playbook.definition.d.ts +45 -10
- package/dist/esm/playbooks/cross_cutting.application-creation/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/cross_cutting.application-creation/playbook.definition.js +61 -21
- package/dist/esm/playbooks/cross_cutting.application-creation/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/cross_cutting.compliance/playbook.definition.d.ts +4 -3
- package/dist/esm/playbooks/cross_cutting.compliance/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/cross_cutting.compliance/playbook.definition.js +8 -5
- package/dist/esm/playbooks/cross_cutting.compliance/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/cross_cutting.feature-development/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/cross_cutting.refinement/playbook.definition.d.ts +2 -2
- package/dist/esm/playbooks/cross_cutting.refinement/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/cross_cutting.refinement/playbook.definition.js +7 -3
- package/dist/esm/playbooks/cross_cutting.refinement/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/refinement.compliance-document-candidate/playbook.definition.d.ts +1 -1
- package/dist/esm/playbooks/refinement.compliance-document-candidate/playbook.definition.js +3 -3
- package/dist/esm/playbooks/refinement.compliance-document-candidate/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/refinement.document-facts/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/refinement.document-facts/playbook.definition.js +9 -7
- package/dist/esm/playbooks/refinement.document-facts/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/refinement.feature-contribution/playbook.definition.d.ts +5 -0
- package/dist/esm/playbooks/refinement.feature-contribution/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/refinement.feature-contribution/playbook.definition.js +9 -2
- package/dist/esm/playbooks/refinement.feature-contribution/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/refinement.governance-document-candidate/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/top_down.brand-identity/playbook.definition.d.ts +5 -2
- package/dist/esm/playbooks/top_down.brand-identity/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/top_down.brand-identity/playbook.definition.js +15 -5
- package/dist/esm/playbooks/top_down.brand-identity/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/top_down.brand-name-research/playbook.definition.js +1 -1
- package/dist/esm/playbooks/top_down.brand-name-research/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/top_down.brand-name-screening-produce/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/top_down.brand-name-screening-produce/playbook.definition.js +6 -4
- package/dist/esm/playbooks/top_down.brand-name-screening-produce/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/top_down.brand-naming/playbook.definition.d.ts +3 -1
- package/dist/esm/playbooks/top_down.brand-naming/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/top_down.brand-naming/playbook.definition.js +4 -1
- package/dist/esm/playbooks/top_down.brand-naming/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/top_down.business-model/playbook.definition.d.ts +10 -1
- package/dist/esm/playbooks/top_down.business-model/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/top_down.business-model/playbook.definition.js +36 -13
- package/dist/esm/playbooks/top_down.business-model/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/top_down.capability-map/playbook.definition.d.ts +8 -2
- package/dist/esm/playbooks/top_down.capability-map/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/top_down.capability-map/playbook.definition.js +7 -1
- package/dist/esm/playbooks/top_down.capability-map/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/top_down.compliance-analysis/playbook.definition.d.ts +4 -1
- package/dist/esm/playbooks/top_down.compliance-analysis/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/top_down.compliance-analysis/playbook.definition.js +34 -6
- package/dist/esm/playbooks/top_down.compliance-analysis/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/top_down.compliance-conception/playbook.definition.d.ts +7 -3
- package/dist/esm/playbooks/top_down.compliance-conception/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/top_down.compliance-conception/playbook.definition.js +6 -4
- package/dist/esm/playbooks/top_down.compliance-conception/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/top_down.compliance-evidence-adequacy/playbook.definition.js +2 -2
- package/dist/esm/playbooks/top_down.compliance-evidence-adequacy/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/top_down.compliance-posture/playbook.definition.d.ts +22 -10
- package/dist/esm/playbooks/top_down.compliance-posture/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/top_down.compliance-posture/playbook.definition.js +39 -29
- package/dist/esm/playbooks/top_down.compliance-posture/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/top_down.compliance-research/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/top_down.definition/playbook.definition.d.ts +8 -3
- package/dist/esm/playbooks/top_down.definition/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/top_down.definition/playbook.definition.js +24 -9
- package/dist/esm/playbooks/top_down.definition/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/top_down.expert-personas/playbook.definition.d.ts +8 -2
- package/dist/esm/playbooks/top_down.expert-personas/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/top_down.expert-personas/playbook.definition.js +8 -2
- package/dist/esm/playbooks/top_down.expert-personas/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/top_down.feature-drafts/playbook.definition.js +1 -1
- package/dist/esm/playbooks/top_down.feature-drafts/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/top_down.market-analysis/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/top_down.market-evidence-adequacy/playbook.definition.js +2 -2
- package/dist/esm/playbooks/top_down.market-evidence-adequacy/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/top_down.market-research/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/top_down.market-snapshot-produce/playbook.definition.js +1 -1
- package/dist/esm/playbooks/top_down.market-snapshot-produce/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/top_down.phase-gate/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/top_down.phase-gate/playbook.definition.js +13 -5
- package/dist/esm/playbooks/top_down.phase-gate/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/top_down.requirements-definition/playbook.definition.d.ts +3 -7
- package/dist/esm/playbooks/top_down.requirements-definition/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/top_down.requirements-definition/playbook.definition.js +12 -14
- package/dist/esm/playbooks/top_down.requirements-definition/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/top_down.risk-register/playbook.definition.d.ts +3 -0
- package/dist/esm/playbooks/top_down.risk-register/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/top_down.risk-register/playbook.definition.js +2 -1
- package/dist/esm/playbooks/top_down.risk-register/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/top_down.scope-roadmap/playbook.definition.d.ts +3 -1
- package/dist/esm/playbooks/top_down.scope-roadmap/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/top_down.scope-roadmap/playbook.definition.js +2 -1
- package/dist/esm/playbooks/top_down.scope-roadmap/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/top_down.service-method/playbook.definition.d.ts +98 -0
- package/dist/esm/playbooks/top_down.service-method/playbook.definition.d.ts.map +1 -0
- package/dist/esm/playbooks/top_down.service-method/playbook.definition.js +124 -0
- package/dist/esm/playbooks/top_down.service-method/playbook.definition.js.map +1 -0
- package/dist/esm/playbooks/top_down.value-proposition/playbook.definition.d.ts +3 -1
- package/dist/esm/playbooks/top_down.value-proposition/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/top_down.value-proposition/playbook.definition.js +4 -2
- package/dist/esm/playbooks/top_down.value-proposition/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/top_down.vision-elicitation/playbook.definition.d.ts +34 -1
- package/dist/esm/playbooks/top_down.vision-elicitation/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/top_down.vision-elicitation/playbook.definition.js +39 -20
- package/dist/esm/playbooks/top_down.vision-elicitation/playbook.definition.js.map +1 -1
- package/dist/esm/source-anchor-grammar.d.ts +70 -0
- package/dist/esm/source-anchor-grammar.d.ts.map +1 -0
- package/dist/esm/source-anchor-grammar.js +114 -0
- package/dist/esm/source-anchor-grammar.js.map +1 -0
- package/dist/knowledge/assurance-authority-bases/wildo-safe-baseline-v1/authority-basis.json +1 -1
- package/dist/knowledge/assurance-authority-bases/wildo-safe-baseline-v1/external-framework-mapping.json +1 -1
- package/dist/knowledge/manifest.json +8 -8
- package/dist/knowledge/playbooks/bottom_up.assemble-verify/method.md +12 -0
- package/dist/knowledge/playbooks/bottom_up.assemble-verify/playbook.json +4 -4
- package/dist/knowledge/playbooks/bottom_up.build/method.md +12 -2
- package/dist/knowledge/playbooks/bottom_up.build/playbook.json +5 -3
- package/dist/knowledge/playbooks/bottom_up.build-decompose/evaluation-protocol.json +1 -1
- package/dist/knowledge/playbooks/bottom_up.build-decompose/evaluation-treatment.json +1 -1
- package/dist/knowledge/playbooks/bottom_up.build-decompose/method.md +788 -49
- package/dist/knowledge/playbooks/bottom_up.build-decompose/playbook.json +18 -4
- package/dist/knowledge/playbooks/bottom_up.build-dispatch/method.md +451 -16
- package/dist/knowledge/playbooks/bottom_up.build-dispatch/playbook.json +3 -6
- package/dist/knowledge/playbooks/bottom_up.build-scale/playbook.json +1 -0
- package/dist/knowledge/playbooks/bottom_up.capability-composition/method.md +2 -2
- package/dist/knowledge/playbooks/bottom_up.capability-composition/playbook.json +3 -2
- package/dist/knowledge/playbooks/bottom_up.conception/method.md +12 -7
- package/dist/knowledge/playbooks/bottom_up.conception/playbook.json +4 -3
- package/dist/knowledge/playbooks/bottom_up.documentation-plan/method.md +2 -2
- package/dist/knowledge/playbooks/bottom_up.documentation-plan/playbook.json +2 -1
- package/dist/knowledge/playbooks/bottom_up.domain-plan/evaluation-protocol.json +1 -1
- package/dist/knowledge/playbooks/bottom_up.domain-plan/evaluation-treatment.json +1 -1
- package/dist/knowledge/playbooks/bottom_up.domain-plan/method.md +115 -2
- package/dist/knowledge/playbooks/bottom_up.domain-plan/playbook.json +11 -4
- package/dist/knowledge/playbooks/bottom_up.experience-plan/method.md +71 -7
- package/dist/knowledge/playbooks/bottom_up.experience-plan/playbook.json +19 -6
- package/dist/knowledge/playbooks/bottom_up.foundation/method.md +126 -24
- package/dist/knowledge/playbooks/bottom_up.foundation/playbook.json +51 -7
- package/dist/knowledge/playbooks/bottom_up.integration-plan/method.md +28 -9
- package/dist/knowledge/playbooks/bottom_up.integration-plan/playbook.json +5 -3
- package/dist/knowledge/playbooks/bottom_up.maturity-reading/method.md +10 -2
- package/dist/knowledge/playbooks/bottom_up.maturity-reading/playbook.json +4 -3
- package/dist/knowledge/playbooks/bottom_up.placement-plan/method.md +67 -5
- package/dist/knowledge/playbooks/bottom_up.placement-plan/playbook.json +10 -3
- package/dist/knowledge/playbooks/bottom_up.website-plan/method.md +176 -22
- package/dist/knowledge/playbooks/bottom_up.website-plan/playbook.json +21 -3
- package/dist/knowledge/playbooks/cross_cutting.application-creation/method.md +27 -12
- package/dist/knowledge/playbooks/cross_cutting.application-creation/playbook.json +11 -5
- package/dist/knowledge/playbooks/cross_cutting.compliance/method.md +4 -4
- package/dist/knowledge/playbooks/cross_cutting.compliance/playbook.json +7 -2
- package/dist/knowledge/playbooks/cross_cutting.feature-development/playbook.json +1 -0
- package/dist/knowledge/playbooks/cross_cutting.refinement/method.md +6 -5
- package/dist/knowledge/playbooks/cross_cutting.refinement/playbook.json +5 -2
- package/dist/knowledge/playbooks/refinement.compliance-document-candidate/evaluation-protocol.json +1 -1
- package/dist/knowledge/playbooks/refinement.compliance-document-candidate/evaluation-treatment.json +1 -1
- package/dist/knowledge/playbooks/refinement.compliance-document-candidate/method.md +153 -28
- package/dist/knowledge/playbooks/refinement.compliance-document-candidate/playbook.json +3 -2
- package/dist/knowledge/playbooks/refinement.document-facts/method.md +36 -7
- package/dist/knowledge/playbooks/refinement.document-facts/playbook.json +6 -2
- package/dist/knowledge/playbooks/refinement.feature-contribution/playbook.json +9 -2
- package/dist/knowledge/playbooks/refinement.governance-document-candidate/method.md +8 -6
- package/dist/knowledge/playbooks/refinement.governance-document-candidate/playbook.json +2 -1
- package/dist/knowledge/playbooks/top_down.brand-identity/evaluation-protocol.json +1 -1
- package/dist/knowledge/playbooks/top_down.brand-identity/evaluation-treatment.json +1 -1
- package/dist/knowledge/playbooks/top_down.brand-identity/method.md +9 -2
- package/dist/knowledge/playbooks/top_down.brand-identity/playbook.json +17 -5
- package/dist/knowledge/playbooks/top_down.brand-name-research/method.md +11 -4
- package/dist/knowledge/playbooks/top_down.brand-name-research/playbook.json +3 -2
- package/dist/knowledge/playbooks/top_down.brand-name-screening-produce/evaluation-protocol.json +1 -1
- package/dist/knowledge/playbooks/top_down.brand-name-screening-produce/evaluation-treatment.json +1 -1
- package/dist/knowledge/playbooks/top_down.brand-name-screening-produce/method.md +16 -6
- package/dist/knowledge/playbooks/top_down.brand-name-screening-produce/playbook.json +3 -2
- package/dist/knowledge/playbooks/top_down.brand-naming/playbook.json +5 -1
- package/dist/knowledge/playbooks/top_down.business-model/evaluation-protocol.json +1 -1
- package/dist/knowledge/playbooks/top_down.business-model/evaluation-treatment.json +1 -1
- package/dist/knowledge/playbooks/top_down.business-model/method.md +49 -11
- package/dist/knowledge/playbooks/top_down.business-model/playbook.json +24 -8
- package/dist/knowledge/playbooks/top_down.capability-map/playbook.json +6 -2
- package/dist/knowledge/playbooks/top_down.compliance-analysis/method.md +1 -1
- package/dist/knowledge/playbooks/top_down.compliance-analysis/playbook.json +49 -14
- package/dist/knowledge/playbooks/top_down.compliance-conception/method.md +15 -5
- package/dist/knowledge/playbooks/top_down.compliance-conception/playbook.json +6 -2
- package/dist/knowledge/playbooks/top_down.compliance-evidence-adequacy/method.md +20 -0
- package/dist/knowledge/playbooks/top_down.compliance-evidence-adequacy/playbook.json +4 -3
- package/dist/knowledge/playbooks/top_down.compliance-posture/evaluation-protocol.json +1 -1
- package/dist/knowledge/playbooks/top_down.compliance-posture/evaluation-treatment.json +1 -1
- package/dist/knowledge/playbooks/top_down.compliance-posture/method.md +69 -65
- package/dist/knowledge/playbooks/top_down.compliance-posture/playbook.json +11 -7
- package/dist/knowledge/playbooks/top_down.compliance-research/playbook.json +1 -0
- package/dist/knowledge/playbooks/top_down.definition/method.md +10 -3
- package/dist/knowledge/playbooks/top_down.definition/playbook.json +14 -5
- package/dist/knowledge/playbooks/top_down.expert-personas/method.md +10 -3
- package/dist/knowledge/playbooks/top_down.expert-personas/playbook.json +4 -3
- package/dist/knowledge/playbooks/top_down.feature-drafts/playbook.json +2 -1
- package/dist/knowledge/playbooks/top_down.market-analysis/playbook.json +1 -0
- package/dist/knowledge/playbooks/top_down.market-evidence-adequacy/method.md +4 -2
- package/dist/knowledge/playbooks/top_down.market-evidence-adequacy/playbook.json +4 -3
- package/dist/knowledge/playbooks/top_down.market-research/playbook.json +1 -0
- package/dist/knowledge/playbooks/top_down.market-snapshot-produce/method.md +3 -0
- package/dist/knowledge/playbooks/top_down.market-snapshot-produce/playbook.json +3 -2
- package/dist/knowledge/playbooks/top_down.phase-gate/evaluation-protocol.json +1 -1
- package/dist/knowledge/playbooks/top_down.phase-gate/evaluation-treatment.json +1 -1
- package/dist/knowledge/playbooks/top_down.phase-gate/playbook.json +1 -0
- package/dist/knowledge/playbooks/top_down.requirements-definition/playbook.json +10 -6
- package/dist/knowledge/playbooks/top_down.risk-register/method.md +8 -1
- package/dist/knowledge/playbooks/top_down.risk-register/playbook.json +5 -1
- package/dist/knowledge/playbooks/top_down.scope-roadmap/playbook.json +6 -1
- package/dist/knowledge/playbooks/top_down.service-method/method.md +216 -0
- package/dist/knowledge/playbooks/top_down.service-method/playbook.json +108 -0
- package/dist/knowledge/playbooks/top_down.value-proposition/method.md +5 -2
- package/dist/knowledge/playbooks/top_down.value-proposition/playbook.json +9 -3
- package/dist/knowledge/playbooks/top_down.vision-elicitation/evaluation-protocol.json +1 -1
- package/dist/knowledge/playbooks/top_down.vision-elicitation/evaluation-treatment.json +1 -1
- package/dist/knowledge/playbooks/top_down.vision-elicitation/method.md +21 -2
- package/dist/knowledge/playbooks/top_down.vision-elicitation/playbook.json +63 -18
- package/dist/knowledge/references/acp.execution-profile.md +9 -1
- package/dist/knowledge/references/application-documentation-chapters.config.md +45 -10
- package/dist/knowledge/references/application-documentation-plan.config.md +2 -2
- package/dist/knowledge/references/application-maturity.config.md +28 -2
- package/dist/knowledge/references/backend.inbound-channels.attachment-adoption.md +57 -0
- package/dist/knowledge/references/backend.inbound-channels.handler-definition.md +65 -13
- package/dist/knowledge/references/backend.inbound-handlers.agents.md +10 -3
- package/dist/knowledge/references/backend.inbound-handlers.definition.md +463 -5
- package/dist/knowledge/references/backend.inbound-handlers.pipelines.md +62 -0
- package/dist/knowledge/references/blueprint.definition-contract.md +483 -0
- package/dist/knowledge/references/brand.name-screening.config.md +30 -3
- package/dist/knowledge/references/brand.visual-tone.config.md +26 -8
- package/dist/knowledge/references/build-plan.task-graph.config.md +438 -12
- package/dist/knowledge/references/business-model.pricing-plan.config.md +19 -9
- package/dist/knowledge/references/business-model.snapshot.config.md +29 -2
- package/dist/knowledge/references/business-model.snapshot.validation.md +29 -8
- package/dist/knowledge/references/capability-composition.config.md +4 -3
- package/dist/knowledge/references/cli.market.generate-command.md +2 -1
- package/dist/knowledge/references/companion.introspection.behaviors.market.md +3 -0
- package/dist/knowledge/references/companion.market.generation-service.md +46 -5
- package/dist/knowledge/references/companion.market.prompt-renderer.md +1 -1
- package/dist/knowledge/references/companion.technical-doc.service.md +342 -76
- package/dist/knowledge/references/domain-plan.record-partition.md +105 -0
- package/dist/knowledge/references/engine.client-bundle.allow-list.md +16 -0
- package/dist/knowledge/references/engine.saas-technical-doc.config.md +69 -15
- package/dist/knowledge/references/engine.saas-website.config.md +16 -44
- package/dist/knowledge/references/example.ai-use-declaration.agent.md +37 -0
- package/dist/knowledge/references/example.authorization.application-roles.office-and-field.md +10 -0
- package/dist/knowledge/references/{example.authorization.service-provider-organization-wide-access.md → example.authorization.relationship-organization-wide-access.md} +2 -2
- package/dist/knowledge/references/example.backend.addon-wiring.module.md +6 -0
- package/dist/knowledge/references/example.backend.custom-operation.child-line-total.md +4 -3
- package/dist/knowledge/references/example.backend.custom-operation.create-related-resource.md +22 -0
- package/dist/knowledge/references/example.backend.custom-operation.declared-refusal-code.md +41 -0
- package/dist/knowledge/references/example.backend.custom-operation.external-effect-reservation.md +107 -0
- package/dist/knowledge/references/example.blueprint.definition.internal-tool.md +47 -0
- package/dist/knowledge/references/example.config.app-shell.full.md +6 -3
- package/dist/knowledge/references/example.config.app-shell.hosted-components.md +4 -1
- package/dist/knowledge/references/example.config.backend.inbound-email.md +4 -2
- package/dist/knowledge/references/example.config.backend.required-floors.md +4 -2
- package/dist/knowledge/references/example.config.design-system.full.md +40 -116
- package/dist/knowledge/references/example.flows-actors.autonomous-agent.reviewed-write.md +10 -0
- package/dist/knowledge/references/example.flows-actors.chat-assistant.md +78 -19
- package/dist/knowledge/references/example.flows-actors.declared-flow.md +115 -0
- package/dist/knowledge/references/example.flows-actors.llm-agent-one-shot.md +12 -0
- package/dist/knowledge/references/example.inbound.email-channel-handler.md +10 -1
- package/dist/knowledge/references/example.infra.environment-config.local.md +34 -63
- package/dist/knowledge/references/example.layout-2d.registration.md +11 -0
- package/dist/knowledge/references/example.minion.contained-tick.md +1 -1
- package/dist/knowledge/references/example.module.companion-exports.full.md +1 -0
- package/dist/knowledge/references/example.module.relationships.actor-edge-back-to-scope-owner.md +35 -35
- package/dist/knowledge/references/example.module.relationships.scope-membership-junction.md +8 -10
- package/dist/knowledge/references/example.navigation.one-entry-per-concept.md +47 -0
- package/dist/knowledge/references/example.organization-identity.system-of-record-partitions.md +18 -0
- package/dist/knowledge/references/example.organizations.relationship-kinds.md +26 -0
- package/dist/knowledge/references/example.professional-qualifications.declaration.md +10 -0
- package/dist/knowledge/references/example.professional-qualifications.gate.md +25 -0
- package/dist/knowledge/references/example.provider.backend-module-shape.md +38 -4
- package/dist/knowledge/references/example.provider.frontend-facet.on-demand-sdk.md +41 -0
- package/dist/knowledge/references/example.provider.frontend-file-picker.contribution.md +4 -5
- package/dist/knowledge/references/example.rate-limit.resource-operation-surface.md +7 -5
- package/dist/knowledge/references/example.resource.add-resource.module-factory-map.md +0 -5
- package/dist/knowledge/references/example.resource.custom-view.backend-refusal.md +75 -0
- package/dist/knowledge/references/example.resource.status-lifecycle.quote.md +8 -7
- package/dist/knowledge/references/example.resource.ui-behavior.enum-badge.md +23 -7
- package/dist/knowledge/references/example.resource.ui-behavior.operation-icon.md +87 -22
- package/dist/knowledge/references/example.resource.ui-behavior.record-template.md +80 -0
- package/dist/knowledge/references/example.resource.ui-behavior.surface-decision.md +20 -21
- package/dist/knowledge/references/example.resource.ui-behavior.workflow-record-page.md +212 -0
- package/dist/knowledge/references/example.spec.composite-view.workspace.md +10 -2
- package/dist/knowledge/references/example.subject-export.portability-archive.md +42 -0
- package/dist/knowledge/references/example.views.app-level.workflow-home.md +238 -0
- package/dist/knowledge/references/example.views.composite-view.workspace.md +10 -3
- package/dist/knowledge/references/example.website.blocks.section.md +20 -0
- package/dist/knowledge/references/example.website.blocks.site-choices.md +78 -0
- package/dist/knowledge/references/example.website.blocks.site-configs.md +155 -0
- package/dist/knowledge/references/example.website.demo.append.md +57 -0
- package/dist/knowledge/references/example.website.demo.approval.md +47 -0
- package/dist/knowledge/references/example.website.demo.celebrate.md +39 -0
- package/dist/knowledge/references/example.website.demo.complete-items.md +103 -0
- package/dist/knowledge/references/example.website.demo.connect.md +45 -0
- package/dist/knowledge/references/example.website.demo.dashboard.md +74 -0
- package/dist/knowledge/references/example.website.demo.query-answer.md +77 -0
- package/dist/knowledge/references/example.website.demo.status-lifecycle.md +71 -0
- package/dist/knowledge/references/example.website.demo.transform.md +43 -0
- package/dist/knowledge/references/example.website.page.manifest.md +2 -6
- package/dist/knowledge/references/example.website.pricing.audit-payloads.md +38 -0
- package/dist/knowledge/references/example.website.pricing.catalog-load.md +77 -0
- package/dist/knowledge/references/example.website.pricing.offers.md +43 -0
- package/dist/knowledge/references/example.website.pricing.plans-section.md +20 -0
- package/dist/knowledge/references/example.website.pricing.plans.md +88 -0
- package/dist/knowledge/references/example.website.section.bento.md +27 -0
- package/dist/knowledge/references/example.website.section.contact-form.md +15 -0
- package/dist/knowledge/references/example.website.section.factories.md +82 -0
- package/dist/knowledge/references/example.website.section.faq.md +17 -0
- package/dist/knowledge/references/example.website.section.footer-cta.md +13 -0
- package/dist/knowledge/references/example.website.section.hero.md +16 -0
- package/dist/knowledge/references/example.website.section.latest-posts.md +15 -0
- package/dist/knowledge/references/example.website.section.marquee.md +26 -0
- package/dist/knowledge/references/example.website.section.roadmap.md +25 -0
- package/dist/knowledge/references/example.website.section.site-block.md +43 -0
- package/dist/knowledge/references/example.website.section.solution-paths.md +17 -0
- package/dist/knowledge/references/example.website.section.stats.md +23 -0
- package/dist/knowledge/references/example.website.section.steps.md +15 -0
- package/dist/knowledge/references/example.website.showcase.tour.md +49 -0
- package/dist/knowledge/references/example.website.theme.composed.md +69 -0
- package/dist/knowledge/references/experience-plan.config.md +127 -1
- package/dist/knowledge/references/external-connectors.frontend-provider-consent-classification.md +8 -0
- package/dist/knowledge/references/external-connectors.frontend-provider-sdk-activation-mode.md +27 -0
- package/dist/knowledge/references/external-connectors.models.connection-target.md +99 -0
- package/dist/knowledge/references/external-connectors.models.file-storage-adapter.md +13 -0
- package/dist/knowledge/references/external-connectors.models.hook-inbound-endpoint.md +352 -0
- package/dist/knowledge/references/external-connectors.models.hook-signature-algorithms.md +168 -0
- package/dist/knowledge/references/external-connectors.models.hook-trigger-strategy.md +97 -0
- package/dist/knowledge/references/external-connectors.models.oauth2-audiences.md +72 -8
- package/dist/knowledge/references/external-connectors.models.oauth2-incremental-consent.md +235 -0
- package/dist/knowledge/references/external-connectors.models.rest-operation-contract.md +1272 -3
- package/dist/knowledge/references/external-connectors.models.subject-erasure-effect.md +105 -0
- package/dist/knowledge/references/external-connectors.private.provider-compliance-state-collector.md +36 -0
- package/dist/knowledge/references/external-connectors.private.provider-configuration-check.md +69 -0
- package/dist/knowledge/references/integration-plan.config.md +28 -8
- package/dist/knowledge/references/market.references.weighted-edges.md +14 -1
- package/dist/knowledge/references/minions.tick-contract.md +2 -2
- package/dist/knowledge/references/placement-plan.config.md +94 -13
- package/dist/knowledge/references/platform.config.backing-services.md +9 -11
- package/dist/knowledge/references/platform.config.environment.deployment.md +140 -7
- package/dist/knowledge/references/platform.config.infra-provider-resolution.md +3 -3
- package/dist/knowledge/references/platform.config.infrastructure-host.md +2 -1
- package/dist/knowledge/references/platform.config.platform-key-management.md +282 -0
- package/dist/knowledge/references/platform.config.saas.md +126 -32
- package/dist/knowledge/references/platform.key-management.vault-custody.md +78 -0
- package/dist/knowledge/references/presets.3d.frame-style-resolution.md +65 -0
- package/dist/knowledge/references/presets.3d.layout-contract.md +4 -30
- package/dist/knowledge/references/presets.3d.register-layout.md +14 -36
- package/dist/knowledge/references/presets.layouts-2d.authoring.md +157 -0
- package/dist/knowledge/references/presets.layouts-2d.register-layout.md +53 -0
- package/dist/knowledge/references/presets.layouts-2d.settings.md +53 -0
- package/dist/knowledge/references/presets.layouts-2d.vocabulary.md +41 -0
- package/dist/knowledge/references/presets.models.field-form-control-variant.md +32 -0
- package/dist/knowledge/references/presets.models.labelling.sections.md +39 -0
- package/dist/knowledge/references/presets.models.palette-contrast.md +183 -0
- package/dist/knowledge/references/presets.models.palette-derivation.md +93 -0
- package/dist/knowledge/references/presets.models.surface-policy.defaults.md +27 -0
- package/dist/knowledge/references/presets.models.surface-variant.md +11 -0
- package/dist/knowledge/references/presets.models.theme-contract.md +136 -0
- package/dist/knowledge/references/presets.models.theme-personality-lexicon.md +81 -0
- package/dist/knowledge/references/presets.models.theme-personality.md +159 -0
- package/dist/knowledge/references/presets.themes.compose-theme.md +47 -0
- package/dist/knowledge/references/requirements.non-functional-requirement.config.md +4 -4
- package/dist/knowledge/references/requirements.snapshot.config.md +2 -3
- package/dist/knowledge/references/roadmap.phase.config.md +2 -16
- package/dist/knowledge/references/saas.approval-seals.admin-endpoints.md +158 -0
- package/dist/knowledge/references/saas.backend.a2a.token-budget.md +85 -12
- package/dist/knowledge/references/saas.backend.actor-execution-continuation.md +179 -0
- package/dist/knowledge/references/saas.backend.app-config.backend-authored.md +5 -1
- package/dist/knowledge/references/saas.backend.application-initialization.assembly.md +3 -1
- package/dist/knowledge/references/saas.backend.authorization.role-ceiling.md +13 -1
- package/dist/knowledge/references/saas.backend.crypto-keys.application-keys.md +100 -0
- package/dist/knowledge/references/saas.backend.custom-operation.authoritative-fields.md +4 -1
- package/dist/knowledge/references/saas.backend.custom-operation.commit-outcome-read-back.md +208 -0
- package/dist/knowledge/references/saas.backend.custom-operation.core-write-precondition.md +38 -0
- package/dist/knowledge/references/saas.backend.custom-operation.external-effect-reservation.md +109 -0
- package/dist/knowledge/references/saas.backend.custom-operation.hook-transaction-posture.md +43 -0
- package/dist/knowledge/references/saas.backend.custom-operation.target-authority.md +33 -0
- package/dist/knowledge/references/saas.backend.custom-operation.transactional-core.md +131 -1
- package/dist/knowledge/references/saas.backend.document-sequence.issue-in-operation.md +1 -1
- package/dist/knowledge/references/saas.backend.document-sequence.raise-floor.md +62 -13
- package/dist/knowledge/references/saas.backend.domain-module.md +105 -1
- package/dist/knowledge/references/saas.backend.email-template.definition.md +34 -0
- package/dist/knowledge/references/saas.backend.email-template.words.md +98 -0
- package/dist/knowledge/references/saas.backend.email.send.md +7 -0
- package/dist/knowledge/references/saas.backend.flows-actors.a2a-task-surface.md +35 -4
- package/dist/knowledge/references/saas.backend.flows-actors.ask-person-tool.md +79 -0
- package/dist/knowledge/references/saas.backend.flows-actors.autonomous-agent-case-selector.md +71 -0
- package/dist/knowledge/references/saas.backend.flows-actors.autonomous-agent-declaration.md +21 -10
- package/dist/knowledge/references/saas.backend.flows-actors.autonomous-agent-schedule.md +11 -5
- package/dist/knowledge/references/saas.backend.flows-actors.chat-agent-declaration.md +51 -0
- package/dist/knowledge/references/saas.backend.flows-actors.chat-reply-handler.md +219 -0
- package/dist/knowledge/references/saas.backend.flows-actors.decision-notice-handler.md +239 -0
- package/dist/knowledge/references/saas.backend.flows-actors.function-tool.md +661 -3
- package/dist/knowledge/references/saas.backend.flows-actors.invoke-agent.md +15 -2
- package/dist/knowledge/references/saas.backend.flows-actors.operation-approval-resolvers.md +50 -0
- package/dist/knowledge/references/saas.backend.flows-actors.present-records-tool.md +106 -0
- package/dist/knowledge/references/saas.backend.flows-actors.resource-read-tool.md +14 -1
- package/dist/knowledge/references/saas.backend.flows-actors.resource-write-tool.md +9 -4
- package/dist/knowledge/references/saas.backend.flows-actors.retrieval-tool.md +205 -0
- package/dist/knowledge/references/saas.backend.flows-actors.tool-dispatch-obligations.md +21 -5
- package/dist/knowledge/references/saas.backend.flows.start-flow-method.md +28 -0
- package/dist/knowledge/references/saas.backend.flows.start-flow.md +47 -0
- package/dist/knowledge/references/saas.backend.pdf-template.collection-definition.md +5 -3
- package/dist/knowledge/references/saas.backend.privacy.subject-export-archive.md +26 -0
- package/dist/knowledge/references/saas.backend.providers.connection-target-credential-resolution.md +21 -19
- package/dist/knowledge/references/saas.backend.providers.optional-runtime-peers.md +15 -25
- package/dist/knowledge/references/saas.backend.rate-limit-service.check-policy.md +3 -2
- package/dist/knowledge/references/saas.backend.submission-challenge.md +4 -0
- package/dist/knowledge/references/saas.backend.system-access-service.md +394 -104
- package/dist/knowledge/references/saas.config.content-security-policy.md +26 -10
- package/dist/knowledge/references/saas.data-seeding.definition-input.md +1 -1
- package/dist/knowledge/references/saas.data-seeding.modes.md +4 -1
- package/dist/knowledge/references/saas.data-seeding.row-reference.md +2 -4
- package/dist/knowledge/references/saas.data-seeding.run-ledger.md +3 -0
- package/dist/knowledge/references/saas.external-data.admin-endpoints.md +70 -3
- package/dist/knowledge/references/saas.external-providers.backend-provider-loader.md +6 -0
- package/dist/knowledge/references/saas.external-providers.backend-provider-registry.runtime-filter.md +2 -0
- package/dist/knowledge/references/saas.external-providers.llm.model-configuration.md +3 -0
- package/dist/knowledge/references/saas.frontend.app-level-component.configuration.md +10 -2
- package/dist/knowledge/references/saas.frontend.app-level-component.vocabulary.md +10 -16
- package/dist/knowledge/references/saas.frontend.app-shell.building-blocks.md +7 -3
- package/dist/knowledge/references/saas.frontend.app-shell.register-shell-layout.md +97 -0
- package/dist/knowledge/references/saas.frontend.app-shell.shell-layout-contract.md +60 -0
- package/dist/knowledge/references/saas.frontend.app-shell.shell-motion-contract.md +274 -0
- package/dist/knowledge/references/saas.frontend.app-shell.use-shell-motion.md +73 -0
- package/dist/knowledge/references/saas.frontend.brand-identity.md +6 -0
- package/dist/knowledge/references/saas.frontend.chart-dashboard-view.md +43 -0
- package/dist/knowledge/references/saas.frontend.chart-dashboard.md +130 -0
- package/dist/knowledge/references/saas.frontend.chart-view.inserted-declaration.md +13 -0
- package/dist/knowledge/references/saas.frontend.chart-view.resource-chart-data.md +8 -4
- package/dist/knowledge/references/saas.frontend.chat-sign-in-completion.md +99 -0
- package/dist/knowledge/references/saas.frontend.collection-filter-presets.md +92 -23
- package/dist/knowledge/references/saas.frontend.command-menu.search-resource.md +3 -3
- package/dist/knowledge/references/saas.frontend.display-layout.reading-measure.md +9 -3
- package/dist/knowledge/references/saas.frontend.domain-module.md +5 -0
- package/dist/knowledge/references/saas.frontend.embedded-resource-descent.md +2 -1
- package/dist/knowledge/references/saas.frontend.errors.backend-refusal.md +96 -0
- package/dist/knowledge/references/saas.frontend.execution-view.definition.md +57 -3
- package/dist/knowledge/references/saas.frontend.field-tiles.md +76 -0
- package/dist/knowledge/references/saas.frontend.flows-actors-view.md +10 -2
- package/dist/knowledge/references/saas.frontend.focus-indicator.md +119 -0
- package/dist/knowledge/references/saas.frontend.launcher.item-refs.md +14 -2
- package/dist/knowledge/references/saas.frontend.launcher.merge-rules.md +7 -4
- package/dist/knowledge/references/saas.frontend.launcher.runtime-availability.md +17 -16
- package/dist/knowledge/references/saas.frontend.linked-conversations-embed.md +3 -5
- package/dist/knowledge/references/saas.frontend.operation-key-and-resource-config-like.md +68 -1
- package/dist/knowledge/references/saas.frontend.providers.execute-operation.md +14 -24
- package/dist/knowledge/references/saas.frontend.record-page-parts.md +117 -0
- package/dist/knowledge/references/saas.frontend.related-resource-embeds.md +184 -5
- package/dist/knowledge/references/saas.frontend.related-resource-sections.md +6 -0
- package/dist/knowledge/references/saas.frontend.resource-header-title.md +98 -34
- package/dist/knowledge/references/saas.frontend.resource-label-params.md +3 -1
- package/dist/knowledge/references/saas.frontend.resource-layout-templates.md +59 -19
- package/dist/knowledge/references/saas.frontend.resource-operation-frontend-config.md +344 -62
- package/dist/knowledge/references/saas.frontend.resource-ui-behavior-config.md +13 -8
- package/dist/knowledge/references/saas.frontend.section-stages.md +63 -0
- package/dist/knowledge/references/saas.frontend.settings-hub.engine-destinations.md +183 -32
- package/dist/knowledge/references/saas.frontend.settings-hub.placement.md +72 -13
- package/dist/knowledge/references/saas.frontend.viewer-may-perform-operation.md +52 -0
- package/dist/knowledge/references/saas.models.agent-suspension.md +75 -0
- package/dist/knowledge/references/saas.models.agent-work-capture-settings.md +2 -2
- package/dist/knowledge/references/saas.models.agent-work-decision-contents-read.md +69 -0
- package/dist/knowledge/references/saas.models.agent-work-decision-surface.md +11 -2
- package/dist/knowledge/references/saas.models.agent-work-decision-vocabulary.md +20 -3
- package/dist/knowledge/references/saas.models.agent-work-output-review.md +3 -3
- package/dist/knowledge/references/saas.models.agent-work-override-rate.md +6 -5
- package/dist/knowledge/references/saas.models.agent-work-review-config.md +22 -4
- package/dist/knowledge/references/saas.models.analytics.value-moments.md +22 -0
- package/dist/knowledge/references/saas.models.application-agent-policy.md +28 -0
- package/dist/knowledge/references/saas.models.application-entry-points.md +45 -0
- package/dist/knowledge/references/saas.models.audit-trails.actor-attribution.md +21 -0
- package/dist/knowledge/references/saas.models.audit.trail-config.md +18 -5
- package/dist/knowledge/references/saas.models.auth.relationship-grantor-authentication.md +175 -0
- package/dist/knowledge/references/saas.models.authorization.administrative-continuity-codes.md +4 -4
- package/dist/knowledge/references/saas.models.chat-identity-link-host.md +38 -0
- package/dist/knowledge/references/saas.models.compliance.ai-use-classification.md +179 -0
- package/dist/knowledge/references/saas.models.compliance.ai-use-posture.md +121 -0
- package/dist/knowledge/references/saas.models.config.declared-type-renames.md +246 -0
- package/dist/knowledge/references/saas.models.config.organization-types.md +54 -74
- package/dist/knowledge/references/saas.models.conversation-threads.md +43 -6
- package/dist/knowledge/references/saas.models.crypto-keys.floors.md +32 -0
- package/dist/knowledge/references/saas.models.crypto-keys.key-management-config.md +130 -0
- package/dist/knowledge/references/saas.models.crypto-keys.local-provider.md +29 -0
- package/dist/knowledge/references/saas.models.crypto-keys.purpose-descriptor.md +442 -0
- package/dist/knowledge/references/saas.models.crypto-keys.purposes.md +91 -0
- package/dist/knowledge/references/saas.models.data-mode-read-list.md +24 -79
- package/dist/knowledge/references/saas.models.engine-capabilities.md +39 -2
- package/dist/knowledge/references/saas.models.engine-capabilities.required-provider-floor.md +3 -0
- package/dist/knowledge/references/saas.models.evaluation-dataset-export.md +16 -9
- package/dist/knowledge/references/saas.models.evaluation-export-authorization.md +23 -6
- package/dist/knowledge/references/saas.models.external-data-conflict-vocabulary.md +53 -0
- package/dist/knowledge/references/saas.models.external-data-pipeline.md +96 -26
- package/dist/knowledge/references/saas.models.flows-actors.agent-behavior-report-config.md +28 -0
- package/dist/knowledge/references/saas.models.flows-actors.agent-behavior-report.md +321 -0
- package/dist/knowledge/references/saas.models.flows-actors.agent-configuration.md +29 -0
- package/dist/knowledge/references/saas.models.flows-actors.agent-content-guardrails.md +150 -0
- package/dist/knowledge/references/saas.models.flows-actors.agent-definition.md +45 -0
- package/dist/knowledge/references/saas.models.flows-actors.agent-operation-record.md +154 -0
- package/dist/knowledge/references/saas.models.flows-actors.autonomous-agents-vocabulary.md +49 -7
- package/dist/knowledge/references/saas.models.flows-actors.chat-agents-vocabulary.md +26 -0
- package/dist/knowledge/references/saas.models.flows-actors.decision-card-wording.md +284 -0
- package/dist/knowledge/references/saas.models.flows-actors.decision-notice-recorded-cards.md +93 -0
- package/dist/knowledge/references/saas.models.flows-actors.human-decision-decider.md +70 -0
- package/dist/knowledge/references/saas.models.flows-actors.human-input-form.md +349 -0
- package/dist/knowledge/references/saas.models.flows-actors.operation-approval-pending.md +55 -0
- package/dist/knowledge/references/saas.models.flows-actors.operation-approval-requirement.md +93 -0
- package/dist/knowledge/references/saas.models.flows-actors.review-deadline-vocabulary.md +6 -0
- package/dist/knowledge/references/saas.models.flows-actors.review-deadlines-declaration.md +4 -3
- package/dist/knowledge/references/saas.models.flows.run-state.md +49 -0
- package/dist/knowledge/references/saas.models.flows.runnable-model.md +274 -0
- package/dist/knowledge/references/saas.models.frontend-on-demand-capability-contract.md +54 -0
- package/dist/knowledge/references/saas.models.guidance-flow.md +1 -1
- package/dist/knowledge/references/saas.models.http-api-binding.md +176 -50
- package/dist/knowledge/references/saas.models.http-api-binding.rest-write-operations.md +3 -3
- package/dist/knowledge/references/saas.models.http-api-population-filter.md +51 -0
- package/dist/knowledge/references/saas.models.human-decision-review-marker.md +1 -1
- package/dist/knowledge/references/saas.models.inbound-channels.md +75 -3
- package/dist/knowledge/references/saas.models.inbound-email-domains.md +5 -5
- package/dist/knowledge/references/saas.models.inbound-email.md +2 -2
- package/dist/knowledge/references/saas.models.m2m-webhook-events.md +73 -0
- package/dist/knowledge/references/saas.models.model-cost-accounting-config.md +1 -1
- package/dist/knowledge/references/saas.models.model-cost-summary.md +56 -20
- package/dist/knowledge/references/saas.models.notifications.targets.md +28 -3
- package/dist/knowledge/references/saas.models.notifications.user-notification-definition.md +259 -21
- package/dist/knowledge/references/saas.models.on-demand-provider-capabilities.md +28 -0
- package/dist/knowledge/references/saas.models.organization-agent-policy.md +43 -0
- package/dist/knowledge/references/saas.models.organization-assigned-rows-declaration.md +74 -0
- package/dist/knowledge/references/saas.models.organization-own-rows-declaration.md +51 -0
- package/dist/knowledge/references/saas.models.organization-unit-narrowing-containment.md +6 -6
- package/dist/knowledge/references/saas.models.organizations.application-owner-codes.md +9 -10
- package/dist/knowledge/references/saas.models.organizations.identity-declaration.md +201 -0
- package/dist/knowledge/references/saas.models.organizations.organization-relationships.md +933 -0
- package/dist/knowledge/references/saas.models.organizations.professional-qualification-kinds.md +46 -0
- package/dist/knowledge/references/saas.models.organizations.professional-qualifications.md +168 -0
- package/dist/knowledge/references/{saas.models.organizations.service-provider-capability-grants.md → saas.models.organizations.relationship-capability-grants.md} +56 -35
- package/dist/knowledge/references/saas.models.organizations.relationship-grantor-controls.md +62 -0
- package/dist/knowledge/references/saas.models.organizations.relationship-invitations.md +228 -0
- package/dist/knowledge/references/saas.models.organizations.relationship-kinds.md +291 -0
- package/dist/knowledge/references/saas.models.organizations.relationship-record-separation.md +114 -0
- package/dist/knowledge/references/saas.models.privacy.data-residency.md +676 -0
- package/dist/knowledge/references/saas.models.privacy.legal-holds.md +114 -7
- package/dist/knowledge/references/saas.models.privacy.provider-capability-disclosure.md +73 -2
- package/dist/knowledge/references/saas.models.privacy.redaction-treatments.md +13 -14
- package/dist/knowledge/references/saas.models.privacy.retention-binding.md +84 -1
- package/dist/knowledge/references/saas.models.privacy.retention-enforcement-record.md +10 -0
- package/dist/knowledge/references/saas.models.privacy.retention-schedule.md +5 -3
- package/dist/knowledge/references/saas.models.privacy.subject-data-recipients.md +280 -40
- package/dist/knowledge/references/saas.models.privacy.subject-export.md +134 -0
- package/dist/knowledge/references/saas.models.provider-capabilities.md +38 -0
- package/dist/knowledge/references/saas.models.provider-usage-pricing-authority.md +50 -1
- package/dist/knowledge/references/saas.models.providers.capability-activation-policy.md +28 -0
- package/dist/knowledge/references/saas.models.providers.capability-resolution-mode.md +20 -6
- package/dist/knowledge/references/saas.models.providers.compliance-choice.md +52 -0
- package/dist/knowledge/references/saas.models.providers.execute-operation-request.md +25 -0
- package/dist/knowledge/references/saas.models.providers.processing-region-reach.md +132 -0
- package/dist/knowledge/references/saas.models.providers.processing-region-selection.md +139 -0
- package/dist/knowledge/references/saas.models.providers.scope-reauthorization.md +1 -1
- package/dist/knowledge/references/saas.models.queue.scheduled-recovery.md +13 -1
- package/dist/knowledge/references/saas.models.rate-limit-configuration.md +4 -4
- package/dist/knowledge/references/saas.models.representative-activity.md +69 -0
- package/dist/knowledge/references/saas.models.resource-config.builder-parameters.md +165 -44
- package/dist/knowledge/references/saas.models.resource-config.metered-usage-recording.md +24 -0
- package/dist/knowledge/references/saas.models.resource-config.operation-api-call.md +92 -11
- package/dist/knowledge/references/saas.models.resource-config.operation-auditable-event.md +4 -2
- package/dist/knowledge/references/saas.models.resource-config.operation-base.md +20 -3
- package/dist/knowledge/references/saas.models.resource-config.operation-bulk.md +37 -0
- package/dist/knowledge/references/saas.models.resource-config.operation-chat-command.md +39 -0
- package/dist/knowledge/references/saas.models.resource-config.operation-condition-parameters.md +56 -0
- package/dist/knowledge/references/saas.models.resource-config.operation-idempotency-key.md +16 -6
- package/dist/knowledge/references/saas.models.resource-config.operation-mcp-exposure.md +1 -1
- package/dist/knowledge/references/saas.models.resource-config.operation-required-qualifications.md +30 -0
- package/dist/knowledge/references/saas.models.resource-config.operation-scope-admissions.md +137 -2
- package/dist/knowledge/references/saas.models.resource-config.operation-submission-challenge.md +1 -1
- package/dist/knowledge/references/saas.models.resource-config.operation-union.md +0 -1
- package/dist/knowledge/references/saas.models.resource-config.operation-variant-client-timeout.md +1 -1
- package/dist/knowledge/references/saas.models.resource-config.record-label-fields.md +23 -0
- package/dist/knowledge/references/saas.models.resource-config.request-field-offers.md +104 -0
- package/dist/knowledge/references/saas.models.resource-config.required-features.md +20 -0
- package/dist/knowledge/references/saas.models.resource-config.resource-configuration.md +23 -16
- package/dist/knowledge/references/saas.models.resource-config.resources-registry.md +25 -3
- package/dist/knowledge/references/saas.models.resource-config.retention-policy.md +46 -0
- package/dist/knowledge/references/saas.models.resource-config.system-access-policy.md +32 -15
- package/dist/knowledge/references/saas.models.resource-config.system-managed-fields.md +2 -1
- package/dist/knowledge/references/saas.models.resource-config.token-generation.md +1 -1
- package/dist/knowledge/references/saas.models.resource-operation-display-risk.md +5 -4
- package/dist/knowledge/references/saas.models.resource-operation-variant-runtime.md +3 -2
- package/dist/knowledge/references/saas.models.resource-relationship-builder-parameters.md +6 -2
- package/dist/knowledge/references/saas.models.roadmap.phase-horizon.md +31 -0
- package/dist/knowledge/references/saas.models.roles.definition.md +12 -1
- package/dist/knowledge/references/saas.models.roles.organization-defaults.md +12 -6
- package/dist/knowledge/references/saas.models.schema-family-builder.md +32 -4
- package/dist/knowledge/references/saas.models.scope-membership.md +2 -2
- package/dist/knowledge/references/saas.models.system-of-record-actions.md +65 -1
- package/dist/knowledge/references/saas.models.system-of-record-capabilities.md +123 -0
- package/dist/knowledge/references/saas.models.system-of-record-error-codes.md +19 -2
- package/dist/knowledge/references/saas.models.systems-of-record.md +110 -14
- package/dist/knowledge/references/saas.models.work-attribution-vocabulary.md +7 -3
- package/dist/knowledge/references/saas.models.work-unit-ref.md +17 -2
- package/dist/knowledge/references/saas.public-runtime.contract.md +75 -25
- package/dist/knowledge/references/saas.rag.retrieval-refusals.md +3 -2
- package/dist/knowledge/references/saas.specifications.assurance-control-markers.md +3 -2
- package/dist/knowledge/references/saas.specifications.assurance-document-blueprint.contract.md +13 -0
- package/dist/knowledge/references/saas.specifications.assurance-program.contract.md +287 -17
- package/dist/knowledge/references/saas.specifications.catalogs.schema-org.catalog-spec-shared.md +5 -4
- package/dist/knowledge/references/saas.specifications.companion-exports.contract.md +30 -2
- package/dist/knowledge/references/saas.specifications.engine-resource-sub-domain.md +105 -0
- package/dist/knowledge/references/saas.specifications.governed-document-release.contract.md +22 -4
- package/dist/knowledge/references/saas.specifications.processor-register.md +10 -1
- package/dist/knowledge/references/saas.specifications.recipient-disclosures.md +111 -2
- package/dist/knowledge/references/saas.specifications.recipient-population.md +46 -0
- package/dist/knowledge/references/saas.specifications.resource-frontend-configuration-aspect.md +7 -0
- package/dist/knowledge/references/saas.specifications.resource-operation-spec.md +44 -5
- package/dist/knowledge/references/saas.specifications.resource-spec-config.md +21 -7
- package/dist/knowledge/references/saas.specifications.resource-spec-factory.md +113 -70
- package/dist/knowledge/references/saas.specifications.subject-data-recipients.md +136 -6
- package/dist/knowledge/references/saas.specifications.translation-glossary.md +80 -0
- package/dist/knowledge/references/saas.website.astro.bridge.md +51 -14
- package/dist/knowledge/references/saas.website.astro.head-renderer.md +63 -27
- package/dist/knowledge/references/saas.website.astro.i18n-helper.md +39 -10
- package/dist/knowledge/references/saas.website.astro.label-key-collector.md +12 -11
- package/dist/knowledge/references/saas.website.astro.label-loader.md +77 -14
- package/dist/knowledge/references/saas.website.astro.pick-labels-for-page.md +1 -2
- package/dist/knowledge/references/saas.website.astro.runtime-helper.md +49 -17
- package/dist/knowledge/references/saas.website.astro.site-context.md +17 -8
- package/dist/knowledge/references/saas.website.astro.structured-data-renderer.md +29 -8
- package/dist/knowledge/references/saas.website.blocks.actions.md +91 -0
- package/dist/knowledge/references/saas.website.blocks.band.md +41 -0
- package/dist/knowledge/references/saas.website.blocks.bento.md +70 -0
- package/dist/knowledge/references/saas.website.blocks.card-grid.md +115 -0
- package/dist/knowledge/references/saas.website.blocks.card.md +77 -0
- package/dist/knowledge/references/saas.website.blocks.cta-band.md +94 -0
- package/dist/knowledge/references/saas.website.blocks.define-block.md +123 -0
- package/dist/knowledge/references/saas.website.blocks.definitions.md +132 -0
- package/dist/knowledge/references/saas.website.blocks.faq.md +89 -0
- package/dist/knowledge/references/saas.website.blocks.feature-row.md +109 -0
- package/dist/knowledge/references/saas.website.blocks.hero.md +140 -0
- package/dist/knowledge/references/saas.website.blocks.intro.md +68 -0
- package/dist/knowledge/references/saas.website.blocks.latest-posts.md +104 -0
- package/dist/knowledge/references/saas.website.blocks.marquee.md +76 -0
- package/dist/knowledge/references/saas.website.blocks.pricing.md +395 -0
- package/dist/knowledge/references/saas.website.blocks.product-tour.md +158 -0
- package/dist/knowledge/references/saas.website.blocks.quote-cards.md +64 -0
- package/dist/knowledge/references/saas.website.blocks.roadmap.md +108 -0
- package/dist/knowledge/references/saas.website.blocks.section-slots.md +64 -0
- package/dist/knowledge/references/saas.website.blocks.solution-paths.md +71 -0
- package/dist/knowledge/references/saas.website.blocks.stats.md +183 -0
- package/dist/knowledge/references/saas.website.blocks.steps.md +69 -0
- package/dist/knowledge/references/saas.website.blocks.stylesheet.md +68 -0
- package/dist/knowledge/references/saas.website.blocks.tables.md +153 -0
- package/dist/knowledge/references/saas.website.blocks.vocabulary.md +227 -0
- package/dist/knowledge/references/saas.website.blog.bridge.md +98 -53
- package/dist/knowledge/references/saas.website.blog.collection-config.md +105 -49
- package/dist/knowledge/references/saas.website.blog.cover-resolver.md +93 -0
- package/dist/knowledge/references/saas.website.blog.frontmatter.md +106 -9
- package/dist/knowledge/references/saas.website.blog.head-renderer.md +37 -19
- package/dist/knowledge/references/saas.website.blog.index-builder.md +63 -0
- package/dist/knowledge/references/saas.website.blog.index.md +43 -0
- package/dist/knowledge/references/saas.website.blog.post-cover.md +38 -0
- package/dist/knowledge/references/saas.website.blog.post-renderer.md +115 -87
- package/dist/knowledge/references/saas.website.blog.react-mdx-integration.md +188 -0
- package/dist/knowledge/references/saas.website.blog.react-mdx-query.md +26 -0
- package/dist/knowledge/references/saas.website.blog.vocabulary-labels.md +113 -0
- package/dist/knowledge/references/saas.website.config.pricing-catalog-loader.md +5 -2
- package/dist/knowledge/references/saas.website.config.site-context-loader.md +26 -3
- package/dist/knowledge/references/saas.website.consent.banner.md +1 -1
- package/dist/knowledge/references/saas.website.consent.context.md +1 -1
- package/dist/knowledge/references/saas.website.design-tokens.bundle.md +28 -6
- package/dist/knowledge/references/saas.website.design-tokens.colors.md +7 -6
- package/dist/knowledge/references/saas.website.design-tokens.compose-function.md +35 -0
- package/dist/knowledge/references/saas.website.design-tokens.compose.md +76 -0
- package/dist/knowledge/references/saas.website.design-tokens.personality-derivation.md +22 -0
- package/dist/knowledge/references/saas.website.design-tokens.personality-lexicon.md +31 -0
- package/dist/knowledge/references/saas.website.design-tokens.personality.md +82 -0
- package/dist/knowledge/references/saas.website.design-tokens.product.md +122 -0
- package/dist/knowledge/references/saas.website.design-tokens.radius.md +12 -1
- package/dist/knowledge/references/saas.website.design-tokens.readers.md +58 -0
- package/dist/knowledge/references/saas.website.design-tokens.spacing.md +61 -0
- package/dist/knowledge/references/saas.website.design-tokens.surface-depth.md +60 -0
- package/dist/knowledge/references/saas.website.design-tokens.tones.md +75 -0
- package/dist/knowledge/references/saas.website.design-tokens.typography.md +115 -0
- package/dist/knowledge/references/saas.website.factories.define-page-manifest.md +23 -21
- package/dist/knowledge/references/saas.website.factories.define-section.md +36 -38
- package/dist/knowledge/references/saas.website.format.publication-date.md +26 -0
- package/dist/knowledge/references/saas.website.label-keys.compose-helper.md +1 -1
- package/dist/knowledge/references/saas.website.label-keys.format.md +4 -3
- package/dist/knowledge/references/saas.website.label-pack.validator.md +9 -8
- package/dist/knowledge/references/saas.website.labels.section-labels.md +34 -0
- package/dist/knowledge/references/saas.website.legal.public-document-links.md +19 -4
- package/dist/knowledge/references/saas.website.locale-switcher.label-keys.md +35 -0
- package/dist/knowledge/references/saas.website.menu.icons.md +123 -0
- package/dist/knowledge/references/saas.website.menu.label-keys.md +112 -0
- package/dist/knowledge/references/saas.website.menu.schema.md +92 -0
- package/dist/knowledge/references/saas.website.menu.vocabulary.md +79 -0
- package/dist/knowledge/references/saas.website.motion.demo-player.md +105 -0
- package/dist/knowledge/references/saas.website.motion.demo-scenario.md +460 -0
- package/dist/knowledge/references/saas.website.motion.demo.md +324 -0
- package/dist/knowledge/references/saas.website.motion.element-attributes.md +115 -0
- package/dist/knowledge/references/saas.website.motion.reveal-renditions.md +67 -0
- package/dist/knowledge/references/saas.website.motion.stylesheet.md +82 -0
- package/dist/knowledge/references/saas.website.motion.tempo-table.md +99 -0
- package/dist/knowledge/references/saas.website.motion.tokens.md +46 -0
- package/dist/knowledge/references/saas.website.motion.vocabulary.md +85 -0
- package/dist/knowledge/references/saas.website.page-layout.component.md +34 -8
- package/dist/knowledge/references/saas.website.page-manifest.meta-label-keys.md +4 -4
- package/dist/knowledge/references/saas.website.page-manifest.route-path.md +1 -1
- package/dist/knowledge/references/saas.website.page-manifest.schema.md +25 -29
- package/dist/knowledge/references/saas.website.page-manifest.seo.md +1 -1
- package/dist/knowledge/references/saas.website.page-navigation.md +44 -0
- package/dist/knowledge/references/saas.website.page.context.md +9 -2
- package/dist/knowledge/references/saas.website.primitives.button.md +6 -6
- package/dist/knowledge/references/saas.website.primitives.heading.md +17 -18
- package/dist/knowledge/references/saas.website.primitives.image.md +18 -15
- package/dist/knowledge/references/saas.website.primitives.internal-button.md +11 -12
- package/dist/knowledge/references/saas.website.primitives.internal-link.md +11 -35
- package/dist/knowledge/references/saas.website.primitives.link.md +22 -11
- package/dist/knowledge/references/saas.website.primitives.text.md +10 -8
- package/dist/knowledge/references/saas.website.product.atoms.md +366 -0
- package/dist/knowledge/references/saas.website.product.figures.md +320 -0
- package/dist/knowledge/references/saas.website.product.hooks.md +278 -0
- package/dist/knowledge/references/saas.website.product.panels.md +324 -0
- package/dist/knowledge/references/saas.website.product.stylesheet.md +1086 -0
- package/dist/knowledge/references/saas.website.refs.section.md +2 -2
- package/dist/knowledge/references/saas.website.root-config.schema.md +34 -17
- package/dist/knowledge/references/saas.website.routing.link-target.md +70 -0
- package/dist/knowledge/references/saas.website.routing.localized-path.md +15 -8
- package/dist/knowledge/references/saas.website.runtime.context.md +44 -17
- package/dist/knowledge/references/saas.website.section.component.md +21 -19
- package/dist/knowledge/references/saas.website.sections.category-enum.md +21 -2
- package/dist/knowledge/references/saas.website.sections.definition-schema.md +47 -39
- package/dist/knowledge/references/saas.website.site-footer.menu.md +47 -0
- package/dist/knowledge/references/saas.website.site-header.component.md +100 -0
- package/dist/knowledge/references/saas.website.site-header.scroll-behavior.md +26 -0
- package/dist/knowledge/references/saas.website.stacking.md +86 -0
- package/dist/knowledge/references/saas.website.structured-data.payload-shape.md +162 -0
- package/dist/knowledge/references/saas.website.use-blog-index.hook.md +27 -0
- package/dist/knowledge/references/saas.website.use-label.hook.md +6 -4
- package/dist/knowledge/references/service-method.config.md +303 -0
- package/dist/knowledge/references/vision.constraint.config.md +4 -2
- package/dist/knowledge/references/website-plan.config.md +544 -32
- package/dist/knowledge/references/website-plan.menu-placement.md +118 -0
- package/dist/knowledge/references/website-plan.page-kind-essentials.md +42 -0
- package/dist/knowledge/references/website-plan.page-routes.md +39 -0
- package/dist/knowledge/references/workers.node.worker-init-contract.md +4 -2
- package/dist/knowledge/references/zod.decorators.chainable-runtime.md +133 -9
- package/dist/knowledge/references/zod.decorators.chrome-modes.md +92 -0
- package/dist/knowledge/references/zod.decorators.data-categories.md +124 -34
- package/dist/knowledge/references/zod.decorators.decorator-vocabulary.md +99 -6
- package/dist/knowledge/references/zod.decorators.display-edit-modes.md +34 -1
- package/dist/knowledge/references/zod.decorators.enums.frontend-handling.md +41 -7
- package/dist/knowledge/references/zod.decorators.file-schema.md +10 -8
- package/dist/knowledge/references/zod.decorators.per-primitive-ui.md +25 -9
- package/dist/knowledge/references/zod.decorators.primitive-ui.md +15 -3
- package/dist/knowledge/references/zod.decorators.rag-source.md +20 -20
- package/dist/knowledge/references/zod.decorators.schema-metadata.md +6 -0
- package/dist/knowledge/references/zod.decorators.shared-structural-methods.md +52 -18
- package/dist/knowledge/references/zod.decorators.shared-structural-params.md +107 -5
- package/dist/knowledge/references/zod.decorators.structural-lifecycle-params.md +193 -9
- package/dist/knowledge/references/zod.factories.bigdecimal.md +17 -8
- package/dist/knowledge/references/zod.factories.code.md +18 -9
- package/dist/knowledge/references/zod.factories.duration.md +23 -14
- package/dist/knowledge/references/zod.factories.money.md +24 -15
- package/dist/knowledge/references/zod.factories.phone.md +23 -14
- package/dist/knowledge/references/zod.factories.range.md +5 -1
- package/dist/knowledge/references/zod.factories.year-month.md +79 -0
- package/dist/knowledge/registries/assurance-authority-bases.json +3 -3
- package/dist/knowledge/registries/framework-topics.json +5250 -2565
- package/dist/knowledge/registries/playbooks.json +88 -55
- package/dist/knowledge/registries/source-tags.json +9347 -4807
- package/dist/knowledge/rules/database-migration-obligation.md +10 -5
- package/dist/knowledge/rules/live-context-door.md +1 -1
- package/dist/knowledge/skills/INDEX.md +62 -33
- package/dist/knowledge/skills/agent-work-review/SKILL.md +86 -23
- package/dist/knowledge/skills/agent-work-review/references/framework-actor-execution-continuation-api.md +227 -0
- package/dist/knowledge/skills/agent-work-review/references/framework-agent-work-capture-settings-api.md +2 -2
- package/dist/knowledge/skills/agent-work-review/references/framework-agent-work-decision-contents-api.md +79 -0
- package/dist/knowledge/skills/agent-work-review/references/framework-agent-work-output-review-api.md +4 -4
- package/dist/knowledge/skills/agent-work-review/references/framework-agent-work-override-rate-api.md +6 -5
- package/dist/knowledge/skills/agent-work-review/references/framework-agent-work-review-config-api.md +22 -4
- package/dist/knowledge/skills/agent-work-review/references/framework-agent-work-review-marker-api.md +16 -4
- package/dist/knowledge/skills/agent-work-review/references/framework-agent-work-vocabulary-api.md +20 -3
- package/dist/knowledge/skills/agent-work-review/references/framework-evaluation-dataset-export-api.md +16 -9
- package/dist/knowledge/skills/agent-work-review/references/framework-evaluation-export-authorization-api.md +24 -7
- package/dist/knowledge/skills/agent-work-review/references/framework-human-input-form-api.md +376 -0
- package/dist/knowledge/skills/ai-use-declaration/SKILL.md +192 -0
- package/dist/knowledge/skills/ai-use-declaration/references/choosing-the-domain-and-class.md +73 -0
- package/dist/knowledge/skills/ai-use-declaration/references/framework-ai-use-classification-api.md +194 -0
- package/dist/knowledge/skills/ai-use-declaration/references/framework-ai-use-posture-api.md +136 -0
- package/dist/knowledge/skills/application-consumer-documentation-authoring/SKILL.md +30 -19
- package/dist/knowledge/skills/application-consumer-documentation-authoring/references/framework-documentation-chapters-api.md +48 -13
- package/dist/knowledge/skills/application-consumer-documentation-authoring/references/source-and-ownership-routing.md +2 -2
- package/dist/knowledge/skills/application-database-migrations/SKILL.md +26 -9
- package/dist/knowledge/skills/application-database-migrations/references/postgresql-supported-surfaces.md +64 -0
- package/dist/knowledge/skills/application-database-migrations/references/postgresql-vs-mongodb-obligations.md +37 -1
- package/dist/knowledge/skills/application-roles-authoring/SKILL.md +28 -3
- package/dist/knowledge/skills/application-roles-authoring/references/framework-application-roles-api.md +24 -7
- package/dist/knowledge/skills/application-roles-authoring/references/office-and-field-worked-example.md +22 -1
- package/dist/knowledge/skills/authorization-unit-narrowing/SKILL.md +168 -3
- package/dist/knowledge/skills/authorization-unit-narrowing/references/framework-assigned-rows-declaration-api.md +92 -0
- package/dist/knowledge/skills/authorization-unit-narrowing/references/framework-organization-identity-declaration-api.md +247 -0
- package/dist/knowledge/skills/authorization-unit-narrowing/references/framework-own-rows-declaration-api.md +66 -0
- package/dist/knowledge/skills/authorization-unit-narrowing/references/framework-unit-narrowing-declaration-api.md +6 -6
- package/dist/knowledge/skills/backend-addon-wiring/SKILL.md +6 -0
- package/dist/knowledge/skills/backend-addon-wiring/references/framework-backend-bootstrap-api.md +108 -2
- package/dist/knowledge/skills/backend-custom-operation/SKILL.md +81 -10
- package/dist/knowledge/skills/backend-custom-operation/references/after-the-operation.md +4 -1
- package/dist/knowledge/skills/backend-custom-operation/references/declared-refusal-codes.md +95 -0
- package/dist/knowledge/skills/backend-custom-operation/references/framework-assurance-control-markers.md +3 -2
- package/dist/knowledge/skills/backend-custom-operation/references/framework-audit-log-event-api.md +5 -2
- package/dist/knowledge/skills/backend-custom-operation/references/framework-core-write-precondition-api.md +73 -0
- package/dist/knowledge/skills/backend-custom-operation/references/framework-error-handling-api.md +5 -0
- package/dist/knowledge/skills/backend-custom-operation/references/framework-external-effect-reservation-api.md +276 -0
- package/dist/knowledge/skills/backend-custom-operation/references/framework-hook-transaction-posture-api.md +79 -0
- package/dist/knowledge/skills/backend-custom-operation/references/framework-operation-base-and-path-api.md +20 -3
- package/dist/knowledge/skills/backend-custom-operation/references/framework-target-authority-api.md +61 -0
- package/dist/knowledge/skills/backend-custom-operation/references/framework-transactional-core-api.md +368 -1
- package/dist/knowledge/skills/blueprint-authoring/SKILL.md +191 -0
- package/dist/knowledge/skills/blueprint-authoring/references/blueprint-content-kinds.md +29 -0
- package/dist/knowledge/skills/blueprint-authoring/references/framework-blueprint-definition-api.md +490 -0
- package/dist/knowledge/skills/brand-logo-authoring/SKILL.md +127 -2
- package/dist/knowledge/skills/brand-logo-authoring/references/brand-authoring-decisions.md +15 -3
- package/dist/knowledge/skills/brand-logo-authoring/references/framework-brand-snapshot-api.md +26 -8
- package/dist/knowledge/skills/brand-logo-authoring/references/framework-style-word-lexicon-api.md +126 -0
- package/dist/knowledge/skills/brand-name-screening/SKILL.md +13 -2
- package/dist/knowledge/skills/brand-name-screening/references/framework-brand-name-screening-api.md +30 -3
- package/dist/knowledge/skills/chat-agent-conversations/SKILL.md +166 -0
- package/dist/knowledge/skills/chat-agent-conversations/references/framework-chat-conversations-api.md +307 -0
- package/dist/knowledge/skills/compliance-document-authoring/SKILL.md +2 -1
- package/dist/knowledge/skills/compliance-document-authoring/references/document-composition-governance.md +8 -6
- package/dist/knowledge/skills/compliance-document-authoring/references/document-composition-privacy-notice.md +179 -37
- package/dist/knowledge/skills/compliance-document-authoring/references/document-composition-service-terms.md +4 -3
- package/dist/knowledge/skills/compliance-document-authoring/references/framework-assurance-document-blueprint-contract.md +13 -0
- package/dist/knowledge/skills/compliance-document-authoring/references/framework-governed-document-after-drafting.md +48 -11
- package/dist/knowledge/skills/compliance-document-authoring/references/framework-processor-register-authoring.md +10 -1
- package/dist/knowledge/skills/compliance-document-authoring/references/framework-provider-compliance-choice-api.md +896 -0
- package/dist/knowledge/skills/compliance-document-authoring/references/framework-recipient-disclosures.md +184 -4
- package/dist/knowledge/skills/compliance-document-authoring/references/framework-recipient-population.md +46 -0
- package/dist/knowledge/skills/compliance-document-authoring/references/framework-subject-data-recipients.md +487 -61
- package/dist/knowledge/skills/config-app-shell/SKILL.md +62 -29
- package/dist/knowledge/skills/config-app-shell/references/framework-app-shell-api.md +20 -18
- package/dist/knowledge/skills/config-app-shell/references/framework-app-shell-building-blocks-api.md +7 -3
- package/dist/knowledge/skills/config-app-shell/references/framework-app-shell-hosted-components-api.md +13 -0
- package/dist/knowledge/skills/config-app-shell/references/framework-brand-identity-api.md +20 -0
- package/dist/knowledge/skills/config-app-shell/references/framework-command-menu-omnibox-api.md +3 -3
- package/dist/knowledge/skills/config-app-shell/references/framework-launcher-items-api.md +21 -6
- package/dist/knowledge/skills/config-app-shell/references/framework-launcher-visibility-api.md +24 -22
- package/dist/knowledge/skills/config-app-shell/references/framework-shell-layout-api.md +528 -0
- package/dist/knowledge/skills/config-design-system/SKILL.md +245 -162
- package/dist/knowledge/skills/config-design-system/references/design-system-file.md +5 -1
- package/dist/knowledge/skills/config-design-system/references/framework-focus-indicator-api.md +182 -0
- package/dist/knowledge/skills/config-design-system/references/framework-palette-contrast-api.md +195 -0
- package/dist/knowledge/skills/config-design-system/references/framework-palette-derivation-api.md +108 -0
- package/dist/knowledge/skills/config-design-system/references/framework-surface-policy-api.md +38 -0
- package/dist/knowledge/skills/config-design-system/references/framework-theme-composition-api.md +278 -0
- package/dist/knowledge/skills/config-design-system/references/theme-design-principles.md +202 -0
- package/dist/knowledge/skills/config-navigation/SKILL.md +2 -0
- package/dist/knowledge/skills/config-navigation/references/framework-content-width-api.md +16 -5
- package/dist/knowledge/skills/config-navigation/references/how-navigation-resolves.md +1 -1
- package/dist/knowledge/skills/config-navigation/references/navigation-configuration-map.md +12 -1
- package/dist/knowledge/skills/config-navigation/references/one-entry-per-concept.md +101 -0
- package/dist/knowledge/skills/config-saas/SKILL.md +4 -2
- package/dist/knowledge/skills/config-saas/references/compliance-declarations.md +51 -6
- package/dist/knowledge/skills/config-saas/references/framework-audit-trail-config-api.md +18 -5
- package/dist/knowledge/skills/config-saas/references/framework-auditable-event-catalog.md +333 -0
- package/dist/knowledge/skills/config-saas/references/framework-background-work-api.md +29 -1
- package/dist/knowledge/skills/config-saas/references/framework-capability-resolution-api.md +83 -11
- package/dist/knowledge/skills/config-saas/references/framework-connection-target-credentials.md +21 -19
- package/dist/knowledge/skills/config-saas/references/framework-content-security-policy-api.md +26 -10
- package/dist/knowledge/skills/config-saas/references/framework-key-management-api.md +1370 -0
- package/dist/knowledge/skills/config-saas/references/framework-provider-capabilities-api.md +77 -2
- package/dist/knowledge/skills/config-saas/references/framework-systems-of-record-api.md +171 -26
- package/dist/knowledge/skills/config-saas/references/framework-value-moments-api.md +22 -0
- package/dist/knowledge/skills/config-saas/references/framework-wildo-saas-config-api.md +126 -32
- package/dist/knowledge/skills/config-saas/references/saas-config-scope.md +1 -1
- package/dist/knowledge/skills/config-saas-backend/SKILL.md +16 -4
- package/dist/knowledge/skills/config-saas-backend/references/framework-application-owner-organization-codes-api.md +9 -10
- package/dist/knowledge/skills/config-saas-backend/references/framework-backend-authored-config-api.md +5 -1
- package/dist/knowledge/skills/config-saas-backend/references/framework-declared-type-renames-api.md +261 -0
- package/dist/knowledge/skills/config-saas-backend/references/framework-federated-identity-provider-private-networks-api.md +6 -4
- package/dist/knowledge/skills/config-saas-backend/references/framework-organization-types-api.md +167 -84
- package/dist/knowledge/skills/config-saas-backend/references/renaming-organization-and-user-types.md +69 -0
- package/dist/knowledge/skills/configure-billing/SKILL.md +20 -0
- package/dist/knowledge/skills/configure-billing/references/example-backend-provider-module-shape.md +38 -4
- package/dist/knowledge/skills/configure-billing/references/framework-backend-provider-reachability-api.md +2 -0
- package/dist/knowledge/skills/configure-billing/references/framework-metered-usage-recording-api.md +109 -0
- package/dist/knowledge/skills/configure-billing/references/framework-subscription-behavior-policy.md +4 -1
- package/dist/knowledge/skills/configure-coding-agent/references/framework-acp-execution-profile-api.md +18 -2
- package/dist/knowledge/skills/electronic-signature-deliverables/SKILL.md +131 -0
- package/dist/knowledge/skills/electronic-signature-deliverables/references/what-makes-a-request-signed.md +61 -0
- package/dist/knowledge/skills/email-add-template/SKILL.md +47 -6
- package/dist/knowledge/skills/email-add-template/references/framework-email-attachments-and-limits.md +11 -8
- package/dist/knowledge/skills/email-add-template/references/framework-email-send-api.md +10 -2
- package/dist/knowledge/skills/email-add-template/references/framework-email-template-api.md +134 -0
- package/dist/knowledge/skills/engine-product-definitions/references/framework-metered-usage-recording-api.md +28 -0
- package/dist/knowledge/skills/flows-actors-a2a-exposure/SKILL.md +102 -23
- package/dist/knowledge/skills/flows-actors-a2a-exposure/references/framework-a2a-token-budget-api.md +103 -14
- package/dist/knowledge/skills/flows-actors-a2a-exposure/references/framework-flows-actors-a2a-contract.md +35 -4
- package/dist/knowledge/skills/flows-actors-autonomous-agents/SKILL.md +98 -9
- package/dist/knowledge/skills/flows-actors-autonomous-agents/references/binding-and-review.md +71 -16
- package/dist/knowledge/skills/flows-actors-autonomous-agents/references/framework-autonomous-agent-api.md +160 -23
- package/dist/knowledge/skills/flows-actors-autonomous-agents/references/framework-inbound-agents-api.md +10 -3
- package/dist/knowledge/skills/flows-actors-autonomous-agents/references/tool-posture.md +14 -2
- package/dist/knowledge/skills/flows-actors-chat-assistant/SKILL.md +298 -26
- package/dist/knowledge/skills/flows-actors-chat-assistant/examples/todo-assistant.example.md +78 -19
- package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-agent-behavior-reports-api.md +455 -0
- package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-agent-content-guardrails-api.md +446 -0
- package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-agent-operation-record-api.md +208 -0
- package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-agent-suspension-api.md +174 -0
- package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-ask-person-tool-api.md +121 -0
- package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-audit-agent-attribution-api.md +21 -0
- package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-decision-deadlines-api.md +10 -3
- package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-flows-actors-realtime-catalog.md +69 -0
- package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-flows-actors-tool-api.md +695 -11
- package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-flows-actors-view-api.md +124 -6
- package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-model-spend-limits-api.md +276 -0
- package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-present-records-tool-api.md +150 -0
- package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-retrieval-tool-api.md +251 -0
- package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-tool-dispatch-obligations-api.md +120 -16
- package/dist/knowledge/skills/flows-actors-declared-flow/SKILL.md +339 -0
- package/dist/knowledge/skills/flows-actors-declared-flow/references/framework-flow-model-api.md +283 -0
- package/dist/knowledge/skills/flows-actors-declared-flow/references/framework-start-flow-api.md +134 -0
- package/dist/knowledge/skills/flows-actors-declared-flow/references/step-kinds.md +16 -0
- package/dist/knowledge/skills/flows-actors-llm-agent-invocation/SKILL.md +91 -5
- package/dist/knowledge/skills/flows-actors-llm-agent-invocation/references/framework-llm-agent-definition-api.md +78 -1
- package/dist/knowledge/skills/flows-actors-llm-agent-invocation/references/framework-llm-agent-invocation-api.md +16 -3
- package/dist/knowledge/skills/flows-actors-llm-agent-invocation/references/framework-llm-operation-and-model-api.md +13 -6
- package/dist/knowledge/skills/frontend-component-catalog/SKILL.md +5 -4
- package/dist/knowledge/skills/frontend-component-catalog/references/framework-component-catalog.md +29 -19
- package/dist/knowledge/skills/frontend-component-catalog/references/framework-component-usage.md +166 -21
- package/dist/knowledge/skills/guidance-onboarding-authoring/references/framework-guidance-flow-api.md +1 -1
- package/dist/knowledge/skills/human-decision-notices/SKILL.md +150 -0
- package/dist/knowledge/skills/human-decision-notices/references/framework-decision-card-wording-api.md +292 -0
- package/dist/knowledge/skills/human-decision-notices/references/framework-decision-notice-handler-api.md +340 -0
- package/dist/knowledge/skills/i18n-label-generation/SKILL.md +17 -1
- package/dist/knowledge/skills/i18n-label-generation/references/framework-labelling-sections-api.md +39 -0
- package/dist/knowledge/skills/i18n-rerun-pipeline/SKILL.md +1 -1
- package/dist/knowledge/skills/i18n-rerun-pipeline/references/framework-labelling-sections-api.md +39 -0
- package/dist/knowledge/skills/i18n-translation-rerun/SKILL.md +35 -3
- package/dist/knowledge/skills/i18n-translation-rerun/references/framework-labelling-sections-api.md +39 -0
- package/dist/knowledge/skills/i18n-translation-rerun/references/framework-translation-glossary-api.md +87 -0
- package/dist/knowledge/skills/inbound-channels/SKILL.md +93 -13
- package/dist/knowledge/skills/inbound-channels/references/email-channel.md +49 -4
- package/dist/knowledge/skills/inbound-channels/references/framework-inbound-channel-api.md +245 -27
- package/dist/knowledge/skills/inbound-channels/references/framework-inbound-email-api.md +8 -8
- package/dist/knowledge/skills/inbound-channels/references/framework-inbound-handler-api.md +471 -6
- package/dist/knowledge/skills/inbound-channels/references/framework-inbound-pipelines-api.md +73 -0
- package/dist/knowledge/skills/inbound-channels/references/inbound-delivery-lifecycle.md +44 -5
- package/dist/knowledge/skills/inbound-channels/references/receiving-email.md +39 -16
- package/dist/knowledge/skills/inbound-channels/references/sms-channel.md +93 -0
- package/dist/knowledge/skills/infra-environment-config/SKILL.md +226 -73
- package/dist/knowledge/skills/infra-environment-config/references/framework-backing-services-api.md +12 -14
- package/dist/knowledge/skills/infra-environment-config/references/framework-environment-deployment-api.md +140 -7
- package/dist/knowledge/skills/infra-environment-config/references/framework-infrastructure-host-api.md +2 -1
- package/dist/knowledge/skills/infra-environment-config/references/framework-platform-key-management-api.md +370 -0
- package/dist/knowledge/skills/layout-2d-adoption/SKILL.md +158 -0
- package/dist/knowledge/skills/layout-2d-adoption/references/choosing-a-layout.md +43 -0
- package/dist/knowledge/skills/layout-2d-adoption/references/framework-2d-layout-authoring-api.md +167 -0
- package/dist/knowledge/skills/layout-2d-adoption/references/framework-2d-layout-registration-api.md +101 -0
- package/dist/knowledge/skills/layout-2d-adoption/references/framework-2d-layout-settings-api.md +59 -0
- package/dist/knowledge/skills/layout-2d-adoption/references/framework-shell-motion-api.md +415 -0
- package/dist/knowledge/skills/layout-3d-adoption/SKILL.md +1 -0
- package/dist/knowledge/skills/layout-3d-adoption/references/framework-3d-focal-plane-settings-api.md +16 -0
- package/dist/knowledge/skills/layout-3d-adoption/references/framework-3d-frame-style-overrides-api.md +72 -0
- package/dist/knowledge/skills/layout-3d-adoption/references/framework-3d-layout-contract-api.md +65 -32
- package/dist/knowledge/skills/layout-3d-adoption/references/framework-3d-layout-registration-api.md +14 -36
- package/dist/knowledge/skills/layout-3d-adoption/references/framework-shell-building-blocks-api.md +7 -3
- package/dist/knowledge/skills/layout-3d-adoption/references/manual-adoption-and-removal.md +2 -2
- package/dist/knowledge/skills/local-environment-bootstrap/SKILL.md +12 -9
- package/dist/knowledge/skills/local-environment-bootstrap/references/derived-artifact-currency.md +7 -5
- package/dist/knowledge/skills/local-environment-bootstrap/references/framework-upgrade-and-dependency-alignment.md +2 -2
- package/dist/knowledge/skills/local-environment-bootstrap/references/local-environment-troubleshooting.md +18 -10
- package/dist/knowledge/skills/local-environment-bootstrap/references/wildo-cli-bootstrap-commands.md +7 -7
- package/dist/knowledge/skills/market-authoring-overview/references/framework-market-references-api.md +14 -1
- package/dist/knowledge/skills/market-companion-prompt-enrichment/SKILL.md +33 -2
- package/dist/knowledge/skills/market-companion-prompt-enrichment/references/framework-companion-behavior-api.md +42 -2
- package/dist/knowledge/skills/market-generation-cli/SKILL.md +49 -7
- package/dist/knowledge/skills/market-generation-cli/references/framework-market-generation-cli.md +63 -9
- package/dist/knowledge/skills/minion-authoring/examples/contained-tick.example.md +1 -1
- package/dist/knowledge/skills/minion-authoring/references/framework-minion-tick-contract.md +2 -2
- package/dist/knowledge/skills/model-cost-attribution/SKILL.md +43 -11
- package/dist/knowledge/skills/model-cost-attribution/references/framework-model-cost-pricing-api.md +58 -3
- package/dist/knowledge/skills/model-cost-attribution/references/framework-model-cost-summary-api.md +57 -21
- package/dist/knowledge/skills/model-cost-attribution/references/framework-work-attribution-api.md +7 -3
- package/dist/knowledge/skills/model-cost-attribution/references/framework-work-unit-api.md +257 -46
- package/dist/knowledge/skills/module-companion-exports/SKILL.md +1 -0
- package/dist/knowledge/skills/module-companion-exports/references/companion-exports-by-package.md +30 -2
- package/dist/knowledge/skills/module-registration/references/framework-domain-modules-api.md +110 -1
- package/dist/knowledge/skills/module-relationships/SKILL.md +143 -119
- package/dist/knowledge/skills/module-relationships/references/framework-resource-relationship-authoring-api.md +8 -4
- package/dist/knowledge/skills/organization-relationships/SKILL.md +668 -0
- package/dist/knowledge/skills/organization-relationships/references/framework-organization-relationships-api.md +1259 -0
- package/dist/knowledge/skills/organization-relationships/references/framework-relationship-capability-grants-api.md +243 -0
- package/dist/knowledge/skills/organization-relationships/references/framework-relationship-grantor-authentication-api.md +284 -0
- package/dist/knowledge/skills/organization-relationships/references/framework-relationship-kinds-api.md +555 -0
- package/dist/knowledge/skills/organization-relationships/references/framework-relationship-record-separation-api.md +163 -0
- package/dist/knowledge/skills/organization-relationships/references/framework-representative-activity-api.md +149 -0
- package/dist/knowledge/skills/pdf-template-authoring/references/framework-pdf-collection-template-api.md +5 -3
- package/dist/knowledge/skills/professional-qualifications/SKILL.md +173 -0
- package/dist/knowledge/skills/professional-qualifications/references/choosing-who-may-decide.md +53 -0
- package/dist/knowledge/skills/professional-qualifications/references/framework-operation-approval-requirement-api.md +98 -0
- package/dist/knowledge/skills/professional-qualifications/references/framework-operation-required-qualifications-api.md +39 -0
- package/dist/knowledge/skills/professional-qualifications/references/framework-professional-qualifications-api.md +223 -0
- package/dist/knowledge/skills/provider-address-lookup/SKILL.md +1 -1
- package/dist/knowledge/skills/provider-address-lookup/references/framework-browser-operation-policy-api.md +3 -3
- package/dist/knowledge/skills/provider-backend-package/SKILL.md +388 -11
- package/dist/knowledge/skills/provider-backend-package/references/framework-optional-runtime-peers.md +31 -28
- package/dist/knowledge/skills/provider-backend-package/references/framework-provider-augmentation-api.md +16 -0
- package/dist/knowledge/skills/provider-backend-package/references/framework-provider-compliance-state-collector-api.md +96 -0
- package/dist/knowledge/skills/provider-backend-package/references/framework-provider-configuration-check-api.md +130 -0
- package/dist/knowledge/skills/provider-backend-package/references/framework-provider-file-storage-adapter-api.md +13 -0
- package/dist/knowledge/skills/provider-backend-package/references/framework-provider-inbound-endpoint-api.md +755 -0
- package/dist/knowledge/skills/provider-backend-package/references/framework-provider-incremental-consent-api.md +235 -0
- package/dist/knowledge/skills/provider-backend-package/references/framework-provider-loader-api.md +6 -0
- package/dist/knowledge/skills/provider-backend-package/references/framework-provider-processing-region-api.md +340 -0
- package/dist/knowledge/skills/provider-backend-package/references/framework-provider-shared-connection-api.md +72 -8
- package/dist/knowledge/skills/provider-backend-package/references/framework-provider-subject-erasure-effect-api.md +222 -0
- package/dist/knowledge/skills/provider-frontend-file-picker/SKILL.md +9 -5
- package/dist/knowledge/skills/provider-frontend-file-picker/references/framework-frontend-provider-consent-api.md +11 -2
- package/dist/knowledge/skills/provider-frontend-module/SKILL.md +50 -5
- package/dist/knowledge/skills/provider-frontend-module/references/framework-on-demand-capabilities-api.md +306 -0
- package/dist/knowledge/skills/provider-frontend-module/references/package-frontend-facets.md +11 -3
- package/dist/knowledge/skills/provider-operation-calls/SKILL.md +41 -15
- package/dist/knowledge/skills/provider-operation-calls/references/browser-door-answers.md +56 -18
- package/dist/knowledge/skills/provider-operation-calls/references/framework-browser-operation-policy-api.md +1 -1
- package/dist/knowledge/skills/provider-operation-calls/references/framework-frontend-execute-operation-api.md +143 -25
- package/dist/knowledge/skills/provider-operation-calls/references/framework-provider-operation-executor-api.md +6 -0
- package/dist/knowledge/skills/provider-operation-calls/references/framework-provider-scope-reauthorization-api.md +9 -6
- package/dist/knowledge/skills/provider-operation-calls/references/framework-rest-operation-contract-api.md +1275 -4
- package/dist/knowledge/skills/rate-limit-authoring/SKILL.md +71 -35
- package/dist/knowledge/skills/rate-limit-authoring/references/framework-rate-limit-policy-api.md +27 -13
- package/dist/knowledge/skills/resource-add-field/SKILL.md +7 -0
- package/dist/knowledge/skills/resource-add-field/examples/add-priority-field-to-todos.example.md +32 -12
- package/dist/knowledge/skills/resource-add-field/references/framework-field-cross-layer-api.md +451 -67
- package/dist/knowledge/skills/resource-add-resource/SKILL.md +57 -8
- package/dist/knowledge/skills/resource-add-resource/references/framework-engine-api-reference-categories-api.md +119 -0
- package/dist/knowledge/skills/resource-add-resource/references/framework-new-resource-core-config-api.md +165 -44
- package/dist/knowledge/skills/resource-chat-commands/SKILL.md +138 -0
- package/dist/knowledge/skills/resource-chat-commands/references/framework-resource-chat-command-contract.md +72 -0
- package/dist/knowledge/skills/resource-config-wiring/SKILL.md +171 -7
- package/dist/knowledge/skills/resource-config-wiring/references/framework-administrative-continuity-codes-api.md +4 -4
- package/dist/knowledge/skills/resource-config-wiring/references/framework-authority-audit-interpretation.md +17 -8
- package/dist/knowledge/skills/resource-config-wiring/references/framework-collection-operation-declarations.md +8 -2
- package/dist/knowledge/skills/resource-config-wiring/references/framework-operation-approval-api.md +371 -0
- package/dist/knowledge/skills/resource-config-wiring/references/framework-operation-audit-api.md +51 -7
- package/dist/knowledge/skills/resource-config-wiring/references/framework-operation-bulk-api.md +163 -0
- package/dist/knowledge/skills/resource-config-wiring/references/framework-operation-idempotency-key-api.md +66 -27
- package/dist/knowledge/skills/resource-config-wiring/references/framework-personal-data-declaration-api.md +200 -61
- package/dist/knowledge/skills/resource-config-wiring/references/framework-request-field-offers-api.md +168 -0
- package/dist/knowledge/skills/resource-config-wiring/references/framework-required-features-api.md +20 -0
- package/dist/knowledge/skills/resource-config-wiring/references/framework-retention-policy-operations.md +8 -3
- package/dist/knowledge/skills/resource-config-wiring/references/framework-role-ceiling-api.md +34 -10
- package/dist/knowledge/skills/resource-config-wiring/references/framework-saas-models-operation-scope-enums-api.md +8 -6
- package/dist/knowledge/skills/resource-config-wiring/references/framework-saas-models-resource-config-api.md +351 -159
- package/dist/knowledge/skills/resource-config-wiring/references/framework-scope-admissions-api.md +160 -2
- package/dist/knowledge/skills/resource-config-wiring/references/framework-system-access-reads-api.md +440 -119
- package/dist/knowledge/skills/resource-config-wiring/references/framework-user-notifications-api.md +426 -32
- package/dist/knowledge/skills/resource-config-wiring/references/framework-webhook-events-api.md +116 -0
- package/dist/knowledge/skills/resource-custom-view/SKILL.md +126 -1
- package/dist/knowledge/skills/resource-custom-view/references/custom-view-contracts.md +344 -62
- package/dist/knowledge/skills/resource-custom-view/references/framework-backend-refusal-api.md +110 -0
- package/dist/knowledge/skills/resource-external-data/SKILL.md +326 -76
- package/dist/knowledge/skills/resource-external-data/references/bidirectional-pipelines.md +335 -0
- package/dist/knowledge/skills/resource-external-data/references/declared-expressions.md +18 -6
- package/dist/knowledge/skills/resource-external-data/references/erasure-suppression.md +71 -12
- package/dist/knowledge/skills/resource-external-data/references/facet-augmentations.md +6 -0
- package/dist/knowledge/skills/resource-external-data/references/framework-external-data-pipeline-api.md +96 -26
- package/dist/knowledge/skills/resource-external-data/references/framework-http-api-binding-api.md +257 -57
- package/dist/knowledge/skills/resource-external-data/references/framework-pipeline-admin-endpoints-api.md +111 -11
- package/dist/knowledge/skills/resource-external-data/references/framework-system-of-record-capabilities-api.md +147 -0
- package/dist/knowledge/skills/resource-external-data/references/incremental-extraction.md +30 -4
- package/dist/knowledge/skills/resource-external-data/references/local-test-doubles.md +121 -0
- package/dist/knowledge/skills/resource-external-data/references/odata-v2-sources.md +21 -9
- package/dist/knowledge/skills/resource-external-data/references/outbound-pipelines.md +62 -15
- package/dist/knowledge/skills/resource-external-data/references/partition-from-the-domain-plan.md +230 -0
- package/dist/knowledge/skills/resource-external-data/references/presenting-a-copy-and-a-read-through.md +73 -0
- package/dist/knowledge/skills/resource-external-data/references/provenance-cue.md +18 -2
- package/dist/knowledge/skills/resource-external-data/references/rate-budgets-and-pacing.md +3 -1
- package/dist/knowledge/skills/resource-external-data/references/read-through-writes.md +65 -18
- package/dist/knowledge/skills/resource-external-data/references/remote-references.md +17 -7
- package/dist/knowledge/skills/resource-external-data/references/requested-keys.md +104 -0
- package/dist/knowledge/skills/resource-external-data/references/system-of-record-actions.md +77 -7
- package/dist/knowledge/skills/resource-mcp-tool-exposure/SKILL.md +25 -4
- package/dist/knowledge/skills/resource-mcp-tool-exposure/references/framework-resource-mcp-exposure-contract.md +2 -2
- package/dist/knowledge/skills/resource-mcp-tool-exposure/references/mcp-catalogue-withdrawal-and-verification.md +1 -1
- package/dist/knowledge/skills/resource-rag-source-fields/SKILL.md +18 -9
- package/dist/knowledge/skills/resource-rag-source-fields/references/framework-embeddings-capability-api.md +42 -3
- package/dist/knowledge/skills/resource-rag-source-fields/references/framework-rag-retrieval-api.md +29 -2
- package/dist/knowledge/skills/resource-rag-source-fields/references/framework-rag-source-decorator-api.md +20 -20
- package/dist/knowledge/skills/resource-retention-binding/SKILL.md +21 -3
- package/dist/knowledge/skills/resource-retention-binding/references/framework-legal-holds-api.md +114 -7
- package/dist/knowledge/skills/resource-retention-binding/references/framework-retention-binding-api.md +84 -1
- package/dist/knowledge/skills/resource-retention-binding/references/framework-retention-enforcement-records-api.md +10 -0
- package/dist/knowledge/skills/resource-retention-binding/references/framework-retention-schedule-api.md +5 -3
- package/dist/knowledge/skills/resource-retention-binding/references/framework-statutory-retention-api.md +46 -0
- package/dist/knowledge/skills/resource-retention-binding/references/start-point-decisions.md +14 -2
- package/dist/knowledge/skills/resource-schema-authoring/SKILL.md +27 -11
- package/dist/knowledge/skills/resource-schema-authoring/examples/add-enum-field-with-ui.example.md +23 -7
- package/dist/knowledge/skills/resource-schema-authoring/references/computed-totals.md +13 -8
- package/dist/knowledge/skills/resource-schema-authoring/references/document-numbers.md +78 -17
- package/dist/knowledge/skills/resource-schema-authoring/references/field-type-selection.md +4 -0
- package/dist/knowledge/skills/resource-schema-authoring/references/framework-decorator-vocabulary-api.md +105 -6
- package/dist/knowledge/skills/resource-schema-authoring/references/framework-erasure-scrub-treatments-api.md +19 -22
- package/dist/knowledge/skills/resource-schema-authoring/references/framework-personal-data-category-api.md +150 -35
- package/dist/knowledge/skills/resource-schema-authoring/references/framework-schema-family-api.md +32 -4
- package/dist/knowledge/skills/resource-schema-authoring/references/framework-shared-decorator-methods-api.md +58 -18
- package/dist/knowledge/skills/resource-schema-authoring/references/framework-shared-structural-params-api.md +107 -5
- package/dist/knowledge/skills/resource-schema-authoring/references/framework-special-factories-api.md +200 -69
- package/dist/knowledge/skills/resource-schema-authoring/references/framework-system-managed-fields-api.md +2 -1
- package/dist/knowledge/skills/resource-schema-authoring/references/framework-zod-lifecycle-and-chainable-api.md +326 -18
- package/dist/knowledge/skills/resource-schema-authoring/references/shared-layer-decorator-checklist.md +7 -0
- package/dist/knowledge/skills/resource-schema-authoring/references/special-factories.md +72 -0
- package/dist/knowledge/skills/resource-status-lifecycle/SKILL.md +42 -2
- package/dist/knowledge/skills/resource-status-lifecycle/references/framework-operation-condition-parameters-api.md +67 -0
- package/dist/knowledge/skills/resource-status-lifecycle/references/quote-lifecycle-worked-example.md +16 -12
- package/dist/knowledge/skills/resource-ui-behavior/SKILL.md +219 -77
- package/dist/knowledge/skills/resource-ui-behavior/references/framework-collection-filter-presets-api.md +105 -24
- package/dist/knowledge/skills/resource-ui-behavior/references/framework-display-edit-modes-api.md +131 -1
- package/dist/knowledge/skills/resource-ui-behavior/references/framework-enum-frontend-handling-api.md +41 -7
- package/dist/knowledge/skills/resource-ui-behavior/references/framework-field-tiles-api.md +114 -0
- package/dist/knowledge/skills/resource-ui-behavior/references/framework-frontend-resource-ui-contracts-api.md +428 -72
- package/dist/knowledge/skills/resource-ui-behavior/references/framework-per-primitive-ui-api.md +25 -9
- package/dist/knowledge/skills/resource-ui-behavior/references/framework-primitive-ui-api.md +15 -3
- package/dist/knowledge/skills/resource-ui-behavior/references/framework-record-page-parts-api.md +155 -0
- package/dist/knowledge/skills/resource-ui-behavior/references/framework-related-resource-embeds-api.md +223 -6
- package/dist/knowledge/skills/resource-ui-behavior/references/framework-resource-layout-templates-api.md +186 -65
- package/dist/knowledge/skills/resource-ui-behavior/references/framework-section-stages-api.md +102 -0
- package/dist/knowledge/skills/resource-ui-behavior/references/record-page-anatomy.md +138 -0
- package/dist/knowledge/skills/resource-ui-behavior/references/surface-decisions.md +89 -32
- package/dist/knowledge/skills/resource-ui-behavior/references/visual-quality-rubric.md +73 -0
- package/dist/knowledge/skills/resource-ui-behavior/references/workflow-record-page.md +264 -0
- package/dist/knowledge/skills/seeding-authoring/SKILL.md +24 -4
- package/dist/knowledge/skills/seeding-authoring/references/cross-seed-row-references.md +12 -0
- package/dist/knowledge/skills/seeding-authoring/references/data-seeding-mode-picker.md +16 -1
- package/dist/knowledge/skills/seeding-authoring/references/framework-data-seeding-api.md +7 -6
- package/dist/knowledge/skills/seeding-operations/references/data-seeding-admin-runbook.md +15 -8
- package/dist/knowledge/skills/seeding-operations/references/framework-data-seeding-operations-api.md +3 -0
- package/dist/knowledge/skills/settings-placement-authoring/SKILL.md +48 -11
- package/dist/knowledge/skills/settings-placement-authoring/references/framework-settings-destinations-catalog.md +183 -32
- package/dist/knowledge/skills/settings-placement-authoring/references/framework-settings-placement-api.md +72 -13
- package/dist/knowledge/skills/spec-catalog-authoring/SKILL.md +5 -4
- package/dist/knowledge/skills/spec-catalog-authoring/references/catalog-spec-pattern-overview.md +5 -4
- package/dist/knowledge/skills/spec-companion-exports/SKILL.md +1 -0
- package/dist/knowledge/skills/spec-companion-exports/references/framework-companion-exports-contract-api.md +30 -2
- package/dist/knowledge/skills/spec-composite-view-update/SKILL.md +15 -7
- package/dist/knowledge/skills/spec-resource-update/SKILL.md +26 -0
- package/dist/knowledge/skills/spec-resource-update/references/framework-spec-resource-contracts-api.md +186 -83
- package/dist/knowledge/skills/spec-resource-update/references/workflow-record-page-specification.md +237 -0
- package/dist/knowledge/skills/spec-update-after-change/references/framework-spec-factory-api.md +113 -70
- package/dist/knowledge/skills/subject-data-export/SKILL.md +176 -0
- package/dist/knowledge/skills/subject-data-export/references/file-content-exclusions.md +15 -0
- package/dist/knowledge/skills/subject-data-export/references/framework-subject-export-api.md +142 -0
- package/dist/knowledge/skills/subject-data-export/references/framework-subject-export-archive-api.md +33 -0
- package/dist/knowledge/skills/views-add-composite-view/SKILL.md +14 -5
- package/dist/knowledge/skills/views-add-custom-view/SKILL.md +10 -1
- package/dist/knowledge/skills/views-add-custom-view/references/framework-focus-indicator-api.md +145 -0
- package/dist/knowledge/skills/views-app-level/SKILL.md +3 -1
- package/dist/knowledge/skills/views-app-level/references/workflow-home.md +373 -0
- package/dist/knowledge/skills/views-chart-authoring/SKILL.md +41 -5
- package/dist/knowledge/skills/views-chart-authoring/references/framework-chart-view-contracts-api.md +13 -0
- package/dist/knowledge/skills/views-chart-authoring/references/framework-resource-chart-data-api.md +9 -5
- package/dist/knowledge/skills/views-composite-authoring/SKILL.md +15 -4
- package/dist/knowledge/skills/views-composite-authoring/references/framework-chart-dashboard-api.md +244 -0
- package/dist/knowledge/skills/views-execution-authoring/SKILL.md +11 -2
- package/dist/knowledge/skills/views-execution-authoring/references/framework-execution-view-contracts-api.md +57 -3
- package/dist/knowledge/skills/website-anonymous-session/SKILL.md +61 -25
- package/dist/knowledge/skills/website-blog-authoring/SKILL.md +253 -78
- package/dist/knowledge/skills/website-blog-authoring/references/blog-adapter-api.md +1105 -222
- package/dist/knowledge/skills/website-building-blocks/SKILL.md +337 -0
- package/dist/knowledge/skills/website-building-blocks/references/framework-website-blocks-api.md +3050 -0
- package/dist/knowledge/skills/website-building-blocks/references/framework-website-demo-examples.md +627 -0
- package/dist/knowledge/skills/website-building-blocks/references/framework-website-product-kit-api.md +3309 -0
- package/dist/knowledge/skills/website-building-blocks/references/website-visual-quality-rubric.md +75 -0
- package/dist/knowledge/skills/website-bundle-discipline/SKILL.md +42 -19
- package/dist/knowledge/skills/website-bundle-discipline/references/example-website-button-override.md +8 -12
- package/dist/knowledge/skills/website-bundle-discipline/references/website-bundle-rules.md +20 -5
- package/dist/knowledge/skills/website-consent-gate-overrides/SKILL.md +84 -28
- package/dist/knowledge/skills/website-factory-advanced/SKILL.md +67 -64
- package/dist/knowledge/skills/website-inbound-contact-forms/SKILL.md +58 -23
- package/dist/knowledge/skills/website-inbound-contact-forms/references/framework-submission-challenge-api.md +5 -1
- package/dist/knowledge/skills/website-label-pack/SKILL.md +43 -21
- package/dist/knowledge/skills/website-layout-overrides/SKILL.md +112 -77
- package/dist/knowledge/skills/website-marketing-metadata-extension/SKILL.md +24 -13
- package/dist/knowledge/skills/website-motion-design/SKILL.md +277 -0
- package/dist/knowledge/skills/website-motion-design/references/framework-motion-api.md +1562 -0
- package/dist/knowledge/skills/website-motion-design/references/industry-practice.md +28 -0
- package/dist/knowledge/skills/website-navigation-authoring/SKILL.md +255 -397
- package/dist/knowledge/skills/website-navigation-authoring/references/framework-menu-api.md +712 -0
- package/dist/knowledge/skills/website-navigation-authoring/references/framework-public-document-links-api.md +28 -6
- package/dist/knowledge/skills/website-navigation-authoring/references/menu-keys-and-styling.md +151 -0
- package/dist/knowledge/skills/website-navigation-authoring/references/worked-examples-header-footer.md +131 -326
- package/dist/knowledge/skills/website-page-authoring/SKILL.md +160 -67
- package/dist/knowledge/skills/website-page-authoring/references/framework-page-kinds-api.md +982 -0
- package/dist/knowledge/skills/website-page-authoring/references/framework-site-context-loader-api.md +29 -5
- package/dist/knowledge/skills/website-page-authoring/references/homepage-content-and-art-direction.md +19 -0
- package/dist/knowledge/skills/website-page-authoring/references/page-kinds.md +118 -0
- package/dist/knowledge/skills/website-page-variants/SKILL.md +70 -69
- package/dist/knowledge/skills/website-primitive-overrides/SKILL.md +48 -28
- package/dist/knowledge/skills/website-section-comparison/SKILL.md +1171 -0
- package/dist/knowledge/skills/website-section-comparison/references/define-website-section-api.md +679 -0
- package/dist/knowledge/skills/website-section-comparison/references/framework-website-tables-api.md +487 -0
- package/dist/knowledge/skills/website-section-contact/SKILL.md +409 -186
- package/dist/knowledge/skills/website-section-contact/references/define-website-section-api.md +197 -119
- package/dist/knowledge/skills/website-section-cta/SKILL.md +399 -235
- package/dist/knowledge/skills/website-section-cta/references/define-website-section-api.md +197 -119
- package/dist/knowledge/skills/website-section-faq/SKILL.md +562 -303
- package/dist/knowledge/skills/website-section-faq/references/define-website-section-api.md +197 -119
- package/dist/knowledge/skills/website-section-faq/references/framework-website-faq-api.md +489 -0
- package/dist/knowledge/skills/website-section-feature-benefit-summary/SKILL.md +648 -275
- package/dist/knowledge/skills/website-section-feature-benefit-summary/references/define-website-section-api.md +197 -119
- package/dist/knowledge/skills/website-section-feature-detail/SKILL.md +573 -265
- package/dist/knowledge/skills/website-section-feature-detail/references/define-website-section-api.md +197 -119
- package/dist/knowledge/skills/website-section-footer-cta/SKILL.md +533 -234
- package/dist/knowledge/skills/website-section-footer-cta/references/define-website-section-api.md +197 -119
- package/dist/knowledge/skills/website-section-hero/SKILL.md +604 -333
- package/dist/knowledge/skills/website-section-hero/references/define-website-section-api.md +198 -120
- package/dist/knowledge/skills/website-section-how-it-works/SKILL.md +1150 -0
- package/dist/knowledge/skills/website-section-how-it-works/references/define-website-section-api.md +679 -0
- package/dist/knowledge/skills/website-section-how-it-works/references/framework-website-steps-api.md +337 -0
- package/dist/knowledge/skills/website-section-integrations/SKILL.md +974 -0
- package/dist/knowledge/skills/website-section-integrations/references/define-website-section-api.md +679 -0
- package/dist/knowledge/skills/website-section-integrations/references/framework-website-marquee-api.md +825 -0
- package/dist/knowledge/skills/website-section-latest-posts/SKILL.md +928 -0
- package/dist/knowledge/skills/website-section-latest-posts/references/define-website-section-api.md +679 -0
- package/dist/knowledge/skills/website-section-latest-posts/references/framework-website-latest-posts-api.md +465 -0
- package/dist/knowledge/skills/website-section-pricing/SKILL.md +594 -379
- package/dist/knowledge/skills/website-section-pricing/examples/pricing-offers.example.md +189 -0
- package/dist/knowledge/skills/website-section-pricing/references/define-website-section-api.md +197 -119
- package/dist/knowledge/skills/website-section-pricing/references/framework-pricing-catalog-api.md +5 -2
- package/dist/knowledge/skills/website-section-pricing/references/framework-website-pricing-api.md +670 -0
- package/dist/knowledge/skills/website-section-problem/SKILL.md +1150 -0
- package/dist/knowledge/skills/website-section-problem/references/define-website-section-api.md +679 -0
- package/dist/knowledge/skills/website-section-problem/references/framework-website-card-grid-api.md +664 -0
- package/dist/knowledge/skills/website-section-product-showcase/SKILL.md +1322 -0
- package/dist/knowledge/skills/website-section-product-showcase/references/define-website-section-api.md +679 -0
- package/dist/knowledge/skills/website-section-product-showcase/references/framework-website-card-grid-api.md +533 -0
- package/dist/knowledge/skills/website-section-product-showcase/references/framework-website-product-tour-api.md +917 -0
- package/dist/knowledge/skills/website-section-roadmap/SKILL.md +1133 -0
- package/dist/knowledge/skills/website-section-roadmap/references/define-website-section-api.md +679 -0
- package/dist/knowledge/skills/website-section-roadmap/references/framework-website-roadmap-api.md +475 -0
- package/dist/knowledge/skills/website-section-social-proof/SKILL.md +740 -316
- package/dist/knowledge/skills/website-section-social-proof/references/define-website-section-api.md +197 -119
- package/dist/knowledge/skills/website-section-social-proof/references/framework-website-quote-cards-api.md +623 -0
- package/dist/knowledge/skills/website-section-solution-paths/SKILL.md +1057 -0
- package/dist/knowledge/skills/website-section-solution-paths/references/define-website-section-api.md +679 -0
- package/dist/knowledge/skills/website-section-solution-paths/references/framework-website-solution-paths-api.md +477 -0
- package/dist/knowledge/skills/website-section-stats/SKILL.md +1086 -0
- package/dist/knowledge/skills/website-section-stats/references/define-website-section-api.md +679 -0
- package/dist/knowledge/skills/website-section-stats/references/framework-website-stats-api.md +517 -0
- package/dist/knowledge/skills/website-seo-aeo-geo/SKILL.md +183 -67
- package/dist/knowledge/skills/website-seo-aeo-geo/references/aeo-api.md +576 -57
- package/dist/knowledge/skills/website-seo-aeo-geo/references/geo-api.md +1 -1
- package/dist/knowledge/skills/website-seo-aeo-geo/references/seo-api.md +6 -94
- package/dist/knowledge/skills/website-theme-authoring/SKILL.md +226 -0
- package/dist/knowledge/skills/website-theme-authoring/references/framework-website-theme-api.md +893 -0
- package/dist/knowledge/skills/worker-authoring/SKILL.md +4 -2
- package/dist/knowledge/skills/worker-authoring/references/framework-worker-init-contract.md +4 -2
- package/dist/knowledge/topic-index.json +17998 -8568
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +6 -6
- package/dist/knowledge/references/example.organizations.serves-as-provider.md +0 -12
- package/dist/knowledge/references/saas.models.auth.service-provider-client-authentication.md +0 -169
- package/dist/knowledge/references/saas.models.organizations.service-provider-activity-feed.md +0 -121
- package/dist/knowledge/references/saas.models.organizations.service-provider-client-controls.md +0 -49
- package/dist/knowledge/references/saas.models.organizations.service-provider-relationships.md +0 -567
- package/dist/knowledge/references/saas.website.root-config.navigation.md +0 -37
- package/dist/knowledge/skills/service-provider-relationships/SKILL.md +0 -455
- package/dist/knowledge/skills/service-provider-relationships/references/framework-organization-types-api.md +0 -270
- package/dist/knowledge/skills/service-provider-relationships/references/framework-service-provider-activity-feed-api.md +0 -129
- package/dist/knowledge/skills/service-provider-relationships/references/framework-service-provider-capability-grants-api.md +0 -161
- package/dist/knowledge/skills/service-provider-relationships/references/framework-service-provider-client-authentication-api.md +0 -224
- package/dist/knowledge/skills/service-provider-relationships/references/framework-service-provider-relationships-api.md +0 -576
- package/dist/tsconfig.tsbuildinfo +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../../src/playbooks/cross_cutting.compliance/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,wB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;;OAQG;IACH,QAAQ,EAAE,2BAA2B,CAAC,cAAc;IACpD,MAAM,EAAE,EAAE;IACV,SAAS,EAAE,0BAA0B,CAAC,aAAa;CAGpD,CAAC","sourcesContent":["import {\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_FailurePolicy,\n MetaWorkflow_PredicateKind,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n MetaWorkflow_InputRender,\n MetaWorkflow_Phase,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\n/**\n * The COMPLIANCE LANE — from a landed vision to drafted governed documents, ending on the release\n * decision (#1502, epic #1506).\n *\n * The chain existed: a composite over posture, research and adequacy; `compliance-conception`; and\n * three refinement leaves (facts, the public documents, the governance documents). Nothing drove it\n * as a whole, nothing re-opened the facts when the domain plan moved, and nothing at its end was a\n * decision. This lane admits the seven steps as one choreography and ends on the document release —\n * MARKED and notified under YOLO, awaited under GUIDED, exactly as the directive requires of a\n * compliance workflow (`application-creation-directive.md`, \"Compliance is a WORKFLOW\").\n *\n * ## The ref is `cross_cutting.compliance`, not `compliance.lane`\n *\n * Every folder in the catalog is `<phase>.<name>` with the phase one of `MetaWorkflow_Phase`'s\n * values, and this lane spans two of them (the posture is top-down, the documents are refinement).\n * `CROSS_CUTTING` — \"work that belongs to no single direction\" — is the member written for it. The\n * issue's working name is kept in its thread; the folder follows the catalog.\n *\n * ## The compliance umbrella is a NESTED LANE — un-flattened once #1513 closed the elicitation hole\n *\n * `top_down.compliance-analysis` carries an INTERVIEW: regime applicability is a join of legal tests\n * (the research child's job) and product facts only the creator can state, asked once on the umbrella\n * and rendered into every child's brief (#284 shape (a)). Its three children declare no questions of\n * their own, so those answers reach them ONLY as the parent's rendered section.\n *\n * Nesting landed (#1497) and the definition lane un-flattened onto `top_down.market-analysis` at once.\n * **This lane could not, for one day, and the reason is worth keeping.** A nested composite's own\n * elicitation did not reach its children: the companion bound `runChild` ONCE, capturing the OUTERMOST\n * composite's rendered section, and `runNestedLane` forwarded that closure unchanged down every level.\n * An un-flattened compliance umbrella would have run its regime children with whatever section the ROOT\n * rendered — nothing, since the root asks no questions — and derived a posture from a model's\n * recollection of jurisdictions nobody stated: the exact gap\n * `app-creation-composite-choreography.md` §10 records this umbrella as having been built to close. So\n * the lane carried the umbrella's ten questions verbatim, as a workaround that said so.\n *\n * #1513 closed it: the runtime names the composite DISPATCHING each child, and the companion composes\n * that composite's interview rather than the root's. The umbrella asks its own ten questions again,\n * under its own ref, and its children receive the answers wherever it is nested. The copy is deleted\n * and `maximumDepth: 2` is what lets this lane offer it — a composite child is WITHHELD when\n * `depth + 1` reaches the ceiling, so the schema's default of 1 would have offered a child that could\n * never run.\n *\n * **What changed for the creator, and it is an improvement rather than a move:** the ten questions are\n * now the UMBRELLA's, so this lane is offered from the root immediately and only its posture half waits\n * on them. Before, the whole lane was withheld until they were answered, and its document half — which\n * needs the domain plan, not the jurisdictions — waited behind questions it did not need.\n *\n * ## The lane is eligible on a VISION alone, deliberately\n *\n * The posture half needs only the vision, and the definition lane's phase gate reads the posture\n * (its `compliance-presence` criterion) — so this lane must be able to START before the definition\n * lane ENDS, and before conception has run at all. The second half waits on its own gates:\n * `refinement.document-facts` needs a VALID domain plan (READINESS), and the two candidate drafters\n * expect the facts (SEQUENCING). Two choreographies playing at once is the intended shape\n * (`application-creation-directive.md`); the root orders lanes by exactly these preconditions.\n *\n * Note that inside a composite the runner admits children past SEQUENCING (an explicit run of the\n * parent is the acknowledgement), so the candidate drafters are eligible from round one. The intent\n * tells the selector to land the facts first; a document drafted without them is honest — its\n * unestablished statements are marked — but it is the weaker document, and it is re-drafted when the\n * facts land.\n *\n * ## The lane ENDS on the release decision\n *\n * The last child that runs drafts documents; the decision — release them — is a legally-binding\n * statement leaving the system, which is a critical gate point (`one-source-of-truth.md` D5): MARKED\n * in the mechanism, notified and proceeded under YOLO, armed at Gate 3. `approval: APPROVE_RESULT` is\n * where that boundary attaches, and it is LIVE since #111 landed. Nothing in this lane composes a\n * RELEASE: the release record is the human's commit on a drafted candidate, and it stays so.\n *\n * ## Loop-back — the mechanism exists; what declares it is a child, and this lane has none yet\n *\n * | signal | re-opens | how, once it can |\n * |---|---|---|\n * | the domain plan newer than the landed facts | `refinement.document-facts`, then both candidates | the staleness gate (#57): facts derive from the plan, candidates from the facts |\n * | the vision's compliance posture newer than the landed programme | `top_down.compliance-conception` | same gate |\n * | a document judge's GAP naming a fact | `refinement.document-facts` | verdict routing (#1498) on the drafter's per-criterion verdicts |\n * | the evidence gate's INSUFFICIENT | `top_down.compliance-research` | ALREADY WORKS — the evaluator-optimizer pair the umbrella's children declare, unchanged here |\n */\nexport const playbookDefinition = {\n ref: 'cross_cutting.compliance',\n version: '0.1.0',\n phase: MetaWorkflow_Phase.CROSS_CUTTING,\n intent:\n 'Drive the COMPLIANCE of the application as one lane: the posture (regime evidence, judged adequate, recorded on the vision as constraints), the compliance conception (the programme, the publication and release policies), the document facts read from the product, and the drafted governed documents — public and governance — ending on one decision: the document release, marked and notified. An umbrella: it authors nothing itself; every child declares what it needs and the runtime recomputes what may run after each round. Select what is MISSING from the accepted truth shown to you, in the order the chain implies: the posture before the conception, the facts before the candidates, and never a candidate re-drafted while its facts are unchanged. The posture half needs only the vision; the facts need a valid domain plan — when it is not on record, land the posture and the conception and STOP: the lane resumes when the conception lane has landed the plan. STOP when the candidates are drafted: the release is this lane\\'s closing decision. A child whose interview the creator has not answered is not offered; run everything else and stop when nothing eligible advances the compliance.',\n preconditions: [\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },\n ],\n // For the SELECTOR: the vision whole (it carries the posture), the rest as maps of what exists.\n // The policies are small and read whole — their presence is what says the conception ran.\n inputs: [\n { family: 'vision-brief' },\n { family: 'domain-plan', render: MetaWorkflow_InputRender.MAP },\n { family: 'document-release-policy' },\n { family: 'document-publication' },\n { family: 'document-facts', render: MetaWorkflow_InputRender.MAP },\n { family: 'compliance-document-candidate', render: MetaWorkflow_InputRender.MAP },\n ],\n // Nothing — the lane's write scope is resolved transitively through `admits`.\n outputs: [],\n method: {\n skillRefs: [],\n choreography: {\n /*\n * UNORDERED. Listed closing-move-first on purpose, the umbrellas' own trap check: read as a\n * sequence this would draft governance documents before any posture existed, and fail loudly.\n */\n admits: [\n 'refinement.governance-document-candidate',\n 'refinement.compliance-document-candidate',\n 'refinement.document-facts',\n 'top_down.compliance-conception',\n // A NESTED LANE, not three siblings — its evidence loop and its interview are its own.\n 'top_down.compliance-analysis',\n ],\n /*\n * The umbrella's own measured bound for its evidence loop (research → adequacy round-trips ran\n * 3–7 minutes each, and its first real run hit the ceiling mid-loop) plus one round each for\n * conception, facts and the two drafters, which run beside each other. The schema's ceiling.\n */\n maximumIterations: 20,\n maximumLanesPerIteration: 3,\n /*\n * Two levels below this one: the compliance umbrella, and the umbrella's own leaves. A composite\n * child is WITHHELD when `depth + 1` reaches the ceiling, so the default `1` would offer this lane\n * a nested lane it could never run.\n */\n maximumDepth: 2,\n /*\n * Three hours: the umbrella measured ~280s per iteration on regime research, and twenty\n * iterations at that figure is ~95 minutes; the drafters are slower still with a full fact set.\n * Longer than the companion's HTTP ceiling (30 min): submit with `async: true` and read the\n * outcome from `/playbooks/runs`. Literal: the evaluator computes no expressions.\n */\n maximumDurationMs: 10_800_000,\n },\n },\n /*\n * The release decision — a legally-binding statement leaving the system.\n *\n * LIVE since #111 landed: the runtime derives this lane's boundary from the field and the companion\n * projects one `approve_result` decision on the human-decision plane. What the posture does with it\n * is the marked gate — under YOLO it NOTIFIES and proceeds, which is the directive's own answer for\n * a workflow fact (`application-creation-directive.md`), and GUIDED's hold is armed at Gate 3\n * (`one-source-of-truth.md` D5). The lane still composes no release record: that is a human commit.\n */\n approval: MetaWorkflow_ApprovalPolicy.APPROVE_RESULT,\n budget: {},\n onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG,\n} satisfies Omit<MetaWorkflowPlaybookAuthoring, 'method'> & {\n method: Omit<NonNullable<MetaWorkflowPlaybookAuthoring['method']>, 'guidance'>;\n};\n"]}
|
|
1
|
+
{"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../src/playbooks/cross_cutting.compliance/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,wBAAwB,EACxB,kBAAkB,GAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+EG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,GAAG,EAAE,0BAA0B;IAC/B,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE,kBAAkB,CAAC,aAAa;IACvC,MAAM,EACJ,2qCAA2qC;IAC7qC,aAAa,EAAE;QACb,EAAE,IAAI,EAAE,0BAA0B,CAAC,cAAc,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE;KAC1F;IACD,2GAA2G;IAC3G,oGAAoG;IACpG,0FAA0F;IAC1F,MAAM,EAAE;QACN,EAAE,MAAM,EAAE,cAAc,EAAE;QAC1B,EAAE,MAAM,EAAE,oBAAoB,EAAE,MAAM,EAAE,wBAAwB,CAAC,GAAG,EAAE;QACtE,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,wBAAwB,CAAC,GAAG,EAAE;QAC/D,EAAE,MAAM,EAAE,yBAAyB,EAAE;QACrC,EAAE,MAAM,EAAE,sBAAsB,EAAE;QAClC,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,wBAAwB,CAAC,GAAG,EAAE;QAClE,EAAE,MAAM,EAAE,+BAA+B,EAAE,MAAM,EAAE,wBAAwB,CAAC,GAAG,EAAE;KAClF;IACD,8EAA8E;IAC9E,OAAO,EAAE,EAAE;IACX,MAAM,EAAE;QACN,SAAS,EAAE,EAAE;QACb,YAAY,EAAE;YACZ;;;eAGG;YACH,MAAM,EAAE;gBACN,0CAA0C;gBAC1C,0CAA0C;gBAC1C,2BAA2B;gBAC3B,gCAAgC;gBAChC,uFAAuF;gBACvF,8BAA8B;aAC/B;YACD;;;;eAIG;YACH,iBAAiB,EAAE,EAAE;YACrB,wBAAwB,EAAE,CAAC;YAC3B;;;;eAIG;YACH,YAAY,EAAE,CAAC;YACf;;;;;eAKG;YACH,iBAAiB,EAAE,UAAU;SAC9B;KACF;IACD;;;;;;;;OAQG;IACH,QAAQ,EAAE,2BAA2B,CAAC,cAAc;IACpD,MAAM,EAAE,EAAE;IACV,SAAS,EAAE,0BAA0B,CAAC,aAAa;CAGpD,CAAC","sourcesContent":["import {\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_FailurePolicy,\n MetaWorkflow_PredicateKind,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n MetaWorkflow_InputRender,\n MetaWorkflow_Phase,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\n/**\n * The COMPLIANCE LANE — from a landed vision to drafted governed documents, ending on the release\n * decision (#1502, epic #1506).\n *\n * The chain existed: a composite over posture, research and adequacy; `compliance-conception`; and\n * three refinement leaves (facts, the public documents, the governance documents). Nothing drove it\n * as a whole, nothing re-opened the facts when the domain plan moved, and nothing at its end was a\n * decision. This lane admits the seven steps as one choreography and ends on the document release —\n * MARKED and notified under YOLO, awaited under GUIDED, exactly as the directive requires of a\n * compliance workflow (`application-creation-directive.md`, \"Compliance is a WORKFLOW\").\n *\n * ## The ref is `cross_cutting.compliance`, not `compliance.lane`\n *\n * Every folder in the catalog is `<phase>.<name>` with the phase one of `MetaWorkflow_Phase`'s\n * values, and this lane spans two of them (the posture is top-down, the documents are refinement).\n * `CROSS_CUTTING` — \"work that belongs to no single direction\" — is the member written for it. The\n * issue's working name is kept in its thread; the folder follows the catalog.\n *\n * ## The compliance umbrella is a NESTED LANE — un-flattened once #1513 closed the elicitation hole\n *\n * `top_down.compliance-analysis` carries an INTERVIEW: regime applicability is a join of legal tests\n * (the research child's job) and product facts only the creator can state, asked once on the umbrella\n * and rendered into every child's brief (#284 shape (a)). Its three children declare no questions of\n * their own, so those answers reach them ONLY as the parent's rendered section.\n *\n * Nesting landed (#1497) and the definition lane un-flattened onto `top_down.market-analysis` at once.\n * **This lane could not, for one day, and the reason is worth keeping.** A nested composite's own\n * elicitation did not reach its children: the companion bound `runChild` ONCE, capturing the OUTERMOST\n * composite's rendered section, and `runNestedLane` forwarded that closure unchanged down every level.\n * An un-flattened compliance umbrella would have run its regime children with whatever section the ROOT\n * rendered — nothing, since the root asks no questions — and derived a posture from a model's\n * recollection of jurisdictions nobody stated: the exact gap\n * `app-creation-composite-choreography.md` §10 records this umbrella as having been built to close. So\n * the lane carried the umbrella's ten questions verbatim, as a workaround that said so.\n *\n * #1513 closed it: the runtime names the composite DISPATCHING each child, and the companion composes\n * that composite's interview rather than the root's. The umbrella asks its own ten questions again,\n * under its own ref, and its children receive the answers wherever it is nested. The copy is deleted\n * and `maximumDepth: 2` is what lets this lane offer it — a composite child is WITHHELD when\n * `depth + 1` reaches the ceiling, so the schema's default of 1 would have offered a child that could\n * never run.\n *\n * **What changed for the creator, and it is an improvement rather than a move:** the ten questions are\n * now the UMBRELLA's, so this lane is offered from the root immediately and only its posture half waits\n * on them. Before, the whole lane was withheld until they were answered, and its document half — which\n * needs the domain plan, not the jurisdictions — waited behind questions it did not need.\n *\n * ## The lane is eligible on a VISION alone, deliberately\n *\n * The posture half needs only the vision, so this lane can START before conception has run at all.\n * (It used to have to start before the definition lane ENDED, because the definition's phase gate\n * read the posture on the vision. Since #3362 the posture has its own family and the gate does not\n * read it; its `compliance-presence` GAP is the signal to run this lane.) The second half waits on its own gates:\n * `refinement.document-facts` needs a VALID domain plan (READINESS), and the two candidate drafters\n * expect the facts (SEQUENCING). Two choreographies playing at once is the intended shape\n * (`application-creation-directive.md`); the root orders lanes by exactly these preconditions.\n *\n * Note that inside a composite the runner admits children past SEQUENCING (an explicit run of the\n * parent is the acknowledgement), so the candidate drafters are eligible from round one. The intent\n * tells the selector to land the facts first; a document drafted without them is honest — its\n * unestablished statements are marked — but it is the weaker document, and it is re-drafted when the\n * facts land.\n *\n * ## The lane ENDS on the release decision\n *\n * The last child that runs drafts documents; the decision — release them — is a legally-binding\n * statement leaving the system, which is a critical gate point (`one-source-of-truth.md` D5): MARKED\n * in the mechanism, notified and proceeded under YOLO, armed at Gate 3. `approval: APPROVE_RESULT` is\n * where that boundary attaches, and it is LIVE since #111 landed. Nothing in this lane composes a\n * RELEASE: the release record is the human's commit on a drafted candidate, and it stays so.\n *\n * ## Loop-back — the mechanism exists; what declares it is a child, and this lane has none yet\n *\n * | signal | re-opens | how, once it can |\n * |---|---|---|\n * | the domain plan newer than the landed facts | `refinement.document-facts`, then both candidates | the staleness gate (#57): facts derive from the plan, candidates from the facts |\n * | the vision's compliance posture newer than the landed programme | `top_down.compliance-conception` | same gate |\n * | a document judge's GAP naming a fact | `refinement.document-facts` | verdict routing (#1498) on the drafter's per-criterion verdicts |\n * | the evidence gate's INSUFFICIENT | `top_down.compliance-research` | ALREADY WORKS — the evaluator-optimizer pair the umbrella's children declare, unchanged here |\n */\nexport const playbookDefinition = {\n ref: 'cross_cutting.compliance',\n version: '0.1.0',\n phase: MetaWorkflow_Phase.CROSS_CUTTING,\n intent:\n 'Drive the COMPLIANCE of the application as one lane: the posture (regime evidence, judged adequate, recorded in the compliance-posture family), the compliance conception (the programme, the publication and release policies), the document facts read from the product, and the drafted governed documents — public and governance — ending on one decision: the document release, marked and notified. An umbrella: it authors nothing itself; every child declares what it needs and the runtime recomputes what may run after each round. Select what is MISSING from the accepted truth shown to you, in the order the chain implies: the posture before the conception, the facts before the candidates, and never a candidate re-drafted while its facts are unchanged. The posture half needs only the vision; the facts need a valid domain plan — when it is not on record, land the posture and the conception and STOP: the lane resumes when the conception lane has landed the plan. STOP when the candidates are drafted: the release is this lane\\'s closing decision. A child whose interview the creator has not answered is not offered; run everything else and stop when nothing eligible advances the compliance.',\n preconditions: [\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },\n ],\n // For the SELECTOR: the vision whole, the posture as a map of whether regimes are recorded yet (#3362: the\n // posture is its own family, no longer constraints on the vision), the rest as maps of what exists.\n // The policies are small and read whole — their presence is what says the conception ran.\n inputs: [\n { family: 'vision-brief' },\n { family: 'compliance-posture', render: MetaWorkflow_InputRender.MAP },\n { family: 'domain-plan', render: MetaWorkflow_InputRender.MAP },\n { family: 'document-release-policy' },\n { family: 'document-publication' },\n { family: 'document-facts', render: MetaWorkflow_InputRender.MAP },\n { family: 'compliance-document-candidate', render: MetaWorkflow_InputRender.MAP },\n ],\n // Nothing — the lane's write scope is resolved transitively through `admits`.\n outputs: [],\n method: {\n skillRefs: [],\n choreography: {\n /*\n * UNORDERED. Listed closing-move-first on purpose, the umbrellas' own trap check: read as a\n * sequence this would draft governance documents before any posture existed, and fail loudly.\n */\n admits: [\n 'refinement.governance-document-candidate',\n 'refinement.compliance-document-candidate',\n 'refinement.document-facts',\n 'top_down.compliance-conception',\n // A NESTED LANE, not three siblings — its evidence loop and its interview are its own.\n 'top_down.compliance-analysis',\n ],\n /*\n * The umbrella's own measured bound for its evidence loop (research → adequacy round-trips ran\n * 3–7 minutes each, and its first real run hit the ceiling mid-loop) plus one round each for\n * conception, facts and the two drafters, which run beside each other. The schema's ceiling.\n */\n maximumIterations: 20,\n maximumLanesPerIteration: 3,\n /*\n * Two levels below this one: the compliance umbrella, and the umbrella's own leaves. A composite\n * child is WITHHELD when `depth + 1` reaches the ceiling, so the default `1` would offer this lane\n * a nested lane it could never run.\n */\n maximumDepth: 2,\n /*\n * Three hours: the umbrella measured ~280s per iteration on regime research, and twenty\n * iterations at that figure is ~95 minutes; the drafters are slower still with a full fact set.\n * Longer than the companion's HTTP ceiling (30 min): submit with `async: true` and read the\n * outcome from `/playbooks/runs`. Literal: the evaluator computes no expressions.\n */\n maximumDurationMs: 10_800_000,\n },\n },\n /*\n * The release decision — a legally-binding statement leaving the system.\n *\n * LIVE since #111 landed: the runtime derives this lane's boundary from the field and the companion\n * projects one `approve_result` decision on the human-decision plane. What the posture does with it\n * is the marked gate — under YOLO it NOTIFIES and proceeds, which is the directive's own answer for\n * a workflow fact (`application-creation-directive.md`), and GUIDED's hold is armed at Gate 3\n * (`one-source-of-truth.md` D5). The lane still composes no release record: that is a human commit.\n */\n approval: MetaWorkflow_ApprovalPolicy.APPROVE_RESULT,\n budget: {},\n onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG,\n} satisfies Omit<MetaWorkflowPlaybookAuthoring, 'method'> & {\n method: Omit<NonNullable<MetaWorkflowPlaybookAuthoring['method']>, 'guidance'>;\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../src/playbooks/cross_cutting.feature-development/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,wBAAwB,EACxB,kBAAkB,GAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,GAAG,EAAE,mCAAmC;IACxC,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE,kBAAkB,CAAC,aAAa;IACvC,MAAM,EACJ,+jBAA+jB;IACjkB,aAAa,EAAE;QACb,EAAE,IAAI,EAAE,0BAA0B,CAAC,cAAc,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE;QACzF,EAAE,IAAI,EAAE,0BAA0B,CAAC,cAAc,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE;KAC1F;IACD,sFAAsF;IACtF,MAAM,EAAE;QACN,0EAA0E;QAC1E,EAAE,MAAM,EAAE,cAAc,EAAE;QAC1B,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,wBAAwB,CAAC,GAAG,EAAE;QAChE,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,wBAAwB,CAAC,GAAG,EAAE;QAClE,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,wBAAwB,CAAC,GAAG,EAAE;QAC/D,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,wBAAwB,CAAC,GAAG,EAAE;KAC/D;IACD,8EAA8E;IAC9E,OAAO,EAAE,EAAE;IACX,MAAM,EAAE;QACN,SAAS,EAAE,EAAE;QACb,YAAY,EAAE;YACZ,mHAAmH;YACnH,MAAM,EAAE;gBACN,iBAAiB;gBACjB,2BAA2B;gBAC3B,uBAAuB;gBACvB,iCAAiC;aAClC;YACD,iBAAiB,EAAE;gBACjB,iBAAiB;gBACjB,2BAA2B;gBAC3B,uBAAuB;aACxB;YACD,qGAAqG;YACrG,iBAAiB,EAAE,CAAC;YACpB,wBAAwB,EAAE,CAAC;YAC3B,qEAAqE;YACrE,YAAY,EAAE,CAAC;YACf,iBAAiB,EAAE,UAAU;SAC9B;KACF;IACD,QAAQ,EAAE,2BAA2B,CAAC,cAAc;IACpD,MAAM,EAAE,EAAE;IACV,SAAS,EAAE,0BAA0B,CAAC,aAAa;CACyF,CAAC","sourcesContent":["import {\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_FailurePolicy,\n MetaWorkflow_PredicateKind,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n MetaWorkflow_InputRender,\n MetaWorkflow_Phase,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\n/**\n * The FEATURE-DEVELOPMENT line (#1608, epic #1602): develop one feature beside the main line, through the\n * product model rather than around it.\n *\n * An opened INSTANCE of this composite IS a feature line (`ApplicationSecondaryLine.FEATURE_DEVELOPMENT`):\n * its instance key names the line, and the activation's purpose says which feature. It is never run as the\n * default instance, and it belongs to no main line's tree; the line scope admits its tree only while a line\n * of it is open.\n *\n * ## Two kinds of child, and the declaration that separates them\n *\n * - **`refinement.feature-contribution`** runs as the LINE: the feature lands as elements of the\n * requirements and the feature drafts, each stamped with the line.\n * - **The refreshes** (`actsOnApplication`) run as the APPLICATION: the domain plan, the experience plan and\n * the build lane hold one value for the whole application, which an instance may never replace. They\n * re-derive from the requirements the feature changed, the same way the main line would, and the main line\n * keeps every element a line contributed when it re-derives.\n *\n * Running beside the main line is #1610's: this line's lease is its own instance, and a run records the runs\n * it overlapped. A refresh that meets a main-line landing of the same family is refused at landing (#1614)\n * rather than overwriting it, and the next round re-derives from what landed.\n */\nexport const playbookDefinition = {\n ref: 'cross_cutting.feature-development',\n version: '0.1.0',\n phase: MetaWorkflow_Phase.CROSS_CUTTING,\n intent:\n 'Develop ONE feature, the one this line was opened for, through the product model: land it as requirements and feature drafts of its own, then let the application re-derive what depends on them, and build it. An umbrella: it authors nothing itself. Select the feature contribution FIRST, while the requirements do not yet hold this feature. Once they do, select what the feature makes out of date, in the order the product model implies: the domain plan before the experience plan, both before the build. STOP when the feature is built, or when nothing eligible advances it.',\n preconditions: [\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'requirements' } },\n ],\n // For the SELECTOR: whether the feature has landed, and what exists downstream of it.\n inputs: [\n // Read whole: it is small, and it is the product the feature is added to.\n { family: 'vision-brief' },\n { family: 'requirements', render: MetaWorkflow_InputRender.MAP },\n { family: 'feature-drafts', render: MetaWorkflow_InputRender.MAP },\n { family: 'domain-plan', render: MetaWorkflow_InputRender.MAP },\n { family: 'build-plan', render: MetaWorkflow_InputRender.MAP },\n ],\n // Nothing — the lane's write scope is resolved transitively through `admits`.\n outputs: [],\n method: {\n skillRefs: [],\n choreography: {\n /* UNORDERED. Listed closing-move-first, the umbrellas' own trap check: read as a sequence it would build first. */\n admits: [\n 'bottom_up.build',\n 'bottom_up.experience-plan',\n 'bottom_up.domain-plan',\n 'refinement.feature-contribution',\n ],\n actsOnApplication: [\n 'bottom_up.build',\n 'bottom_up.experience-plan',\n 'bottom_up.domain-plan',\n ],\n /* One round for the feature, one per refresh, and the build lane's own rounds, which are its own. */\n maximumIterations: 8,\n maximumLanesPerIteration: 1,\n // The build lane is a composite: this line needs one level below it.\n maximumDepth: 2,\n maximumDurationMs: 10_800_000,\n },\n },\n approval: MetaWorkflow_ApprovalPolicy.APPROVE_RESULT,\n budget: {},\n onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG,\n} satisfies Omit<MetaWorkflowPlaybookAuthoring, 'method'> & { method: Omit<NonNullable<MetaWorkflowPlaybookAuthoring['method']>, 'guidance'> };\n"]}
|
|
@@ -20,8 +20,8 @@ import { MetaWorkflow_InputRender, MetaWorkflow_Phase } from '@wildo-ai/saas-spe
|
|
|
20
20
|
* - the TARGETS: the playbooks that refine a family (a declared `companion_agent` that reads its own output,
|
|
21
21
|
* runs on its own, in the main tree). Only these may be named, and only these run first;
|
|
22
22
|
* - the REFRESHES: every other standalone family producer of the main tree (the placement plan, the
|
|
23
|
-
* capability composition, the
|
|
24
|
-
*
|
|
23
|
+
* capability composition, the compliance documents, the expert staffing), so what the change made stale
|
|
24
|
+
* can be re-derived; and the build lane, run whole.
|
|
25
25
|
* Every child re-derives a WHOLE family, which an instance may never replace, so every child runs as the
|
|
26
26
|
* application (`actsOnApplication`).
|
|
27
27
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/cross_cutting.refinement/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,wBAAwB,EACxB,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/cross_cutting.refinement/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,wBAAwB,EACxB,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuF+G,CAAC"}
|
|
@@ -20,8 +20,8 @@ import { MetaWorkflow_InputRender, MetaWorkflow_Phase, } from '@wildo-ai/saas-sp
|
|
|
20
20
|
* - the TARGETS: the playbooks that refine a family (a declared `companion_agent` that reads its own output,
|
|
21
21
|
* runs on its own, in the main tree). Only these may be named, and only these run first;
|
|
22
22
|
* - the REFRESHES: every other standalone family producer of the main tree (the placement plan, the
|
|
23
|
-
* capability composition, the
|
|
24
|
-
*
|
|
23
|
+
* capability composition, the compliance documents, the expert staffing), so what the change made stale
|
|
24
|
+
* can be re-derived; and the build lane, run whole.
|
|
25
25
|
* Every child re-derives a WHOLE family, which an instance may never replace, so every child runs as the
|
|
26
26
|
* application (`actsOnApplication`).
|
|
27
27
|
*
|
|
@@ -31,7 +31,7 @@ import { MetaWorkflow_InputRender, MetaWorkflow_Phase, } from '@wildo-ai/saas-sp
|
|
|
31
31
|
*/
|
|
32
32
|
export const playbookDefinition = {
|
|
33
33
|
ref: 'cross_cutting.refinement',
|
|
34
|
-
version: '0.1.
|
|
34
|
+
version: '0.1.3',
|
|
35
35
|
phase: MetaWorkflow_Phase.CROSS_CUTTING,
|
|
36
36
|
intent: 'Refine what this line was opened for: re-derive each named family from what it already holds, guided by the purpose, then refresh what that made out of date and build it. An umbrella: it authors nothing itself. The first move is fixed: the producers of the named families. After that, select only children whose outputs are STALE, upstream before downstream, the build last. STOP when nothing is stale any more and the build has run, or when nothing eligible advances the refinement.',
|
|
37
37
|
preconditions: [
|
|
@@ -67,6 +67,8 @@ export const playbookDefinition = {
|
|
|
67
67
|
'refinement.document-facts',
|
|
68
68
|
'top_down.compliance-conception',
|
|
69
69
|
'top_down.risk-register',
|
|
70
|
+
// The firm's method refines its own prior output (#2305), so a refinement line may re-derive it.
|
|
71
|
+
'top_down.service-method',
|
|
70
72
|
'top_down.business-model',
|
|
71
73
|
'top_down.brand-identity',
|
|
72
74
|
'top_down.scope-roadmap',
|
|
@@ -91,6 +93,8 @@ export const playbookDefinition = {
|
|
|
91
93
|
'refinement.document-facts',
|
|
92
94
|
'top_down.compliance-conception',
|
|
93
95
|
'top_down.risk-register',
|
|
96
|
+
// The firm's method refines its own prior output (#2305), so a refinement line may re-derive it.
|
|
97
|
+
'top_down.service-method',
|
|
94
98
|
'top_down.business-model',
|
|
95
99
|
'top_down.brand-identity',
|
|
96
100
|
'top_down.scope-roadmap',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../src/playbooks/cross_cutting.refinement/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,wBAAwB,EACxB,kBAAkB,GAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAM,CAAC,MAAM,kBAAkB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,EAAE;gBACjB,iBAAiB;gBACjB,2BAA2B;gBAC3B,8BAA8B;gBAC9B,wBAAwB;gBACxB,4BAA4B;gBAC5B,0BAA0B;gBAC1B,kCAAkC;gBAClC,2BAA2B;gBAC3B,uBAAuB;gBACvB,0CAA0C;gBAC1C,0CAA0C;gBAC1C,2BAA2B;gBAC3B,gCAAgC;gBAChC,wBAAwB;gBACxB,iGAAiG;gBACjG,yBAAyB;gBACzB,yBAAyB;gBACzB,yBAAyB;gBACzB,wBAAwB;gBACxB,yBAAyB;gBACzB,yBAAyB;gBACzB,4BAA4B;gBAC5B,kCAAkC;gBAClC,6BAA6B;aAC9B;YACD,kGAAkG;YAClG,iBAAiB,EAAE,EAAE;YACrB,wBAAwB,EAAE,CAAC;YAC3B,qEAAqE;YACrE,YAAY,EAAE,CAAC;YACf,iBAAiB,EAAE,UAAU;SAC9B;KACF;IACD,QAAQ,EAAE,2BAA2B,CAAC,cAAc;IACpD,MAAM,EAAE,EAAE;IACV,SAAS,EAAE,0BAA0B,CAAC,aAAa;CACyF,CAAC","sourcesContent":["import {\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_FailurePolicy,\n MetaWorkflow_PredicateKind,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n MetaWorkflow_InputRender,\n MetaWorkflow_Phase,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\n/**\n * The REFINEMENT line (#1608, epic #1602): refine one or more families the application already holds, in\n * place, beside the main line.\n *\n * An opened INSTANCE of this composite IS a refinement line (`ApplicationSecondaryLine.REFINEMENT`): its key\n * names the line, its purpose says what to improve, and its activation NAMES the families it re-derives\n * (`refinedFamilies`). It is never run as the default instance and belongs to no main line's tree.\n *\n * ## Why the main loop cannot do this\n *\n * The main lanes re-derive a family only when it is missing or its inputs moved; a family on record is left\n * alone. So nothing re-derives a landed family ON PURPOSE. This line does, through the producer that reads\n * the family's own prior output, so it refines what exists instead of re-authoring it.\n *\n * ## What it admits, and why every child acts on the application\n *\n * Two sets, derived by `collectRefinementLineRefs` and held equal to this list by the real-catalog test:\n * - the TARGETS: the playbooks that refine a family (a declared `companion_agent` that reads its own output,\n * runs on its own, in the main tree). Only these may be named, and only these run first;\n * - the REFRESHES: every other standalone family producer of the main tree (the placement plan, the\n * capability composition, the compliance documents, the expert staffing), so what the change made stale\n * can be re-derived; and the build lane, run whole.\n * Every child re-derives a WHOLE family, which an instance may never replace, so every child runs as the\n * application (`actsOnApplication`).\n *\n * The first round is not the selector's to choose: while a named family is not yet re-derived, the round\n * offers only its producers (`narrowRefinementRound`). After that the selector refreshes what the change made\n * stale, builds, and stops.\n */\nexport const playbookDefinition = {\n ref: 'cross_cutting.refinement',\n version: '0.1.3',\n phase: MetaWorkflow_Phase.CROSS_CUTTING,\n intent:\n 'Refine what this line was opened for: re-derive each named family from what it already holds, guided by the purpose, then refresh what that made out of date and build it. An umbrella: it authors nothing itself. The first move is fixed: the producers of the named families. After that, select only children whose outputs are STALE, upstream before downstream, the build last. STOP when nothing is stale any more and the build has run, or when nothing eligible advances the refinement.',\n preconditions: [\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },\n ],\n // For the SELECTOR: what exists, as maps, so it can tell what a refinement made stale.\n inputs: [\n { family: 'vision-brief' },\n { family: 'requirements', render: MetaWorkflow_InputRender.MAP },\n { family: 'feature-drafts', render: MetaWorkflow_InputRender.MAP },\n { family: 'domain-plan', render: MetaWorkflow_InputRender.MAP },\n { family: 'experience-plan', render: MetaWorkflow_InputRender.MAP },\n { family: 'build-plan', render: MetaWorkflow_InputRender.MAP },\n ],\n // Nothing — the lane's write scope is resolved transitively through `admits`.\n outputs: [],\n method: {\n skillRefs: [],\n choreography: {\n /* UNORDERED. Listed closing-move-first, the umbrellas' own trap check: read as a sequence it would build first. */\n admits: [\n 'bottom_up.build',\n 'bottom_up.build-decompose',\n 'bottom_up.documentation-plan',\n 'bottom_up.website-plan',\n 'bottom_up.integration-plan',\n 'bottom_up.placement-plan',\n 'bottom_up.capability-composition',\n 'bottom_up.experience-plan',\n 'bottom_up.domain-plan',\n 'refinement.governance-document-candidate',\n 'refinement.compliance-document-candidate',\n 'refinement.document-facts',\n 'top_down.compliance-conception',\n 'top_down.risk-register',\n // The firm's method refines its own prior output (#2305), so a refinement line may re-derive it.\n 'top_down.service-method',\n 'top_down.business-model',\n 'top_down.brand-identity',\n 'top_down.scope-roadmap',\n 'top_down.feature-drafts',\n 'top_down.capability-map',\n 'top_down.value-proposition',\n 'top_down.requirements-definition',\n 'top_down.vision-elicitation',\n ],\n actsOnApplication: [\n 'bottom_up.build',\n 'bottom_up.build-decompose',\n 'bottom_up.documentation-plan',\n 'bottom_up.website-plan',\n 'bottom_up.integration-plan',\n 'bottom_up.placement-plan',\n 'bottom_up.capability-composition',\n 'bottom_up.experience-plan',\n 'bottom_up.domain-plan',\n 'refinement.governance-document-candidate',\n 'refinement.compliance-document-candidate',\n 'refinement.document-facts',\n 'top_down.compliance-conception',\n 'top_down.risk-register',\n // The firm's method refines its own prior output (#2305), so a refinement line may re-derive it.\n 'top_down.service-method',\n 'top_down.business-model',\n 'top_down.brand-identity',\n 'top_down.scope-roadmap',\n 'top_down.feature-drafts',\n 'top_down.capability-map',\n 'top_down.value-proposition',\n 'top_down.requirements-definition',\n 'top_down.vision-elicitation',\n ],\n /* A round per named family, one per refresh downstream of it, and the build lane's own rounds. */\n maximumIterations: 16,\n maximumLanesPerIteration: 1,\n // The build lane is a composite: this line needs one level below it.\n maximumDepth: 2,\n maximumDurationMs: 10_800_000,\n },\n },\n approval: MetaWorkflow_ApprovalPolicy.APPROVE_RESULT,\n budget: {},\n onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG,\n} satisfies Omit<MetaWorkflowPlaybookAuthoring, 'method'> & { method: Omit<NonNullable<MetaWorkflowPlaybookAuthoring['method']>, 'guidance'> };\n"]}
|
package/dist/esm/playbooks/refinement.compliance-document-candidate/playbook.definition.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { MetaWorkflow_AuthorityAssuranceClass, MetaWorkflow_AuthorityDecisionMod
|
|
|
11
11
|
*/
|
|
12
12
|
export declare const playbookDefinition: {
|
|
13
13
|
readonly ref: "refinement.compliance-document-candidate";
|
|
14
|
-
readonly version: "0.
|
|
14
|
+
readonly version: "0.8.0";
|
|
15
15
|
readonly phase: "refinement";
|
|
16
16
|
readonly intent: "Propose structured privacy-notice or service-terms candidate content from the application's accepted document facts. The companion agent may draft prose but cannot invent a fact, decide a legal question, approve, release or publish the document: every clause it writes is checked against the `document-facts` family, and a clause asserting a fact the application never declared is refused before it becomes a file.";
|
|
17
17
|
readonly preconditions: readonly [{
|
|
@@ -11,7 +11,7 @@ import { MetaWorkflow_AuthorityAssuranceClass, MetaWorkflow_AuthorityDecisionMod
|
|
|
11
11
|
*/
|
|
12
12
|
export const playbookDefinition = {
|
|
13
13
|
"ref": "refinement.compliance-document-candidate",
|
|
14
|
-
"version": "0.
|
|
14
|
+
"version": "0.8.0",
|
|
15
15
|
"phase": "refinement",
|
|
16
16
|
"intent": "Propose structured privacy-notice or service-terms candidate content from the application's accepted document facts. The companion agent may draft prose but cannot invent a fact, decide a legal question, approve, release or publish the document: every clause it writes is checked against the `document-facts` family, and a clause asserting a fact the application never declared is refused before it becomes a file.",
|
|
17
17
|
"preconditions": [
|
|
@@ -125,8 +125,8 @@ export const evaluationTreatmentSource = {
|
|
|
125
125
|
criteria: [{
|
|
126
126
|
schemaVersion: 1,
|
|
127
127
|
criterionRef: 'application-creation:criterion/compliance-document-claims-within-guard',
|
|
128
|
-
criterionVersion:
|
|
129
|
-
instruction: 'The subject under judgment is each landed `compliance-document-candidate`. For EVERY clause, find the catalog claim guards it names in `claimGuardRefs` in the "Catalog claim guards" section of the evidence. A clause\'s `claimGuardRefs` mixes TWO vocabularies and only one is defined anywhere: a `document-claim-guard:` ref is the CATALOG\'s, added from the blueprint clauses the clause satisfies, and the evidence section carries its prohibited claims and reviewer instruction. A bare `claim-guard:` ref is the DRAFTER\'S OWN statement of what its clause must not be read as claiming; no catalog defines it and none will be supplied. Read it as context about the clause\'s intent, and NEVER answer INDETERMINATE because its definition is absent — that is not missing evidence, it is a vocabulary that has no definitions, and read the clause\'s `bodyMarkdown` against each guard\'s prohibited claims and reviewer instruction. Look for: a claim of certification, attestation or audit without the authority to make it; a legal conclusion or legal advice ("you are protected", "this is lawful") rather than a statement of what the operator does; a NIST publication presented as legal equivalence; OPERATING EFFECTIVENESS — a sentence asserting that a control operates, works or worked ("we monitor", "we detect", "access is always reviewed") rather than that something is configured or declared; self-attestation presented as independent assurance; and an unscoped compliance claim ("GDPR compliant", "fully secure"). In a document whose guard names `document-claim-policy:public-safe-baseline`,
|
|
128
|
+
criterionVersion: 2,
|
|
129
|
+
instruction: 'The subject under judgment is each landed `compliance-document-candidate`. For EVERY clause, find the catalog claim guards it names in `claimGuardRefs` in the "Catalog claim guards" section of the evidence. A clause\'s `claimGuardRefs` mixes TWO vocabularies and only one is defined anywhere: a `document-claim-guard:` ref is the CATALOG\'s, added from the blueprint clauses the clause satisfies, and the evidence section carries its prohibited claims and reviewer instruction. A bare `claim-guard:` ref is the DRAFTER\'S OWN statement of what its clause must not be read as claiming; no catalog defines it and none will be supplied. Read it as context about the clause\'s intent, and NEVER answer INDETERMINATE because its definition is absent — that is not missing evidence, it is a vocabulary that has no definitions, and read the clause\'s `bodyMarkdown` against each guard\'s prohibited claims and reviewer instruction. Look for: a claim of certification, attestation or audit without the authority to make it; a legal conclusion or legal advice ("you are protected", "this is lawful") rather than a statement of what the operator does; a NIST publication presented as legal equivalence; OPERATING EFFECTIVENESS — a sentence asserting that a control operates, works or worked ("we monitor", "we detect", "access is always reviewed") rather than that something is configured or declared; self-attestation presented as independent assurance; and an unscoped compliance claim ("GDPR compliant", "fully secure"). In a document whose guard names `document-claim-policy:public-safe-baseline`, an operating-effectiveness assertion is prohibited, with ONE exception (decided 2026-11-06, #3343): a statement of what the application\'s OWN RECORDS show, taken from a fact the runtime computes from records (`retention-enforcement`, `ai-content-guardrails`) and scoped to that fact\'s observation ("as of <date>", "in the window <from>–<to>"), is permitted, because it reports a record rather than the operator\'s judgement. Still prohibited in a public document: such a statement with no date or window, one that generalizes beyond it ("runs on every call", "is always enforced"), one that reads a quiet window as having run or as not having run, and any assertion resting on a judged run or an evidence citation. Do NOT re-check whether cited facts exist — landing already decided that exactly. Name every finding by its `clauseRef`, quote the words, and name the prohibited claim it falls under. Separate severities by CONSEQUENCE: a prohibited claim a reader of the published document would rely on is a GAP; wording that leans toward one without asserting it is a CONCERN.',
|
|
130
130
|
evidenceRequirements: [{
|
|
131
131
|
schemaVersion: 1,
|
|
132
132
|
requirementRef: 'application-creation:evidence-requirement/compliance-document-claims-within-guard',
|
package/dist/esm/playbooks/refinement.compliance-document-candidate/playbook.definition.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../../src/playbooks/refinement.compliance-document-candidate/playbook.definition.ts"],"names":[],"mappings":"AACA,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,gCAAgC,EAChC,sCAAsC,EACtC,0CAA0C,EAC1C,6CAA6C,EAC7C,8BAA8B,EAC9B,oCAAoC,EACpC,6BAA6B,GAC9B,MAAM,sCAAsC,CAAC;AAE9C;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAC/B;IACE,KAAK,EAAE,0CAA0C;IACjD,SAAS,EAAE,OAAO;IAClB,OAAO,EAAE,YAAY;IACrB,QAAQ,EAAE,gaAAga;IAC1a,eAAe,EAAE;QACf;YACE;;;;;;;;;;;;;;;;;;;;;eAqBG;YACH,MAAM,EAAE,mBAAmB;YAC3B,UAAU,EAAE;gBACV,QAAQ,EAAE,gBAAgB;aAC3B;SACF;KACF;IACD,QAAQ,EAAE;QACR;YACE,QAAQ,EAAE,gBAAgB;SAC3B;KACF;IAC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flow-runtime';\nimport {\n MetaWorkflow_AuthorityAssuranceClass,\n MetaWorkflow_AuthorityDecisionMode,\n MetaWorkflow_AuthorityInteractionChannel,\n MetaWorkflow_ContinuationAction,\n MetaWorkflow_DecisionConsequence,\n MetaWorkflow_DecisionRuleBoundaryClass,\n MetaWorkflow_EvaluationAggregationStrategy,\n MetaWorkflow_EvaluationPromptAssemblyStrategy,\n MetaWorkflow_EvaluationVerdict,\n MetaWorkflow_EvidenceRequirementKind,\n MetaWorkflow_HardFloorPosture,\n} from '@wildo-ai/saas-models/meta-workflows';\n\n/**\n * Canonical native declaration for this reusable application-creation method.\n *\n * Migrated from the retired JSON-v1 authoring format at the first-activation hard cut. (This header used to say the\n * companion pins `@0.1.0` and fails closed without it; nothing in the repository pins any version of this playbook,\n * measured 2026-09-22 — the claim outlived whatever held it.)\n *\n * 0.3.0 adds the advisory CLAIM judge below (#1452): until then this source carried no evaluation treatment at all,\n * so the catalog's prohibited claims — the prose half of every claim guard — reached no reader.\n */\nexport const playbookDefinition =\n{\n \"ref\": \"refinement.compliance-document-candidate\",\n \"version\": \"0.7.0\",\n \"phase\": \"refinement\",\n \"intent\": \"Propose structured privacy-notice or service-terms candidate content from the application's accepted document facts. The companion agent may draft prose but cannot invent a fact, decide a legal question, approve, release or publish the document: every clause it writes is checked against the `document-facts` family, and a clause asserting a fact the application never declared is refused before it becomes a file.\",\n \"preconditions\": [\n {\n /*\n * The facts this draft SHOULD rest on — expected first, never a gate.\n *\n * Three revisions, and the middle one is the instructive part:\n *\n * 1. Until 2026-08-28 this gated on `compliance-document-fact-projection`, a host-computed\n * projection sealed with a projector identity, source-head digests and per-contribution\n * authority receipts. `artifact_valid` reads LANDED families and a host-computed projection\n * never lands, so the precondition could never be satisfied: this playbook, and with it the\n * whole `refinement` phase, was permanently ineligible from the day it was authored, and\n * nothing reported it because an ineligible playbook never reaches the board. The projection\n * went with the digest demolition (`.claude/rules/one-source-of-truth.md`, Rule 0).\n * 2. It was then re-gated onto `document-facts` with `artifact_valid`, which made it reachable\n * — and blocking. That is the wrong posture for a compliance document: an application must be\n * able to produce its privacy notice today, with the statements it cannot yet establish\n * marked incomplete, and complete them later. A document nobody can produce is worth less\n * than one that states precisely what is missing.\n * 3. `artifact_expected` (SEQUENCING) says facts come first while letting a human run proceed\n * past it. What the old projection PROTECTED — a document may not assert what nobody\n * established — is unaffected: it is a cross-reference check between this draft and the\n * facts file, run before the write, and it refuses INVENTION rather than incompleteness.\n */\n \"kind\": \"artifact_expected\",\n \"selector\": {\n \"family\": \"document-facts\"\n }\n }\n ],\n \"inputs\": [\n {\n \"family\": \"document-facts\"\n }\n ],\n \"outputs\": [\n\n {\n \"family\": \"compliance-document-candidate\",\n \"schemaRef\": \"saas-specifications:ComplianceDocumentCandidate\",\n \"description\": \"An untrusted structured content proposal that lands as a FILE for a human to read and commit. Its clauses are validated against the application's accepted document facts before the write; landing is never an approval, a release or a publication. Nothing is sealed \\u2014 the draft is accepted by being committed.\"\n }\n ],\n \"method\": {\n \"//contextSources\": \"DOCUMENT_BLUEPRINT \\u2014 this playbook DRAFTS a governed document, and the catalog is the only thing that says what one must contain. Measured 2026-08-30: `document-definition:public.privacy-notice` requires eight facts; wonder-crm's generated notice declared twenty and matched NONE of them, scoring zero dangling citations throughout \\u2014 internally consistent, and addressing none of what a privacy notice is obliged to address. The catalog had held the answer since it was written and had no runtime lookup of any kind, while this playbook's own skill instructed the drafter to \\\"Read the definition and blueprint\\\": a step it was told to perform and given nothing to perform it on. Deliberately NOT COMPLIANCE_PRIMARY_FACTS: that source carries raw resource declarations and belongs to `refinement.document-facts`, which declares it. A drafter given mechanism directly could write a clause resting on something the application never DECLARED, which is precisely what the fact-binding check exists to refuse \\u2014 this playbook reads the declared `document-facts` family and nothing beneath it.\",\n \"//contextSources.authored_document_facts\": \"AUTHORED_DOCUMENT_FACTS \\u2014 the facts a PERSON established, which the derived family does not carry and no playbook produces, so it cannot be a declared input. Measured on the first live governance draft: a clause CITED an authored fact and paraphrased around a value it had never read, and the landing accepted it because the fact-binding check asks whether a fact was DECLARED, never whether the drafter could read it.\",\n \"contextSources\": [\"document_blueprint\", \"authored_document_facts\"],\n \"//draftableDocumentDefinitionRefs\": \"The PUBLIC pair, and this lane's subject. Declared here rather than in the companion since 2026-09-22 (#1453): a drafting lane is defined by the documents it may produce, and while that list was a runtime constant there could be exactly one lane. The four internal `governance.*` documents are `refinement.governance-document-candidate`'s, and they are a separate lane rather than four more entries here because the brief carries every declared blueprint in full \\u2014 measured: 21KB for this pair, 24KB for the governance four, 45KB together, and a prompt section that gets skimmed is indistinguishable from an absent one.\",\n \"draftableDocumentDefinitionRefs\": [\n \"document-definition:public.privacy-notice\",\n \"document-definition:public.service-terms\"\n ],\n \"//briefAdequacyGate\": \"The #254 pilot (decision 2026-09-02, built 2026-09-04): this lane is where both recorded promise-gap defects lived, and its context needs vary per document. The gate judges the composed brief once; INSUFFICIENT adds proposed sources for this run only. The exclusion carries the //contextSources boundary above into the mechanism: the gate may never hand this drafter raw resource mechanism.\",\n \"briefAdequacyGate\": true,\n \"briefAdequacyExcludedSources\": [\"compliance_primary_facts\"],\n \"skillRefs\": [\n \"compliance-document-authoring\"\n ],\n \"//skillBodyRefs\": \"This method says \\u0022follow the `compliance-document-authoring` skill\\u0022, and a structured generation has NO TOOLS \\u2014 so only its purpose line ever arrived and the model followed a document it had never been shown (#1435). Declaring the body puts the contract in the brief.\",\n \"skillBodyRefs\": [\"compliance-document-authoring\"]\n },\n \"executor\": \"companion_agent\",\n \"approval\": \"approve_result\",\n \"budget\": {\n \"maxRuns\": 3\n },\n \"onFailure\": \"keep_and_flag\"\n} as const;\n\n/**\n * The advisory CLAIM judge over a drafted compliance document (#1452).\n *\n * ## What it closes\n *\n * Every catalog claim guard carries prohibited claims — certification without authority, a legal conclusion, NIST as\n * legal equivalence, operating effectiveness without evidence, self-attestation as independent assurance, an unscoped\n * compliance claim. Their FACT half is enforced at landing (a guard's required facts are its blueprint's required-clause\n * facts, and the coverage validator refuses a candidate that leaves one uncited). Their PROSE half is not something a\n * validator can decide — it is what a sentence asserts — and until this treatment existed nothing read it: the drafting\n * brief keeps guards out of the drafter's prompt on purpose, and the playbook had no judge.\n *\n * ## What it reads, and what it does not decide\n *\n * The landed candidates, and the catalog guards of the drafted documents, rendered by the companion into the judge's\n * derived context. Each clause names its catalog guard in `claimGuardRefs` (derived at normalization since 914b2c11), so\n * the judge joins a clause to the prohibitions it answers to by ref. It does NOT re-check fact citation (the landing\n * validator decides that exactly) and it does NOT approve anything: a candidate is an unapproved draft whatever the\n * verdict, and approval is the commit.\n *\n * ADVISORY by construction (`runPlaybookJudge`): it speaks after the files land and nothing refuses on its verdict —\n * `application-creation-directive.md`, a workflow never blocks the mechanism.\n *\n * ## Operating claims in PUBLIC documents\n *\n * Paul decided 2026-09-21 (#297): public documents keep the operating-effectiveness prohibition until Gate 3 arms the\n * publication gate. So in a document under `document-claim-policy:public-safe-baseline`, ANY assertion that a control\n * operates — not that it is configured — is a GAP, whatever supports it.\n */\nexport const evaluationTreatmentSource = {\n schemaVersion: 1,\n definitionRef: 'application-creation:evaluation-treatment/compliance-document-claims',\n definitionVersion: 1,\n evaluationProtocol: {\n schemaVersion: 1,\n protocolRef: 'application-creation:evaluation-protocol/compliance-document-claims',\n protocolVersion: 1,\n promptAssemblyStrategy: MetaWorkflow_EvaluationPromptAssemblyStrategy.CANONICAL_PROTOCOL_EVIDENCE_V1,\n aggregationStrategy: MetaWorkflow_EvaluationAggregationStrategy.WORST_VERDICT_PRECEDENCE_V1,\n verdictPrecedence: [MetaWorkflow_EvaluationVerdict.GAP, MetaWorkflow_EvaluationVerdict.INDETERMINATE, MetaWorkflow_EvaluationVerdict.CONCERN, MetaWorkflow_EvaluationVerdict.PASS],\n aggregationPolicyRef: 'application-creation:aggregation/worst-compliance-document-claims-verdict',\n criteria: [{\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/compliance-document-claims-within-guard',\n criterionVersion: 1,\n instruction: 'The subject under judgment is each landed `compliance-document-candidate`. For EVERY clause, find the catalog claim guards it names in `claimGuardRefs` in the \"Catalog claim guards\" section of the evidence. A clause\\'s `claimGuardRefs` mixes TWO vocabularies and only one is defined anywhere: a `document-claim-guard:` ref is the CATALOG\\'s, added from the blueprint clauses the clause satisfies, and the evidence section carries its prohibited claims and reviewer instruction. A bare `claim-guard:` ref is the DRAFTER\\'S OWN statement of what its clause must not be read as claiming; no catalog defines it and none will be supplied. Read it as context about the clause\\'s intent, and NEVER answer INDETERMINATE because its definition is absent — that is not missing evidence, it is a vocabulary that has no definitions, and read the clause\\'s `bodyMarkdown` against each guard\\'s prohibited claims and reviewer instruction. Look for: a claim of certification, attestation or audit without the authority to make it; a legal conclusion or legal advice (\"you are protected\", \"this is lawful\") rather than a statement of what the operator does; a NIST publication presented as legal equivalence; OPERATING EFFECTIVENESS — a sentence asserting that a control operates, works or worked (\"we monitor\", \"we detect\", \"access is always reviewed\") rather than that something is configured or declared; self-attestation presented as independent assurance; and an unscoped compliance claim (\"GDPR compliant\", \"fully secure\"). In a document whose guard names `document-claim-policy:public-safe-baseline`, ANY operating-effectiveness assertion is prohibited, whatever it cites. Do NOT re-check whether cited facts exist — landing already decided that exactly. Name every finding by its `clauseRef`, quote the words, and name the prohibited claim it falls under. Separate severities by CONSEQUENCE: a prohibited claim a reader of the published document would rely on is a GAP; wording that leans toward one without asserting it is a CONCERN.',\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/compliance-document-claims-within-guard',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/compliance-document-candidates-and-catalog-claim-guards',\n minCount: 1,\n maxCount: 1,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-catalog-claim-guards-of-drafted-documents',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-action-binding',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'No clause asserts a prohibited claim: nothing certifies, concludes the law, equates NIST with law, asserts a control operates in a public document, presents self-attestation as independence, or claims unscoped compliance.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'No prohibited claim is asserted, but wording leans toward one in a way a reader could take as the claim — a softened operating assertion, a scope left implicit. Name each clauseRef and quote it.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'At least one clause asserts a prohibited claim a reader would rely on. Name each clauseRef, quote the words, and name the prohibited claim.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The CATALOG guards of the drafted documents are absent from the evidence, or a document has no catalog guard at all, so the clauses cannot be judged against what they must not claim. Say which. A clause-level `claim-guard:` ref having no definition is NOT this: that vocabulary has none anywhere.',\n },\n }],\n },\n evaluatorBindingPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:evaluator-binding-policy/compliance-document-claims',\n policyVersion: 1,\n admissibleEvaluatorSelectors: [{ evaluatorRef: 'meta-workflow:evaluator/structured-semantic-coherence', evaluatorVersion: 1 }],\n defaultEvaluatorSelector: { evaluatorRef: 'meta-workflow:evaluator/structured-semantic-coherence', evaluatorVersion: 1 },\n outputContractSelector: { outputContractRef: 'meta-workflow:output-contract/structured-semantic-evaluation-candidate', outputContractVersion: 1 },\n fallbackPolicyRef: 'application-creation:evaluator-policy/fail-closed',\n escalationPolicyRef: 'application-creation:evaluator-policy/request-explicit-review',\n maximumAttempts: 2,\n timeoutPolicyRef: 'application-creation:evaluator-policy/bounded-semantic-evaluation',\n budgetPolicyRef: 'application-creation:evaluator-policy/current-work-cycle-budget',\n selectionPolicyRef: 'application-creation:evaluator-policy/scoped-risk-and-evidence',\n },\n decisionPointDefinition: {\n schemaVersion: 1,\n decisionPointRef: 'application-creation:decision-point/compliance-document-claims',\n decisionPointVersion: 1,\n triggerRefs: ['application-creation:trigger/compliance-document-candidate-staged-and-valid'],\n hardFloorRefs: ['application-creation:hard-floor/compliance-document-candidate-valid'],\n riskPolicyRef: 'application-creation:risk-policy/scoped-application-and-execution-context',\n significancePolicyRef: 'application-creation:significance-policy/compliance-document-change',\n },\n decisionRule: {\n schemaVersion: 1,\n ruleRef: 'application-creation:decision-rule/compliance-document-claims',\n ruleVersion: 1,\n boundaryClass: MetaWorkflow_DecisionRuleBoundaryClass.QUALITY_INTERPRETATION,\n evidenceAggregationRef: 'application-creation:aggregation/worst-compliance-document-claims-verdict',\n resultMappings: [\n { verdict: MetaWorkflow_EvaluationVerdict.PASS, consequence: MetaWorkflow_DecisionConsequence.REQUEST_AUTHORITY },\n { verdict: MetaWorkflow_EvaluationVerdict.CONCERN, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.GAP, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.INDETERMINATE, consequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE },\n ],\n hardFloorBindings: [{\n hardFloorRef: 'application-creation:hard-floor/compliance-document-candidate-valid',\n evidenceRequirementRefs: ['application-creation:evidence-requirement/compliance-document-claims-within-guard'],\n }],\n hardFloorFailureConsequence: MetaWorkflow_DecisionConsequence.BLOCK,\n hardFloorShortcutAllowed: false,\n unresolvedConsequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE,\n evaluatorFailureConsequence: MetaWorkflow_DecisionConsequence.BLOCK,\n },\n authorityRequirement: {\n schemaVersion: 1,\n requirementRef: 'application-creation:authority-requirement/compliance-document-claims',\n requirementVersion: 1,\n consequenceClassRef: 'application-creation:authority-consequence/accept-compliance-document-candidate',\n riskClassRef: 'application-creation:risk/compliance-claim-accepted-family-mutation',\n decisionModePolicyRef: 'application-creation:authority-policy/explicit-operator-confirmation',\n assurancePolicyRef: 'application-creation:authority-policy/local-single-operator',\n channelPolicyRef: 'application-creation:authority-policy/interface-relay',\n principalPolicyRef: null,\n requiredDecisionMode: MetaWorkflow_AuthorityDecisionMode.EXPLICIT_OPERATOR_CONFIRMATION,\n minimumAssurance: MetaWorkflow_AuthorityAssuranceClass.LOCAL_OS_SESSION,\n admittedChannels: [MetaWorkflow_AuthorityInteractionChannel.INTERFACE_RELAY],\n requiredEvidenceRequirementRefs: ['application-creation:evidence-requirement/compliance-document-claims-within-guard'],\n expiryPolicyRef: 'application-creation:authority-expiry/current-interface-session',\n noncePolicyRef: 'application-creation:authority-nonce/random-per-request',\n hardFloorPosture: MetaWorkflow_HardFloorPosture.NON_WAIVABLE,\n hardFloorOverrideAllowed: false,\n },\n continuationPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:continuation-policy/compliance-document-claims',\n policyVersion: 1,\n mappings: [\n { decisionConsequence: MetaWorkflow_DecisionConsequence.CONTINUE, action: MetaWorkflow_ContinuationAction.CONTINUE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REVISE, action: MetaWorkflow_ContinuationAction.REVISE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE, action: MetaWorkflow_ContinuationAction.REQUEST_EVIDENCE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REQUEST_AUTHORITY, action: MetaWorkflow_ContinuationAction.REQUEST_AUTHORITY },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.BLOCK, action: MetaWorkflow_ContinuationAction.BLOCK },\n ],\n maximumRevisionAttempts: 3,\n maximumEvidenceRequests: 2,\n maximumAuthorityReviews: 1,\n fallbackAction: MetaWorkflow_ContinuationAction.BLOCK,\n },\n} satisfies MetaWorkflowEvaluationTreatmentSource;\n"]}
|
|
1
|
+
{"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../src/playbooks/refinement.compliance-document-candidate/playbook.definition.ts"],"names":[],"mappings":"AACA,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,gCAAgC,EAChC,sCAAsC,EACtC,0CAA0C,EAC1C,6CAA6C,EAC7C,8BAA8B,EAC9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+B,CAAC,gBAAgB,EAAE;YACpI,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,iBAAiB,EAAE,MAAM,EAAE,+BAA+B,CAAC,iBAAiB,EAAE;YACtI,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,KAAK,EAAE,MAAM,EAAE,+BAA+B,CAAC,KAAK,EAAE;SAC/G;QACD,uBAAuB,EAAE,CAAC;QAC1B,uBAAuB,EAAE,CAAC;QAC1B,uBAAuB,EAAE,CAAC;QAC1B,cAAc,EAAE,+BAA+B,CAAC,KAAK;KACtD;CAC8C,CAAC","sourcesContent":["import type { MetaWorkflowEvaluationTreatmentSource } from '@wildo-ai/saas-backend-lib/meta-workflow-runtime';\nimport {\n MetaWorkflow_AuthorityAssuranceClass,\n MetaWorkflow_AuthorityDecisionMode,\n MetaWorkflow_AuthorityInteractionChannel,\n MetaWorkflow_ContinuationAction,\n MetaWorkflow_DecisionConsequence,\n MetaWorkflow_DecisionRuleBoundaryClass,\n MetaWorkflow_EvaluationAggregationStrategy,\n MetaWorkflow_EvaluationPromptAssemblyStrategy,\n MetaWorkflow_EvaluationVerdict,\n MetaWorkflow_EvidenceRequirementKind,\n MetaWorkflow_HardFloorPosture,\n} from '@wildo-ai/saas-models/meta-workflows';\n\n/**\n * Canonical native declaration for this reusable application-creation method.\n *\n * Migrated from the retired JSON-v1 authoring format at the first-activation hard cut. (This header used to say the\n * companion pins `@0.1.0` and fails closed without it; nothing in the repository pins any version of this playbook,\n * measured 2026-09-22 — the claim outlived whatever held it.)\n *\n * 0.3.0 adds the advisory CLAIM judge below (#1452): until then this source carried no evaluation treatment at all,\n * so the catalog's prohibited claims — the prose half of every claim guard — reached no reader.\n */\nexport const playbookDefinition =\n{\n \"ref\": \"refinement.compliance-document-candidate\",\n \"version\": \"0.8.0\",\n \"phase\": \"refinement\",\n \"intent\": \"Propose structured privacy-notice or service-terms candidate content from the application's accepted document facts. The companion agent may draft prose but cannot invent a fact, decide a legal question, approve, release or publish the document: every clause it writes is checked against the `document-facts` family, and a clause asserting a fact the application never declared is refused before it becomes a file.\",\n \"preconditions\": [\n {\n /*\n * The facts this draft SHOULD rest on — expected first, never a gate.\n *\n * Three revisions, and the middle one is the instructive part:\n *\n * 1. Until 2026-08-28 this gated on `compliance-document-fact-projection`, a host-computed\n * projection sealed with a projector identity, source-head digests and per-contribution\n * authority receipts. `artifact_valid` reads LANDED families and a host-computed projection\n * never lands, so the precondition could never be satisfied: this playbook, and with it the\n * whole `refinement` phase, was permanently ineligible from the day it was authored, and\n * nothing reported it because an ineligible playbook never reaches the board. The projection\n * went with the digest demolition (`.claude/rules/one-source-of-truth.md`, Rule 0).\n * 2. It was then re-gated onto `document-facts` with `artifact_valid`, which made it reachable\n * — and blocking. That is the wrong posture for a compliance document: an application must be\n * able to produce its privacy notice today, with the statements it cannot yet establish\n * marked incomplete, and complete them later. A document nobody can produce is worth less\n * than one that states precisely what is missing.\n * 3. `artifact_expected` (SEQUENCING) says facts come first while letting a human run proceed\n * past it. What the old projection PROTECTED — a document may not assert what nobody\n * established — is unaffected: it is a cross-reference check between this draft and the\n * facts file, run before the write, and it refuses INVENTION rather than incompleteness.\n */\n \"kind\": \"artifact_expected\",\n \"selector\": {\n \"family\": \"document-facts\"\n }\n }\n ],\n \"inputs\": [\n {\n \"family\": \"document-facts\"\n }\n ],\n \"outputs\": [\n\n {\n \"family\": \"compliance-document-candidate\",\n \"schemaRef\": \"saas-specifications:ComplianceDocumentCandidate\",\n \"description\": \"An untrusted structured content proposal that lands as a FILE for a human to read and commit. Its clauses are validated against the application's accepted document facts before the write; landing is never an approval, a release or a publication. Nothing is sealed \\u2014 the draft is accepted by being committed.\"\n }\n ],\n \"method\": {\n \"//contextSources\": \"DOCUMENT_BLUEPRINT \\u2014 this playbook DRAFTS a governed document, and the catalog is the only thing that says what one must contain. Measured 2026-08-30: `document-definition:public.privacy-notice` requires eight facts; wonder-crm's generated notice declared twenty and matched NONE of them, scoring zero dangling citations throughout \\u2014 internally consistent, and addressing none of what a privacy notice is obliged to address. The catalog had held the answer since it was written and had no runtime lookup of any kind, while this playbook's own skill instructed the drafter to \\\"Read the definition and blueprint\\\": a step it was told to perform and given nothing to perform it on. Deliberately NOT COMPLIANCE_PRIMARY_FACTS: that source carries raw resource declarations and belongs to `refinement.document-facts`, which declares it. A drafter given mechanism directly could write a clause resting on something the application never DECLARED, which is precisely what the fact-binding check exists to refuse \\u2014 this playbook reads the declared `document-facts` family and nothing beneath it.\",\n \"//contextSources.authored_document_facts\": \"AUTHORED_DOCUMENT_FACTS \\u2014 the facts a PERSON established, which the derived family does not carry and no playbook produces, so it cannot be a declared input. Measured on the first live governance draft: a clause CITED an authored fact and paraphrased around a value it had never read, and the landing accepted it because the fact-binding check asks whether a fact was DECLARED, never whether the drafter could read it.\",\n \"contextSources\": [\"document_blueprint\", \"authored_document_facts\"],\n \"//draftableDocumentDefinitionRefs\": \"The PUBLIC pair, and this lane's subject. Declared here rather than in the companion since 2026-09-22 (#1453): a drafting lane is defined by the documents it may produce, and while that list was a runtime constant there could be exactly one lane. The four internal `governance.*` documents are `refinement.governance-document-candidate`'s, and they are a separate lane rather than four more entries here because the brief carries every declared blueprint in full \\u2014 measured: 21KB for this pair, 24KB for the governance four, 45KB together, and a prompt section that gets skimmed is indistinguishable from an absent one.\",\n \"draftableDocumentDefinitionRefs\": [\n \"document-definition:public.privacy-notice\",\n \"document-definition:public.service-terms\"\n ],\n \"//briefAdequacyGate\": \"The #254 pilot (decision 2026-09-02, built 2026-09-04): this lane is where both recorded promise-gap defects lived, and its context needs vary per document. The gate judges the composed brief once; INSUFFICIENT adds proposed sources for this run only. The exclusion carries the //contextSources boundary above into the mechanism: the gate may never hand this drafter raw resource mechanism.\",\n \"briefAdequacyGate\": true,\n \"briefAdequacyExcludedSources\": [\"compliance_primary_facts\"],\n \"skillRefs\": [\n \"compliance-document-authoring\"\n ],\n \"//skillBodyRefs\": \"This method says \\u0022follow the `compliance-document-authoring` skill\\u0022, and a structured generation has NO TOOLS \\u2014 so only its purpose line ever arrived and the model followed a document it had never been shown (#1435). Declaring the body puts the contract in the brief.\",\n \"skillBodyRefs\": [\"compliance-document-authoring\"]\n },\n \"executor\": \"companion_agent\",\n \"approval\": \"approve_result\",\n \"budget\": {\n \"maxRuns\": 3\n },\n \"onFailure\": \"keep_and_flag\"\n} as const;\n\n/**\n * The advisory CLAIM judge over a drafted compliance document (#1452).\n *\n * ## What it closes\n *\n * Every catalog claim guard carries prohibited claims — certification without authority, a legal conclusion, NIST as\n * legal equivalence, operating effectiveness without evidence, self-attestation as independent assurance, an unscoped\n * compliance claim. Their FACT half is enforced at landing (a guard's required facts are its blueprint's required-clause\n * facts, and the coverage validator refuses a candidate that leaves one uncited). Their PROSE half is not something a\n * validator can decide — it is what a sentence asserts — and until this treatment existed nothing read it: the drafting\n * brief keeps guards out of the drafter's prompt on purpose, and the playbook had no judge.\n *\n * ## What it reads, and what it does not decide\n *\n * The landed candidates, and the catalog guards of the drafted documents, rendered by the companion into the judge's\n * derived context. Each clause names its catalog guard in `claimGuardRefs` (derived at normalization since 914b2c11), so\n * the judge joins a clause to the prohibitions it answers to by ref. It does NOT re-check fact citation (the landing\n * validator decides that exactly) and it does NOT approve anything: a candidate is an unapproved draft whatever the\n * verdict, and approval is the commit.\n *\n * ADVISORY by construction (`runPlaybookJudge`): it speaks after the files land and nothing refuses on its verdict —\n * `application-creation-directive.md`, a workflow never blocks the mechanism.\n *\n * ## Operating claims in PUBLIC documents\n *\n * Paul decided 2026-09-21 (#297): public documents keep the operating-effectiveness prohibition until Gate 3 arms the\n * publication gate. So in a document under `document-claim-policy:public-safe-baseline`, ANY assertion that a control\n * operates — not that it is configured — is a GAP, whatever supports it.\n */\nexport const evaluationTreatmentSource = {\n schemaVersion: 1,\n definitionRef: 'application-creation:evaluation-treatment/compliance-document-claims',\n definitionVersion: 1,\n evaluationProtocol: {\n schemaVersion: 1,\n protocolRef: 'application-creation:evaluation-protocol/compliance-document-claims',\n protocolVersion: 1,\n promptAssemblyStrategy: MetaWorkflow_EvaluationPromptAssemblyStrategy.CANONICAL_PROTOCOL_EVIDENCE_V1,\n aggregationStrategy: MetaWorkflow_EvaluationAggregationStrategy.WORST_VERDICT_PRECEDENCE_V1,\n verdictPrecedence: [MetaWorkflow_EvaluationVerdict.GAP, MetaWorkflow_EvaluationVerdict.INDETERMINATE, MetaWorkflow_EvaluationVerdict.CONCERN, MetaWorkflow_EvaluationVerdict.PASS],\n aggregationPolicyRef: 'application-creation:aggregation/worst-compliance-document-claims-verdict',\n criteria: [{\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/compliance-document-claims-within-guard',\n criterionVersion: 2,\n instruction: 'The subject under judgment is each landed `compliance-document-candidate`. For EVERY clause, find the catalog claim guards it names in `claimGuardRefs` in the \"Catalog claim guards\" section of the evidence. A clause\\'s `claimGuardRefs` mixes TWO vocabularies and only one is defined anywhere: a `document-claim-guard:` ref is the CATALOG\\'s, added from the blueprint clauses the clause satisfies, and the evidence section carries its prohibited claims and reviewer instruction. A bare `claim-guard:` ref is the DRAFTER\\'S OWN statement of what its clause must not be read as claiming; no catalog defines it and none will be supplied. Read it as context about the clause\\'s intent, and NEVER answer INDETERMINATE because its definition is absent — that is not missing evidence, it is a vocabulary that has no definitions, and read the clause\\'s `bodyMarkdown` against each guard\\'s prohibited claims and reviewer instruction. Look for: a claim of certification, attestation or audit without the authority to make it; a legal conclusion or legal advice (\"you are protected\", \"this is lawful\") rather than a statement of what the operator does; a NIST publication presented as legal equivalence; OPERATING EFFECTIVENESS — a sentence asserting that a control operates, works or worked (\"we monitor\", \"we detect\", \"access is always reviewed\") rather than that something is configured or declared; self-attestation presented as independent assurance; and an unscoped compliance claim (\"GDPR compliant\", \"fully secure\"). In a document whose guard names `document-claim-policy:public-safe-baseline`, an operating-effectiveness assertion is prohibited, with ONE exception (decided 2026-11-06, #3343): a statement of what the application\\'s OWN RECORDS show, taken from a fact the runtime computes from records (`retention-enforcement`, `ai-content-guardrails`) and scoped to that fact\\'s observation (\"as of <date>\", \"in the window <from>–<to>\"), is permitted, because it reports a record rather than the operator\\'s judgement. Still prohibited in a public document: such a statement with no date or window, one that generalizes beyond it (\"runs on every call\", \"is always enforced\"), one that reads a quiet window as having run or as not having run, and any assertion resting on a judged run or an evidence citation. Do NOT re-check whether cited facts exist — landing already decided that exactly. Name every finding by its `clauseRef`, quote the words, and name the prohibited claim it falls under. Separate severities by CONSEQUENCE: a prohibited claim a reader of the published document would rely on is a GAP; wording that leans toward one without asserting it is a CONCERN.',\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/compliance-document-claims-within-guard',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/compliance-document-candidates-and-catalog-claim-guards',\n minCount: 1,\n maxCount: 1,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-catalog-claim-guards-of-drafted-documents',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-action-binding',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'No clause asserts a prohibited claim: nothing certifies, concludes the law, equates NIST with law, asserts a control operates in a public document, presents self-attestation as independence, or claims unscoped compliance.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'No prohibited claim is asserted, but wording leans toward one in a way a reader could take as the claim — a softened operating assertion, a scope left implicit. Name each clauseRef and quote it.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'At least one clause asserts a prohibited claim a reader would rely on. Name each clauseRef, quote the words, and name the prohibited claim.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The CATALOG guards of the drafted documents are absent from the evidence, or a document has no catalog guard at all, so the clauses cannot be judged against what they must not claim. Say which. A clause-level `claim-guard:` ref having no definition is NOT this: that vocabulary has none anywhere.',\n },\n }],\n },\n evaluatorBindingPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:evaluator-binding-policy/compliance-document-claims',\n policyVersion: 1,\n admissibleEvaluatorSelectors: [{ evaluatorRef: 'meta-workflow:evaluator/structured-semantic-coherence', evaluatorVersion: 1 }],\n defaultEvaluatorSelector: { evaluatorRef: 'meta-workflow:evaluator/structured-semantic-coherence', evaluatorVersion: 1 },\n outputContractSelector: { outputContractRef: 'meta-workflow:output-contract/structured-semantic-evaluation-candidate', outputContractVersion: 1 },\n fallbackPolicyRef: 'application-creation:evaluator-policy/fail-closed',\n escalationPolicyRef: 'application-creation:evaluator-policy/request-explicit-review',\n maximumAttempts: 2,\n timeoutPolicyRef: 'application-creation:evaluator-policy/bounded-semantic-evaluation',\n budgetPolicyRef: 'application-creation:evaluator-policy/current-work-cycle-budget',\n selectionPolicyRef: 'application-creation:evaluator-policy/scoped-risk-and-evidence',\n },\n decisionPointDefinition: {\n schemaVersion: 1,\n decisionPointRef: 'application-creation:decision-point/compliance-document-claims',\n decisionPointVersion: 1,\n triggerRefs: ['application-creation:trigger/compliance-document-candidate-staged-and-valid'],\n hardFloorRefs: ['application-creation:hard-floor/compliance-document-candidate-valid'],\n riskPolicyRef: 'application-creation:risk-policy/scoped-application-and-execution-context',\n significancePolicyRef: 'application-creation:significance-policy/compliance-document-change',\n },\n decisionRule: {\n schemaVersion: 1,\n ruleRef: 'application-creation:decision-rule/compliance-document-claims',\n ruleVersion: 1,\n boundaryClass: MetaWorkflow_DecisionRuleBoundaryClass.QUALITY_INTERPRETATION,\n evidenceAggregationRef: 'application-creation:aggregation/worst-compliance-document-claims-verdict',\n resultMappings: [\n { verdict: MetaWorkflow_EvaluationVerdict.PASS, consequence: MetaWorkflow_DecisionConsequence.REQUEST_AUTHORITY },\n { verdict: MetaWorkflow_EvaluationVerdict.CONCERN, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.GAP, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.INDETERMINATE, consequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE },\n ],\n hardFloorBindings: [{\n hardFloorRef: 'application-creation:hard-floor/compliance-document-candidate-valid',\n evidenceRequirementRefs: ['application-creation:evidence-requirement/compliance-document-claims-within-guard'],\n }],\n hardFloorFailureConsequence: MetaWorkflow_DecisionConsequence.BLOCK,\n hardFloorShortcutAllowed: false,\n unresolvedConsequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE,\n evaluatorFailureConsequence: MetaWorkflow_DecisionConsequence.BLOCK,\n },\n authorityRequirement: {\n schemaVersion: 1,\n requirementRef: 'application-creation:authority-requirement/compliance-document-claims',\n requirementVersion: 1,\n consequenceClassRef: 'application-creation:authority-consequence/accept-compliance-document-candidate',\n riskClassRef: 'application-creation:risk/compliance-claim-accepted-family-mutation',\n decisionModePolicyRef: 'application-creation:authority-policy/explicit-operator-confirmation',\n assurancePolicyRef: 'application-creation:authority-policy/local-single-operator',\n channelPolicyRef: 'application-creation:authority-policy/interface-relay',\n principalPolicyRef: null,\n requiredDecisionMode: MetaWorkflow_AuthorityDecisionMode.EXPLICIT_OPERATOR_CONFIRMATION,\n minimumAssurance: MetaWorkflow_AuthorityAssuranceClass.LOCAL_OS_SESSION,\n admittedChannels: [MetaWorkflow_AuthorityInteractionChannel.INTERFACE_RELAY],\n requiredEvidenceRequirementRefs: ['application-creation:evidence-requirement/compliance-document-claims-within-guard'],\n expiryPolicyRef: 'application-creation:authority-expiry/current-interface-session',\n noncePolicyRef: 'application-creation:authority-nonce/random-per-request',\n hardFloorPosture: MetaWorkflow_HardFloorPosture.NON_WAIVABLE,\n hardFloorOverrideAllowed: false,\n },\n continuationPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:continuation-policy/compliance-document-claims',\n policyVersion: 1,\n mappings: [\n { decisionConsequence: MetaWorkflow_DecisionConsequence.CONTINUE, action: MetaWorkflow_ContinuationAction.CONTINUE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REVISE, action: MetaWorkflow_ContinuationAction.REVISE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE, action: MetaWorkflow_ContinuationAction.REQUEST_EVIDENCE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REQUEST_AUTHORITY, action: MetaWorkflow_ContinuationAction.REQUEST_AUTHORITY },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.BLOCK, action: MetaWorkflow_ContinuationAction.BLOCK },\n ],\n maximumRevisionAttempts: 3,\n maximumEvidenceRequests: 2,\n maximumAuthorityReviews: 1,\n fallbackAction: MetaWorkflow_ContinuationAction.BLOCK,\n },\n} satisfies MetaWorkflowEvaluationTreatmentSource;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/refinement.document-facts/playbook.definition.ts"],"names":[],"mappings":"AACA,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,gCAAgC,EAChC,sCAAsC,EACtC,0CAA0C,EAC1C,6CAA6C,EAC7C,8BAA8B,EAC9B,oCAAoC,EACpC,6BAA6B,EAC7B,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,0BAA0B,EAC1B,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/refinement.document-facts/playbook.definition.ts"],"names":[],"mappings":"AACA,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,gCAAgC,EAChC,sCAAsC,EACtC,0CAA0C,EAC1C,6CAA6C,EAC7C,8BAA8B,EAC9B,oCAAoC,EACpC,6BAA6B,EAC7B,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,0BAA0B,EAC1B,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0G+G,CAAC;AAE/I;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuHW,CAAC"}
|
|
@@ -22,7 +22,7 @@ import { MetaWorkflow_ContextSource, MetaWorkflow_Phase, } from '@wildo-ai/saas-
|
|
|
22
22
|
*/
|
|
23
23
|
export const playbookDefinition = {
|
|
24
24
|
ref: 'refinement.document-facts',
|
|
25
|
-
version: '0.1.
|
|
25
|
+
version: '0.1.2',
|
|
26
26
|
phase: MetaWorkflow_Phase.REFINEMENT,
|
|
27
27
|
intent: "Derive the application's governed-document FACTS from truth it has already accepted — its vision (including the compliance regimes the posture pass recorded), its domain and its requirements — and land them as the `document-facts` family. A fact is a plain statement about how this application actually behaves: what data it holds, how long it keeps it, who it discloses to, what rights it honours. This produces the raw material a privacy notice or service terms is drafted FROM; it never drafts the document, never decides a legal question, and never states a fact the application's own code and accepted specifications do not support. Mechanism facts — retention treatment, data-subject kind, subject export — are read from the resource configurations, which declare what the application will actually do to a row; specifications supply purpose, not mechanism.",
|
|
28
28
|
preconditions: [
|
|
@@ -43,11 +43,13 @@ export const playbookDefinition = {
|
|
|
43
43
|
* nothing about when this pass is SAFE to run depended on the phase.
|
|
44
44
|
*/
|
|
45
45
|
/*
|
|
46
|
-
* The vision is required rather than merely declared:
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
46
|
+
* The vision is required rather than merely declared: it carries the product facts and the
|
|
47
|
+
* creator's own compliance constraints. The researched regimes are in the `compliance-posture`
|
|
48
|
+
* family (#3362), declared as an input rather than gated on, so an application whose regime
|
|
49
|
+
* research never reached an adequate verdict still gets its facts. Together they tell this pass
|
|
50
|
+
* WHICH facts a later document will need. A derivation with no regime in view produces a plausible
|
|
51
|
+
* generic fact set — the exact failure to avoid: legal text generated from a generic SaaS category
|
|
52
|
+
* when application facts are absent.
|
|
51
53
|
*/
|
|
52
54
|
{ kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },
|
|
53
55
|
/*
|
|
@@ -57,7 +59,7 @@ export const playbookDefinition = {
|
|
|
57
59
|
*/
|
|
58
60
|
{ kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'domain-plan' } },
|
|
59
61
|
],
|
|
60
|
-
inputs: [{ family: 'vision-brief' }, { family: 'domain-plan' }, { family: 'requirements' }],
|
|
62
|
+
inputs: [{ family: 'vision-brief' }, { family: 'compliance-posture' }, { family: 'domain-plan' }, { family: 'requirements' }],
|
|
61
63
|
outputs: [{
|
|
62
64
|
family: 'document-facts',
|
|
63
65
|
schemaRef: 'saas-specifications:ApplicationDocumentFactSpecification',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../src/playbooks/refinement.document-facts/playbook.definition.ts"],"names":[],"mappings":"AACA,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,gCAAgC,EAChC,sCAAsC,EACtC,0CAA0C,EAC1C,6CAA6C,EAC7C,8BAA8B,EAC9B,oCAAoC,EACpC,6BAA6B,EAC7B,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,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,mBAAmB,EAAE,gCAAgC,CAAC,MAAM,EAAE,MAAM,EAAE,+BAA+B,CAAC,MAAM,EAAE;YAChH,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,gBAAgB,EAAE,MAAM,EAAE,+BAA+B,CAAC,gBAAgB,EAAE;YACpI,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,iBAAiB,EAAE,MAAM,EAAE,+BAA+B,CAAC,iBAAiB,EAAE;YACtI,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,KAAK,EAAE,MAAM,EAAE,+BAA+B,CAAC,KAAK,EAAE;SAC/G;QACD,uBAAuB,EAAE,CAAC;QAC1B,uBAAuB,EAAE,CAAC;QAC1B,uBAAuB,EAAE,CAAC;QAC1B,cAAc,EAAE,+BAA+B,CAAC,KAAK;KACtD;CAC8C,CAAC","sourcesContent":["import type { MetaWorkflowEvaluationTreatmentSource } from '@wildo-ai/saas-backend-lib/meta-workflow-runtime';\nimport {\n MetaWorkflow_AuthorityAssuranceClass,\n MetaWorkflow_AuthorityDecisionMode,\n MetaWorkflow_AuthorityInteractionChannel,\n MetaWorkflow_ContinuationAction,\n MetaWorkflow_DecisionConsequence,\n MetaWorkflow_DecisionRuleBoundaryClass,\n MetaWorkflow_EvaluationAggregationStrategy,\n MetaWorkflow_EvaluationPromptAssemblyStrategy,\n MetaWorkflow_EvaluationVerdict,\n MetaWorkflow_EvidenceRequirementKind,\n MetaWorkflow_HardFloorPosture,\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_Executor,\n MetaWorkflow_FailurePolicy,\n MetaWorkflow_PredicateKind,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n MetaWorkflow_ContextSource,\n MetaWorkflow_Phase,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\n/**\n * Canonical native declaration for this reusable application-creation method.\n *\n * ## Why this playbook exists\n *\n * `refinement.compliance-document-candidate` drafts a governed document, and a governed document may\n * not assert anything about the application that nobody established. Until 2026-08-28 the fact set it\n * rested on was a HOST-COMPUTED projection sealed with a projector identity, source-head digests and\n * per-contribution authority receipts — none of it branchable on git, all of it deleted\n * (`.claude/rules/one-source-of-truth.md`, Rule 0).\n *\n * The candidate playbook was left gating on that projection, which is why it — and with it the whole\n * `refinement` phase — was permanently ineligible from the day it was authored until 2026-08-29: `artifact_valid` reads\n * LANDED families, and a host-computed projection never lands.\n *\n * This is the replacement, and it is deliberately ordinary: the facts become a FILE the application\n * commits, like every other family. What used to be enforced by a seal is now enforced by a pure\n * cross-reference check at the drafting boundary — a clause citing a fact this file does not declare\n * is refused before it can be written.\n */\nexport const playbookDefinition = {\n ref: 'refinement.document-facts',\n version: '0.1.0',\n phase: MetaWorkflow_Phase.REFINEMENT,\n intent:\n \"Derive the application's governed-document FACTS from truth it has already accepted — its vision (including the compliance regimes the posture pass recorded), its domain and its requirements — and land them as the `document-facts` family. A fact is a plain statement about how this application actually behaves: what data it holds, how long it keeps it, who it discloses to, what rights it honours. This produces the raw material a privacy notice or service terms is drafted FROM; it never drafts the document, never decides a legal question, and never states a fact the application's own code and accepted specifications do not support. Mechanism facts — retention treatment, data-subject kind, subject export — are read from the resource configurations, which declare what the application will actually do to a row; specifications supply purpose, not mechanism.\",\n preconditions: [\n /*\n * This playbook was where the phase gate was first found, and the last place it was patched.\n *\n * It gated on `PHASE_IS: REFINEMENT` from the day it was authored, and `deriveJourneyPhase`\n * returned only TOP_DOWN or BOTTOM_UP — so the precondition could never be satisfied and the\n * unattended loop could never select it, while nothing reported it, because an ineligible playbook\n * never reaches the eligibility board (#116). The gate was removed here, and the reasoning offered\n * for removing it applied to all nineteen: gate on the ARTIFACTS a pass actually needs, not on a\n * phase — an evolving application is not in a phase, it is in a STATE, and the state is the tree.\n *\n * The whole mechanism went on 2026-09-04. `PHASE_IS` no longer exists, so its absence here is no\n * longer a decision this playbook makes.\n *\n * The two `ARTIFACT_VALID` gates below are, and always were, the real readiness requirement:\n * nothing about when this pass is SAFE to run depended on the phase.\n */\n /*\n * The vision is required rather than merely declared: `top_down.compliance-posture` records each\n * applicable regime as a `compliance`-kind constraint there, and those constraints are what tell\n * this pass WHICH facts a later document will need. A derivation with no regime in view produces a\n * plausible generic fact set — the exact failure `compliance-document-system.md` forbids (\"do not\n * generate legal text from a generic SaaS category when application facts are absent\").\n */\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },\n /*\n * The domain plan is where the application's resources and their data actually live. Retention,\n * data categories and disclosure facts are read from it; without it this pass would be inventing\n * what the product stores.\n */\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'domain-plan' } },\n ],\n inputs: [{ family: 'vision-brief' }, { family: 'domain-plan' }, { family: 'requirements' }],\n outputs: [{\n family: 'document-facts',\n schemaRef: 'saas-specifications:ApplicationDocumentFactSpecification',\n description:\n \"The application's declared governed-document facts, one declaration per fact, each either KNOWN with its value or NOT_APPLICABLE with a reason. Authority is APPLICATION_SPECIFICATION throughout: these are facts the application's own accepted specifications establish. A fact needing a named human decision is deliberately ABSENT rather than dressed in an authority nobody holds.\",\n }],\n method: {\n /*\n * The resource declarations reach the brief through this, and nothing else does.\n *\n * This playbook's intent and its method have said since the day they were authored that mechanism\n * facts \"are read from the resource configurations\". They were not: the `compliance-primary-facts`\n * behavior existed and answered correctly, and no playbook declared it, so the derivation the\n * method describes could not happen. Its first live run (wonder-crm, 2026-08-29) landed two facts,\n * both paraphrased from vision prose, neither citing a declaration — a schema-valid artifact that\n * was wrong about where it came from, which is the one failure mode a governed document cannot\n * survive.\n *\n * NOT `WORKSPACE_TRUTH`: that section carries module ids and schema FIELD NAMES for a build\n * planner. A field's name says nothing about whether erasing its subject scrubs it.\n *\n * The run immediately after wiring it landed a fact reading \"contact records are retained and\n * impersonalized on erasure; workspace, workspace-member, company, pipeline-stage, deal, next-step\n * and interaction are declared RETAIN_ONLY\" — per resource, from the declarations. The run before\n * it, on the same application and the same method prose, had produced two paraphrases of the\n * vision. Nothing about the guidance changed; the evidence arrived.\n */\n /*\n * DOCUMENT_FACT_OBLIGATIONS supplies the second half, and it is the one this playbook had never\n * been given: the NAMES.\n *\n * COMPLIANCE_PRIMARY_FACTS made the answers true — the run after wiring it landed a per-resource\n * erasure fact instead of two paraphrases of the vision. It did nothing about what those answers\n * are CALLED, and a fact's ref is stamped from the slug this playbook chooses. Measured 2026-08-30:\n * twenty facts declared, ZERO of the eight a privacy notice requires, because the names were\n * semantically adjacent and lexically disjoint. True answers, uncitable.\n *\n * The method below already asks for stable descriptive slugs and names three of the eight as\n * examples, and has since 2026-08-28. That is prose, and the churn was measured with it in place.\n * This supplies the closed set itself, which the engine catalog has held all along.\n */\n /*\n * APPLICATION_ROLE_GRAPH (#2506): the roles the backend declares. app-creation-test-004 stated \"no role definitions\"\n * while its operations named roles, because nothing gave this pass the role graph.\n *\n * Both code-reading sources DATE these facts (`CONTEXT_SOURCE_CODE_SURFACES`): once the configuration or a\n * resource declaration is committed after the facts landed, the facts are stale and the loop derives them again.\n * Before that, facts derived ahead of the build stayed true to an application that no longer existed.\n */\n contextSources: [\n MetaWorkflow_ContextSource.COMPLIANCE_PRIMARY_FACTS,\n MetaWorkflow_ContextSource.DOCUMENT_FACT_OBLIGATIONS,\n MetaWorkflow_ContextSource.APPLICATION_ROLE_GRAPH,\n ],\n skillRefs: [],\n },\n executor: MetaWorkflow_Executor.COMPANION_AGENT,\n approval: MetaWorkflow_ApprovalPolicy.APPROVE_RESULT,\n budget: { maxRuns: 3 },\n onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG,\n /*\n * `guidance` is deliberately absent: the method prose is the single source of truth in `method.md`,\n * and the generator renders it (partials + references expanded) and injects it as `method.guidance`.\n * Declaring it here would be a second copy that drifts — the folder contract rejects an inline one.\n */\n} satisfies Omit<MetaWorkflowPlaybookAuthoring, 'method'> & { method: Omit<NonNullable<MetaWorkflowPlaybookAuthoring['method']>, 'guidance'> };\n\n/**\n * The advisory GROUNDING judge over the facts this playbook lands (#964 step 2, decision 2026-09-13).\n *\n * ## What it asks, and why it is a judge rather than a check\n *\n * A fact's value is prose, so \"does this sentence claim more than the application declares?\" is\n * judgement, not string matching. Step 1 took the facts whose whole answer IS a typed declaration out of\n * this playbook's hands (`ComputedDocumentFact`); what remains — processing purposes, data categories,\n * service scope, governance boundaries — is written by the producer, and until this treatment nothing\n * read those values against what the application accepted.\n *\n * The judge is handed the landed `document-facts` file, the input families the run derived from, the\n * application's compliance-relevant declarations (the same section the producer's brief carried) and\n * the facts the runtime computed. It is ADVISORY by construction (`runPlaybookJudge`): it speaks after\n * the file lands, and nothing refuses on its verdict. Promoting a GAP into a revision loop is a later,\n * deliberate decision.\n *\n * ## Severity is separated by CONSEQUENCE\n *\n * The first measured judge collapsed every finding to GAP (`.claude/context/app-creation-judge-growth.md`).\n * Here an embellishment a reader would not act on differently is a CONCERN; a claim a document would\n * publish as true and nothing establishes — a recipient, a transfer, a retention period, an AI use, a\n * settled answer where the declarations record a gap — is a GAP.\n */\nexport const evaluationTreatmentSource = {\n schemaVersion: 1,\n definitionRef: 'application-creation:evaluation-treatment/document-facts',\n definitionVersion: 1,\n evaluationProtocol: {\n schemaVersion: 1,\n protocolRef: 'application-creation:evaluation-protocol/document-facts',\n protocolVersion: 1,\n promptAssemblyStrategy: MetaWorkflow_EvaluationPromptAssemblyStrategy.CANONICAL_PROTOCOL_EVIDENCE_V1,\n aggregationStrategy: MetaWorkflow_EvaluationAggregationStrategy.WORST_VERDICT_PRECEDENCE_V1,\n verdictPrecedence: [MetaWorkflow_EvaluationVerdict.GAP, MetaWorkflow_EvaluationVerdict.INDETERMINATE, MetaWorkflow_EvaluationVerdict.CONCERN, MetaWorkflow_EvaluationVerdict.PASS],\n aggregationPolicyRef: 'application-creation:aggregation/worst-document-facts-verdict',\n criteria: [{\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/document-facts-grounded-in-declarations',\n criterionVersion: 1,\n instruction: 'The subject under judgment is the landed `document-facts` file. For EACH declaration in it, read the value (or the not-applicable reason) against the accepted application truth the run derived from and the computed context: the application\\'s compliance-relevant declarations and the facts the runtime computed. Decide whether the statement claims more than those establish. A fact may paraphrase, summarise and name a gap; it may not assert a recipient, processor, transfer, retention period, lawful basis, AI use, data category or capability that nothing in the evidence supplies, and it may not state as settled what the declarations record as undeclared. The computed facts are not under judgment and are absent from the file on purpose — never ask for them to be declared, but DO report a landed fact that contradicts one. Name every unsupported claim by its fact ref and quote the words. Separate severities by CONSEQUENCE: wording a reader would not act on differently is a CONCERN; a claim a governed document would publish as true that nothing establishes, or that the evidence contradicts, is a GAP.',\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/document-facts-grounded-in-declarations',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/document-facts-and-application-declarations',\n minCount: 2,\n maxCount: 2,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-document-facts-and-declarations',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-action-binding',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Every declaration states only what the accepted inputs, the declarations or the computed facts establish, and every gap the evidence records is stated as a gap.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'Grounded overall, with repairable wording drift a reader would not act on differently: an embellished emphasis, a vaguer summary than the evidence allows, or a claim that is supported but not traceable from its wording. Name each one.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'At least one declaration asserts something a governed document would publish as true that nothing in the evidence establishes, contradicts a declaration or a computed fact, or presents an undeclared matter as settled. Name each fact ref and quote the unsupported words.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The declarations or accepted inputs needed to decide are absent from the evidence, so groundedness cannot be judged. Say which evidence is missing.',\n },\n }],\n },\n evaluatorBindingPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:evaluator-binding-policy/document-facts',\n policyVersion: 1,\n admissibleEvaluatorSelectors: [{ evaluatorRef: 'meta-workflow:evaluator/structured-semantic-coherence', evaluatorVersion: 1 }],\n defaultEvaluatorSelector: { evaluatorRef: 'meta-workflow:evaluator/structured-semantic-coherence', evaluatorVersion: 1 },\n outputContractSelector: { outputContractRef: 'meta-workflow:output-contract/structured-semantic-evaluation-candidate', outputContractVersion: 1 },\n fallbackPolicyRef: 'application-creation:evaluator-policy/fail-closed',\n escalationPolicyRef: 'application-creation:evaluator-policy/request-explicit-review',\n maximumAttempts: 2,\n timeoutPolicyRef: 'application-creation:evaluator-policy/bounded-semantic-evaluation',\n budgetPolicyRef: 'application-creation:evaluator-policy/current-work-cycle-budget',\n selectionPolicyRef: 'application-creation:evaluator-policy/scoped-risk-and-evidence',\n },\n decisionPointDefinition: {\n schemaVersion: 1,\n decisionPointRef: 'application-creation:decision-point/document-facts-result',\n decisionPointVersion: 1,\n triggerRefs: ['application-creation:trigger/document-facts-staged-and-valid'],\n hardFloorRefs: ['application-creation:hard-floor/document-facts-valid'],\n riskPolicyRef: 'application-creation:risk-policy/scoped-application-and-execution-context',\n significancePolicyRef: 'application-creation:significance-policy/governed-document-fact-change',\n },\n decisionRule: {\n schemaVersion: 1,\n ruleRef: 'application-creation:decision-rule/document-facts-result',\n ruleVersion: 1,\n boundaryClass: MetaWorkflow_DecisionRuleBoundaryClass.QUALITY_INTERPRETATION,\n evidenceAggregationRef: 'application-creation:aggregation/worst-document-facts-verdict',\n resultMappings: [\n { verdict: MetaWorkflow_EvaluationVerdict.PASS, consequence: MetaWorkflow_DecisionConsequence.REQUEST_AUTHORITY },\n { verdict: MetaWorkflow_EvaluationVerdict.CONCERN, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.GAP, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.INDETERMINATE, consequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE },\n ],\n hardFloorBindings: [{\n hardFloorRef: 'application-creation:hard-floor/document-facts-valid',\n evidenceRequirementRefs: ['application-creation:evidence-requirement/document-facts-grounded-in-declarations'],\n }],\n hardFloorFailureConsequence: MetaWorkflow_DecisionConsequence.BLOCK,\n hardFloorShortcutAllowed: false,\n unresolvedConsequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE,\n evaluatorFailureConsequence: MetaWorkflow_DecisionConsequence.BLOCK,\n },\n authorityRequirement: {\n schemaVersion: 1,\n requirementRef: 'application-creation:authority-requirement/document-facts-result',\n requirementVersion: 1,\n consequenceClassRef: 'application-creation:authority-consequence/accept-document-facts',\n riskClassRef: 'application-creation:risk/governed-document-fact-accepted-family-mutation',\n decisionModePolicyRef: 'application-creation:authority-policy/explicit-operator-confirmation',\n assurancePolicyRef: 'application-creation:authority-policy/local-single-operator',\n channelPolicyRef: 'application-creation:authority-policy/interface-relay',\n principalPolicyRef: null,\n requiredDecisionMode: MetaWorkflow_AuthorityDecisionMode.EXPLICIT_OPERATOR_CONFIRMATION,\n minimumAssurance: MetaWorkflow_AuthorityAssuranceClass.LOCAL_OS_SESSION,\n admittedChannels: [MetaWorkflow_AuthorityInteractionChannel.INTERFACE_RELAY],\n requiredEvidenceRequirementRefs: ['application-creation:evidence-requirement/document-facts-grounded-in-declarations'],\n expiryPolicyRef: 'application-creation:authority-expiry/current-interface-session',\n noncePolicyRef: 'application-creation:authority-nonce/random-per-request',\n hardFloorPosture: MetaWorkflow_HardFloorPosture.NON_WAIVABLE,\n hardFloorOverrideAllowed: false,\n },\n continuationPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:continuation-policy/document-facts',\n policyVersion: 1,\n mappings: [\n { decisionConsequence: MetaWorkflow_DecisionConsequence.CONTINUE, action: MetaWorkflow_ContinuationAction.CONTINUE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REVISE, action: MetaWorkflow_ContinuationAction.REVISE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE, action: MetaWorkflow_ContinuationAction.REQUEST_EVIDENCE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REQUEST_AUTHORITY, action: MetaWorkflow_ContinuationAction.REQUEST_AUTHORITY },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.BLOCK, action: MetaWorkflow_ContinuationAction.BLOCK },\n ],\n maximumRevisionAttempts: 3,\n maximumEvidenceRequests: 2,\n maximumAuthorityReviews: 1,\n fallbackAction: MetaWorkflow_ContinuationAction.BLOCK,\n },\n} satisfies MetaWorkflowEvaluationTreatmentSource;\n"]}
|
|
1
|
+
{"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../src/playbooks/refinement.document-facts/playbook.definition.ts"],"names":[],"mappings":"AACA,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,gCAAgC,EAChC,sCAAsC,EACtC,0CAA0C,EAC1C,6CAA6C,EAC7C,8BAA8B,EAC9B,oCAAoC,EACpC,6BAA6B,EAC7B,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,0BAA0B,EAC1B,kBAAkB,GAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,GAAG,EAAE,2BAA2B;IAChC,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE,kBAAkB,CAAC,UAAU;IACpC,MAAM,EACJ,i2BAAi2B;IACn2B,aAAa,EAAE;QACb;;;;;;;;;;;;;;;WAeG;QACH;;;;;;;;WAQG;QACH,EAAE,IAAI,EAAE,0BAA0B,CAAC,cAAc,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE;QACzF;;;;WAIG;QACH,EAAE,IAAI,EAAE,0BAA0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BAA+B,CAAC,KAAK;KACtD;CAC8C,CAAC","sourcesContent":["import type { MetaWorkflowEvaluationTreatmentSource } from '@wildo-ai/saas-backend-lib/meta-workflow-runtime';\nimport {\n MetaWorkflow_AuthorityAssuranceClass,\n MetaWorkflow_AuthorityDecisionMode,\n MetaWorkflow_AuthorityInteractionChannel,\n MetaWorkflow_ContinuationAction,\n MetaWorkflow_DecisionConsequence,\n MetaWorkflow_DecisionRuleBoundaryClass,\n MetaWorkflow_EvaluationAggregationStrategy,\n MetaWorkflow_EvaluationPromptAssemblyStrategy,\n MetaWorkflow_EvaluationVerdict,\n MetaWorkflow_EvidenceRequirementKind,\n MetaWorkflow_HardFloorPosture,\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_Executor,\n MetaWorkflow_FailurePolicy,\n MetaWorkflow_PredicateKind,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n MetaWorkflow_ContextSource,\n MetaWorkflow_Phase,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\n/**\n * Canonical native declaration for this reusable application-creation method.\n *\n * ## Why this playbook exists\n *\n * `refinement.compliance-document-candidate` drafts a governed document, and a governed document may\n * not assert anything about the application that nobody established. Until 2026-08-28 the fact set it\n * rested on was a HOST-COMPUTED projection sealed with a projector identity, source-head digests and\n * per-contribution authority receipts — none of it branchable on git, all of it deleted\n * (`.claude/rules/one-source-of-truth.md`, Rule 0).\n *\n * The candidate playbook was left gating on that projection, which is why it — and with it the whole\n * `refinement` phase — was permanently ineligible from the day it was authored until 2026-08-29: `artifact_valid` reads\n * LANDED families, and a host-computed projection never lands.\n *\n * This is the replacement, and it is deliberately ordinary: the facts become a FILE the application\n * commits, like every other family. What used to be enforced by a seal is now enforced by a pure\n * cross-reference check at the drafting boundary — a clause citing a fact this file does not declare\n * is refused before it can be written.\n */\nexport const playbookDefinition = {\n ref: 'refinement.document-facts',\n version: '0.1.2',\n phase: MetaWorkflow_Phase.REFINEMENT,\n intent:\n \"Derive the application's governed-document FACTS from truth it has already accepted — its vision (including the compliance regimes the posture pass recorded), its domain and its requirements — and land them as the `document-facts` family. A fact is a plain statement about how this application actually behaves: what data it holds, how long it keeps it, who it discloses to, what rights it honours. This produces the raw material a privacy notice or service terms is drafted FROM; it never drafts the document, never decides a legal question, and never states a fact the application's own code and accepted specifications do not support. Mechanism facts — retention treatment, data-subject kind, subject export — are read from the resource configurations, which declare what the application will actually do to a row; specifications supply purpose, not mechanism.\",\n preconditions: [\n /*\n * This playbook was where the phase gate was first found, and the last place it was patched.\n *\n * It gated on `PHASE_IS: REFINEMENT` from the day it was authored, and `deriveJourneyPhase`\n * returned only TOP_DOWN or BOTTOM_UP — so the precondition could never be satisfied and the\n * unattended loop could never select it, while nothing reported it, because an ineligible playbook\n * never reaches the eligibility board (#116). The gate was removed here, and the reasoning offered\n * for removing it applied to all nineteen: gate on the ARTIFACTS a pass actually needs, not on a\n * phase — an evolving application is not in a phase, it is in a STATE, and the state is the tree.\n *\n * The whole mechanism went on 2026-09-04. `PHASE_IS` no longer exists, so its absence here is no\n * longer a decision this playbook makes.\n *\n * The two `ARTIFACT_VALID` gates below are, and always were, the real readiness requirement:\n * nothing about when this pass is SAFE to run depended on the phase.\n */\n /*\n * The vision is required rather than merely declared: it carries the product facts and the\n * creator's own compliance constraints. The researched regimes are in the `compliance-posture`\n * family (#3362), declared as an input rather than gated on, so an application whose regime\n * research never reached an adequate verdict still gets its facts. Together they tell this pass\n * WHICH facts a later document will need. A derivation with no regime in view produces a plausible\n * generic fact set — the exact failure to avoid: legal text generated from a generic SaaS category\n * when application facts are absent.\n */\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },\n /*\n * The domain plan is where the application's resources and their data actually live. Retention,\n * data categories and disclosure facts are read from it; without it this pass would be inventing\n * what the product stores.\n */\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'domain-plan' } },\n ],\n inputs: [{ family: 'vision-brief' }, { family: 'compliance-posture' }, { family: 'domain-plan' }, { family: 'requirements' }],\n outputs: [{\n family: 'document-facts',\n schemaRef: 'saas-specifications:ApplicationDocumentFactSpecification',\n description:\n \"The application's declared governed-document facts, one declaration per fact, each either KNOWN with its value or NOT_APPLICABLE with a reason. Authority is APPLICATION_SPECIFICATION throughout: these are facts the application's own accepted specifications establish. A fact needing a named human decision is deliberately ABSENT rather than dressed in an authority nobody holds.\",\n }],\n method: {\n /*\n * The resource declarations reach the brief through this, and nothing else does.\n *\n * This playbook's intent and its method have said since the day they were authored that mechanism\n * facts \"are read from the resource configurations\". They were not: the `compliance-primary-facts`\n * behavior existed and answered correctly, and no playbook declared it, so the derivation the\n * method describes could not happen. Its first live run (wonder-crm, 2026-08-29) landed two facts,\n * both paraphrased from vision prose, neither citing a declaration — a schema-valid artifact that\n * was wrong about where it came from, which is the one failure mode a governed document cannot\n * survive.\n *\n * NOT `WORKSPACE_TRUTH`: that section carries module ids and schema FIELD NAMES for a build\n * planner. A field's name says nothing about whether erasing its subject scrubs it.\n *\n * The run immediately after wiring it landed a fact reading \"contact records are retained and\n * impersonalized on erasure; workspace, workspace-member, company, pipeline-stage, deal, next-step\n * and interaction are declared RETAIN_ONLY\" — per resource, from the declarations. The run before\n * it, on the same application and the same method prose, had produced two paraphrases of the\n * vision. Nothing about the guidance changed; the evidence arrived.\n */\n /*\n * DOCUMENT_FACT_OBLIGATIONS supplies the second half, and it is the one this playbook had never\n * been given: the NAMES.\n *\n * COMPLIANCE_PRIMARY_FACTS made the answers true — the run after wiring it landed a per-resource\n * erasure fact instead of two paraphrases of the vision. It did nothing about what those answers\n * are CALLED, and a fact's ref is stamped from the slug this playbook chooses. Measured 2026-08-30:\n * twenty facts declared, ZERO of the eight a privacy notice requires, because the names were\n * semantically adjacent and lexically disjoint. True answers, uncitable.\n *\n * The method below already asks for stable descriptive slugs and names three of the eight as\n * examples, and has since 2026-08-28. That is prose, and the churn was measured with it in place.\n * This supplies the closed set itself, which the engine catalog has held all along.\n */\n /*\n * APPLICATION_ROLE_GRAPH (#2506): the roles the backend declares. app-creation-test-004 stated \"no role definitions\"\n * while its operations named roles, because nothing gave this pass the role graph.\n *\n * Both code-reading sources DATE these facts (`CONTEXT_SOURCE_CODE_SURFACES`): once the configuration or a\n * resource declaration is committed after the facts landed, the facts are stale and the loop derives them again.\n * Before that, facts derived ahead of the build stayed true to an application that no longer existed.\n */\n contextSources: [\n MetaWorkflow_ContextSource.COMPLIANCE_PRIMARY_FACTS,\n MetaWorkflow_ContextSource.DOCUMENT_FACT_OBLIGATIONS,\n MetaWorkflow_ContextSource.APPLICATION_ROLE_GRAPH,\n ],\n skillRefs: [],\n },\n executor: MetaWorkflow_Executor.COMPANION_AGENT,\n approval: MetaWorkflow_ApprovalPolicy.APPROVE_RESULT,\n budget: { maxRuns: 3 },\n onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG,\n /*\n * `guidance` is deliberately absent: the method prose is the single source of truth in `method.md`,\n * and the generator renders it (partials + references expanded) and injects it as `method.guidance`.\n * Declaring it here would be a second copy that drifts — the folder contract rejects an inline one.\n */\n} satisfies Omit<MetaWorkflowPlaybookAuthoring, 'method'> & { method: Omit<NonNullable<MetaWorkflowPlaybookAuthoring['method']>, 'guidance'> };\n\n/**\n * The advisory GROUNDING judge over the facts this playbook lands (#964 step 2, decision 2026-09-13).\n *\n * ## What it asks, and why it is a judge rather than a check\n *\n * A fact's value is prose, so \"does this sentence claim more than the application declares?\" is\n * judgement, not string matching. Step 1 took the facts whose whole answer IS a typed declaration out of\n * this playbook's hands (`ComputedDocumentFact`); what remains — processing purposes, data categories,\n * service scope, governance boundaries — is written by the producer, and until this treatment nothing\n * read those values against what the application accepted.\n *\n * The judge is handed the landed `document-facts` file, the input families the run derived from, the\n * application's compliance-relevant declarations (the same section the producer's brief carried) and\n * the facts the runtime computed. It is ADVISORY by construction (`runPlaybookJudge`): it speaks after\n * the file lands, and nothing refuses on its verdict. Promoting a GAP into a revision loop is a later,\n * deliberate decision.\n *\n * ## Severity is separated by CONSEQUENCE\n *\n * The first measured judge collapsed every finding to GAP (`.claude/context/app-creation-judge-growth.md`).\n * Here an embellishment a reader would not act on differently is a CONCERN; a claim a document would\n * publish as true and nothing establishes — a recipient, a transfer, a retention period, an AI use, a\n * settled answer where the declarations record a gap — is a GAP.\n */\nexport const evaluationTreatmentSource = {\n schemaVersion: 1,\n definitionRef: 'application-creation:evaluation-treatment/document-facts',\n definitionVersion: 1,\n evaluationProtocol: {\n schemaVersion: 1,\n protocolRef: 'application-creation:evaluation-protocol/document-facts',\n protocolVersion: 1,\n promptAssemblyStrategy: MetaWorkflow_EvaluationPromptAssemblyStrategy.CANONICAL_PROTOCOL_EVIDENCE_V1,\n aggregationStrategy: MetaWorkflow_EvaluationAggregationStrategy.WORST_VERDICT_PRECEDENCE_V1,\n verdictPrecedence: [MetaWorkflow_EvaluationVerdict.GAP, MetaWorkflow_EvaluationVerdict.INDETERMINATE, MetaWorkflow_EvaluationVerdict.CONCERN, MetaWorkflow_EvaluationVerdict.PASS],\n aggregationPolicyRef: 'application-creation:aggregation/worst-document-facts-verdict',\n criteria: [{\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/document-facts-grounded-in-declarations',\n criterionVersion: 1,\n instruction: 'The subject under judgment is the landed `document-facts` file. For EACH declaration in it, read the value (or the not-applicable reason) against the accepted application truth the run derived from and the computed context: the application\\'s compliance-relevant declarations and the facts the runtime computed. Decide whether the statement claims more than those establish. A fact may paraphrase, summarise and name a gap; it may not assert a recipient, processor, transfer, retention period, lawful basis, AI use, data category or capability that nothing in the evidence supplies, and it may not state as settled what the declarations record as undeclared. The computed facts are not under judgment and are absent from the file on purpose — never ask for them to be declared, but DO report a landed fact that contradicts one. Name every unsupported claim by its fact ref and quote the words. Separate severities by CONSEQUENCE: wording a reader would not act on differently is a CONCERN; a claim a governed document would publish as true that nothing establishes, or that the evidence contradicts, is a GAP.',\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/document-facts-grounded-in-declarations',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/document-facts-and-application-declarations',\n minCount: 2,\n maxCount: 2,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-document-facts-and-declarations',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-action-binding',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Every declaration states only what the accepted inputs, the declarations or the computed facts establish, and every gap the evidence records is stated as a gap.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'Grounded overall, with repairable wording drift a reader would not act on differently: an embellished emphasis, a vaguer summary than the evidence allows, or a claim that is supported but not traceable from its wording. Name each one.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'At least one declaration asserts something a governed document would publish as true that nothing in the evidence establishes, contradicts a declaration or a computed fact, or presents an undeclared matter as settled. Name each fact ref and quote the unsupported words.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The declarations or accepted inputs needed to decide are absent from the evidence, so groundedness cannot be judged. Say which evidence is missing.',\n },\n }],\n },\n evaluatorBindingPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:evaluator-binding-policy/document-facts',\n policyVersion: 1,\n admissibleEvaluatorSelectors: [{ evaluatorRef: 'meta-workflow:evaluator/structured-semantic-coherence', evaluatorVersion: 1 }],\n defaultEvaluatorSelector: { evaluatorRef: 'meta-workflow:evaluator/structured-semantic-coherence', evaluatorVersion: 1 },\n outputContractSelector: { outputContractRef: 'meta-workflow:output-contract/structured-semantic-evaluation-candidate', outputContractVersion: 1 },\n fallbackPolicyRef: 'application-creation:evaluator-policy/fail-closed',\n escalationPolicyRef: 'application-creation:evaluator-policy/request-explicit-review',\n maximumAttempts: 2,\n timeoutPolicyRef: 'application-creation:evaluator-policy/bounded-semantic-evaluation',\n budgetPolicyRef: 'application-creation:evaluator-policy/current-work-cycle-budget',\n selectionPolicyRef: 'application-creation:evaluator-policy/scoped-risk-and-evidence',\n },\n decisionPointDefinition: {\n schemaVersion: 1,\n decisionPointRef: 'application-creation:decision-point/document-facts-result',\n decisionPointVersion: 1,\n triggerRefs: ['application-creation:trigger/document-facts-staged-and-valid'],\n hardFloorRefs: ['application-creation:hard-floor/document-facts-valid'],\n riskPolicyRef: 'application-creation:risk-policy/scoped-application-and-execution-context',\n significancePolicyRef: 'application-creation:significance-policy/governed-document-fact-change',\n },\n decisionRule: {\n schemaVersion: 1,\n ruleRef: 'application-creation:decision-rule/document-facts-result',\n ruleVersion: 1,\n boundaryClass: MetaWorkflow_DecisionRuleBoundaryClass.QUALITY_INTERPRETATION,\n evidenceAggregationRef: 'application-creation:aggregation/worst-document-facts-verdict',\n resultMappings: [\n { verdict: MetaWorkflow_EvaluationVerdict.PASS, consequence: MetaWorkflow_DecisionConsequence.REQUEST_AUTHORITY },\n { verdict: MetaWorkflow_EvaluationVerdict.CONCERN, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.GAP, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.INDETERMINATE, consequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE },\n ],\n hardFloorBindings: [{\n hardFloorRef: 'application-creation:hard-floor/document-facts-valid',\n evidenceRequirementRefs: ['application-creation:evidence-requirement/document-facts-grounded-in-declarations'],\n }],\n hardFloorFailureConsequence: MetaWorkflow_DecisionConsequence.BLOCK,\n hardFloorShortcutAllowed: false,\n unresolvedConsequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE,\n evaluatorFailureConsequence: MetaWorkflow_DecisionConsequence.BLOCK,\n },\n authorityRequirement: {\n schemaVersion: 1,\n requirementRef: 'application-creation:authority-requirement/document-facts-result',\n requirementVersion: 1,\n consequenceClassRef: 'application-creation:authority-consequence/accept-document-facts',\n riskClassRef: 'application-creation:risk/governed-document-fact-accepted-family-mutation',\n decisionModePolicyRef: 'application-creation:authority-policy/explicit-operator-confirmation',\n assurancePolicyRef: 'application-creation:authority-policy/local-single-operator',\n channelPolicyRef: 'application-creation:authority-policy/interface-relay',\n principalPolicyRef: null,\n requiredDecisionMode: MetaWorkflow_AuthorityDecisionMode.EXPLICIT_OPERATOR_CONFIRMATION,\n minimumAssurance: MetaWorkflow_AuthorityAssuranceClass.LOCAL_OS_SESSION,\n admittedChannels: [MetaWorkflow_AuthorityInteractionChannel.INTERFACE_RELAY],\n requiredEvidenceRequirementRefs: ['application-creation:evidence-requirement/document-facts-grounded-in-declarations'],\n expiryPolicyRef: 'application-creation:authority-expiry/current-interface-session',\n noncePolicyRef: 'application-creation:authority-nonce/random-per-request',\n hardFloorPosture: MetaWorkflow_HardFloorPosture.NON_WAIVABLE,\n hardFloorOverrideAllowed: false,\n },\n continuationPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:continuation-policy/document-facts',\n policyVersion: 1,\n mappings: [\n { decisionConsequence: MetaWorkflow_DecisionConsequence.CONTINUE, action: MetaWorkflow_ContinuationAction.CONTINUE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REVISE, action: MetaWorkflow_ContinuationAction.REVISE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE, action: MetaWorkflow_ContinuationAction.REQUEST_EVIDENCE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REQUEST_AUTHORITY, action: MetaWorkflow_ContinuationAction.REQUEST_AUTHORITY },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.BLOCK, action: MetaWorkflow_ContinuationAction.BLOCK },\n ],\n maximumRevisionAttempts: 3,\n maximumEvidenceRequests: 2,\n maximumAuthorityReviews: 1,\n fallbackAction: MetaWorkflow_ContinuationAction.BLOCK,\n },\n} satisfies MetaWorkflowEvaluationTreatmentSource;\n"]}
|
|
@@ -28,9 +28,14 @@ export declare const playbookDefinition: {
|
|
|
28
28
|
inputs: ({
|
|
29
29
|
family: string;
|
|
30
30
|
render?: undefined;
|
|
31
|
+
notReopenedBy?: undefined;
|
|
31
32
|
} | {
|
|
32
33
|
family: string;
|
|
33
34
|
render: MetaWorkflow_InputRender.MAP;
|
|
35
|
+
notReopenedBy: {
|
|
36
|
+
playbookRef: string;
|
|
37
|
+
reason: string;
|
|
38
|
+
}[];
|
|
34
39
|
})[];
|
|
35
40
|
outputs: {
|
|
36
41
|
family: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/refinement.feature-contribution/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,wBAAwB,EACxB,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/refinement.feature-contribution/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,wBAAwB,EACxB,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4C+G,CAAC"}
|
|
@@ -16,7 +16,7 @@ import { MetaWorkflow_InputRender, MetaWorkflow_Phase, } from '@wildo-ai/saas-sp
|
|
|
16
16
|
*/
|
|
17
17
|
export const playbookDefinition = {
|
|
18
18
|
ref: 'refinement.feature-contribution',
|
|
19
|
-
version: '0.1.
|
|
19
|
+
version: '0.1.1',
|
|
20
20
|
phase: MetaWorkflow_Phase.REFINEMENT,
|
|
21
21
|
intent: 'Add ONE feature to the product model, as the feature-development line it runs for describes it: the functional requirements the feature adds, and one spec-first, ref-less feature draft per capability it needs, each tracing to those requirements. Return only what the feature adds; everything the application already holds stays as it is.',
|
|
22
22
|
preconditions: [
|
|
@@ -29,7 +29,14 @@ export const playbookDefinition = {
|
|
|
29
29
|
{ family: 'requirements' },
|
|
30
30
|
{ family: 'feature-drafts' },
|
|
31
31
|
// What the application already models, as a map: the feature is described against it, not redesigned.
|
|
32
|
-
{
|
|
32
|
+
{
|
|
33
|
+
family: 'domain-plan',
|
|
34
|
+
render: MetaWorkflow_InputRender.MAP,
|
|
35
|
+
notReopenedBy: [{
|
|
36
|
+
playbookRef: 'bottom_up.domain-plan',
|
|
37
|
+
reason: 'This adds ONE feature, once, on request: a domain plan that moves after it is not a reason to add the feature again, and the domain plan reads the feature back (#3450).',
|
|
38
|
+
}],
|
|
39
|
+
},
|
|
33
40
|
],
|
|
34
41
|
outputs: [
|
|
35
42
|
{
|