@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 +1 @@
1
- {"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../../src/playbooks/top_down.phase-gate/playbook.definition.ts"],"names":[],"mappings":"AACA,OAAO,EACL,+BAA+B,EAC/B,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,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,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,GAAG,EAAE,qBAAqB;IAC1B,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE,kBAAkB,CAAC,QAAQ;IAClC,MAAM,EACJ,4RAA4R;IAC9R,aAAa,EAAE;QACb,EAAE,IAAI,EAAE,0BAA0B,CAAC,cAAc,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE;QACzF,EAAE,IAAI,EAAE,0BAA0B,CAAC,cAAc,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,iBAAiB,EAAE,EAAE;QAC5F,EAAE,IAAI,EAAE,0BAA0B,CAAC,cAAc,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE;QACzF,EAAE,IAAI,EAAE,0BAA0B,CAAC,cAAc,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE;KACrF;IACD,MAAM,EAAE;QACN,EAAE,MAAM,EAAE,cAAc,EAAE;QAC1B,EAAE,MAAM,EAAE,iBAAiB,EAAE;QAC7B,EAAE,MAAM,EAAE,cAAc,EAAE;QAC1B,EAAE,MAAM,EAAE,SAAS,EAAE;QACrB,EAAE,MAAM,EAAE,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;IACD,kBAAkB,EAAE;QAClB,aAAa,EAAE,CAAC;QAChB,SAAS,EAAE,8DAA8D;QACzE,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_ContinuationAction,\n MetaWorkflow_AuthorityAssuranceClass,\n MetaWorkflow_AuthorityDecisionMode,\n MetaWorkflow_AuthorityInteractionChannel,\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\nexport const playbookDefinition = {\n ref: 'top_down.phase-gate',\n version: '0.2.0',\n phase: MetaWorkflow_Phase.TOP_DOWN,\n intent:\n 'Assess whether the validated top-down definition set is cross-artifact coherent enough for the current horizon. Deterministic family validation remains a non-bypassable eligibility floor; this playbook contributes an advisory semantic evaluation and never mutates application truth.',\n preconditions: [\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'market-snapshot' } },\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'requirements' } },\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'roadmap' } },\n ],\n inputs: [\n { family: 'vision-brief' },\n { family: 'market-snapshot' },\n { family: 'requirements' },\n { family: 'roadmap' },\n { family: 'feature-drafts' },\n // An INPUT, deliberately not a precondition: the gate should SEE the commercial intent when it\n // exists, and must not become ineligible for every application that has not sketched one.\n { family: 'business-model' },\n ],\n outputs: [],\n method: {\n /*\n * This gate exists to assess whether the top-down definition set is cross-artifact coherent, and\n * the coverage and dangling-reference halves of that are SET OPERATIONS over refs — computed\n * exactly and for free. Asking a model to re-derive them from five families is asking it to hold\n * every ref from five documents at once and compare them by eye: worse, slower, and already done.\n * The arithmetic goes IN so the model judges what arithmetic cannot — whether an uncovered\n * criterion is a deliberate deferral or an omission, and whether the cut is defensible.\n */\n contextSources: [MetaWorkflow_ContextSource.COHERENCE_REPORT],\n skillRefs: [],\n },\n executor: MetaWorkflow_Executor.COMPANION_AGENT,\n approval: MetaWorkflow_ApprovalPolicy.APPROVE_RESULT,\n budget: {\n maxRuns: 3,\n },\n onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG,\n} satisfies Omit<MetaWorkflowPlaybookAuthoring, 'method'> & {\n method: Omit<NonNullable<MetaWorkflowPlaybookAuthoring['method']>, 'guidance'>;\n};\n\nexport const evaluationTreatmentSource = {\n schemaVersion: 1,\n definitionRef: 'application-creation:evaluation-treatment/top-down-phase-gate',\n definitionVersion: 1,\n evaluationProtocol: {\n schemaVersion: 1,\n protocolRef: 'application-creation:evaluation-protocol/top-down-phase-gate',\n protocolVersion: 1,\n promptAssemblyStrategy: MetaWorkflow_EvaluationPromptAssemblyStrategy.CANONICAL_PROTOCOL_EVIDENCE_V1,\n aggregationStrategy: MetaWorkflow_EvaluationAggregationStrategy.WORST_VERDICT_PRECEDENCE_V1,\n verdictPrecedence: [\n MetaWorkflow_EvaluationVerdict.GAP,\n MetaWorkflow_EvaluationVerdict.INDETERMINATE,\n MetaWorkflow_EvaluationVerdict.CONCERN,\n MetaWorkflow_EvaluationVerdict.PASS,\n ],\n aggregationPolicyRef: 'application-creation:aggregation/worst-top-down-coherence-verdict',\n criteria: [\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/capability-completeness',\n criterionVersion: 1,\n instruction:\n 'Determine whether every current-horizon market benefit is connected to at least one resolvable delivering feature. Treat an unwired benefit as a material gap; do not infer a connection from thematic similarity alone.',\n // Benefits and the features that deliver them, and nothing else: this criterion rules on one\n // wiring, and the requirements, the roadmap and the vision are not evidence about it (#1423).\n assessesAspects: ['market.benefit', 'feature-drafts.draft'],\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/capability-completeness',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/market-capability-wiring',\n minCount: 1,\n maxCount: 1,\n coveragePolicyRef: 'application-creation:evidence-policy/all-current-horizon-benefits',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-accepted-family-heads',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Every current-horizon benefit has at least one resolvable delivering feature.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'All benefits are wired, but one or more connections are weak, indirect, or insufficiently explained.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'At least one current-horizon benefit has no resolvable delivering feature.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The accepted evidence cannot establish the benefit-to-feature wiring completely.',\n },\n },\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/compliance-presence',\n criterionVersion: 1,\n instruction:\n 'Determine whether a product handling regulated or sensitive data declares at least one applicable compliance constraint. Do not invent regulation applicability; report indeterminate when the accepted evidence does not establish the data or sector posture.',\n /*\n * DELIBERATELY UNDECLARED, and the reason belongs beside the four that are declared (#1423).\n *\n * Its INDETERMINATE guidance is \"the accepted evidence does not establish the data or sector\n * posture\" — a judgement about the WHOLE accepted set, which nobody can narrow in advance\n * without deciding for it where a sector posture may be visible. Narrowing this one would\n * turn the author's guess into the criterion's blind spot.\n *\n * It also keeps the shared artifacts section alive, which is what carries `business-model`:\n * the gate declares it as an input so the commercial intent is SEEN, and no criterion\n * assesses it. A treatment where every criterion names a slice would drop it silently.\n */\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/compliance-presence',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/vision-compliance',\n minCount: 1,\n maxCount: 1,\n coveragePolicyRef: 'application-creation:evidence-policy/regulated-data-and-compliance-constraints',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-accepted-family-heads',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'The evidence establishes either no regulated-data trigger or an applicable declared compliance constraint.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'A compliance constraint exists, but its applicability or coverage is weakly established.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'A regulated-data trigger is established and no applicable compliance constraint is declared.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The evidence cannot establish the regulated-data trigger or the applicable constraint posture.',\n },\n },\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/positioning-icp-coherence',\n criterionVersion: 1,\n instruction:\n 'Determine whether positioning pillars address the declared core ICPs without centring an anti-target segment. Preserve the authored ICP classifications and do not silently reclassify a segment.',\n // The ICP classifications are the thing it must NOT silently reclassify, so they are exactly\n // what it is shown — beside the pillars it weighs them against.\n assessesAspects: ['market.icp', 'market.positioning'],\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/positioning-icp-coherence',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/market-positioning',\n minCount: 1,\n maxCount: 1,\n coveragePolicyRef: 'application-creation:evidence-policy/core-and-anti-target-icps',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-accepted-family-heads',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Positioning addresses the core ICPs and does not centre an anti-target segment.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'Positioning is broadly coherent but under-serves a core ICP or approaches an anti-target boundary.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'Positioning ignores the core ICPs or explicitly centres an anti-target segment.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The accepted evidence cannot connect positioning pillars to the classified ICP set.',\n },\n },\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/requirement-coverage',\n criterionVersion: 1,\n instruction:\n 'Determine whether every current-horizon functional requirement is delivered by a roadmap phase or explicitly deferred in accepted roadmap intent. Do not treat absence as deliberate deferral.',\n // Functional only: the non-functional requirements are not what this criterion counts, and a\n // judge shown both has to remember which half it was asked about.\n assessesAspects: ['requirements.functional', 'roadmap.phase'],\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/requirement-coverage',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/requirements-roadmap',\n minCount: 1,\n maxCount: 1,\n coveragePolicyRef: 'application-creation:evidence-policy/all-current-horizon-functional-requirements',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-accepted-family-heads',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Every current-horizon functional requirement is delivered or explicitly deferred.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'Coverage is complete, but one or more deferrals are weakly justified or difficult to trace.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'At least one functional requirement is neither delivered nor explicitly deferred.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The accepted evidence cannot establish complete requirement-to-roadmap accounting.',\n },\n },\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/success-criterion-coverage',\n criterionVersion: 1,\n instruction:\n 'Determine whether every current-horizon vision success criterion is delivered by at least one roadmap phase. Keep success criteria distinct from implementation tasks or generic aspirations.',\n // The same roadmap as the criterion above, against a different half of the vision — two\n // declarations, two slices, and the shared family is rendered once per distinct selection.\n assessesAspects: ['vision.success-criterion', 'roadmap.phase'],\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/success-criterion-coverage',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/vision-roadmap',\n minCount: 1,\n maxCount: 1,\n coveragePolicyRef: 'application-creation:evidence-policy/all-current-horizon-success-criteria',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-accepted-family-heads',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Every current-horizon success criterion is delivered by at least one roadmap phase.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'All criteria are covered, but one or more delivery links are weak or overly indirect.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'At least one current-horizon success criterion is not delivered by any roadmap phase.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The accepted evidence cannot establish complete success-criterion-to-roadmap coverage.',\n },\n },\n ],\n },\n evaluatorBindingPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:evaluator-binding-policy/top-down-phase-gate',\n policyVersion: 1,\n admissibleEvaluatorSelectors: [{\n evaluatorRef: 'meta-workflow:evaluator/structured-semantic-coherence',\n evaluatorVersion: 1,\n }],\n defaultEvaluatorSelector: {\n evaluatorRef: 'meta-workflow:evaluator/structured-semantic-coherence',\n evaluatorVersion: 1,\n },\n outputContractSelector: {\n outputContractRef: 'meta-workflow:output-contract/structured-semantic-evaluation-candidate',\n outputContractVersion: 1,\n },\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/top-down-phase-gate',\n decisionPointVersion: 1,\n triggerRefs: ['application-creation:trigger/top-down-definition-set-valid'],\n hardFloorRefs: ['application-creation:hard-floor/required-family-validity'],\n riskPolicyRef: 'application-creation:risk-policy/scoped-application-and-execution-context',\n significancePolicyRef: 'application-creation:significance-policy/current-horizon-transition',\n },\n decisionRule: {\n schemaVersion: 1,\n ruleRef: 'application-creation:decision-rule/top-down-phase-gate',\n ruleVersion: 1,\n boundaryClass: MetaWorkflow_DecisionRuleBoundaryClass.QUALITY_INTERPRETATION,\n evidenceAggregationRef: 'application-creation:aggregation/worst-top-down-coherence-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/required-family-validity',\n evidenceRequirementRefs: [\n 'application-creation:evidence-requirement/capability-completeness',\n 'application-creation:evidence-requirement/compliance-presence',\n 'application-creation:evidence-requirement/positioning-icp-coherence',\n 'application-creation:evidence-requirement/requirement-coverage',\n 'application-creation:evidence-requirement/success-criterion-coverage',\n ],\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/top-down-to-bottom-up-transition',\n requirementVersion: 1,\n consequenceClassRef: 'application-creation:authority-consequence/journey-phase-transition',\n riskClassRef: 'application-creation:risk/bootstrap-non-regulated-phase-transition',\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: [\n 'application-creation:evidence-requirement/capability-completeness',\n 'application-creation:evidence-requirement/compliance-presence',\n 'application-creation:evidence-requirement/positioning-icp-coherence',\n 'application-creation:evidence-requirement/requirement-coverage',\n 'application-creation:evidence-requirement/success-criterion-coverage',\n ],\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/top-down-phase-gate',\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.phase-gate/playbook.definition.ts"],"names":[],"mappings":"AACA,OAAO,EACL,+BAA+B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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_ContinuationAction,\n MetaWorkflow_AuthorityAssuranceClass,\n MetaWorkflow_AuthorityDecisionMode,\n MetaWorkflow_AuthorityInteractionChannel,\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_InputRender,\n MetaWorkflow_Phase,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\nexport const playbookDefinition = {\n ref: 'top_down.phase-gate',\n version: '0.2.1',\n phase: MetaWorkflow_Phase.TOP_DOWN,\n intent:\n 'Assess whether the validated top-down definition set is cross-artifact coherent enough for the current horizon. Deterministic family validation remains a non-bypassable eligibility floor; this playbook contributes an advisory semantic evaluation and never mutates application truth.',\n preconditions: [\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'market-snapshot' } },\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'requirements' } },\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'roadmap' } },\n ],\n inputs: [\n { family: 'vision-brief' },\n { family: 'market-snapshot' },\n { family: 'requirements' },\n { family: 'roadmap' },\n { family: 'feature-drafts' },\n // An INPUT, deliberately not a precondition: the gate should SEE the commercial intent when it\n // exists, and must not become ineligible for every application that has not sketched one.\n { family: 'business-model' },\n // INPUTS, not preconditions, for the same reason: an application with no brand yet is not incoherent.\n // When there IS a brand, its name's screening is part of what the definition promises.\n { family: 'brand-brief', render: MetaWorkflow_InputRender.MAP },\n { family: 'brand-name-screening' },\n // Where a deliberate name decision (kept despite a conflict, screening incomplete) must be recorded.\n { family: 'risk-register' },\n ],\n outputs: [],\n method: {\n /*\n * This gate exists to assess whether the top-down definition set is cross-artifact coherent, and\n * the coverage and dangling-reference halves of that are SET OPERATIONS over refs — computed\n * exactly and for free. Asking a model to re-derive them from five families is asking it to hold\n * every ref from five documents at once and compare them by eye: worse, slower, and already done.\n * The arithmetic goes IN so the model judges what arithmetic cannot — whether an uncovered\n * criterion is a deliberate deferral or an omission, and whether the cut is defensible.\n */\n contextSources: [MetaWorkflow_ContextSource.COHERENCE_REPORT],\n skillRefs: [],\n },\n executor: MetaWorkflow_Executor.COMPANION_AGENT,\n approval: MetaWorkflow_ApprovalPolicy.APPROVE_RESULT,\n budget: {\n maxRuns: 3,\n },\n onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG,\n} satisfies Omit<MetaWorkflowPlaybookAuthoring, 'method'> & {\n method: Omit<NonNullable<MetaWorkflowPlaybookAuthoring['method']>, 'guidance'>;\n};\n\nexport const evaluationTreatmentSource = {\n schemaVersion: 1,\n definitionRef: 'application-creation:evaluation-treatment/top-down-phase-gate',\n definitionVersion: 1,\n evaluationProtocol: {\n schemaVersion: 1,\n protocolRef: 'application-creation:evaluation-protocol/top-down-phase-gate',\n protocolVersion: 1,\n promptAssemblyStrategy: MetaWorkflow_EvaluationPromptAssemblyStrategy.CANONICAL_PROTOCOL_EVIDENCE_V1,\n aggregationStrategy: MetaWorkflow_EvaluationAggregationStrategy.WORST_VERDICT_PRECEDENCE_V1,\n verdictPrecedence: [\n MetaWorkflow_EvaluationVerdict.GAP,\n MetaWorkflow_EvaluationVerdict.INDETERMINATE,\n MetaWorkflow_EvaluationVerdict.CONCERN,\n MetaWorkflow_EvaluationVerdict.PASS,\n ],\n aggregationPolicyRef: 'application-creation:aggregation/worst-top-down-coherence-verdict',\n criteria: [\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/capability-completeness',\n criterionVersion: 1,\n instruction:\n 'Determine whether every current-horizon market benefit is connected to at least one resolvable delivering feature. Treat an unwired benefit as a material gap; do not infer a connection from thematic similarity alone.',\n // Benefits and the features that deliver them, and nothing else: this criterion rules on one\n // wiring, and the requirements, the roadmap and the vision are not evidence about it (#1423).\n assessesAspects: ['market.benefit', 'feature-drafts.draft'],\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/capability-completeness',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/market-capability-wiring',\n minCount: 1,\n maxCount: 1,\n coveragePolicyRef: 'application-creation:evidence-policy/all-current-horizon-benefits',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-accepted-family-heads',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Every current-horizon benefit has at least one resolvable delivering feature.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'All benefits are wired, but one or more connections are weak, indirect, or insufficiently explained.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'At least one current-horizon benefit has no resolvable delivering feature.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The accepted evidence cannot establish the benefit-to-feature wiring completely.',\n },\n },\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/compliance-presence',\n criterionVersion: 1,\n instruction:\n 'Determine whether a product handling regulated or sensitive data declares at least one applicable compliance constraint. Do not invent regulation applicability; report indeterminate when the accepted evidence does not establish the data or sector posture.',\n /*\n * DELIBERATELY UNDECLARED, and the reason belongs beside the four that are declared (#1423).\n *\n * Its INDETERMINATE guidance is \"the accepted evidence does not establish the data or sector\n * posture\" — a judgement about the WHOLE accepted set, which nobody can narrow in advance\n * without deciding for it where a sector posture may be visible. Narrowing this one would\n * turn the author's guess into the criterion's blind spot.\n *\n * It also keeps the shared artifacts section alive, which is what carries `business-model`:\n * the gate declares it as an input so the commercial intent is SEEN, and no criterion\n * assesses it. A treatment where every criterion names a slice would drop it silently.\n */\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/compliance-presence',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/vision-compliance',\n minCount: 1,\n maxCount: 1,\n coveragePolicyRef: 'application-creation:evidence-policy/regulated-data-and-compliance-constraints',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-accepted-family-heads',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'The evidence establishes either no regulated-data trigger or an applicable declared compliance constraint.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'A compliance constraint exists, but its applicability or coverage is weakly established.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'A regulated-data trigger is established and no applicable compliance constraint is declared.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The evidence cannot establish the regulated-data trigger or the applicable constraint posture.',\n },\n },\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/brand-name-screening-standing',\n criterionVersion: 1,\n instruction:\n \"Determine where the product's NAME stands, reading the coherence report's brand-name findings first — they are computed, not judged. On a line that carries a brand, a missing brand-name screening (brand-name-screening-missing) or a brand name no screening covers (brand-name-not-screened), or a conflict nobody chose to keep (brand-name-conflict-unacknowledged), is a gap in the definition: the brand identity's name question cannot be answered, or the name was never checked. A name chosen with the screening incomplete or kept despite a conflict is a deliberate, recorded decision that must be visible — in the risk register, as an entry derived from the brand-name-trademark-standing signal — not a failure. Fewer than three offerable proposals, or a creator-listed name the screening does not carry, is a concern. A line with no brand (no brand-name finding is reported for it) has nothing to assess.\",\n assessesAspects: ['brand.name', 'brand-name-screening.candidate'],\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/brand-name-screening-standing',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/brand-and-name-screening',\n minCount: 1,\n maxCount: 2,\n coveragePolicyRef: 'application-creation:evidence-policy/brand-name-and-its-screening',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-accepted-family-heads',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'The line carries no brand, or the brand name is a screened candidate whose screening is complete and clear.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'The brand name was chosen with the screening incomplete or kept despite a conflict and the risk register carries it, or the screening offers fewer than three proposals or misses a name the creator listed.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'On a line with a brand, no screening is on record or the brand name was never screened; or a name kept despite a conflict is recorded nowhere, the risk register included.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The coherence report is not in evidence, so the brand name\\'s standing cannot be read.',\n },\n },\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/positioning-icp-coherence',\n criterionVersion: 1,\n instruction:\n 'Determine whether positioning pillars address the declared core ICPs without centring an anti-target segment. Preserve the authored ICP classifications and do not silently reclassify a segment.',\n // The ICP classifications are the thing it must NOT silently reclassify, so they are exactly\n // what it is shown — beside the pillars it weighs them against.\n assessesAspects: ['market.icp', 'market.positioning'],\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/positioning-icp-coherence',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/market-positioning',\n minCount: 1,\n maxCount: 1,\n coveragePolicyRef: 'application-creation:evidence-policy/core-and-anti-target-icps',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-accepted-family-heads',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Positioning addresses the core ICPs and does not centre an anti-target segment.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'Positioning is broadly coherent but under-serves a core ICP or approaches an anti-target boundary.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'Positioning ignores the core ICPs or explicitly centres an anti-target segment.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The accepted evidence cannot connect positioning pillars to the classified ICP set.',\n },\n },\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/requirement-coverage',\n criterionVersion: 1,\n instruction:\n 'Determine whether every current-horizon functional requirement is delivered by a roadmap phase or explicitly deferred in accepted roadmap intent. Do not treat absence as deliberate deferral.',\n // Functional only: the non-functional requirements are not what this criterion counts, and a\n // judge shown both has to remember which half it was asked about.\n assessesAspects: ['requirements.functional', 'roadmap.phase'],\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/requirement-coverage',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/requirements-roadmap',\n minCount: 1,\n maxCount: 1,\n coveragePolicyRef: 'application-creation:evidence-policy/all-current-horizon-functional-requirements',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-accepted-family-heads',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Every current-horizon functional requirement is delivered or explicitly deferred.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'Coverage is complete, but one or more deferrals are weakly justified or difficult to trace.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'At least one functional requirement is neither delivered nor explicitly deferred.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The accepted evidence cannot establish complete requirement-to-roadmap accounting.',\n },\n },\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/success-criterion-coverage',\n criterionVersion: 1,\n instruction:\n 'Determine whether every current-horizon vision success criterion is delivered by at least one roadmap phase. Keep success criteria distinct from implementation tasks or generic aspirations.',\n // The same roadmap as the criterion above, against a different half of the vision — two\n // declarations, two slices, and the shared family is rendered once per distinct selection.\n assessesAspects: ['vision.success-criterion', 'roadmap.phase'],\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/success-criterion-coverage',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/vision-roadmap',\n minCount: 1,\n maxCount: 1,\n coveragePolicyRef: 'application-creation:evidence-policy/all-current-horizon-success-criteria',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-accepted-family-heads',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Every current-horizon success criterion is delivered by at least one roadmap phase.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'All criteria are covered, but one or more delivery links are weak or overly indirect.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'At least one current-horizon success criterion is not delivered by any roadmap phase.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The accepted evidence cannot establish complete success-criterion-to-roadmap coverage.',\n },\n },\n ],\n },\n evaluatorBindingPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:evaluator-binding-policy/top-down-phase-gate',\n policyVersion: 1,\n admissibleEvaluatorSelectors: [{\n evaluatorRef: 'meta-workflow:evaluator/structured-semantic-coherence',\n evaluatorVersion: 1,\n }],\n defaultEvaluatorSelector: {\n evaluatorRef: 'meta-workflow:evaluator/structured-semantic-coherence',\n evaluatorVersion: 1,\n },\n outputContractSelector: {\n outputContractRef: 'meta-workflow:output-contract/structured-semantic-evaluation-candidate',\n outputContractVersion: 1,\n },\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/top-down-phase-gate',\n decisionPointVersion: 1,\n triggerRefs: ['application-creation:trigger/top-down-definition-set-valid'],\n hardFloorRefs: ['application-creation:hard-floor/required-family-validity'],\n riskPolicyRef: 'application-creation:risk-policy/scoped-application-and-execution-context',\n significancePolicyRef: 'application-creation:significance-policy/current-horizon-transition',\n },\n decisionRule: {\n schemaVersion: 1,\n ruleRef: 'application-creation:decision-rule/top-down-phase-gate',\n ruleVersion: 1,\n boundaryClass: MetaWorkflow_DecisionRuleBoundaryClass.QUALITY_INTERPRETATION,\n evidenceAggregationRef: 'application-creation:aggregation/worst-top-down-coherence-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/required-family-validity',\n evidenceRequirementRefs: [\n 'application-creation:evidence-requirement/capability-completeness',\n 'application-creation:evidence-requirement/compliance-presence',\n 'application-creation:evidence-requirement/positioning-icp-coherence',\n 'application-creation:evidence-requirement/requirement-coverage',\n 'application-creation:evidence-requirement/success-criterion-coverage',\n ],\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/top-down-to-bottom-up-transition',\n requirementVersion: 1,\n consequenceClassRef: 'application-creation:authority-consequence/journey-phase-transition',\n riskClassRef: 'application-creation:risk/bootstrap-non-regulated-phase-transition',\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: [\n 'application-creation:evidence-requirement/capability-completeness',\n 'application-creation:evidence-requirement/compliance-presence',\n 'application-creation:evidence-requirement/positioning-icp-coherence',\n 'application-creation:evidence-requirement/requirement-coverage',\n 'application-creation:evidence-requirement/success-criterion-coverage',\n ],\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/top-down-phase-gate',\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"]}
@@ -13,7 +13,7 @@ import { MetaWorkflow_AuthorityAssuranceClass, MetaWorkflow_AuthorityDecisionMod
13
13
  */
14
14
  export declare const playbookDefinition: {
15
15
  readonly ref: "top_down.risk-register";
16
- readonly version: "0.1.1";
16
+ readonly version: "0.1.2";
17
17
  readonly phase: "top_down";
18
18
  readonly intent: "Complete this application's risk register: turn each DERIVED risk signal into a statement about what the exposure means for THIS product and these users, weight it qualitatively against what is actually implemented, and propose the business risks no derivation reaches. The signals say what is present; this says what it means. A model proposes and a human accepts — the accepted register is the committed file, so this playbook never decides anything, it drafts. Runtime evidence, control-objective binding and audit depth belong to their own mechanisms; this produces the register they read.";
19
19
  readonly preconditions: readonly [{
@@ -33,6 +33,12 @@ export declare const playbookDefinition: {
33
33
  readonly family: "business-model";
34
34
  }, {
35
35
  readonly family: "market-snapshot";
36
+ }, {
37
+ readonly family: "brand-brief";
38
+ readonly "//": "The name the brand carries, so a statement about it names it.";
39
+ }, {
40
+ readonly family: "brand-name-screening";
41
+ readonly "//": "The screening behind the `brand-name-trademark-standing` signal: the conflicting marks, registers and uncovered jurisdictions a derived entry states.";
36
42
  }];
37
43
  readonly outputs: readonly [{
38
44
  readonly family: "risk-register";
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../../src/playbooks/top_down.risk-register/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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCrB,CAAC;AAEX,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsLW,CAAC"}
1
+ {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../../src/playbooks/top_down.risk-register/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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCrB,CAAC;AAEX,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsLW,CAAC"}
@@ -13,7 +13,7 @@ import { MetaWorkflow_AuthorityAssuranceClass, MetaWorkflow_AuthorityDecisionMod
13
13
  */
14
14
  export const playbookDefinition = {
15
15
  "ref": "top_down.risk-register",
16
- "version": "0.1.1",
16
+ "version": "0.1.2",
17
17
  "phase": "top_down",
18
18
  "intent": "Complete this application's risk register: turn each DERIVED risk signal into a statement about what the exposure means for THIS product and these users, weight it qualitatively against what is actually implemented, and propose the business risks no derivation reaches. The signals say what is present; this says what it means. A model proposes and a human accepts — the accepted register is the committed file, so this playbook never decides anything, it drafts. Runtime evidence, control-objective binding and audit depth belong to their own mechanisms; this produces the register they read.",
19
19
  "preconditions": [
@@ -23,7 +23,9 @@ export const playbookDefinition = {
23
23
  "inputs": [
24
24
  { "family": "vision-brief" },
25
25
  { "family": "business-model" },
26
- { "family": "market-snapshot" }
26
+ { "family": "market-snapshot" },
27
+ { "family": "brand-brief", "//": "The name the brand carries, so a statement about it names it." },
28
+ { "family": "brand-name-screening", "//": "The screening behind the `brand-name-trademark-standing` signal: the conflicting marks, registers and uncovered jurisdictions a derived entry states." }
27
29
  ],
28
30
  "outputs": [
29
31
  {
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.definition.js","sourceRo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S,EAAE,wDAAwD;QACnE,aAAa,EAAE,CAAC;QAChB,QAAQ,EAAE;YACR,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,QAAQ,EAAE,MAAM,EAAE,+BAA+B,CAAC,QAAQ,EAAE;YACpH,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,MAAM,EAAE,MAAM,EAAE,+BAA+B,CAAC,MAAM,EAAE;YAChH,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,gBAAgB,EAAE,MAAM,EAAE,+BAA+B,CAAC,gBAAgB,EAAE;YACpI,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,iBAAiB,EAAE,MAAM,EAAE,+BAA+B,CAAC,iBAAiB,EAAE;YACtI,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,KAAK,EAAE,MAAM,EAAE,+BAA+B,CAAC,KAAK,EAAE;SAC/G;QACD,uBAAuB,EAAE,CAAC;QAC1B,uBAAuB,EAAE,CAAC;QAC1B,uBAAuB,EAAE,CAAC;QAC1B,cAAc,EAAE,+BAA+B,CAAC,KAAK;KACtD;CAC8C,CAAC","sourcesContent":["import type { MetaWorkflowEvaluationTreatmentSource } from '@wildo-ai/saas-backend-lib/meta-workflow-runtime';\nimport {\n MetaWorkflow_AuthorityAssuranceClass,\n MetaWorkflow_AuthorityDecisionMode,\n MetaWorkflow_AuthorityInteractionChannel,\n MetaWorkflow_ContinuationAction,\n MetaWorkflow_DecisionConsequence,\n MetaWorkflow_DecisionRuleBoundaryClass,\n MetaWorkflow_EvaluationAggregationStrategy,\n MetaWorkflow_EvaluationPromptAssemblyStrategy,\n MetaWorkflow_EvaluationVerdict,\n MetaWorkflow_EvidenceRequirementKind,\n MetaWorkflow_HardFloorPosture,\n} from '@wildo-ai/saas-models/meta-workflows';\n\n/**\n * Canonical native declaration for this reusable application-creation method.\n *\n * The structured method remains intentionally rich: its intent, inputs, output\n * contracts, elicitation, deterministic verification and skill routing are the\n * application knowledge a later generic assessment loop composes.\n *\n * The `evaluationTreatmentSource` below compiles the method's three disciplines (#1487) — honest\n * entry origins, arguable statements with grounded qualitative bands, and the boundary with the\n * mechanisms that bind controls and plan audits — so the ADVISORY judge reads the landed register\n * against them. Advisory: the human accepting the register decides; the verdict is a note.\n */\nexport const playbookDefinition = \n{\n \"ref\": \"top_down.risk-register\",\n \"version\": \"0.1.1\",\n \"phase\": \"top_down\",\n \"intent\": \"Complete this application's risk register: turn each DERIVED risk signal into a statement about what the exposure means for THIS product and these users, weight it qualitatively against what is actually implemented, and propose the business risks no derivation reaches. The signals say what is present; this says what it means. A model proposes and a human accepts — the accepted register is the committed file, so this playbook never decides anything, it drafts. Runtime evidence, control-objective binding and audit depth belong to their own mechanisms; this produces the register they read.\",\n \"preconditions\": [\n { \"kind\": \"artifact_exists\", \"selector\": { \"family\": \"vision-brief\" } },\n { \"kind\": \"artifact_exists\", \"selector\": { \"family\": \"business-model\" } }\n ],\n \"inputs\": [\n { \"family\": \"vision-brief\" },\n { \"family\": \"business-model\" },\n { \"family\": \"market-snapshot\" }\n ],\n \"outputs\": [\n {\n \"family\": \"risk-register\",\n \"schemaRef\": \"saas-specifications:ApplicationRiskRegister\",\n \"description\": \"The accepted register: one entry per risk, each carrying its origin (SIGNAL_DERIVED with the signal it was completed from, or PROPOSED where no derivation reaches it), a statement in this application's own terms, qualitative likelihood and impact bands with the grounding for them, and the Layer 2 posture the risk is carried under where one is declared. Validated by validateApplicationRiskRegister.\"\n }\n ],\n \"method\": {\n \"skillRefs\": [],\n \"//contextSources\": \"RISK_SIGNALS \\u2014 this method has always carried a marked branch for \\u0022if signals were not supplied to this run\\u0022, and until 2026-09-22 nothing had ever supplied them: the six derivations lived in an assurance script and were reachable only there, so the register\\u0027s derived half was absent on every run and the fallback was the only path. They now live in the engine, and the four config-derived signals arrive whether or not a subprocess can answer \\u2014 a measurement may never become a precondition (#1435).\",\n \"contextSources\": [\"risk_signals\"]\n },\n \"executor\": \"companion_agent\",\n \"approval\": \"approve_result\",\n \"budget\": {\n \"maxRuns\": 3\n },\n \"onFailure\": \"keep_and_flag\"\n} as const;\n\nexport const evaluationTreatmentSource = {\n schemaVersion: 1,\n definitionRef: 'application-creation:evaluation-treatment/risk-register',\n definitionVersion: 1,\n evaluationProtocol: {\n schemaVersion: 1,\n protocolRef: 'application-creation:evaluation-protocol/risk-register',\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-risk-register-verdict',\n /*\n * No `assessesAspects`: the risk-register family declares no aspects yet, and the criteria read the\n * register whole beside the three grounding families. Declare aspects here when the family gains them.\n */\n criteria: [\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/risk-register-entry-origin-honesty',\n criterionVersion: 1,\n instruction:\n \"Determine whether every entry's origin is honest: a SIGNAL_DERIVED entry names the derived signal it was completed from, one entry per signal; a PROPOSED entry is grounded in the vision, the business model or the market snapshot and is never anchored to a signal; and when signals were not supplied to the run, the register states plainly that the derived half is absent rather than treating an absent measurement as an absent risk.\",\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/risk-register-entry-origin-honesty',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/vision-business-model-market-and-risk-register-candidate',\n minCount: 2,\n maxCount: 5,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-risk-register-inputs-and-candidate',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-action-binding',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Every derived entry names its signal, every proposed entry is grounded in an authored family, and an absent derivation is stated.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: \"Origins are honest but a proposed entry's grounding is generic, or the absent-derivation statement is buried.\",\n [MetaWorkflow_EvaluationVerdict.GAP]: 'A proposed entry anchored to a signal, a derived entry naming no signal, an entry grounded in nothing, or a register that silently omits the derived half.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The vision, business model or market snapshot are not in evidence, so grounding cannot be checked.',\n },\n },\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/risk-register-arguable-statements-and-grounded-weighting',\n criterionVersion: 1,\n instruction:\n \"Determine whether each statement is one a reader can argue with in this application's own terms (naming the providers, fields, operations or users concerned) rather than a truism, and whether likelihood and impact are qualitative bands grounded in what is IMPLEMENTED, with no score, rating or product anywhere. Where the application declares a posture the measurement contradicts, the contradiction is noted in the weighting grounding, not resolved.\",\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/risk-register-arguable-statements-and-grounded-weighting',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/vision-business-model-market-and-risk-register-candidate',\n minCount: 2,\n maxCount: 5,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-risk-register-inputs-and-candidate',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-action-binding',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Every statement is checkable and specific, every band is grounded in the implementation, and no number is multiplied.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: \"Statements are specific but a band's grounding would be equally true of any application, or a declared-posture contradiction is noted only weakly.\",\n [MetaWorkflow_EvaluationVerdict.GAP]: 'A truistic statement, a band grounded in how the risk sounds, a score or rating, or a posture contradiction silently resolved.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: \"The register's entries are not in evidence.\",\n },\n },\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/risk-register-boundary-with-other-mechanisms',\n criterionVersion: 1,\n instruction:\n 'Determine whether the register stays a register: it binds no control objective, asserts no control as discharged, writes no audit plan, and neither restates nor contradicts configuration the application already declares (retention periods, provider deployment choices, jurisdictions).',\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/risk-register-boundary-with-other-mechanisms',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/vision-business-model-market-and-risk-register-candidate',\n minCount: 2,\n maxCount: 5,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-risk-register-inputs-and-candidate',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-action-binding',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Every entry states a risk and nothing more.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'An entry mentions a control or a configured value in a way that reads as a decision rather than a reference.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'An entry binds a control, claims discharge, prescribes audit depth, or contradicts a declared configuration.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: \"The application's declarations are not in evidence, so contradictions cannot be checked.\",\n },\n },\n ],\n },\n evaluatorBindingPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:evaluator-binding-policy/risk-register',\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/risk-register-result',\n decisionPointVersion: 1,\n triggerRefs: ['application-creation:trigger/risk-register-staged-and-valid'],\n hardFloorRefs: ['application-creation:hard-floor/risk-register-valid'],\n riskPolicyRef: 'application-creation:risk-policy/scoped-application-and-execution-context',\n significancePolicyRef: 'application-creation:significance-policy/current-horizon-risk-register-change',\n },\n decisionRule: {\n schemaVersion: 1,\n ruleRef: 'application-creation:decision-rule/risk-register-result',\n ruleVersion: 1,\n boundaryClass: MetaWorkflow_DecisionRuleBoundaryClass.QUALITY_INTERPRETATION,\n evidenceAggregationRef: 'application-creation:aggregation/worst-risk-register-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/risk-register-valid',\n evidenceRequirementRefs: ['application-creation:evidence-requirement/risk-register-entry-origin-honesty'],\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/risk-register-result',\n requirementVersion: 1,\n consequenceClassRef: 'application-creation:authority-consequence/accept-risk-register',\n riskClassRef: 'application-creation:risk/risk-register-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/risk-register-arguable-statements-and-grounded-weighting'],\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/risk-register',\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.risk-register/playbook.definition.ts"],"names":[],"mappings":"AACA,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,gCAAgC,EAChC,sCAAsC,EACtC,0CAA0C,EAC1C,6CAA6C,EAC7C,8BAA8B,EAC9B,oCAAoC,EACpC,6BAA6B,GAC9B,MAAM,sCAAsC,CAAC;AAE9C;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAC/B;IACE,KAAK,EAAE,wBAAwB;IAC/B,SAAS,EAAE,OAAO;IAClB,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,mlBAAmlB;IAC7lB,eAAe,EAAE;QACf,EAAE,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,cAAc,EAAE,EAAE;QACvE,EAAE,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,gBAAgB,EAAE,EAAE;KAC1E;IACD,QAAQ,EAAE;QACR,EAAE,QAAQ,EAAE,cAAc,EAAE;QAC5B,EAAE,QAAQ,EAAE,gBAAgB,EAAE;QAC9B,EAAE,QAAQ,EAAE,iBAAiB,EAAE;QAC/B,EAAE,QAAQ,EAAE,aAAa,EAAE,IAAI,EAAE,+DAA+D,EAAE;QAClG,EAAE,QAAQ,EAAE,sBAAsB,EAAE,IAAI,EAAE,uJAAuJ,EAAE;KACpM;IACD,SAAS,EAAE;QACT;YACE,QAAQ,EAAE,eAAe;YACzB,WAAW,EAAE,6CAA6C;YAC1D,aAAa,EAAE,kZAAkZ;SACla;KACF;IACD,QAAQ,EAA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,8BAA8B;QACvF,gBAAgB,EAAE,oCAAoC,CAAC,gBAAgB;QACvE,gBAAgB,EAAE,CAAC,wCAAwC,CAAC,eAAe,CAAC;QAC5E,+BAA+B,EAAE,CAAC,oGAAoG,CAAC;QACvI,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,wDAAwD;QACnE,aAAa,EAAE,CAAC;QAChB,QAAQ,EAAE;YACR,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,QAAQ,EAAE,MAAM,EAAE,+BAA+B,CAAC,QAAQ,EAAE;YACpH,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,MAAM,EAAE,MAAM,EAAE,+BAA+B,CAAC,MAAM,EAAE;YAChH,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,gBAAgB,EAAE,MAAM,EAAE,+BAA+B,CAAC,gBAAgB,EAAE;YACpI,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,iBAAiB,EAAE,MAAM,EAAE,+BAA+B,CAAC,iBAAiB,EAAE;YACtI,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,KAAK,EAAE,MAAM,EAAE,+BAA+B,CAAC,KAAK,EAAE;SAC/G;QACD,uBAAuB,EAAE,CAAC;QAC1B,uBAAuB,EAAE,CAAC;QAC1B,uBAAuB,EAAE,CAAC;QAC1B,cAAc,EAAE,+BAA+B,CAAC,KAAK;KACtD;CAC8C,CAAC","sourcesContent":["import type { MetaWorkflowEvaluationTreatmentSource } from '@wildo-ai/saas-backend-lib/meta-workflow-runtime';\nimport {\n MetaWorkflow_AuthorityAssuranceClass,\n MetaWorkflow_AuthorityDecisionMode,\n MetaWorkflow_AuthorityInteractionChannel,\n MetaWorkflow_ContinuationAction,\n MetaWorkflow_DecisionConsequence,\n MetaWorkflow_DecisionRuleBoundaryClass,\n MetaWorkflow_EvaluationAggregationStrategy,\n MetaWorkflow_EvaluationPromptAssemblyStrategy,\n MetaWorkflow_EvaluationVerdict,\n MetaWorkflow_EvidenceRequirementKind,\n MetaWorkflow_HardFloorPosture,\n} from '@wildo-ai/saas-models/meta-workflows';\n\n/**\n * Canonical native declaration for this reusable application-creation method.\n *\n * The structured method remains intentionally rich: its intent, inputs, output\n * contracts, elicitation, deterministic verification and skill routing are the\n * application knowledge a later generic assessment loop composes.\n *\n * The `evaluationTreatmentSource` below compiles the method's three disciplines (#1487) — honest\n * entry origins, arguable statements with grounded qualitative bands, and the boundary with the\n * mechanisms that bind controls and plan audits — so the ADVISORY judge reads the landed register\n * against them. Advisory: the human accepting the register decides; the verdict is a note.\n */\nexport const playbookDefinition = \n{\n \"ref\": \"top_down.risk-register\",\n \"version\": \"0.1.2\",\n \"phase\": \"top_down\",\n \"intent\": \"Complete this application's risk register: turn each DERIVED risk signal into a statement about what the exposure means for THIS product and these users, weight it qualitatively against what is actually implemented, and propose the business risks no derivation reaches. The signals say what is present; this says what it means. A model proposes and a human accepts — the accepted register is the committed file, so this playbook never decides anything, it drafts. Runtime evidence, control-objective binding and audit depth belong to their own mechanisms; this produces the register they read.\",\n \"preconditions\": [\n { \"kind\": \"artifact_exists\", \"selector\": { \"family\": \"vision-brief\" } },\n { \"kind\": \"artifact_exists\", \"selector\": { \"family\": \"business-model\" } }\n ],\n \"inputs\": [\n { \"family\": \"vision-brief\" },\n { \"family\": \"business-model\" },\n { \"family\": \"market-snapshot\" },\n { \"family\": \"brand-brief\", \"//\": \"The name the brand carries, so a statement about it names it.\" },\n { \"family\": \"brand-name-screening\", \"//\": \"The screening behind the `brand-name-trademark-standing` signal: the conflicting marks, registers and uncovered jurisdictions a derived entry states.\" }\n ],\n \"outputs\": [\n {\n \"family\": \"risk-register\",\n \"schemaRef\": \"saas-specifications:ApplicationRiskRegister\",\n \"description\": \"The accepted register: one entry per risk, each carrying its origin (SIGNAL_DERIVED with the signal it was completed from, or PROPOSED where no derivation reaches it), a statement in this application's own terms, qualitative likelihood and impact bands with the grounding for them, and the Layer 2 posture the risk is carried under where one is declared. Validated by validateApplicationRiskRegister.\"\n }\n ],\n \"method\": {\n \"skillRefs\": [],\n \"//contextSources\": \"RISK_SIGNALS \\u2014 this method has always carried a marked branch for \\u0022if signals were not supplied to this run\\u0022, and until 2026-09-22 nothing had ever supplied them: the six derivations lived in an assurance script and were reachable only there, so the register\\u0027s derived half was absent on every run and the fallback was the only path. They now live in the engine, and the four config-derived signals arrive whether or not a subprocess can answer \\u2014 a measurement may never become a precondition (#1435).\",\n \"contextSources\": [\"risk_signals\"]\n },\n \"executor\": \"companion_agent\",\n \"approval\": \"approve_result\",\n \"budget\": {\n \"maxRuns\": 3\n },\n \"onFailure\": \"keep_and_flag\"\n} as const;\n\nexport const evaluationTreatmentSource = {\n schemaVersion: 1,\n definitionRef: 'application-creation:evaluation-treatment/risk-register',\n definitionVersion: 1,\n evaluationProtocol: {\n schemaVersion: 1,\n protocolRef: 'application-creation:evaluation-protocol/risk-register',\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-risk-register-verdict',\n /*\n * No `assessesAspects`: the risk-register family declares no aspects yet, and the criteria read the\n * register whole beside the three grounding families. Declare aspects here when the family gains them.\n */\n criteria: [\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/risk-register-entry-origin-honesty',\n criterionVersion: 1,\n instruction:\n \"Determine whether every entry's origin is honest: a SIGNAL_DERIVED entry names the derived signal it was completed from, one entry per signal; a PROPOSED entry is grounded in the vision, the business model or the market snapshot and is never anchored to a signal; and when signals were not supplied to the run, the register states plainly that the derived half is absent rather than treating an absent measurement as an absent risk.\",\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/risk-register-entry-origin-honesty',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/vision-business-model-market-and-risk-register-candidate',\n minCount: 2,\n maxCount: 5,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-risk-register-inputs-and-candidate',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-action-binding',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Every derived entry names its signal, every proposed entry is grounded in an authored family, and an absent derivation is stated.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: \"Origins are honest but a proposed entry's grounding is generic, or the absent-derivation statement is buried.\",\n [MetaWorkflow_EvaluationVerdict.GAP]: 'A proposed entry anchored to a signal, a derived entry naming no signal, an entry grounded in nothing, or a register that silently omits the derived half.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The vision, business model or market snapshot are not in evidence, so grounding cannot be checked.',\n },\n },\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/risk-register-arguable-statements-and-grounded-weighting',\n criterionVersion: 1,\n instruction:\n \"Determine whether each statement is one a reader can argue with in this application's own terms (naming the providers, fields, operations or users concerned) rather than a truism, and whether likelihood and impact are qualitative bands grounded in what is IMPLEMENTED, with no score, rating or product anywhere. Where the application declares a posture the measurement contradicts, the contradiction is noted in the weighting grounding, not resolved.\",\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/risk-register-arguable-statements-and-grounded-weighting',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/vision-business-model-market-and-risk-register-candidate',\n minCount: 2,\n maxCount: 5,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-risk-register-inputs-and-candidate',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-action-binding',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Every statement is checkable and specific, every band is grounded in the implementation, and no number is multiplied.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: \"Statements are specific but a band's grounding would be equally true of any application, or a declared-posture contradiction is noted only weakly.\",\n [MetaWorkflow_EvaluationVerdict.GAP]: 'A truistic statement, a band grounded in how the risk sounds, a score or rating, or a posture contradiction silently resolved.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: \"The register's entries are not in evidence.\",\n },\n },\n {\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/risk-register-boundary-with-other-mechanisms',\n criterionVersion: 1,\n instruction:\n 'Determine whether the register stays a register: it binds no control objective, asserts no control as discharged, writes no audit plan, and neither restates nor contradicts configuration the application already declares (retention periods, provider deployment choices, jurisdictions).',\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/risk-register-boundary-with-other-mechanisms',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/vision-business-model-market-and-risk-register-candidate',\n minCount: 2,\n maxCount: 5,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-risk-register-inputs-and-candidate',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-action-binding',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Every entry states a risk and nothing more.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'An entry mentions a control or a configured value in a way that reads as a decision rather than a reference.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'An entry binds a control, claims discharge, prescribes audit depth, or contradicts a declared configuration.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: \"The application's declarations are not in evidence, so contradictions cannot be checked.\",\n },\n },\n ],\n },\n evaluatorBindingPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:evaluator-binding-policy/risk-register',\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/risk-register-result',\n decisionPointVersion: 1,\n triggerRefs: ['application-creation:trigger/risk-register-staged-and-valid'],\n hardFloorRefs: ['application-creation:hard-floor/risk-register-valid'],\n riskPolicyRef: 'application-creation:risk-policy/scoped-application-and-execution-context',\n significancePolicyRef: 'application-creation:significance-policy/current-horizon-risk-register-change',\n },\n decisionRule: {\n schemaVersion: 1,\n ruleRef: 'application-creation:decision-rule/risk-register-result',\n ruleVersion: 1,\n boundaryClass: MetaWorkflow_DecisionRuleBoundaryClass.QUALITY_INTERPRETATION,\n evidenceAggregationRef: 'application-creation:aggregation/worst-risk-register-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/risk-register-valid',\n evidenceRequirementRefs: ['application-creation:evidence-requirement/risk-register-entry-origin-honesty'],\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/risk-register-result',\n requirementVersion: 1,\n consequenceClassRef: 'application-creation:authority-consequence/accept-risk-register',\n riskClassRef: 'application-creation:risk/risk-register-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/risk-register-arguable-statements-and-grounded-weighting'],\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/risk-register',\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,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, MetaWorkflow_PredicateKind } 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_PredicateKind, MetaWorkflow_ElicitationQuestionDepth } from '@wildo-ai/saas-models/meta-workflows';
3
3
  import { MetaWorkflow_ContextSource, MetaWorkflow_Phase } from '@wildo-ai/saas-specifications/application-creation';
4
4
  export declare const playbookDefinition: {
5
5
  ref: string;
@@ -24,11 +24,17 @@ export declare const playbookDefinition: {
24
24
  contextSources: MetaWorkflow_ContextSource.MARKET_FIT_SCORES[];
25
25
  skillRefs: any[];
26
26
  elicitation: {
27
- questions: {
27
+ questions: ({
28
28
  ref: string;
29
29
  question: string;
30
30
  kind: HumanDecision_FieldKind.FREE_TEXT;
31
- }[];
31
+ depth: MetaWorkflow_ElicitationQuestionDepth.ESSENTIAL;
32
+ } | {
33
+ ref: string;
34
+ question: string;
35
+ kind: HumanDecision_FieldKind.FREE_TEXT;
36
+ depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL;
37
+ })[];
32
38
  };
33
39
  };
34
40
  executor: MetaWorkflow_Executor.COMPANION_AGENT;
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../../src/playbooks/top_down.scope-roadmap/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACxB,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,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,0BAA0B,EAC1B,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyE+G,CAAC;AAE/I,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDW,CAAC;AAEvD,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoHW,CAAC"}
1
+ {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../../src/playbooks/top_down.scope-roadmap/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACxB,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,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,EAC1B,qCAAqC,EACtC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,0BAA0B,EAC1B,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyE+G,CAAC;AAE/I,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDW,CAAC;AAEvD,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoHW,CAAC"}
@@ -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, MetaWorkflow_PredicateKind, } 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_PredicateKind, MetaWorkflow_ElicitationQuestionDepth, } from '@wildo-ai/saas-models/meta-workflows';
3
3
  import { MetaWorkflow_ContextSource, MetaWorkflow_Phase, } from '@wildo-ai/saas-specifications/application-creation';
4
4
  export const playbookDefinition = {
5
5
  ref: 'top_down.scope-roadmap',
@@ -57,12 +57,12 @@ export const playbookDefinition = {
57
57
  {
58
58
  ref: 'mvp-cut',
59
59
  question: 'What must be in the FIRST release for it to be worth shipping at all — and what are you happy to defer? Name the outcomes, not the features. Answer "you decide" if you would rather the plan propose a cut for you to react to.',
60
- kind: HumanDecision_FieldKind.FREE_TEXT,
60
+ kind: HumanDecision_FieldKind.FREE_TEXT, depth: MetaWorkflow_ElicitationQuestionDepth.ESSENTIAL,
61
61
  },
62
62
  {
63
63
  ref: 'delivery-pressure',
64
64
  question: 'Is there a date, an event, or a commitment the first release has to meet? Answer "none" if the plan is shaped by scope rather than by a deadline.',
65
- kind: HumanDecision_FieldKind.FREE_TEXT,
65
+ kind: HumanDecision_FieldKind.FREE_TEXT, depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL,
66
66
  },
67
67
  ],
68
68
  },
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../../src/playbooks/top_down.scope-roadmap/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,sCAA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,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 MetaWorkflow_ContextSource,\n MetaWorkflow_Phase,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\nexport const playbookDefinition = {\n ref: 'top_down.scope-roadmap',\n version: '0.1.1',\n phase: MetaWorkflow_Phase.TOP_DOWN,\n intent:\n 'Turn the accepted capability map into a non-vacuous current-horizon RoadmapSnapshot. Phases explicitly sequence and group accepted requirements and vision success criteria without pretending that FIT is build-order authority or inventing unsupported delivery commitments.',\n preconditions: [\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'feature-drafts' } },\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'market-snapshot' } },\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'requirements' } },\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },\n ],\n // `roadmap` is this playbook's OWN output, carried back in when present so a re-run refines the\n // existing phases instead of re-cutting them blind (the compliance-posture/value-proposition\n // self-input pattern; an absent family is skipped, so the first run is unaffected).\n inputs: [{ family: 'feature-drafts' }, { family: 'market-snapshot' }, { family: 'requirements' }, { family: 'roadmap' }, { family: 'vision-brief' }],\n outputs: [{\n family: 'roadmap',\n schemaRef: 'saas-specifications:RoadmapSnapshot',\n description: 'A validated ordered roadmap whose phases bind current-horizon requirements and success criteria.',\n }],\n method: {\n /*\n * MARKET_FIT_SCORES — this method consumes a FIT signal, and a structured generation has NO\n * TOOLS. \"Feed the snapshot to the scorer and read back the per-ICP scores\" therefore named an\n * act the model cannot perform, and estimating was the only thing left to it: arithmetic done\n * worse than a function already does it, and unfalsifiable once landed.\n *\n * The source computes the matrix with the framework's own `computeFeatureFitScoreForICP` and\n * renders it beside each benefit's AUTHORED Kano category. This playbook already declares\n * `market-snapshot` as an input, so it adds a computation over knowledge the brief already\n * carried rather than new knowledge — which is what separates it from a speculative source\n * (#1435).\n */\n contextSources: [MetaWorkflow_ContextSource.MARKET_FIT_SCORES],\n skillRefs: [],\n /*\n * The MVP CUT is a product decision, and until now the model made it alone.\n *\n * This playbook's own judge criterion asks whether the roadmap \"makes a defensible good-enough\n * current-horizon cut\" — without anyone having said whose cut it is. Everything else here IS\n * derived: the phases sequence accepted requirements and success criteria that already exist.\n * What ships FIRST is not derivable from any of them, and it is the most consequential decision\n * in the top-down set: wonder-crm's roadmap deferred weekly-completion visibility and the\n * spreadsheet-retirement outcome to a second phase, correctly as it happens, and nobody was\n * asked.\n *\n * Two questions, not more. The cut itself, and the pressure that shapes it — a launch date and a\n * \"must be in v1\" list change the phasing in ways no amount of requirement analysis reveals.\n * Both accept \"you decide\": a creator who has no view is giving a real answer, and the\n * derivation should then choose and say so rather than pretend it was told.\n */\n elicitation: {\n questions: [\n {\n ref: 'mvp-cut',\n question:\n 'What must be in the FIRST release for it to be worth shipping at all — and what are you happy to defer? Name the outcomes, not the features. Answer \"you decide\" if you would rather the plan propose a cut for you to react to.',\n kind: HumanDecision_FieldKind.FREE_TEXT,\n },\n {\n ref: 'delivery-pressure',\n question:\n 'Is there a date, an event, or a commitment the first release has to meet? Answer \"none\" if the plan is shaped by scope rather than by a deadline.',\n kind: HumanDecision_FieldKind.FREE_TEXT,\n },\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/scope-roadmap',\n definitionVersion: 1,\n actionDefinition: {\n schemaVersion: 1,\n actionRef: 'application-creation:action/scope-roadmap',\n actionVersion: 1,\n intentRef: 'application-creation:intent/derive-current-horizon-roadmap',\n inputSelectorRefs: [\n 'application-creation:artifact-selector/accepted-feature-drafts',\n 'application-creation:artifact-selector/accepted-market-snapshot',\n 'application-creation:artifact-selector/accepted-requirements',\n 'application-creation:artifact-selector/accepted-vision-brief',\n ],\n outcomeContractRefs: ['application-creation:output-contract/roadmap-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/scope-roadmap-result',\n budgetPolicyRef: 'application-creation:budget-policy/scope-roadmap',\n continuationPolicyRef: 'application-creation:continuation-policy/scope-roadmap',\n decisionPointDefinitionRefs: ['application-creation:decision-point/scope-roadmap-result'],\n },\n driverSelector: { driverRef: 'meta-workflow:driver/structured-artifact-action', driverVersion: 1 },\n inputProjectionContractSelector: { contractRef: 'application-creation:input-projection/accepted-capability-map-definition-set', contractVersion: 1 },\n providerOutputSchemaSelector: { schemaRef: 'saas-specifications:schema/roadmap-snapshot-generation', schemaVersion: 1 },\n normalizationContractSelector: { contractRef: 'saas-specifications:normalizer/roadmap-snapshot-generation', contractVersion: 1 },\n outputContract: {\n schemaVersion: 1,\n outputContractRef: 'application-creation:output-contract/roadmap-snapshot',\n outputContractVersion: 1,\n outputSchemaSelector: { schemaRef: 'saas-specifications:schema/roadmap-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/roadmap-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: [MetaWorkflow_FailureDisposition.FAIL_BINDING, MetaWorkflow_FailureDisposition.REQUEST_INPUT, MetaWorkflow_FailureDisposition.RETRY_NEW_BINDING],\n} satisfies MetaWorkflowStructuredArtifactActionSource;\n\nexport const evaluationTreatmentSource = {\n schemaVersion: 1,\n definitionRef: 'application-creation:evaluation-treatment/scope-roadmap',\n definitionVersion: 1,\n evaluationProtocol: {\n schemaVersion: 1,\n protocolRef: 'application-creation:evaluation-protocol/scope-roadmap',\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-scope-roadmap-verdict',\n criteria: [{\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/roadmap-coverage-and-horizon-coherence',\n criterionVersion: 1,\n instruction: 'Assess whether the validated roadmap makes a defensible good-enough current-horizon cut, sequences coherent increments, and covers the accepted requirements and success criteria it claims to serve. Do not infer capacity, dates or prioritization authority that the evidence does not provide.',\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/roadmap-coverage-and-horizon-coherence',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/capability-map-and-roadmap-candidate',\n minCount: 4,\n maxCount: 5,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-roadmap-inputs-and-candidate',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-action-binding',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'The roadmap is valid and defines a coherent good-enough current horizon.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'The roadmap is usable but carries explicit sequencing or coverage uncertainty.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'The roadmap omits a material current-horizon obligation, contradicts accepted inputs, or has no defensible incremental cut.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The accepted definition set or roadmap candidate evidence is absent, stale or insufficient.',\n },\n }],\n },\n evaluatorBindingPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:evaluator-binding-policy/scope-roadmap',\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/scope-roadmap-result',\n decisionPointVersion: 1,\n triggerRefs: ['application-creation:trigger/roadmap-snapshot-staged-and-valid'],\n hardFloorRefs: ['application-creation:hard-floor/roadmap-snapshot-valid'],\n riskPolicyRef: 'application-creation:risk-policy/scoped-application-and-execution-context',\n significancePolicyRef: 'application-creation:significance-policy/current-horizon-roadmap-change',\n },\n decisionRule: {\n schemaVersion: 1,\n ruleRef: 'application-creation:decision-rule/scope-roadmap-result',\n ruleVersion: 1,\n boundaryClass: MetaWorkflow_DecisionRuleBoundaryClass.QUALITY_INTERPRETATION,\n evidenceAggregationRef: 'application-creation:aggregation/worst-scope-roadmap-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: [{ hardFloorRef: 'application-creation:hard-floor/roadmap-snapshot-valid', evidenceRequirementRefs: ['application-creation:evidence-requirement/roadmap-coverage-and-horizon-coherence'] }],\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/scope-roadmap-result',\n requirementVersion: 1,\n consequenceClassRef: 'application-creation:authority-consequence/accept-roadmap-snapshot',\n riskClassRef: 'application-creation:risk/roadmap-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/roadmap-coverage-and-horizon-coherence'],\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/scope-roadmap',\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.scope-roadmap/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,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,EAC1B,qCAAqC,GACtC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,0BAA0B,EAC1B,kBAAkB,GAEnB,MAAM,oDAAoD,CAAC;AAE5D,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,GAAG,EAAE,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WorkflowEvaluationTreatmentSource,\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} 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\nexport const playbookDefinition = {\n ref: 'top_down.scope-roadmap',\n version: '0.1.1',\n phase: MetaWorkflow_Phase.TOP_DOWN,\n intent:\n 'Turn the accepted capability map into a non-vacuous current-horizon RoadmapSnapshot. Phases explicitly sequence and group accepted requirements and vision success criteria without pretending that FIT is build-order authority or inventing unsupported delivery commitments.',\n preconditions: [\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'feature-drafts' } },\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'market-snapshot' } },\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'requirements' } },\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },\n ],\n // `roadmap` is this playbook's OWN output, carried back in when present so a re-run refines the\n // existing phases instead of re-cutting them blind (the compliance-posture/value-proposition\n // self-input pattern; an absent family is skipped, so the first run is unaffected).\n inputs: [{ family: 'feature-drafts' }, { family: 'market-snapshot' }, { family: 'requirements' }, { family: 'roadmap' }, { family: 'vision-brief' }],\n outputs: [{\n family: 'roadmap',\n schemaRef: 'saas-specifications:RoadmapSnapshot',\n description: 'A validated ordered roadmap whose phases bind current-horizon requirements and success criteria.',\n }],\n method: {\n /*\n * MARKET_FIT_SCORES — this method consumes a FIT signal, and a structured generation has NO\n * TOOLS. \"Feed the snapshot to the scorer and read back the per-ICP scores\" therefore named an\n * act the model cannot perform, and estimating was the only thing left to it: arithmetic done\n * worse than a function already does it, and unfalsifiable once landed.\n *\n * The source computes the matrix with the framework's own `computeFeatureFitScoreForICP` and\n * renders it beside each benefit's AUTHORED Kano category. This playbook already declares\n * `market-snapshot` as an input, so it adds a computation over knowledge the brief already\n * carried rather than new knowledge — which is what separates it from a speculative source\n * (#1435).\n */\n contextSources: [MetaWorkflow_ContextSource.MARKET_FIT_SCORES],\n skillRefs: [],\n /*\n * The MVP CUT is a product decision, and until now the model made it alone.\n *\n * This playbook's own judge criterion asks whether the roadmap \"makes a defensible good-enough\n * current-horizon cut\" — without anyone having said whose cut it is. Everything else here IS\n * derived: the phases sequence accepted requirements and success criteria that already exist.\n * What ships FIRST is not derivable from any of them, and it is the most consequential decision\n * in the top-down set: wonder-crm's roadmap deferred weekly-completion visibility and the\n * spreadsheet-retirement outcome to a second phase, correctly as it happens, and nobody was\n * asked.\n *\n * Two questions, not more. The cut itself, and the pressure that shapes it — a launch date and a\n * \"must be in v1\" list change the phasing in ways no amount of requirement analysis reveals.\n * Both accept \"you decide\": a creator who has no view is giving a real answer, and the\n * derivation should then choose and say so rather than pretend it was told.\n */\n elicitation: {\n questions: [\n {\n ref: 'mvp-cut',\n question:\n 'What must be in the FIRST release for it to be worth shipping at all — and what are you happy to defer? Name the outcomes, not the features. Answer \"you decide\" if you would rather the plan propose a cut for you to react to.',\n kind: HumanDecision_FieldKind.FREE_TEXT, depth: MetaWorkflow_ElicitationQuestionDepth.ESSENTIAL,\n },\n {\n ref: 'delivery-pressure',\n question:\n 'Is there a date, an event, or a commitment the first release has to meet? Answer \"none\" if the plan is shaped by scope rather than by a deadline.',\n kind: HumanDecision_FieldKind.FREE_TEXT, depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL,\n },\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/scope-roadmap',\n definitionVersion: 1,\n actionDefinition: {\n schemaVersion: 1,\n actionRef: 'application-creation:action/scope-roadmap',\n actionVersion: 1,\n intentRef: 'application-creation:intent/derive-current-horizon-roadmap',\n inputSelectorRefs: [\n 'application-creation:artifact-selector/accepted-feature-drafts',\n 'application-creation:artifact-selector/accepted-market-snapshot',\n 'application-creation:artifact-selector/accepted-requirements',\n 'application-creation:artifact-selector/accepted-vision-brief',\n ],\n outcomeContractRefs: ['application-creation:output-contract/roadmap-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/scope-roadmap-result',\n budgetPolicyRef: 'application-creation:budget-policy/scope-roadmap',\n continuationPolicyRef: 'application-creation:continuation-policy/scope-roadmap',\n decisionPointDefinitionRefs: ['application-creation:decision-point/scope-roadmap-result'],\n },\n driverSelector: { driverRef: 'meta-workflow:driver/structured-artifact-action', driverVersion: 1 },\n inputProjectionContractSelector: { contractRef: 'application-creation:input-projection/accepted-capability-map-definition-set', contractVersion: 1 },\n providerOutputSchemaSelector: { schemaRef: 'saas-specifications:schema/roadmap-snapshot-generation', schemaVersion: 1 },\n normalizationContractSelector: { contractRef: 'saas-specifications:normalizer/roadmap-snapshot-generation', contractVersion: 1 },\n outputContract: {\n schemaVersion: 1,\n outputContractRef: 'application-creation:output-contract/roadmap-snapshot',\n outputContractVersion: 1,\n outputSchemaSelector: { schemaRef: 'saas-specifications:schema/roadmap-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/roadmap-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: [MetaWorkflow_FailureDisposition.FAIL_BINDING, MetaWorkflow_FailureDisposition.REQUEST_INPUT, MetaWorkflow_FailureDisposition.RETRY_NEW_BINDING],\n} satisfies MetaWorkflowStructuredArtifactActionSource;\n\nexport const evaluationTreatmentSource = {\n schemaVersion: 1,\n definitionRef: 'application-creation:evaluation-treatment/scope-roadmap',\n definitionVersion: 1,\n evaluationProtocol: {\n schemaVersion: 1,\n protocolRef: 'application-creation:evaluation-protocol/scope-roadmap',\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-scope-roadmap-verdict',\n criteria: [{\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/roadmap-coverage-and-horizon-coherence',\n criterionVersion: 1,\n instruction: 'Assess whether the validated roadmap makes a defensible good-enough current-horizon cut, sequences coherent increments, and covers the accepted requirements and success criteria it claims to serve. Do not infer capacity, dates or prioritization authority that the evidence does not provide.',\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/roadmap-coverage-and-horizon-coherence',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/capability-map-and-roadmap-candidate',\n minCount: 4,\n maxCount: 5,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-roadmap-inputs-and-candidate',\n freshnessPolicyRef: 'application-creation:evidence-policy/current-action-binding',\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'The roadmap is valid and defines a coherent good-enough current horizon.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'The roadmap is usable but carries explicit sequencing or coverage uncertainty.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'The roadmap omits a material current-horizon obligation, contradicts accepted inputs, or has no defensible incremental cut.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The accepted definition set or roadmap candidate evidence is absent, stale or insufficient.',\n },\n }],\n },\n evaluatorBindingPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:evaluator-binding-policy/scope-roadmap',\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/scope-roadmap-result',\n decisionPointVersion: 1,\n triggerRefs: ['application-creation:trigger/roadmap-snapshot-staged-and-valid'],\n hardFloorRefs: ['application-creation:hard-floor/roadmap-snapshot-valid'],\n riskPolicyRef: 'application-creation:risk-policy/scoped-application-and-execution-context',\n significancePolicyRef: 'application-creation:significance-policy/current-horizon-roadmap-change',\n },\n decisionRule: {\n schemaVersion: 1,\n ruleRef: 'application-creation:decision-rule/scope-roadmap-result',\n ruleVersion: 1,\n boundaryClass: MetaWorkflow_DecisionRuleBoundaryClass.QUALITY_INTERPRETATION,\n evidenceAggregationRef: 'application-creation:aggregation/worst-scope-roadmap-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: [{ hardFloorRef: 'application-creation:hard-floor/roadmap-snapshot-valid', evidenceRequirementRefs: ['application-creation:evidence-requirement/roadmap-coverage-and-horizon-coherence'] }],\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/scope-roadmap-result',\n requirementVersion: 1,\n consequenceClassRef: 'application-creation:authority-consequence/accept-roadmap-snapshot',\n riskClassRef: 'application-creation:risk/roadmap-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/roadmap-coverage-and-horizon-coherence'],\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/scope-roadmap',\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,6 +1,6 @@
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';
3
- import { MetaWorkflow_Phase } from '@wildo-ai/saas-specifications/application-creation';
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
+ import { ApplicationLine, MetaWorkflow_Phase } from '@wildo-ai/saas-specifications/application-creation';
4
4
  export declare const playbookDefinition: {
5
5
  ref: string;
6
6
  version: string;
@@ -19,20 +19,53 @@ export declare const playbookDefinition: {
19
19
  skillRefs: any[];
20
20
  elicitation: {
21
21
  questions: ({
22
+ ref: string;
23
+ question: string;
24
+ kind: HumanDecision_FieldKind.CHOICE;
25
+ options: ApplicationLine[];
26
+ depth: MetaWorkflow_ElicitationQuestionDepth.ESSENTIAL;
27
+ whenUnknown: MetaWorkflow_ElicitationUnknownPolicy.ASK;
28
+ regulatedDomain?: undefined;
29
+ } | {
30
+ ref: string;
31
+ question: string;
32
+ kind: HumanDecision_FieldKind.FREE_TEXT;
33
+ depth: MetaWorkflow_ElicitationQuestionDepth.ESSENTIAL;
34
+ options?: undefined;
35
+ whenUnknown?: undefined;
36
+ regulatedDomain?: undefined;
37
+ } | {
22
38
  ref: string;
23
39
  question: string;
24
40
  kind: HumanDecision_FieldKind.FREE_TEXT;
41
+ depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL;
25
42
  options?: undefined;
43
+ whenUnknown?: undefined;
44
+ regulatedDomain?: undefined;
26
45
  } | {
27
46
  ref: string;
28
47
  question: string;
29
48
  kind: HumanDecision_FieldKind.CHOICE;
30
49
  options: string[];
50
+ depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL;
51
+ whenUnknown?: undefined;
52
+ regulatedDomain?: undefined;
31
53
  } | {
32
54
  ref: string;
33
55
  question: string;
34
56
  kind: HumanDecision_FieldKind.CONFIRM;
57
+ depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL;
58
+ regulatedDomain: true;
59
+ options?: undefined;
60
+ whenUnknown?: undefined;
61
+ } | {
62
+ ref: string;
63
+ question: string;
64
+ kind: HumanDecision_FieldKind.FREE_TEXT;
65
+ depth: MetaWorkflow_ElicitationQuestionDepth.DETAIL;
66
+ regulatedDomain: true;
35
67
  options?: undefined;
68
+ whenUnknown?: undefined;
36
69
  })[];
37
70
  };
38
71
  };
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../../src/playbooks/top_down.vision-elicitation/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACxB,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,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAE3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAEL,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0E+G,CAAC;AAE/I,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDW,CAAC;AAEvD,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuHW,CAAC"}
1
+ {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../../src/playbooks/top_down.vision-elicitation/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACxB,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,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAE1B,qCAAqC,EACrC,qCAAqC,EACtC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,eAAe,EACf,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuF+G,CAAC;AAE/I,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDW,CAAC;AAEvD,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuHW,CAAC"}