@wildo-ai/framework-knowledge 1.1.8 → 1.1.9

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.
Files changed (226) hide show
  1. package/dist/claude-marketplace/plugins/wildo/.claude-plugin/plugin.json +1 -1
  2. package/dist/claude-marketplace/plugins/wildo/references/composites-and-the-loop.md +9 -2
  3. package/dist/claude-marketplace/plugins/wildo/references/creation-state.md +21 -0
  4. package/dist/claude-marketplace/plugins/wildo/references/derived-artifacts.md +121 -0
  5. package/dist/claude-marketplace/plugins/wildo/references/runs-judges-and-questions.md +29 -5
  6. package/dist/claude-marketplace/plugins/wildo/skills/answer/SKILL.md +29 -2
  7. package/dist/claude-marketplace/plugins/wildo/skills/build/SKILL.md +69 -24
  8. package/dist/claude-marketplace/plugins/wildo/skills/doctor/SKILL.md +10 -0
  9. package/dist/claude-marketplace/plugins/wildo/skills/run/SKILL.md +21 -5
  10. package/dist/claude-marketplace/plugins/wildo/skills/start/SKILL.md +31 -5
  11. package/dist/claude-marketplace/plugins/wildo/skills/status/SKILL.md +2 -0
  12. package/dist/claude-marketplace/plugins/wildo/skills/why/SKILL.md +11 -1
  13. package/dist/esm/framework-knowledge.definitions.d.ts +1 -1
  14. package/dist/esm/framework-knowledge.definitions.d.ts.map +1 -1
  15. package/dist/esm/framework-knowledge.definitions.js +11 -1
  16. package/dist/esm/framework-knowledge.definitions.js.map +1 -1
  17. package/dist/esm/playbooks/bottom_up.assemble-verify/playbook.definition.d.ts +2 -2
  18. package/dist/esm/playbooks/bottom_up.assemble-verify/playbook.definition.js +2 -2
  19. package/dist/esm/playbooks/bottom_up.assemble-verify/playbook.definition.js.map +1 -1
  20. package/dist/esm/playbooks/bottom_up.build/playbook.definition.d.ts +11 -11
  21. package/dist/esm/playbooks/bottom_up.build/playbook.definition.d.ts.map +1 -1
  22. package/dist/esm/playbooks/bottom_up.build/playbook.definition.js +29 -22
  23. package/dist/esm/playbooks/bottom_up.build/playbook.definition.js.map +1 -1
  24. package/dist/esm/playbooks/bottom_up.build-decompose/playbook.definition.d.ts +3 -3
  25. package/dist/esm/playbooks/bottom_up.build-decompose/playbook.definition.d.ts.map +1 -1
  26. package/dist/esm/playbooks/bottom_up.build-decompose/playbook.definition.js +59 -10
  27. package/dist/esm/playbooks/bottom_up.build-decompose/playbook.definition.js.map +1 -1
  28. package/dist/esm/playbooks/bottom_up.build-dispatch/playbook.definition.d.ts +1 -1
  29. package/dist/esm/playbooks/bottom_up.build-dispatch/playbook.definition.js +3 -3
  30. package/dist/esm/playbooks/bottom_up.build-dispatch/playbook.definition.js.map +1 -1
  31. package/dist/esm/playbooks/bottom_up.build-scale/playbook.definition.d.ts +1 -1
  32. package/dist/esm/playbooks/bottom_up.build-scale/playbook.definition.js +1 -1
  33. package/dist/esm/playbooks/bottom_up.build-scale/playbook.definition.js.map +1 -1
  34. package/dist/esm/playbooks/bottom_up.conception/playbook.definition.js +1 -1
  35. package/dist/esm/playbooks/bottom_up.conception/playbook.definition.js.map +1 -1
  36. package/dist/esm/playbooks/bottom_up.domain-plan/playbook.definition.d.ts +2 -1
  37. package/dist/esm/playbooks/bottom_up.domain-plan/playbook.definition.d.ts.map +1 -1
  38. package/dist/esm/playbooks/bottom_up.domain-plan/playbook.definition.js +5 -5
  39. package/dist/esm/playbooks/bottom_up.domain-plan/playbook.definition.js.map +1 -1
  40. package/dist/esm/playbooks/bottom_up.foundation/playbook.definition.d.ts +8 -0
  41. package/dist/esm/playbooks/bottom_up.foundation/playbook.definition.d.ts.map +1 -1
  42. package/dist/esm/playbooks/bottom_up.foundation/playbook.definition.js +12 -4
  43. package/dist/esm/playbooks/bottom_up.foundation/playbook.definition.js.map +1 -1
  44. package/dist/esm/playbooks/top_down.brand-identity/playbook.definition.d.ts +25 -27
  45. package/dist/esm/playbooks/top_down.brand-identity/playbook.definition.d.ts.map +1 -1
  46. package/dist/esm/playbooks/top_down.brand-identity/playbook.definition.js +85 -43
  47. package/dist/esm/playbooks/top_down.brand-identity/playbook.definition.js.map +1 -1
  48. package/dist/esm/playbooks/top_down.brand-name-research/playbook.definition.d.ts +40 -0
  49. package/dist/esm/playbooks/top_down.brand-name-research/playbook.definition.d.ts.map +1 -0
  50. package/dist/esm/playbooks/top_down.brand-name-research/playbook.definition.js +41 -0
  51. package/dist/esm/playbooks/top_down.brand-name-research/playbook.definition.js.map +1 -0
  52. package/dist/esm/playbooks/top_down.brand-name-screening-produce/playbook.definition.d.ts +199 -0
  53. package/dist/esm/playbooks/top_down.brand-name-screening-produce/playbook.definition.d.ts.map +1 -0
  54. package/dist/esm/playbooks/top_down.brand-name-screening-produce/playbook.definition.js +201 -0
  55. package/dist/esm/playbooks/top_down.brand-name-screening-produce/playbook.definition.js.map +1 -0
  56. package/dist/esm/playbooks/top_down.brand-naming/playbook.definition.d.ts +67 -0
  57. package/dist/esm/playbooks/top_down.brand-naming/playbook.definition.d.ts.map +1 -0
  58. package/dist/esm/playbooks/top_down.brand-naming/playbook.definition.js +76 -0
  59. package/dist/esm/playbooks/top_down.brand-naming/playbook.definition.js.map +1 -0
  60. package/dist/esm/playbooks/top_down.business-model/playbook.definition.d.ts +3 -1
  61. package/dist/esm/playbooks/top_down.business-model/playbook.definition.d.ts.map +1 -1
  62. package/dist/esm/playbooks/top_down.business-model/playbook.definition.js +27 -18
  63. package/dist/esm/playbooks/top_down.business-model/playbook.definition.js.map +1 -1
  64. package/dist/esm/playbooks/top_down.compliance-analysis/playbook.definition.d.ts +11 -1
  65. package/dist/esm/playbooks/top_down.compliance-analysis/playbook.definition.d.ts.map +1 -1
  66. package/dist/esm/playbooks/top_down.compliance-analysis/playbook.definition.js +11 -11
  67. package/dist/esm/playbooks/top_down.compliance-analysis/playbook.definition.js.map +1 -1
  68. package/dist/esm/playbooks/top_down.compliance-conception/playbook.definition.d.ts +2 -0
  69. package/dist/esm/playbooks/top_down.compliance-conception/playbook.definition.d.ts.map +1 -1
  70. package/dist/esm/playbooks/top_down.compliance-conception/playbook.definition.js +3 -1
  71. package/dist/esm/playbooks/top_down.compliance-conception/playbook.definition.js.map +1 -1
  72. package/dist/esm/playbooks/top_down.compliance-posture/playbook.definition.d.ts +2 -0
  73. package/dist/esm/playbooks/top_down.compliance-posture/playbook.definition.d.ts.map +1 -1
  74. package/dist/esm/playbooks/top_down.compliance-posture/playbook.definition.js +3 -1
  75. package/dist/esm/playbooks/top_down.compliance-posture/playbook.definition.js.map +1 -1
  76. package/dist/esm/playbooks/top_down.definition/playbook.definition.d.ts +5 -2
  77. package/dist/esm/playbooks/top_down.definition/playbook.definition.d.ts.map +1 -1
  78. package/dist/esm/playbooks/top_down.definition/playbook.definition.js +16 -4
  79. package/dist/esm/playbooks/top_down.definition/playbook.definition.js.map +1 -1
  80. package/dist/esm/playbooks/top_down.phase-gate/playbook.definition.d.ts +7 -3
  81. package/dist/esm/playbooks/top_down.phase-gate/playbook.definition.d.ts.map +1 -1
  82. package/dist/esm/playbooks/top_down.phase-gate/playbook.definition.js +36 -2
  83. package/dist/esm/playbooks/top_down.phase-gate/playbook.definition.js.map +1 -1
  84. package/dist/esm/playbooks/top_down.risk-register/playbook.definition.d.ts +7 -1
  85. package/dist/esm/playbooks/top_down.risk-register/playbook.definition.d.ts.map +1 -1
  86. package/dist/esm/playbooks/top_down.risk-register/playbook.definition.js +4 -2
  87. package/dist/esm/playbooks/top_down.risk-register/playbook.definition.js.map +1 -1
  88. package/dist/esm/playbooks/top_down.scope-roadmap/playbook.definition.d.ts +9 -3
  89. package/dist/esm/playbooks/top_down.scope-roadmap/playbook.definition.d.ts.map +1 -1
  90. package/dist/esm/playbooks/top_down.scope-roadmap/playbook.definition.js +3 -3
  91. package/dist/esm/playbooks/top_down.scope-roadmap/playbook.definition.js.map +1 -1
  92. package/dist/esm/playbooks/top_down.vision-elicitation/playbook.definition.d.ts +35 -2
  93. package/dist/esm/playbooks/top_down.vision-elicitation/playbook.definition.d.ts.map +1 -1
  94. package/dist/esm/playbooks/top_down.vision-elicitation/playbook.definition.js +30 -17
  95. package/dist/esm/playbooks/top_down.vision-elicitation/playbook.definition.js.map +1 -1
  96. package/dist/knowledge/assurance-authority-bases/wildo-safe-baseline-v1/authority-basis.json +1 -1
  97. package/dist/knowledge/assurance-authority-bases/wildo-safe-baseline-v1/external-framework-mapping.json +1 -1
  98. package/dist/knowledge/manifest.json +8 -8
  99. package/dist/knowledge/playbooks/bottom_up.assemble-verify/method.md +22 -7
  100. package/dist/knowledge/playbooks/bottom_up.assemble-verify/playbook.json +3 -3
  101. package/dist/knowledge/playbooks/bottom_up.build/method.md +17 -15
  102. package/dist/knowledge/playbooks/bottom_up.build/playbook.json +4 -3
  103. package/dist/knowledge/playbooks/bottom_up.build-decompose/evaluation-protocol.json +1 -1
  104. package/dist/knowledge/playbooks/bottom_up.build-decompose/evaluation-treatment.json +1 -1
  105. package/dist/knowledge/playbooks/bottom_up.build-decompose/method.md +117 -28
  106. package/dist/knowledge/playbooks/bottom_up.build-decompose/playbook.json +4 -4
  107. package/dist/knowledge/playbooks/bottom_up.build-dispatch/method.md +133 -59
  108. package/dist/knowledge/playbooks/bottom_up.build-dispatch/playbook.json +2 -2
  109. package/dist/knowledge/playbooks/bottom_up.build-scale/method.md +169 -276
  110. package/dist/knowledge/playbooks/bottom_up.build-scale/playbook.json +2 -2
  111. package/dist/knowledge/playbooks/bottom_up.capability-composition/method.md +8 -1
  112. package/dist/knowledge/playbooks/bottom_up.capability-composition/playbook.json +1 -1
  113. package/dist/knowledge/playbooks/bottom_up.conception/method.md +3 -2
  114. package/dist/knowledge/playbooks/bottom_up.conception/playbook.json +2 -2
  115. package/dist/knowledge/playbooks/bottom_up.domain-plan/evaluation-protocol.json +1 -1
  116. package/dist/knowledge/playbooks/bottom_up.domain-plan/evaluation-treatment.json +1 -1
  117. package/dist/knowledge/playbooks/bottom_up.domain-plan/method.md +22 -6
  118. package/dist/knowledge/playbooks/bottom_up.domain-plan/playbook.json +4 -3
  119. package/dist/knowledge/playbooks/bottom_up.foundation/playbook.json +13 -5
  120. package/dist/knowledge/playbooks/refinement.compliance-document-candidate/method.md +5 -2
  121. package/dist/knowledge/playbooks/refinement.compliance-document-candidate/playbook.json +1 -1
  122. package/dist/knowledge/playbooks/top_down.brand-identity/evaluation-protocol.json +1 -1
  123. package/dist/knowledge/playbooks/top_down.brand-identity/evaluation-treatment.json +1 -1
  124. package/dist/knowledge/playbooks/top_down.brand-identity/method.md +71 -37
  125. package/dist/knowledge/playbooks/top_down.brand-identity/playbook.json +35 -38
  126. package/dist/knowledge/playbooks/top_down.brand-name-research/method.md +105 -0
  127. package/dist/knowledge/playbooks/top_down.brand-name-research/playbook.json +55 -0
  128. package/dist/knowledge/playbooks/top_down.brand-name-screening-produce/evaluation-protocol.json +1 -0
  129. package/dist/knowledge/playbooks/top_down.brand-name-screening-produce/evaluation-treatment.json +1 -0
  130. package/dist/knowledge/playbooks/top_down.brand-name-screening-produce/method.md +78 -0
  131. package/dist/knowledge/playbooks/top_down.brand-name-screening-produce/playbook.json +63 -0
  132. package/dist/knowledge/playbooks/top_down.brand-naming/method.md +56 -0
  133. package/dist/knowledge/playbooks/top_down.brand-naming/playbook.json +65 -0
  134. package/dist/knowledge/playbooks/top_down.business-model/evaluation-protocol.json +1 -1
  135. package/dist/knowledge/playbooks/top_down.business-model/evaluation-treatment.json +1 -1
  136. package/dist/knowledge/playbooks/top_down.business-model/method.md +60 -6
  137. package/dist/knowledge/playbooks/top_down.business-model/playbook.json +15 -10
  138. package/dist/knowledge/playbooks/top_down.compliance-analysis/playbook.json +30 -10
  139. package/dist/knowledge/playbooks/top_down.compliance-conception/playbook.json +3 -1
  140. package/dist/knowledge/playbooks/top_down.compliance-posture/playbook.json +4 -1
  141. package/dist/knowledge/playbooks/top_down.definition/method.md +8 -3
  142. package/dist/knowledge/playbooks/top_down.definition/playbook.json +6 -4
  143. package/dist/knowledge/playbooks/top_down.phase-gate/evaluation-protocol.json +1 -1
  144. package/dist/knowledge/playbooks/top_down.phase-gate/evaluation-treatment.json +1 -1
  145. package/dist/knowledge/playbooks/top_down.phase-gate/playbook.json +11 -1
  146. package/dist/knowledge/playbooks/top_down.risk-register/method.md +21 -0
  147. package/dist/knowledge/playbooks/top_down.risk-register/playbook.json +8 -2
  148. package/dist/knowledge/playbooks/top_down.scope-roadmap/playbook.json +4 -2
  149. package/dist/knowledge/playbooks/top_down.vision-elicitation/method.md +10 -0
  150. package/dist/knowledge/playbooks/top_down.vision-elicitation/playbook.json +40 -17
  151. package/dist/knowledge/references/brand.name-choice.config.md +127 -0
  152. package/dist/knowledge/references/brand.name-screening.config.md +253 -0
  153. package/dist/knowledge/references/build-plan.task-graph.config.md +64 -11
  154. package/dist/knowledge/references/business-model.pricing-plan.config.md +16 -0
  155. package/dist/knowledge/references/business-model.snapshot.config.md +64 -0
  156. package/dist/knowledge/references/business-model.snapshot.validation.md +68 -4
  157. package/dist/knowledge/references/capability-composition.config.md +67 -4
  158. package/dist/knowledge/references/example.data-seeding.minimal.md +29 -1
  159. package/dist/knowledge/references/market.snapshot.validation.md +1 -1
  160. package/dist/knowledge/references/saas.data-seeding.bootstrap-wiring.md +7 -1
  161. package/dist/knowledge/references/saas.data-seeding.definition-input.md +6 -0
  162. package/dist/knowledge/references/saas.models.queue.scheduled-recovery.md +81 -2
  163. package/dist/knowledge/references/saas.specifications.companion-exports.contract.md +10 -0
  164. package/dist/knowledge/references/saas.website.astro.label-loader.md +9 -0
  165. package/dist/knowledge/references/saas.website.factories.define-section.md +4 -0
  166. package/dist/knowledge/references/saas.website.page-manifest.schema.md +12 -3
  167. package/dist/knowledge/references/saas.website.page-sections.component.md +72 -0
  168. package/dist/knowledge/references/saas.website.sections.definition-schema.md +11 -0
  169. package/dist/knowledge/registries/assurance-authority-bases.json +1 -1
  170. package/dist/knowledge/registries/framework-topics.json +38 -1
  171. package/dist/knowledge/registries/playbooks.json +68 -20
  172. package/dist/knowledge/registries/source-tags.json +748 -695
  173. package/dist/knowledge/rules/live-context-door.md +5 -2
  174. package/dist/knowledge/skills/INDEX.md +2 -1
  175. package/dist/knowledge/skills/application-database-migrations/SKILL.md +1 -1
  176. package/dist/knowledge/skills/brand-name-screening/SKILL.md +154 -0
  177. package/dist/knowledge/skills/brand-name-screening/references/framework-brand-name-screening-api.md +394 -0
  178. package/dist/knowledge/skills/brand-name-screening/references/screening-procedure.md +65 -0
  179. package/dist/knowledge/skills/compliance-document-authoring/references/document-composition-privacy-notice.md +5 -2
  180. package/dist/knowledge/skills/config-saas/SKILL.md +31 -4
  181. package/dist/knowledge/skills/config-saas/references/compliance-declarations.md +14 -1
  182. package/dist/knowledge/skills/config-saas/references/framework-background-work-api.md +81 -2
  183. package/dist/knowledge/skills/email-add-template/SKILL.md +1 -1
  184. package/dist/knowledge/skills/i18n-rerun-pipeline/SKILL.md +1 -1
  185. package/dist/knowledge/skills/inbound-channels/SKILL.md +2 -2
  186. package/dist/knowledge/skills/local-environment-bootstrap/SKILL.md +11 -1
  187. package/dist/knowledge/skills/local-environment-bootstrap/references/derived-artifact-currency.md +122 -0
  188. package/dist/knowledge/skills/local-environment-bootstrap/references/framework-upgrade-and-dependency-alignment.md +11 -0
  189. package/dist/knowledge/skills/local-environment-bootstrap/references/wildo-cli-bootstrap-commands.md +9 -2
  190. package/dist/knowledge/skills/market-companion-prompt-enrichment/SKILL.md +11 -1
  191. package/dist/knowledge/skills/market-companion-prompt-enrichment/references/framework-companion-behavior-api.md +11 -1
  192. package/dist/knowledge/skills/market-message-templates-authoring/references/framework-message-template-api.md +1 -1
  193. package/dist/knowledge/skills/market-snapshot-validation/SKILL.md +1 -1
  194. package/dist/knowledge/skills/market-snapshot-validation/references/framework-snapshot-validation-api.md +1 -1
  195. package/dist/knowledge/skills/module-companion-exports/references/companion-exports-by-package.md +10 -0
  196. package/dist/knowledge/skills/module-relationships/SKILL.md +6 -4
  197. package/dist/knowledge/skills/seeding-authoring/SKILL.md +51 -3
  198. package/dist/knowledge/skills/seeding-authoring/references/framework-data-seeding-api.md +6 -0
  199. package/dist/knowledge/skills/seeding-operations/references/framework-data-seeding-operations-api.md +7 -1
  200. package/dist/knowledge/skills/spec-companion-exports/references/framework-companion-exports-contract-api.md +10 -0
  201. package/dist/knowledge/skills/website-factory-advanced/SKILL.md +4 -0
  202. package/dist/knowledge/skills/website-page-authoring/SKILL.md +84 -3
  203. package/dist/knowledge/skills/website-section-contact/SKILL.md +15 -0
  204. package/dist/knowledge/skills/website-section-contact/references/define-website-section-api.md +15 -0
  205. package/dist/knowledge/skills/website-section-cta/SKILL.md +15 -0
  206. package/dist/knowledge/skills/website-section-cta/references/define-website-section-api.md +15 -0
  207. package/dist/knowledge/skills/website-section-faq/SKILL.md +15 -0
  208. package/dist/knowledge/skills/website-section-faq/references/define-website-section-api.md +15 -0
  209. package/dist/knowledge/skills/website-section-feature-benefit-summary/SKILL.md +15 -0
  210. package/dist/knowledge/skills/website-section-feature-benefit-summary/references/define-website-section-api.md +15 -0
  211. package/dist/knowledge/skills/website-section-feature-detail/SKILL.md +15 -0
  212. package/dist/knowledge/skills/website-section-feature-detail/references/define-website-section-api.md +15 -0
  213. package/dist/knowledge/skills/website-section-footer-cta/SKILL.md +15 -0
  214. package/dist/knowledge/skills/website-section-footer-cta/references/define-website-section-api.md +15 -0
  215. package/dist/knowledge/skills/website-section-hero/SKILL.md +27 -9
  216. package/dist/knowledge/skills/website-section-hero/references/define-website-section-api.md +15 -0
  217. package/dist/knowledge/skills/website-section-pricing/SKILL.md +15 -0
  218. package/dist/knowledge/skills/website-section-pricing/references/define-website-section-api.md +15 -0
  219. package/dist/knowledge/skills/website-section-social-proof/SKILL.md +15 -0
  220. package/dist/knowledge/skills/website-section-social-proof/references/define-website-section-api.md +15 -0
  221. package/dist/knowledge/skills/website-seo-aeo-geo/SKILL.md +1 -1
  222. package/dist/knowledge/skills/website-seo-aeo-geo/references/aeo-api.md +11 -0
  223. package/dist/knowledge/topic-index.json +169 -43
  224. package/dist/tsconfig.build.tsbuildinfo +1 -1
  225. package/dist/tsconfig.tsbuildinfo +1 -1
  226. package/package.json +4 -4
