@wildo-ai/framework-knowledge 1.1.11 → 1.1.13
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 +3 -3
- 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 +180 -32
- package/dist/esm/framework-knowledge.definitions.js.map +1 -1
- package/dist/esm/framework-knowledge.loader.d.ts.map +1 -1
- package/dist/esm/framework-knowledge.loader.js.map +1 -1
- package/dist/esm/framework-knowledge.research-provenance.d.ts +6 -4
- package/dist/esm/framework-knowledge.research-provenance.d.ts.map +1 -1
- package/dist/esm/framework-knowledge.research-provenance.js.map +1 -1
- 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.map +1 -1
- 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 +7 -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 +76 -14
- 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 +0 -4
- 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 +3 -15
- 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.map +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.map +1 -1
- 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 +35 -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 +19 -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 +30 -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 +87 -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.map +1 -1
- 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 +5 -1
- 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 +3 -2
- 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.map +1 -1
- 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.d.ts.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 +3 -5
- 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.d.ts.map +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 +8 -6
- 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 +8 -1
- package/dist/esm/playbooks/refinement.feature-contribution/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/refinement.governance-document-candidate/playbook.definition.d.ts.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 +4 -1
- 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 +11 -3
- 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.d.ts.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 +5 -2
- 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 +4 -3
- 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.d.ts.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.d.ts.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 +16 -7
- 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.map +1 -1
- package/dist/esm/playbooks/top_down.expert-personas/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/top_down.feature-drafts/playbook.definition.d.ts.map +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.d.ts.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.d.ts.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.d.ts.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.d.ts.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 +4 -1
- package/dist/esm/playbooks/top_down.service-method/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/top_down.service-method/playbook.definition.js +14 -1
- package/dist/esm/playbooks/top_down.service-method/playbook.definition.js.map +1 -1
- 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 +35 -17
- package/dist/esm/playbooks/top_down.vision-elicitation/playbook.definition.js.map +1 -1
- package/dist/esm/source-anchor-grammar.d.ts.map +1 -1
- package/dist/esm/source-anchor-grammar.js.map +1 -1
- 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 +7 -7
- package/dist/knowledge/playbooks/bottom_up.assemble-verify/method.md +6 -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 +439 -27
- package/dist/knowledge/playbooks/bottom_up.build-decompose/playbook.json +15 -4
- package/dist/knowledge/playbooks/bottom_up.build-dispatch/method.md +203 -7
- package/dist/knowledge/playbooks/bottom_up.build-dispatch/playbook.json +2 -5
- package/dist/knowledge/playbooks/bottom_up.build-scale/playbook.json +1 -0
- package/dist/knowledge/playbooks/bottom_up.capability-composition/playbook.json +1 -0
- package/dist/knowledge/playbooks/bottom_up.conception/playbook.json +1 -0
- 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 +104 -2
- package/dist/knowledge/playbooks/bottom_up.domain-plan/playbook.json +8 -4
- package/dist/knowledge/playbooks/bottom_up.experience-plan/method.md +59 -4
- package/dist/knowledge/playbooks/bottom_up.experience-plan/playbook.json +18 -6
- package/dist/knowledge/playbooks/bottom_up.foundation/method.md +121 -24
- package/dist/knowledge/playbooks/bottom_up.foundation/playbook.json +55 -8
- package/dist/knowledge/playbooks/bottom_up.integration-plan/method.md +15 -8
- package/dist/knowledge/playbooks/bottom_up.integration-plan/playbook.json +2 -1
- package/dist/knowledge/playbooks/bottom_up.maturity-reading/method.md +19 -2
- package/dist/knowledge/playbooks/bottom_up.maturity-reading/playbook.json +4 -3
- package/dist/knowledge/playbooks/bottom_up.placement-plan/method.md +34 -0
- package/dist/knowledge/playbooks/bottom_up.placement-plan/playbook.json +9 -2
- package/dist/knowledge/playbooks/bottom_up.website-plan/playbook.json +1 -0
- 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 -6
- package/dist/knowledge/playbooks/cross_cutting.refinement/playbook.json +3 -4
- 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 +56 -5
- package/dist/knowledge/playbooks/refinement.compliance-document-candidate/playbook.json +3 -2
- package/dist/knowledge/playbooks/refinement.document-facts/method.md +6 -4
- package/dist/knowledge/playbooks/refinement.document-facts/playbook.json +5 -1
- package/dist/knowledge/playbooks/refinement.feature-contribution/playbook.json +8 -1
- package/dist/knowledge/playbooks/refinement.governance-document-candidate/playbook.json +1 -0
- 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/playbook.json +15 -3
- 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 +43 -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 +3 -3
- 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 +3 -1
- package/dist/knowledge/playbooks/top_down.definition/playbook.json +11 -3
- package/dist/knowledge/playbooks/top_down.expert-personas/playbook.json +1 -0
- package/dist/knowledge/playbooks/top_down.feature-drafts/playbook.json +1 -0
- 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/method.md +14 -0
- package/dist/knowledge/playbooks/top_down.requirements-definition/playbook.json +11 -7
- package/dist/knowledge/playbooks/top_down.risk-register/method.md +7 -0
- 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 +19 -1
- package/dist/knowledge/playbooks/top_down.service-method/playbook.json +16 -4
- 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 +17 -2
- package/dist/knowledge/playbooks/top_down.vision-elicitation/playbook.json +59 -15
- 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 +70 -1
- package/dist/knowledge/references/backend.inbound-channels.attachment-adoption.md +4 -2
- package/dist/knowledge/references/backend.inbound-channels.handler-definition.md +52 -11
- package/dist/knowledge/references/backend.inbound-handlers.definition.md +38 -1
- package/dist/knowledge/references/brand.name-screening.config.md +30 -3
- package/dist/knowledge/references/build-plan.task-graph.config.md +200 -4
- package/dist/knowledge/references/business-model.pricing-plan.config.md +12 -9
- package/dist/knowledge/references/business-model.snapshot.config.md +29 -2
- package/dist/knowledge/references/business-model.snapshot.validation.md +11 -8
- 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 +195 -63
- package/dist/knowledge/references/domain-plan.record-partition.md +105 -0
- package/dist/knowledge/references/engine.client-bundle.allow-list.md +3 -1
- package/dist/knowledge/references/engine.saas-technical-doc.config.md +69 -15
- package/dist/knowledge/references/example.authorization.application-roles.office-and-field.md +10 -0
- package/dist/knowledge/references/example.backend.addon-wiring.module.md +6 -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 +4 -2
- package/dist/knowledge/references/example.flows-actors.chat-assistant.md +8 -5
- package/dist/knowledge/references/example.infra.environment-config.local.md +13 -66
- 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.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.provider.backend-module-shape.md +28 -4
- package/dist/knowledge/references/example.resource.add-resource.module-factory-map.md +0 -4
- package/dist/knowledge/references/example.resource.config-wiring.retention-policy-operations.md +21 -0
- 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.operation-icon.md +37 -2
- package/dist/knowledge/references/example.resource.ui-behavior.record-template.md +0 -1
- package/dist/knowledge/references/example.resource.ui-behavior.surface-decision.md +1 -1
- package/dist/knowledge/references/example.resource.ui-behavior.workflow-record-page.md +212 -0
- 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.website.demo.complete-items.md +3 -3
- 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.stats.md +1 -1
- package/dist/knowledge/references/experience-plan.config.md +111 -1
- package/dist/knowledge/references/external-connectors.frontend-provider-consent-classification.md +2 -0
- package/dist/knowledge/references/external-connectors.models.file-storage-adapter.md +8 -1
- package/dist/knowledge/references/external-connectors.models.hook-signature-algorithms.md +104 -0
- package/dist/knowledge/references/external-connectors.models.oauth2-audiences.md +11 -6
- package/dist/knowledge/references/external-connectors.models.oauth2-incremental-consent.md +165 -0
- package/dist/knowledge/references/external-connectors.models.rest-operation-contract.md +1035 -19
- 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 +7 -7
- package/dist/knowledge/references/placement-plan.config.md +19 -0
- package/dist/knowledge/references/platform.config.backing-services.md +9 -11
- package/dist/knowledge/references/platform.config.environment.deployment.md +133 -8
- package/dist/knowledge/references/platform.config.infra-provider-resolution.md +3 -3
- package/dist/knowledge/references/platform.config.infrastructure-host.md +1 -1
- package/dist/knowledge/references/platform.config.platform-key-management.md +89 -10
- package/dist/knowledge/references/platform.config.saas.md +20 -18
- package/dist/knowledge/references/presets.3d.frame-style-resolution.md +65 -0
- package/dist/knowledge/references/presets.layouts-2d.authoring.md +1 -1
- 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.surface-policy.defaults.md +3 -3
- package/dist/knowledge/references/presets.models.surface-variant.md +5 -4
- package/dist/knowledge/references/presets.themes.compose-theme.md +2 -1
- package/dist/knowledge/references/requirements.engine-substance.md +38 -0
- package/dist/knowledge/references/requirements.functional-requirement.config.md +11 -0
- package/dist/knowledge/references/requirements.non-functional-requirement.config.md +15 -4
- package/dist/knowledge/references/requirements.snapshot.config.md +2 -3
- package/dist/knowledge/references/saas.approval-seals.admin-endpoints.md +49 -2
- package/dist/knowledge/references/saas.backend.a2a.token-budget.md +11 -4
- package/dist/knowledge/references/saas.backend.actor-execution-continuation.md +21 -0
- package/dist/knowledge/references/saas.backend.app-config.backend-authored.md +5 -1
- package/dist/knowledge/references/saas.backend.application-initialization.assembly.md +1 -1
- package/dist/knowledge/references/saas.backend.authorization.role-ceiling.md +13 -1
- package/dist/knowledge/references/saas.backend.custom-operation.authoritative-fields.md +4 -1
- 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.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 +30 -1
- package/dist/knowledge/references/saas.backend.flows-actors.a2a-task-surface.md +26 -3
- package/dist/knowledge/references/saas.backend.flows-actors.chat-reply-handler.md +13 -1
- package/dist/knowledge/references/saas.backend.flows-actors.function-tool.md +435 -2
- package/dist/knowledge/references/saas.backend.flows-actors.invoke-agent.md +5 -3
- package/dist/knowledge/references/saas.backend.flows-actors.resource-read-tool.md +1 -1
- package/dist/knowledge/references/saas.backend.flows-actors.resource-write-tool.md +9 -4
- package/dist/knowledge/references/saas.backend.flows.start-flow-method.md +2 -1
- 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.system-access-service.md +159 -4
- package/dist/knowledge/references/saas.config.content-security-policy.md +26 -9
- 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.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.frontend.chart-dashboard-view.md +43 -0
- package/dist/knowledge/references/saas.frontend.chart-dashboard.md +133 -0
- package/dist/knowledge/references/saas.frontend.chart-view.resource-chart-data.md +8 -4
- package/dist/knowledge/references/saas.frontend.collection-filter-presets.md +76 -9
- package/dist/knowledge/references/saas.frontend.command-menu.search-resource.md +3 -3
- package/dist/knowledge/references/saas.frontend.errors.backend-refusal.md +96 -0
- package/dist/knowledge/references/saas.frontend.execution-view.definition.md +40 -0
- package/dist/knowledge/references/saas.frontend.launcher.item-refs.md +4 -0
- package/dist/knowledge/references/saas.frontend.linked-conversations-embed.md +3 -5
- package/dist/knowledge/references/saas.frontend.record-page-parts.md +117 -0
- package/dist/knowledge/references/saas.frontend.related-resource-embeds.md +46 -16
- package/dist/knowledge/references/saas.frontend.related-resource-sections.md +6 -0
- package/dist/knowledge/references/saas.frontend.resource-header-title.md +1 -1
- package/dist/knowledge/references/saas.frontend.resource-layout-templates.md +43 -9
- package/dist/knowledge/references/saas.frontend.resource-operation-frontend-config.md +259 -15
- package/dist/knowledge/references/saas.frontend.resource-ui-behavior-config.md +4 -2
- package/dist/knowledge/references/saas.frontend.section-stages.md +63 -0
- package/dist/knowledge/references/saas.frontend.settings-hub.engine-destinations.md +42 -0
- package/dist/knowledge/references/saas.frontend.settings-hub.placement.md +6 -9
- package/dist/knowledge/references/saas.frontend.viewer-may-perform-operation.md +52 -0
- package/dist/knowledge/references/saas.models.agent-suspension.md +8 -8
- package/dist/knowledge/references/saas.models.audit-trails.actor-attribution.md +21 -0
- package/dist/knowledge/references/saas.models.auth.relationship-grantor-authentication.md +2 -2
- package/dist/knowledge/references/saas.models.chart-dashboard-tile-sizes.md +40 -0
- package/dist/knowledge/references/saas.models.config.declared-type-renames.md +246 -0
- package/dist/knowledge/references/saas.models.config.organization-types.md +20 -0
- package/dist/knowledge/references/saas.models.conversation-threads.md +39 -3
- package/dist/knowledge/references/saas.models.crypto-keys.floors.md +10 -0
- package/dist/knowledge/references/saas.models.crypto-keys.local-provider.md +2 -0
- package/dist/knowledge/references/saas.models.crypto-keys.purpose-descriptor.md +39 -0
- package/dist/knowledge/references/saas.models.crypto-keys.purposes.md +7 -0
- package/dist/knowledge/references/saas.models.data-mode-read-list.md +0 -78
- package/dist/knowledge/references/saas.models.engine-capabilities.md +11 -2
- package/dist/knowledge/references/saas.models.engine-capabilities.required-provider-floor.md +3 -0
- package/dist/knowledge/references/saas.models.external-data-pipeline.md +15 -8
- package/dist/knowledge/references/saas.models.flows-actors.agent-behavior-report.md +13 -9
- package/dist/knowledge/references/saas.models.flows-actors.agent-configuration.md +29 -0
- package/dist/knowledge/references/saas.models.flows-actors.agent-content-guardrails-environment.md +52 -0
- package/dist/knowledge/references/saas.models.flows-actors.agent-operation-record.md +7 -0
- package/dist/knowledge/references/saas.models.flows-actors.human-decision-decider.md +8 -0
- package/dist/knowledge/references/saas.models.flows-actors.human-input-form.md +47 -12
- package/dist/knowledge/references/saas.models.flows-actors.operation-approval-requirement.md +31 -0
- package/dist/knowledge/references/saas.models.flows-actors.review-deadlines-declaration.md +3 -3
- package/dist/knowledge/references/saas.models.flows.runnable-model.md +21 -2
- package/dist/knowledge/references/saas.models.guidance-flow.md +1 -1
- package/dist/knowledge/references/saas.models.http-api-binding.md +19 -8
- package/dist/knowledge/references/saas.models.human-decision-review-marker.md +1 -1
- package/dist/knowledge/references/saas.models.inbound-channels.md +71 -2
- package/dist/knowledge/references/saas.models.model-cost-accounting-config.md +1 -1
- package/dist/knowledge/references/saas.models.notifications.targets.md +3 -1
- package/dist/knowledge/references/saas.models.notifications.user-notification-definition.md +201 -15
- package/dist/knowledge/references/saas.models.organization-assigned-rows-declaration.md +2 -1
- package/dist/knowledge/references/saas.models.organization-dashboard-layout.md +61 -0
- package/dist/knowledge/references/saas.models.organization-own-rows-declaration.md +5 -2
- package/dist/knowledge/references/saas.models.organizations.identity-declaration.md +201 -0
- package/dist/knowledge/references/saas.models.organizations.organization-relationships.md +25 -3
- package/dist/knowledge/references/saas.models.organizations.relationship-invitations.md +6 -2
- package/dist/knowledge/references/saas.models.organizations.relationship-kinds.md +14 -0
- package/dist/knowledge/references/saas.models.organizations.relationship-record-separation.md +1 -0
- package/dist/knowledge/references/saas.models.privacy.data-residency.md +676 -0
- package/dist/knowledge/references/saas.models.privacy.legal-holds.md +46 -2
- package/dist/knowledge/references/saas.models.privacy.provider-capability-disclosure.md +6 -0
- 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 +2 -0
- package/dist/knowledge/references/saas.models.privacy.subject-export.md +134 -0
- package/dist/knowledge/references/saas.models.provider-capabilities.md +5 -0
- package/dist/knowledge/references/saas.models.providers.capability-resolution-mode.md +12 -6
- package/dist/knowledge/references/saas.models.providers.compliance-choice.md +15 -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.representative-activity.md +4 -0
- package/dist/knowledge/references/saas.models.resource-config.builder-parameters.md +107 -42
- package/dist/knowledge/references/saas.models.resource-config.operation-api-call.md +35 -0
- package/dist/knowledge/references/saas.models.resource-config.operation-auditable-event.md +4 -2
- 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-scope-admissions.md +38 -0
- package/dist/knowledge/references/saas.models.resource-config.resource-configuration.md +14 -16
- package/dist/knowledge/references/saas.models.resource-config.resources-registry.md +2 -2
- package/dist/knowledge/references/saas.models.resource-config.retention-policy.md +21 -0
- package/dist/knowledge/references/saas.models.resource-config.system-access-policy.md +32 -15
- package/dist/knowledge/references/saas.models.resource-operation-display-risk.md +5 -4
- package/dist/knowledge/references/saas.models.roles.definition.md +12 -1
- package/dist/knowledge/references/saas.models.roles.organization-defaults.md +6 -0
- package/dist/knowledge/references/saas.models.schema-family-builder.md +17 -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 +3 -1
- package/dist/knowledge/references/saas.models.system-of-record-error-codes.md +16 -0
- package/dist/knowledge/references/saas.models.systems-of-record.md +75 -14
- package/dist/knowledge/references/saas.public-runtime.contract.md +41 -23
- package/dist/knowledge/references/saas.rag.retrieval-refusals.md +3 -2
- package/dist/knowledge/references/saas.specifications.assurance-program.contract.md +12 -4
- package/dist/knowledge/references/saas.specifications.companion-exports.contract.md +21 -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 +6 -2
- package/dist/knowledge/references/saas.specifications.resource-operation-spec.md +20 -3
- package/dist/knowledge/references/saas.specifications.resource-spec-factory.md +100 -71
- package/dist/knowledge/references/saas.specifications.translation-glossary.md +80 -0
- package/dist/knowledge/references/saas.website.astro.label-loader.md +44 -10
- package/dist/knowledge/references/saas.website.astro.runtime-helper.md +3 -2
- package/dist/knowledge/references/saas.website.blog.collection-config.md +36 -32
- package/dist/knowledge/references/saas.website.blog.cover-resolver.md +1 -1
- package/dist/knowledge/references/saas.website.blog.frontmatter.md +2 -2
- package/dist/knowledge/references/saas.website.blog.post-renderer.md +2 -2
- package/dist/knowledge/references/saas.website.blog.react-mdx-integration.md +26 -19
- package/dist/knowledge/references/saas.website.blog.react-mdx-query.md +1 -1
- package/dist/knowledge/references/saas.website.config.pricing-catalog-loader.md +3 -1
- package/dist/knowledge/references/saas.website.config.site-context-loader.md +6 -3
- package/dist/knowledge/references/saas.website.label-keys.format.md +3 -2
- package/dist/knowledge/references/saas.website.label-pack.validator.md +3 -1
- package/dist/knowledge/references/service-method.config.md +35 -2
- package/dist/knowledge/references/vision.constraint.config.md +4 -2
- package/dist/knowledge/references/zod.decorators.chainable-runtime.md +60 -0
- package/dist/knowledge/references/zod.decorators.data-categories.md +46 -46
- package/dist/knowledge/references/zod.decorators.decorator-vocabulary.md +24 -0
- package/dist/knowledge/references/zod.decorators.display-edit-modes.md +11 -0
- package/dist/knowledge/references/zod.decorators.file-schema.md +4 -3
- package/dist/knowledge/references/zod.decorators.rag-source.md +20 -20
- package/dist/knowledge/references/zod.decorators.schema-metadata.md +2 -0
- package/dist/knowledge/references/zod.decorators.shared-structural-methods.md +30 -24
- package/dist/knowledge/references/zod.decorators.shared-structural-params.md +63 -0
- package/dist/knowledge/references/zod.decorators.structural-lifecycle-params.md +63 -0
- package/dist/knowledge/references/zod.factories.bigdecimal.md +4 -4
- package/dist/knowledge/references/zod.factories.code.md +4 -4
- package/dist/knowledge/references/zod.factories.duration.md +4 -4
- package/dist/knowledge/references/zod.factories.money.md +4 -4
- package/dist/knowledge/references/zod.factories.phone.md +4 -4
- package/dist/knowledge/references/zod.factories.year-month.md +79 -0
- package/dist/knowledge/registries/assurance-authority-bases.json +1 -1
- package/dist/knowledge/registries/framework-topics.json +455 -2
- package/dist/knowledge/registries/playbooks.json +51 -39
- package/dist/knowledge/registries/source-tags.json +2505 -1627
- package/dist/knowledge/rules/database-migration-obligation.md +6 -7
- package/dist/knowledge/rules/live-context-door.md +1 -1
- package/dist/knowledge/skills/INDEX.md +3 -1
- package/dist/knowledge/skills/agent-work-review/references/framework-actor-execution-continuation-api.md +24 -0
- package/dist/knowledge/skills/agent-work-review/references/framework-agent-work-review-marker-api.md +1 -1
- package/dist/knowledge/skills/agent-work-review/references/framework-human-input-form-api.md +47 -12
- 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 +10 -11
- 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 +13 -11
- package/dist/knowledge/skills/application-roles-authoring/SKILL.md +28 -3
- package/dist/knowledge/skills/application-roles-authoring/references/framework-application-roles-api.md +18 -1
- 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 +46 -2
- package/dist/knowledge/skills/authorization-unit-narrowing/references/framework-assigned-rows-declaration-api.md +5 -3
- 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 +12 -5
- package/dist/knowledge/skills/backend-addon-wiring/SKILL.md +6 -0
- package/dist/knowledge/skills/backend-addon-wiring/references/framework-backend-bootstrap-api.md +31 -2
- package/dist/knowledge/skills/backend-custom-operation/SKILL.md +51 -14
- 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-audit-log-event-api.md +2 -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 +90 -0
- package/dist/knowledge/skills/blueprint-authoring/SKILL.md +4 -2
- 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 +3 -0
- package/dist/knowledge/skills/chat-agent-conversations/references/framework-chat-conversations-api.md +13 -1
- package/dist/knowledge/skills/compliance-document-authoring/references/document-composition-privacy-notice.md +45 -4
- package/dist/knowledge/skills/compliance-document-authoring/references/framework-governed-document-after-drafting.md +17 -7
- package/dist/knowledge/skills/compliance-document-authoring/references/framework-provider-compliance-choice-api.md +859 -0
- package/dist/knowledge/skills/compliance-document-authoring/references/framework-recipient-disclosures.md +6 -0
- package/dist/knowledge/skills/compliance-document-authoring/references/framework-subject-data-recipients.md +2 -0
- package/dist/knowledge/skills/config-app-shell/SKILL.md +5 -1
- 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 +4 -0
- package/dist/knowledge/skills/config-design-system/SKILL.md +1 -1
- package/dist/knowledge/skills/config-design-system/references/framework-surface-policy-api.md +8 -7
- package/dist/knowledge/skills/config-design-system/references/framework-theme-composition-api.md +44 -1
- package/dist/knowledge/skills/config-navigation/SKILL.md +2 -0
- package/dist/knowledge/skills/config-navigation/references/navigation-configuration-map.md +5 -0
- package/dist/knowledge/skills/config-navigation/references/one-entry-per-concept.md +101 -0
- package/dist/knowledge/skills/config-saas/SKILL.md +2 -2
- package/dist/knowledge/skills/config-saas/references/compliance-declarations.md +40 -3
- package/dist/knowledge/skills/config-saas/references/framework-auditable-event-catalog.md +20 -1
- package/dist/knowledge/skills/config-saas/references/framework-capability-resolution-api.md +75 -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 -9
- package/dist/knowledge/skills/config-saas/references/framework-key-management-api.md +240 -9
- package/dist/knowledge/skills/config-saas/references/framework-provider-capabilities-api.md +16 -2
- package/dist/knowledge/skills/config-saas/references/framework-systems-of-record-api.md +116 -16
- package/dist/knowledge/skills/config-saas/references/framework-wildo-saas-config-api.md +20 -18
- package/dist/knowledge/skills/config-saas/references/saas-config-scope.md +1 -1
- package/dist/knowledge/skills/config-saas-backend/SKILL.md +11 -1
- 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-organization-types-api.md +20 -0
- package/dist/knowledge/skills/config-saas-backend/references/renaming-organization-and-user-types.md +69 -0
- package/dist/knowledge/skills/configure-billing/SKILL.md +6 -0
- package/dist/knowledge/skills/configure-billing/references/example-backend-provider-module-shape.md +28 -4
- package/dist/knowledge/skills/configure-billing/references/framework-backend-provider-reachability-api.md +2 -0
- package/dist/knowledge/skills/configure-billing/references/framework-subscription-behavior-policy.md +4 -1
- 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 +78 -0
- package/dist/knowledge/skills/email-add-template/SKILL.md +1 -1
- 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 +3 -2
- package/dist/knowledge/skills/flows-actors-a2a-exposure/SKILL.md +31 -9
- package/dist/knowledge/skills/flows-actors-a2a-exposure/references/framework-a2a-token-budget-api.md +11 -4
- package/dist/knowledge/skills/flows-actors-a2a-exposure/references/framework-flows-actors-a2a-contract.md +26 -3
- package/dist/knowledge/skills/flows-actors-autonomous-agents/SKILL.md +13 -3
- package/dist/knowledge/skills/flows-actors-autonomous-agents/references/binding-and-review.md +27 -0
- package/dist/knowledge/skills/flows-actors-chat-assistant/SKILL.md +34 -11
- package/dist/knowledge/skills/flows-actors-chat-assistant/examples/todo-assistant.example.md +8 -5
- package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-agent-behavior-reports-api.md +13 -9
- package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-agent-content-guardrails-api.md +188 -10
- package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-agent-operation-record-api.md +7 -0
- package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-agent-suspension-api.md +11 -9
- 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 +3 -3
- package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-flows-actors-realtime-catalog.md +7 -1
- package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-flows-actors-tool-api.md +447 -8
- package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-flows-actors-view-api.md +30 -1
- package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-model-spend-limits-api.md +36 -15
- package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-tool-dispatch-obligations-api.md +8 -0
- package/dist/knowledge/skills/flows-actors-declared-flow/SKILL.md +13 -3
- package/dist/knowledge/skills/flows-actors-declared-flow/references/framework-flow-model-api.md +21 -2
- package/dist/knowledge/skills/flows-actors-declared-flow/references/framework-start-flow-api.md +2 -1
- package/dist/knowledge/skills/flows-actors-llm-agent-invocation/SKILL.md +13 -3
- package/dist/knowledge/skills/flows-actors-llm-agent-invocation/references/framework-llm-agent-definition-api.md +33 -1
- package/dist/knowledge/skills/flows-actors-llm-agent-invocation/references/framework-llm-agent-invocation-api.md +5 -3
- package/dist/knowledge/skills/frontend-component-catalog/SKILL.md +1 -1
- package/dist/knowledge/skills/frontend-component-catalog/references/framework-component-catalog.md +6 -5
- package/dist/knowledge/skills/frontend-component-catalog/references/framework-component-usage.md +50 -14
- package/dist/knowledge/skills/guidance-onboarding-authoring/references/framework-guidance-flow-api.md +1 -1
- package/dist/knowledge/skills/i18n-label-generation/references/framework-labelling-sections-api.md +39 -0
- package/dist/knowledge/skills/i18n-rerun-pipeline/references/framework-labelling-sections-api.md +39 -0
- package/dist/knowledge/skills/i18n-translation-rerun/SKILL.md +31 -2
- 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 +31 -9
- package/dist/knowledge/skills/inbound-channels/references/email-channel.md +16 -4
- package/dist/knowledge/skills/inbound-channels/references/framework-inbound-channel-api.md +169 -23
- package/dist/knowledge/skills/inbound-channels/references/framework-inbound-handler-api.md +38 -1
- package/dist/knowledge/skills/inbound-channels/references/inbound-delivery-lifecycle.md +43 -4
- package/dist/knowledge/skills/inbound-channels/references/receiving-email.md +15 -3
- package/dist/knowledge/skills/inbound-channels/references/sms-channel.md +93 -0
- package/dist/knowledge/skills/infra-environment-config/SKILL.md +149 -77
- package/dist/knowledge/skills/infra-environment-config/references/framework-agent-content-guardrails-environment-api.md +67 -0
- 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 +133 -8
- package/dist/knowledge/skills/infra-environment-config/references/framework-infrastructure-host-api.md +1 -1
- package/dist/knowledge/skills/infra-environment-config/references/framework-platform-key-management-api.md +89 -10
- package/dist/knowledge/skills/layout-2d-adoption/references/framework-2d-layout-authoring-api.md +1 -1
- 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/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 +3 -3
- 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-companion-prompt-enrichment/SKILL.md +24 -2
- package/dist/knowledge/skills/market-companion-prompt-enrichment/references/framework-companion-behavior-api.md +33 -2
- package/dist/knowledge/skills/market-generation-cli/SKILL.md +47 -6
- package/dist/knowledge/skills/market-generation-cli/references/framework-market-generation-cli.md +61 -8
- package/dist/knowledge/skills/model-cost-attribution/SKILL.md +3 -1
- package/dist/knowledge/skills/model-cost-attribution/references/framework-model-cost-pricing-api.md +1 -1
- package/dist/knowledge/skills/model-cost-attribution/references/framework-work-unit-api.md +107 -42
- package/dist/knowledge/skills/module-companion-exports/SKILL.md +1 -0
- package/dist/knowledge/skills/module-companion-exports/references/companion-exports-by-package.md +21 -2
- package/dist/knowledge/skills/module-registration/references/framework-domain-modules-api.md +30 -1
- package/dist/knowledge/skills/module-relationships/SKILL.md +92 -91
- package/dist/knowledge/skills/organization-relationships/references/framework-organization-relationships-api.md +31 -5
- package/dist/knowledge/skills/organization-relationships/references/framework-relationship-grantor-authentication-api.md +2 -2
- package/dist/knowledge/skills/organization-relationships/references/framework-relationship-kinds-api.md +34 -0
- package/dist/knowledge/skills/organization-relationships/references/framework-relationship-record-separation-api.md +1 -0
- package/dist/knowledge/skills/organization-relationships/references/framework-representative-activity-api.md +4 -0
- package/dist/knowledge/skills/professional-qualifications/references/framework-operation-approval-requirement-api.md +31 -0
- package/dist/knowledge/skills/provider-backend-package/SKILL.md +272 -15
- package/dist/knowledge/skills/provider-backend-package/references/framework-optional-runtime-peers.md +4 -5
- 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 +8 -1
- package/dist/knowledge/skills/provider-backend-package/references/framework-provider-inbound-endpoint-api.md +124 -3
- package/dist/knowledge/skills/provider-backend-package/references/framework-provider-incremental-consent-api.md +165 -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 +11 -6
- package/dist/knowledge/skills/provider-frontend-file-picker/references/framework-frontend-provider-consent-api.md +2 -0
- package/dist/knowledge/skills/provider-frontend-module/SKILL.md +5 -2
- package/dist/knowledge/skills/provider-frontend-module/references/package-frontend-facets.md +1 -1
- package/dist/knowledge/skills/provider-operation-calls/SKILL.md +17 -3
- package/dist/knowledge/skills/provider-operation-calls/references/framework-rest-operation-contract-api.md +1035 -19
- package/dist/knowledge/skills/resource-add-field/SKILL.md +7 -0
- package/dist/knowledge/skills/resource-add-field/references/framework-field-cross-layer-api.md +322 -15
- package/dist/knowledge/skills/resource-add-resource/SKILL.md +9 -5
- 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 +107 -42
- package/dist/knowledge/skills/resource-chat-commands/SKILL.md +2 -1
- package/dist/knowledge/skills/resource-config-wiring/SKILL.md +71 -5
- package/dist/knowledge/skills/resource-config-wiring/references/framework-collection-operation-declarations.md +2 -2
- package/dist/knowledge/skills/resource-config-wiring/references/framework-operation-approval-api.md +48 -0
- package/dist/knowledge/skills/resource-config-wiring/references/framework-operation-audit-api.md +34 -7
- package/dist/knowledge/skills/resource-config-wiring/references/framework-operation-bulk-api.md +15 -11
- 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 +140 -58
- package/dist/knowledge/skills/resource-config-wiring/references/framework-retention-policy-operations.md +28 -2
- 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 +5 -4
- package/dist/knowledge/skills/resource-config-wiring/references/framework-saas-models-resource-config-api.md +158 -138
- package/dist/knowledge/skills/resource-config-wiring/references/framework-scope-admissions-api.md +52 -0
- package/dist/knowledge/skills/resource-config-wiring/references/framework-system-access-reads-api.md +205 -19
- package/dist/knowledge/skills/resource-config-wiring/references/framework-user-notifications-api.md +253 -25
- package/dist/knowledge/skills/resource-custom-view/SKILL.md +126 -1
- package/dist/knowledge/skills/resource-custom-view/references/custom-view-contracts.md +259 -15
- package/dist/knowledge/skills/resource-custom-view/references/framework-backend-refusal-api.md +110 -0
- package/dist/knowledge/skills/resource-external-data/SKILL.md +46 -12
- package/dist/knowledge/skills/resource-external-data/references/bidirectional-pipelines.md +1 -1
- package/dist/knowledge/skills/resource-external-data/references/framework-external-data-pipeline-api.md +15 -8
- package/dist/knowledge/skills/resource-external-data/references/framework-http-api-binding-api.md +19 -8
- package/dist/knowledge/skills/resource-external-data/references/framework-system-of-record-capabilities-api.md +3 -1
- package/dist/knowledge/skills/resource-external-data/references/local-test-doubles.md +121 -0
- package/dist/knowledge/skills/resource-external-data/references/outbound-pipelines.md +1 -1
- 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/read-through-writes.md +26 -5
- package/dist/knowledge/skills/resource-external-data/references/system-of-record-actions.md +76 -6
- package/dist/knowledge/skills/resource-mcp-tool-exposure/SKILL.md +8 -0
- package/dist/knowledge/skills/resource-rag-source-fields/SKILL.md +12 -9
- package/dist/knowledge/skills/resource-rag-source-fields/references/framework-embeddings-capability-api.md +11 -2
- 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 +18 -2
- package/dist/knowledge/skills/resource-retention-binding/references/framework-legal-holds-api.md +46 -2
- 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 +21 -0
- package/dist/knowledge/skills/resource-retention-binding/references/start-point-decisions.md +14 -2
- package/dist/knowledge/skills/resource-schema-authoring/SKILL.md +1 -1
- package/dist/knowledge/skills/resource-schema-authoring/references/computed-totals.md +4 -1
- 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 +2 -0
- package/dist/knowledge/skills/resource-schema-authoring/references/framework-decorator-vocabulary-api.md +26 -0
- package/dist/knowledge/skills/resource-schema-authoring/references/framework-personal-data-category-api.md +46 -46
- package/dist/knowledge/skills/resource-schema-authoring/references/framework-schema-family-api.md +17 -2
- package/dist/knowledge/skills/resource-schema-authoring/references/framework-shared-decorator-methods-api.md +36 -24
- package/dist/knowledge/skills/resource-schema-authoring/references/framework-shared-structural-params-api.md +63 -0
- package/dist/knowledge/skills/resource-schema-authoring/references/framework-special-factories-api.md +104 -23
- package/dist/knowledge/skills/resource-schema-authoring/references/framework-zod-lifecycle-and-chainable-api.md +123 -0
- package/dist/knowledge/skills/resource-schema-authoring/references/shared-layer-decorator-checklist.md +1 -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 +66 -3
- package/dist/knowledge/skills/resource-ui-behavior/references/framework-collection-filter-presets-api.md +89 -10
- package/dist/knowledge/skills/resource-ui-behavior/references/framework-display-edit-modes-api.md +11 -0
- package/dist/knowledge/skills/resource-ui-behavior/references/framework-frontend-resource-ui-contracts-api.md +263 -17
- 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 +83 -16
- package/dist/knowledge/skills/resource-ui-behavior/references/framework-resource-layout-templates-api.md +44 -10
- 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 +9 -2
- package/dist/knowledge/skills/resource-ui-behavior/references/surface-decisions.md +33 -2
- package/dist/knowledge/skills/resource-ui-behavior/references/visual-quality-rubric.md +19 -2
- 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/framework-data-seeding-api.md +7 -6
- package/dist/knowledge/skills/settings-placement-authoring/SKILL.md +6 -0
- package/dist/knowledge/skills/settings-placement-authoring/references/framework-settings-destinations-catalog.md +42 -0
- package/dist/knowledge/skills/settings-placement-authoring/references/framework-settings-placement-api.md +6 -9
- 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 +21 -2
- 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 +121 -75
- 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 +100 -71
- 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-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 +36 -5
- 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 +4 -0
- package/dist/knowledge/skills/views-composite-authoring/references/framework-chart-dashboard-api.md +371 -0
- package/dist/knowledge/skills/views-execution-authoring/references/framework-execution-view-contracts-api.md +40 -0
- package/dist/knowledge/skills/website-blog-authoring/SKILL.md +8 -6
- package/dist/knowledge/skills/website-blog-authoring/references/blog-adapter-api.md +70 -59
- package/dist/knowledge/skills/website-building-blocks/SKILL.md +1 -1
- package/dist/knowledge/skills/website-building-blocks/references/framework-website-demo-examples.md +3 -3
- package/dist/knowledge/skills/website-bundle-discipline/SKILL.md +4 -2
- package/dist/knowledge/skills/website-bundle-discipline/references/website-bundle-rules.md +3 -1
- package/dist/knowledge/skills/website-label-pack/SKILL.md +20 -5
- package/dist/knowledge/skills/website-page-authoring/references/framework-site-context-loader-api.md +6 -3
- package/dist/knowledge/skills/website-section-comparison/SKILL.md +2 -2
- package/dist/knowledge/skills/website-section-contact/SKILL.md +1 -1
- package/dist/knowledge/skills/website-section-cta/SKILL.md +1 -1
- package/dist/knowledge/skills/website-section-faq/SKILL.md +1 -1
- package/dist/knowledge/skills/website-section-feature-benefit-summary/SKILL.md +1 -1
- package/dist/knowledge/skills/website-section-feature-detail/SKILL.md +1 -1
- package/dist/knowledge/skills/website-section-footer-cta/SKILL.md +1 -1
- package/dist/knowledge/skills/website-section-hero/SKILL.md +1 -1
- package/dist/knowledge/skills/website-section-how-it-works/SKILL.md +1 -1
- package/dist/knowledge/skills/website-section-integrations/SKILL.md +3 -3
- package/dist/knowledge/skills/website-section-latest-posts/SKILL.md +1 -1
- package/dist/knowledge/skills/website-section-pricing/SKILL.md +142 -98
- package/dist/knowledge/skills/website-section-pricing/examples/pricing-offers.example.md +178 -66
- package/dist/knowledge/skills/website-section-pricing/references/framework-pricing-catalog-api.md +3 -1
- package/dist/knowledge/skills/website-section-problem/SKILL.md +3 -3
- package/dist/knowledge/skills/website-section-product-showcase/SKILL.md +1 -1
- package/dist/knowledge/skills/website-section-roadmap/SKILL.md +4 -4
- package/dist/knowledge/skills/website-section-social-proof/SKILL.md +1 -1
- package/dist/knowledge/skills/website-section-solution-paths/SKILL.md +2 -2
- package/dist/knowledge/skills/website-section-stats/SKILL.md +3 -3
- package/dist/knowledge/skills/website-seo-aeo-geo/references/aeo-api.md +3 -2
- package/dist/knowledge/skills/worker-authoring/SKILL.md +4 -2
- package/dist/knowledge/topic-index.json +2422 -723
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +6 -6
- package/dist/tsconfig.tsbuildinfo +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../../src/playbooks/top_down.compliance-posture/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;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAC/B;IACE,KAAK,EAAE,6BAA6B;IACpC,SAAS,EAAE,OAAO;IAClB,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,qiBAAqiB;IAC/iB,eAAe,EAAE;QACf,EAAE,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,cAAc,EAAE,EAAE;QACvE,EAAE,MAAM,EAAE,gBAAgB,EAAE,KAAK,EAAE,qBAAqB,EAAE,UAAU,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE;KACpH;IACD,QAAQ,EAAE;QACR,EAAE,QAAQ,EAAE,cAAc,EAAE;KAC7B;IACD,SAAS,EAAE;QACT;YACE,QAAQ,EAAE,cAAc;YACxB,WAAW,EAAE,oCAAoC;YACjD,aAAa,EAAE,uZAAuZ;YACta,WAAW,EAAE,+NAA+N;YAC5O,SAAS,EAAE,CAAC,mBAAmB,CAAC;SACjC;KACF;IACD,QAAQ,EAAE;QACR,WAAW,EAAE,EAAE;KAChB;IACD,UAAU,EAAE,iBAAiB;IAC7B,UAAU,EAAE,gBAAgB;IAC5B,QAAQ,EAAE;QACR,SAAS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,gBAAgB;QACvE,gBAAgB,EAAE,CAAC,wCAAwC,CAAC,eAAe,CAAC;QAC5E,+BAA+B,EAAE,CAAC,wGAAwG,CAAC;QAC3I,eAAe,EAAE,iEAAiE;QAClF,cAAc,EAAE,yDAAyD;QACzE,gBAAgB,EAAE,6BAA6B,CAAC,YAAY;QAC5D,wBAAwB,EAAE,KAAK;KAChC;IACD,kBAAkB,EAAE;QAClB,aAAa,EAAE,CAAC;QAChB,SAAS,EAAE,6DAA6D;QACxE,aAAa,EAAE,CAAC;QAChB,QAAQ,EAAE;YACR,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,QAAQ,EAAE,MAAM,EAAE,+BAA+B,CAAC,QAAQ,EAAE;YACpH,EAAE,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} from '@wildo-ai/saas-models/meta-workflows';\n\n/**\n * Canonical native declaration for this reusable application-creation method.\n *\n * The structured method remains intentionally rich: its intent, inputs, output\n * contracts, elicitation, deterministic verification and skill routing are the\n * application knowledge a later generic assessment loop composes.\n *\n * The `evaluationTreatmentSource` below compiles the method's derivation posture (#1487): the ADVISORY\n * judge reads the refined vision against the regime evidence its composite gathered and against the\n * vision it was given, so an unestablished regime stated as settled — the defect the composite exists to\n * end — is reported before the conception step binds objectives to it. Advisory: a note beside review.\n */\nexport const playbookDefinition = \n{\n \"ref\": \"top_down.compliance-posture\",\n \"version\": \"0.2.2\",\n \"phase\": \"top_down\",\n \"intent\": \"Derive compliance constraints for the existing product vision from its jurisdictions, data classes, sector, customer commitments and gathered regime evidence. This is the artifact-producing child of top_down.compliance-analysis: it runs when the current compliance-adequacy assessment is adequate, and sharpens the vision-brief rather than re-eliciting it. Record source-backed applicability and unresolved product facts as compliance constraints; runtime controls, evidence assignments and organization assessments belong to their own mechanisms.\",\n \"preconditions\": [\n { \"kind\": \"artifact_exists\", \"selector\": { \"family\": \"vision-brief\" } },\n { \"kind\": \"step_available\", \"ref\": \"compliance-adequacy\", \"requires\": { \"path\": \"verdict\", \"equals\": \"adequate\" } }\n ],\n \"inputs\": [\n { \"family\": \"vision-brief\" }\n ],\n \"outputs\": [\n {\n \"family\": \"vision-brief\",\n \"schemaRef\": \"saas-specifications:VisionSnapshot\",\n \"description\": \"The same VisionSnapshot the vision-elicitation step seeded, refined in place: this playbook adds/updates the `constraints[]` entries whose `kind` is `compliance`, each a prose `statement` naming an applicable regime and the data / jurisdiction it governs. Other vision entities (idea, problem, mission, success criteria, non-compliance constraints) are left untouched. Validated by validateVisionSnapshot.\",\n \"//aspects\": \"The one slice it writes (#2146), so its landing reopens only the readers of the vision's constraints: a reader of the idea and mission alone (the brand identity) is not re-derived because a compliance regime was recorded.\",\n \"aspects\": [\"vision.constraint\"]\n }\n ],\n \"method\": {\n \"skillRefs\": [],\n },\n \"executor\": \"companion_agent\",\n \"approval\": \"approve_result\",\n \"budget\": {\n \"maxRuns\": 3\n },\n \"onFailure\": \"keep_and_flag\"\n} as const;\n\nexport const evaluationTreatmentSource = {\n schemaVersion: 1,\n definitionRef: 'application-creation:evaluation-treatment/compliance-posture',\n definitionVersion: 1,\n evaluationProtocol: {\n schemaVersion: 1,\n protocolRef: 'application-creation:evaluation-protocol/compliance-posture',\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-posture-verdict',\n /*\n * The grounding criterion names no aspects because the regime evidence is run-local choreography\n * material, not an aspect of a family; the other two are scoped to the vision's own sections.\n */\n criteria: [\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/compliance-posture-regime-derivation-grounding',\n criterionVersion: 1,\n instruction:\n \"Determine whether each compliance constraint is derived rather than recalled: its statement names the regime, the trigger (jurisdiction, data class, sector or commitment) and what it governs, in the terms of the regime evidence and the creator's facts this run carried; a regime the evidence EXCLUDES is not written as a constraint and, where the creator's answers suggested it, the exclusion is made legible on a neighbouring constraint; a trigger the evidence could NOT establish becomes a constraint stating the open question, never a guessed answer; and a product with no triggers honestly carries no compliance constraints.\",\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/compliance-posture-regime-derivation-grounding',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/vision-and-regime-evidence-candidate',\n minCount: 1,\n maxCount: 3,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-compliance-posture-inputs-and-candidate',\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 constraint is grounded in the evidence, exclusions are legible, and open triggers are stated as open.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'Grounded overall, but a statement is thinner than the evidence allows, or an exclusion is dropped silently where the creator had suggested the regime.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'A regime stated as settled that the evidence did not establish, a regime invented to look thorough, or a regime the evidence establishes that is absent.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: \"The regime evidence or the creator's facts are not in evidence, so derivation cannot be checked.\",\n },\n },\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/compliance-posture-one-regime-one-constraint-and-convergence',\n criterionVersion: 1,\n instruction:\n 'Determine whether the posture is written as one constraint per regime with a stable kebab-case ref prefixed `constraint-`, unique across the set; whether a regime already present in the vision (under any slug the vision-elicitation step chose) was matched by the regime its statement names and updated IN PLACE under its existing ref; and whether re-running would converge to one entry per regime rather than accumulating near-duplicates.',\n assessesAspects: ['vision.constraint'],\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/compliance-posture-one-regime-one-constraint-and-convergence',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/vision-and-regime-evidence-candidate',\n minCount: 1,\n maxCount: 3,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-compliance-posture-inputs-and-candidate',\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]: 'One entry per regime, stable unique refs, and every pre-existing regime refined under its own ref.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'Regimes are separate but a ref is minted for a regime that already existed under another slug, or two statements overlap in scope.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'An omnibus constraint merging several regimes, a duplicate entry for one regime, or a malformed ref.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: \"The vision's prior constraints are not in evidence, so convergence cannot be compared.\",\n },\n },\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/compliance-posture-slice-discipline',\n criterionVersion: 1,\n instruction:\n \"Determine whether the run touched exactly the `kind: compliance` entries of the vision's constraints and nothing else: the idea, problem, mission, success criteria and every non-compliance constraint are unchanged, and no constraint models controls, obligation graphs, residency matrices, retention schedules or audit configuration, which belong to the later compliance-conception step.\",\n assessesAspects: ['vision.constraint', 'vision.idea', 'vision.problem', 'vision.mission', 'vision.success-criterion'],\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/compliance-posture-slice-discipline',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/vision-and-regime-evidence-candidate',\n minCount: 1,\n maxCount: 3,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-compliance-posture-inputs-and-candidate',\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]: 'Only compliance constraints changed, and each stays a prose regime statement at scaffold depth.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'A non-compliance entity was reworded incidentally, or a constraint drifts toward listing controls.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'A vision entity outside the compliance constraints altered, or a constraint that models controls or obligations.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The vision as it was BEFORE this run is not in evidence.',\n },\n },\n ],\n },\n evaluatorBindingPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:evaluator-binding-policy/compliance-posture',\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-posture-result',\n decisionPointVersion: 1,\n triggerRefs: ['application-creation:trigger/vision-brief-staged-and-valid'],\n hardFloorRefs: ['application-creation:hard-floor/vision-brief-valid'],\n riskPolicyRef: 'application-creation:risk-policy/scoped-application-and-execution-context',\n significancePolicyRef: 'application-creation:significance-policy/current-horizon-vision-brief-change',\n },\n decisionRule: {\n schemaVersion: 1,\n ruleRef: 'application-creation:decision-rule/compliance-posture-result',\n ruleVersion: 1,\n boundaryClass: MetaWorkflow_DecisionRuleBoundaryClass.QUALITY_INTERPRETATION,\n evidenceAggregationRef: 'application-creation:aggregation/worst-compliance-posture-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/vision-brief-valid',\n evidenceRequirementRefs: ['application-creation:evidence-requirement/compliance-posture-regime-derivation-grounding'],\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-posture-result',\n requirementVersion: 1,\n consequenceClassRef: 'application-creation:authority-consequence/accept-vision-brief',\n riskClassRef: 'application-creation:risk/vision-brief-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-posture-one-regime-one-constraint-and-convergence'],\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-posture',\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/top_down.compliance-posture/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;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAC/B;IACE,KAAK,EAAE,6BAA6B;IACpC,SAAS,EAAE,OAAO;IAClB,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,sjBAAsjB;IAChkB,eAAe,EAAE;QACf,EAAE,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,cAAc,EAAE,EAAE;QACvE,EAAE,MAAM,EAAE,gBAAgB,EAAE,KAAK,EAAE,qBAAqB,EAAE,UAAU,EA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AE,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 * The structured method remains intentionally rich: its intent, inputs, output\n * contracts, elicitation, deterministic verification and skill routing are the\n * application knowledge a later generic assessment loop composes.\n *\n * The `evaluationTreatmentSource` below compiles the method's derivation posture (#1487): the ADVISORY\n * judge reads the posture against the regime evidence its composite gathered and against the vision it\n * was given, so an unestablished regime stated as settled — the defect the composite exists to end — is\n * reported before the conception step binds objectives to it. Advisory: a note beside review.\n *\n * It writes its OWN family, `compliance-posture`, and never the vision (#3362). It used to refine the\n * vision's `kind: compliance` constraints in place, and because every definition and conception playbook\n * reads the vision whole, and the compliance lane only runs once the definition lane has returned, its\n * landing re-derived the business model, the capability map, the roadmap, the phase gate and the whole\n * conception on every fresh application (measured on reference run 42120979649). Now its landing re-opens\n * only the playbooks that declare `compliance-posture`. `top_down.requirements-definition` deliberately\n * does not (Paul, 2026-11-06): its compliance requirements come from the creator's facts and the declared\n * operating jurisdictions.\n */\nexport const playbookDefinition = \n{\n \"ref\": \"top_down.compliance-posture\",\n \"version\": \"0.3.1\",\n \"phase\": \"top_down\",\n \"intent\": \"Derive the product's compliance posture from its vision's jurisdictions, data classes, sector, customer commitments and gathered regime evidence. This is the artifact-producing child of top_down.compliance-analysis: it runs when the current compliance-adequacy assessment is adequate, and records the posture in its own compliance-posture family; it never rewrites the vision. Record source-backed applicability and unresolved product facts as posture constraints; runtime controls, evidence assignments and organization assessments belong to their own mechanisms.\",\n \"preconditions\": [\n { \"kind\": \"artifact_exists\", \"selector\": { \"family\": \"vision-brief\" } },\n { \"kind\": \"step_available\", \"ref\": \"compliance-adequacy\", \"requires\": { \"path\": \"verdict\", \"equals\": \"adequate\" } }\n ],\n \"inputs\": [\n { \"family\": \"vision-brief\", \"//\": \"The product facts the regimes turn on, and the creator's own compliance constraints, which the posture sharpens with evidence rather than contradicts.\" },\n { \"family\": \"compliance-posture\", \"//\": \"Its own previous posture, so a re-run refines each regime under its existing ref and converges. Absent on a first run.\" }\n ],\n \"outputs\": [\n {\n \"family\": \"compliance-posture\",\n \"schemaRef\": \"saas-specifications:CompliancePosture\",\n \"description\": \"The compliance posture: one `constraints[]` entry per applicable regime (or per regime whose applicability turns on an open product fact), each a prose `statement` naming the regime, its trigger and what it governs, with the evidence it rests on as its `rationale`. An empty list is the honest posture of an unregulated product. Validated by validateCompliancePosture.\",\n \"aspects\": [\"compliance-posture.constraint\"]\n }\n ],\n \"method\": {\n \"skillRefs\": [],\n },\n \"executor\": \"companion_agent\",\n \"approval\": \"approve_result\",\n \"budget\": {\n \"maxRuns\": 3\n },\n \"onFailure\": \"keep_and_flag\"\n} as const;\n\nexport const evaluationTreatmentSource = {\n schemaVersion: 1,\n definitionRef: 'application-creation:evaluation-treatment/compliance-posture',\n definitionVersion: 1,\n evaluationProtocol: {\n schemaVersion: 1,\n protocolRef: 'application-creation:evaluation-protocol/compliance-posture',\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-posture-verdict',\n /*\n * The grounding criterion names no aspects because the regime evidence is run-local choreography\n * material, not an aspect of a family; the other two are scoped to the posture's own constraints.\n */\n criteria: [\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/compliance-posture-regime-derivation-grounding',\n criterionVersion: 1,\n instruction:\n \"Determine whether each compliance constraint is derived rather than recalled: its statement names the regime, the trigger (jurisdiction, data class, sector or commitment) and what it governs, in the terms of the regime evidence and the creator's facts this run carried; a regime the evidence EXCLUDES is not written as a constraint and, where the creator's answers suggested it, the exclusion is made legible on a neighbouring constraint; a trigger the evidence could NOT establish becomes a constraint stating the open question, never a guessed answer; and a product with no triggers honestly carries no compliance constraints.\",\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/compliance-posture-regime-derivation-grounding',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/vision-and-regime-evidence-candidate',\n minCount: 1,\n maxCount: 3,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-compliance-posture-inputs-and-candidate',\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 constraint is grounded in the evidence, exclusions are legible, and open triggers are stated as open.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'Grounded overall, but a statement is thinner than the evidence allows, or an exclusion is dropped silently where the creator had suggested the regime.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'A regime stated as settled that the evidence did not establish, a regime invented to look thorough, or a regime the evidence establishes that is absent.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: \"The regime evidence or the creator's facts are not in evidence, so derivation cannot be checked.\",\n },\n },\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/compliance-posture-one-regime-one-constraint-and-convergence',\n criterionVersion: 2,\n instruction:\n 'Determine whether the posture is written as one constraint per regime with a stable, unique semantic slug; whether a regime already present in the previous posture (when one was given) was matched by the regime its statement names and kept under its existing ref; and whether re-running would converge to one entry per regime rather than accumulating near-duplicates.',\n assessesAspects: ['compliance-posture.constraint'],\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/compliance-posture-one-regime-one-constraint-and-convergence',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/vision-and-regime-evidence-candidate',\n minCount: 1,\n maxCount: 3,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-compliance-posture-inputs-and-candidate',\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]: 'One entry per regime, stable unique refs, and every pre-existing regime refined under its own ref.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'Regimes are separate but a ref is minted for a regime that already existed under another slug, or two statements overlap in scope.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'An omnibus constraint merging several regimes, a duplicate entry for one regime, or a malformed ref.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: \"A previous posture exists but is not in evidence, so convergence cannot be compared.\",\n },\n },\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/compliance-posture-slice-discipline',\n criterionVersion: 2,\n instruction:\n \"Determine whether every constraint stays a prose regime statement at scaffold depth, and whether the posture is consistent with the creator's own compliance constraints on the vision: a regime the creator stated is recorded with the evidence's sharper statement or, when the evidence excludes it, the exclusion is legible on a neighbouring constraint. No constraint models controls, obligation graphs, residency matrices, retention schedules or audit configuration, which belong to the later compliance-conception step.\",\n // The vision's constraints too: consistency with the creator's own is half of what this criterion asks.\n assessesAspects: ['compliance-posture.constraint', 'vision.constraint'],\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/compliance-posture-slice-discipline',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/vision-and-regime-evidence-candidate',\n minCount: 1,\n maxCount: 3,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-compliance-posture-inputs-and-candidate',\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]: \"Each constraint is a prose regime statement at scaffold depth, and every compliance constraint the creator stated is either sharpened or its exclusion made legible.\",\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'A constraint drifts toward listing controls, or a regime the creator stated is dropped without its exclusion being legible.',\n [MetaWorkflow_EvaluationVerdict.GAP]: \"A constraint that models controls or obligations, or a posture that contradicts the creator's stated compliance constraint without evidence.\",\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: \"The creator's compliance constraints on the vision are not in evidence, so consistency cannot be checked.\",\n },\n },\n ],\n },\n evaluatorBindingPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:evaluator-binding-policy/compliance-posture',\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-posture-result',\n decisionPointVersion: 1,\n triggerRefs: ['application-creation:trigger/compliance-posture-staged-and-valid'],\n hardFloorRefs: ['application-creation:hard-floor/compliance-posture-valid'],\n riskPolicyRef: 'application-creation:risk-policy/scoped-application-and-execution-context',\n significancePolicyRef: 'application-creation:significance-policy/current-horizon-compliance-posture-change',\n },\n decisionRule: {\n schemaVersion: 1,\n ruleRef: 'application-creation:decision-rule/compliance-posture-result',\n ruleVersion: 1,\n boundaryClass: MetaWorkflow_DecisionRuleBoundaryClass.QUALITY_INTERPRETATION,\n evidenceAggregationRef: 'application-creation:aggregation/worst-compliance-posture-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-posture-valid',\n evidenceRequirementRefs: ['application-creation:evidence-requirement/compliance-posture-regime-derivation-grounding'],\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-posture-result',\n requirementVersion: 1,\n consequenceClassRef: 'application-creation:authority-consequence/accept-compliance-posture',\n riskClassRef: 'application-creation:risk/compliance-posture-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-posture-one-regime-one-constraint-and-convergence'],\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-posture',\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":["
|
|
1
|
+
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/top_down.compliance-research/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0B9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../src/playbooks/top_down.compliance-research/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,kBAAkB,GAEnB,MAAM,oDAAoD,CAAC;AAE5D,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,GAAG,EAAE,8BAA8B;IACnC,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE,kBAAkB,CAAC,QAAQ;IAClC,MAAM,EACJ,+7BAA+7B;IACj8B,aAAa,EAAE;QACb,EAAE,IAAI,EAAE,0BAA0B,CAAC,cAAc,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE;KAC1F;IACD,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC;IACpC,OAAO,EAAE,EAAE;IACX,WAAW,EAAE,CAAC;YACZ,GAAG,EAAE,qBAAqB;YAC1B,YAAY,EACV,4lBAA4lB;YAC9lB,WAAW,EAAE,kGAAkG;SAChH,CAAC;IACF,MAAM,EAAE;QACN,SAAS,EAAE,EAAE;KACd;IACD,QAAQ,EAAE,qBAAqB,CAAC,cAAc;IAC9C,QAAQ,EAAE,2BAA2B,CAAC,IAAI;IAC1C,MAAM,EAAE,EAAE;IACV,SAAS,EAAE,0BAA0B,CAAC,aAAa;CAGpD,CAAC","sourcesContent":["import {\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_Executor,\n MetaWorkflow_FailurePolicy,\n MetaWorkflow_PredicateKind,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n MetaWorkflow_Phase,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\nexport const playbookDefinition = {\n ref: 'top_down.compliance-research',\n version: '0.1.0',\n phase: MetaWorkflow_Phase.TOP_DOWN,\n intent:\n 'Gather EVIDENCE about which legal and regulatory regimes plausibly apply to this product — the applicability trigger of each candidate regime (jurisdiction, data class, sector), verified against authoritative sources — and return a condensed, source-attributed brief. A voluntary security certification or attestation is NOT a regime and is not researched here: it binds only if the creator commits to it, so it is a one-line category note and the commitment itself comes from elicitation. Produces no specification family: its whole deliverable is evidence a sibling derives from. It can fetch and search, read prior evidence, and consolidate findings within specifications/research-evidence/. That evidence store is its permitted write scope; this is not an application-implementation run. The companion also attempts to persist the completed brief with provenance as a best-effort backstop. A cancelled final response is not stored as completed evidence.',\n preconditions: [\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },\n ],\n inputs: [{ family: 'vision-brief' }],\n outputs: [],\n stepOutputs: [{\n ref: 'compliance-evidence',\n condensation:\n 'A brief of at most ~2000 words: each candidate regime by NAME — public law and regulator instruments, never a proprietary certification standard — with the applicability trigger that makes it apply or not apply to THIS product (jurisdiction, data class, sector), the authoritative source consulted (regulator page, official text — never a vendor blog when an official source exists), and an explicit list of what could NOT be established. Every claim carries the URL it came from. Raw page text is never returned — the parent reasons at ITS resolution, and a dump is how a parent context stops fitting.',\n description: 'Source-attributed regime-applicability evidence, condensed for the sibling that derives from it.',\n }],\n method: {\n skillRefs: [],\n },\n executor: MetaWorkflow_Executor.RESEARCH_AGENT,\n approval: MetaWorkflow_ApprovalPolicy.AUTO,\n budget: {},\n onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG,\n} satisfies Omit<MetaWorkflowPlaybookAuthoring, 'method'> & {\n method: Omit<NonNullable<MetaWorkflowPlaybookAuthoring['method']>, 'guidance'>;\n};\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MetaWorkflow_ApprovalPolicy, MetaWorkflow_EvaluationVerdict, MetaWorkflow_FailurePolicy } from '@wildo-ai/saas-models/meta-workflows';
|
|
1
|
+
import { MetaWorkflow_ApprovalPolicy, MetaWorkflow_EvaluationVerdict, MetaWorkflow_FailurePolicy, MetaWorkflow_PredicateKind } from '@wildo-ai/saas-models/meta-workflows';
|
|
2
2
|
import { MetaWorkflow_InputRender, MetaWorkflow_Phase } from '@wildo-ai/saas-specifications/application-creation';
|
|
3
3
|
/**
|
|
4
4
|
* The DEFINITION LANE — the first of the lanes that drive the creation of the application (#1499,
|
|
@@ -81,7 +81,7 @@ import { MetaWorkflow_InputRender, MetaWorkflow_Phase } from '@wildo-ai/saas-spe
|
|
|
81
81
|
* | `success-criterion-coverage` — a vision success criterion no phase delivers | `top_down.scope-roadmap` | same owner, the vision's other half |
|
|
82
82
|
* | `capability-completeness` — a market benefit wired to no delivering feature | `top_down.capability-map` | it authors the benefit → feature edges and the feature drafts |
|
|
83
83
|
* | `positioning-icp-coherence` — pillars that miss the core ICPs or centre an anti-target | `top_down.value-proposition` | positioning and the ICP classifications live in its slice of the snapshot |
|
|
84
|
-
* | `compliance-presence` — regulated data with no declared compliance constraint | the COMPLIANCE lane (#1502), through the root | the
|
|
84
|
+
* | `compliance-presence` — regulated data with no declared compliance constraint | the COMPLIANCE lane (#1502), through the root | the regimes are landed in the `compliance-posture` family by `compliance-posture`, which belongs to another lane |
|
|
85
85
|
*
|
|
86
86
|
* **The mapping lives HERE, on the lane, and that is where it belongs.** The judge's routable verdict
|
|
87
87
|
* is keyed by criterion ref precisely so a lane author can name the criterion a revise child answers —
|
|
@@ -138,7 +138,12 @@ export declare const playbookDefinition: {
|
|
|
138
138
|
version: string;
|
|
139
139
|
phase: MetaWorkflow_Phase.TOP_DOWN;
|
|
140
140
|
intent: string;
|
|
141
|
-
preconditions:
|
|
141
|
+
preconditions: {
|
|
142
|
+
kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID;
|
|
143
|
+
selector: {
|
|
144
|
+
family: string;
|
|
145
|
+
};
|
|
146
|
+
}[];
|
|
142
147
|
inputs: ({
|
|
143
148
|
family: string;
|
|
144
149
|
render?: undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/top_down.definition/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,8BAA8B,EAC9B,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,wBAAwB,EACxB,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoIG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAkHzB,oDAAoD;;;;;;;;;;;;CA2CzD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MetaWorkflow_ApprovalPolicy, MetaWorkflow_EvaluationVerdict, MetaWorkflow_FailurePolicy, } from '@wildo-ai/saas-models/meta-workflows';
|
|
1
|
+
import { MetaWorkflow_ApprovalPolicy, MetaWorkflow_EvaluationVerdict, MetaWorkflow_FailurePolicy, MetaWorkflow_PredicateKind, } from '@wildo-ai/saas-models/meta-workflows';
|
|
2
2
|
import { MetaWorkflow_InputRender, MetaWorkflow_Phase, } from '@wildo-ai/saas-specifications/application-creation';
|
|
3
3
|
/**
|
|
4
4
|
* The DEFINITION LANE — the first of the lanes that drive the creation of the application (#1499,
|
|
@@ -81,7 +81,7 @@ import { MetaWorkflow_InputRender, MetaWorkflow_Phase, } from '@wildo-ai/saas-sp
|
|
|
81
81
|
* | `success-criterion-coverage` — a vision success criterion no phase delivers | `top_down.scope-roadmap` | same owner, the vision's other half |
|
|
82
82
|
* | `capability-completeness` — a market benefit wired to no delivering feature | `top_down.capability-map` | it authors the benefit → feature edges and the feature drafts |
|
|
83
83
|
* | `positioning-icp-coherence` — pillars that miss the core ICPs or centre an anti-target | `top_down.value-proposition` | positioning and the ICP classifications live in its slice of the snapshot |
|
|
84
|
-
* | `compliance-presence` — regulated data with no declared compliance constraint | the COMPLIANCE lane (#1502), through the root | the
|
|
84
|
+
* | `compliance-presence` — regulated data with no declared compliance constraint | the COMPLIANCE lane (#1502), through the root | the regimes are landed in the `compliance-posture` family by `compliance-posture`, which belongs to another lane |
|
|
85
85
|
*
|
|
86
86
|
* **The mapping lives HERE, on the lane, and that is where it belongs.** The judge's routable verdict
|
|
87
87
|
* is keyed by criterion ref precisely so a lane author can name the criterion a revise child answers —
|
|
@@ -135,12 +135,19 @@ import { MetaWorkflow_InputRender, MetaWorkflow_Phase, } from '@wildo-ai/saas-sp
|
|
|
135
135
|
*/
|
|
136
136
|
export const playbookDefinition = {
|
|
137
137
|
ref: 'top_down.definition',
|
|
138
|
-
version: '0.
|
|
138
|
+
version: '0.2.0',
|
|
139
139
|
phase: MetaWorkflow_Phase.TOP_DOWN,
|
|
140
140
|
intent: 'Drive the top-down DEFINITION of the application as one lane: from an answered vision through market evidence, the market snapshot, the value proposition, the requirements, the capability map, the business model and the roadmap, to the phase gate — with the brand naming (screened name proposals), the brand identity, the risk register and the firm\'s method (its services, decisions and signatories; on a service firm, or wherever a feature line needs it) beside the chain. An umbrella: it authors nothing itself; every child declares what it needs and the runtime recomputes what may run after each round, so the order is the leaves\' preconditions and never a list. Select what is MISSING from the accepted truth shown to you. A child already on record whose inputs have not changed since it landed is not offered at all; every option is marked FIRST RUN, or REFRESH with the input that moved. Prefer first runs; take a refresh when its changed input matters to it. Run independent children in the same round (brand naming or the brand identity, and the risk register or the firm\'s method beside the chain; several research lanes with different objectives). Run the phase gate once the roadmap is on record, and STOP after it has run — its verdict is this lane\'s closing decision, and it is not re-run in the same run. A child whose interview the creator has not answered is not offered; run everything else and stop when nothing eligible advances the definition.',
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
141
|
+
/*
|
|
142
|
+
* A VALID vision (#3386). Every leaf of the chain needs it, and the root runs the vision interview in a round
|
|
143
|
+
* of its own, so this lane and the compliance lane open on the same landing and run side by side. Until #3386
|
|
144
|
+
* this lane had no precondition and STARTED at the interview, which kept compliance waiting behind the whole
|
|
145
|
+
* definition. The lane still admits the interview: a re-answered interview is a REFRESH it may run, and the
|
|
146
|
+
* creation timeline counts the vision as definition work because this lane reaches it.
|
|
147
|
+
*/
|
|
148
|
+
preconditions: [
|
|
149
|
+
{ kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },
|
|
150
|
+
],
|
|
144
151
|
inputs: [
|
|
145
152
|
{ family: 'vision-brief' },
|
|
146
153
|
{ family: 'market-snapshot', render: MetaWorkflow_InputRender.MAP },
|
|
@@ -187,6 +194,7 @@ export const playbookDefinition = {
|
|
|
187
194
|
'top_down.requirements-definition',
|
|
188
195
|
// A NESTED LANE, not three siblings — see the un-flattening note above. Its evidence loop is its own.
|
|
189
196
|
'top_down.market-analysis',
|
|
197
|
+
// A REFRESH only: the lane gates on a valid vision, which the root's own vision round lands first (#3386).
|
|
190
198
|
'top_down.vision-elicitation',
|
|
191
199
|
// Beside the chain, not on it: each needs the vision (and the business model, for the register)
|
|
192
200
|
// and nothing downstream needs them.
|
|
@@ -204,7 +212,8 @@ export const playbookDefinition = {
|
|
|
204
212
|
],
|
|
205
213
|
/*
|
|
206
214
|
* The schema's ceiling. Derived, not guessed: one round per chain leaf (vision, produce,
|
|
207
|
-
* value proposition, requirements, capability map, business model, roadmap, phase gate = 8
|
|
215
|
+
* value proposition, requirements, capability map, business model, roadmap, phase gate = 8; the
|
|
216
|
+
* vision is the root's round since #3386, so seven here unless it is refreshed) plus
|
|
208
217
|
* the market's evidence loop, which consumed FIVE of six iterations on its first measured run
|
|
209
218
|
* (`top_down.market-analysis`, wonder-crm run 5), plus brand, risk and the firm's method running beside the chain at
|
|
210
219
|
* no extra round when the selector pairs them. Fifteen on a fresh application if nothing loops;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../../src/playbooks/top_down.definition/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,8BAA8B,EAC9B,0BAA0B,GAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,wBAAwB,EACxB,kBAAkB,GAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoIG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,GAA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kflow_EvaluationVerdict,\n MetaWorkflow_FailurePolicy,\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 DEFINITION LANE — the first of the lanes that drive the creation of the application (#1499,\n * epic #1506), and the first composite whose deliverable is not one family but a coherent SET of them.\n *\n * Paul, 2026-09-22: *\"we need playbooks that drive the application creation itself. So we have\n * leaves, with lot missing, but we need to build the lanes that will make the application coherent.\"*\n *\n * Until this existed the top-down half was ten leaves the unattended loop picked among freely and a\n * human drove one card at a time (#1273). Nothing was wrong with any leaf; what was missing was the\n * thing that IS the definition of the application — vision → market → requirements → capability map →\n * value proposition → business model → roadmap → phase gate, with brand identity and the risk register\n * beside the chain, ending on one decision a person can see.\n *\n * ## Order is nowhere in this file — the waterfall is the leaves' own preconditions\n *\n * `admits` is a set. `market-research` needs only a valid vision; `requirements-definition` needs a\n * valid vision AND a valid market snapshot; `scope-roadmap` needs feature drafts, which\n * `capability-map` lands; `phase-gate` needs the roadmap. Re-evaluated against the working tree after\n * every round, that IS the waterfall — and it is also what lets the lane be re-run on an application\n * where most of it already exists: whatever is on record satisfies the gates of whatever is not, and\n * the selector's job is to pick what is missing rather than to walk a list from the top.\n *\n * ## The market umbrella is a NESTED LANE — un-flattened 2026-09-22, when #1497 landed\n *\n * This lane admitted `market-research`, `market-evidence-adequacy` and `market-snapshot-produce`\n * directly for one day, because a composite could not admit a composite. It now admits\n * `top_down.market-analysis` itself: `runPlaybookChoreography` recurses, the umbrella's landings come\n * back as the child's `landed` (so it is marked delivered and never re-offered), its checkpoint rides\n * inside this run's, and its INTERNAL step scope — `market-evidence`, `evidence-adequacy` — stays its\n * own. That isolation is the point of running it as a lane rather than as three siblings: the\n * evidence loop's re-search rounds are the umbrella's business, and this lane sees only that a market\n * snapshot landed.\n *\n * `maximumDepth: 2` is what admits it — a composite child is WITHHELD when `depth + 1` reaches the\n * ceiling, so the schema's default of `1` would have offered this lane a child it could never run.\n * Under the root (`application-creation`, depth 0) this lane runs at depth 1 and the umbrella at\n * depth 2, which the root's own `maximumDepth: 3` permits; the tightest ancestor's ceiling wins.\n *\n * **The compliance lane was, for one day, NOT un-flattened, and the asymmetry was a mechanism fact.**\n * `top_down.compliance-analysis` carries an INTERVIEW, and a nested composite's own elicitation did not\n * reach its children: the companion bound `runChild` ONCE, in `runChoreography`, with the OUTERMOST\n * composite's rendered section, and `runNestedLane` forwarded that closure unchanged. That is fixed:\n * `runChild` names the dispatching composite (#1513), and so does each round's selector (#1577), so a\n * nested lane's children AND its selector receive that lane's own interview. `cross_cutting.compliance`\n * now nests the umbrella too. `top_down.market-analysis` declares no elicitation, so this lane never\n * depended on the fix.\n *\n * ## The interviews are answered in the DOSSIER, not here\n *\n * Four of the leaves interview the creator (`vision-elicitation`, `business-model`, `scope-roadmap`,\n * `brand-identity`), and so does the nested `brand-naming` lane (one question: names the creator wants\n * screened, or \"none\" — its interview reaches its own children since #1513). The compliance umbrella moved its children's questions onto itself; this lane\n * does NOT, because a child's eligibility inside a composite is `unansweredQuestionRefs.length === 0`\n * computed against the `creator-inputs` family for THAT child's ref (#1454, Step 5) — the umbrella's\n * questions would be asked twice and the child's copy would still gate. A leaf whose interview the\n * dossier does not answer is simply not eligible in this run, the lane runs everything else it can,\n * and the board reports the leaf as waiting for the creator. That is the \"human input only at the\n * interviews\" contract stated as a mechanism rather than as a hope.\n *\n * ## The lane ENDS on a decision\n *\n * `phase-gate` is the closing move: five criteria over the coherence report, an advisory verdict, and\n * — under the current posture — auto-accepted and notified. `approval: APPROVE_RESULT` is where the\n * lane's boundary decision attaches, and it is LIVE since #111 landed. Note that `phase-gate` lands nothing and returns no step value, so the runner never\n * marks it delivered — the intent below tells the selector to stop once it has run, and the round\n * history shows that it has. That it RUNS no longer rests on the selector: it is the choreography's declared\n * `closingMove` (#2236), so a lane the selector ends early runs it first, and one that cannot run it ends marked.\n *\n * ## Loop-back — the criterion → leaf table, declared as `reopenOnVerdict`\n *\n * The mechanism arrived (#1498): `runChoreographyChild` forwards an assessing leaf's verdict, the\n * choreography stores it under `judge:top_down.phase-gate`, and any child gated on that ref is handed\n * the per-criterion detail. The table below is this lane's mapping from a faulted criterion to the\n * artifact that can be wrong.\n *\n * | phase-gate criterion (`application-creation:criterion/…`) | re-opens | why that leaf |\n * |---|---|---|\n * | `requirement-coverage` — a functional requirement no roadmap phase delivers or defers | `top_down.scope-roadmap` | the roadmap owns delivery and deferral; the requirement is not wrong for being unplanned |\n * | `success-criterion-coverage` — a vision success criterion no phase delivers | `top_down.scope-roadmap` | same owner, the vision's other half |\n * | `capability-completeness` — a market benefit wired to no delivering feature | `top_down.capability-map` | it authors the benefit → feature edges and the feature drafts |\n * | `positioning-icp-coherence` — pillars that miss the core ICPs or centre an anti-target | `top_down.value-proposition` | positioning and the ICP classifications live in its slice of the snapshot |\n * | `compliance-presence` — regulated data with no declared compliance constraint | the COMPLIANCE lane (#1502), through the root | the constraint is landed on the vision by `compliance-posture`, which belongs to another lane |\n *\n * **The mapping lives HERE, on the lane, and that is where it belongs.** The judge's routable verdict\n * is keyed by criterion ref precisely so a lane author can name the criterion a revise child answers —\n * `toRoutableJudgeVerdict` says so at its own site: the mapping is the AUTHOR's declaration, never the\n * function's inference. The phase gate's TREATMENT cannot carry it either: an evaluation criterion is a\n * `strictObject` of ref, instruction, evidence requirements and verdict guidance, with no routing\n * field, and it should have none: the same gate could sit in another lane where the same criterion\n * faults a different leaf. Routing is the LANE's knowledge, so the lane declares it.\n *\n * A GAP on `requirement-coverage` therefore re-runs `scope-roadmap`, not `requirements-definition`:\n * the criterion reads the roadmap against the requirements, and the roadmap is the artifact that can\n * be wrong. A requirements gap the gate cannot see (a requirement that should exist and does not) is\n * a coherence finding, not a gate verdict, and re-opens `requirements-definition` through #57.\n *\n * **The table is the mechanism now** (`reopenOnVerdict` below, read by the choreography runtime). A\n * GAP on one of the first four criteria removes the mapped leaf from the run's delivered set, so it is\n * offered again, and the gate — which lands nothing and is therefore always re-offerable — can run\n * after it. The runtime clears `delivered`; no revise playbook exists. The two revise-child shapes\n * were rejected: three narrow children restate three leaves as a second description that drifts, and\n * one broad child claims three families and re-derives all of them when one faulted. This was held\n * back until the lane had run live, and it has (#1273, scratch-journey: the gate reached PASS on six\n * runs without anyone choosing a card), so the declaration now answers a loop that exists.\n *\n * GAP only. CONCERN is advice, not a fault. INDETERMINATE means the evidence could not settle the\n * criterion, and re-deriving the leaf does not produce evidence.\n *\n * `compliance-presence` is not declared HERE: its owner is the compliance lane, a SIBLING of this\n * lane under the root, and a composite re-opens only what it admits. This lane EXPORTS the gate's\n * verdict instead (`stepOutputs` below), and the root routes that criterion to the compliance lane\n * (#1627).\n *\n * The other two mechanisms this lane was authored to adopt are ADOPTED, and both cost zero edits:\n *\n * - **The decision boundary (#111)** — by already declaring `approval`, which the runtime now reads at\n * the end of every composite run.\n * - **The staleness gate (#57)** — `ARTIFACT_STALE` reads the DECLARING playbook's own `inputs[]`, so\n * its consumer is a child that re-derives a family, never a lane: a composite gating itself on\n * staleness would refuse the first run of every application. It is READINESS\n * (`PRECONDITION_CLASS_BY_KIND` in the eligibility service), so nobody proceeds past it, inside a lane\n * or out: a child gated on it is offered only when an input of the family it re-derives has moved,\n * which is what makes it a refresh child. (This said SEQUENCING-and-bypassed until 2026-09-27, #1608.)\n *\n * ## Inputs are declared for the SELECTOR, not for a generation\n *\n * A composite generates nothing, so its `inputs` reach exactly one reader: the round selector's\n * prompt, which renders the declared families that exist and omits the ones that do not. That is how\n * the selector tells a missing family from a landed one — the only way it can, since an eligible\n * child carries no \"already landed\" mark. The vision is read whole (it is small and it is the product);\n * everything else is read as a MAP so the selector knows WHAT exists without paying for its content.\n * `risk-register` has no aspect index, so a map of it would read as empty; it is read whole.\n */\nexport const playbookDefinition = {\n ref: 'top_down.definition',\n version: '0.1.2',\n phase: MetaWorkflow_Phase.TOP_DOWN,\n intent:\n 'Drive the top-down DEFINITION of the application as one lane: from an answered vision through market evidence, the market snapshot, the value proposition, the requirements, the capability map, the business model and the roadmap, to the phase gate — with the brand naming (screened name proposals), the brand identity, the risk register and the firm\\'s method (its services, decisions and signatories; on a service firm, or wherever a feature line needs it) beside the chain. An umbrella: it authors nothing itself; every child declares what it needs and the runtime recomputes what may run after each round, so the order is the leaves\\' preconditions and never a list. Select what is MISSING from the accepted truth shown to you. A child already on record whose inputs have not changed since it landed is not offered at all; every option is marked FIRST RUN, or REFRESH with the input that moved. Prefer first runs; take a refresh when its changed input matters to it. Run independent children in the same round (brand naming or the brand identity, and the risk register or the firm\\'s method beside the chain; several research lanes with different objectives). Run the phase gate once the roadmap is on record, and STOP after it has run — its verdict is this lane\\'s closing decision, and it is not re-run in the same run. A child whose interview the creator has not answered is not offered; run everything else and stop when nothing eligible advances the definition.',\n // None. The lane STARTS at the vision interview, which has no precondition of its own, so a fresh\n // application is exactly where this composite must be eligible. Every later gate is a child's.\n preconditions: [],\n inputs: [\n { family: 'vision-brief' },\n { family: 'market-snapshot', render: MetaWorkflow_InputRender.MAP },\n { family: 'requirements', render: MetaWorkflow_InputRender.MAP },\n { family: 'feature-drafts', render: MetaWorkflow_InputRender.MAP },\n { family: 'business-model', render: MetaWorkflow_InputRender.MAP },\n { family: 'roadmap', render: MetaWorkflow_InputRender.MAP },\n { family: 'brand-brief', render: MetaWorkflow_InputRender.MAP },\n { family: 'risk-register' },\n ],\n // Nothing, for the market umbrella's recorded reason: a composite's deliverable is what its children\n // land, and the loop resolves this lane's write scope TRANSITIVELY through `admits` — every family\n // above except the vision's compliance slice, which the compliance lane owns.\n outputs: [],\n /*\n * The ONE value this lane hands up (#1627): the phase gate's verdict, so the root can send a SIBLING\n * lane back on a criterion this lane cannot fix itself (compliance presence belongs to the compliance\n * lane). A derived ref, exported through the ordinary lane export; its value is the routable verdict\n * (overall + per criterion), never shown to a generator (`isJudgeVerdictStepRef`).\n */\n stepOutputs: [\n {\n ref: 'judge:top_down.phase-gate',\n condensation: 'The phase gate verdict on the definition set: overall and per criterion (PASS, CONCERN, GAP or INDETERMINATE).',\n },\n ],\n method: {\n skillRefs: [],\n choreography: {\n /*\n * UNORDERED. Listed closing-move-first on purpose, the umbrellas' own trap check: if anything\n * ever read this array as a sequence the lane would try to judge a definition before any of it\n * existed, and the run would fail loudly rather than silently degrading.\n */\n admits: [\n 'top_down.phase-gate',\n 'top_down.scope-roadmap',\n 'top_down.business-model',\n 'top_down.capability-map',\n // Capability-map's drafts-only half, for a line with no market (#1604). The B2B SaaS line\n // excludes it and runs capability-map; a line that excludes capability-map runs this instead.\n 'top_down.feature-drafts',\n 'top_down.value-proposition',\n 'top_down.requirements-definition',\n // A NESTED LANE, not three siblings — see the un-flattening note above. Its evidence loop is its own.\n 'top_down.market-analysis',\n 'top_down.vision-elicitation',\n // Beside the chain, not on it: each needs the vision (and the business model, for the register)\n // and nothing downstream needs them.\n // A NESTED LANE: proposes names and screens them (research + produce), landing the screening the\n // brand identity's `brand-name` CHOICE is computed from. Needs the market snapshot for the competitors.\n 'top_down.brand-naming',\n 'top_down.brand-identity',\n 'top_down.risk-register',\n // The firm's method (#2305): gated on the vision alone, so it runs beside the chain, usually before the market,\n // requirements and business model land; it is then offered again as a REFRESH as each lands, which its budget of\n // five runs allows (four runs and a retry). It\n // leaves the lines whose family is not applicable (B2B SaaS, internal tool) by itself, and comes back when a\n // feature line needs it.\n 'top_down.service-method',\n ],\n /*\n * The schema's ceiling. Derived, not guessed: one round per chain leaf (vision, produce,\n * value proposition, requirements, capability map, business model, roadmap, phase gate = 8) plus\n * the market's evidence loop, which consumed FIVE of six iterations on its first measured run\n * (`top_down.market-analysis`, wonder-crm run 5), plus brand, risk and the firm's method running beside the chain at\n * no extra round when the selector pairs them. Fifteen on a fresh application if nothing loops;\n * twenty is the headroom for one re-search cycle and one re-run of a chain leaf. A breaker, not a\n * budget: it stops a loop spinning, it never refuses work for want of spend.\n */\n /*\n * The lane ENDS on its go/no-go decision, mechanically (#2236). The gate lands nothing, so it is never marked\n * delivered, and this used to rest on the selector reading the intent: on app-creation-test-004 the lane's\n * families landed and the gate never ran. When the selector stops first, the runtime runs the gate; when the\n * gate cannot run (its preconditions unmet), the lane ends recorded as not concluded, naming why.\n */\n closingMove: 'top_down.phase-gate',\n maximumIterations: 20,\n // The journey loop's own width. Research is breadth-first, and the chain's side leaves ride beside it.\n maximumLanesPerIteration: 3,\n /*\n * Two levels below this one: the market 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\n * lane a nested lane it could never run — an eligible-looking card that stops before its first\n * iteration.\n */\n maximumDepth: 2,\n /*\n * Three hours. The market loop measured ~168s per iteration and the compliance loop ~280s; a\n * chain generation with a full brief (requirements, capability map, roadmap) is in the same range,\n * and twenty iterations at the slower figure is ~95 minutes. The companion's HTTP request ceiling\n * (30 min) is SHORTER than this — submit the lane with `async: true` and read the outcome from\n * `/playbooks/runs`, as the compliance umbrella's own comment already warns. Literal: the\n * definition evaluator computes no expressions.\n */\n maximumDurationMs: 10_800_000,\n /** The criterion → leaf table above, executable. */\n reopenOnVerdict: [\n {\n whenVerdictOf: 'top_down.phase-gate',\n criterionRef: 'application-creation:criterion/requirement-coverage',\n verdicts: [MetaWorkflow_EvaluationVerdict.GAP],\n reopen: ['top_down.scope-roadmap'],\n },\n {\n whenVerdictOf: 'top_down.phase-gate',\n criterionRef: 'application-creation:criterion/success-criterion-coverage',\n verdicts: [MetaWorkflow_EvaluationVerdict.GAP],\n reopen: ['top_down.scope-roadmap'],\n },\n {\n whenVerdictOf: 'top_down.phase-gate',\n criterionRef: 'application-creation:criterion/capability-completeness',\n verdicts: [MetaWorkflow_EvaluationVerdict.GAP],\n reopen: ['top_down.capability-map'],\n },\n {\n whenVerdictOf: 'top_down.phase-gate',\n criterionRef: 'application-creation:criterion/positioning-icp-coherence',\n verdicts: [MetaWorkflow_EvaluationVerdict.GAP],\n reopen: ['top_down.value-proposition'],\n },\n ],\n },\n },\n /*\n * The lane's closing decision — accept the definition, or send it back.\n *\n * LIVE since #111 landed: `derivePlaybookChoreographyBoundary` reads this field at the end of every\n * composite run and the companion projects ONE `approve_result` decision onto the human-decision\n * plane — approve / revise / discard, over the paths this lane's children kept. The POSTURE decides\n * what it does: under YOLO it notifies and the run concludes; GUIDED's hold is the marked gate,\n * armed at Gate 3. `onFailure` below is read at the same boundary.\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/top_down.definition/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,8BAA8B,EAC9B,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,wBAAwB,EACxB,kBAAkB,GAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoIG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,GAAG,EAAE,qBAAqB;IAC1B,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE,kBAAkB,CAAC,QAAQ;IAClC,MAAM,EACJ,87CAA87C;IACh8C;;;;;;OAMG;IACH,aAAa,EAAE;QACb,EAAE,IAAI,EAAE,0BAA0B,CAAC,cAAc,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE;KAC1F;IACD,MAAM,EAAE;QACN,EAAE,MAAM,EAA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ACH,WAAW,EAAE,qBAAqB;YAClC,iBAAiB,EAAE,EAAE;YACrB,uGAAuG;YACvG,wBAAwB,EAAE,CAAC;YAC3B;;;;;eAKG;YACH,YAAY,EAAE,CAAC;YACf;;;;;;;eAOG;YACH,iBAAiB,EAAE,UAAU;YAC7B,oDAAoD;YACpD,eAAe,EAAE;gBACf;oBACE,aAAa,EAAE,qBAAqB;oBACpC,YAAY,EAAE,qDAAqD;oBACnE,QAAQ,EAAE,CAAC,8BAA8B,CAAC,GAAG,CAAC;oBAC9C,MAAM,EAAE,CAAC,wBAAwB,CAAC;iBACnC;gBACD;oBACE,aAAa,EAAE,qBAAqB;oBACpC,YAAY,EAAE,2DAA2D;oBACzE,QAAQ,EAAE,CAAC,8BAA8B,CAAC,GAAG,CAAC;oBAC9C,MAAM,EAAE,CAAC,wBAAwB,CAAC;iBACnC;gBACD;oBACE,aAAa,EAAE,qBAAqB;oBACpC,YAAY,EAAE,wDAAwD;oBACtE,QAAQ,EAAE,CAAC,8BAA8B,CAAC,GAAG,CAAC;oBAC9C,MAAM,EAAE,CAAC,yBAAyB,CAAC;iBACpC;gBACD;oBACE,aAAa,EAAE,qBAAqB;oBACpC,YAAY,EAAE,0DAA0D;oBACxE,QAAQ,EAAE,CAAC,8BAA8B,CAAC,GAAG,CAAC;oBAC9C,MAAM,EAAE,CAAC,4BAA4B,CAAC;iBACvC;aACF;SACF;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_EvaluationVerdict,\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 DEFINITION LANE — the first of the lanes that drive the creation of the application (#1499,\n * epic #1506), and the first composite whose deliverable is not one family but a coherent SET of them.\n *\n * Paul, 2026-09-22: *\"we need playbooks that drive the application creation itself. So we have\n * leaves, with lot missing, but we need to build the lanes that will make the application coherent.\"*\n *\n * Until this existed the top-down half was ten leaves the unattended loop picked among freely and a\n * human drove one card at a time (#1273). Nothing was wrong with any leaf; what was missing was the\n * thing that IS the definition of the application — vision → market → requirements → capability map →\n * value proposition → business model → roadmap → phase gate, with brand identity and the risk register\n * beside the chain, ending on one decision a person can see.\n *\n * ## Order is nowhere in this file — the waterfall is the leaves' own preconditions\n *\n * `admits` is a set. `market-research` needs only a valid vision; `requirements-definition` needs a\n * valid vision AND a valid market snapshot; `scope-roadmap` needs feature drafts, which\n * `capability-map` lands; `phase-gate` needs the roadmap. Re-evaluated against the working tree after\n * every round, that IS the waterfall — and it is also what lets the lane be re-run on an application\n * where most of it already exists: whatever is on record satisfies the gates of whatever is not, and\n * the selector's job is to pick what is missing rather than to walk a list from the top.\n *\n * ## The market umbrella is a NESTED LANE — un-flattened 2026-09-22, when #1497 landed\n *\n * This lane admitted `market-research`, `market-evidence-adequacy` and `market-snapshot-produce`\n * directly for one day, because a composite could not admit a composite. It now admits\n * `top_down.market-analysis` itself: `runPlaybookChoreography` recurses, the umbrella's landings come\n * back as the child's `landed` (so it is marked delivered and never re-offered), its checkpoint rides\n * inside this run's, and its INTERNAL step scope — `market-evidence`, `evidence-adequacy` — stays its\n * own. That isolation is the point of running it as a lane rather than as three siblings: the\n * evidence loop's re-search rounds are the umbrella's business, and this lane sees only that a market\n * snapshot landed.\n *\n * `maximumDepth: 2` is what admits it — a composite child is WITHHELD when `depth + 1` reaches the\n * ceiling, so the schema's default of `1` would have offered this lane a child it could never run.\n * Under the root (`application-creation`, depth 0) this lane runs at depth 1 and the umbrella at\n * depth 2, which the root's own `maximumDepth: 3` permits; the tightest ancestor's ceiling wins.\n *\n * **The compliance lane was, for one day, NOT un-flattened, and the asymmetry was a mechanism fact.**\n * `top_down.compliance-analysis` carries an INTERVIEW, and a nested composite's own elicitation did not\n * reach its children: the companion bound `runChild` ONCE, in `runChoreography`, with the OUTERMOST\n * composite's rendered section, and `runNestedLane` forwarded that closure unchanged. That is fixed:\n * `runChild` names the dispatching composite (#1513), and so does each round's selector (#1577), so a\n * nested lane's children AND its selector receive that lane's own interview. `cross_cutting.compliance`\n * now nests the umbrella too. `top_down.market-analysis` declares no elicitation, so this lane never\n * depended on the fix.\n *\n * ## The interviews are answered in the DOSSIER, not here\n *\n * Four of the leaves interview the creator (`vision-elicitation`, `business-model`, `scope-roadmap`,\n * `brand-identity`), and so does the nested `brand-naming` lane (one question: names the creator wants\n * screened, or \"none\" — its interview reaches its own children since #1513). The compliance umbrella moved its children's questions onto itself; this lane\n * does NOT, because a child's eligibility inside a composite is `unansweredQuestionRefs.length === 0`\n * computed against the `creator-inputs` family for THAT child's ref (#1454, Step 5) — the umbrella's\n * questions would be asked twice and the child's copy would still gate. A leaf whose interview the\n * dossier does not answer is simply not eligible in this run, the lane runs everything else it can,\n * and the board reports the leaf as waiting for the creator. That is the \"human input only at the\n * interviews\" contract stated as a mechanism rather than as a hope.\n *\n * ## The lane ENDS on a decision\n *\n * `phase-gate` is the closing move: five criteria over the coherence report, an advisory verdict, and\n * — under the current posture — auto-accepted and notified. `approval: APPROVE_RESULT` is where the\n * lane's boundary decision attaches, and it is LIVE since #111 landed. Note that `phase-gate` lands nothing and returns no step value, so the runner never\n * marks it delivered — the intent below tells the selector to stop once it has run, and the round\n * history shows that it has. That it RUNS no longer rests on the selector: it is the choreography's declared\n * `closingMove` (#2236), so a lane the selector ends early runs it first, and one that cannot run it ends marked.\n *\n * ## Loop-back — the criterion → leaf table, declared as `reopenOnVerdict`\n *\n * The mechanism arrived (#1498): `runChoreographyChild` forwards an assessing leaf's verdict, the\n * choreography stores it under `judge:top_down.phase-gate`, and any child gated on that ref is handed\n * the per-criterion detail. The table below is this lane's mapping from a faulted criterion to the\n * artifact that can be wrong.\n *\n * | phase-gate criterion (`application-creation:criterion/…`) | re-opens | why that leaf |\n * |---|---|---|\n * | `requirement-coverage` — a functional requirement no roadmap phase delivers or defers | `top_down.scope-roadmap` | the roadmap owns delivery and deferral; the requirement is not wrong for being unplanned |\n * | `success-criterion-coverage` — a vision success criterion no phase delivers | `top_down.scope-roadmap` | same owner, the vision's other half |\n * | `capability-completeness` — a market benefit wired to no delivering feature | `top_down.capability-map` | it authors the benefit → feature edges and the feature drafts |\n * | `positioning-icp-coherence` — pillars that miss the core ICPs or centre an anti-target | `top_down.value-proposition` | positioning and the ICP classifications live in its slice of the snapshot |\n * | `compliance-presence` — regulated data with no declared compliance constraint | the COMPLIANCE lane (#1502), through the root | the regimes are landed in the `compliance-posture` family by `compliance-posture`, which belongs to another lane |\n *\n * **The mapping lives HERE, on the lane, and that is where it belongs.** The judge's routable verdict\n * is keyed by criterion ref precisely so a lane author can name the criterion a revise child answers —\n * `toRoutableJudgeVerdict` says so at its own site: the mapping is the AUTHOR's declaration, never the\n * function's inference. The phase gate's TREATMENT cannot carry it either: an evaluation criterion is a\n * `strictObject` of ref, instruction, evidence requirements and verdict guidance, with no routing\n * field, and it should have none: the same gate could sit in another lane where the same criterion\n * faults a different leaf. Routing is the LANE's knowledge, so the lane declares it.\n *\n * A GAP on `requirement-coverage` therefore re-runs `scope-roadmap`, not `requirements-definition`:\n * the criterion reads the roadmap against the requirements, and the roadmap is the artifact that can\n * be wrong. A requirements gap the gate cannot see (a requirement that should exist and does not) is\n * a coherence finding, not a gate verdict, and re-opens `requirements-definition` through #57.\n *\n * **The table is the mechanism now** (`reopenOnVerdict` below, read by the choreography runtime). A\n * GAP on one of the first four criteria removes the mapped leaf from the run's delivered set, so it is\n * offered again, and the gate — which lands nothing and is therefore always re-offerable — can run\n * after it. The runtime clears `delivered`; no revise playbook exists. The two revise-child shapes\n * were rejected: three narrow children restate three leaves as a second description that drifts, and\n * one broad child claims three families and re-derives all of them when one faulted. This was held\n * back until the lane had run live, and it has (#1273, scratch-journey: the gate reached PASS on six\n * runs without anyone choosing a card), so the declaration now answers a loop that exists.\n *\n * GAP only. CONCERN is advice, not a fault. INDETERMINATE means the evidence could not settle the\n * criterion, and re-deriving the leaf does not produce evidence.\n *\n * `compliance-presence` is not declared HERE: its owner is the compliance lane, a SIBLING of this\n * lane under the root, and a composite re-opens only what it admits. This lane EXPORTS the gate's\n * verdict instead (`stepOutputs` below), and the root routes that criterion to the compliance lane\n * (#1627).\n *\n * The other two mechanisms this lane was authored to adopt are ADOPTED, and both cost zero edits:\n *\n * - **The decision boundary (#111)** — by already declaring `approval`, which the runtime now reads at\n * the end of every composite run.\n * - **The staleness gate (#57)** — `ARTIFACT_STALE` reads the DECLARING playbook's own `inputs[]`, so\n * its consumer is a child that re-derives a family, never a lane: a composite gating itself on\n * staleness would refuse the first run of every application. It is READINESS\n * (`PRECONDITION_CLASS_BY_KIND` in the eligibility service), so nobody proceeds past it, inside a lane\n * or out: a child gated on it is offered only when an input of the family it re-derives has moved,\n * which is what makes it a refresh child. (This said SEQUENCING-and-bypassed until 2026-09-27, #1608.)\n *\n * ## Inputs are declared for the SELECTOR, not for a generation\n *\n * A composite generates nothing, so its `inputs` reach exactly one reader: the round selector's\n * prompt, which renders the declared families that exist and omits the ones that do not. That is how\n * the selector tells a missing family from a landed one — the only way it can, since an eligible\n * child carries no \"already landed\" mark. The vision is read whole (it is small and it is the product);\n * everything else is read as a MAP so the selector knows WHAT exists without paying for its content.\n * `risk-register` has no aspect index, so a map of it would read as empty; it is read whole.\n */\nexport const playbookDefinition = {\n ref: 'top_down.definition',\n version: '0.2.0',\n phase: MetaWorkflow_Phase.TOP_DOWN,\n intent:\n 'Drive the top-down DEFINITION of the application as one lane: from an answered vision through market evidence, the market snapshot, the value proposition, the requirements, the capability map, the business model and the roadmap, to the phase gate — with the brand naming (screened name proposals), the brand identity, the risk register and the firm\\'s method (its services, decisions and signatories; on a service firm, or wherever a feature line needs it) beside the chain. An umbrella: it authors nothing itself; every child declares what it needs and the runtime recomputes what may run after each round, so the order is the leaves\\' preconditions and never a list. Select what is MISSING from the accepted truth shown to you. A child already on record whose inputs have not changed since it landed is not offered at all; every option is marked FIRST RUN, or REFRESH with the input that moved. Prefer first runs; take a refresh when its changed input matters to it. Run independent children in the same round (brand naming or the brand identity, and the risk register or the firm\\'s method beside the chain; several research lanes with different objectives). Run the phase gate once the roadmap is on record, and STOP after it has run — its verdict is this lane\\'s closing decision, and it is not re-run in the same run. A child whose interview the creator has not answered is not offered; run everything else and stop when nothing eligible advances the definition.',\n /*\n * A VALID vision (#3386). Every leaf of the chain needs it, and the root runs the vision interview in a round\n * of its own, so this lane and the compliance lane open on the same landing and run side by side. Until #3386\n * this lane had no precondition and STARTED at the interview, which kept compliance waiting behind the whole\n * definition. The lane still admits the interview: a re-answered interview is a REFRESH it may run, and the\n * creation timeline counts the vision as definition work because this lane reaches it.\n */\n preconditions: [\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },\n ],\n inputs: [\n { family: 'vision-brief' },\n { family: 'market-snapshot', render: MetaWorkflow_InputRender.MAP },\n { family: 'requirements', render: MetaWorkflow_InputRender.MAP },\n { family: 'feature-drafts', render: MetaWorkflow_InputRender.MAP },\n { family: 'business-model', render: MetaWorkflow_InputRender.MAP },\n { family: 'roadmap', render: MetaWorkflow_InputRender.MAP },\n { family: 'brand-brief', render: MetaWorkflow_InputRender.MAP },\n { family: 'risk-register' },\n ],\n // Nothing, for the market umbrella's recorded reason: a composite's deliverable is what its children\n // land, and the loop resolves this lane's write scope TRANSITIVELY through `admits` — every family\n // above except the vision's compliance slice, which the compliance lane owns.\n outputs: [],\n /*\n * The ONE value this lane hands up (#1627): the phase gate's verdict, so the root can send a SIBLING\n * lane back on a criterion this lane cannot fix itself (compliance presence belongs to the compliance\n * lane). A derived ref, exported through the ordinary lane export; its value is the routable verdict\n * (overall + per criterion), never shown to a generator (`isJudgeVerdictStepRef`).\n */\n stepOutputs: [\n {\n ref: 'judge:top_down.phase-gate',\n condensation: 'The phase gate verdict on the definition set: overall and per criterion (PASS, CONCERN, GAP or INDETERMINATE).',\n },\n ],\n method: {\n skillRefs: [],\n choreography: {\n /*\n * UNORDERED. Listed closing-move-first on purpose, the umbrellas' own trap check: if anything\n * ever read this array as a sequence the lane would try to judge a definition before any of it\n * existed, and the run would fail loudly rather than silently degrading.\n */\n admits: [\n 'top_down.phase-gate',\n 'top_down.scope-roadmap',\n 'top_down.business-model',\n 'top_down.capability-map',\n // Capability-map's drafts-only half, for a line with no market (#1604). The B2B SaaS line\n // excludes it and runs capability-map; a line that excludes capability-map runs this instead.\n 'top_down.feature-drafts',\n 'top_down.value-proposition',\n 'top_down.requirements-definition',\n // A NESTED LANE, not three siblings — see the un-flattening note above. Its evidence loop is its own.\n 'top_down.market-analysis',\n // A REFRESH only: the lane gates on a valid vision, which the root's own vision round lands first (#3386).\n 'top_down.vision-elicitation',\n // Beside the chain, not on it: each needs the vision (and the business model, for the register)\n // and nothing downstream needs them.\n // A NESTED LANE: proposes names and screens them (research + produce), landing the screening the\n // brand identity's `brand-name` CHOICE is computed from. Needs the market snapshot for the competitors.\n 'top_down.brand-naming',\n 'top_down.brand-identity',\n 'top_down.risk-register',\n // The firm's method (#2305): gated on the vision alone, so it runs beside the chain, usually before the market,\n // requirements and business model land; it is then offered again as a REFRESH as each lands, which its budget of\n // five runs allows (four runs and a retry). It\n // leaves the lines whose family is not applicable (B2B SaaS, internal tool) by itself, and comes back when a\n // feature line needs it.\n 'top_down.service-method',\n ],\n /*\n * The schema's ceiling. Derived, not guessed: one round per chain leaf (vision, produce,\n * value proposition, requirements, capability map, business model, roadmap, phase gate = 8; the\n * vision is the root's round since #3386, so seven here unless it is refreshed) plus\n * the market's evidence loop, which consumed FIVE of six iterations on its first measured run\n * (`top_down.market-analysis`, wonder-crm run 5), plus brand, risk and the firm's method running beside the chain at\n * no extra round when the selector pairs them. Fifteen on a fresh application if nothing loops;\n * twenty is the headroom for one re-search cycle and one re-run of a chain leaf. A breaker, not a\n * budget: it stops a loop spinning, it never refuses work for want of spend.\n */\n /*\n * The lane ENDS on its go/no-go decision, mechanically (#2236). The gate lands nothing, so it is never marked\n * delivered, and this used to rest on the selector reading the intent: on app-creation-test-004 the lane's\n * families landed and the gate never ran. When the selector stops first, the runtime runs the gate; when the\n * gate cannot run (its preconditions unmet), the lane ends recorded as not concluded, naming why.\n */\n closingMove: 'top_down.phase-gate',\n maximumIterations: 20,\n // The journey loop's own width. Research is breadth-first, and the chain's side leaves ride beside it.\n maximumLanesPerIteration: 3,\n /*\n * Two levels below this one: the market 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\n * lane a nested lane it could never run — an eligible-looking card that stops before its first\n * iteration.\n */\n maximumDepth: 2,\n /*\n * Three hours. The market loop measured ~168s per iteration and the compliance loop ~280s; a\n * chain generation with a full brief (requirements, capability map, roadmap) is in the same range,\n * and twenty iterations at the slower figure is ~95 minutes. The companion's HTTP request ceiling\n * (30 min) is SHORTER than this — submit the lane with `async: true` and read the outcome from\n * `/playbooks/runs`, as the compliance umbrella's own comment already warns. Literal: the\n * definition evaluator computes no expressions.\n */\n maximumDurationMs: 10_800_000,\n /** The criterion → leaf table above, executable. */\n reopenOnVerdict: [\n {\n whenVerdictOf: 'top_down.phase-gate',\n criterionRef: 'application-creation:criterion/requirement-coverage',\n verdicts: [MetaWorkflow_EvaluationVerdict.GAP],\n reopen: ['top_down.scope-roadmap'],\n },\n {\n whenVerdictOf: 'top_down.phase-gate',\n criterionRef: 'application-creation:criterion/success-criterion-coverage',\n verdicts: [MetaWorkflow_EvaluationVerdict.GAP],\n reopen: ['top_down.scope-roadmap'],\n },\n {\n whenVerdictOf: 'top_down.phase-gate',\n criterionRef: 'application-creation:criterion/capability-completeness',\n verdicts: [MetaWorkflow_EvaluationVerdict.GAP],\n reopen: ['top_down.capability-map'],\n },\n {\n whenVerdictOf: 'top_down.phase-gate',\n criterionRef: 'application-creation:criterion/positioning-icp-coherence',\n verdicts: [MetaWorkflow_EvaluationVerdict.GAP],\n reopen: ['top_down.value-proposition'],\n },\n ],\n },\n },\n /*\n * The lane's closing decision — accept the definition, or send it back.\n *\n * LIVE since #111 landed: `derivePlaybookChoreographyBoundary` reads this field at the end of every\n * composite run and the companion projects ONE `approve_result` decision onto the human-decision\n * plane — approve / revise / discard, over the paths this lane's children kept. The POSTURE decides\n * what it does: under YOLO it notifies and the run concludes; GUIDED's hold is the marked gate,\n * armed at Gate 3. `onFailure` below is read at the same boundary.\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.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/top_down.expert-personas/playbook.definition.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8CrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../src/playbooks/top_down.expert-personas/playbook.definition.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,KAAK,EAAE,0BAA0B;IACjC,SAAS,EAAE,OAAO;IAClB,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,m2BAAm2B;IAC72B,eAAe,EAAE;QACf;;;;;;;WAOG;QACH,EAAE,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,cAAc,EAAE,EAAE;QACvE,EAAE,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,iBAAiB,EAAE,EAAE;KAC3E;IACD;;;;;;OAMG;IACH,QAAQ,EAAE;QACR,EAAE,QAAQ,EAAE,cAAc,EAAE;QAC5B,EAAE,QAAQ,EAAE,iBAAiB,EAAE;QAC/B,EAAE,QAAQ,EAAE,cAAc,EAAE;QAC5B,EAAE,QAAQ,EAAE,gBAAgB,EAAE;QAC9B,EAAE,QAAQ,EAAE,aAAa,EAAE;KAC5B;IACD,SAAS,EAAE;QACT;YACE,QAAQ,EAAE,iBAAiB;YAC3B,aAAa,EAAE,iTAAiT;SACjU;KACF;IACD,QAAQ,EAAE;QACR,WAAW,EAAE,EAAE;KAChB;IACD,UAAU,EAAE,iBAAiB;IAC7B,UAAU,EAAE,gBAAgB;IAC5B,QAAQ,EAAE;QACR,SAAS,EAAE,CAAC;KACb;IACD,WAAW,EAAE,eAAe;CACpB,CAAC","sourcesContent":["/**\n * Canonical native declaration for this reusable application-creation method.\n *\n * A RUNNER-OWNED step, like `bottom_up.foundation`: the run short-circuits into the companion's\n * expert-persona derive → accept services before any brief is composed, so this declaration's\n * `inputs` are what the derivation READS through introspection (never a composed brief — #1434's lesson).\n * It carries no evaluation treatment: each charter is critiqued by the derivation's own multi-pass\n * DRAFT → CRITIQUE → FINALIZE protocol, whose report is persisted beside the proposal.\n *\n * ## It declares the family it lands, and the families its roles wait on (0.2.0, #2421 #2422)\n *\n * `outputs` names `expert-personas` although the generic landing renderer never writes it: the companion's\n * accept service writes per-role charter modules plus an aggregator, and the runner returns before the\n * generic path. The declaration is what the eligibility board reads. Without it the step wrote no family\n * the board could see, so its rerun verdict was UNTRACKED (offered every round, forever) and the journey\n * reported `eligible — nothing landed yet` after every role was staffed (app-creation-test-005).\n *\n * `inputs` names every family a role's shaping inputs read (`EXPERT_SHAPING_INPUT_FAMILY` in the companion),\n * not only the two gates. They are NOT preconditions: a role missing one is still reported as waiting. Declaring\n * them is what makes the step a REFRESH when one lands after a run that left roles waiting, which is the only\n * moment a re-run can staff them. On app-creation-test-005 three of four roles waited on the brand, the brand\n * landed minutes later, and nothing ran the step again.\n *\n * ## It refreshes a charter older than its inputs (0.3.0, #2819)\n * A committed charter was left alone forever, so after Wonder Todos' brand was reworded its design-system guardian\n * still asked for the look the brand had left. The board now dates each committed charter against the files its\n * shaping inputs render from (by the run that last wrote each file, else by its last commit) and offers this step as a\n * REFRESH when one changed after the charter; the run derives those charters again.\n */\nexport const playbookDefinition = {\n \"ref\": \"top_down.expert-personas\",\n \"version\": \"0.3.0\",\n \"phase\": \"top_down\",\n \"intent\": \"Staff every expert panel the catalog convenes: derive and accept an application-specific charter for each framework expert role that a deliberated playbook (`method.deliberation`) or a companion generation step (the logo panel) seats, grounded in the application's own vision, market, requirements, business model and brand. Idempotent: a role whose charter is committed and current is left alone, a committed charter older than one of its shaping inputs is derived again (a human-edited one is never overwritten and is named for the person to update, #2819), and a role whose shaping inputs have not landed yet is REPORTED as waiting rather than failing the run. Before this step existed the panel's staffing was not a journey step at all — every deliberated playbook failed closed at bind time on an application whose charters nobody had curled in by hand (#572).\",\n \"preconditions\": [\n /*\n * READINESS on the two families FOUR of the five role templates read (`shapingInputKinds` measured over\n * `EXPERT_ROLE_TEMPLATES` on 2026-09-22: information-architect, art-director, brand-strategist and\n * copy-chief all name VISION and MARKET; design-system-guardian names BRAND and DESIGN_SYSTEM only). The\n * gate is a convenience, not a necessity: without it the step would be eligible on an empty application\n * and derive nothing, since every other shaping input is checked PER ROLE at run time and a role whose\n * inputs are missing is reported as waiting. The guardian waits on the brand, which lands after both.\n */\n { \"kind\": \"artifact_exists\", \"selector\": { \"family\": \"vision-brief\" } },\n { \"kind\": \"artifact_exists\", \"selector\": { \"family\": \"market-snapshot\" } }\n ],\n /*\n * Every family a role's derivation reads (its shaping briefs are rendered from them through introspection,\n * not through a composed brief). The first two are also the readiness gates above, declared so those gates\n * are honest (audit: readiness-gated-family-not-declared). The role-specific three (requirements, business\n * model, brand) are NOT gates: a role missing one is reported as waiting, and their landing afterwards is what\n * makes this step a REFRESH, so the waiting role is staffed (#2421).\n */\n \"inputs\": [\n { \"family\": \"vision-brief\" },\n { \"family\": \"market-snapshot\" },\n { \"family\": \"requirements\" },\n { \"family\": \"business-model\" },\n { \"family\": \"brand-brief\" }\n ],\n \"outputs\": [\n {\n \"family\": \"expert-personas\",\n \"description\": \"One accepted charter per expert role a convened panel seats (written by the companion's expert-persona accept as a charter module per role plus the personas aggregator, never by the generic landing renderer). A role whose shaping inputs have not landed is reported as waiting and staffed by a later run.\"\n }\n ],\n \"method\": {\n \"skillRefs\": []\n },\n \"executor\": \"companion_agent\",\n \"approval\": \"approve_result\",\n \"budget\": {\n \"maxRuns\": 5\n },\n \"onFailure\": \"keep_and_flag\"\n} as const;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/top_down.feature-drafts/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8B+G,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../src/playbooks/top_down.feature-drafts/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,kBAAkB,GAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,GAAG,EAAE,yBAAyB;IAC9B,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE,kBAAkB,CAAC,QAAQ;IAClC,MAAM,EACJ,wRAAwR;IAC1R,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,MAAM,EAAE;QACN,EAAE,MAAM,EAAE,cAAc,EAAE;QAC1B,EAAE,MAAM,EAAE,cAAc,EAAE;QAC1B,2GAA2G;QAC3G,EAAE,MAAM,EAAE,gBAAgB,EAAE;KAC7B;IACD,OAAO,EAAE;QACP;YACE,MAAM,EAAE,gBAAgB;YACxB,SAAS,EAAE,gDAAgD;YAC3D,WAAW,EAAE,8HAA8H;SAC5I;KACF;IACD,MAAM,EAAE;QACN,SAAS,EAAE,CAAC,qBAAqB,CAAC;KACnC;IACD,QAAQ,EAAE,qBAAqB,CAAC,eAAe;IAC/C,QAAQ,EAAE,2BAA2B,CAAC,cAAc;IACpD,MAAM,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE;IACtB,SAAS,EAAE,0BAA0B,CAAC,aAAa;CACyF,CAAC","sourcesContent":["import {\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_Executor,\n MetaWorkflow_FailurePolicy,\n MetaWorkflow_PredicateKind,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n MetaWorkflow_Phase,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\n/**\n * Feature drafting for an application with NO market (#1604, epic #1602).\n *\n * `top_down.capability-map` produces the feature drafts AND refines the market snapshot, as one atomic\n * output set, and it is gated on that market. On a line where the market does not apply (an internal\n * tool), it can never run, and nothing else produces feature drafts, which the roadmap, the phase gate,\n * the domain plan and the build decomposition all read. This playbook is the half of capability-map\n * such a line needs: drafts from the requirements and the vision alone.\n *\n * A VARIANT rather than a reshape of capability-map: lines add playbooks and never edit another line's,\n * and the atomic market-and-drafts output set is exactly what the B2B SaaS line relies on. So the B2B\n * SaaS line excludes this playbook, and a line that excludes capability-map admits it.\n */\nexport const playbookDefinition = {\n ref: 'top_down.feature-drafts',\n version: '0.1.1',\n phase: MetaWorkflow_Phase.TOP_DOWN,\n intent:\n 'Draft the product capabilities an application needs from its accepted requirements and vision, for an application whose line has no market: one spec-first, ref-less feature specification draft per capability the requirements call for, each tracing to the requirements it serves.',\n preconditions: [\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'requirements' } },\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },\n ],\n inputs: [\n { family: 'requirements' },\n { family: 'vision-brief' },\n // Its own drafts: the method refines its prior output and keeps its refs (#1430). Input, not precondition.\n { family: 'feature-drafts' },\n ],\n outputs: [\n {\n family: 'feature-drafts',\n schemaRef: 'saas-specifications:FeatureSpecificationDrafts',\n description: 'A collection of runner-addressed, ref-less FeatureSpecificationDraft payloads, one per capability the requirements call for.',\n },\n ],\n method: {\n skillRefs: ['spec-feature-update'],\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} satisfies Omit<MetaWorkflowPlaybookAuthoring, 'method'> & { method: Omit<NonNullable<MetaWorkflowPlaybookAuthoring['method']>, 'guidance'> };\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/top_down.market-analysis/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6D9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../src/playbooks/top_down.market-analysis/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,kBAAkB,GAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,GAAG,EAAE,0BAA0B;IAC/B,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE,kBAAkB,CAAC,QAAQ;IAClC,MAAM,EACJ,6SAA6S;IAC/S,aAAa,EAAE;QACb,EAAE,IAAI,EAAE,0BAA0B,CAAC,cAAc,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE;KAC1F;IACD,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC;IACpC,kGAAkG;IAClG,qGAAqG;IACrG,qBAAqB;IACrB,EAAE;IACF,oGAAoG;IACpG,oGAAoG;IACpG,mFAAmF;IACnF,kGAAkG;IAClG,8FAA8F;IAC9F,sEAAsE;IACtE,OAAO,EAAE,EAAE;IACX,MAAM,EAAE;QACN,SAAS,EAAE,CAAC,2BAA2B,CAAC;QACxC,YAAY,EAAE;YACZ;;;;eAIG;YACH,MAAM,EAAE;gBACN,kCAAkC;gBAClC,0BAA0B;gBAC1B,mCAAmC;aACpC;YACD;;;;;;;;;;eAUG;YACH,iBAAiB,EAAE,EAAE;YACrB,6FAA6F;YAC7F,mFAAmF;YACnF,wBAAwB,EAAE,CAAC;YAC3B,6FAA6F;YAC7F,6EAA6E;YAC7E,4FAA4F;YAC5F,mFAAmF;YACnF,iBAAiB,EAAE,SAAS;SAC7B;KACF;IACD,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_Phase,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\n/**\n * The market-analysis UMBRELLA — a composite, not a producer.\n *\n * It keeps the `top_down.market-analysis` ref deliberately: downstream gates on the FAMILY\n * (`top_down.phase-gate` requires `artifact_valid: market-snapshot`), never on a playbook ref, so the\n * producing work could move to a child without a single downstream edit. The ref is also what a\n * creator asks for by name.\n *\n * ## What changed, and why it is not a workflow\n *\n * This playbook used to be a single generation call whose intent claimed derivation from \"sealed\n * research evidence\" while nothing anywhere supplied evidence and its own method admitted it. It is\n * now three children — gather, judge, produce — and the ORDER between them is nowhere in this file.\n * `admits` is a set. Order comes from the children's own preconditions, re-evaluated every iteration\n * against the tree and against what siblings have returned, plus the model's choice among whatever is\n * eligible. That is what makes re-search possible at all: when the gate returns INSUFFICIENT, produce\n * stays ineligible and research becomes the reasonable choice again — with an objective aimed at the\n * gaps the gate named, not a repeat of the first one.\n */\nexport const playbookDefinition = {\n ref: 'top_down.market-analysis',\n version: '0.2.0',\n phase: MetaWorkflow_Phase.TOP_DOWN,\n intent:\n 'Produce the market snapshot by gathering EVIDENCE, judging whether it is enough, and deriving the snapshot only once it is. An umbrella: it authors nothing itself — its deliverable is what its children land, and the order between them is decided by their own preconditions rather than declared here.',\n preconditions: [\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },\n ],\n inputs: [{ family: 'vision-brief' }],\n // Nothing. A composite's deliverable is what its children land; declaring its child's output here\n // would be two playbooks claiming one family and a landing path expecting THIS run to produce a file\n // it never produces.\n //\n // It stays empty, and the loop no longer reads that emptiness as \"writes nothing\": the disjointness\n // admission resolves a lane's write scope TRANSITIVELY through `admits`, so this playbook is scoped\n // to `market-snapshot` and cannot be admitted beside `top_down.value-proposition`,\n // `top_down.capability-map` or its own producing child. An earlier version of this comment argued\n // that declaring the output would force the admission to \"choose between a parent and its own\n // child\" — which is precisely the choice it must make, and could not.\n outputs: [],\n method: {\n skillRefs: ['market-authoring-overview'],\n choreography: {\n /*\n * UNORDERED. Listed produce-first on purpose: if anything ever read this array as a sequence\n * the composite would try to author a snapshot before any evidence existed, and the run would\n * fail loudly rather than silently degrading.\n */\n admits: [\n 'top_down.market-snapshot-produce',\n 'top_down.market-research',\n 'top_down.market-evidence-adequacy',\n ],\n /*\n * MEASURED, not guessed (wonder-crm run 5, 2026-08-29). That run needed\n * research → judge(INSUFFICIENT) → research → research → judge(ADEQUATE) → produce: the\n * adequacy loop consumed FIVE of six iterations and produce landed on the last one, stopping on\n * the ceiling rather than on a decision. A run needing one more re-search cycle would have spent\n * the evidence gathering and landed nothing.\n *\n * At ~168s per iteration the WALL CLOCK was the real constraint, not this count — eight\n * iterations would have exceeded the old 20-minute breaker, so raising one without the other\n * would have changed nothing. Both moved together.\n */\n maximumIterations: 10,\n // Breadth-first: research is the case where several lanes with DIFFERENT invented objectives\n // (category, competitors, pricing, buyers) beat one lane asked everything at once.\n maximumLanesPerIteration: 3,\n // A literal: playbook definitions are read by an effect-free evaluator that does not compute\n // expressions, so `20 * 60_000` is not something it can resolve. 20 minutes.\n // 40 minutes: ~10 iterations at the measured 168s, with headroom. A breaker, not a budget —\n // it exists to stop a loop spinning, never to refuse work for want of spend (D11).\n maximumDurationMs: 2_400_000,\n },\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.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/top_down.market-evidence-adequacy/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;CA6B9B,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { MetaWorkflow_ApprovalPolicy, MetaWorkflow_Executor, MetaWorkflow_Failur
|
|
|
2
2
|
import { MetaWorkflow_Phase, } from '@wildo-ai/saas-specifications/application-creation';
|
|
3
3
|
export const playbookDefinition = {
|
|
4
4
|
ref: 'top_down.market-evidence-adequacy',
|
|
5
|
-
version: '0.1.
|
|
5
|
+
version: '0.1.2',
|
|
6
6
|
phase: MetaWorkflow_Phase.TOP_DOWN,
|
|
7
7
|
intent: 'Judge whether the evidence gathered so far is ENOUGH to derive a market snapshot from, and when it is not, name precisely what is missing so the next research round is aimed rather than repeated. Returns a verdict a sibling\'s precondition READS; it authors nothing and lands nothing.',
|
|
8
8
|
preconditions: [
|
|
@@ -16,7 +16,7 @@ export const playbookDefinition = {
|
|
|
16
16
|
// behind `@wildo-ai/saas-models/meta-workflows`. Declared under the wrong package it resolved to nothing and the
|
|
17
17
|
// verdict was generated as free text, so the gate it feeds could never open (2026-09-21, #1273).
|
|
18
18
|
schemaRef: 'saas-models:MetaWorkflow_EvidenceAdequacy',
|
|
19
|
-
condensation: 'A verdict
|
|
19
|
+
condensation: 'A verdict; the gaps a further research round can still close (none when ADEQUATE); the open facts no research can close, each with what it decides; and a rationale grounded in what was actually gathered.',
|
|
20
20
|
description: 'The adequacy gate the produce step is conditioned on.',
|
|
21
21
|
}],
|
|
22
22
|
method: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../src/playbooks/top_down.market-evidence-adequacy/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,kBAAkB,GAEnB,MAAM,oDAAoD,CAAC;AAE5D,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,GAAG,EAAE,mCAAmC;IACxC,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE,kBAAkB,CAAC,QAAQ;IAClC,MAAM,EACJ,8RAA8R;IAChS,aAAa,EAAE;QACb,EAAE,IAAI,EAAE,0BAA0B,CAAC,cAAc,EAAE,GAAG,EAAE,iBAAiB,EAAE;KAC5E;IACD,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC;IACpC,OAAO,EAAE,EAAE;IACX,WAAW,EAAE,CAAC;YACZ,GAAG,EAAE,mBAAmB;YACxB,6GAA6G;YAC7G,iHAAiH;YACjH,iGAAiG;YACjG,SAAS,EAAE,2CAA2C;YACtD,YAAY,EAAE,6MAA6M;YAC3N,WAAW,EAAE,uDAAuD;SACrE,CAAC;IACF,MAAM,EAAE;QACN,SAAS,EAAE,CAAC,4BAA4B,CAAC;KAC1C;IACD,QAAQ,EAAE,qBAAqB,CAAC,eAAe;IAC/C,QAAQ,EAAE,2BAA2B,CAAC,IAAI;IAC1C,MAAM,EAAE,EAAE;IACV,SAAS,EAAE,0BAA0B,CAAC,aAAa;CAGpD,CAAC","sourcesContent":["import {\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_Executor,\n MetaWorkflow_FailurePolicy,\n MetaWorkflow_PredicateKind,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n MetaWorkflow_Phase,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\nexport const playbookDefinition = {\n ref: 'top_down.market-evidence-adequacy',\n version: '0.1.2',\n phase: MetaWorkflow_Phase.TOP_DOWN,\n intent:\n 'Judge whether the evidence gathered so far is ENOUGH to derive a market snapshot from, and when it is not, name precisely what is missing so the next research round is aimed rather than repeated. Returns a verdict a sibling\\'s precondition READS; it authors nothing and lands nothing.',\n preconditions: [\n { kind: MetaWorkflow_PredicateKind.STEP_AVAILABLE, ref: 'market-evidence' },\n ],\n inputs: [{ family: 'vision-brief' }],\n outputs: [],\n stepOutputs: [{\n ref: 'evidence-adequacy',\n // `saas-models`, not `saas-specifications`: the contract is `MetaWorkflow_EvidenceAdequacySchema`, published\n // behind `@wildo-ai/saas-models/meta-workflows`. Declared under the wrong package it resolved to nothing and the\n // verdict was generated as free text, so the gate it feeds could never open (2026-09-21, #1273).\n schemaRef: 'saas-models:MetaWorkflow_EvidenceAdequacy',\n condensation: 'A verdict; the gaps a further research round can still close (none when ADEQUATE); the open facts no research can close, each with what it decides; and a rationale grounded in what was actually gathered.',\n description: 'The adequacy gate the produce step is conditioned on.',\n }],\n method: {\n skillRefs: ['market-snapshot-validation'],\n },\n executor: MetaWorkflow_Executor.COMPANION_AGENT,\n approval: MetaWorkflow_ApprovalPolicy.AUTO,\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.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/top_down.market-research/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0B9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../src/playbooks/top_down.market-research/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,kBAAkB,GAEnB,MAAM,oDAAoD,CAAC;AAE5D,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,GAAG,EAAE,0BAA0B;IAC/B,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE,kBAAkB,CAAC,QAAQ;IAClC,MAAM,EACJ,+YAA+Y;IACjZ,aAAa,EAAE;QACb,EAAE,IAAI,EAAE,0BAA0B,CAAC,cAAc,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE;KAC1F;IACD,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC;IACpC,OAAO,EAAE,EAAE;IACX,WAAW,EAAE,CAAC;YACZ,GAAG,EAAE,iBAAiB;YACtB,YAAY,EACV,+WAA+W;YACjX,WAAW,EAAE,oFAAoF;SAClG,CAAC;IACF,MAAM,EAAE;QACN,SAAS,EAAE,CAAC,iBAAiB,EAAE,qBAAqB,CAAC;KACtD;IACD,QAAQ,EAAE,qBAAqB,CAAC,cAAc;IAC9C,QAAQ,EAAE,2BAA2B,CAAC,IAAI;IAC1C,MAAM,EAAE,EAAE;IACV,SAAS,EAAE,0BAA0B,CAAC,aAAa;CAGpD,CAAC","sourcesContent":["import {\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_Executor,\n MetaWorkflow_FailurePolicy,\n MetaWorkflow_PredicateKind,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n MetaWorkflow_Phase,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\nexport const playbookDefinition = {\n ref: 'top_down.market-research',\n version: '0.1.0',\n phase: MetaWorkflow_Phase.TOP_DOWN,\n intent:\n 'Gather EVIDENCE about the product\\'s market from the public web — the category as it is actually named, who sells into it, what they charge, and what buyers say — and return a condensed, source-attributed brief. Produces no specification family: its whole deliverable is evidence a sibling derives from. Runs READ-ONLY: it can fetch and search, and it cannot write, execute or touch the workspace.',\n preconditions: [\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },\n ],\n inputs: [{ family: 'vision-brief' }],\n outputs: [],\n stepOutputs: [{\n ref: 'market-evidence',\n condensation:\n 'A brief of at most ~2000 words: the category as sources name it, the competing alternatives found with what each charges, the buyer language observed, and an explicit list of what could NOT be sourced. Every claim carries the URL it came from. Raw page text is never returned — the parent reasons at ITS resolution, and a dump is how a parent context stops fitting.',\n description: 'Source-attributed market evidence, condensed for the sibling that derives from it.',\n }],\n method: {\n skillRefs: ['market-category', 'market-alternatives'],\n },\n executor: MetaWorkflow_Executor.RESEARCH_AGENT,\n approval: MetaWorkflow_ApprovalPolicy.AUTO,\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.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/top_down.market-snapshot-produce/playbook.definition.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,gCAAgC,EAChC,sCAAsC,EACtC,0CAA0C,EAC1C,6CAA6C,EAC7C,8BAA8B,EAC9B,oCAAoC,EACpC,+BAA+B,EAC/B,6BAA6B,EAC7B,+BAA+B,EAC/B,sCAAsC,EACtC,kDAAkD,EAClD,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,0BAA0B,EAC1B,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8D+G,CAAC;AAE/I,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4CW,CAAC;AAEvD,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqHW,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { MetaWorkflow_AuthorityAssuranceClass, MetaWorkflow_AuthorityDecisionMod
|
|
|
2
2
|
import { MetaWorkflow_ContextSource, MetaWorkflow_Phase, } from '@wildo-ai/saas-specifications/application-creation';
|
|
3
3
|
export const playbookDefinition = {
|
|
4
4
|
ref: 'top_down.market-snapshot-produce',
|
|
5
|
-
version: '0.1.
|
|
5
|
+
version: '0.1.2',
|
|
6
6
|
phase: MetaWorkflow_Phase.TOP_DOWN,
|
|
7
7
|
intent: 'Derive a validated market snapshot from the vision and from the EVIDENCE a sibling research step gathered — the artifact-producing child of the `top_down.market-analysis` composite. The provider proposes the market graph; the trusted runtime stamps entity refs/version and keeps provenance, authority and accepted-family mutation outside model output. Its intent used to claim derivation from "sealed research evidence" while nothing supplied any; it now runs only once an adequacy gate has read the evidence and returned ADEQUATE.',
|
|
8
8
|
preconditions: [
|