@wildo-ai/framework-knowledge 1.1.9 → 1.1.10
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 +11 -0
- package/dist/claude-marketplace/plugins/wildo/references/expert-personas-and-deliberations.md +26 -7
- package/dist/claude-marketplace/plugins/wildo/references/runs-judges-and-questions.md +4 -2
- package/dist/claude-marketplace/plugins/wildo/skills/accept/SKILL.md +4 -2
- package/dist/claude-marketplace/plugins/wildo/skills/why/SKILL.md +9 -3
- package/dist/esm/framework-knowledge.definitions.d.ts +1 -1
- package/dist/esm/framework-knowledge.definitions.d.ts.map +1 -1
- package/dist/esm/framework-knowledge.definitions.js +84 -4
- package/dist/esm/framework-knowledge.definitions.js.map +1 -1
- package/dist/esm/framework-knowledge.loader.d.ts.map +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/playbooks/bottom_up.assemble-verify/playbook.definition.d.ts +1 -1
- 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 +1 -1
- 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-decompose/playbook.definition.d.ts +39 -1
- 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 +132 -20
- 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.map +1 -1
- package/dist/esm/playbooks/bottom_up.conception/playbook.definition.d.ts +8 -4
- package/dist/esm/playbooks/bottom_up.conception/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/bottom_up.conception/playbook.definition.js +13 -6
- package/dist/esm/playbooks/bottom_up.conception/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/bottom_up.domain-plan/playbook.definition.d.ts +2 -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 +85 -8
- 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 +4 -3
- 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 +4 -3
- package/dist/esm/playbooks/bottom_up.experience-plan/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/bottom_up.placement-plan/playbook.definition.d.ts +12 -3
- 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 +8 -4
- 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 +4 -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 +2 -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.map +1 -1
- package/dist/esm/playbooks/cross_cutting.compliance/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/cross_cutting.feature-development/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/cross_cutting.refinement/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/refinement.compliance-document-candidate/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/refinement.document-facts/playbook.definition.d.ts +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 +13 -1
- package/dist/esm/playbooks/refinement.document-facts/playbook.definition.js.map +1 -1
- package/dist/esm/playbooks/refinement.feature-contribution/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/refinement.governance-document-candidate/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/top_down.brand-identity/playbook.definition.d.ts +2 -2
- package/dist/esm/playbooks/top_down.brand-identity/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/top_down.brand-identity/playbook.definition.js +10 -4
- 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 +2 -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 +5 -3
- 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 +2 -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 +11 -9
- 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 +17 -3
- 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 +19 -2
- 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.map +1 -1
- package/dist/esm/playbooks/top_down.capability-map/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/top_down.compliance-analysis/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/top_down.compliance-conception/playbook.definition.d.ts.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-posture/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/top_down.compliance-research/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/top_down.definition/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/top_down.expert-personas/playbook.definition.d.ts +27 -6
- 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 +32 -12
- 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.market-analysis/playbook.definition.d.ts.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-research/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/top_down.market-snapshot-produce/playbook.definition.d.ts +2 -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 +13 -5
- 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 +38 -3
- 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 +2 -1
- 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 +23 -8
- 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.map +1 -1
- package/dist/esm/playbooks/top_down.scope-roadmap/playbook.definition.d.ts.map +1 -1
- package/dist/esm/playbooks/top_down.value-proposition/playbook.definition.d.ts.map +1 -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 +11 -0
- package/dist/esm/playbooks/top_down.vision-elicitation/playbook.definition.js.map +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/playbook.json +1 -1
- 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 +149 -11
- package/dist/knowledge/playbooks/bottom_up.build-decompose/playbook.json +40 -2
- package/dist/knowledge/playbooks/bottom_up.build-dispatch/method.md +55 -0
- package/dist/knowledge/playbooks/bottom_up.build-dispatch/playbook.json +1 -1
- package/dist/knowledge/playbooks/bottom_up.conception/playbook.json +10 -2
- 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 +107 -11
- package/dist/knowledge/playbooks/bottom_up.domain-plan/playbook.json +4 -2
- package/dist/knowledge/playbooks/bottom_up.experience-plan/method.md +28 -6
- package/dist/knowledge/playbooks/bottom_up.experience-plan/playbook.json +5 -4
- package/dist/knowledge/playbooks/bottom_up.placement-plan/method.md +50 -0
- package/dist/knowledge/playbooks/bottom_up.placement-plan/playbook.json +16 -4
- package/dist/knowledge/playbooks/bottom_up.website-plan/method.md +19 -0
- package/dist/knowledge/playbooks/bottom_up.website-plan/playbook.json +5 -2
- package/dist/knowledge/playbooks/refinement.compliance-document-candidate/method.md +2 -1
- package/dist/knowledge/playbooks/refinement.compliance-document-candidate/playbook.json +1 -1
- package/dist/knowledge/playbooks/refinement.document-facts/method.md +8 -0
- package/dist/knowledge/playbooks/refinement.document-facts/playbook.json +3 -2
- package/dist/knowledge/playbooks/refinement.feature-contribution/method.md +5 -2
- package/dist/knowledge/playbooks/refinement.feature-contribution/playbook.json +1 -1
- package/dist/knowledge/playbooks/top_down.brand-identity/evaluation-protocol.json +1 -1
- package/dist/knowledge/playbooks/top_down.brand-identity/evaluation-treatment.json +1 -1
- package/dist/knowledge/playbooks/top_down.brand-identity/method.md +7 -3
- package/dist/knowledge/playbooks/top_down.brand-identity/playbook.json +3 -3
- package/dist/knowledge/playbooks/top_down.brand-name-research/method.md +56 -16
- package/dist/knowledge/playbooks/top_down.brand-name-research/playbook.json +6 -4
- 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 +30 -9
- package/dist/knowledge/playbooks/top_down.brand-name-screening-produce/playbook.json +5 -3
- package/dist/knowledge/playbooks/top_down.brand-naming/playbook.json +12 -1
- package/dist/knowledge/playbooks/top_down.capability-map/method.md +10 -9
- package/dist/knowledge/playbooks/top_down.capability-map/playbook.json +1 -1
- package/dist/knowledge/playbooks/top_down.expert-personas/playbook.json +16 -2
- package/dist/knowledge/playbooks/top_down.feature-drafts/method.md +5 -2
- package/dist/knowledge/playbooks/top_down.feature-drafts/playbook.json +1 -1
- package/dist/knowledge/playbooks/top_down.market-snapshot-produce/evaluation-protocol.json +1 -1
- package/dist/knowledge/playbooks/top_down.market-snapshot-produce/evaluation-treatment.json +1 -1
- package/dist/knowledge/playbooks/top_down.market-snapshot-produce/method.md +26 -0
- package/dist/knowledge/playbooks/top_down.market-snapshot-produce/playbook.json +4 -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 -1
- package/dist/knowledge/playbooks/top_down.requirements-definition/evaluation-protocol.json +1 -1
- package/dist/knowledge/playbooks/top_down.requirements-definition/evaluation-treatment.json +1 -1
- package/dist/knowledge/playbooks/top_down.requirements-definition/method.md +84 -9
- package/dist/knowledge/playbooks/top_down.requirements-definition/playbook.json +6 -3
- package/dist/knowledge/playbooks/top_down.vision-elicitation/method.md +19 -0
- package/dist/knowledge/playbooks/top_down.vision-elicitation/playbook.json +19 -1
- package/dist/knowledge/references/brand.name-choice.config.md +20 -3
- package/dist/knowledge/references/brand.name-screening.config.md +58 -3
- package/dist/knowledge/references/build-plan.task-graph.config.md +55 -0
- package/dist/knowledge/references/companion.market.prompt-renderer.md +11 -6
- package/dist/knowledge/references/example.authorization.application-roles.office-and-field.md +44 -0
- package/dist/knowledge/references/example.backend.custom-operation.audit-event.md +81 -0
- package/dist/knowledge/references/example.backend.custom-operation.child-line-total.md +258 -0
- package/dist/knowledge/references/example.backend.custom-operation.computed-total.md +153 -0
- package/dist/knowledge/references/example.backend.custom-operation.create-related-resource.md +107 -0
- package/dist/knowledge/references/example.data-seeding.minimal.md +10 -9
- package/dist/knowledge/references/example.data-seeding.row-reference.md +80 -0
- package/dist/knowledge/references/example.email.template.minimal.md +1 -1
- package/dist/knowledge/references/example.resource.config-wiring.retention-policy-operations.md +74 -0
- package/dist/knowledge/references/example.resource.personal-data.free-text-field.md +19 -0
- package/dist/knowledge/references/example.resource.personal-data.person-without-account.md +27 -0
- package/dist/knowledge/references/example.resource.status-lifecycle.quote.md +152 -0
- package/dist/knowledge/references/example.resource.ui-behavior.filter-presets.md +15 -0
- package/dist/knowledge/references/example.resource.ui-behavior.operation-icon.md +8 -0
- package/dist/knowledge/references/example.views.app-level.home-definition.md +13 -0
- package/dist/knowledge/references/example.views.chart-definition.shared.md +83 -0
- package/dist/knowledge/references/experience-plan.config.md +60 -7
- package/dist/knowledge/references/market.context-block.builder.md +1 -1
- package/dist/knowledge/references/placement-plan.config.md +43 -0
- package/dist/knowledge/references/requirements.functional-requirement.config.md +8 -2
- package/dist/knowledge/references/requirements.non-functional-requirement.config.md +2 -0
- package/dist/knowledge/references/requirements.references.conventions.md +1 -1
- package/dist/knowledge/references/requirements.snapshot.config.md +57 -1
- package/dist/knowledge/references/requirements.snapshot.validation.md +35 -1
- package/dist/knowledge/references/saas.backend.audit-logs.log-event.md +63 -0
- package/dist/knowledge/references/saas.backend.document-sequence.issue-in-operation.md +60 -0
- package/dist/knowledge/references/saas.backend.document-sequence.raise-floor.md +156 -0
- package/dist/knowledge/references/saas.backend.email.send.md +77 -0
- package/dist/knowledge/references/saas.backend.notifications.operation-email-template-ref.md +60 -0
- package/dist/knowledge/references/saas.data-seeding.computed-entry.md +43 -0
- package/dist/knowledge/references/saas.data-seeding.definition-input.md +8 -2
- package/dist/knowledge/references/saas.data-seeding.row-reference.md +93 -0
- package/dist/knowledge/references/saas.frontend.collection-filter-presets.md +124 -0
- package/dist/knowledge/references/saas.frontend.launcher.item-refs.md +316 -0
- package/dist/knowledge/references/saas.frontend.launcher.merge-rules.md +106 -0
- package/dist/knowledge/references/saas.frontend.launcher.runtime-availability.md +60 -0
- package/dist/knowledge/references/saas.frontend.resource-label-params.md +52 -0
- package/dist/knowledge/references/saas.frontend.resource-operation-frontend-config.md +47 -18
- package/dist/knowledge/references/saas.frontend.resource-ui-behavior-config.md +4 -1
- package/dist/knowledge/references/saas.frontend.settings-hub.engine-destination-roles.md +25 -0
- package/dist/knowledge/references/saas.frontend.settings-hub.placement.md +2 -2
- package/dist/knowledge/references/saas.models.audit.trail-config.md +45 -0
- package/dist/knowledge/references/saas.models.notifications.user-notification-definition.md +5 -3
- package/dist/knowledge/references/saas.models.resource-config.builder-parameters.md +26 -0
- package/dist/knowledge/references/saas.models.roles.definition.md +61 -0
- package/dist/knowledge/references/saas.models.roles.organization-defaults.md +97 -0
- package/dist/knowledge/references/saas.public-runtime.contract.md +26 -0
- package/dist/knowledge/references/saas.website.astro.bridge.md +10 -0
- package/dist/knowledge/references/saas.website.astro.label-loader.md +3 -0
- package/dist/knowledge/references/saas.website.astro.llms-txt-server.md +14 -1
- package/dist/knowledge/references/saas.website.astro.site-context.md +13 -0
- package/dist/knowledge/references/saas.website.blog.bridge.md +4 -0
- package/dist/knowledge/references/saas.website.config.site-context-loader.md +3 -0
- package/dist/knowledge/references/saas.website.legal.public-document-links.md +76 -0
- package/dist/knowledge/references/saas.website.root-config.seo.md +2 -1
- package/dist/knowledge/references/saas.website.runtime.context.md +7 -0
- package/dist/knowledge/references/saas.website.seo.llms-txt-config.md +2 -0
- package/dist/knowledge/references/website-plan.config.md +26 -0
- package/dist/knowledge/references/zod.decorators.chainable-runtime.md +13 -0
- package/dist/knowledge/references/zod.decorators.decorator-vocabulary.md +7 -0
- package/dist/knowledge/references/zod.decorators.document-sequence.md +65 -0
- package/dist/knowledge/references/zod.decorators.schema-metadata.md +1 -0
- package/dist/knowledge/references/zod.decorators.shared-structural-methods.md +21 -0
- package/dist/knowledge/references/zod.factories.bigdecimal.md +1 -0
- package/dist/knowledge/references/zod.factories.code.md +1 -0
- package/dist/knowledge/references/zod.factories.duration.md +1 -0
- package/dist/knowledge/references/zod.factories.money.md +1 -0
- package/dist/knowledge/registries/assurance-authority-bases.json +1 -1
- package/dist/knowledge/registries/framework-topics.json +337 -1
- package/dist/knowledge/registries/playbooks.json +18 -18
- package/dist/knowledge/registries/source-tags.json +1435 -873
- package/dist/knowledge/rules/live-context-door.md +1 -1
- package/dist/knowledge/skills/INDEX.md +3 -1
- package/dist/knowledge/skills/application-consumer-documentation-authoring/SKILL.md +16 -3
- package/dist/knowledge/skills/application-database-migrations/SKILL.md +14 -3
- package/dist/knowledge/skills/application-roles-authoring/SKILL.md +158 -0
- package/dist/knowledge/skills/application-roles-authoring/references/framework-application-roles-api.md +169 -0
- package/dist/knowledge/skills/application-roles-authoring/references/office-and-field-worked-example.md +63 -0
- package/dist/knowledge/skills/authorization-unit-narrowing/SKILL.md +6 -1
- package/dist/knowledge/skills/backend-custom-operation/SKILL.md +256 -9
- package/dist/knowledge/skills/backend-custom-operation/references/after-the-operation.md +42 -0
- package/dist/knowledge/skills/backend-custom-operation/references/framework-audit-log-event-api.md +220 -0
- package/dist/knowledge/skills/brand-logo-authoring/SKILL.md +5 -0
- package/dist/knowledge/skills/brand-name-screening/SKILL.md +33 -9
- package/dist/knowledge/skills/brand-name-screening/references/framework-brand-name-screening-api.md +78 -6
- package/dist/knowledge/skills/brand-name-screening/references/screening-procedure.md +30 -8
- package/dist/knowledge/skills/compliance-document-authoring/references/document-composition-privacy-notice.md +2 -1
- package/dist/knowledge/skills/config-app-shell/SKILL.md +58 -5
- package/dist/knowledge/skills/config-app-shell/references/framework-launcher-items-api.md +461 -0
- package/dist/knowledge/skills/config-app-shell/references/framework-launcher-visibility-api.md +80 -0
- package/dist/knowledge/skills/config-design-system/SKILL.md +28 -6
- package/dist/knowledge/skills/config-navigation/SKILL.md +14 -3
- package/dist/knowledge/skills/config-saas/SKILL.md +25 -11
- package/dist/knowledge/skills/config-saas/references/compliance-declarations.md +51 -1
- package/dist/knowledge/skills/config-saas/references/framework-audit-trail-config-api.md +62 -2
- package/dist/knowledge/skills/config-saas-backend/SKILL.md +6 -1
- package/dist/knowledge/skills/configure-billing/SKILL.md +18 -4
- package/dist/knowledge/skills/email-add-template/SKILL.md +27 -5
- package/dist/knowledge/skills/email-add-template/references/email-artifact-paths.md +1 -1
- package/dist/knowledge/skills/email-add-template/references/framework-email-send-api.md +128 -0
- package/dist/knowledge/skills/email-add-template/references/framework-operation-email-template-ref-api.md +99 -0
- package/dist/knowledge/skills/engine-component-registration/SKILL.md +6 -1
- package/dist/knowledge/skills/engine-product-definitions/SKILL.md +21 -8
- package/dist/knowledge/skills/flows-actors-chat-assistant/SKILL.md +10 -2
- package/dist/knowledge/skills/flows-actors-llm-agent-invocation/SKILL.md +18 -4
- package/dist/knowledge/skills/frontend-component-catalog/SKILL.md +11 -3
- package/dist/knowledge/skills/frontend-component-catalog/references/framework-component-catalog.md +2 -1
- package/dist/knowledge/skills/frontend-component-catalog/references/framework-component-usage.md +8 -0
- package/dist/knowledge/skills/i18n-rerun-pipeline/SKILL.md +18 -4
- package/dist/knowledge/skills/i18n-translation-rerun/SKILL.md +10 -2
- package/dist/knowledge/skills/infra-environment-config/SKILL.md +6 -1
- package/dist/knowledge/skills/local-environment-bootstrap/SKILL.md +6 -1
- package/dist/knowledge/skills/market-add-feature-benefit/SKILL.md +10 -2
- package/dist/knowledge/skills/market-alternatives/SKILL.md +10 -2
- package/dist/knowledge/skills/market-authoring-overview/SKILL.md +10 -2
- package/dist/knowledge/skills/market-category/SKILL.md +21 -7
- package/dist/knowledge/skills/market-channels/SKILL.md +6 -1
- package/dist/knowledge/skills/market-companion-prompt-enrichment/SKILL.md +11 -3
- package/dist/knowledge/skills/market-companion-prompt-enrichment/references/framework-companion-behavior-api.md +1 -1
- package/dist/knowledge/skills/market-generation-cli/SKILL.md +21 -11
- package/dist/knowledge/skills/market-generation-cli/references/framework-market-generation-cli.md +11 -6
- package/dist/knowledge/skills/market-icp/SKILL.md +10 -2
- package/dist/knowledge/skills/market-jobs-pains-gains/SKILL.md +6 -1
- package/dist/knowledge/skills/market-message-templates-authoring/SKILL.md +6 -1
- package/dist/knowledge/skills/market-persona/SKILL.md +14 -3
- package/dist/knowledge/skills/market-positioning-authoring/SKILL.md +6 -1
- package/dist/knowledge/skills/market-proof-and-objection/SKILL.md +10 -2
- package/dist/knowledge/skills/market-scoring-interpretation/SKILL.md +6 -1
- package/dist/knowledge/skills/market-snapshot-validation/SKILL.md +14 -3
- package/dist/knowledge/skills/market-tone-of-voice/SKILL.md +6 -1
- package/dist/knowledge/skills/model-cost-attribution/references/framework-work-unit-api.md +26 -0
- package/dist/knowledge/skills/module-companion-exports/SKILL.md +7 -1
- package/dist/knowledge/skills/module-relationships/SKILL.md +31 -4
- package/dist/knowledge/skills/pdf-template-authoring/SKILL.md +4 -2
- package/dist/knowledge/skills/provider-address-lookup/SKILL.md +14 -3
- package/dist/knowledge/skills/provider-frontend-file-picker/SKILL.md +6 -1
- package/dist/knowledge/skills/provider-operation-calls/SKILL.md +14 -3
- package/dist/knowledge/skills/rate-limit-authoring/SKILL.md +10 -2
- package/dist/knowledge/skills/resource-add-field/SKILL.md +10 -2
- package/dist/knowledge/skills/resource-add-field/references/framework-field-cross-layer-api.md +46 -17
- package/dist/knowledge/skills/resource-add-resource/SKILL.md +14 -2
- package/dist/knowledge/skills/resource-add-resource/references/framework-new-resource-core-config-api.md +26 -0
- package/dist/knowledge/skills/resource-config-wiring/SKILL.md +29 -3
- package/dist/knowledge/skills/resource-config-wiring/references/framework-collection-operation-declarations.md +19 -4
- package/dist/knowledge/skills/resource-config-wiring/references/framework-operation-audit-api.md +5 -2
- package/dist/knowledge/skills/resource-config-wiring/references/framework-personal-data-declaration-api.md +103 -0
- package/dist/knowledge/skills/resource-config-wiring/references/framework-retention-policy-operations.md +135 -0
- package/dist/knowledge/skills/resource-config-wiring/references/framework-saas-models-resource-config-api.md +26 -0
- package/dist/knowledge/skills/resource-config-wiring/references/framework-user-notifications-api.md +26 -7
- package/dist/knowledge/skills/resource-custom-view/SKILL.md +10 -2
- package/dist/knowledge/skills/resource-custom-view/references/custom-view-contracts.md +46 -17
- package/dist/knowledge/skills/resource-external-data/references/erasure-suppression.md +2 -2
- package/dist/knowledge/skills/resource-retention-binding/SKILL.md +5 -1
- package/dist/knowledge/skills/resource-schema-authoring/SKILL.md +15 -1
- package/dist/knowledge/skills/resource-schema-authoring/references/computed-totals.md +569 -0
- package/dist/knowledge/skills/resource-schema-authoring/references/document-numbers.md +358 -0
- package/dist/knowledge/skills/resource-schema-authoring/references/framework-decorator-vocabulary-api.md +8 -0
- package/dist/knowledge/skills/resource-schema-authoring/references/framework-shared-decorator-methods-api.md +21 -0
- package/dist/knowledge/skills/resource-schema-authoring/references/framework-special-factories-api.md +7 -2
- package/dist/knowledge/skills/resource-schema-authoring/references/framework-zod-lifecycle-and-chainable-api.md +13 -0
- package/dist/knowledge/skills/resource-status-lifecycle/SKILL.md +153 -0
- package/dist/knowledge/skills/resource-status-lifecycle/references/commercial-documents.md +46 -0
- package/dist/knowledge/skills/resource-status-lifecycle/references/quote-lifecycle-worked-example.md +198 -0
- package/dist/knowledge/skills/resource-ui-behavior/SKILL.md +30 -4
- package/dist/knowledge/skills/resource-ui-behavior/references/framework-collection-filter-presets-api.md +157 -0
- package/dist/knowledge/skills/resource-ui-behavior/references/framework-frontend-resource-ui-contracts-api.md +101 -19
- package/dist/knowledge/skills/seeding-authoring/SKILL.md +155 -40
- package/dist/knowledge/skills/seeding-authoring/references/cross-seed-row-references.md +67 -0
- package/dist/knowledge/skills/seeding-authoring/references/framework-data-seeding-api.md +148 -4
- package/dist/knowledge/skills/seeding-authoring/references/seed-row-overlay.md +22 -0
- package/dist/knowledge/skills/settings-placement-authoring/references/framework-settings-destinations-catalog.md +43 -0
- package/dist/knowledge/skills/settings-placement-authoring/references/framework-settings-placement-api.md +2 -2
- package/dist/knowledge/skills/spec-companion-exports/SKILL.md +6 -1
- package/dist/knowledge/skills/spec-component-update/SKILL.md +10 -2
- package/dist/knowledge/skills/spec-composite-view-update/SKILL.md +2 -2
- package/dist/knowledge/skills/spec-family-update/SKILL.md +71 -66
- package/dist/knowledge/skills/spec-family-update/references/family-spec-routing.md +1 -1
- package/dist/knowledge/skills/spec-resource-update/SKILL.md +30 -10
- package/dist/knowledge/skills/spec-resource-update/references/resource-spec-field-routing.md +28 -0
- package/dist/knowledge/skills/spec-update-after-change/SKILL.md +22 -5
- package/dist/knowledge/skills/views-add-composite-view/SKILL.md +6 -1
- package/dist/knowledge/skills/views-add-custom-view/SKILL.md +10 -2
- package/dist/knowledge/skills/views-app-level/SKILL.md +13 -3
- package/dist/knowledge/skills/views-app-level/references/application-home.md +56 -0
- package/dist/knowledge/skills/views-chart-authoring/SKILL.md +221 -37
- package/dist/knowledge/skills/views-composite-authoring/SKILL.md +22 -5
- package/dist/knowledge/skills/views-execution-authoring/SKILL.md +1 -1
- package/dist/knowledge/skills/website-anonymous-session/SKILL.md +32 -2
- package/dist/knowledge/skills/website-blog-authoring/SKILL.md +16 -3
- package/dist/knowledge/skills/website-blog-authoring/references/blog-adapter-api.md +4 -0
- package/dist/knowledge/skills/website-bundle-discipline/SKILL.md +7 -1
- package/dist/knowledge/skills/website-consent-gate-overrides/SKILL.md +13 -1
- package/dist/knowledge/skills/website-factory-advanced/SKILL.md +10 -2
- package/dist/knowledge/skills/website-inbound-contact-forms/SKILL.md +13 -1
- package/dist/knowledge/skills/website-layout-overrides/SKILL.md +6 -1
- package/dist/knowledge/skills/website-marketing-metadata-extension/SKILL.md +19 -1
- package/dist/knowledge/skills/website-navigation-authoring/SKILL.md +55 -18
- package/dist/knowledge/skills/website-navigation-authoring/references/framework-public-document-links-api.md +98 -0
- package/dist/knowledge/skills/website-navigation-authoring/references/worked-examples-header-footer.md +8 -11
- package/dist/knowledge/skills/website-page-authoring/SKILL.md +16 -5
- package/dist/knowledge/skills/website-page-authoring/references/framework-site-context-loader-api.md +3 -0
- package/dist/knowledge/skills/website-primitive-overrides/SKILL.md +6 -1
- package/dist/knowledge/skills/website-section-faq/SKILL.md +6 -1
- package/dist/knowledge/skills/website-section-feature-benefit-summary/SKILL.md +6 -1
- package/dist/knowledge/skills/website-section-feature-detail/SKILL.md +10 -2
- package/dist/knowledge/skills/website-section-hero/SKILL.md +6 -1
- package/dist/knowledge/skills/website-section-pricing/SKILL.md +6 -1
- package/dist/knowledge/skills/website-section-social-proof/SKILL.md +12 -2
- package/dist/knowledge/skills/website-seo-aeo-geo/SKILL.md +15 -3
- package/dist/knowledge/skills/website-seo-aeo-geo/references/geo-api.md +16 -1
- package/dist/knowledge/skills/website-seo-aeo-geo/references/seo-api.md +2 -1
- package/dist/knowledge/topic-index.json +1441 -269
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../src/playbooks/bottom_up.placement-plan/playbook.definition.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAC/B;IACE,KAAK,EAAE,0BAA0B;IACjC,SAAS,EAAE,OAAO;IAClB,OAAO,EAAE,WAAW;IACpB,QAAQ,EAAE,u3DAAu3D;IACj4D,eAAe,EAAE;QACf,EAAE,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,aAAa,EAAE,EAAE;KACvE;IACD,QAAQ,EAAE;QACR,EAAE,QAAQ,EAAE,aAAa,EAAE;QAC3B,EAAE,QAAQ,EAAE,cAAc,EAAE;QAC5B,EAAE,QAAQ,EAAE,iBAAiB,EAAE,SAAS,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC,EAAE,IAAI,EAAE,iOAAiO,EAAE;QACrT,EAAE,QAAQ,EAAE,cAAc,EAAE,IAAI,EAAE,oEAAoE,EAAE;KACzG;IACD,SAAS,EAAE;QACT;YACE,QAAQ,EAAE,gBAAgB;YAC1B,WAAW,EAAE,mCAAmC;YAChD,aAAa,EAAE,g9DAAg9D;SACh+D;KACF;IACD,QAAQ,EAAE;QACR,kBAAkB,EAAE,qVAAqV;QACzW,sBAAsB,EAAE,oIAAoI;QAC5J,uBAAuB,EAAE,uPAAuP;QAChR,gBAAgB,EAAE,CAAC,iBAAiB,EAAE,sBAAsB,EAAE,6BAA6B,CAAC;QAC5F,WAAW,EAAE;YACX,8BAA8B;YAC9B,kBAAkB;YAClB,mBAAmB;SACpB;QACD,gBAAgB,EAAE,4pBAA4pB;QAC9qB,cAAc,EAAE;YACd,YAAY,EAAE,0BAA0B;YACxC,kBAAkB,EAAE,CAAC,uBAAuB,EAAE,wBAAwB,CAAC;YACvE,oBAAoB,EAAE,wBAAwB;YAC9C,sBAAsB,EAAE,uBAAuB;YAC/C,gBAAgB,EAAE,CAAC;SACpB;KACF;IACD,UAAU,EAAE,iBAAiB;IAC7B,UAAU,EAAE,gBAAgB;IAC5B,QAAQ,EAAE;QACR,SAAS,EAAE,CAAC;KACb;IACD,WAAW,EAAE,eAAe;CACpB,CAAC","sourcesContent":["/**\n * Canonical native declaration for this reusable application-creation method.\n *\n * Placement is a DECISION the creator should not have to make. This playbook\n * produces it as an artifact, with a per-decision rationale, so a later reader\n * can ask \"why is this here?\" without re-deriving the answer.\n */\nexport const playbookDefinition =\n{\n \"ref\": \"bottom_up.placement-plan\",\n \"version\": \"0.1.4\",\n \"phase\": \"bottom_up\",\n \"intent\": \"Decide WHERE every settings destination, resource operation and application view sits in the application shell, and WHY. Reads the domain plan (the modules, their resources and what they mean), the requirements (which tasks matter), the customer profile (who the customers are, which decides whether an enterprise destination belongs at all) and what the creator stated about the user groups, and produces a PLACEMENT PLAN: for each subject, either a PLACED decision naming one surface (the settings hub rail, the sidebar, the user menu, the command palette) and its address on that surface, or an explicit DECLINED decision with a reason. Both carry a rationale. It also declares the GROUPS that should exist on the grouped surfaces (settings rail categories, sidebar sections) with the product purpose behind each, which is what grounds their generated labels in authored intent instead of filler. This playbook DECIDES placement; it does NOT author configuration — turning a decision into `frontend/src/config/settings-hub.config.ts` and `app-shell.config.ts` is a coding task the build lane dispatches, through the `settings-placement-authoring` skill for the settings rail and the `config-app-shell` skill for the sidebar, command palette and user menu. A sidebar group or a sidebar or palette decision may name the roles it is shown to (`visibleToRoles`), when one audience only opens it. It runs BEFORE build-decompose, which consumes the plan and emits those tasks — the reverse order would be a cycle, since build-decompose is what produces the build plan. It writes no TypeScript, invents no destination refs, and authors no labels. It exists because the alternative is the framework defaulting placement, which is what made an application's settings rail unauthorable: nothing is placed implicitly, so a subject nobody decided about is a visible coverage gap rather than a silent framework default.\",\n \"preconditions\": [\n { \"kind\": \"artifact_exists\", \"selector\": { \"family\": \"domain-plan\" } }\n ],\n \"inputs\": [\n { \"family\": \"domain-plan\" },\n { \"family\": \"requirements\" },\n { \"family\": \"market-snapshot\", \"aspects\": [\"market.icp\", \"market.persona\"], \"//\": \"The customer profile the fit test reads (#2502): company size, the tools they run, their technical staff. Without it one run declined single sign-on for a five-person trade firm and another, from the same inputs, placed it.\" },\n { \"family\": \"vision-brief\", \"//\": \"What the product is and who it serves, which a placement must fit.\" }\n ],\n \"outputs\": [\n {\n \"family\": \"placement-plan\",\n \"schemaRef\": \"saas-specifications:PlacementPlan\",\n \"description\": \"The placement decision — `groups[]` (the containers that should exist on the grouped surfaces, each with the product purpose behind it) plus `decisions[]` (one per subject PER SURFACE: a stable `decisionRef`, the `PlacementSubject` being placed — an engine settings destination by ref, a resource operation, or an app view — a `PlacementDisposition` of PLACED or DECLINED, the surface-discriminated `PlacementAddress` when placed, and a REQUIRED `rationale` on both arms). Each decision also carries a REQUIRED `origin` — `DELIBERATED` or `REVISED` — which the trusted runtime stamps `DELIBERATED`; it is not representable in the provider-facing generation shape, because a panel run IS the panel's judgement and a model cannot declare its own output a human revision. A later edit that changes a decision sets `origin: REVISED` and records the panel's own reasoning in `supersedes.rationale`, so the artifact stops asserting panel reasoning for a decision the panel never took. Typed by the `_core` `placement-plan` family (`PlacementPlan`); the provider answers the strict `PlacementPlanGeneration` shape and the trusted runtime stamps refs and version. `validatePlacementPlan` is the deterministic validator: one subject placed twice on the SAME surface is a hard floor (the plan contradicts itself), while an empty group and an order collision are authoring warnings. Its coverage checks run per SUBJECT KIND and only for the kinds a caller supplies a catalog for, and the semantic authority currently supplies ENGINE_SETTINGS_DESTINATION_REFS for ENGINE_SETTINGS_DESTINATION. Unknown settings references are errors and missing settings decisions are warnings. This does not establish coverage for resource operations or application views: those kinds need their own supplied catalogues. A caller supplying no catalogue receives no coverage result, not a clean coverage result. The plan carries no file path, config key or label string — those belong to the coding task that authors the config.\"\n }\n ],\n \"method\": {\n \"//contextSources\": \"WORKSPACE_TRUTH — placement is decided against what EXISTS: the real engine settings destinations, the real resources and their operations, and the shell surfaces the application already has. A planner working from the definition artifacts alone invents destination refs that resolve to nothing, and every decision it emits is unplaceable.\",\n \"//contextSources2502\": \"CREATOR_STATED_FACTS — the user groups and the devices they use, which order the sidebar for the group that opens it most (#2502).\",\n \"//contextSources2502b\": \"APPLICATION_ENABLED_SURFACE — what the configuration switches on (capabilities, billing, sign-in methods), the capability leg of the fit test, dated by the configuration so a placement is offered again when SSO or billing is switched on (#2502).\",\n \"contextSources\": [\"workspace_truth\", \"creator_stated_facts\", \"application_enabled_surface\"],\n \"skillRefs\": [\n \"settings-placement-authoring\",\n \"config-app-shell\",\n \"config-navigation\",\n ],\n \"//deliberation\": \"Placement is DECIDED BY A PANEL, not elicited from the creator: the arrangement that is right for an application has several defensible answers, and the creator is the person least equipped to choose between them before the app exists. The information-architect OWNS the domain (so it derives the rubric); the design-system-guardian sits as the coherence memory, because where a thing goes must not fork the pattern the shipped surfaces already taught users. Three candidates, because the criteria trade off against each other — first-run discoverability, the daily-use path, and category convention pull in different directions and a single pass silently picks one.\",\n \"deliberation\": {\n \"workDomain\": \"information_architecture\",\n \"reviewerRoleRefs\": [\"information-architect\", \"design-system-guardian\"],\n \"coordinatorRoleRef\": \"design-system-guardian\",\n \"rubricDeriverRoleRef\": \"information-architect\",\n \"candidateCount\": 3\n }\n },\n \"executor\": \"companion_agent\",\n \"approval\": \"approve_result\",\n \"budget\": {\n \"maxRuns\": 3\n },\n \"onFailure\": \"keep_and_flag\"\n} as const;\n"]}
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
*/
|
|
18
18
|
export declare const playbookDefinition: {
|
|
19
19
|
readonly ref: "bottom_up.website-plan";
|
|
20
|
-
readonly version: "0.2.
|
|
20
|
+
readonly version: "0.2.1";
|
|
21
21
|
readonly phase: "bottom_up";
|
|
22
22
|
readonly intent: "Website plan — decide WHAT THE MARKETING WEBSITE SAYS for this application: which pages it has, what each page is for and who it is written for, and the sections that carry each page's argument in reading order, each drawing on the market entries the top-down lane authored (benefits, proofs, objections, jobs, pains, ICPs, tones of voice). Runs only once the capability composition decides the website is NEEDED (a declined website is never planned, and a plan landed before a later decline is set aside). A section's KIND (hero, benefits summary, benefit in detail, pricing, proof, objections answered, call to action, closing call to action, contact) names the shipped `website-section-*` skill that authors it, so the build lane can bind each emitted task to its skill without a model naming folders. Produces the plan; `bottom_up.build-decompose` turns it into the page and section tasks a coding agent runs, and the `add-website` composition scenario is what creates the `website/` workspace they write in.";
|
|
23
23
|
readonly preconditions: readonly [{
|
|
@@ -54,6 +54,9 @@ export declare const playbookDefinition: {
|
|
|
54
54
|
}, {
|
|
55
55
|
readonly family: "vision-brief";
|
|
56
56
|
readonly "//": "The product's own one-liner and differentiation, which a hero states before any market entry qualifies it.";
|
|
57
|
+
}, {
|
|
58
|
+
readonly family: "requirements";
|
|
59
|
+
readonly "//": "What the product is committed to DO (#2507). A feature section cites the requirement its claim rests on; a market benefit alone says what a buyer wants, never that the product delivers it.";
|
|
57
60
|
}, {
|
|
58
61
|
readonly family: "website-plan";
|
|
59
62
|
readonly "//": "Its own family: its method refines its own prior output and keeps its page refs, so it must be GIVEN that output (#1430). Input, not precondition: a first run stays eligible.";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/bottom_up.website-plan/playbook.definition.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2ErB,CAAC"}
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
*/
|
|
18
18
|
export const playbookDefinition = {
|
|
19
19
|
"ref": "bottom_up.website-plan",
|
|
20
|
-
"version": "0.2.
|
|
20
|
+
"version": "0.2.1",
|
|
21
21
|
"phase": "bottom_up",
|
|
22
22
|
"intent": "Website plan — decide WHAT THE MARKETING WEBSITE SAYS for this application: which pages it has, what each page is for and who it is written for, and the sections that carry each page's argument in reading order, each drawing on the market entries the top-down lane authored (benefits, proofs, objections, jobs, pains, ICPs, tones of voice). Runs only once the capability composition decides the website is NEEDED (a declined website is never planned, and a plan landed before a later decline is set aside). A section's KIND (hero, benefits summary, benefit in detail, pricing, proof, objections answered, call to action, closing call to action, contact) names the shipped `website-section-*` skill that authors it, so the build lane can bind each emitted task to its skill without a model naming folders. Produces the plan; `bottom_up.build-decompose` turns it into the page and section tasks a coding agent runs, and the `add-website` composition scenario is what creates the `website/` workspace they write in.",
|
|
23
23
|
"preconditions": [
|
|
@@ -47,6 +47,7 @@ export const playbookDefinition = {
|
|
|
47
47
|
{ "family": "brand-brief", "render": "map", "//": "Whether the product has a name and a visual tone to present. The plan needs to know it EXISTS and who it addresses; the site's own chrome is authored by the build tasks (#1424's reading)." },
|
|
48
48
|
{ "family": "business-model", "//": "The pricing plans a PRICING section presents — a pricing page with no plan behind it is a page about nothing." },
|
|
49
49
|
{ "family": "vision-brief", "//": "The product's own one-liner and differentiation, which a hero states before any market entry qualifies it." },
|
|
50
|
+
{ "family": "requirements", "//": "What the product is committed to DO (#2507). A feature section cites the requirement its claim rests on; a market benefit alone says what a buyer wants, never that the product delivers it." },
|
|
50
51
|
{ "family": "website-plan", "//": "Its own family: its method refines its own prior output and keeps its page refs, so it must be GIVEN that output (#1430). Input, not precondition: a first run stays eligible." }
|
|
51
52
|
],
|
|
52
53
|
"outputs": [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../src/play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QAAQ,EAAE;QACR;;;;;;WAMG;QACH,gBAAgB,EAAE,CAAC,mBAAmB,CAAC;QACvC;;;;;WAKG;QACH,eAAe,EAAE,CAAC,wBAAwB,CAAC;QAC3C,WAAW,EAAE;YACX,wBAAwB;YACxB,8BAA8B;YAC9B,qBAAqB;YACrB,oBAAoB;YACpB,sCAAsC;YACtC,8BAA8B;YAC9B,sBAAsB;YACtB,4BAA4B;SAC7B;KACF;IACD,UAAU,EAAE,iBAAiB;IAC7B,UAAU,EAAE,gBAAgB;IAC5B,QAAQ,EAAE;QACR,SAAS,EAAE,CAAC;KACb;IACD,WAAW,EAAE,eAAe;CACpB,CAAC","sourcesContent":["/**\n * Canonical native declaration for this reusable application-creation method.\n *\n * The website lane's one leaf (#1492). It reads the market snapshot the top-down lane produced —\n * positioning, ICPs, tones of voice, proofs, objections, benefits — the brand brief and the\n * business model's pricing plans, and decides WHAT THE MARKETING SITE SAYS: its pages, their\n * sections in reading order, and the market entries each section draws on.\n *\n * It does NOT write the site. `bottom_up.build-decompose` turns each page into a `WEBSITE_PAGE`\n * task and each section into a `WEBSITE_SECTION` task bound to the skill that section's KIND names,\n * because the build plan has ONE producer and a second would destroy the first's output (#895).\n *\n * The 23 `website-*` skills the framework ships were named by NO playbook until this one — the\n * largest finished asset in the catalog with no door. The site-level ones are this method's\n * `skillRefs`; the nine section skills are reached through `WEBSITE_SECTION_SKILL_REF`, which is\n * total over the section vocabulary, so a kind added without its skill does not compile.\n */\nexport const playbookDefinition = {\n \"ref\": \"bottom_up.website-plan\",\n \"version\": \"0.2.1\",\n \"phase\": \"bottom_up\",\n \"intent\": \"Website plan — decide WHAT THE MARKETING WEBSITE SAYS for this application: which pages it has, what each page is for and who it is written for, and the sections that carry each page's argument in reading order, each drawing on the market entries the top-down lane authored (benefits, proofs, objections, jobs, pains, ICPs, tones of voice). Runs only once the capability composition decides the website is NEEDED (a declined website is never planned, and a plan landed before a later decline is set aside). A section's KIND (hero, benefits summary, benefit in detail, pricing, proof, objections answered, call to action, closing call to action, contact) names the shipped `website-section-*` skill that authors it, so the build lane can bind each emitted task to its skill without a model naming folders. Produces the plan; `bottom_up.build-decompose` turns it into the page and section tasks a coding agent runs, and the `add-website` composition scenario is what creates the `website/` workspace they write in.\",\n \"preconditions\": [\n /*\n * The COMPOSITION is the readiness gate, and its CONTENT is what this method reads first: it\n * decides whether the application has a website at all, and this plan's disposition follows it.\n * `artifact_exists` rather than `artifact_expected` for exactly that reason — the content is\n * read, so the strength is honest (the audit's own distinction, #1434).\n */\n { \"kind\": \"artifact_exists\", \"selector\": { \"family\": \"capability-composition\" } },\n /*\n * And what it DECIDED (#1606): the plan is only worth producing when the composition says the\n * application has a website. Before this gate the playbook ran anyway, only to land NOT_APPLICABLE.\n * A plan landed while the website was needed is set aside for every reader if it is later declined.\n */\n { \"kind\": \"artifact_decides\", \"selector\": { \"family\": \"capability-composition\" }, \"decision\": \"add-website\", \"equals\": \"NEEDED\" },\n /*\n * The market snapshot is the SUBSTANCE. A site planned without it would be a model inventing\n * claims about a product nobody positioned, which is the one thing every method in this lane\n * refuses.\n */\n { \"kind\": \"artifact_exists\", \"selector\": { \"family\": \"market-snapshot\" } }\n ],\n \"inputs\": [\n { \"family\": \"capability-composition\", \"//\": \"Whether this application has a website, and the declaration that decided it.\" },\n { \"family\": \"market-snapshot\", \"//\": \"The substance of every section: benefits, proofs, objections, jobs, pains, ICPs, tones of voice, positioning.\" },\n { \"family\": \"brand-brief\", \"render\": \"map\", \"//\": \"Whether the product has a name and a visual tone to present. The plan needs to know it EXISTS and who it addresses; the site's own chrome is authored by the build tasks (#1424's reading).\" },\n { \"family\": \"business-model\", \"//\": \"The pricing plans a PRICING section presents — a pricing page with no plan behind it is a page about nothing.\" },\n { \"family\": \"vision-brief\", \"//\": \"The product's own one-liner and differentiation, which a hero states before any market entry qualifies it.\" },\n { \"family\": \"requirements\", \"//\": \"What the product is committed to DO (#2507). A feature section cites the requirement its claim rests on; a market benefit alone says what a buyer wants, never that the product delivers it.\" },\n { \"family\": \"website-plan\", \"//\": \"Its own family: its method refines its own prior output and keeps its page refs, so it must be GIVEN that output (#1430). Input, not precondition: a first run stays eligible.\" }\n ],\n \"outputs\": [\n {\n \"family\": \"website-plan\",\n \"schemaRef\": \"saas-specifications:WebsitePlan\",\n \"description\": \"What the marketing site says: a disposition (PLANNED, or NOT_APPLICABLE when the capability composition declined a website) with its rationale, and — when planned — the pages in navigation order, each with its purpose, the ICPs it is written for, its tone of voice, and its sections in reading order. Each section carries its KIND (which names the skill that authors it), what it does for the reader, and the market entries it draws on.\"\n }\n ],\n \"method\": {\n /*\n * MARKET_FIT_SCORES — the same computation `top_down.value-proposition` consumes, and for the\n * same reason: which benefits a page should lead with is a question about fit per ICP, and a\n * structured generation has no tools to compute it. The source renders the matrix beside each\n * benefit's authored Kano category, so the plan orders sections on a measurement rather than on\n * the model's impression of one (#1435).\n */\n \"contextSources\": [\"market_fit_scores\"],\n /*\n * ONE body reaches this step (#1435): `website-page-authoring` says what a page IS in this engine\n * — a manifest, a route adapter, a sections file and a label pack the build fails closed on — and\n * a plan that contradicts it plans pages nothing can author. Every other skill below is a contract\n * the CODING AGENT opens when it builds the task, so its body would be brief weight here.\n */\n \"skillBodyRefs\": [\"website-page-authoring\"],\n \"skillRefs\": [\n \"website-page-authoring\",\n \"website-navigation-authoring\",\n \"website-seo-aeo-geo\",\n \"website-label-pack\",\n \"website-marketing-metadata-extension\",\n \"market-positioning-authoring\",\n \"market-tone-of-voice\",\n \"market-proof-and-objection\"\n ]\n },\n \"executor\": \"companion_agent\",\n \"approval\": \"approve_result\",\n \"budget\": {\n \"maxRuns\": 3\n },\n \"onFailure\": \"keep_and_flag\"\n} as const;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/cross_cutting.application-creation/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,8BAA8B,EAC9B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,wBAAwB,EACxB,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqH9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/cross_cutting.compliance/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,wBAAwB,EACxB,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwE9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/cross_cutting.feature-development/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,wBAAwB,EACxB,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+C+G,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/cross_cutting.refinement/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,wBAAwB,EACxB,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmF+G,CAAC"}
|
package/dist/esm/playbooks/refinement.compliance-document-candidate/playbook.definition.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/refinement.compliance-document-candidate/playbook.definition.ts"],"names":[],"mappings":"AACA,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,gCAAgC,EAChC,sCAAsC,EACtC,0CAA0C,EAC1C,6CAA6C,EAC7C,8BAA8B,EAC9B,oCAAoC,EACpC,6BAA6B,EAC9B,MAAM,sCAAsC,CAAC;AAE9C;;;;;;;;;GASG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyErB,CAAC;AAEX;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuHW,CAAC"}
|
|
@@ -40,7 +40,7 @@ export declare const playbookDefinition: {
|
|
|
40
40
|
description: string;
|
|
41
41
|
}[];
|
|
42
42
|
method: {
|
|
43
|
-
contextSources: (MetaWorkflow_ContextSource.COMPLIANCE_PRIMARY_FACTS | MetaWorkflow_ContextSource.DOCUMENT_FACT_OBLIGATIONS)[];
|
|
43
|
+
contextSources: (MetaWorkflow_ContextSource.COMPLIANCE_PRIMARY_FACTS | MetaWorkflow_ContextSource.DOCUMENT_FACT_OBLIGATIONS | MetaWorkflow_ContextSource.APPLICATION_ROLE_GRAPH)[];
|
|
44
44
|
skillRefs: any[];
|
|
45
45
|
};
|
|
46
46
|
executor: MetaWorkflow_Executor.COMPANION_AGENT;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/refinement.document-facts/playbook.definition.ts"],"names":[],"mappings":"AACA,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,gCAAgC,EAChC,sCAAsC,EACtC,0CAA0C,EAC1C,6CAA6C,EAC7C,8BAA8B,EAC9B,oCAAoC,EACpC,6BAA6B,EAC7B,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,0BAA0B,EAC1B,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwG+G,CAAC;AAE/I;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuHW,CAAC"}
|
|
@@ -98,7 +98,19 @@ export const playbookDefinition = {
|
|
|
98
98
|
* examples, and has since 2026-08-28. That is prose, and the churn was measured with it in place.
|
|
99
99
|
* This supplies the closed set itself, which the engine catalog has held all along.
|
|
100
100
|
*/
|
|
101
|
-
|
|
101
|
+
/*
|
|
102
|
+
* APPLICATION_ROLE_GRAPH (#2506): the roles the backend declares. app-creation-test-004 stated "no role definitions"
|
|
103
|
+
* while its operations named roles, because nothing gave this pass the role graph.
|
|
104
|
+
*
|
|
105
|
+
* Both code-reading sources DATE these facts (`CONTEXT_SOURCE_CODE_SURFACES`): once the configuration or a
|
|
106
|
+
* resource declaration is committed after the facts landed, the facts are stale and the loop derives them again.
|
|
107
|
+
* Before that, facts derived ahead of the build stayed true to an application that no longer existed.
|
|
108
|
+
*/
|
|
109
|
+
contextSources: [
|
|
110
|
+
MetaWorkflow_ContextSource.COMPLIANCE_PRIMARY_FACTS,
|
|
111
|
+
MetaWorkflow_ContextSource.DOCUMENT_FACT_OBLIGATIONS,
|
|
112
|
+
MetaWorkflow_ContextSource.APPLICATION_ROLE_GRAPH,
|
|
113
|
+
],
|
|
102
114
|
skillRefs: [],
|
|
103
115
|
},
|
|
104
116
|
executor: MetaWorkflow_Executor.COMPANION_AGENT,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../../src/playbooks/refinement.document-facts/playbook.definition.ts"],"names":[],"mappings":"AACA,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,gCAAgC,EAChC,sCAAsC,EACtC,0CAA0C,EAC1C,6C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AE,MAAM,EAAE,+BAA+B,CAAC,QAAQ,EAAE;YACpH,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,MAAM,EAAE,MAAM,EAAE,+BAA+B,CAAC,MAAM,EAAE;YAChH,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,gBAAgB,EAAE,MAAM,EAAE,+BAA+B,CAAC,gBAAgB,EAAE;YACpI,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,iBAAiB,EAAE,MAAM,EAAE,+BAA+B,CAAC,iBAAiB,EAAE;YACtI,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,KAAK,EAAE,MAAM,EAAE,+BAA+B,CAAC,KAAK,EAAE;SAC/G;QACD,uBAAuB,EAAE,CAAC;QAC1B,uBAAuB,EAAE,CAAC;QAC1B,uBAAuB,EAAE,CAAC;QAC1B,cAAc,EAAE,+BAA+B,CAAC,KAAK;KACtD;CAC8C,CAAC","sourcesContent":["import type { MetaWorkflowEvaluationTreatmentSource } from '@wildo-ai/saas-backend-lib/meta-workflow-runtime';\nimport {\n MetaWorkflow_AuthorityAssuranceClass,\n MetaWorkflow_AuthorityDecisionMode,\n MetaWorkflow_AuthorityInteractionChannel,\n MetaWorkflow_ContinuationAction,\n MetaWorkflow_DecisionConsequence,\n MetaWorkflow_DecisionRuleBoundaryClass,\n MetaWorkflow_EvaluationAggregationStrategy,\n MetaWorkflow_EvaluationPromptAssemblyStrategy,\n MetaWorkflow_EvaluationVerdict,\n MetaWorkflow_EvidenceRequirementKind,\n MetaWorkflow_HardFloorPosture,\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_Executor,\n MetaWorkflow_FailurePolicy,\n MetaWorkflow_PredicateKind,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n MetaWorkflow_ContextSource,\n MetaWorkflow_Phase,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\n/**\n * Canonical native declaration for this reusable application-creation method.\n *\n * ## Why this playbook exists\n *\n * `refinement.compliance-document-candidate` drafts a governed document, and a governed document may\n * not assert anything about the application that nobody established. Until 2026-08-28 the fact set it\n * rested on was a HOST-COMPUTED projection sealed with a projector identity, source-head digests and\n * per-contribution authority receipts — none of it branchable on git, all of it deleted\n * (`.claude/rules/one-source-of-truth.md`, Rule 0).\n *\n * The candidate playbook was left gating on that projection, which is why it — and with it the whole\n * `refinement` phase — was permanently ineligible from the day it was authored until 2026-08-29: `artifact_valid` reads\n * LANDED families, and a host-computed projection never lands.\n *\n * This is the replacement, and it is deliberately ordinary: the facts become a FILE the application\n * commits, like every other family. What used to be enforced by a seal is now enforced by a pure\n * cross-reference check at the drafting boundary — a clause citing a fact this file does not declare\n * is refused before it can be written.\n */\nexport const playbookDefinition = {\n ref: 'refinement.document-facts',\n version: '0.1.0',\n phase: MetaWorkflow_Phase.REFINEMENT,\n intent:\n \"Derive the application's governed-document FACTS from truth it has already accepted — its vision (including the compliance regimes the posture pass recorded), its domain and its requirements — and land them as the `document-facts` family. A fact is a plain statement about how this application actually behaves: what data it holds, how long it keeps it, who it discloses to, what rights it honours. This produces the raw material a privacy notice or service terms is drafted FROM; it never drafts the document, never decides a legal question, and never states a fact the application's own code and accepted specifications do not support. Mechanism facts — retention treatment, data-subject kind, subject export — are read from the resource configurations, which declare what the application will actually do to a row; specifications supply purpose, not mechanism.\",\n preconditions: [\n /*\n * This playbook was where the phase gate was first found, and the last place it was patched.\n *\n * It gated on `PHASE_IS: REFINEMENT` from the day it was authored, and `deriveJourneyPhase`\n * returned only TOP_DOWN or BOTTOM_UP — so the precondition could never be satisfied and the\n * unattended loop could never select it, while nothing reported it, because an ineligible playbook\n * never reaches the eligibility board (#116). The gate was removed here, and the reasoning offered\n * for removing it applied to all nineteen: gate on the ARTIFACTS a pass actually needs, not on a\n * phase — an evolving application is not in a phase, it is in a STATE, and the state is the tree.\n *\n * The whole mechanism went on 2026-09-04. `PHASE_IS` no longer exists, so its absence here is no\n * longer a decision this playbook makes.\n *\n * The two `ARTIFACT_VALID` gates below are, and always were, the real readiness requirement:\n * nothing about when this pass is SAFE to run depended on the phase.\n */\n /*\n * The vision is required rather than merely declared: `top_down.compliance-posture` records each\n * applicable regime as a `compliance`-kind constraint there, and those constraints are what tell\n * this pass WHICH facts a later document will need. A derivation with no regime in view produces a\n * plausible generic fact set — the exact failure `compliance-document-system.md` forbids (\"do not\n * generate legal text from a generic SaaS category when application facts are absent\").\n */\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },\n /*\n * The domain plan is where the application's resources and their data actually live. Retention,\n * data categories and disclosure facts are read from it; without it this pass would be inventing\n * what the product stores.\n */\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'domain-plan' } },\n ],\n inputs: [{ family: 'vision-brief' }, { family: 'domain-plan' }, { family: 'requirements' }],\n outputs: [{\n family: 'document-facts',\n schemaRef: 'saas-specifications:ApplicationDocumentFactSpecification',\n description:\n \"The application's declared governed-document facts, one declaration per fact, each either KNOWN with its value or NOT_APPLICABLE with a reason. Authority is APPLICATION_SPECIFICATION throughout: these are facts the application's own accepted specifications establish. A fact needing a named human decision is deliberately ABSENT rather than dressed in an authority nobody holds.\",\n }],\n method: {\n /*\n * The resource declarations reach the brief through this, and nothing else does.\n *\n * This playbook's intent and its method have said since the day they were authored that mechanism\n * facts \"are read from the resource configurations\". They were not: the `compliance-primary-facts`\n * behavior existed and answered correctly, and no playbook declared it, so the derivation the\n * method describes could not happen. Its first live run (wonder-crm, 2026-08-29) landed two facts,\n * both paraphrased from vision prose, neither citing a declaration — a schema-valid artifact that\n * was wrong about where it came from, which is the one failure mode a governed document cannot\n * survive.\n *\n * NOT `WORKSPACE_TRUTH`: that section carries module ids and schema FIELD NAMES for a build\n * planner. A field's name says nothing about whether erasing its subject scrubs it.\n *\n * The run immediately after wiring it landed a fact reading \"contact records are retained and\n * impersonalized on erasure; workspace, workspace-member, company, pipeline-stage, deal, next-step\n * and interaction are declared RETAIN_ONLY\" — per resource, from the declarations. The run before\n * it, on the same application and the same method prose, had produced two paraphrases of the\n * vision. Nothing about the guidance changed; the evidence arrived.\n */\n /*\n * DOCUMENT_FACT_OBLIGATIONS supplies the second half, and it is the one this playbook had never\n * been given: the NAMES.\n *\n * COMPLIANCE_PRIMARY_FACTS made the answers true — the run after wiring it landed a per-resource\n * erasure fact instead of two paraphrases of the vision. It did nothing about what those answers\n * are CALLED, and a fact's ref is stamped from the slug this playbook chooses. Measured 2026-08-30:\n * twenty facts declared, ZERO of the eight a privacy notice requires, because the names were\n * semantically adjacent and lexically disjoint. True answers, uncitable.\n *\n * The method below already asks for stable descriptive slugs and names three of the eight as\n * examples, and has since 2026-08-28. That is prose, and the churn was measured with it in place.\n * This supplies the closed set itself, which the engine catalog has held all along.\n */\n contextSources: [MetaWorkflow_ContextSource.COMPLIANCE_PRIMARY_FACTS, MetaWorkflow_ContextSource.DOCUMENT_FACT_OBLIGATIONS],\n skillRefs: [],\n },\n executor: MetaWorkflow_Executor.COMPANION_AGENT,\n approval: MetaWorkflow_ApprovalPolicy.APPROVE_RESULT,\n budget: { maxRuns: 3 },\n onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG,\n /*\n * `guidance` is deliberately absent: the method prose is the single source of truth in `method.md`,\n * and the generator renders it (partials + references expanded) and injects it as `method.guidance`.\n * Declaring it here would be a second copy that drifts — the folder contract rejects an inline one.\n */\n} satisfies Omit<MetaWorkflowPlaybookAuthoring, 'method'> & { method: Omit<NonNullable<MetaWorkflowPlaybookAuthoring['method']>, 'guidance'> };\n\n/**\n * The advisory GROUNDING judge over the facts this playbook lands (#964 step 2, decision 2026-09-13).\n *\n * ## What it asks, and why it is a judge rather than a check\n *\n * A fact's value is prose, so \"does this sentence claim more than the application declares?\" is\n * judgement, not string matching. Step 1 took the facts whose whole answer IS a typed declaration out of\n * this playbook's hands (`ComputedDocumentFact`); what remains — processing purposes, data categories,\n * service scope, governance boundaries — is written by the producer, and until this treatment nothing\n * read those values against what the application accepted.\n *\n * The judge is handed the landed `document-facts` file, the input families the run derived from, the\n * application's compliance-relevant declarations (the same section the producer's brief carried) and\n * the facts the runtime computed. It is ADVISORY by construction (`runPlaybookJudge`): it speaks after\n * the file lands, and nothing refuses on its verdict. Promoting a GAP into a revision loop is a later,\n * deliberate decision.\n *\n * ## Severity is separated by CONSEQUENCE\n *\n * The first measured judge collapsed every finding to GAP (`.claude/context/app-creation-judge-growth.md`).\n * Here an embellishment a reader would not act on differently is a CONCERN; a claim a document would\n * publish as true and nothing establishes — a recipient, a transfer, a retention period, an AI use, a\n * settled answer where the declarations record a gap — is a GAP.\n */\nexport const evaluationTreatmentSource = {\n schemaVersion: 1,\n definitionRef: 'application-creation:evaluation-treatment/document-facts',\n definitionVersion: 1,\n evaluationProtocol: {\n schemaVersion: 1,\n protocolRef: 'application-creation:evaluation-protocol/document-facts',\n protocolVersion: 1,\n promptAssemblyStrategy: MetaWorkflow_EvaluationPromptAssemblyStrategy.CANONICAL_PROTOCOL_EVIDENCE_V1,\n aggregationStrategy: MetaWorkflow_EvaluationAggregationStrategy.WORST_VERDICT_PRECEDENCE_V1,\n verdictPrecedence: [MetaWorkflow_EvaluationVerdict.GAP, MetaWorkflow_EvaluationVerdict.INDETERMINATE, MetaWorkflow_EvaluationVerdict.CONCERN, MetaWorkflow_EvaluationVerdict.PASS],\n aggregationPolicyRef: 'application-creation:aggregation/worst-document-facts-verdict',\n criteria: [{\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/document-facts-grounded-in-declarations',\n criterionVersion: 1,\n instruction: 'The subject under judgment is the landed `document-facts` file. For EACH declaration in it, read the value (or the not-applicable reason) against the accepted application truth the run derived from and the computed context: the application\\'s compliance-relevant declarations and the facts the runtime computed. Decide whether the statement claims more than those establish. A fact may paraphrase, summarise and name a gap; it may not assert a recipient, processor, transfer, retention period, lawful basis, AI use, data category or capability that nothing in the evidence supplies, and it may not state as settled what the declarations record as undeclared. The computed facts are not under judgment and are absent from the file on purpose — never ask for them to be declared, but DO report a landed fact that contradicts one. Name every unsupported claim by its fact ref and quote the words. Separate severities by CONSEQUENCE: wording a reader would not act on differently is a CONCERN; a claim a governed document would publish as true that nothing establishes, or that the evidence contradicts, is a GAP.',\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/document-facts-grounded-in-declarations',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/document-facts-and-application-declarations',\n minCount: 2,\n maxCount: 2,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-document-facts-and-declarations',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-action-binding',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Every declaration states only what the accepted inputs, the declarations or the computed facts establish, and every gap the evidence records is stated as a gap.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'Grounded overall, with repairable wording drift a reader would not act on differently: an embellished emphasis, a vaguer summary than the evidence allows, or a claim that is supported but not traceable from its wording. Name each one.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'At least one declaration asserts something a governed document would publish as true that nothing in the evidence establishes, contradicts a declaration or a computed fact, or presents an undeclared matter as settled. Name each fact ref and quote the unsupported words.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The declarations or accepted inputs needed to decide are absent from the evidence, so groundedness cannot be judged. Say which evidence is missing.',\n },\n }],\n },\n evaluatorBindingPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:evaluator-binding-policy/document-facts',\n policyVersion: 1,\n admissibleEvaluatorSelectors: [{ evaluatorRef: 'meta-workflow:evaluator/structured-semantic-coherence', evaluatorVersion: 1 }],\n defaultEvaluatorSelector: { evaluatorRef: 'meta-workflow:evaluator/structured-semantic-coherence', evaluatorVersion: 1 },\n outputContractSelector: { outputContractRef: 'meta-workflow:output-contract/structured-semantic-evaluation-candidate', outputContractVersion: 1 },\n fallbackPolicyRef: 'application-creation:evaluator-policy/fail-closed',\n escalationPolicyRef: 'application-creation:evaluator-policy/request-explicit-review',\n maximumAttempts: 2,\n timeoutPolicyRef: 'application-creation:evaluator-policy/bounded-semantic-evaluation',\n budgetPolicyRef: 'application-creation:evaluator-policy/current-work-cycle-budget',\n selectionPolicyRef: 'application-creation:evaluator-policy/scoped-risk-and-evidence',\n },\n decisionPointDefinition: {\n schemaVersion: 1,\n decisionPointRef: 'application-creation:decision-point/document-facts-result',\n decisionPointVersion: 1,\n triggerRefs: ['application-creation:trigger/document-facts-staged-and-valid'],\n hardFloorRefs: ['application-creation:hard-floor/document-facts-valid'],\n riskPolicyRef: 'application-creation:risk-policy/scoped-application-and-execution-context',\n significancePolicyRef: 'application-creation:significance-policy/governed-document-fact-change',\n },\n decisionRule: {\n schemaVersion: 1,\n ruleRef: 'application-creation:decision-rule/document-facts-result',\n ruleVersion: 1,\n boundaryClass: MetaWorkflow_DecisionRuleBoundaryClass.QUALITY_INTERPRETATION,\n evidenceAggregationRef: 'application-creation:aggregation/worst-document-facts-verdict',\n resultMappings: [\n { verdict: MetaWorkflow_EvaluationVerdict.PASS, consequence: MetaWorkflow_DecisionConsequence.REQUEST_AUTHORITY },\n { verdict: MetaWorkflow_EvaluationVerdict.CONCERN, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.GAP, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.INDETERMINATE, consequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE },\n ],\n hardFloorBindings: [{\n hardFloorRef: 'application-creation:hard-floor/document-facts-valid',\n evidenceRequirementRefs: ['application-creation:evidence-requirement/document-facts-grounded-in-declarations'],\n }],\n hardFloorFailureConsequence: MetaWorkflow_DecisionConsequence.BLOCK,\n hardFloorShortcutAllowed: false,\n unresolvedConsequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE,\n evaluatorFailureConsequence: MetaWorkflow_DecisionConsequence.BLOCK,\n },\n authorityRequirement: {\n schemaVersion: 1,\n requirementRef: 'application-creation:authority-requirement/document-facts-result',\n requirementVersion: 1,\n consequenceClassRef: 'application-creation:authority-consequence/accept-document-facts',\n riskClassRef: 'application-creation:risk/governed-document-fact-accepted-family-mutation',\n decisionModePolicyRef: 'application-creation:authority-policy/explicit-operator-confirmation',\n assurancePolicyRef: 'application-creation:authority-policy/local-single-operator',\n channelPolicyRef: 'application-creation:authority-policy/interface-relay',\n principalPolicyRef: null,\n requiredDecisionMode: MetaWorkflow_AuthorityDecisionMode.EXPLICIT_OPERATOR_CONFIRMATION,\n minimumAssurance: MetaWorkflow_AuthorityAssuranceClass.LOCAL_OS_SESSION,\n admittedChannels: [MetaWorkflow_AuthorityInteractionChannel.INTERFACE_RELAY],\n requiredEvidenceRequirementRefs: ['application-creation:evidence-requirement/document-facts-grounded-in-declarations'],\n expiryPolicyRef: 'application-creation:authority-expiry/current-interface-session',\n noncePolicyRef: 'application-creation:authority-nonce/random-per-request',\n hardFloorPosture: MetaWorkflow_HardFloorPosture.NON_WAIVABLE,\n hardFloorOverrideAllowed: false,\n },\n continuationPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:continuation-policy/document-facts',\n policyVersion: 1,\n mappings: [\n { decisionConsequence: MetaWorkflow_DecisionConsequence.CONTINUE, action: MetaWorkflow_ContinuationAction.CONTINUE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REVISE, action: MetaWorkflow_ContinuationAction.REVISE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE, action: MetaWorkflow_ContinuationAction.REQUEST_EVIDENCE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REQUEST_AUTHORITY, action: MetaWorkflow_ContinuationAction.REQUEST_AUTHORITY },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.BLOCK, action: MetaWorkflow_ContinuationAction.BLOCK },\n ],\n maximumRevisionAttempts: 3,\n maximumEvidenceRequests: 2,\n maximumAuthorityReviews: 1,\n fallbackAction: MetaWorkflow_ContinuationAction.BLOCK,\n },\n} satisfies MetaWorkflowEvaluationTreatmentSource;\n"]}
|
|
1
|
+
{"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../src/playbooks/refinement.document-facts/playbook.definition.ts"],"names":[],"mappings":"AACA,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,gCAAgC,EAChC,sCAAsC,EACtC,0CAA0C,EAC1C,6CAA6C,EAC7C,8BAA8B,EAC9B,oCAAoC,EACpC,6BAA6B,EAC7B,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,0BAA0B,EAC1B,kBAAkB,GAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,GAAG,EAAE,2BAA2B;IAChC,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE,kBAAkB,CAAC,UAAU;IACpC,MAAM,EACJ,i2BAAi2B;IACn2B,aAAa,EAAE;QACb;;;;;;;;;;;;;;;WAeG;QACH;;;;;;WAMG;QACH,EAAE,IAAI,EAAE,0BAA0B,CAAC,cAAc,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE;QACzF;;;;WAIG;QACH,EAAE,IAAI,EAAE,0BAA0B,CAAC,cAAc,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,aAAa,EAAE,EAAE;KACzF;IACD,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,EAAE,aAAa,EAAE,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC;IAC3F,OAAO,EAAE,CAAC;YACR,MAAM,E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gBAAgB,EAAE,oCAAoC,CAAC,gBAAgB;QACvE,gBAAgB,EAAE,CAAC,wCAAwC,CAAC,eAAe,CAAC;QAC5E,+BAA+B,EAAE,CAAC,mFAAmF,CAAC;QACtH,eAAe,EAAE,iEAAiE;QAClF,cAAc,EAAE,yDAAyD;QACzE,gBAAgB,EAAE,6BAA6B,CAAC,YAAY;QAC5D,wBAAwB,EAAE,KAAK;KAChC;IACD,kBAAkB,EAAE;QAClB,aAAa,EAAE,CAAC;QAChB,SAAS,EAAE,yDAAyD;QACpE,aAAa,EAAE,CAAC;QAChB,QAAQ,EAAE;YACR,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,QAAQ,EAAE,MAAM,EAAE,+BAA+B,CAAC,QAAQ,EAAE;YACpH,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,MAAM,EAAE,MAAM,EAAE,+BAA+B,CAAC,MAAM,EAAE;YAChH,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,gBAAgB,EAAE,MAAM,EAAE,+BAA+B,CAAC,gBAAgB,EAAE;YACpI,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,iBAAiB,EAAE,MAAM,EAAE,+BAA+B,CAAC,iBAAiB,EAAE;YACtI,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,KAAK,EAAE,MAAM,EAAE,+BAA+B,CAAC,KAAK,EAAE;SAC/G;QACD,uBAAuB,EAAE,CAAC;QAC1B,uBAAuB,EAAE,CAAC;QAC1B,uBAAuB,EAAE,CAAC;QAC1B,cAAc,EAAE,+BAA+B,CAAC,KAAK;KACtD;CAC8C,CAAC","sourcesContent":["import type { MetaWorkflowEvaluationTreatmentSource } from '@wildo-ai/saas-backend-lib/meta-workflow-runtime';\nimport {\n MetaWorkflow_AuthorityAssuranceClass,\n MetaWorkflow_AuthorityDecisionMode,\n MetaWorkflow_AuthorityInteractionChannel,\n MetaWorkflow_ContinuationAction,\n MetaWorkflow_DecisionConsequence,\n MetaWorkflow_DecisionRuleBoundaryClass,\n MetaWorkflow_EvaluationAggregationStrategy,\n MetaWorkflow_EvaluationPromptAssemblyStrategy,\n MetaWorkflow_EvaluationVerdict,\n MetaWorkflow_EvidenceRequirementKind,\n MetaWorkflow_HardFloorPosture,\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_Executor,\n MetaWorkflow_FailurePolicy,\n MetaWorkflow_PredicateKind,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n MetaWorkflow_ContextSource,\n MetaWorkflow_Phase,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\n/**\n * Canonical native declaration for this reusable application-creation method.\n *\n * ## Why this playbook exists\n *\n * `refinement.compliance-document-candidate` drafts a governed document, and a governed document may\n * not assert anything about the application that nobody established. Until 2026-08-28 the fact set it\n * rested on was a HOST-COMPUTED projection sealed with a projector identity, source-head digests and\n * per-contribution authority receipts — none of it branchable on git, all of it deleted\n * (`.claude/rules/one-source-of-truth.md`, Rule 0).\n *\n * The candidate playbook was left gating on that projection, which is why it — and with it the whole\n * `refinement` phase — was permanently ineligible from the day it was authored until 2026-08-29: `artifact_valid` reads\n * LANDED families, and a host-computed projection never lands.\n *\n * This is the replacement, and it is deliberately ordinary: the facts become a FILE the application\n * commits, like every other family. What used to be enforced by a seal is now enforced by a pure\n * cross-reference check at the drafting boundary — a clause citing a fact this file does not declare\n * is refused before it can be written.\n */\nexport const playbookDefinition = {\n ref: 'refinement.document-facts',\n version: '0.1.0',\n phase: MetaWorkflow_Phase.REFINEMENT,\n intent:\n \"Derive the application's governed-document FACTS from truth it has already accepted — its vision (including the compliance regimes the posture pass recorded), its domain and its requirements — and land them as the `document-facts` family. A fact is a plain statement about how this application actually behaves: what data it holds, how long it keeps it, who it discloses to, what rights it honours. This produces the raw material a privacy notice or service terms is drafted FROM; it never drafts the document, never decides a legal question, and never states a fact the application's own code and accepted specifications do not support. Mechanism facts — retention treatment, data-subject kind, subject export — are read from the resource configurations, which declare what the application will actually do to a row; specifications supply purpose, not mechanism.\",\n preconditions: [\n /*\n * This playbook was where the phase gate was first found, and the last place it was patched.\n *\n * It gated on `PHASE_IS: REFINEMENT` from the day it was authored, and `deriveJourneyPhase`\n * returned only TOP_DOWN or BOTTOM_UP — so the precondition could never be satisfied and the\n * unattended loop could never select it, while nothing reported it, because an ineligible playbook\n * never reaches the eligibility board (#116). The gate was removed here, and the reasoning offered\n * for removing it applied to all nineteen: gate on the ARTIFACTS a pass actually needs, not on a\n * phase — an evolving application is not in a phase, it is in a STATE, and the state is the tree.\n *\n * The whole mechanism went on 2026-09-04. `PHASE_IS` no longer exists, so its absence here is no\n * longer a decision this playbook makes.\n *\n * The two `ARTIFACT_VALID` gates below are, and always were, the real readiness requirement:\n * nothing about when this pass is SAFE to run depended on the phase.\n */\n /*\n * The vision is required rather than merely declared: `top_down.compliance-posture` records each\n * applicable regime as a `compliance`-kind constraint there, and those constraints are what tell\n * this pass WHICH facts a later document will need. A derivation with no regime in view produces a\n * plausible generic fact set — the exact failure `compliance-document-system.md` forbids (\"do not\n * generate legal text from a generic SaaS category when application facts are absent\").\n */\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },\n /*\n * The domain plan is where the application's resources and their data actually live. Retention,\n * data categories and disclosure facts are read from it; without it this pass would be inventing\n * what the product stores.\n */\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'domain-plan' } },\n ],\n inputs: [{ family: 'vision-brief' }, { family: 'domain-plan' }, { family: 'requirements' }],\n outputs: [{\n family: 'document-facts',\n schemaRef: 'saas-specifications:ApplicationDocumentFactSpecification',\n description:\n \"The application's declared governed-document facts, one declaration per fact, each either KNOWN with its value or NOT_APPLICABLE with a reason. Authority is APPLICATION_SPECIFICATION throughout: these are facts the application's own accepted specifications establish. A fact needing a named human decision is deliberately ABSENT rather than dressed in an authority nobody holds.\",\n }],\n method: {\n /*\n * The resource declarations reach the brief through this, and nothing else does.\n *\n * This playbook's intent and its method have said since the day they were authored that mechanism\n * facts \"are read from the resource configurations\". They were not: the `compliance-primary-facts`\n * behavior existed and answered correctly, and no playbook declared it, so the derivation the\n * method describes could not happen. Its first live run (wonder-crm, 2026-08-29) landed two facts,\n * both paraphrased from vision prose, neither citing a declaration — a schema-valid artifact that\n * was wrong about where it came from, which is the one failure mode a governed document cannot\n * survive.\n *\n * NOT `WORKSPACE_TRUTH`: that section carries module ids and schema FIELD NAMES for a build\n * planner. A field's name says nothing about whether erasing its subject scrubs it.\n *\n * The run immediately after wiring it landed a fact reading \"contact records are retained and\n * impersonalized on erasure; workspace, workspace-member, company, pipeline-stage, deal, next-step\n * and interaction are declared RETAIN_ONLY\" — per resource, from the declarations. The run before\n * it, on the same application and the same method prose, had produced two paraphrases of the\n * vision. Nothing about the guidance changed; the evidence arrived.\n */\n /*\n * DOCUMENT_FACT_OBLIGATIONS supplies the second half, and it is the one this playbook had never\n * been given: the NAMES.\n *\n * COMPLIANCE_PRIMARY_FACTS made the answers true — the run after wiring it landed a per-resource\n * erasure fact instead of two paraphrases of the vision. It did nothing about what those answers\n * are CALLED, and a fact's ref is stamped from the slug this playbook chooses. Measured 2026-08-30:\n * twenty facts declared, ZERO of the eight a privacy notice requires, because the names were\n * semantically adjacent and lexically disjoint. True answers, uncitable.\n *\n * The method below already asks for stable descriptive slugs and names three of the eight as\n * examples, and has since 2026-08-28. That is prose, and the churn was measured with it in place.\n * This supplies the closed set itself, which the engine catalog has held all along.\n */\n /*\n * APPLICATION_ROLE_GRAPH (#2506): the roles the backend declares. app-creation-test-004 stated \"no role definitions\"\n * while its operations named roles, because nothing gave this pass the role graph.\n *\n * Both code-reading sources DATE these facts (`CONTEXT_SOURCE_CODE_SURFACES`): once the configuration or a\n * resource declaration is committed after the facts landed, the facts are stale and the loop derives them again.\n * Before that, facts derived ahead of the build stayed true to an application that no longer existed.\n */\n contextSources: [\n MetaWorkflow_ContextSource.COMPLIANCE_PRIMARY_FACTS,\n MetaWorkflow_ContextSource.DOCUMENT_FACT_OBLIGATIONS,\n MetaWorkflow_ContextSource.APPLICATION_ROLE_GRAPH,\n ],\n skillRefs: [],\n },\n executor: MetaWorkflow_Executor.COMPANION_AGENT,\n approval: MetaWorkflow_ApprovalPolicy.APPROVE_RESULT,\n budget: { maxRuns: 3 },\n onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG,\n /*\n * `guidance` is deliberately absent: the method prose is the single source of truth in `method.md`,\n * and the generator renders it (partials + references expanded) and injects it as `method.guidance`.\n * Declaring it here would be a second copy that drifts — the folder contract rejects an inline one.\n */\n} satisfies Omit<MetaWorkflowPlaybookAuthoring, 'method'> & { method: Omit<NonNullable<MetaWorkflowPlaybookAuthoring['method']>, 'guidance'> };\n\n/**\n * The advisory GROUNDING judge over the facts this playbook lands (#964 step 2, decision 2026-09-13).\n *\n * ## What it asks, and why it is a judge rather than a check\n *\n * A fact's value is prose, so \"does this sentence claim more than the application declares?\" is\n * judgement, not string matching. Step 1 took the facts whose whole answer IS a typed declaration out of\n * this playbook's hands (`ComputedDocumentFact`); what remains — processing purposes, data categories,\n * service scope, governance boundaries — is written by the producer, and until this treatment nothing\n * read those values against what the application accepted.\n *\n * The judge is handed the landed `document-facts` file, the input families the run derived from, the\n * application's compliance-relevant declarations (the same section the producer's brief carried) and\n * the facts the runtime computed. It is ADVISORY by construction (`runPlaybookJudge`): it speaks after\n * the file lands, and nothing refuses on its verdict. Promoting a GAP into a revision loop is a later,\n * deliberate decision.\n *\n * ## Severity is separated by CONSEQUENCE\n *\n * The first measured judge collapsed every finding to GAP (`.claude/context/app-creation-judge-growth.md`).\n * Here an embellishment a reader would not act on differently is a CONCERN; a claim a document would\n * publish as true and nothing establishes — a recipient, a transfer, a retention period, an AI use, a\n * settled answer where the declarations record a gap — is a GAP.\n */\nexport const evaluationTreatmentSource = {\n schemaVersion: 1,\n definitionRef: 'application-creation:evaluation-treatment/document-facts',\n definitionVersion: 1,\n evaluationProtocol: {\n schemaVersion: 1,\n protocolRef: 'application-creation:evaluation-protocol/document-facts',\n protocolVersion: 1,\n promptAssemblyStrategy: MetaWorkflow_EvaluationPromptAssemblyStrategy.CANONICAL_PROTOCOL_EVIDENCE_V1,\n aggregationStrategy: MetaWorkflow_EvaluationAggregationStrategy.WORST_VERDICT_PRECEDENCE_V1,\n verdictPrecedence: [MetaWorkflow_EvaluationVerdict.GAP, MetaWorkflow_EvaluationVerdict.INDETERMINATE, MetaWorkflow_EvaluationVerdict.CONCERN, MetaWorkflow_EvaluationVerdict.PASS],\n aggregationPolicyRef: 'application-creation:aggregation/worst-document-facts-verdict',\n criteria: [{\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/document-facts-grounded-in-declarations',\n criterionVersion: 1,\n instruction: 'The subject under judgment is the landed `document-facts` file. For EACH declaration in it, read the value (or the not-applicable reason) against the accepted application truth the run derived from and the computed context: the application\\'s compliance-relevant declarations and the facts the runtime computed. Decide whether the statement claims more than those establish. A fact may paraphrase, summarise and name a gap; it may not assert a recipient, processor, transfer, retention period, lawful basis, AI use, data category or capability that nothing in the evidence supplies, and it may not state as settled what the declarations record as undeclared. The computed facts are not under judgment and are absent from the file on purpose — never ask for them to be declared, but DO report a landed fact that contradicts one. Name every unsupported claim by its fact ref and quote the words. Separate severities by CONSEQUENCE: wording a reader would not act on differently is a CONCERN; a claim a governed document would publish as true that nothing establishes, or that the evidence contradicts, is a GAP.',\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/document-facts-grounded-in-declarations',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/document-facts-and-application-declarations',\n minCount: 2,\n maxCount: 2,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-document-facts-and-declarations',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-action-binding',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Every declaration states only what the accepted inputs, the declarations or the computed facts establish, and every gap the evidence records is stated as a gap.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'Grounded overall, with repairable wording drift a reader would not act on differently: an embellished emphasis, a vaguer summary than the evidence allows, or a claim that is supported but not traceable from its wording. Name each one.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'At least one declaration asserts something a governed document would publish as true that nothing in the evidence establishes, contradicts a declaration or a computed fact, or presents an undeclared matter as settled. Name each fact ref and quote the unsupported words.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The declarations or accepted inputs needed to decide are absent from the evidence, so groundedness cannot be judged. Say which evidence is missing.',\n },\n }],\n },\n evaluatorBindingPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:evaluator-binding-policy/document-facts',\n policyVersion: 1,\n admissibleEvaluatorSelectors: [{ evaluatorRef: 'meta-workflow:evaluator/structured-semantic-coherence', evaluatorVersion: 1 }],\n defaultEvaluatorSelector: { evaluatorRef: 'meta-workflow:evaluator/structured-semantic-coherence', evaluatorVersion: 1 },\n outputContractSelector: { outputContractRef: 'meta-workflow:output-contract/structured-semantic-evaluation-candidate', outputContractVersion: 1 },\n fallbackPolicyRef: 'application-creation:evaluator-policy/fail-closed',\n escalationPolicyRef: 'application-creation:evaluator-policy/request-explicit-review',\n maximumAttempts: 2,\n timeoutPolicyRef: 'application-creation:evaluator-policy/bounded-semantic-evaluation',\n budgetPolicyRef: 'application-creation:evaluator-policy/current-work-cycle-budget',\n selectionPolicyRef: 'application-creation:evaluator-policy/scoped-risk-and-evidence',\n },\n decisionPointDefinition: {\n schemaVersion: 1,\n decisionPointRef: 'application-creation:decision-point/document-facts-result',\n decisionPointVersion: 1,\n triggerRefs: ['application-creation:trigger/document-facts-staged-and-valid'],\n hardFloorRefs: ['application-creation:hard-floor/document-facts-valid'],\n riskPolicyRef: 'application-creation:risk-policy/scoped-application-and-execution-context',\n significancePolicyRef: 'application-creation:significance-policy/governed-document-fact-change',\n },\n decisionRule: {\n schemaVersion: 1,\n ruleRef: 'application-creation:decision-rule/document-facts-result',\n ruleVersion: 1,\n boundaryClass: MetaWorkflow_DecisionRuleBoundaryClass.QUALITY_INTERPRETATION,\n evidenceAggregationRef: 'application-creation:aggregation/worst-document-facts-verdict',\n resultMappings: [\n { verdict: MetaWorkflow_EvaluationVerdict.PASS, consequence: MetaWorkflow_DecisionConsequence.REQUEST_AUTHORITY },\n { verdict: MetaWorkflow_EvaluationVerdict.CONCERN, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.GAP, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.INDETERMINATE, consequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE },\n ],\n hardFloorBindings: [{\n hardFloorRef: 'application-creation:hard-floor/document-facts-valid',\n evidenceRequirementRefs: ['application-creation:evidence-requirement/document-facts-grounded-in-declarations'],\n }],\n hardFloorFailureConsequence: MetaWorkflow_DecisionConsequence.BLOCK,\n hardFloorShortcutAllowed: false,\n unresolvedConsequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE,\n evaluatorFailureConsequence: MetaWorkflow_DecisionConsequence.BLOCK,\n },\n authorityRequirement: {\n schemaVersion: 1,\n requirementRef: 'application-creation:authority-requirement/document-facts-result',\n requirementVersion: 1,\n consequenceClassRef: 'application-creation:authority-consequence/accept-document-facts',\n riskClassRef: 'application-creation:risk/governed-document-fact-accepted-family-mutation',\n decisionModePolicyRef: 'application-creation:authority-policy/explicit-operator-confirmation',\n assurancePolicyRef: 'application-creation:authority-policy/local-single-operator',\n channelPolicyRef: 'application-creation:authority-policy/interface-relay',\n principalPolicyRef: null,\n requiredDecisionMode: MetaWorkflow_AuthorityDecisionMode.EXPLICIT_OPERATOR_CONFIRMATION,\n minimumAssurance: MetaWorkflow_AuthorityAssuranceClass.LOCAL_OS_SESSION,\n admittedChannels: [MetaWorkflow_AuthorityInteractionChannel.INTERFACE_RELAY],\n requiredEvidenceRequirementRefs: ['application-creation:evidence-requirement/document-facts-grounded-in-declarations'],\n expiryPolicyRef: 'application-creation:authority-expiry/current-interface-session',\n noncePolicyRef: 'application-creation:authority-nonce/random-per-request',\n hardFloorPosture: MetaWorkflow_HardFloorPosture.NON_WAIVABLE,\n hardFloorOverrideAllowed: false,\n },\n continuationPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:continuation-policy/document-facts',\n policyVersion: 1,\n mappings: [\n { decisionConsequence: MetaWorkflow_DecisionConsequence.CONTINUE, action: MetaWorkflow_ContinuationAction.CONTINUE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REVISE, action: MetaWorkflow_ContinuationAction.REVISE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE, action: MetaWorkflow_ContinuationAction.REQUEST_EVIDENCE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REQUEST_AUTHORITY, action: MetaWorkflow_ContinuationAction.REQUEST_AUTHORITY },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.BLOCK, action: MetaWorkflow_ContinuationAction.BLOCK },\n ],\n maximumRevisionAttempts: 3,\n maximumEvidenceRequests: 2,\n maximumAuthorityReviews: 1,\n fallbackAction: MetaWorkflow_ContinuationAction.BLOCK,\n },\n} satisfies MetaWorkflowEvaluationTreatmentSource;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/refinement.feature-contribution/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,wBAAwB,EACxB,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqC+G,CAAC"}
|
package/dist/esm/playbooks/refinement.governance-document-candidate/playbook.definition.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/refinement.governance-document-candidate/playbook.definition.ts"],"names":[],"mappings":"AACA,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,gCAAgC,EAChC,sCAAsC,EACtC,0CAA0C,EAC1C,6CAA6C,EAC7C,8BAA8B,EAC9B,oCAAoC,EACpC,6BAA6B,EAC9B,MAAM,sCAAsC,CAAC;AAE9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DrB,CAAC;AAEX;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuHW,CAAC"}
|
|
@@ -13,7 +13,7 @@ import { MetaWorkflow_AuthorityAssuranceClass, MetaWorkflow_AuthorityDecisionMod
|
|
|
13
13
|
*/
|
|
14
14
|
export declare const playbookDefinition: {
|
|
15
15
|
readonly ref: "top_down.brand-identity";
|
|
16
|
-
readonly version: "0.
|
|
16
|
+
readonly version: "0.4.0";
|
|
17
17
|
readonly phase: "top_down";
|
|
18
18
|
readonly intent: "Brand-identity elicitation: draw the product's VISUAL identity out of the creator — the brand name (CHOSEN by the creator from the screened candidates `top_down.brand-naming` landed), the logo creative direction (mark type, motifs, symbolism, imagery don'ts, background), and the visual tone (style keywords, mood, color story) — and capture it as a single validated BrandSnapshot (the `brand-brief` artifact family). The visual counterpart to the vision (intent) and market (verbal voice) briefs: it derives symbolism from the VisionSnapshot's idea/mission and, when a MarketSnapshot exists, translates its verbal `tonesOfVoice` into a visual register. The emitted brand-brief is the INPUT the companion logo step generates the master logo + derived assets from, and via `BrandSnapshot.resolvedAssets` the single source of truth every logo/favicon/brand-image consumer resolves against. Progressive: may persist a partially-directed brand (logoDirection/visualTone optional) and resume. v1 scaffold methodology — iterate the interview.";
|
|
19
19
|
readonly preconditions: readonly [{
|
|
@@ -53,7 +53,7 @@ export declare const playbookDefinition: {
|
|
|
53
53
|
readonly elicitation: {
|
|
54
54
|
readonly questions: readonly [{
|
|
55
55
|
readonly ref: "brand-name";
|
|
56
|
-
readonly question: "Which screened name should the brand carry?
|
|
56
|
+
readonly question: "Which screened name should the brand carry? The name is what the logo renders and every surface prints; a bracketed note after it records how you chose and is never printed. [not-screened]: no trademark register could be read for this name. [screening-incomplete]: some registers were read, not all. [keep-despite-conflict]: your own name, kept although the screening found a conflicting mark or a product already using the name — the line under each option says which. This is a minimal trademark screening, not a legal clearance — consult an IP professional before filing or launching.";
|
|
57
57
|
readonly kind: "choice";
|
|
58
58
|
readonly optionsFrom: "brand_name_screening_candidates";
|
|
59
59
|
readonly depth: "essential";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/top_down.brand-identity/playbook.definition.ts"],"names":[],"mappings":"AACA,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,gCAAgC,EAChC,sCAAsC,EACtC,0CAA0C,EAC1C,6CAA6C,EAC7C,8BAA8B,EAC9B,oCAAoC,EACpC,6BAA6B,EAC9B,MAAM,sCAAsC,CAAC;AAE9C;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuHrB,CAAC;AAEX,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0LW,CAAC"}
|
|
@@ -13,7 +13,7 @@ import { MetaWorkflow_AuthorityAssuranceClass, MetaWorkflow_AuthorityDecisionMod
|
|
|
13
13
|
*/
|
|
14
14
|
export const playbookDefinition = {
|
|
15
15
|
"ref": "top_down.brand-identity",
|
|
16
|
-
"version": "0.
|
|
16
|
+
"version": "0.4.0",
|
|
17
17
|
"phase": "top_down",
|
|
18
18
|
"intent": "Brand-identity elicitation: draw the product's VISUAL identity out of the creator — the brand name (CHOSEN by the creator from the screened candidates `top_down.brand-naming` landed), the logo creative direction (mark type, motifs, symbolism, imagery don'ts, background), and the visual tone (style keywords, mood, color story) — and capture it as a single validated BrandSnapshot (the `brand-brief` artifact family). The visual counterpart to the vision (intent) and market (verbal voice) briefs: it derives symbolism from the VisionSnapshot's idea/mission and, when a MarketSnapshot exists, translates its verbal `tonesOfVoice` into a visual register. The emitted brand-brief is the INPUT the companion logo step generates the master logo + derived assets from, and via `BrandSnapshot.resolvedAssets` the single source of truth every logo/favicon/brand-image consumer resolves against. Progressive: may persist a partially-directed brand (logoDirection/visualTone optional) and resume. v1 scaffold methodology — iterate the interview.",
|
|
19
19
|
"preconditions": [
|
|
@@ -62,7 +62,13 @@ export const playbookDefinition = {
|
|
|
62
62
|
* option, and the creator's answer is the record of that decision. To screen another name of their own, the
|
|
63
63
|
* creator adds it to `top_down.brand-naming`'s interview and re-runs it.
|
|
64
64
|
*/
|
|
65
|
-
|
|
65
|
+
/*
|
|
66
|
+
* #2337: the option's bracketed qualifier records HOW the creator chose and is never part of the name; the
|
|
67
|
+
* question used to say "this exact string is what the logo renders", which the method contradicted. Each
|
|
68
|
+
* option is shown with what its qualifier summarizes (the computed `optionDetails`), and the chosen line is
|
|
69
|
+
* recorded with the answer.
|
|
70
|
+
*/
|
|
71
|
+
"question": "Which screened name should the brand carry? The name is what the logo renders and every surface prints; a bracketed note after it records how you chose and is never printed. [not-screened]: no trademark register could be read for this name. [screening-incomplete]: some registers were read, not all. [keep-despite-conflict]: your own name, kept although the screening found a conflicting mark or a product already using the name — the line under each option says which. This is a minimal trademark screening, not a legal clearance — consult an IP professional before filing or launching.",
|
|
66
72
|
"kind": "choice",
|
|
67
73
|
"optionsFrom": "brand_name_screening_candidates",
|
|
68
74
|
// The one question a quick interview asks (#2177): the name is what every surface prints.
|
|
@@ -146,7 +152,7 @@ export const evaluationTreatmentSource = {
|
|
|
146
152
|
schemaVersion: 1,
|
|
147
153
|
criterionRef: 'application-creation:criterion/brand-identity-grounding-in-creator-and-vision',
|
|
148
154
|
criterionVersion: 1,
|
|
149
|
-
instruction: "Determine whether the brand brief is GROUNDED: the brand name is exactly the name the creator chose in the interview (an option may carry a bracketed qualifier such as [screening-incomplete] or [keep-despite-conflict] — the name is the text before it, and the qualifier never appears in the brand name); the mark type, background and colour seeds are the creator's answers; the symbolism, motifs and imagery to avoid DERIVE from the vision's idea and mission; the visual tone translates the market's verbal voice where a market snapshot exists and is noted as provisional where it does not; and the creator's visual-direction answer, when it is not \"none\", is honoured and outranks the derivation. Derived direction is expected — the interview no longer asks for it — but it must trace to the vision or the market voice, never be a decorative choice of the model's own. A partially-directed brief (name only, direction still open) is a legitimate state, not a finding.",
|
|
155
|
+
instruction: "Determine whether the brand brief is GROUNDED: the brand name is exactly the name the creator chose in the interview (an option may carry a bracketed qualifier such as [not-screened], [screening-incomplete] or [keep-despite-conflict] — the name is the text before it, and the qualifier never appears in the brand name); the mark type, background and colour seeds are the creator's answers; the symbolism, motifs and imagery to avoid DERIVE from the vision's idea and mission; the visual tone translates the market's verbal voice where a market snapshot exists and is noted as provisional where it does not; and the creator's visual-direction answer, when it is not \"none\", is honoured and outranks the derivation. Derived direction is expected — the interview no longer asks for it — but it must trace to the vision or the market voice, never be a decorative choice of the model's own. A partially-directed brief (name only, direction still open) is a legitimate state, not a finding.",
|
|
150
156
|
assessesAspects: ['brand.name', 'brand.logo-direction', 'brand.visual-tone', 'vision.idea', 'vision.mission'],
|
|
151
157
|
evidenceRequirements: [{
|
|
152
158
|
schemaVersion: 1,
|
|
@@ -221,7 +227,7 @@ export const evaluationTreatmentSource = {
|
|
|
221
227
|
}],
|
|
222
228
|
verdictGuidance: {
|
|
223
229
|
[MetaWorkflow_EvaluationVerdict.PASS]: 'The name is a screened candidate covered in every declared jurisdiction and class, and the brief claims no availability or clearance.',
|
|
224
|
-
[MetaWorkflow_EvaluationVerdict.CONCERN]: 'The name was chosen as screening-incomplete or kept despite a conflict, and the brief says so plainly.',
|
|
230
|
+
[MetaWorkflow_EvaluationVerdict.CONCERN]: 'The name was chosen as not screened, screening-incomplete or kept despite a conflict, and the brief says so plainly.',
|
|
225
231
|
[MetaWorkflow_EvaluationVerdict.GAP]: 'The name is not among the screened candidates, an unchecked or conflicting name is presented as clear, or the brief asserts availability or legal clearance.',
|
|
226
232
|
[MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The brand-name screening is not in evidence, so the name\'s standing cannot be checked.',
|
|
227
233
|
},
|