@@ -1,5 +1,5 @@
1
1
  import { HumanDecision_FieldKind, } from '@wildo-ai/saas-models';
2
- import { MetaWorkflow_AuthorityAssuranceClass, MetaWorkflow_AuthorityDecisionMode, MetaWorkflow_AuthorityInteractionChannel, MetaWorkflow_ContinuationAction, MetaWorkflow_DecisionConsequence, MetaWorkflow_DecisionRuleBoundaryClass, MetaWorkflow_EvaluationAggregationStrategy, MetaWorkflow_EvaluationPromptAssemblyStrategy, MetaWorkflow_EvaluationVerdict, MetaWorkflow_EvidenceRequirementKind, MetaWorkflow_FailureDisposition, MetaWorkflow_HardFloorPosture, MetaWorkflow_OutputContentClass, MetaWorkflow_OutputContractCardinality, MetaWorkflow_StructuredArtifactOutputSetCommitment, MetaWorkflow_ApprovalPolicy, MetaWorkflow_Executor, MetaWorkflow_FailurePolicy, } from '@wildo-ai/saas-models/meta-workflows';
2
+ import { MetaWorkflow_AuthorityAssuranceClass, MetaWorkflow_AuthorityDecisionMode, MetaWorkflow_AuthorityInteractionChannel, MetaWorkflow_ContinuationAction, MetaWorkflow_DecisionConsequence, MetaWorkflow_DecisionRuleBoundaryClass, MetaWorkflow_EvaluationAggregationStrategy, MetaWorkflow_EvaluationPromptAssemblyStrategy, MetaWorkflow_EvaluationVerdict, MetaWorkflow_EvidenceRequirementKind, MetaWorkflow_FailureDisposition, MetaWorkflow_HardFloorPosture, MetaWorkflow_OutputContentClass, MetaWorkflow_OutputContractCardinality, MetaWorkflow_StructuredArtifactOutputSetCommitment, MetaWorkflow_ApprovalPolicy, MetaWorkflow_Executor, MetaWorkflow_FailurePolicy, MetaWorkflow_ElicitationQuestionDepth, MetaWorkflow_ElicitationUnknownPolicy, } from '@wildo-ai/saas-models/meta-workflows';
3
3
  import { ApplicationLine, MetaWorkflow_Phase, } from '@wildo-ai/saas-specifications/application-creation';
