@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
|
@@ -76,14 +76,26 @@ export enum BrandNameMatchType {
|
|
|
76
76
|
NEAR_IDENTICAL = 'NEAR_IDENTICAL',
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
/**
|
|
79
|
+
/**
|
|
80
|
+
* What one register query returned. `UNKNOWN` is a query that could not be completed, and `NOT_SEARCHED` one that was
|
|
81
|
+
* never run for this candidate — neither is ever a clear one.
|
|
82
|
+
*/
|
|
80
83
|
export enum BrandNameTrademarkQueryOutcome {
|
|
81
84
|
/** Searched, at full coverage, and no live identical or near-identical mark found. */
|
|
82
85
|
CLEAR = 'CLEAR',
|
|
83
86
|
/** At least one live identical or near-identical mark in a searched class. */
|
|
84
87
|
CONFLICT = 'CONFLICT',
|
|
85
|
-
/** The
|
|
88
|
+
/** The search for THIS candidate was run and the register was unreachable, or its result could not be read. */
|
|
86
89
|
UNKNOWN = 'UNKNOWN',
|
|
90
|
+
/**
|
|
91
|
+
* No search for THIS candidate was run on this register (#3239). Recorded when the register failed on an attempt
|
|
92
|
+
* made for ANOTHER name, so a search for this one was not tried: `searchedName` and `sourceUrl` then cite that
|
|
93
|
+
* shared attempt honestly, and `note` says so; its classes, match types and jurisdictions are those of the cited
|
|
94
|
+
* attempt, the search this candidate would have had. Read exactly like UNKNOWN (nothing was read), and the only
|
|
95
|
+
* outcome whose `searchedName` may name another candidate. On app-creation-test-007 one failed attempt per register for
|
|
96
|
+
* "groundwork" was copied onto four other candidates as their own searches, with the groundwork search URL.
|
|
97
|
+
*/
|
|
98
|
+
NOT_SEARCHED = 'NOT_SEARCHED',
|
|
87
99
|
}
|
|
88
100
|
|
|
89
101
|
/** The status of a conflicting mark. Only LIVE marks are recorded: an expired or withdrawn mark is not a conflict. */
|
|
@@ -217,6 +229,13 @@ export const BrandNameTrademarkQuerySchema = z.object({
|
|
|
217
229
|
niceClassesSearched: z.array(NiceClassNumberSchema).min(1),
|
|
218
230
|
matchTypesSearched: z.array(z.enum(BrandNameMatchType).systemEnum('BrandNameMatchType')).min(1),
|
|
219
231
|
outcome: z.enum(BrandNameTrademarkQueryOutcome).systemEnum('BrandNameTrademarkQueryOutcome'),
|
|
232
|
+
/**
|
|
233
|
+
* The name the register was actually asked about (#3239): the term the search ran with. It is this candidate's name
|
|
234
|
+
* for every outcome but `NOT_SEARCHED`, which cites the attempt made for another name. Optional in the STORED record
|
|
235
|
+
* only because screenings landed before the field existed carry none; the generation schema requires it, and the
|
|
236
|
+
* validator reads the `sourceUrl` of a record without it.
|
|
237
|
+
*/
|
|
238
|
+
searchedName: NonEmptyStringSchema.optional(),
|
|
220
239
|
/**
|
|
221
240
|
* How the register was reached (#2333). Optional in the STORED record only because screenings landed before
|
|
222
241
|
* the field existed carry none; read it through {@link resolveBrandNameQueryAccessPath}, never directly. A
|
|
@@ -295,12 +314,20 @@ export type BrandNameCandidate = z.infer<typeof BrandNameCandidateSchema>;
|
|
|
295
314
|
* THE brand-name screening payload — one per application. `jurisdictions` and `niceClasses` are the
|
|
296
315
|
* coverage every candidate is measured against: a candidate whose queries do not reach all of them is
|
|
297
316
|
* UNKNOWN, whatever its queries say.
|
|
317
|
+
*
|
|
318
|
+
* `jurisdictions` may be EMPTY (#3484): nothing declares a target yet, because the creator left where the product's users
|
|
319
|
+
* are "not decided yet" and neither the market, the vision nor the configuration names a place. The screening still
|
|
320
|
+
* records what it searched (international registrations, `WO`, are always required), and is MARKED rather than refused:
|
|
321
|
+
* no candidate of a screening with no target is ever CLEAR ({@link deriveBrandNameTrademarkOutcome}), and its
|
|
322
|
+
* validation carries `TARGET_JURISDICTIONS_NOT_DECLARED` as an advisory (`application-creation-directive.md`: an
|
|
323
|
+
* unfinished answer travels with the artifact, it does not stop it).
|
|
298
324
|
*/
|
|
299
325
|
export const BrandNameScreeningSchema = z.object({
|
|
300
326
|
version: z.enum(BrandNameScreeningVersion).default(BrandNameScreeningVersion.V1),
|
|
301
327
|
/** The day the screening was run. */
|
|
302
328
|
screenedOn: IsoDateSchema,
|
|
303
|
-
jurisdictions
|
|
329
|
+
/** The target jurisdictions searched; empty while no target is declared (see above). */
|
|
330
|
+
jurisdictions: z.array(BrandNameScreeningJurisdictionSchema),
|
|
304
331
|
niceClasses: z.array(BrandNameScreeningNiceClassSchema).min(1),
|
|
305
332
|
candidates: z.array(BrandNameCandidateSchema).min(1),
|
|
306
333
|
});
|
|
@@ -32,7 +32,7 @@ export enum BuildPlanTaskTargetKind {
|
|
|
32
32
|
MODULE = 'MODULE',
|
|
33
33
|
/** One build stage of one resource: schema → config → ui-behavior → spec. */
|
|
34
34
|
RESOURCE_STAGE = 'RESOURCE_STAGE',
|
|
35
|
-
/**
|
|
35
|
+
/** The relationships between resources wired in ONE module's relationships file (#3209): one task per file, not per edge. */
|
|
36
36
|
RELATIONSHIP = 'RELATIONSHIP',
|
|
37
37
|
/** A companion-owned deterministic generation step (labels, email templates, logo or database migrations) interleaved by the build loop, never a coding-agent run. */
|
|
38
38
|
COMPANION_GENERATION_STEP = 'COMPANION_GENERATION_STEP',
|
|
@@ -129,6 +129,20 @@ export enum BuildPlanTaskTargetKind {
|
|
|
129
129
|
* modelled roles as an access-role RESOURCE that nothing reads.
|
|
130
130
|
*/
|
|
131
131
|
APPLICATION_ROLES = 'APPLICATION_ROLES',
|
|
132
|
+
/**
|
|
133
|
+
* The application's ORGANIZATION MODEL (#3035, #3036): the organization types and the relationship kinds between them,
|
|
134
|
+
* declared in `wildo.saas.config.ts` (`organizationTypes`, `organizationRelationships`), and the confinements of an
|
|
135
|
+
* organization's rows to its units or to their owners, declared in the backend's startup configuration
|
|
136
|
+
* (`backend-api/src/bootstrap-config.ts`: `organizationUnitNarrowing`, `organizationOwnRows`).
|
|
137
|
+
*
|
|
138
|
+
* Its own kind because none of the others is true of it. It is application-wide and names no module, like the role
|
|
139
|
+
* table, but it is not the role table: an organization type is the shape a tenant takes (its user types, the roles it
|
|
140
|
+
* offers, how it is joined), and a relationship kind is what one organization may do for another. Borrowing
|
|
141
|
+
* `APPLICATION_ROLES` would have given a task deciding them the role table's scope and the roles skill. Before it
|
|
142
|
+
* existed, creation could lay these down only from fixed blueprints, and a confinement the requirements stated
|
|
143
|
+
* produced no work at all, so a generated internal tool showed every record to every member.
|
|
144
|
+
*/
|
|
145
|
+
ORGANIZATION_MODEL = 'ORGANIZATION_MODEL',
|
|
132
146
|
}
|
|
133
147
|
|
|
134
148
|
/**
|
|
@@ -210,6 +224,40 @@ export enum ProviderBindingScope {
|
|
|
210
224
|
WEBSITE = 'WEBSITE',
|
|
211
225
|
}
|
|
212
226
|
|
|
227
|
+
/**
|
|
228
|
+
* The inbound channels a creation run can PLAN (#1630, #3394): the members of `InboundChannelKind` an application
|
|
229
|
+
* declares as channels work arrives on, and that a channel handler can be built for. One list, read by the integration
|
|
230
|
+
* plan's declaration and by the build task's product, so the two cannot disagree about what is plannable.
|
|
231
|
+
*
|
|
232
|
+
* `EMAIL` (received by the `EMAIL_INBOUND` provider, routed by the address) and `SMS` (received by the SMS provider's
|
|
233
|
+
* notification endpoint, routed by the number the text was sent TO). `WEBHOOK` is absent on purpose: it is the channel
|
|
234
|
+
* every signed delivery from another system arrives on, derived for that delivery and never declared.
|
|
235
|
+
*
|
|
236
|
+
* ## A NAMED const object, not a TypeScript enum and not an array (#3685)
|
|
237
|
+
*
|
|
238
|
+
* The schemas read it as `z.enum(PlannableInboundChannelKind)`, so the schema node keeps THIS object as its
|
|
239
|
+
* vocabulary, and a landed build or integration plan can name it: `deriveLandingRenderEnumBindings` resolves an
|
|
240
|
+
* enum node by the IDENTITY of that object against the package's exports. `z.enum([EMAIL, SMS])` built a fresh
|
|
241
|
+
* anonymous object, which nothing exports, so every plan landing refused ("Closed vocabularies with no exported
|
|
242
|
+
* name … tasks.*.produces.*.channel (email, sms)"), so no build plan could land at all.
|
|
243
|
+
*
|
|
244
|
+
* Not a TypeScript enum, because a subset of a vocabulary must keep the OWNER's members: an enum would make
|
|
245
|
+
* `PlannableInboundChannelKind.SMS` a nominal type of its own, no longer an `InboundChannelKind`, and every reader
|
|
246
|
+
* that maps a planned channel onto the inbound vocabulary would stop compiling. Each member here IS the
|
|
247
|
+
* `InboundChannelKind` member, so a landed `PlannableInboundChannelKind.SMS` is assignable where the channel is read.
|
|
248
|
+
*/
|
|
249
|
+
export const PlannableInboundChannelKind = {
|
|
250
|
+
EMAIL: InboundChannelKind.EMAIL,
|
|
251
|
+
SMS: InboundChannelKind.SMS,
|
|
252
|
+
} as const;
|
|
253
|
+
export type PlannableInboundChannelKind = (typeof PlannableInboundChannelKind)[keyof typeof PlannableInboundChannelKind];
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* The same vocabulary as a list, for code that iterates it. Derived from {@link PlannableInboundChannelKind}, never
|
|
257
|
+
* written twice.
|
|
258
|
+
*/
|
|
259
|
+
export const PLANNABLE_INBOUND_CHANNEL_KINDS: readonly PlannableInboundChannelKind[] = Object.values(PlannableInboundChannelKind);
|
|
260
|
+
|
|
213
261
|
/** The per-resource build stages, in their fixed order. */
|
|
214
262
|
export enum BuildPlanResourceStage {
|
|
215
263
|
SCHEMA = 'SCHEMA',
|
|
@@ -460,6 +508,49 @@ export enum BuildPlanTaskProductKind {
|
|
|
460
508
|
* read from that package's build.
|
|
461
509
|
*/
|
|
462
510
|
RELATIONSHIP_CONFERRED_ROLE = 'RELATIONSHIP_CONFERRED_ROLE',
|
|
511
|
+
/*
|
|
512
|
+
* THE ORGANIZATION MODEL (#3035, #3036, #3039). What the domain plan's `organizationModel` decides, each proven from what
|
|
513
|
+
* the application DECLARES: its configuration, read fresh, for a type and a relationship kind; the registry its backend
|
|
514
|
+
* assembles at startup for a confinement and a binding. None of them is a name the tree spells in one place (a
|
|
515
|
+
* resource type is written through its constant, a binding's instance through a declaration helper), so no text probe
|
|
516
|
+
* could prove them.
|
|
517
|
+
*/
|
|
518
|
+
/**
|
|
519
|
+
* One organization type the application declares in `wildo.saas.config.ts` `organizationTypes`: the shape a tenant
|
|
520
|
+
* takes. Lands when the configuration, read fresh, declares the type carrying what the plan decided of it (the roles
|
|
521
|
+
* it offers, the user types it grants, a required second factor).
|
|
522
|
+
*
|
|
523
|
+
* The type that OWNS the application is identified by `ownsApplication`, never by its key. By the time the build runs
|
|
524
|
+
* the platform has already created the operator's organization under the scaffold's key (`workspace`), and the
|
|
525
|
+
* application line may have set its joining posture, so a plan naming its owner `group` revises THAT type: adding a
|
|
526
|
+
* second owner type is refused by the configuration at startup, and replacing it would lose the organization already
|
|
527
|
+
* created. Its key and its people's user type are renamed to the plan's through a declared rename (`renamedFrom`,
|
|
528
|
+
* #3044), which the foundation usually makes; the product lands only under the plan's key, granting exactly the plan's
|
|
529
|
+
* user types.
|
|
530
|
+
*/
|
|
531
|
+
ORGANIZATION_TYPE = 'ORGANIZATION_TYPE',
|
|
532
|
+
/**
|
|
533
|
+
* One kind of relationship between organizations, by its key in `organizationRelationships` (`partnership`): which
|
|
534
|
+
* types represent and which grant, and what the relationship may confer. Never a module and never a resource
|
|
535
|
+
* (#2617): the engine owns the relationship rows. Lands when the configuration, read fresh, declares the key.
|
|
536
|
+
*/
|
|
537
|
+
ORGANIZATION_RELATIONSHIP_KIND = 'ORGANIZATION_RELATIONSHIP_KIND',
|
|
538
|
+
/**
|
|
539
|
+
* One resource's rows confined below the whole organization (#3036), in one {@link OrganizationRowConfinementMode}: to
|
|
540
|
+
* the unit a member holds a role in (`organizationUnitNarrowing`), or to the rows a member owns (`organizationOwnRows`),
|
|
541
|
+
* on the field the plan names. Lands when the backend's startup configuration declares the resource in that mode on
|
|
542
|
+
* that field. One resource may be confined in both modes (a department head sees the department's requests, an
|
|
543
|
+
* employee only their own), so the mode is part of the product's identity.
|
|
544
|
+
*/
|
|
545
|
+
ORGANIZATION_UNIT_CONFINEMENT = 'ORGANIZATION_UNIT_CONFINEMENT',
|
|
546
|
+
/**
|
|
547
|
+
* One resource whose records live in a system of record (#3039), bound to the instance the application declares under
|
|
548
|
+
* `systemsOfRecord` (`odoo`), of the vendor the domain plan named. Read through (`httpApiBinding`) or copied (an
|
|
549
|
+
* inbound `externalDataPipeline`), as its {@link SystemOfRecordAccess} says. Lands when the resource's configuration
|
|
550
|
+
* binds that instance through that lane and the configuration declares the instance with that vendor, partitioned
|
|
551
|
+
* exactly when the plan splits the records by legal entity (#3045; a copy then stamps each row's partition).
|
|
552
|
+
*/
|
|
553
|
+
SYSTEM_OF_RECORD_BINDING = 'SYSTEM_OF_RECORD_BINDING',
|
|
463
554
|
}
|
|
464
555
|
|
|
465
556
|
/**
|
|
@@ -701,10 +792,63 @@ export const BuildPlanTaskProductSchema = z.discriminatedUnion('kind', [
|
|
|
701
792
|
/** The role conferred, by its key in the role table (`ORG_QUALIFIED_ACCOUNTANT`), a core role or the application's. */
|
|
702
793
|
roleRef: z.string().regex(APPLICATION_ROLE_NAME_PATTERN),
|
|
703
794
|
}),
|
|
795
|
+
z.strictObject({
|
|
796
|
+
kind: z.literal(BuildPlanTaskProductKind.ORGANIZATION_TYPE).systemEnum('BuildPlanTaskProductKind'),
|
|
797
|
+
/**
|
|
798
|
+
* The type's ref as the domain plan's organization model names it (`regulated-client`): its key in
|
|
799
|
+
* `organizationTypes`, except for the owner type, which is found by `ownsApplication` whatever its key.
|
|
800
|
+
*/
|
|
801
|
+
organizationTypeRef: SlugSchema,
|
|
802
|
+
/** The type operates the application. Then the configuration's own owner type is the one the plan describes. */
|
|
803
|
+
ownsApplication: z.literal(true).optional(),
|
|
804
|
+
/** The roles the type must offer (`availableOrgRoles`, or the engine's default offer). */
|
|
805
|
+
offeredRoles: z.array(z.string().regex(APPLICATION_ROLE_NAME_PATTERN)).min(1).optional(),
|
|
806
|
+
/** The user types the type must grant its members (`userTypes`). */
|
|
807
|
+
userTypes: z.array(SlugSchema).min(1).optional(),
|
|
808
|
+
/** Whether the type's members must use a second factor (`authOverrides.mfaPolicy.requireMFA`). */
|
|
809
|
+
requiresMfa: z.boolean().optional(),
|
|
810
|
+
}),
|
|
811
|
+
z.strictObject({
|
|
812
|
+
kind: z.literal(BuildPlanTaskProductKind.ORGANIZATION_RELATIONSHIP_KIND).systemEnum('BuildPlanTaskProductKind'),
|
|
813
|
+
/** The kind's key in `organizationRelationships` (`partnership`), the same key a `RELATIONSHIP_CONFERRED_ROLE` names. */
|
|
814
|
+
relationshipRef: SlugSchema,
|
|
815
|
+
}),
|
|
816
|
+
z.strictObject({
|
|
817
|
+
kind: z.literal(BuildPlanTaskProductKind.ORGANIZATION_UNIT_CONFINEMENT).systemEnum('BuildPlanTaskProductKind'),
|
|
818
|
+
resourceRef: SlugSchema,
|
|
819
|
+
mode: z.enum(OrganizationRowConfinementMode).systemEnum('OrganizationRowConfinementMode'),
|
|
820
|
+
/**
|
|
821
|
+
* The field the confinement reads, as the resource's schema names it: the unit field (`organizationUnitId`) for
|
|
822
|
+
* `ORGANIZATION_UNIT`, the owning user's field (`createdByUserId`) for `OWN_ROWS`. Compared exactly, because a
|
|
823
|
+
* confinement on another field confines by something else.
|
|
824
|
+
*/
|
|
825
|
+
fieldName: z.string().regex(/^[A-Za-z_$][A-Za-z0-9_$]*$/),
|
|
826
|
+
}),
|
|
827
|
+
z.strictObject({
|
|
828
|
+
kind: z.literal(BuildPlanTaskProductKind.SYSTEM_OF_RECORD_BINDING).systemEnum('BuildPlanTaskProductKind'),
|
|
829
|
+
resourceRef: SlugSchema,
|
|
830
|
+
/** The instance's key in `systemsOfRecord` (`odoo`), the name a binding's `system` carries. */
|
|
831
|
+
systemOfRecordRef: z.string().regex(SYSTEM_OF_RECORD_NAME_PATTERN),
|
|
832
|
+
/**
|
|
833
|
+
* The system's facet, as the domain plan names it (`odoo`, `sap-s4hana`): the `vendor` the declared instance must
|
|
834
|
+
* carry, so a binding to an instance of another vendor does not land.
|
|
835
|
+
*/
|
|
836
|
+
systemOfRecordKind: SlugSchema,
|
|
837
|
+
/** The lane the domain plan decided: read through on every request, or copied by a pipeline. Required there, so here. */
|
|
838
|
+
access: z.enum(SystemOfRecordAccess).systemEnum('SystemOfRecordAccess'),
|
|
839
|
+
/**
|
|
840
|
+
* Whether the instance's records are split by legal entity (#3045), as the domain plan's record location says
|
|
841
|
+
* (`domainPlanRecordPartitionPartitionsInstance`): `true` declares `partition: true` on the instance, and a copied
|
|
842
|
+
* resource then stamps each row's unit and entity key on its pipeline (`partitionUnitLocalField`,
|
|
843
|
+
* `partitionKeyLocalField`); `false` declares neither. The landing probe compares it with the instance's flag. Absent
|
|
844
|
+
* (a plan written before #3045): not compared.
|
|
845
|
+
*/
|
|
846
|
+
partitioned: z.boolean().optional(),
|
|
847
|
+
}),
|
|
704
848
|
z.strictObject({
|
|
705
849
|
kind: z.literal(BuildPlanTaskProductKind.INBOUND_CHANNEL_HANDLER).systemEnum('BuildPlanTaskProductKind'),
|
|
706
|
-
/** The channel the handler serves — one the integration plan declared
|
|
707
|
-
channel: z.
|
|
850
|
+
/** The channel the handler serves — one the integration plan declared ({@link PlannableInboundChannelKind}). */
|
|
851
|
+
channel: z.enum(PlannableInboundChannelKind).systemEnum('InboundChannelKind'),
|
|
708
852
|
/** The handler's `ref`, exactly as `inboundHandlerRef()` will accept it. */
|
|
709
853
|
handlerRef: z.string().regex(INBOUND_HANDLER_REF_PATTERN),
|
|
710
854
|
}),
|
|
@@ -809,6 +953,17 @@ export function buildPlanTaskProductIdentities(product: BuildPlanTaskProduct): r
|
|
|
809
953
|
return [`${product.kind}:${product.resourceRef}`];
|
|
810
954
|
case BuildPlanTaskProductKind.RELATIONSHIP_CONFERRED_ROLE:
|
|
811
955
|
return [`${product.kind}:${product.relationshipRef}:${product.roleRef}`];
|
|
956
|
+
// The OWNER type is one per application whatever its key, so two products describing it would make landing ambiguous.
|
|
957
|
+
case BuildPlanTaskProductKind.ORGANIZATION_TYPE:
|
|
958
|
+
return [product.ownsApplication === true ? `${product.kind}:application-owner` : `${product.kind}:${product.organizationTypeRef}`];
|
|
959
|
+
case BuildPlanTaskProductKind.ORGANIZATION_RELATIONSHIP_KIND:
|
|
960
|
+
return [`${product.kind}:${product.relationshipRef}`];
|
|
961
|
+
// The MODE is part of the identity: one resource may be confined to the unit AND to its owner's rows (#3036).
|
|
962
|
+
case BuildPlanTaskProductKind.ORGANIZATION_UNIT_CONFINEMENT:
|
|
963
|
+
return [`${product.kind}:${product.resourceRef}:${product.mode}`];
|
|
964
|
+
// The resource alone: one resource's records live in one place, so two bindings of it would make landing ambiguous.
|
|
965
|
+
case BuildPlanTaskProductKind.SYSTEM_OF_RECORD_BINDING:
|
|
966
|
+
return [`${product.kind}:${product.resourceRef}`];
|
|
812
967
|
default: {
|
|
813
968
|
const unhandled: never = product;
|
|
814
969
|
throw new Error(`Unhandled build-plan task product ${JSON.stringify(unhandled)}.`);
|
|
@@ -885,6 +1040,28 @@ export const AI_USE_DECLARATION_SKILL_REF = 'ai-use-declaration';
|
|
|
885
1040
|
*/
|
|
886
1041
|
export const AGENT_APPROVAL_GATE_SKILL_REF = 'flows-actors-chat-assistant';
|
|
887
1042
|
|
|
1043
|
+
/**
|
|
1044
|
+
* The skill an organization-type task is built with (#3040): `organizationTypes` in the application's configuration, the
|
|
1045
|
+
* user types and roles a type offers, how it is joined, and the identity overrides it may carry. The dispatch derives it
|
|
1046
|
+
* from an `ORGANIZATION_TYPE` product whatever the decomposer wrote. A relationship kind is built with
|
|
1047
|
+
* {@link ORGANIZATION_RELATIONSHIPS_SKILL_REF}.
|
|
1048
|
+
*/
|
|
1049
|
+
export const ORGANIZATION_TYPE_SKILL_REF = 'config-saas-backend';
|
|
1050
|
+
|
|
1051
|
+
/**
|
|
1052
|
+
* The skill a confinement task is built with (#3040): `organizationUnitNarrowing` and `organizationOwnRows` at startup,
|
|
1053
|
+
* and why a confined resource's reads are gated above the default member role. Derived from an
|
|
1054
|
+
* `ORGANIZATION_UNIT_CONFINEMENT` product whatever the decomposer wrote.
|
|
1055
|
+
*/
|
|
1056
|
+
export const ORGANIZATION_UNIT_CONFINEMENT_SKILL_REF = 'authorization-unit-narrowing';
|
|
1057
|
+
|
|
1058
|
+
/**
|
|
1059
|
+
* The skills a system-of-record binding is built with (#3040): `resource-external-data` for the binding itself (the two
|
|
1060
|
+
* lanes, the field mapping, subject rights), and `config-saas` for the `systemsOfRecord` instance the binding names.
|
|
1061
|
+
* Derived from a `SYSTEM_OF_RECORD_BINDING` product whatever the decomposer wrote.
|
|
1062
|
+
*/
|
|
1063
|
+
export const SYSTEM_OF_RECORD_BINDING_SKILL_REFS: readonly string[] = ['resource-external-data', 'config-saas'];
|
|
1064
|
+
|
|
888
1065
|
/** The skill a work-unit task is built with (#2966): the `workUnit` declaration, model prices and the case passed to agent turns. */
|
|
889
1066
|
export const WORK_UNIT_SKILL_REF = 'model-cost-attribution';
|
|
890
1067
|
|
|
@@ -898,8 +1075,26 @@ export const BuildPlanTaskTargetSchema = z.discriminatedUnion('kind', [
|
|
|
898
1075
|
}),
|
|
899
1076
|
z.strictObject({
|
|
900
1077
|
kind: z.literal(BuildPlanTaskTargetKind.RELATIONSHIP),
|
|
1078
|
+
/** The module whose `<module>.relationships.ts` the edges are written into: the task's write scope. */
|
|
901
1079
|
moduleRef: ModuleRefSchema,
|
|
902
|
-
|
|
1080
|
+
/**
|
|
1081
|
+
* Every domain-plan relationship this task wires, by the domain plan's `relationshipRef` (#3209).
|
|
1082
|
+
*
|
|
1083
|
+
* A LIST, because the unit of work is the module's relationships FILE, not one edge. Each edge is a
|
|
1084
|
+
* `createResourcesRelationship(...)` call in that one file, plus the holder's ui-behavior and both
|
|
1085
|
+
* resources' specifications, so two tasks wiring two edges of one module edit the same file. Run
|
|
1086
|
+
* concurrently they overwrite each other, and the build wave re-runs each interfered task alone:
|
|
1087
|
+
* app-creation-test-007 split one module's 23 edges into 23 tasks, and the relationship phase ran one
|
|
1088
|
+
* task at a time for about seven hours with a parallelism of five. One task per file (see
|
|
1089
|
+
* {@link groupRelationshipTasksByModule}) pays the worker's start and the checks once, and lets
|
|
1090
|
+
* different modules' files go in parallel.
|
|
1091
|
+
*
|
|
1092
|
+
* Each ref here has its `RESOURCE_RELATIONSHIP` product on the same task, and that is checked
|
|
1093
|
+
* (`RELATIONSHIP_TARGET_DISAGREES_WITH_PRODUCTS`): the target says what the coverage check counts as
|
|
1094
|
+
* wired, and the products are what landing proves. A target naming an edge no product declares would
|
|
1095
|
+
* count as covered and never be probed.
|
|
1096
|
+
*/
|
|
1097
|
+
relationshipRefs: z.array(SlugSchema).min(1),
|
|
903
1098
|
}),
|
|
904
1099
|
z.strictObject({
|
|
905
1100
|
kind: z.literal(BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP),
|
|
@@ -946,6 +1141,7 @@ export const BuildPlanTaskTargetSchema = z.discriminatedUnion('kind', [
|
|
|
946
1141
|
z.strictObject({ kind: z.literal(BuildPlanTaskTargetKind.PROVIDER_BINDING), providerRef: SlugSchema }),
|
|
947
1142
|
z.strictObject({ kind: z.literal(BuildPlanTaskTargetKind.BILLING_CATALOG) }),
|
|
948
1143
|
z.strictObject({ kind: z.literal(BuildPlanTaskTargetKind.APPLICATION_ROLES) }),
|
|
1144
|
+
z.strictObject({ kind: z.literal(BuildPlanTaskTargetKind.ORGANIZATION_MODEL) }),
|
|
949
1145
|
]);
|
|
950
1146
|
export type BuildPlanTaskTarget = z.infer<typeof BuildPlanTaskTargetSchema>;
|
|
951
1147
|
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
* - **`targetSummary`** — who the plan is for, in prose ("mid-market teams
|
|
41
41
|
* of 10-50"). Optional. A human summary, distinct from the typed
|
|
42
42
|
* `targetIcpRefs` cross-reference.
|
|
43
|
-
* - **`proposalBasis`** — on a PROPOSED plan only: what the
|
|
44
|
-
* derived from (see `PricingTiersStatus` on the snapshot). Optional prose.
|
|
43
|
+
* - **`proposalBasis`** — on a PROPOSED or ASSUMED plan only: what the tier
|
|
44
|
+
* was derived from (see `PricingTiersStatus` on the snapshot). Optional prose.
|
|
45
45
|
* - **`targetIcpRefs`** / **`includesRequirementRefs`** — OPTIONAL flat
|
|
46
46
|
* cross-references into the market family (ICP segments this plan targets)
|
|
47
47
|
* and the requirements family (functional requirements this plan
|
|
@@ -125,15 +125,18 @@ export const PricingPlanConfigSchema = z.object({
|
|
|
125
125
|
*/
|
|
126
126
|
includesRequirementRefs: z.array(NonEmptyStringSchema).optional(),
|
|
127
127
|
/**
|
|
128
|
-
* WHY this tier exists, present only on a
|
|
129
|
-
* `pricingTiers` is `PricingTiersStatus.PROPOSED
|
|
130
|
-
* the tiers to be proposed
|
|
131
|
-
*
|
|
128
|
+
* WHY this tier exists, present only on a tier the creator did not name:
|
|
129
|
+
* the snapshot's `pricingTiers` is `PricingTiersStatus.PROPOSED` (the creator
|
|
130
|
+
* asked for the tiers to be proposed) or `PricingTiersStatus.ASSUMED` (the
|
|
131
|
+
* pricing-tiers answer was assumed for them, #3259). Prose naming what the
|
|
132
|
+
* tier was derived from: the ICP segment it serves and the requirements
|
|
132
133
|
* that separate it from the tier beside it ("serves icp-indie-maker; holds
|
|
133
|
-
* back the team-planning requirements the Team tier unlocks")
|
|
134
|
+
* back the team-planning requirements the Team tier unlocks") — and, for an
|
|
135
|
+
* assumed tier, what the assumption rested on.
|
|
134
136
|
*
|
|
135
|
-
* Required on every plan of a proposed sketch and forbidden on
|
|
136
|
-
* a stated one (`validateBusinessModelLiteSnapshot` reports
|
|
137
|
+
* Required on every plan of a proposed or assumed sketch and forbidden on
|
|
138
|
+
* every plan of a stated one (`validateBusinessModelLiteSnapshot` reports
|
|
139
|
+
* both; `pricingTiersStatusRequiresProposalBasis` is the one rule). A basis on
|
|
137
140
|
* a creator-stated plan would claim a proposal nobody made; a proposal with no
|
|
138
141
|
* basis is a tier nobody can check.
|
|
139
142
|
*/
|
|
@@ -83,6 +83,22 @@ export enum PricingTiersStatus {
|
|
|
83
83
|
* artifact, not a value of this field.
|
|
84
84
|
*/
|
|
85
85
|
PROPOSED = 'proposed',
|
|
86
|
+
/**
|
|
87
|
+
* The pricing-tiers answer was ASSUMED (#3259): proposed for the creator by the interview and kept without them
|
|
88
|
+
* stating it — a quick interview, or a creator who did not know. `plans` are the tiers that assumed answer named
|
|
89
|
+
* (or derived, when it assumed a proposal), so the sketch is a HYPOTHESIS until the creator decides it. Each plan
|
|
90
|
+
* carries a `proposalBasis` saying what the assumption rested on, and, like a proposal, none carries a price or
|
|
91
|
+
* scaling axis the creator did not state — an ASSUMED price-points or scaling answer included. At least one plan.
|
|
92
|
+
*
|
|
93
|
+
* Its own member rather than `CREATOR_STATED` or `PROPOSED`, because both of those would be false: the creator
|
|
94
|
+
* stated nothing, and asked for nothing. Since #3240 every judge reads each answer's standing, and with only those
|
|
95
|
+
* two members a producer built on an assumed answer had no status a judge could pass. An assumed "not decided yet"
|
|
96
|
+
* is `UNDECIDED`, not this: there are no tiers to mark.
|
|
97
|
+
*
|
|
98
|
+
* Like `PROPOSED`, it records ORIGIN: accepting the artifact is a commit, not a change of this value. A creator who
|
|
99
|
+
* later DECIDES the tiers answers the interview again, and the next run records `creator_stated`.
|
|
100
|
+
*/
|
|
101
|
+
ASSUMED = 'assumed',
|
|
86
102
|
/**
|
|
87
103
|
* The creator has not decided the tiers and did not ask for a proposal.
|
|
88
104
|
* `plans` is empty, and that emptiness is an answer, not a gap: nothing
|
|
@@ -139,8 +155,9 @@ export enum PricingTiersStatus {
|
|
|
139
155
|
* failure. Plans are NOT inherently ordered (unlike roadmap phases), so no
|
|
140
156
|
* `sequence` ordering key is modelled.
|
|
141
157
|
* - **`pricingTiers`** — where the plans came from (`PricingTiersStatus`):
|
|
142
|
-
* stated by the creator, proposed at the creator's request,
|
|
143
|
-
* (then `plans` is empty BY
|
|
158
|
+
* stated by the creator, proposed at the creator's request, taken from an
|
|
159
|
+
* ASSUMED answer (a hypothesis), or undecided (then `plans` is empty BY
|
|
160
|
+
* ANSWER). Optional on a hand-authored file; read
|
|
144
161
|
* it through `resolvePricingTiersStatus`, never directly, so the meaning of
|
|
145
162
|
* an absent value lives in one place. Its agreement with `plans` is checked
|
|
146
163
|
* by `validateBusinessModelLiteSnapshot`.
|
|
@@ -182,4 +199,14 @@ export function resolvePricingTiersStatus(snapshot: Pick<BusinessModelLiteSnapsh
|
|
|
182
199
|
if (snapshot.pricingTiers !== undefined) return snapshot.pricingTiers;
|
|
183
200
|
return snapshot.plans.length > 0 ? PricingTiersStatus.CREATOR_STATED : undefined;
|
|
184
201
|
}
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Whether the plans of a sketch with this status must each carry a `proposalBasis` (#3259): a tier the creator did not
|
|
205
|
+
* name — `PROPOSED` at their request, or `ASSUMED` on their behalf — must say what it rests on, or nobody can check it.
|
|
206
|
+
* The ONE place the generation contract and the family validator ask, so the two cannot disagree. `UNDECIDED` carries no
|
|
207
|
+
* plans, so the question does not arise there; it answers `false`.
|
|
208
|
+
*/
|
|
209
|
+
export function pricingTiersStatusRequiresProposalBasis(status: PricingTiersStatus | undefined): boolean {
|
|
210
|
+
return status === PricingTiersStatus.PROPOSED || status === PricingTiersStatus.ASSUMED;
|
|
211
|
+
}
|
|
185
212
|
```
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
* | `DUPLICATE_REF` | ERROR | Two plans share a ref — the collection silently loses one entity to last-wins indexing. |
|
|
33
33
|
* | `DUPLICATE_CROSS_REF` | WARN | The same target/include-ref is listed more than once on ONE plan's cross-ref list — the repeat is noise the catalog silently dedupes. Intra-snapshot, so it runs UNCONDITIONALLY (no external set needed) — each cross-ref list is its own namespace. |
|
|
34
34
|
* | `NO_PLANS` | WARN | `plans` empty and nobody has said why — the business model sketches no pricing. SILENT when `pricingTiers` is `UNDECIDED`: there the emptiness is the creator's recorded answer, not owed work. |
|
|
35
|
-
* | `PRICING_TIERS_CONTRADICT_PLANS` | ERROR | The declared `pricingTiers` disagrees with `plans`: `undecided` with plans present, or `creator_stated` / `proposed` with none. |
|
|
36
|
-
* | `PROPOSAL_BASIS_MISMATCH` | ERROR | A plan of a `proposed` sketch has no `proposalBasis`, or a plan of a `creator_stated` one has one. Read through `resolvePricingTiersStatus`, so a hand-authored file with plans and no status counts as stated. |
|
|
35
|
+
* | `PRICING_TIERS_CONTRADICT_PLANS` | ERROR | The declared `pricingTiers` disagrees with `plans`: `undecided` with plans present, or `creator_stated` / `proposed` / `assumed` with none. |
|
|
36
|
+
* | `PROPOSAL_BASIS_MISMATCH` | ERROR | A plan of a `proposed` or `assumed` sketch has no `proposalBasis`, or a plan of a `creator_stated` one has one. Read through `resolvePricingTiersStatus`, so a hand-authored file with plans and no status counts as stated. |
|
|
37
37
|
* | `NO_REVENUE_MODEL` | WARN | `plans` are authored but the product-level `revenueModel` is unset — the pricing sketch is classified per-plan (`PricingModelAxis`) but the product's headline revenue model is undeclared. GATED on `plans.length > 0`: an empty snapshot is already fully described by `NO_PLANS`, so this fires only for the sharper "sketched pricing, forgot the revenue model" state (no redundant double-warn on `{}`). |
|
|
38
38
|
* | `STALE_AUTHORED` | WARN | Any plan's `authored.lastAuthoredAt + reviewCadence < now`. No check when `reviewCadence` is undefined or `AS_NEEDED`. |
|
|
39
39
|
* | `UNKNOWN_ICP_REF` | ERROR | A `targetIcpRefs` entry does not resolve in `options.availableIcpRefs`. SKIPPED (fail-soft) when no set is passed — the families are decoupled and the catalog resolves refs. |
|
|
@@ -81,14 +81,15 @@ export enum BusinessModelLiteSnapshotIssueKind {
|
|
|
81
81
|
/**
|
|
82
82
|
* The declared `pricingTiers` and the `plans` collection contradict each
|
|
83
83
|
* other — `undecided` while plans are present, or `creator_stated` /
|
|
84
|
-
* `proposed` with no plan. ERROR: one of the two statements is false, and a
|
|
84
|
+
* `proposed` / `assumed` with no plan. ERROR: one of the two statements is false, and a
|
|
85
85
|
* reader cannot tell which.
|
|
86
86
|
*/
|
|
87
87
|
PRICING_TIERS_CONTRADICT_PLANS = 'pricing_tiers_contradict_plans',
|
|
88
88
|
/**
|
|
89
89
|
* A plan's `proposalBasis` disagrees with where the tiers came from — missing
|
|
90
|
-
* on a plan of a `proposed` sketch (a
|
|
91
|
-
* on a plan the creator stated (a
|
|
90
|
+
* on a plan of a `proposed` or `assumed` sketch (a tier the creator did not
|
|
91
|
+
* name that nobody can check), or present on a plan the creator stated (a
|
|
92
|
+
* proposal nobody made). ERROR.
|
|
92
93
|
*/
|
|
93
94
|
PROPOSAL_BASIS_MISMATCH = 'proposal_basis_mismatch',
|
|
94
95
|
/**
|
|
@@ -330,7 +331,7 @@ function detectPricingTiersDisagreement(
|
|
|
330
331
|
severity: BusinessModelLiteSnapshotIssueSeverity.ERROR,
|
|
331
332
|
});
|
|
332
333
|
}
|
|
333
|
-
if (
|
|
334
|
+
if (declared !== undefined && declared !== PricingTiersStatus.UNDECIDED && snapshot.plans.length === 0) {
|
|
334
335
|
issues.push({
|
|
335
336
|
kind: BusinessModelLiteSnapshotIssueKind.PRICING_TIERS_CONTRADICT_PLANS,
|
|
336
337
|
path: 'pricingTiers',
|
|
@@ -341,11 +342,13 @@ function detectPricingTiersDisagreement(
|
|
|
341
342
|
|
|
342
343
|
const resolved = resolvePricingTiersStatus(snapshot);
|
|
343
344
|
snapshot.plans.forEach((entry, index) => {
|
|
344
|
-
if (resolved
|
|
345
|
+
if (pricingTiersStatusRequiresProposalBasis(resolved) && entry.proposalBasis === undefined) {
|
|
345
346
|
issues.push({
|
|
346
347
|
kind: BusinessModelLiteSnapshotIssueKind.PROPOSAL_BASIS_MISMATCH,
|
|
347
348
|
path: `plans[${index}].proposalBasis`,
|
|
348
|
-
message:
|
|
349
|
+
message: resolved === PricingTiersStatus.ASSUMED
|
|
350
|
+
? `Plan "${entry.ref}" comes from an ASSUMED answer but states no proposalBasis — say what the assumption rested on.`
|
|
351
|
+
: `Plan "${entry.ref}" is a proposal but states no proposalBasis — name the ICP and requirements it was derived from.`,
|
|
349
352
|
severity: BusinessModelLiteSnapshotIssueSeverity.ERROR,
|
|
350
353
|
});
|
|
351
354
|
}
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
},
|
|
29
29
|
execution: {
|
|
30
|
+
readsSpecificationFamiliesOnly: true,
|
|
30
31
|
...SHARED_EXECUTION_BOUNDARY,
|
|
31
32
|
materializationKind: 'json-snapshot',
|
|
32
33
|
},
|
|
@@ -48,6 +49,7 @@
|
|
|
48
49
|
},
|
|
49
50
|
},
|
|
50
51
|
execution: {
|
|
52
|
+
readsSpecificationFamiliesOnly: true,
|
|
51
53
|
...SHARED_EXECUTION_BOUNDARY,
|
|
52
54
|
materializationKind: 'json-snapshot',
|
|
53
55
|
},
|
|
@@ -83,6 +85,7 @@
|
|
|
83
85
|
},
|
|
84
86
|
},
|
|
85
87
|
execution: {
|
|
88
|
+
readsSpecificationFamiliesOnly: true,
|
|
86
89
|
...SHARED_EXECUTION_BOUNDARY,
|
|
87
90
|
materializationKind: 'json-snapshot',
|
|
88
91
|
},
|
|
@@ -23,6 +23,12 @@
|
|
|
23
23
|
* declared `requiredInputs` ref, calls `buildMarketContextBlock`,
|
|
24
24
|
* and substitutes Mustache placeholders. Output: `{ prompt,
|
|
25
25
|
* contextBlock, renderedTemplate, trace }`.
|
|
26
|
+
* 1b. **Parent screening** — the market snapshot is written from web
|
|
27
|
+
* research, so the context block and the rendered template are each
|
|
28
|
+
* screened through the content-safety seam before the agent reads them:
|
|
29
|
+
* a flagged half is replaced by a withheld notice, an unscreened one is
|
|
30
|
+
* read under a notice, nothing is refused. The prompt is recomposed from
|
|
31
|
+
* the screened halves (`composeMarketPrompt`), and the response carries them.
|
|
26
32
|
* 2. **Parent (`AgentsBackendService.invokeAgent`)** — feeds the
|
|
27
33
|
* final prompt to `market.generation.agent` (a
|
|
28
34
|
* `GENERATE_TEXT` agent) and unwraps `{ text }`. The optional
|
|
@@ -57,8 +63,9 @@
|
|
|
57
63
|
* service of a given app.
|
|
58
64
|
*/
|
|
59
65
|
|
|
60
|
-
import { inject, injectable } from 'inversify';
|
|
66
|
+
import { inject, injectable, optional } from 'inversify';
|
|
61
67
|
import {
|
|
68
|
+
type ContentSafetyBackendService,
|
|
62
69
|
ErrorBuilderBackendService,
|
|
63
70
|
LoggerService,
|
|
64
71
|
MARKET_GENERATION_AGENT_REF,
|
|
@@ -81,10 +88,17 @@ import {
|
|
|
81
88
|
MarketRenderPromptResponseSchema,
|
|
82
89
|
type MarketGenerationResponse,
|
|
83
90
|
} from '@wildo-ai/saas-specifications';
|
|
91
|
+
import { ApplicationSpecificationFamily } from '@wildo-ai/saas-specifications/application-creation';
|
|
84
92
|
|
|
85
93
|
import { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';
|
|
86
94
|
import type { CompanionContext } from '../../core/context/companion-context';
|
|
87
95
|
import { CompanionIntrospectionService } from '../../core/introspection/services/companion-introspection.companion.service';
|
|
96
|
+
import { composeMarketPrompt } from '../../core/introspection/subprocess/market-prompt-renderer';
|
|
97
|
+
import {
|
|
98
|
+
catalogResearchInformedFamilies,
|
|
99
|
+
researchFamilyScreeningHostOf,
|
|
100
|
+
screenResearchInformedRenderings,
|
|
101
|
+
} from '../../meta-workflows/services/build-brief-third-party-screening.companion';
|
|
88
102
|
|
|
89
103
|
export interface MarketGenerationRequest {
|
|
90
104
|
templateRef: string;
|
|
@@ -122,6 +136,12 @@ export class MarketGenerationCompanionService {
|
|
|
122
136
|
private readonly companionContext: CompanionContext,
|
|
123
137
|
@inject(COMPANION_SERVICE_TYPES.IntrospectionService)
|
|
124
138
|
private readonly companionIntrospectionService: CompanionIntrospectionService,
|
|
139
|
+
/**
|
|
140
|
+
* The classifier the market snapshot's text is screened through before the generation agent reads it (#2938), the
|
|
141
|
+
* one every door screens through. Optional: absent is "no classifier bound", which marks rather than refuses.
|
|
142
|
+
*/
|
|
143
|
+
@inject(SAAS_SERVICE_TYPES.ContentSafetyService) @optional()
|
|
144
|
+
private readonly contentSafety?: ContentSafetyBackendService,
|
|
125
145
|
) {
|
|
126
146
|
this.logDebug = this.logger.debugByType('MarketGenerationCompanionService');
|
|
127
147
|
this.logger.setDebugTypeLogging('MarketGenerationCompanionService', true);
|
|
@@ -180,6 +200,27 @@ export class MarketGenerationCompanionService {
|
|
|
180
200
|
});
|
|
181
201
|
}
|
|
182
202
|
|
|
203
|
+
/*
|
|
204
|
+
* ── 1b. Screen what the market snapshot wrote (#2938) ──────────
|
|
205
|
+
*
|
|
206
|
+
* Both halves of the prompt are the market snapshot's text: the context block renders its ICPs, benefits and voice,
|
|
207
|
+
* and the template body is a `MarketMessageTemplate` OF the snapshot with snapshot entities substituted in. A
|
|
208
|
+
* research step writes the snapshot, so each half is screened before the agent reads it, on its own: a flagged half
|
|
209
|
+
* is replaced by its withheld notice (the agent is told to say so, never to invent it), an unscreened one is read
|
|
210
|
+
* under its notice, and nothing is refused. The response carries the screened halves, so the prompt it returns is
|
|
211
|
+
* the one the agent read.
|
|
212
|
+
*/
|
|
213
|
+
const marketFamily = ApplicationSpecificationFamily.MARKET_SNAPSHOT;
|
|
214
|
+
const researchInformed = catalogResearchInformedFamilies()(marketFamily);
|
|
215
|
+
const [contextBlock, renderedTemplate] = await screenResearchInformedRenderings(
|
|
216
|
+
[
|
|
217
|
+
{ family: marketFamily, text: renderResult.contextBlock, researchInformed },
|
|
218
|
+
{ family: marketFamily, text: renderResult.renderedTemplate, researchInformed },
|
|
219
|
+
],
|
|
220
|
+
researchFamilyScreeningHostOf(this.contentSafety, this.logger, `market-generation:${request.templateRef}`),
|
|
221
|
+
);
|
|
222
|
+
const prompt = composeMarketPrompt(contextBlock!.text, renderedTemplate!.text);
|
|
223
|
+
|
|
183
224
|
// ── 2. Parent-process LLM call ─────────────────────────────
|
|
184
225
|
const invocation: FlowsActors_Agent_Invocation<
|
|
185
226
|
typeof LLMProvider_GenerateTextInputSchema,
|
|
@@ -189,7 +230,7 @@ export class MarketGenerationCompanionService {
|
|
|
189
230
|
agentRef: MARKET_GENERATION_AGENT_REF,
|
|
190
231
|
initiator: {},
|
|
191
232
|
invocationContext: [],
|
|
192
|
-
input: { prompt
|
|
233
|
+
input: { prompt },
|
|
193
234
|
output: { text: '' },
|
|
194
235
|
executionContext: { callTimestamp: new Date().toISOString() },
|
|
195
236
|
artifactBindings: [],
|
|
@@ -207,9 +248,9 @@ export class MarketGenerationCompanionService {
|
|
|
207
248
|
}
|
|
208
249
|
|
|
209
250
|
return {
|
|
210
|
-
prompt
|
|
211
|
-
renderedTemplate:
|
|
212
|
-
contextBlock:
|
|
251
|
+
prompt,
|
|
252
|
+
renderedTemplate: renderedTemplate!.text,
|
|
253
|
+
contextBlock: contextBlock!.text,
|
|
213
254
|
output: outputText,
|
|
214
255
|
trace: {
|
|
215
256
|
template: renderResult.trace.template,
|
|
@@ -226,7 +226,7 @@ export function renderMarketPrompt(input: RenderMarketPromptInput): MarketPrompt
|
|
|
226
226
|
},
|
|
227
227
|
);
|
|
228
228
|
|
|
229
|
-
const prompt =
|
|
229
|
+
const prompt = composeMarketPrompt(contextBuilt.block, renderedTemplate);
|
|
230
230
|
|
|
231
231
|
return {
|
|
232
232
|
prompt,
|