4
4
  export const playbookDefinition = {
5
5
  ref: 'top_down.vision-elicitation',
@@ -36,6 +36,19 @@ export const playbookDefinition = {
36
36
  }],
37
37
  method: {
38
38
  skillRefs: [],
39
+ /*
40
+ * DEPTH and the UNKNOWN-ANSWER policy (#2129). A SIMPLE interview asks three things — the line, the
41
+ * one-liner and the problem — because nothing else can be proposed without them; everything else is
42
+ * DETAIL and is proposed from those answers — reviewed on an open surface, or recorded by an unattended round.
43
+ * Every question but the line may be proposed when the creator does not know, and the proposal is recorded as an
44
+ * ASSUMPTION, never as their answer.
45
+ *
46
+ * The five regulated-domain questions are proposable too (Paul, 2026-10-01): a building-industry CRM is
47
+ * plainly not directed at children, and stopping the interview on it helps nobody. What keeps that honest
48
+ * is the review step, which lists every regulated assumption by name, and the dossier, which keeps it
49
+ * marked as assumed until the creator answers it themselves. An unattended round never assumes one: with
50
+ * nobody to name it to, the vision waits for the person on these.
51
+ */
39
52
  elicitation: {
40
53
  questions: [
41
54
  /*
@@ -45,28 +58,28 @@ export const playbookDefinition = {
45
58
  * The creator chooses; the model never proposes it. The options are the `ApplicationLine` members,
46
59
  * so a line added to the vocabulary is added here in the same change.
47
60
  */
48
- { ref: 'application-line', question: 'What kind of application is this? A B2B SaaS is a software product sold to other businesses. An internal tool is software a company builds for its own people.', kind: HumanDecision_FieldKind.CHOICE, options: [ApplicationLine.B2B_SAAS, ApplicationLine.INTERNAL_TOOL] },
49
- { ref: 'idea-one-liner', question: 'In one sentence, what is the product? Give the elevator pitch in the form "X for Y".', kind: HumanDecision_FieldKind.FREE_TEXT },
50
- { ref: 'idea-description', question: 'Expand the idea into a short paragraph describing the core capability and shape of the solution.', kind: HumanDecision_FieldKind.FREE_TEXT },
51
- { ref: 'problem-statement', question: 'What problem does this exist to solve, who suffers it, how do they cope today, and what does leaving it unsolved cost?', kind: HumanDecision_FieldKind.FREE_TEXT },
52
- { ref: 'problem-why-now', question: 'What makes solving this urgent now? Answer "none" if no specific trigger exists.', kind: HumanDecision_FieldKind.FREE_TEXT },
53
- { ref: 'mission-statement', question: 'What is the enduring mission and long-term end-state?', kind: HumanDecision_FieldKind.FREE_TEXT },
54
- { ref: 'mission-principles', question: 'List guiding principles and non-negotiables that constrain how the product is built.', kind: HumanDecision_FieldKind.FREE_TEXT },
55
- { ref: 'success-criteria', question: 'How will you know this succeeded? Name observable criteria and targets where available.', kind: HumanDecision_FieldKind.FREE_TEXT },
56
- { ref: 'success-primary-horizon', question: 'When is the most important success criterion judged?', kind: HumanDecision_FieldKind.CHOICE, options: ['launch', 'short_term', 'long_term'] },
57
- { ref: 'constraints-general', question: 'What external technical, business, resource or timeline limits apply?', kind: HumanDecision_FieldKind.FREE_TEXT },
61
+ { ref: 'application-line', question: 'What kind of application is this? A B2B SaaS is a software product sold to other businesses. An internal tool is software a company builds for its own people.', kind: HumanDecision_FieldKind.CHOICE, options: [ApplicationLine.B2B_SAAS, ApplicationLine.INTERNAL_TOOL], depth: MetaWorkflow_ElicitationQuestionDepth.ESSENTIAL, whenUnknown: MetaWorkflow_ElicitationUnknownPolicy.ASK },
62
+ { ref: 'idea-one-liner', question: 'In one sentence, what is the product? Give the elevator pitch in the form "X for Y".', kind: HumanDecision_FieldKind.FREE_TEXT, depth: MetaWorkflow_ElicitationQuestionDepth.ESSENTIAL },
63
+ { ref: 'idea-description', question: 'Expand the idea into a short paragraph describing the core capability and shape of the solution.', kind: HumanDecision_FieldKind.FREE_TEXT, depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL },
64
+ { ref: 'problem-statement', question: 'What problem does this exist to solve, who suffers it, how do they cope today, and what does leaving it unsolved cost?', kind: HumanDecision_FieldKind.FREE_TEXT, depth: MetaWorkflow_ElicitationQuestionDepth.ESSENTIAL },
65
+ { ref: 'problem-why-now', question: 'What makes solving this urgent now? Answer "none" if no specific trigger exists.', kind: HumanDecision_FieldKind.FREE_TEXT, depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL },
66
+ { ref: 'mission-statement', question: 'What is the enduring mission and long-term end-state?', kind: HumanDecision_FieldKind.FREE_TEXT, depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL },
67
+ { ref: 'mission-principles', question: 'List guiding principles and non-negotiables that constrain how the product is built.', kind: HumanDecision_FieldKind.FREE_TEXT, depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL },
68
+ { ref: 'success-criteria', question: 'How will you know this succeeded? Name observable criteria and targets where available.', kind: HumanDecision_FieldKind.FREE_TEXT, depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL },
69
+ { ref: 'success-primary-horizon', question: 'When is the most important success criterion judged?', kind: HumanDecision_FieldKind.CHOICE, options: ['launch', 'short_term', 'long_term'], depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL },
70
+ { ref: 'constraints-general', question: 'What external technical, business, resource or timeline limits apply?', kind: HumanDecision_FieldKind.FREE_TEXT, depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL },
58
71
  /*
59
72
  * The regulated-domain gate. These five questions moved here from the deleted transition-route
60
73
  * questionnaire — they are the framework's only written record of "is this application regulated",
61
74
  * and the vision interview is the earliest moment the creator can answer them. Their answers shape
62
75
  * which compliance playbooks matter later.
63
76
  */
64
- { ref: 'regulated-children-data', question: 'Will this application be directed to children, or process children\'s data or other specially protected personal data?', kind: HumanDecision_FieldKind.CONFIRM },
65
- { ref: 'regulated-financial-services', question: 'Will this application operate in financial services or handle regulated financial activity?', kind: HumanDecision_FieldKind.CONFIRM },
66
- { ref: 'regulated-healthcare-life-sciences', question: 'Will this application operate in healthcare or life sciences, or process health or clinical data?', kind: HumanDecision_FieldKind.CONFIRM },
67
- { ref: 'regulated-legal-compliance', question: 'Will this application make or materially support legal, regulatory, or compliance decisions?', kind: HumanDecision_FieldKind.CONFIRM },
68
- { ref: 'regulated-public-sector-critical-infrastructure', question: 'Will this application serve the public sector, or operate in critical infrastructure or another safety-critical domain?', kind: HumanDecision_FieldKind.CONFIRM },
69
- { ref: 'compliance-detail', question: 'For any yes above: which regimes apply, to what data, and in which jurisdictions?', kind: HumanDecision_FieldKind.FREE_TEXT },
77
+ { ref: 'regulated-children-data', question: 'Will this application be directed to children, or process children\'s data or other specially protected personal data?', kind: HumanDecision_FieldKind.CONFIRM, depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL, regulatedDomain: true },
78
+ { ref: 'regulated-financial-services', question: 'Will this application operate in financial services or handle regulated financial activity?', kind: HumanDecision_FieldKind.CONFIRM, depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL, regulatedDomain: true },
79
+ { ref: 'regulated-healthcare-life-sciences', question: 'Will this application operate in healthcare or life sciences, or process health or clinical data?', kind: HumanDecision_FieldKind.CONFIRM, depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL, regulatedDomain: true },
80
+ { ref: 'regulated-legal-compliance', question: 'Will this application make or materially support legal, regulatory, or compliance decisions?', kind: HumanDecision_FieldKind.CONFIRM, depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL, regulatedDomain: true },
81
+ { ref: 'regulated-public-sector-critical-infrastructure', question: 'Will this application serve the public sector, or operate in critical infrastructure or another safety-critical domain?', kind: HumanDecision_FieldKind.CONFIRM, depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL, regulatedDomain: true },
82
+ { ref: 'compliance-detail', question: 'For any yes above: which regimes apply, to what data, and in which jurisdictions?', kind: HumanDecision_FieldKind.FREE_TEXT, depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL, regulatedDomain: true },
70
83
  ],
71
84
  },
72
85
  },
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../../src/playbooks/top_down.vision-elicitation/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,GACxB,MAAM,uBAAuB,CAAC;AAK/B,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,gCAAgC,EAChC,sCAAsC,EACtC,0CAA0C,EAC1C,6CAA6C,EAC7C,8BAA8B,EAC9B,oCAAoC,EACpC,+BAA+B,EAC/B,6BAA6B,EAC7B,+BAA+B,EAC/B,sCAAsC,EACtC,kDAAkD,EAClD,2BAA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AAC,8BAA8B;QACvF,gBAAgB,EAAE,oCAAoC,CAAC,gBAAgB;QACvE,gBAAgB,EAAE,CAAC,wCAAwC,CAAC,eAAe,CAAC;QAC5E,+BAA+B,EAAE,CAAC,0EAA0E,CAAC;QAC7G,eAAe,EAAE,iEAAiE;QAClF,cAAc,EAAE,yDAAyD;QACzE,gBAAgB,EAAE,6BAA6B,CAAC,YAAY;QAC5D,wBAAwB,EAAE,KAAK;KAChC;IACD,kBAAkB,EAAE;QAClB,aAAa,EAAE,CAAC;QAChB,SAAS,EAAE,6DAA6D;QACxE,aAAa,EAAE,CAAC;QAChB,QAAQ,EAAE;YACR,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,QAAQ,EAAE,MAAM,EAAE,+BAA+B,CAAC,QAAQ,EAAE;YACpH,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,MAAM,EAAE,MAAM,EAAE,+BAA+B,CAAC,MAAM,EAAE;YAChH,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,gBAAgB,EAAE,MAAM,EAAE,+BAA+B,CAAC,gBAAgB,EAAE;YACpI,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,iBAAiB,EAAE,MAAM,EAAE,+BAA+B,CAAC,iBAAiB,EAAE;YACtI,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,KAAK,EAAE,MAAM,EAAE,+BAA+B,CAAC,KAAK,EAAE;SAC/G;QACD,uBAAuB,EAAE,CAAC;QAC1B,uBAAuB,EAAE,CAAC;QAC1B,uBAAuB,EAAE,CAAC;QAC1B,cAAc,EAAE,+BAA+B,CAAC,KAAK;KACtD;CAC8C,CAAC","sourcesContent":["import {\n HumanDecision_FieldKind,\n} from '@wildo-ai/saas-models';\nimport type {\n MetaWorkflowEvaluationTreatmentSource,\n MetaWorkflowStructuredArtifactActionSource,\n} 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_FailureDisposition,\n MetaWorkflow_HardFloorPosture,\n MetaWorkflow_OutputContentClass,\n MetaWorkflow_OutputContractCardinality,\n MetaWorkflow_StructuredArtifactOutputSetCommitment,\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_Executor,\n MetaWorkflow_FailurePolicy,\n MetaWorkflow_PredicateKind,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n ApplicationLine,\n MetaWorkflow_Phase,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\nexport const playbookDefinition = {\n ref: 'top_down.vision-elicitation',\n version: '0.3.0',\n phase: MetaWorkflow_Phase.TOP_DOWN,\n intent:\n 'Elicit a complete current-horizon product vision from sealed creator input and application context. The provider proposes semantic content; the trusted runtime stamps refs/version and keeps provenance, authority and accepted-family mutation outside model output.',\n /*\n * NONE, and that is the truthful answer rather than a gap left by the 2026-09-04 phase removal.\n *\n * This playbook elicits the vision from a person. It reads no family, so it depends on nothing, and\n * its only previous gate was `phase_is: top_down` — which did not express a dependency but a\n * PROHIBITION: once an application had landed a domain plan it disappeared from the board forever.\n * Revisiting the vision after the build has started is ordinary product work, and the eligibility\n * JSDoc said so while the gate did the opposite.\n *\n * What still keeps it out of an unattended run is its elicitation: the loop skips any playbook that\n * interviews a creator, because it has nobody to ask. And a run against an application that already\n * has a vision is reported as `wouldReplace: vision-brief` — a cost the caller is shown, not a\n * refusal the mechanism makes.\n */\n preconditions: [],\n /*\n * Its OWN output, declared as input — the \"carry my prior value when present\" pattern\n * compliance-posture and value-proposition already use. Without it, the method's promise to\n * \"refine the existing vision rather than re-eliciting it\" was unkeepable: a tool-less structured\n * run sees only its brief, and the brief renders only declared inputs (an absent family is\n * skipped, so a FIRST run is unaffected — eligibility gates on preconditions, never on inputs).\n */\n inputs: [{ family: 'vision-brief' }],\n outputs: [{\n family: 'vision-brief',\n schemaRef: 'saas-specifications:VisionSnapshot',\n description: 'One validated VisionSnapshot containing the product idea, problem, mission, success criteria and constraints.',\n }],\n method: {\n skillRefs: [],\n elicitation: {\n questions: [\n /*\n * The application's MAIN LINE (#1603, epic #1602): what kind of application this is, which decides\n * which playbooks it may run. Asked first because everything after it depends on the answer, and\n * asked HERE because this is the entry playbook, the one an application with no line can run.\n * The creator chooses; the model never proposes it. The options are the `ApplicationLine` members,\n * so a line added to the vocabulary is added here in the same change.\n */\n { ref: 'application-line', question: 'What kind of application is this? A B2B SaaS is a software product sold to other businesses. An internal tool is software a company builds for its own people.', kind: HumanDecision_FieldKind.CHOICE, options: [ApplicationLine.B2B_SAAS, ApplicationLine.INTERNAL_TOOL] },\n { ref: 'idea-one-liner', question: 'In one sentence, what is the product? Give the elevator pitch in the form \"X for Y\".', kind: HumanDecision_FieldKind.FREE_TEXT },\n { ref: 'idea-description', question: 'Expand the idea into a short paragraph describing the core capability and shape of the solution.', kind: HumanDecision_FieldKind.FREE_TEXT },\n { ref: 'problem-statement', question: 'What problem does this exist to solve, who suffers it, how do they cope today, and what does leaving it unsolved cost?', kind: HumanDecision_FieldKind.FREE_TEXT },\n { ref: 'problem-why-now', question: 'What makes solving this urgent now? Answer \"none\" if no specific trigger exists.', kind: HumanDecision_FieldKind.FREE_TEXT },\n { ref: 'mission-statement', question: 'What is the enduring mission and long-term end-state?', kind: HumanDecision_FieldKind.FREE_TEXT },\n { ref: 'mission-principles', question: 'List guiding principles and non-negotiables that constrain how the product is built.', kind: HumanDecision_FieldKind.FREE_TEXT },\n { ref: 'success-criteria', question: 'How will you know this succeeded? Name observable criteria and targets where available.', kind: HumanDecision_FieldKind.FREE_TEXT },\n { ref: 'success-primary-horizon', question: 'When is the most important success criterion judged?', kind: HumanDecision_FieldKind.CHOICE, options: ['launch', 'short_term', 'long_term'] },\n { ref: 'constraints-general', question: 'What external technical, business, resource or timeline limits apply?', kind: HumanDecision_FieldKind.FREE_TEXT },\n /*\n * The regulated-domain gate. These five questions moved here from the deleted transition-route\n * questionnaire — they are the framework's only written record of \"is this application regulated\",\n * and the vision interview is the earliest moment the creator can answer them. Their answers shape\n * which compliance playbooks matter later.\n */\n { ref: 'regulated-children-data', question: 'Will this application be directed to children, or process children\\'s data or other specially protected personal data?', kind: HumanDecision_FieldKind.CONFIRM },\n { ref: 'regulated-financial-services', question: 'Will this application operate in financial services or handle regulated financial activity?', kind: HumanDecision_FieldKind.CONFIRM },\n { ref: 'regulated-healthcare-life-sciences', question: 'Will this application operate in healthcare or life sciences, or process health or clinical data?', kind: HumanDecision_FieldKind.CONFIRM },\n { ref: 'regulated-legal-compliance', question: 'Will this application make or materially support legal, regulatory, or compliance decisions?', kind: HumanDecision_FieldKind.CONFIRM },\n { ref: 'regulated-public-sector-critical-infrastructure', question: 'Will this application serve the public sector, or operate in critical infrastructure or another safety-critical domain?', kind: HumanDecision_FieldKind.CONFIRM },\n { ref: 'compliance-detail', question: 'For any yes above: which regimes apply, to what data, and in which jurisdictions?', kind: HumanDecision_FieldKind.FREE_TEXT },\n ],\n },\n },\n executor: MetaWorkflow_Executor.COMPANION_AGENT,\n approval: MetaWorkflow_ApprovalPolicy.APPROVE_RESULT,\n budget: { maxRuns: 3 },\n onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG,\n} satisfies Omit<MetaWorkflowPlaybookAuthoring, 'method'> & { method: Omit<NonNullable<MetaWorkflowPlaybookAuthoring['method']>, 'guidance'> };\n\nexport const structuredArtifactActionSource = {\n schemaVersion: 1,\n definitionRef: 'application-creation:structured-artifact-action/vision-elicitation',\n definitionVersion: 1,\n actionDefinition: {\n schemaVersion: 1,\n actionRef: 'application-creation:action/vision-elicitation',\n actionVersion: 1,\n intentRef: 'application-creation:intent/derive-current-horizon-vision',\n inputSelectorRefs: ['application-creation:artifact-selector/sealed-vision-bootstrap-context'],\n outcomeContractRefs: ['application-creation:output-contract/vision-snapshot'],\n effectSafetyPolicyRef: 'application-creation:effect-safety/candidate-artifacts-before-acceptance',\n allowedCapabilityClassRefs: ['meta-workflow:capability-class/structured-artifact-generation'],\n requiredCapabilityFacetRefs: [\n 'meta-workflow:capability-facet/atomic-output-set',\n 'meta-workflow:capability-facet/sealed-input-projection',\n 'meta-workflow:capability-facet/strict-provider-schema',\n 'meta-workflow:capability-facet/trusted-normalization',\n ],\n authorityRequirementRef: 'application-creation:authority-requirement/vision-elicitation-result',\n budgetPolicyRef: 'application-creation:budget-policy/vision-elicitation',\n continuationPolicyRef: 'application-creation:continuation-policy/vision-elicitation',\n decisionPointDefinitionRefs: ['application-creation:decision-point/vision-elicitation-result'],\n },\n driverSelector: { driverRef: 'meta-workflow:driver/structured-artifact-action', driverVersion: 1 },\n inputProjectionContractSelector: { contractRef: 'application-creation:input-projection/vision-bootstrap-context', contractVersion: 1 },\n providerOutputSchemaSelector: { schemaRef: 'saas-specifications:schema/vision-snapshot-generation', schemaVersion: 1 },\n normalizationContractSelector: { contractRef: 'saas-specifications:normalizer/vision-snapshot-generation', contractVersion: 1 },\n outputContract: {\n schemaVersion: 1,\n outputContractRef: 'application-creation:output-contract/vision-snapshot',\n outputContractVersion: 1,\n outputSchemaSelector: { schemaRef: 'saas-specifications:schema/vision-snapshot', schemaVersion: 1 },\n contentClass: MetaWorkflow_OutputContentClass.STRUCTURED_RECORD,\n cardinality: MetaWorkflow_OutputContractCardinality.ONE,\n canonicalSerializationRef: 'meta-workflow:canonicalization/wildo-json',\n canonicalSerializationVersion: 1,\n validatorContractSelector: { contractRef: 'saas-specifications:validator/vision-snapshot', contractVersion: 1 },\n acceptedArtifactClassificationRefs: ['application-creation:artifact-classification/candidate-specification-family-snapshot'],\n invalidOutputDisposition: MetaWorkflow_FailureDisposition.FAIL_BINDING,\n },\n outputSetCommitment: MetaWorkflow_StructuredArtifactOutputSetCommitment.ATOMIC,\n requiredLifecycleFacets: [],\n requiredFailureDispositions: [\n MetaWorkflow_FailureDisposition.FAIL_BINDING,\n MetaWorkflow_FailureDisposition.REQUEST_INPUT,\n MetaWorkflow_FailureDisposition.RETRY_NEW_BINDING,\n ],\n} satisfies MetaWorkflowStructuredArtifactActionSource;\n\nexport const evaluationTreatmentSource = {\n schemaVersion: 1,\n definitionRef: 'application-creation:evaluation-treatment/vision-elicitation',\n definitionVersion: 1,\n evaluationProtocol: {\n schemaVersion: 1,\n protocolRef: 'application-creation:evaluation-protocol/vision-elicitation',\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-vision-elicitation-verdict',\n criteria: [{\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/vision-coherence-and-readiness',\n criterionVersion: 1,\n instruction: 'Assess whether the validated vision is internally coherent, grounded in the creator input carried in this brief, non-vacuous for the current horizon, and explicit about important uncertainty. Do not reward polished prose that lacks a real problem, mission, observable success basis or binding constraints. Separate severities by CONSEQUENCE: limited repairable drift from the creator input is a CONCERN; a substituted product, audience or constraint set — or an internal contradiction — is a GAP.',\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/vision-coherence-and-readiness',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/vision-bootstrap-and-candidate',\n minCount: 2,\n maxCount: 2,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-vision-input-and-candidate',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-action-binding',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'The candidate is valid, internally coherent, grounded in the creator input, and sufficient to guide the current horizon.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'Usable WITH REVISION: grounded in the creator input overall, but carrying limited repairable drift (an embellished emphasis, a missing secondary element, weak evidence, or explicit material uncertainty) that revision can fix without re-eliciting the creator.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'NOT usable as direction: a foundational vision element is missing, the candidate contradicts itself, or it substitutes a DIFFERENT product, audience or binding-constraint set than the creator input states.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The creator input or candidate evidence needed to decide this criterion is absent or insufficient.',\n },\n }],\n },\n evaluatorBindingPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:evaluator-binding-policy/vision-elicitation',\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/vision-elicitation-result',\n decisionPointVersion: 1,\n triggerRefs: ['application-creation:trigger/vision-snapshot-staged-and-valid'],\n hardFloorRefs: ['application-creation:hard-floor/vision-snapshot-valid'],\n riskPolicyRef: 'application-creation:risk-policy/scoped-application-and-execution-context',\n significancePolicyRef: 'application-creation:significance-policy/foundational-vision-change',\n },\n decisionRule: {\n schemaVersion: 1,\n ruleRef: 'application-creation:decision-rule/vision-elicitation-result',\n ruleVersion: 1,\n boundaryClass: MetaWorkflow_DecisionRuleBoundaryClass.QUALITY_INTERPRETATION,\n evidenceAggregationRef: 'application-creation:aggregation/worst-vision-elicitation-verdict',\n resultMappings: [\n { verdict: MetaWorkflow_EvaluationVerdict.PASS, consequence: MetaWorkflow_DecisionConsequence.REQUEST_AUTHORITY },\n { verdict: MetaWorkflow_EvaluationVerdict.CONCERN, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.GAP, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.INDETERMINATE, consequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE },\n ],\n hardFloorBindings: [{\n hardFloorRef: 'application-creation:hard-floor/vision-snapshot-valid',\n evidenceRequirementRefs: ['application-creation:evidence-requirement/vision-coherence-and-readiness'],\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/vision-elicitation-result',\n requirementVersion: 1,\n consequenceClassRef: 'application-creation:authority-consequence/accept-vision-snapshot',\n riskClassRef: 'application-creation:risk/foundational-vision-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/vision-coherence-and-readiness'],\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/vision-elicitation',\n policyVersion: 1,\n mappings: [\n { decisionConsequence: MetaWorkflow_DecisionConsequence.CONTINUE, action: MetaWorkflow_ContinuationAction.CONTINUE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REVISE, action: MetaWorkflow_ContinuationAction.REVISE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE, action: MetaWorkflow_ContinuationAction.REQUEST_EVIDENCE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REQUEST_AUTHORITY, action: MetaWorkflow_ContinuationAction.REQUEST_AUTHORITY },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.BLOCK, action: MetaWorkflow_ContinuationAction.BLOCK },\n ],\n maximumRevisionAttempts: 3,\n maximumEvidenceRequests: 2,\n maximumAuthorityReviews: 1,\n fallbackAction: MetaWorkflow_ContinuationAction.BLOCK,\n },\n} satisfies MetaWorkflowEvaluationTreatmentSource;\n"]}
1
+ {"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../../src/playbooks/top_down.vision-elicitation/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,GACxB,MAAM,uBAAuB,CAAC;AAK/B,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,wC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AAiE;QAClF,cAAc,EAAE,yDAAyD;QACzE,gBAAgB,EAAE,6BAA6B,CAAC,YAAY;QAC5D,wBAAwB,EAAE,KAAK;KAChC;IACD,kBAAkB,EAAE;QAClB,aAAa,EAAE,CAAC;QAChB,SAAS,EAAE,6DAA6D;QACxE,aAAa,EAAE,CAAC;QAChB,QAAQ,EAAE;YACR,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,QAAQ,EAAE,MAAM,EAAE,+BAA+B,CAAC,QAAQ,EAAE;YACpH,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,MAAM,EAAE,MAAM,EAAE,+BAA+B,CAAC,MAAM,EAAE;YAChH,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,gBAAgB,EAAE,MAAM,EAAE,+BAA+B,CAAC,gBAAgB,EAAE;YACpI,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,iBAAiB,EAAE,MAAM,EAAE,+BAA+B,CAAC,iBAAiB,EAAE;YACtI,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,KAAK,EAAE,MAAM,EAAE,+BAA+B,CAAC,KAAK,EAAE;SAC/G;QACD,uBAAuB,EAAE,CAAC;QAC1B,uBAAuB,EAAE,CAAC;QAC1B,uBAAuB,EAAE,CAAC;QAC1B,cAAc,EAAE,+BAA+B,CAAC,KAAK;KACtD;CAC8C,CAAC","sourcesContent":["import {\n HumanDecision_FieldKind,\n} from '@wildo-ai/saas-models';\nimport type {\n MetaWorkflowEvaluationTreatmentSource,\n MetaWorkflowStructuredArtifactActionSource,\n} 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_FailureDisposition,\n MetaWorkflow_HardFloorPosture,\n MetaWorkflow_OutputContentClass,\n MetaWorkflow_OutputContractCardinality,\n MetaWorkflow_StructuredArtifactOutputSetCommitment,\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_Executor,\n MetaWorkflow_FailurePolicy,\n MetaWorkflow_PredicateKind,\n MetaWorkflow_ElicitationQuestionDepth,\n MetaWorkflow_ElicitationUnknownPolicy,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n ApplicationLine,\n MetaWorkflow_Phase,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\nexport const playbookDefinition = {\n ref: 'top_down.vision-elicitation',\n version: '0.3.0',\n phase: MetaWorkflow_Phase.TOP_DOWN,\n intent:\n 'Elicit a complete current-horizon product vision from sealed creator input and application context. The provider proposes semantic content; the trusted runtime stamps refs/version and keeps provenance, authority and accepted-family mutation outside model output.',\n /*\n * NONE, and that is the truthful answer rather than a gap left by the 2026-09-04 phase removal.\n *\n * This playbook elicits the vision from a person. It reads no family, so it depends on nothing, and\n * its only previous gate was `phase_is: top_down` — which did not express a dependency but a\n * PROHIBITION: once an application had landed a domain plan it disappeared from the board forever.\n * Revisiting the vision after the build has started is ordinary product work, and the eligibility\n * JSDoc said so while the gate did the opposite.\n *\n * What still keeps it out of an unattended run is its elicitation: the loop skips any playbook that\n * interviews a creator, because it has nobody to ask. And a run against an application that already\n * has a vision is reported as `wouldReplace: vision-brief` — a cost the caller is shown, not a\n * refusal the mechanism makes.\n */\n preconditions: [],\n /*\n * Its OWN output, declared as input — the \"carry my prior value when present\" pattern\n * compliance-posture and value-proposition already use. Without it, the method's promise to\n * \"refine the existing vision rather than re-eliciting it\" was unkeepable: a tool-less structured\n * run sees only its brief, and the brief renders only declared inputs (an absent family is\n * skipped, so a FIRST run is unaffected — eligibility gates on preconditions, never on inputs).\n */\n inputs: [{ family: 'vision-brief' }],\n outputs: [{\n family: 'vision-brief',\n schemaRef: 'saas-specifications:VisionSnapshot',\n description: 'One validated VisionSnapshot containing the product idea, problem, mission, success criteria and constraints.',\n }],\n method: {\n skillRefs: [],\n /*\n * DEPTH and the UNKNOWN-ANSWER policy (#2129). A SIMPLE interview asks three things — the line, the\n * one-liner and the problem — because nothing else can be proposed without them; everything else is\n * DETAIL and is proposed from those answers — reviewed on an open surface, or recorded by an unattended round.\n * Every question but the line may be proposed when the creator does not know, and the proposal is recorded as an\n * ASSUMPTION, never as their answer.\n *\n * The five regulated-domain questions are proposable too (Paul, 2026-10-01): a building-industry CRM is\n * plainly not directed at children, and stopping the interview on it helps nobody. What keeps that honest\n * is the review step, which lists every regulated assumption by name, and the dossier, which keeps it\n * marked as assumed until the creator answers it themselves. An unattended round never assumes one: with\n * nobody to name it to, the vision waits for the person on these.\n */\n elicitation: {\n questions: [\n /*\n * The application's MAIN LINE (#1603, epic #1602): what kind of application this is, which decides\n * which playbooks it may run. Asked first because everything after it depends on the answer, and\n * asked HERE because this is the entry playbook, the one an application with no line can run.\n * The creator chooses; the model never proposes it. The options are the `ApplicationLine` members,\n * so a line added to the vocabulary is added here in the same change.\n */\n { ref: 'application-line', question: 'What kind of application is this? A B2B SaaS is a software product sold to other businesses. An internal tool is software a company builds for its own people.', kind: HumanDecision_FieldKind.CHOICE, options: [ApplicationLine.B2B_SAAS, ApplicationLine.INTERNAL_TOOL], depth: MetaWorkflow_ElicitationQuestionDepth.ESSENTIAL, whenUnknown: MetaWorkflow_ElicitationUnknownPolicy.ASK },\n { ref: 'idea-one-liner', question: 'In one sentence, what is the product? Give the elevator pitch in the form \"X for Y\".', kind: HumanDecision_FieldKind.FREE_TEXT, depth: MetaWorkflow_ElicitationQuestionDepth.ESSENTIAL },\n { ref: 'idea-description', question: 'Expand the idea into a short paragraph describing the core capability and shape of the solution.', kind: HumanDecision_FieldKind.FREE_TEXT, depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL },\n { ref: 'problem-statement', question: 'What problem does this exist to solve, who suffers it, how do they cope today, and what does leaving it unsolved cost?', kind: HumanDecision_FieldKind.FREE_TEXT, depth: MetaWorkflow_ElicitationQuestionDepth.ESSENTIAL },\n { ref: 'problem-why-now', question: 'What makes solving this urgent now? Answer \"none\" if no specific trigger exists.', kind: HumanDecision_FieldKind.FREE_TEXT, depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL },\n { ref: 'mission-statement', question: 'What is the enduring mission and long-term end-state?', kind: HumanDecision_FieldKind.FREE_TEXT, depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL },\n { ref: 'mission-principles', question: 'List guiding principles and non-negotiables that constrain how the product is built.', kind: HumanDecision_FieldKind.FREE_TEXT, depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL },\n { ref: 'success-criteria', question: 'How will you know this succeeded? Name observable criteria and targets where available.', kind: HumanDecision_FieldKind.FREE_TEXT, depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL },\n { ref: 'success-primary-horizon', question: 'When is the most important success criterion judged?', kind: HumanDecision_FieldKind.CHOICE, options: ['launch', 'short_term', 'long_term'], depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL },\n { ref: 'constraints-general', question: 'What external technical, business, resource or timeline limits apply?', kind: HumanDecision_FieldKind.FREE_TEXT, depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL },\n /*\n * The regulated-domain gate. These five questions moved here from the deleted transition-route\n * questionnaire — they are the framework's only written record of \"is this application regulated\",\n * and the vision interview is the earliest moment the creator can answer them. Their answers shape\n * which compliance playbooks matter later.\n */\n { ref: 'regulated-children-data', question: 'Will this application be directed to children, or process children\\'s data or other specially protected personal data?', kind: HumanDecision_FieldKind.CONFIRM, depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL, regulatedDomain: true },\n { ref: 'regulated-financial-services', question: 'Will this application operate in financial services or handle regulated financial activity?', kind: HumanDecision_FieldKind.CONFIRM, depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL, regulatedDomain: true },\n { ref: 'regulated-healthcare-life-sciences', question: 'Will this application operate in healthcare or life sciences, or process health or clinical data?', kind: HumanDecision_FieldKind.CONFIRM, depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL, regulatedDomain: true },\n { ref: 'regulated-legal-compliance', question: 'Will this application make or materially support legal, regulatory, or compliance decisions?', kind: HumanDecision_FieldKind.CONFIRM, depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL, regulatedDomain: true },\n { ref: 'regulated-public-sector-critical-infrastructure', question: 'Will this application serve the public sector, or operate in critical infrastructure or another safety-critical domain?', kind: HumanDecision_FieldKind.CONFIRM, depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL, regulatedDomain: true },\n { ref: 'compliance-detail', question: 'For any yes above: which regimes apply, to what data, and in which jurisdictions?', kind: HumanDecision_FieldKind.FREE_TEXT, depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL, regulatedDomain: true },\n ],\n },\n },\n executor: MetaWorkflow_Executor.COMPANION_AGENT,\n approval: MetaWorkflow_ApprovalPolicy.APPROVE_RESULT,\n budget: { maxRuns: 3 },\n onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG,\n} satisfies Omit<MetaWorkflowPlaybookAuthoring, 'method'> & { method: Omit<NonNullable<MetaWorkflowPlaybookAuthoring['method']>, 'guidance'> };\n\nexport const structuredArtifactActionSource = {\n schemaVersion: 1,\n definitionRef: 'application-creation:structured-artifact-action/vision-elicitation',\n definitionVersion: 1,\n actionDefinition: {\n schemaVersion: 1,\n actionRef: 'application-creation:action/vision-elicitation',\n actionVersion: 1,\n intentRef: 'application-creation:intent/derive-current-horizon-vision',\n inputSelectorRefs: ['application-creation:artifact-selector/sealed-vision-bootstrap-context'],\n outcomeContractRefs: ['application-creation:output-contract/vision-snapshot'],\n effectSafetyPolicyRef: 'application-creation:effect-safety/candidate-artifacts-before-acceptance',\n allowedCapabilityClassRefs: ['meta-workflow:capability-class/structured-artifact-generation'],\n requiredCapabilityFacetRefs: [\n 'meta-workflow:capability-facet/atomic-output-set',\n 'meta-workflow:capability-facet/sealed-input-projection',\n 'meta-workflow:capability-facet/strict-provider-schema',\n 'meta-workflow:capability-facet/trusted-normalization',\n ],\n authorityRequirementRef: 'application-creation:authority-requirement/vision-elicitation-result',\n budgetPolicyRef: 'application-creation:budget-policy/vision-elicitation',\n continuationPolicyRef: 'application-creation:continuation-policy/vision-elicitation',\n decisionPointDefinitionRefs: ['application-creation:decision-point/vision-elicitation-result'],\n },\n driverSelector: { driverRef: 'meta-workflow:driver/structured-artifact-action', driverVersion: 1 },\n inputProjectionContractSelector: { contractRef: 'application-creation:input-projection/vision-bootstrap-context', contractVersion: 1 },\n providerOutputSchemaSelector: { schemaRef: 'saas-specifications:schema/vision-snapshot-generation', schemaVersion: 1 },\n normalizationContractSelector: { contractRef: 'saas-specifications:normalizer/vision-snapshot-generation', contractVersion: 1 },\n outputContract: {\n schemaVersion: 1,\n outputContractRef: 'application-creation:output-contract/vision-snapshot',\n outputContractVersion: 1,\n outputSchemaSelector: { schemaRef: 'saas-specifications:schema/vision-snapshot', schemaVersion: 1 },\n contentClass: MetaWorkflow_OutputContentClass.STRUCTURED_RECORD,\n cardinality: MetaWorkflow_OutputContractCardinality.ONE,\n canonicalSerializationRef: 'meta-workflow:canonicalization/wildo-json',\n canonicalSerializationVersion: 1,\n validatorContractSelector: { contractRef: 'saas-specifications:validator/vision-snapshot', contractVersion: 1 },\n acceptedArtifactClassificationRefs: ['application-creation:artifact-classification/candidate-specification-family-snapshot'],\n invalidOutputDisposition: MetaWorkflow_FailureDisposition.FAIL_BINDING,\n },\n outputSetCommitment: MetaWorkflow_StructuredArtifactOutputSetCommitment.ATOMIC,\n requiredLifecycleFacets: [],\n requiredFailureDispositions: [\n MetaWorkflow_FailureDisposition.FAIL_BINDING,\n MetaWorkflow_FailureDisposition.REQUEST_INPUT,\n MetaWorkflow_FailureDisposition.RETRY_NEW_BINDING,\n ],\n} satisfies MetaWorkflowStructuredArtifactActionSource;\n\nexport const evaluationTreatmentSource = {\n schemaVersion: 1,\n definitionRef: 'application-creation:evaluation-treatment/vision-elicitation',\n definitionVersion: 1,\n evaluationProtocol: {\n schemaVersion: 1,\n protocolRef: 'application-creation:evaluation-protocol/vision-elicitation',\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-vision-elicitation-verdict',\n criteria: [{\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/vision-coherence-and-readiness',\n criterionVersion: 1,\n instruction: 'Assess whether the validated vision is internally coherent, grounded in the creator input carried in this brief, non-vacuous for the current horizon, and explicit about important uncertainty. Do not reward polished prose that lacks a real problem, mission, observable success basis or binding constraints. Separate severities by CONSEQUENCE: limited repairable drift from the creator input is a CONCERN; a substituted product, audience or constraint set — or an internal contradiction — is a GAP.',\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/vision-coherence-and-readiness',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/vision-bootstrap-and-candidate',\n minCount: 2,\n maxCount: 2,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-vision-input-and-candidate',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-action-binding',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'The candidate is valid, internally coherent, grounded in the creator input, and sufficient to guide the current horizon.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'Usable WITH REVISION: grounded in the creator input overall, but carrying limited repairable drift (an embellished emphasis, a missing secondary element, weak evidence, or explicit material uncertainty) that revision can fix without re-eliciting the creator.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'NOT usable as direction: a foundational vision element is missing, the candidate contradicts itself, or it substitutes a DIFFERENT product, audience or binding-constraint set than the creator input states.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The creator input or candidate evidence needed to decide this criterion is absent or insufficient.',\n },\n }],\n },\n evaluatorBindingPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:evaluator-binding-policy/vision-elicitation',\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/vision-elicitation-result',\n decisionPointVersion: 1,\n triggerRefs: ['application-creation:trigger/vision-snapshot-staged-and-valid'],\n hardFloorRefs: ['application-creation:hard-floor/vision-snapshot-valid'],\n riskPolicyRef: 'application-creation:risk-policy/scoped-application-and-execution-context',\n significancePolicyRef: 'application-creation:significance-policy/foundational-vision-change',\n },\n decisionRule: {\n schemaVersion: 1,\n ruleRef: 'application-creation:decision-rule/vision-elicitation-result',\n ruleVersion: 1,\n boundaryClass: MetaWorkflow_DecisionRuleBoundaryClass.QUALITY_INTERPRETATION,\n evidenceAggregationRef: 'application-creation:aggregation/worst-vision-elicitation-verdict',\n resultMappings: [\n { verdict: MetaWorkflow_EvaluationVerdict.PASS, consequence: MetaWorkflow_DecisionConsequence.REQUEST_AUTHORITY },\n { verdict: MetaWorkflow_EvaluationVerdict.CONCERN, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.GAP, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.INDETERMINATE, consequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE },\n ],\n hardFloorBindings: [{\n hardFloorRef: 'application-creation:hard-floor/vision-snapshot-valid',\n evidenceRequirementRefs: ['application-creation:evidence-requirement/vision-coherence-and-readiness'],\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/vision-elicitation-result',\n requirementVersion: 1,\n consequenceClassRef: 'application-creation:authority-consequence/accept-vision-snapshot',\n riskClassRef: 'application-creation:risk/foundational-vision-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/vision-coherence-and-readiness'],\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/vision-elicitation',\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"]}