@wildo-ai/framework-knowledge 1.1.0 → 1.1.2

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 (240) hide show
  1. package/dist/esm/framework-knowledge.definitions.d.ts +1 -1
  2. package/dist/esm/framework-knowledge.definitions.d.ts.map +1 -1
  3. package/dist/esm/framework-knowledge.definitions.js +43 -2
  4. package/dist/esm/framework-knowledge.definitions.js.map +1 -1
  5. package/dist/esm/framework-knowledge.loader.d.ts +19 -0
  6. package/dist/esm/framework-knowledge.loader.d.ts.map +1 -1
  7. package/dist/esm/framework-knowledge.loader.js +32 -0
  8. package/dist/esm/framework-knowledge.loader.js.map +1 -1
  9. package/dist/esm/framework-knowledge.schemas.d.ts +12 -0
  10. package/dist/esm/framework-knowledge.schemas.d.ts.map +1 -1
  11. package/dist/esm/framework-knowledge.schemas.js.map +1 -1
  12. package/dist/esm/playbooks/bottom_up.assemble-verify/playbook.definition.d.ts +46 -0
  13. package/dist/esm/playbooks/bottom_up.assemble-verify/playbook.definition.d.ts.map +1 -0
  14. package/dist/esm/playbooks/bottom_up.assemble-verify/playbook.definition.js +55 -0
  15. package/dist/esm/playbooks/bottom_up.assemble-verify/playbook.definition.js.map +1 -0
  16. package/dist/esm/playbooks/bottom_up.build-decompose/playbook.definition.d.ts +4 -4
  17. package/dist/esm/playbooks/bottom_up.build-decompose/playbook.definition.js +3 -3
  18. package/dist/esm/playbooks/bottom_up.build-decompose/playbook.definition.js.map +1 -1
  19. package/dist/esm/playbooks/bottom_up.build-dispatch/playbook.definition.d.ts +0 -3
  20. package/dist/esm/playbooks/bottom_up.build-dispatch/playbook.definition.d.ts.map +1 -1
  21. package/dist/esm/playbooks/bottom_up.build-dispatch/playbook.definition.js +0 -1
  22. package/dist/esm/playbooks/bottom_up.build-dispatch/playbook.definition.js.map +1 -1
  23. package/dist/esm/playbooks/bottom_up.build-scale/playbook.definition.d.ts +0 -3
  24. package/dist/esm/playbooks/bottom_up.build-scale/playbook.definition.d.ts.map +1 -1
  25. package/dist/esm/playbooks/bottom_up.build-scale/playbook.definition.js +0 -1
  26. package/dist/esm/playbooks/bottom_up.build-scale/playbook.definition.js.map +1 -1
  27. package/dist/esm/playbooks/bottom_up.domain-plan/playbook.definition.d.ts +2 -7
  28. package/dist/esm/playbooks/bottom_up.domain-plan/playbook.definition.d.ts.map +1 -1
  29. package/dist/esm/playbooks/bottom_up.domain-plan/playbook.definition.js +0 -1
  30. package/dist/esm/playbooks/bottom_up.domain-plan/playbook.definition.js.map +1 -1
  31. package/dist/esm/playbooks/bottom_up.foundation/playbook.definition.d.ts +8 -3
  32. package/dist/esm/playbooks/bottom_up.foundation/playbook.definition.d.ts.map +1 -1
  33. package/dist/esm/playbooks/bottom_up.foundation/playbook.definition.js +22 -1
  34. package/dist/esm/playbooks/bottom_up.foundation/playbook.definition.js.map +1 -1
  35. package/dist/esm/playbooks/bottom_up.placement-plan/playbook.definition.d.ts +0 -3
  36. package/dist/esm/playbooks/bottom_up.placement-plan/playbook.definition.d.ts.map +1 -1
  37. package/dist/esm/playbooks/bottom_up.placement-plan/playbook.definition.js +0 -1
  38. package/dist/esm/playbooks/bottom_up.placement-plan/playbook.definition.js.map +1 -1
  39. package/dist/esm/playbooks/refinement.compliance-document-candidate/playbook.definition.d.ts +4 -1
  40. package/dist/esm/playbooks/refinement.compliance-document-candidate/playbook.definition.d.ts.map +1 -1
  41. package/dist/esm/playbooks/refinement.compliance-document-candidate/playbook.definition.js +4 -1
  42. package/dist/esm/playbooks/refinement.compliance-document-candidate/playbook.definition.js.map +1 -1
  43. package/dist/esm/playbooks/refinement.document-facts/playbook.definition.d.ts +1 -1
  44. package/dist/esm/playbooks/refinement.document-facts/playbook.definition.js +13 -13
  45. package/dist/esm/playbooks/refinement.document-facts/playbook.definition.js.map +1 -1
  46. package/dist/esm/playbooks/top_down.brand-identity/playbook.definition.d.ts +3 -4
  47. package/dist/esm/playbooks/top_down.brand-identity/playbook.definition.d.ts.map +1 -1
  48. package/dist/esm/playbooks/top_down.brand-identity/playbook.definition.js +3 -3
  49. package/dist/esm/playbooks/top_down.brand-identity/playbook.definition.js.map +1 -1
  50. package/dist/esm/playbooks/top_down.business-model/playbook.definition.d.ts +2 -7
  51. package/dist/esm/playbooks/top_down.business-model/playbook.definition.d.ts.map +1 -1
  52. package/dist/esm/playbooks/top_down.business-model/playbook.definition.js +0 -1
  53. package/dist/esm/playbooks/top_down.business-model/playbook.definition.js.map +1 -1
  54. package/dist/esm/playbooks/top_down.capability-map/playbook.definition.d.ts +2 -7
  55. package/dist/esm/playbooks/top_down.capability-map/playbook.definition.d.ts.map +1 -1
  56. package/dist/esm/playbooks/top_down.capability-map/playbook.definition.js +0 -1
  57. package/dist/esm/playbooks/top_down.capability-map/playbook.definition.js.map +1 -1
  58. package/dist/esm/playbooks/top_down.compliance-analysis/playbook.definition.d.ts +54 -0
  59. package/dist/esm/playbooks/top_down.compliance-analysis/playbook.definition.d.ts.map +1 -0
  60. package/dist/esm/playbooks/top_down.compliance-analysis/playbook.definition.js +127 -0
  61. package/dist/esm/playbooks/top_down.compliance-analysis/playbook.definition.js.map +1 -0
  62. package/dist/esm/playbooks/top_down.compliance-conception/playbook.definition.d.ts +76 -0
  63. package/dist/esm/playbooks/top_down.compliance-conception/playbook.definition.d.ts.map +1 -0
  64. package/dist/esm/playbooks/top_down.compliance-conception/playbook.definition.js +92 -0
  65. package/dist/esm/playbooks/top_down.compliance-conception/playbook.definition.js.map +1 -0
  66. package/dist/esm/playbooks/top_down.compliance-evidence-adequacy/playbook.definition.d.ts +30 -0
  67. package/dist/esm/playbooks/top_down.compliance-evidence-adequacy/playbook.definition.d.ts.map +1 -0
  68. package/dist/esm/playbooks/top_down.compliance-evidence-adequacy/playbook.definition.js +29 -0
  69. package/dist/esm/playbooks/top_down.compliance-evidence-adequacy/playbook.definition.js.map +1 -0
  70. package/dist/esm/playbooks/top_down.compliance-posture/playbook.definition.d.ts +9 -44
  71. package/dist/esm/playbooks/top_down.compliance-posture/playbook.definition.d.ts.map +1 -1
  72. package/dist/esm/playbooks/top_down.compliance-posture/playbook.definition.js +4 -53
  73. package/dist/esm/playbooks/top_down.compliance-posture/playbook.definition.js.map +1 -1
  74. package/dist/esm/playbooks/top_down.compliance-research/playbook.definition.d.ts +31 -0
  75. package/dist/esm/playbooks/top_down.compliance-research/playbook.definition.d.ts.map +1 -0
  76. package/dist/esm/playbooks/top_down.compliance-research/playbook.definition.js +26 -0
  77. package/dist/esm/playbooks/top_down.compliance-research/playbook.definition.js.map +1 -0
  78. package/dist/esm/playbooks/top_down.market-analysis/playbook.definition.d.ts +2 -7
  79. package/dist/esm/playbooks/top_down.market-analysis/playbook.definition.d.ts.map +1 -1
  80. package/dist/esm/playbooks/top_down.market-analysis/playbook.definition.js +0 -1
  81. package/dist/esm/playbooks/top_down.market-analysis/playbook.definition.js.map +1 -1
  82. package/dist/esm/playbooks/top_down.market-snapshot-produce/playbook.definition.d.ts +0 -8
  83. package/dist/esm/playbooks/top_down.market-snapshot-produce/playbook.definition.d.ts.map +1 -1
  84. package/dist/esm/playbooks/top_down.market-snapshot-produce/playbook.definition.js +0 -1
  85. package/dist/esm/playbooks/top_down.market-snapshot-produce/playbook.definition.js.map +1 -1
  86. package/dist/esm/playbooks/top_down.phase-gate/playbook.definition.d.ts +2 -7
  87. package/dist/esm/playbooks/top_down.phase-gate/playbook.definition.d.ts.map +1 -1
  88. package/dist/esm/playbooks/top_down.phase-gate/playbook.definition.js +0 -1
  89. package/dist/esm/playbooks/top_down.phase-gate/playbook.definition.js.map +1 -1
  90. package/dist/esm/playbooks/top_down.requirements-definition/playbook.definition.d.ts +2 -7
  91. package/dist/esm/playbooks/top_down.requirements-definition/playbook.definition.d.ts.map +1 -1
  92. package/dist/esm/playbooks/top_down.requirements-definition/playbook.definition.js +0 -1
  93. package/dist/esm/playbooks/top_down.requirements-definition/playbook.definition.js.map +1 -1
  94. package/dist/esm/playbooks/top_down.scope-roadmap/playbook.definition.d.ts +2 -7
  95. package/dist/esm/playbooks/top_down.scope-roadmap/playbook.definition.d.ts.map +1 -1
  96. package/dist/esm/playbooks/top_down.scope-roadmap/playbook.definition.js +5 -3
  97. package/dist/esm/playbooks/top_down.scope-roadmap/playbook.definition.js.map +1 -1
  98. package/dist/esm/playbooks/top_down.value-proposition/playbook.definition.d.ts +0 -3
  99. package/dist/esm/playbooks/top_down.value-proposition/playbook.definition.d.ts.map +1 -1
  100. package/dist/esm/playbooks/top_down.value-proposition/playbook.definition.js +0 -1
  101. package/dist/esm/playbooks/top_down.value-proposition/playbook.definition.js.map +1 -1
  102. package/dist/esm/playbooks/top_down.vision-elicitation/playbook.definition.d.ts +4 -5
  103. package/dist/esm/playbooks/top_down.vision-elicitation/playbook.definition.d.ts.map +1 -1
  104. package/dist/esm/playbooks/top_down.vision-elicitation/playbook.definition.js +25 -4
  105. package/dist/esm/playbooks/top_down.vision-elicitation/playbook.definition.js.map +1 -1
  106. package/dist/knowledge/assurance-authority-bases/wildo-safe-baseline-v1/authority-basis.json +1 -1
  107. package/dist/knowledge/assurance-authority-bases/wildo-safe-baseline-v1/external-framework-mapping.json +1 -0
  108. package/dist/knowledge/manifest.json +8 -8
  109. package/dist/knowledge/playbooks/bottom_up.assemble-verify/method.md +51 -0
  110. package/dist/knowledge/playbooks/bottom_up.assemble-verify/playbook.json +43 -0
  111. package/dist/knowledge/playbooks/bottom_up.build-decompose/method.md +27 -10
  112. package/dist/knowledge/playbooks/bottom_up.build-decompose/playbook.json +8 -7
  113. package/dist/knowledge/playbooks/bottom_up.build-dispatch/method.md +6 -4
  114. package/dist/knowledge/playbooks/bottom_up.build-dispatch/playbook.json +4 -6
  115. package/dist/knowledge/playbooks/bottom_up.build-scale/method.md +5 -4
  116. package/dist/knowledge/playbooks/bottom_up.build-scale/playbook.json +4 -6
  117. package/dist/knowledge/playbooks/bottom_up.domain-plan/method.md +0 -4
  118. package/dist/knowledge/playbooks/bottom_up.domain-plan/playbook.json +4 -6
  119. package/dist/knowledge/playbooks/bottom_up.foundation/method.md +49 -22
  120. package/dist/knowledge/playbooks/bottom_up.foundation/playbook.json +14 -6
  121. package/dist/knowledge/playbooks/bottom_up.placement-plan/playbook.json +2 -4
  122. package/dist/knowledge/playbooks/refinement.compliance-document-candidate/method.md +46 -1
  123. package/dist/knowledge/playbooks/refinement.compliance-document-candidate/playbook.json +7 -3
  124. package/dist/knowledge/playbooks/refinement.document-facts/method.md +18 -4
  125. package/dist/knowledge/playbooks/refinement.document-facts/playbook.json +4 -2
  126. package/dist/knowledge/playbooks/top_down.brand-identity/method.md +2 -3
  127. package/dist/knowledge/playbooks/top_down.brand-identity/playbook.json +8 -7
  128. package/dist/knowledge/playbooks/top_down.business-model/playbook.json +3 -5
  129. package/dist/knowledge/playbooks/top_down.capability-map/method.md +0 -2
  130. package/dist/knowledge/playbooks/top_down.capability-map/playbook.json +4 -6
  131. package/dist/knowledge/playbooks/top_down.compliance-analysis/method.md +41 -0
  132. package/dist/knowledge/playbooks/top_down.compliance-analysis/playbook.json +100 -0
  133. package/dist/knowledge/playbooks/top_down.compliance-conception/method.md +117 -0
  134. package/dist/knowledge/playbooks/top_down.compliance-conception/playbook.json +86 -0
  135. package/dist/knowledge/playbooks/top_down.compliance-evidence-adequacy/method.md +61 -0
  136. package/dist/knowledge/playbooks/top_down.compliance-evidence-adequacy/playbook.json +41 -0
  137. package/dist/knowledge/playbooks/top_down.compliance-posture/method.md +21 -4
  138. package/dist/knowledge/playbooks/top_down.compliance-posture/playbook.json +14 -57
  139. package/dist/knowledge/playbooks/top_down.compliance-research/method.md +76 -0
  140. package/dist/knowledge/playbooks/top_down.compliance-research/playbook.json +42 -0
  141. package/dist/knowledge/playbooks/top_down.market-analysis/playbook.json +3 -5
  142. package/dist/knowledge/playbooks/top_down.market-evidence-adequacy/playbook.json +3 -1
  143. package/dist/knowledge/playbooks/top_down.market-research/playbook.json +3 -1
  144. package/dist/knowledge/playbooks/top_down.market-snapshot-produce/playbook.json +3 -5
  145. package/dist/knowledge/playbooks/top_down.phase-gate/method.md +8 -4
  146. package/dist/knowledge/playbooks/top_down.phase-gate/playbook.json +4 -6
  147. package/dist/knowledge/playbooks/top_down.requirements-definition/method.md +9 -7
  148. package/dist/knowledge/playbooks/top_down.requirements-definition/playbook.json +4 -6
  149. package/dist/knowledge/playbooks/top_down.scope-roadmap/method.md +2 -2
  150. package/dist/knowledge/playbooks/top_down.scope-roadmap/playbook.json +8 -7
  151. package/dist/knowledge/playbooks/top_down.value-proposition/method.md +0 -2
  152. package/dist/knowledge/playbooks/top_down.value-proposition/playbook.json +4 -6
  153. package/dist/knowledge/playbooks/top_down.vision-elicitation/method.md +2 -2
  154. package/dist/knowledge/playbooks/top_down.vision-elicitation/playbook.json +8 -7
  155. package/dist/knowledge/references/companion.technical-doc.service.md +102 -2
  156. package/dist/knowledge/references/example.config.app-shell.full.md +0 -1
  157. package/dist/knowledge/references/example.module.companion-exports.full.md +1 -0
  158. package/dist/knowledge/references/platform.config.saas.md +1 -0
  159. package/dist/knowledge/references/presets.models.surface-policy.md +19 -10
  160. package/dist/knowledge/references/saas.frontend.app-level-component.configuration.md +25 -1
  161. package/dist/knowledge/references/saas.frontend.composite-view.authoring.md +45 -0
  162. package/dist/knowledge/references/saas.frontend.display-layout.reading-measure.md +34 -0
  163. package/dist/knowledge/references/saas.frontend.navigation.operation-override.md +45 -0
  164. package/dist/knowledge/references/saas.frontend.public-shell.identity-mode.md +65 -0
  165. package/dist/knowledge/references/saas.frontend.resource-operation-frontend-config.md +89 -0
  166. package/dist/knowledge/references/saas.models.data-mode-read-list.md +31 -4
  167. package/dist/knowledge/references/saas.models.engine-capabilities.md +26 -6
  168. package/dist/knowledge/references/saas.models.file-upload-grant.md +179 -0
  169. package/dist/knowledge/references/saas.models.navigation.surface-vocabulary.md +124 -0
  170. package/dist/knowledge/references/saas.models.navigation.transition-vocabulary.md +99 -0
  171. package/dist/knowledge/references/saas.models.navigation.zone-declaration.md +127 -0
  172. package/dist/knowledge/references/saas.models.provider-capabilities.md +4 -3
  173. package/dist/knowledge/references/saas.models.resource-config.operation-variant-client-timeout.md +42 -0
  174. package/dist/knowledge/references/saas.specifications.application-authored-document-fact-specification.contract.md +29 -0
  175. package/dist/knowledge/references/saas.specifications.application-document-fact-specification.contract.md +11 -31
  176. package/dist/knowledge/references/saas.specifications.assurance-document-blueprint.contract.md +32 -2
  177. package/dist/knowledge/references/saas.specifications.assurance-program.contract.md +29 -6
  178. package/dist/knowledge/references/saas.specifications.companion-exports.contract.md +20 -0
  179. package/dist/knowledge/references/saas.specifications.resource-spec-config.md +22 -0
  180. package/dist/knowledge/references/zod.decorators.display-edit-modes.md +6 -0
  181. package/dist/knowledge/references/zod.decorators.field-spec-params.md +31 -5
  182. package/dist/knowledge/references/zod.decorators.per-primitive-ui.md +43 -0
  183. package/dist/knowledge/references/zod.decorators.primitive-ui.md +3 -0
  184. package/dist/knowledge/references/zod.decorators.shared-structural-params.md +15 -0
  185. package/dist/knowledge/registries/assurance-authority-bases.json +3 -2
  186. package/dist/knowledge/registries/framework-topics.json +99 -1
  187. package/dist/knowledge/registries/playbooks.json +81 -8
  188. package/dist/knowledge/registries/source-tags.json +757 -588
  189. package/dist/knowledge/skills/INDEX.md +3 -3
  190. package/dist/knowledge/skills/brand-logo-authoring/SKILL.md +2 -1
  191. package/dist/knowledge/skills/compliance-document-authoring/references/document-composition-governance.md +5 -1
  192. package/dist/knowledge/skills/compliance-document-authoring/references/framework-application-document-fact-specification-contract.md +66 -37
  193. package/dist/knowledge/skills/compliance-document-authoring/references/framework-assurance-document-blueprint-contract.md +40 -7
  194. package/dist/knowledge/skills/config-app-shell/SKILL.md +25 -1
  195. package/dist/knowledge/skills/config-app-shell/references/framework-app-shell-api.md +25 -1
  196. package/dist/knowledge/skills/config-app-shell/references/framework-public-shell-identity-api.md +124 -0
  197. package/dist/knowledge/skills/config-design-system/SKILL.md +23 -1
  198. package/dist/knowledge/skills/config-design-system/references/framework-surface-policy-api.md +19 -10
  199. package/dist/knowledge/skills/config-design-system/references/loading-placeholder-authoring.md +47 -0
  200. package/dist/knowledge/skills/config-navigation/SKILL.md +75 -2
  201. package/dist/knowledge/skills/config-navigation/references/framework-content-width-api.md +98 -0
  202. package/dist/knowledge/skills/config-navigation/references/framework-navigation-operation-override-api.md +54 -0
  203. package/dist/knowledge/skills/config-navigation/references/framework-navigation-vocabulary-api.md +232 -0
  204. package/dist/knowledge/skills/config-navigation/references/framework-navigation-zone-declaration-api.md +149 -0
  205. package/dist/knowledge/skills/config-navigation/references/how-navigation-resolves.md +114 -0
  206. package/dist/knowledge/skills/config-navigation/references/navigation-configuration-map.md +133 -0
  207. package/dist/knowledge/skills/config-saas/SKILL.md +19 -2
  208. package/dist/knowledge/skills/config-saas/references/compliance-declarations.md +111 -0
  209. package/dist/knowledge/skills/config-saas/references/framework-provider-capabilities-api.md +30 -9
  210. package/dist/knowledge/skills/config-saas/references/framework-wildo-saas-config-api.md +1 -0
  211. package/dist/knowledge/skills/flows-actors-a2a-exposure/SKILL.md +2 -1
  212. package/dist/knowledge/skills/flows-actors-a2a-exposure/references/framework-flows-actors-a2a-contract.md +4 -3
  213. package/dist/knowledge/skills/market-companion-prompt-enrichment/SKILL.md +20 -0
  214. package/dist/knowledge/skills/market-companion-prompt-enrichment/references/framework-companion-behavior-api.md +20 -0
  215. package/dist/knowledge/skills/module-companion-exports/SKILL.md +1 -0
  216. package/dist/knowledge/skills/module-companion-exports/references/companion-exports-by-package.md +20 -0
  217. package/dist/knowledge/skills/resource-add-field/SKILL.md +3 -3
  218. package/dist/knowledge/skills/resource-add-field/references/framework-field-cross-layer-api.md +104 -0
  219. package/dist/knowledge/skills/resource-config-wiring/SKILL.md +13 -0
  220. package/dist/knowledge/skills/resource-config-wiring/references/framework-saas-models-resource-config-api.md +71 -4
  221. package/dist/knowledge/skills/resource-custom-view/references/custom-view-contracts.md +89 -0
  222. package/dist/knowledge/skills/resource-mcp-tool-exposure/SKILL.md +22 -1
  223. package/dist/knowledge/skills/resource-mcp-tool-exposure/references/framework-file-upload-grant-contract.md +192 -0
  224. package/dist/knowledge/skills/resource-rag-source-fields/references/framework-embeddings-capability-api.md +28 -8
  225. package/dist/knowledge/skills/resource-schema-authoring/references/framework-shared-structural-params-api.md +15 -0
  226. package/dist/knowledge/skills/resource-ui-behavior/references/framework-display-edit-modes-api.md +6 -0
  227. package/dist/knowledge/skills/resource-ui-behavior/references/framework-frontend-resource-ui-contracts-api.md +89 -0
  228. package/dist/knowledge/skills/resource-ui-behavior/references/framework-per-primitive-ui-api.md +43 -0
  229. package/dist/knowledge/skills/resource-ui-behavior/references/framework-primitive-ui-api.md +3 -0
  230. package/dist/knowledge/skills/settings-placement-authoring/SKILL.md +1 -1
  231. package/dist/knowledge/skills/spec-companion-exports/SKILL.md +1 -0
  232. package/dist/knowledge/skills/spec-companion-exports/references/framework-companion-exports-contract-api.md +20 -0
  233. package/dist/knowledge/skills/spec-resource-update/references/framework-field-spec-params-api.md +31 -5
  234. package/dist/knowledge/skills/spec-resource-update/references/framework-spec-resource-contracts-api.md +22 -0
  235. package/dist/knowledge/skills/views-composite-authoring/references/framework-composite-view-contracts-api.md +45 -0
  236. package/dist/knowledge/topic-index.json +504 -156
  237. package/dist/tsconfig.build.tsbuildinfo +1 -1
  238. package/dist/tsconfig.tsbuildinfo +1 -1
  239. package/package.json +4 -4
  240. package/dist/esm/.builder.pid +0 -9
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../../src/playbooks/top_down.capability-map/playbook.definition.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,gCAAgC,EAChC,sCAAsC,EACtC,0CAA0C,EAC1C,6CAA6C,EAC7C,8BAA8B,EAC9B,oCAAoC,EACpC,+BAA+B,EAC/B,6BAA6B,EAC7B,+BAA+B,EAC/B,sCAAsC,EACtC,kDAAkD,GACnD,MAAM,sCAAsC,C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;QACvE,gBAAgB,EAAE,CAAC,wCAAwC,CAAC,eAAe,CAAC;QAC5E,+BAA+B,EAAE,CAAC,uFAAuF,CAAC;QAC1H,eAAe,EAAE,iEAAiE;QAClF,cAAc,EAAE,yDAAyD;QACzE,gBAAgB,EAAE,6BAA6B,CAAC,YAAY;QAC5D,wBAAwB,EAAE,KAAK;KAChC;IACD,kBAAkB,EAAE;QAClB,aAAa,EAAE,CAAC;QAChB,SAAS,EAAE,yDAAyD;QACpE,aAAa,EAAE,CAAC;QAChB,QAAQ,EAAE;YACR,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,QAAQ,EAAE,MAAM,EAAE,+BAA+B,CAAC,QAAQ,EAAE;YACpH,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,MAAM,EAAE,MAAM,EAAE,+BAA+B,CAAC,MAAM,EAAE;YAChH,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,gBAAgB,EAAE,MAAM,EAAE,+BAA+B,CAAC,gBAAgB,EAAE;YACpI,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,iBAAiB,EAAE,MAAM,EAAE,+BAA+B,CAAC,iBAAiB,EAAE;YACtI,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,KAAK,EAAE,MAAM,EAAE,+BAA+B,CAAC,KAAK,EAAE;SAC/G;QACD,uBAAuB,EAAE,CAAC;QAC1B,uBAAuB,EAAE,CAAC;QAC1B,uBAAuB,EAAE,CAAC;QAC1B,cAAc,EAAE,+BAA+B,CAAC,KAAK;KACtD;CAC8C,CAAC","sourcesContent":["import type {\n MetaWorkflowEvaluationTreatmentSource,\n MetaWorkflowStructuredArtifactActionSource,\n} from '@wildo-ai/saas-backend-lib';\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} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_Executor,\n MetaWorkflow_FailurePolicy,\n MetaWorkflow_Phase,\n MetaWorkflow_PredicateKind,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\nexport const playbookDefinition = {\n ref: 'top_down.capability-map',\n version: '0.1.0',\n phase: MetaWorkflow_Phase.TOP_DOWN,\n intent:\n 'Map accepted market benefits and requirements to coherent product capabilities, atomically refining the market benefit-to-feature edges and producing ref-less feature specification drafts. FIT/Kano remains a pluggable fit signal, never an implicit build-order ranking.',\n functionalTopics: [],\n preconditions: [\n { kind: MetaWorkflow_PredicateKind.PHASE_IS, phase: MetaWorkflow_Phase.TOP_DOWN },\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 inputs: [{ family: 'market-snapshot' }, { family: 'requirements' }, { family: 'vision-brief' }],\n outputs: [\n {\n family: 'market-snapshot',\n schemaRef: 'saas-specifications:MarketSnapshot',\n description: 'The same market snapshot, refined so every benefit names its delivering feature refs.',\n },\n {\n family: 'feature-drafts',\n schemaRef: 'saas-specifications:FeatureSpecificationDrafts',\n description: 'A collection of runner-addressed, ref-less FeatureSpecificationDraft payloads for capabilities without runtime definitions.',\n },\n ],\n method: {\n skillRefs: ['journey-status', 'market-add-feature-benefit', 'market-scoring-interpretation', 'market-snapshot-validation', 'spec-feature-update'],\n },\n executor: MetaWorkflow_Executor.COMPANION_AGENT,\n approval: MetaWorkflow_ApprovalPolicy.APPROVE_RESULT,\n budget: { maxRuns: 3 },\n onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG,\n} satisfies Omit<MetaWorkflowPlaybookAuthoring, 'method'> & { method: Omit<NonNullable<MetaWorkflowPlaybookAuthoring['method']>, 'guidance'> };\n\nexport const structuredArtifactActionSource = {\n schemaVersion: 1,\n definitionRef: 'application-creation:structured-artifact-action/capability-map',\n definitionVersion: 1,\n actionDefinition: {\n schemaVersion: 1,\n actionRef: 'application-creation:action/capability-map',\n actionVersion: 1,\n intentRef: 'application-creation:intent/map-benefits-to-product-capabilities',\n inputSelectorRefs: [\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/capability-map-output-set'],\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/capability-map-result',\n budgetPolicyRef: 'application-creation:budget-policy/capability-map',\n continuationPolicyRef: 'application-creation:continuation-policy/capability-map',\n decisionPointDefinitionRefs: ['application-creation:decision-point/capability-map-result'],\n },\n driverSelector: { driverRef: 'meta-workflow:driver/structured-artifact-action', driverVersion: 1 },\n inputProjectionContractSelector: { contractRef: 'application-creation:input-projection/accepted-vision-market-requirements', contractVersion: 1 },\n providerOutputSchemaSelector: { schemaRef: 'saas-specifications:schema/capability-map-output-set-generation', schemaVersion: 1 },\n normalizationContractSelector: { contractRef: 'saas-specifications:normalizer/capability-map-output-set-generation', contractVersion: 1 },\n outputContract: {\n schemaVersion: 1,\n outputContractRef: 'application-creation:output-contract/capability-map-output-set',\n outputContractVersion: 1,\n outputSchemaSelector: { schemaRef: 'saas-specifications:schema/capability-map-output-set', 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/capability-map-output-set', contractVersion: 1 },\n acceptedArtifactClassificationRefs: ['application-creation:artifact-classification/candidate-atomic-specification-family-output-set'],\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/capability-map',\n definitionVersion: 1,\n evaluationProtocol: {\n schemaVersion: 1,\n protocolRef: 'application-creation:evaluation-protocol/capability-map',\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-capability-map-verdict',\n criteria: [{\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/capability-map-traceability-and-sufficiency',\n criterionVersion: 1,\n instruction: 'Assess whether every proposed capability earns its place through accepted vision, market benefit and requirement evidence; whether every benefit has a coherent delivering feature; and whether drafts remain capability contracts rather than implementation designs. FIT/Kano may inform fit but must not be treated as build-order authority.',\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/capability-map-traceability-and-sufficiency',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/vision-market-requirements-and-capability-candidate',\n minCount: 4,\n maxCount: 4,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-capability-inputs-and-output-set',\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 atomic output set is valid, traceable and sufficient for current-horizon scope work.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'The map is usable but one or more capabilities have weak or uncertain traceability.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'A material benefit lacks a coherent capability, or a proposed capability lacks accepted product evidence.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The accepted inputs or atomic output evidence is absent, stale or insufficient.',\n },\n }],\n },\n evaluatorBindingPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:evaluator-binding-policy/capability-map',\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/capability-map-result',\n decisionPointVersion: 1,\n triggerRefs: ['application-creation:trigger/capability-map-output-set-staged-and-valid'],\n hardFloorRefs: ['application-creation:hard-floor/capability-map-output-set-valid'],\n riskPolicyRef: 'application-creation:risk-policy/scoped-application-and-execution-context',\n significancePolicyRef: 'application-creation:significance-policy/capability-definition-change',\n },\n decisionRule: {\n schemaVersion: 1,\n ruleRef: 'application-creation:decision-rule/capability-map-result',\n ruleVersion: 1,\n boundaryClass: MetaWorkflow_DecisionRuleBoundaryClass.QUALITY_INTERPRETATION,\n evidenceAggregationRef: 'application-creation:aggregation/worst-capability-map-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/capability-map-output-set-valid', evidenceRequirementRefs: ['application-creation:evidence-requirement/capability-map-traceability-and-sufficiency'] }],\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/capability-map-result',\n requirementVersion: 1,\n consequenceClassRef: 'application-creation:authority-consequence/accept-capability-map-output-set',\n riskClassRef: 'application-creation:risk/capability-map-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/capability-map-traceability-and-sufficiency'],\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/capability-map',\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.capability-map/playbook.definition.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,gCAAgC,EAChC,sCAAsC,EACtC,0CAA0C,EAC1C,6CAA6C,EAC7C,8BAA8B,EAC9B,oCAAoC,EACpC,+BAA+B,EAC/B,6BAA6B,EAC7B,+BAA+B,EAC/B,sCAAsC,EACtC,kDAAkD,GACnD,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,kBAAkB,EAClB,0BAA0B,GAE3B,MAAM,oDAAoD,CAAC;AAE5D,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,GAAG,EAAE,yBAAyB;IAC9B,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE,kBAAkB,CAAC,QAAQ;IAClC,MAAM,EACJ,8QAA8Q;IAChR,gBAAgB,EAAE,EAAE;IACpB,aAAa,EAAE;QACb,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,cAAc,EAAE,EAAE;KAC1F;IACD,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,iBAAiB,EAAE,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC;IAC/F,OAAO,EAAE;QAC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uB,EAAE,CAAC;QAC1B,cAAc,EAAE,+BAA+B,CAAC,KAAK;KACtD;CAC8C,CAAC","sourcesContent":["import type {\n MetaWorkflowEvaluationTreatmentSource,\n MetaWorkflowStructuredArtifactActionSource,\n} from '@wildo-ai/saas-backend-lib';\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} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_Executor,\n MetaWorkflow_FailurePolicy,\n MetaWorkflow_Phase,\n MetaWorkflow_PredicateKind,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\nexport const playbookDefinition = {\n ref: 'top_down.capability-map',\n version: '0.1.0',\n phase: MetaWorkflow_Phase.TOP_DOWN,\n intent:\n 'Map accepted market benefits and requirements to coherent product capabilities, atomically refining the market benefit-to-feature edges and producing ref-less feature specification drafts. FIT/Kano remains a pluggable fit signal, never an implicit build-order ranking.',\n functionalTopics: [],\n preconditions: [\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 inputs: [{ family: 'market-snapshot' }, { family: 'requirements' }, { family: 'vision-brief' }],\n outputs: [\n {\n family: 'market-snapshot',\n schemaRef: 'saas-specifications:MarketSnapshot',\n description: 'The same market snapshot, refined so every benefit names its delivering feature refs.',\n },\n {\n family: 'feature-drafts',\n schemaRef: 'saas-specifications:FeatureSpecificationDrafts',\n description: 'A collection of runner-addressed, ref-less FeatureSpecificationDraft payloads for capabilities without runtime definitions.',\n },\n ],\n method: {\n skillRefs: ['journey-status', 'market-add-feature-benefit', 'market-scoring-interpretation', 'market-snapshot-validation', 'spec-feature-update'],\n },\n executor: MetaWorkflow_Executor.COMPANION_AGENT,\n approval: MetaWorkflow_ApprovalPolicy.APPROVE_RESULT,\n budget: { maxRuns: 3 },\n onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG,\n} satisfies Omit<MetaWorkflowPlaybookAuthoring, 'method'> & { method: Omit<NonNullable<MetaWorkflowPlaybookAuthoring['method']>, 'guidance'> };\n\nexport const structuredArtifactActionSource = {\n schemaVersion: 1,\n definitionRef: 'application-creation:structured-artifact-action/capability-map',\n definitionVersion: 1,\n actionDefinition: {\n schemaVersion: 1,\n actionRef: 'application-creation:action/capability-map',\n actionVersion: 1,\n intentRef: 'application-creation:intent/map-benefits-to-product-capabilities',\n inputSelectorRefs: [\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/capability-map-output-set'],\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/capability-map-result',\n budgetPolicyRef: 'application-creation:budget-policy/capability-map',\n continuationPolicyRef: 'application-creation:continuation-policy/capability-map',\n decisionPointDefinitionRefs: ['application-creation:decision-point/capability-map-result'],\n },\n driverSelector: { driverRef: 'meta-workflow:driver/structured-artifact-action', driverVersion: 1 },\n inputProjectionContractSelector: { contractRef: 'application-creation:input-projection/accepted-vision-market-requirements', contractVersion: 1 },\n providerOutputSchemaSelector: { schemaRef: 'saas-specifications:schema/capability-map-output-set-generation', schemaVersion: 1 },\n normalizationContractSelector: { contractRef: 'saas-specifications:normalizer/capability-map-output-set-generation', contractVersion: 1 },\n outputContract: {\n schemaVersion: 1,\n outputContractRef: 'application-creation:output-contract/capability-map-output-set',\n outputContractVersion: 1,\n outputSchemaSelector: { schemaRef: 'saas-specifications:schema/capability-map-output-set', 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/capability-map-output-set', contractVersion: 1 },\n acceptedArtifactClassificationRefs: ['application-creation:artifact-classification/candidate-atomic-specification-family-output-set'],\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/capability-map',\n definitionVersion: 1,\n evaluationProtocol: {\n schemaVersion: 1,\n protocolRef: 'application-creation:evaluation-protocol/capability-map',\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-capability-map-verdict',\n criteria: [{\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/capability-map-traceability-and-sufficiency',\n criterionVersion: 1,\n instruction: 'Assess whether every proposed capability earns its place through accepted vision, market benefit and requirement evidence; whether every benefit has a coherent delivering feature; and whether drafts remain capability contracts rather than implementation designs. FIT/Kano may inform fit but must not be treated as build-order authority.',\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/capability-map-traceability-and-sufficiency',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/vision-market-requirements-and-capability-candidate',\n minCount: 4,\n maxCount: 4,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-capability-inputs-and-output-set',\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 atomic output set is valid, traceable and sufficient for current-horizon scope work.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'The map is usable but one or more capabilities have weak or uncertain traceability.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'A material benefit lacks a coherent capability, or a proposed capability lacks accepted product evidence.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The accepted inputs or atomic output evidence is absent, stale or insufficient.',\n },\n }],\n },\n evaluatorBindingPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:evaluator-binding-policy/capability-map',\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/capability-map-result',\n decisionPointVersion: 1,\n triggerRefs: ['application-creation:trigger/capability-map-output-set-staged-and-valid'],\n hardFloorRefs: ['application-creation:hard-floor/capability-map-output-set-valid'],\n riskPolicyRef: 'application-creation:risk-policy/scoped-application-and-execution-context',\n significancePolicyRef: 'application-creation:significance-policy/capability-definition-change',\n },\n decisionRule: {\n schemaVersion: 1,\n ruleRef: 'application-creation:decision-rule/capability-map-result',\n ruleVersion: 1,\n boundaryClass: MetaWorkflow_DecisionRuleBoundaryClass.QUALITY_INTERPRETATION,\n evidenceAggregationRef: 'application-creation:aggregation/worst-capability-map-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/capability-map-output-set-valid', evidenceRequirementRefs: ['application-creation:evidence-requirement/capability-map-traceability-and-sufficiency'] }],\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/capability-map-result',\n requirementVersion: 1,\n consequenceClassRef: 'application-creation:authority-consequence/accept-capability-map-output-set',\n riskClassRef: 'application-creation:risk/capability-map-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/capability-map-traceability-and-sufficiency'],\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/capability-map',\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"]}
@@ -0,0 +1,54 @@
1
+ import { MetaWorkflow_ApprovalPolicy, MetaWorkflow_ElicitationQuestionKind, MetaWorkflow_FailurePolicy, MetaWorkflow_Phase, MetaWorkflow_PredicateKind } from '@wildo-ai/saas-specifications/application-creation';
2
+ /**
3
+ * The SECOND consumer of the research → adequacy → produce choreography, mirrored from
4
+ * `top_down.market-analysis` on purpose: the pattern earns its generality from a second real
5
+ * instance rather than from a designed abstraction (decided with Paul, 2026-09-02 — this is #254's
6
+ * road walked through a genuine case, not around it).
7
+ *
8
+ * The gap it closes is recorded in `app-creation-composite-choreography.md` §10: compliance-posture
9
+ * answered "which regimes apply, in which jurisdictions" from nine interview questions plus a
10
+ * model's recollection — the same evidence hole the market lane had before its composite, with a
11
+ * harsher consequence, because a regime wrongly excluded is a legal statement, not a stale price.
12
+ */
13
+ export declare const playbookDefinition: {
14
+ ref: string;
15
+ version: string;
16
+ phase: MetaWorkflow_Phase.TOP_DOWN;
17
+ intent: string;
18
+ functionalTopics: any[];
19
+ preconditions: {
20
+ kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID;
21
+ selector: {
22
+ family: string;
23
+ };
24
+ }[];
25
+ inputs: {
26
+ family: string;
27
+ }[];
28
+ outputs: any[];
29
+ method: {
30
+ skillRefs: string[];
31
+ elicitation: {
32
+ questions: ({
33
+ ref: string;
34
+ question: string;
35
+ kind: MetaWorkflow_ElicitationQuestionKind.CONFIRM;
36
+ } | {
37
+ ref: string;
38
+ question: string;
39
+ kind: MetaWorkflow_ElicitationQuestionKind.FREE_TEXT;
40
+ })[];
41
+ };
42
+ choreography: {
43
+ admits: string[];
44
+ maximumIterations: number;
45
+ maximumLanesPerIteration: number;
46
+ maximumDepth: number;
47
+ maximumDurationMs: number;
48
+ };
49
+ };
50
+ approval: MetaWorkflow_ApprovalPolicy.APPROVE_RESULT;
51
+ budget: {};
52
+ onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG;
53
+ };
54
+ //# sourceMappingURL=playbook.definition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../../src/playbooks/top_down.compliance-analysis/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,oCAAoC,EACpC,0BAA0B,EAC1B,kBAAkB,EAClB,0BAA0B,EAE3B,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;GAUG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoH9B,CAAC"}
@@ -0,0 +1,127 @@
1
+ import { MetaWorkflow_ApprovalPolicy, MetaWorkflow_ElicitationQuestionKind, MetaWorkflow_FailurePolicy, MetaWorkflow_Phase, MetaWorkflow_PredicateKind, } from '@wildo-ai/saas-specifications/application-creation';
2
+ /**
3
+ * The SECOND consumer of the research → adequacy → produce choreography, mirrored from
4
+ * `top_down.market-analysis` on purpose: the pattern earns its generality from a second real
5
+ * instance rather than from a designed abstraction (decided with Paul, 2026-09-02 — this is #254's
6
+ * road walked through a genuine case, not around it).
7
+ *
8
+ * The gap it closes is recorded in `app-creation-composite-choreography.md` §10: compliance-posture
9
+ * answered "which regimes apply, in which jurisdictions" from nine interview questions plus a
10
+ * model's recollection — the same evidence hole the market lane had before its composite, with a
11
+ * harsher consequence, because a regime wrongly excluded is a legal statement, not a stale price.
12
+ */
13
+ export const playbookDefinition = {
14
+ ref: 'top_down.compliance-analysis',
15
+ version: '0.1.3',
16
+ phase: MetaWorkflow_Phase.TOP_DOWN,
17
+ intent: 'Establish the compliance posture by gathering regime EVIDENCE from authoritative sources, judging whether it is enough, and recording the applicable regimes as vision constraints only once it is. An umbrella: it authors nothing itself — its deliverable is what its children land, and the order between them is decided by their own preconditions rather than declared here.',
18
+ functionalTopics: [],
19
+ preconditions: [
20
+ { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },
21
+ ],
22
+ inputs: [{ family: 'vision-brief' }],
23
+ // Nothing, for the market umbrella's own recorded reason: a composite's deliverable is what its
24
+ // children land, and declaring the child's output here would be two playbooks claiming one family.
25
+ outputs: [],
26
+ method: {
27
+ skillRefs: ['journey-status'],
28
+ /*
29
+ * The product-fact questions, moved here from compliance-posture (#284 shape (a), decided
30
+ * 2026-09-02): regime applicability is a JOIN of legal tests (researchable — the research child's
31
+ * job) and these facts (elicitable — only the creator can answer). They lived on the produce
32
+ * child, behind the adequacy gate that could never pass without them, and a question-bearing
33
+ * child is excluded from loop selection anyway (a loop has nobody to answer). Asked ONCE at the
34
+ * umbrella, the answers ride into every child: the chooser aims round-1 research at the real
35
+ * jurisdictions instead of surveying, adequacy judges with the facts in hand, and posture derives
36
+ * from answers + evidence. The workbench renders these declared questions as the launch form.
37
+ */
38
+ elicitation: {
39
+ "questions": [
40
+ {
41
+ "ref": "handles-regulated-data",
42
+ "question": "Does the product store, process, or transmit personal data or otherwise regulated data (health, financial, biometric, children's, government) — either from end users or on behalf of customers?",
43
+ kind: MetaWorkflow_ElicitationQuestionKind.CONFIRM
44
+ },
45
+ {
46
+ "ref": "data-classes",
47
+ "question": "Which classes of sensitive data does the product touch? List them (e.g. names/emails, health records, payment card data, government IDs, precise location, employee data). Answer \"none\" if it handles no personal or sensitive data.",
48
+ kind: MetaWorkflow_ElicitationQuestionKind.FREE_TEXT
49
+ },
50
+ {
51
+ "ref": "vendor-establishment",
52
+ "question": "Where is the VENDOR established — the legal entity (or intended entity) operating the product, its country/region, and where is the product hosted or planned to be hosted? Territorial-scope tests (GDPR Art. 3, UK GDPR, CCPA \"doing business\") turn on the vendor's establishment and conduct, not only on where users live. Answer \"not yet decided\" for whatever is genuinely open.",
53
+ kind: MetaWorkflow_ElicitationQuestionKind.FREE_TEXT
54
+ },
55
+ {
56
+ "ref": "jurisdictions",
57
+ "question": "In which jurisdictions do your users live and your data reside or transit (e.g. EU/EEA, UK, US, California, Canada, specific countries)? This is what drives which privacy regimes apply.",
58
+ kind: MetaWorkflow_ElicitationQuestionKind.FREE_TEXT
59
+ },
60
+ {
61
+ "ref": "sector",
62
+ "question": "Does the product operate in a regulated sector with its own rules (healthcare, finance/banking, insurance, education, government, telecoms)? Name the sector, or answer \"none\".",
63
+ kind: MetaWorkflow_ElicitationQuestionKind.FREE_TEXT
64
+ },
65
+ {
66
+ "ref": "gdpr-applies",
67
+ "question": "Do you serve EU/EEA (or UK) individuals or process their personal data? (This is the primary trigger for GDPR / UK GDPR.)",
68
+ kind: MetaWorkflow_ElicitationQuestionKind.CONFIRM
69
+ },
70
+ {
71
+ "ref": "hipaa-applies",
72
+ "question": "Do you handle US protected health information as, or on behalf of, a covered entity or business associate? (This is the primary trigger for HIPAA.)",
73
+ kind: MetaWorkflow_ElicitationQuestionKind.CONFIRM
74
+ },
75
+ {
76
+ "ref": "external-assurance-applies",
77
+ "question": "Do enterprise customers (or your own security posture) require an independent attestation or certification covering security / availability / confidentiality of the service? Name the requested target only as an external source requirement.",
78
+ kind: MetaWorkflow_ElicitationQuestionKind.CONFIRM
79
+ },
80
+ {
81
+ "ref": "data-residency",
82
+ "question": "Are there data-residency or sovereignty requirements — must certain data stay within a region or country (e.g. EU-only hosting, in-country storage)? Describe them, or answer \"none\".",
83
+ kind: MetaWorkflow_ElicitationQuestionKind.FREE_TEXT
84
+ },
85
+ {
86
+ "ref": "additional-regimes",
87
+ "question": "Any other legal regimes, sector frameworks, government programs, or contractual security commitments that apply? List the externally named sources, or answer \"none\".",
88
+ kind: MetaWorkflow_ElicitationQuestionKind.FREE_TEXT
89
+ }
90
+ ]
91
+ },
92
+ choreography: {
93
+ /*
94
+ * UNORDERED, produce-first on purpose (the market umbrella's own trap check): if anything ever
95
+ * read this array as a sequence, the composite would try to record a posture before any
96
+ * evidence existed, and the run would fail loudly rather than silently degrading.
97
+ */
98
+ admits: [
99
+ 'top_down.compliance-posture',
100
+ 'top_down.compliance-research',
101
+ 'top_down.compliance-evidence-adequacy',
102
+ ],
103
+ /*
104
+ * MEASURED on the first real run (wonder-crm, 2026-09-02), replacing the market composite's
105
+ * borrowed bounds: research turns here run 3–7 minutes each (five succeeded, 63k–157k context —
106
+ * regime research reads primary sources, which is slower than market scanning), and the run hit
107
+ * the 40-minute breaker mid-loop without reaching an ADEQUATE verdict — the market's own
108
+ * first-run ending, one lane over. ~280s/iteration measured against the market's ~168s.
109
+ *
110
+ * Two things a caller must know, learned the expensive way on that run: the companion's HTTP
111
+ * request ceiling (30 min) is SHORTER than this bound, so a synchronous caller loses the result
112
+ * envelope while the run continues and completes server-side — read the outcome from
113
+ * /playbooks/runs and the traces, or submit from a surface that outlives the request. And
114
+ * whether the adequacy BAR (see compliance-evidence-adequacy's method) needs loosening is an
115
+ * open calibration question the next run's gap texts should settle — do not soften it blind.
116
+ */
117
+ maximumIterations: 14,
118
+ maximumLanesPerIteration: 3,
119
+ maximumDepth: 1,
120
+ maximumDurationMs: 4_800_000,
121
+ },
122
+ },
123
+ approval: MetaWorkflow_ApprovalPolicy.APPROVE_RESULT,
124
+ budget: {},
125
+ onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG,
126
+ };
127
+ //# sourceMappingURL=playbook.definition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../../src/playbooks/top_down.compliance-analysis/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA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H;oBACvI,IAAI,EAAE,oCAAoC,CAAC,OAAO;iBACnD;gBACD;oBACE,KAAK,EAAE,eAAe;oBACtB,UAAU,EAAE,qJAAqJ;oBACjK,IAAI,EAAE,oCAAoC,CAAC,OAAO;iBACnD;gBACD;oBACE,KAAK,EAAE,4BAA4B;oBACnC,UAAU,EAAE,iPAAiP;oBAC7P,IAAI,EAAE,oCAAoC,CAAC,OAAO;iBACnD;gBACD;oBACE,KAAK,EAAE,gBAAgB;oBACvB,UAAU,EAAE,yLAAyL;oBACrM,IAAI,EAAE,oCAAoC,CAAC,SAAS;iBACrD;gBACD;oBACE,KAAK,EAAE,oBAAoB;oBAC3B,UAAU,EAAE,yKAAyK;oBACrL,IAAI,EAAE,oCAAoC,CAAC,SAAS;iBACrD;aACF;SACF;QACD,YAAY,EAAE;YACZ;;;;eAIG;YACH,MAAM,EAAE;gBACN,6BAA6B;gBAC7B,8BAA8B;gBAC9B,uCAAuC;aACxC;YACD;;;;;;;;;;;;;eAaG;YACH,iBAAiB,EAAE,EAAE;YACrB,wBAAwB,EAAE,CAAC;YAC3B,YAAY,EAAE,CAAC;YACf,iBAAiB,EAAE,SAAS;SAC7B;KACF;IACD,QAAQ,EAAE,2BAA2B,CAAC,cAAc;IACpD,MAAM,EAAE,EAAE;IACV,SAAS,EAAE,0BAA0B,CAAC,aAAa;CAGpD,CAAC","sourcesContent":["import {\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_ElicitationQuestionKind,\n MetaWorkflow_FailurePolicy,\n MetaWorkflow_Phase,\n MetaWorkflow_PredicateKind,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\n/**\n * The SECOND consumer of the research → adequacy → produce choreography, mirrored from\n * `top_down.market-analysis` on purpose: the pattern earns its generality from a second real\n * instance rather than from a designed abstraction (decided with Paul, 2026-09-02 — this is #254's\n * road walked through a genuine case, not around it).\n *\n * The gap it closes is recorded in `app-creation-composite-choreography.md` §10: compliance-posture\n * answered \"which regimes apply, in which jurisdictions\" from nine interview questions plus a\n * model's recollection — the same evidence hole the market lane had before its composite, with a\n * harsher consequence, because a regime wrongly excluded is a legal statement, not a stale price.\n */\nexport const playbookDefinition = {\n ref: 'top_down.compliance-analysis',\n version: '0.1.3',\n phase: MetaWorkflow_Phase.TOP_DOWN,\n intent:\n 'Establish the compliance posture by gathering regime EVIDENCE from authoritative sources, judging whether it is enough, and recording the applicable regimes as vision constraints only once it is. An umbrella: it authors nothing itself — its deliverable is what its children land, and the order between them is decided by their own preconditions rather than declared here.',\n functionalTopics: [],\n preconditions: [\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },\n ],\n inputs: [{ family: 'vision-brief' }],\n // Nothing, for the market umbrella's own recorded reason: a composite's deliverable is what its\n // children land, and declaring the child's output here would be two playbooks claiming one family.\n outputs: [],\n method: {\n skillRefs: ['journey-status'],\n /*\n * The product-fact questions, moved here from compliance-posture (#284 shape (a), decided\n * 2026-09-02): regime applicability is a JOIN of legal tests (researchable — the research child's\n * job) and these facts (elicitable — only the creator can answer). They lived on the produce\n * child, behind the adequacy gate that could never pass without them, and a question-bearing\n * child is excluded from loop selection anyway (a loop has nobody to answer). Asked ONCE at the\n * umbrella, the answers ride into every child: the chooser aims round-1 research at the real\n * jurisdictions instead of surveying, adequacy judges with the facts in hand, and posture derives\n * from answers + evidence. The workbench renders these declared questions as the launch form.\n */\n elicitation: {\n \"questions\": [\n {\n \"ref\": \"handles-regulated-data\",\n \"question\": \"Does the product store, process, or transmit personal data or otherwise regulated data (health, financial, biometric, children's, government) — either from end users or on behalf of customers?\",\n kind: MetaWorkflow_ElicitationQuestionKind.CONFIRM\n },\n {\n \"ref\": \"data-classes\",\n \"question\": \"Which classes of sensitive data does the product touch? List them (e.g. names/emails, health records, payment card data, government IDs, precise location, employee data). Answer \\\"none\\\" if it handles no personal or sensitive data.\",\n kind: MetaWorkflow_ElicitationQuestionKind.FREE_TEXT\n },\n {\n \"ref\": \"vendor-establishment\",\n \"question\": \"Where is the VENDOR established — the legal entity (or intended entity) operating the product, its country/region, and where is the product hosted or planned to be hosted? Territorial-scope tests (GDPR Art. 3, UK GDPR, CCPA \\\"doing business\\\") turn on the vendor's establishment and conduct, not only on where users live. Answer \\\"not yet decided\\\" for whatever is genuinely open.\",\n kind: MetaWorkflow_ElicitationQuestionKind.FREE_TEXT\n },\n {\n \"ref\": \"jurisdictions\",\n \"question\": \"In which jurisdictions do your users live and your data reside or transit (e.g. EU/EEA, UK, US, California, Canada, specific countries)? This is what drives which privacy regimes apply.\",\n kind: MetaWorkflow_ElicitationQuestionKind.FREE_TEXT\n },\n {\n \"ref\": \"sector\",\n \"question\": \"Does the product operate in a regulated sector with its own rules (healthcare, finance/banking, insurance, education, government, telecoms)? Name the sector, or answer \\\"none\\\".\",\n kind: MetaWorkflow_ElicitationQuestionKind.FREE_TEXT\n },\n {\n \"ref\": \"gdpr-applies\",\n \"question\": \"Do you serve EU/EEA (or UK) individuals or process their personal data? (This is the primary trigger for GDPR / UK GDPR.)\",\n kind: MetaWorkflow_ElicitationQuestionKind.CONFIRM\n },\n {\n \"ref\": \"hipaa-applies\",\n \"question\": \"Do you handle US protected health information as, or on behalf of, a covered entity or business associate? (This is the primary trigger for HIPAA.)\",\n kind: MetaWorkflow_ElicitationQuestionKind.CONFIRM\n },\n {\n \"ref\": \"external-assurance-applies\",\n \"question\": \"Do enterprise customers (or your own security posture) require an independent attestation or certification covering security / availability / confidentiality of the service? Name the requested target only as an external source requirement.\",\n kind: MetaWorkflow_ElicitationQuestionKind.CONFIRM\n },\n {\n \"ref\": \"data-residency\",\n \"question\": \"Are there data-residency or sovereignty requirements — must certain data stay within a region or country (e.g. EU-only hosting, in-country storage)? Describe them, or answer \\\"none\\\".\",\n kind: MetaWorkflow_ElicitationQuestionKind.FREE_TEXT\n },\n {\n \"ref\": \"additional-regimes\",\n \"question\": \"Any other legal regimes, sector frameworks, government programs, or contractual security commitments that apply? List the externally named sources, or answer \\\"none\\\".\",\n kind: MetaWorkflow_ElicitationQuestionKind.FREE_TEXT\n }\n ]\n },\n choreography: {\n /*\n * UNORDERED, produce-first on purpose (the market umbrella's own trap check): if anything ever\n * read this array as a sequence, the composite would try to record a posture before any\n * evidence existed, and the run would fail loudly rather than silently degrading.\n */\n admits: [\n 'top_down.compliance-posture',\n 'top_down.compliance-research',\n 'top_down.compliance-evidence-adequacy',\n ],\n /*\n * MEASURED on the first real run (wonder-crm, 2026-09-02), replacing the market composite's\n * borrowed bounds: research turns here run 3–7 minutes each (five succeeded, 63k–157k context —\n * regime research reads primary sources, which is slower than market scanning), and the run hit\n * the 40-minute breaker mid-loop without reaching an ADEQUATE verdict — the market's own\n * first-run ending, one lane over. ~280s/iteration measured against the market's ~168s.\n *\n * Two things a caller must know, learned the expensive way on that run: the companion's HTTP\n * request ceiling (30 min) is SHORTER than this bound, so a synchronous caller loses the result\n * envelope while the run continues and completes server-side — read the outcome from\n * /playbooks/runs and the traces, or submit from a surface that outlives the request. And\n * whether the adequacy BAR (see compliance-evidence-adequacy's method) needs loosening is an\n * open calibration question the next run's gap texts should settle — do not soften it blind.\n */\n maximumIterations: 14,\n maximumLanesPerIteration: 3,\n maximumDepth: 1,\n maximumDurationMs: 4_800_000,\n },\n },\n approval: MetaWorkflow_ApprovalPolicy.APPROVE_RESULT,\n budget: {},\n onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG,\n} satisfies Omit<MetaWorkflowPlaybookAuthoring, 'method'> & {\n method: Omit<NonNullable<MetaWorkflowPlaybookAuthoring['method']>, 'guidance'>;\n};\n"]}
@@ -0,0 +1,76 @@
1
+ /**
2
+ * The compliance-conception step `top_down.compliance-posture` defers to.
3
+ *
4
+ * That playbook stops at scaffold depth on purpose — regimes as prose constraints on the vision — and names its successor in
5
+ * `method.md`: "a later, separately approved compliance-conception step [which] may initialize or revise the optional
6
+ * structured family only after it resolves exact source versions and rights records, declarative application scope,
7
+ * applicability authority, Wildo objective bindings, implementation choices, responsibilities, documentation requirements
8
+ * and explicit gaps." This is that step, and that sentence is its specification rather than something re-derived here.
9
+ *
10
+ * `guidance` is deliberately absent: the method prose is the single source of truth in `method.md`, and the generator renders
11
+ * it (partials + references expanded) and injects it as `method.guidance`. Declaring it here would be a second copy that
12
+ * drifts — the folder contract rejects an inline one.
13
+ */
14
+ export declare const playbookDefinition: {
15
+ readonly ref: "top_down.compliance-conception";
16
+ readonly version: "0.1.0";
17
+ readonly phase: "top_down";
18
+ readonly intent: "Compliance-conception pass: turn the applicable regimes the posture step recorded as prose constraints into the application's accepted `compliance-program` — the structured, reviewable record of which Wildo control objectives this product binds, which external requirement each answers, who is accountable, and what is explicitly undetermined. It does NOT re-elicit the vision and it does not draft any document. It is the first step in the lane that produces a POSITIVE compliance claim, so every claim it makes is either derived from an engine authority or answered by the creator in this run; nothing is inferred from a vision sentence.";
19
+ readonly functionalTopics: readonly [];
20
+ readonly preconditions: readonly [{
21
+ readonly kind: "artifact_exists";
22
+ readonly selector: {
23
+ readonly family: "vision-brief";
24
+ };
25
+ }];
26
+ readonly inputs: readonly [{
27
+ readonly family: "vision-brief";
28
+ }];
29
+ readonly outputs: readonly [{
30
+ readonly family: "compliance-program";
31
+ readonly schemaRef: "saas-specifications:AssuranceProgramSpecification";
32
+ readonly description: "The application's accepted assurance programme: source references and their applicability, one obligation per bound Wildo objective with its coverage decision and implementation decision, responsibility assignments, and the limitations it does not claim beyond. Answered against the STRICT generation contract (`AssuranceProgramGenerationSchema`) and normalized into a v3 `AssuranceProgramSpecification` — the runtime stamps every ref, version and ordering, and refuses an objective the authority basis has no expectation for or a source the registry does not carry.";
33
+ }];
34
+ readonly method: {
35
+ readonly skillRefs: readonly ["journey-status"];
36
+ readonly contextSources: readonly ["assurance_program_authority", "compliance_primary_facts"];
37
+ readonly elicitation: {
38
+ readonly questions: readonly [{
39
+ readonly ref: "programme-scope";
40
+ readonly question: "What exactly does this compliance programme cover — which product, environments and services? Name what is INSIDE the boundary, and anything a reader might assume is included that is not.";
41
+ readonly kind: "free_text";
42
+ }, {
43
+ readonly ref: "accountable-role";
44
+ readonly question: "Which role in this application is accountable for the compliance programme — the one that approves what it claims? Give the application's own role key (e.g. APP_ADMIN_SUPER_ADMIN) and a short name for it.";
45
+ readonly kind: "free_text";
46
+ }, {
47
+ readonly ref: "operating-role";
48
+ readonly question: "Which role OPERATES the controls day to day and produces the evidence, if different from the accountable role? Answer \"same\" if one role does both.";
49
+ readonly kind: "free_text";
50
+ }, {
51
+ readonly ref: "coverage-review-date";
52
+ readonly question: "On what date are you making these coverage decisions? Answer as an ISO date (YYYY-MM-DD). This is recorded as when the review happened — it is not generated, because nobody but you can say when you decided.";
53
+ readonly kind: "free_text";
54
+ }, {
55
+ readonly ref: "next-review-date";
56
+ readonly question: "When is this programme next reviewed? Answer as an ISO date (YYYY-MM-DD), after today's. A review schedule is a commitment, so it is asked rather than assumed.";
57
+ readonly kind: "free_text";
58
+ }, {
59
+ readonly ref: "objective-coverage";
60
+ readonly question: "For each bindable objective you were shown, does this application actually meet it today — and do you APPROVE binding it? Answer per objective, with the reason. Approving is a review: it says you read what the objective demands and accept that the product does it.";
61
+ readonly kind: "free_text";
62
+ }, {
63
+ readonly ref: "undetermined-and-gaps";
64
+ readonly question: "What is genuinely undetermined — something you cannot answer today without more work? List them. These become explicit UNDETERMINED applicability or stated limitations rather than silent omissions.";
65
+ readonly kind: "free_text";
66
+ }];
67
+ };
68
+ };
69
+ readonly executor: "companion_agent";
70
+ readonly approval: "approve_result";
71
+ readonly budget: {
72
+ readonly maxRuns: 3;
73
+ };
74
+ readonly onFailure: "keep_and_flag";
75
+ };
76
+ //# sourceMappingURL=playbook.definition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../../src/playbooks/top_down.compliance-conception/playbook.definition.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8ErB,CAAC"}
@@ -0,0 +1,92 @@
1
+ /**
2
+ * The compliance-conception step `top_down.compliance-posture` defers to.
3
+ *
4
+ * That playbook stops at scaffold depth on purpose — regimes as prose constraints on the vision — and names its successor in
5
+ * `method.md`: "a later, separately approved compliance-conception step [which] may initialize or revise the optional
6
+ * structured family only after it resolves exact source versions and rights records, declarative application scope,
7
+ * applicability authority, Wildo objective bindings, implementation choices, responsibilities, documentation requirements
8
+ * and explicit gaps." This is that step, and that sentence is its specification rather than something re-derived here.
9
+ *
10
+ * `guidance` is deliberately absent: the method prose is the single source of truth in `method.md`, and the generator renders
11
+ * it (partials + references expanded) and injects it as `method.guidance`. Declaring it here would be a second copy that
12
+ * drifts — the folder contract rejects an inline one.
13
+ */
14
+ export const playbookDefinition = {
15
+ "ref": "top_down.compliance-conception",
16
+ "version": "0.1.0",
17
+ "phase": "top_down",
18
+ "intent": "Compliance-conception pass: turn the applicable regimes the posture step recorded as prose constraints into the application's accepted `compliance-program` — the structured, reviewable record of which Wildo control objectives this product binds, which external requirement each answers, who is accountable, and what is explicitly undetermined. It does NOT re-elicit the vision and it does not draft any document. It is the first step in the lane that produces a POSITIVE compliance claim, so every claim it makes is either derived from an engine authority or answered by the creator in this run; nothing is inferred from a vision sentence.",
19
+ "functionalTopics": [],
20
+ "preconditions": [
21
+ { "kind": "artifact_exists", "selector": { "family": "vision-brief" } }
22
+ ],
23
+ "inputs": [
24
+ { "family": "vision-brief" }
25
+ ],
26
+ "outputs": [
27
+ {
28
+ "family": "compliance-program",
29
+ "schemaRef": "saas-specifications:AssuranceProgramSpecification",
30
+ "description": "The application's accepted assurance programme: source references and their applicability, one obligation per bound Wildo objective with its coverage decision and implementation decision, responsibility assignments, and the limitations it does not claim beyond. Answered against the STRICT generation contract (`AssuranceProgramGenerationSchema`) and normalized into a v3 `AssuranceProgramSpecification` — the runtime stamps every ref, version and ordering, and refuses an objective the authority basis has no expectation for or a source the registry does not carry."
31
+ }
32
+ ],
33
+ "method": {
34
+ "skillRefs": ["journey-status"],
35
+ /*
36
+ * ASSURANCE_PROGRAM_AUTHORITY supplies the two CLOSED SETS — bindable objectives with their intent, and citable sources.
37
+ * Without it the model guesses, and a guess here is not a weaker artifact but a REFUSED run out of the three budgeted.
38
+ *
39
+ * COMPLIANCE_PRIMARY_FACTS supplies what the application's resource declarations actually say: erasure treatment, data
40
+ * subject kinds, whether subject export is declared. That is the evidence for deciding whether an objective is genuinely
41
+ * met, and it is the difference between binding `WILDO.PRIVACY.SUBJECT_DATA_EXPORT` because the app declares the export
42
+ * and binding it because the objective sounded right.
43
+ */
44
+ "contextSources": ["assurance_program_authority", "compliance_primary_facts"],
45
+ "elicitation": {
46
+ "questions": [
47
+ {
48
+ "ref": "programme-scope",
49
+ "question": "What exactly does this compliance programme cover — which product, environments and services? Name what is INSIDE the boundary, and anything a reader might assume is included that is not.",
50
+ "kind": "free_text"
51
+ },
52
+ {
53
+ "ref": "accountable-role",
54
+ "question": "Which role in this application is accountable for the compliance programme — the one that approves what it claims? Give the application's own role key (e.g. APP_ADMIN_SUPER_ADMIN) and a short name for it.",
55
+ "kind": "free_text"
56
+ },
57
+ {
58
+ "ref": "operating-role",
59
+ "question": "Which role OPERATES the controls day to day and produces the evidence, if different from the accountable role? Answer \"same\" if one role does both.",
60
+ "kind": "free_text"
61
+ },
62
+ {
63
+ "ref": "coverage-review-date",
64
+ "question": "On what date are you making these coverage decisions? Answer as an ISO date (YYYY-MM-DD). This is recorded as when the review happened — it is not generated, because nobody but you can say when you decided.",
65
+ "kind": "free_text"
66
+ },
67
+ {
68
+ "ref": "next-review-date",
69
+ "question": "When is this programme next reviewed? Answer as an ISO date (YYYY-MM-DD), after today's. A review schedule is a commitment, so it is asked rather than assumed.",
70
+ "kind": "free_text"
71
+ },
72
+ {
73
+ "ref": "objective-coverage",
74
+ "question": "For each bindable objective you were shown, does this application actually meet it today — and do you APPROVE binding it? Answer per objective, with the reason. Approving is a review: it says you read what the objective demands and accept that the product does it.",
75
+ "kind": "free_text"
76
+ },
77
+ {
78
+ "ref": "undetermined-and-gaps",
79
+ "question": "What is genuinely undetermined — something you cannot answer today without more work? List them. These become explicit UNDETERMINED applicability or stated limitations rather than silent omissions.",
80
+ "kind": "free_text"
81
+ }
82
+ ]
83
+ }
84
+ },
85
+ "executor": "companion_agent",
86
+ "approval": "approve_result",
87
+ "budget": {
88
+ "maxRuns": 3
89
+ },
90
+ "onFailure": "keep_and_flag"
91
+ };
92
+ //# sourceMappingURL=playbook.definition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../../src/playbooks/top_down.compliance-conception/playbook.definition.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAC/B;IACE,KAAK,EAAE,gCAAgC;IACvC,SAAS,EAAE,OAAO;IAClB,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,ioBAAioB;IAC3oB,kBAAkB,EAAE,EAAE;IACtB,eAAe,EAAE;QACf,EAAE,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,cAAc,EAAE,EAAE;KACxE;IACD,QAAQ,EAAE;QACR,EAAE,QAAQ,EAAE,cAAc,EAAE;KAC7B;IACD,SAAS,EAAE;QACT;YACE,QAAQ,EAAE,oBAAoB;YAC9B,WAAW,EAAE,mDAAmD;YAChE,aAAa,EAAE,wjBAAwjB;SACxkB;KACF;IACD,QAAQ,EAAE;QACR,WAAW,EAAE,CAAC,gBAAgB,CAAC;QAC/B;;;;;;;;WAQG;QACH,gBAAgB,EAAE,CAAC,6BAA6B,EAAE,0BAA0B,CAAC;QAC7E,aAAa,EAAE;YACb,WAAW,EAAE;gBACX;oBACE,KAAK,EAAE,iBAAiB;oBACxB,UAAU,EAAE,6LAA6L;oBACzM,MAAM,EAAE,WAAW;iBACpB;gBACD;oBACE,KAAK,EAAE,kBAAkB;oBACzB,UAAU,EAAE,8MAA8M;oBAC1N,MAAM,EAAE,WAAW;iBACpB;gBACD;oBACE,KAAK,EAAE,gBAAgB;oBACvB,UAAU,EAAE,uJAAuJ;oBACnK,MAAM,EAAE,WAAW;iBACpB;gBACD;oBACE,KAAK,EAAE,sBAAsB;oBAC7B,UAAU,EAAE,gNAAgN;oBAC5N,MAAM,EAAE,WAAW;iBACpB;gBACD;oBACE,KAAK,EAAE,kBAAkB;oBACzB,UAAU,EAAE,iKAAiK;oBAC7K,MAAM,EAAE,WAAW;iBACpB;gBACD;oBACE,KAAK,EAAE,oBAAoB;oBAC3B,UAAU,EAAE,0QAA0Q;oBACtR,MAAM,EAAE,WAAW;iBACpB;gBACD;oBACE,KAAK,EAAE,uBAAuB;oBAC9B,UAAU,EAAE,uMAAuM;oBACnN,MAAM,EAAE,WAAW;iBACpB;aACF;SACF;KACF;IACD,UAAU,EAAE,iBAAiB;IAC7B,UAAU,EAAE,gBAAgB;IAC5B,QAAQ,EAAE;QACR,SAAS,EAAE,CAAC;KACb;IACD,WAAW,EAAE,eAAe;CACpB,CAAC","sourcesContent":["/**\n * The compliance-conception step `top_down.compliance-posture` defers to.\n *\n * That playbook stops at scaffold depth on purpose — regimes as prose constraints on the vision — and names its successor in\n * `method.md`: \"a later, separately approved compliance-conception step [which] may initialize or revise the optional\n * structured family only after it resolves exact source versions and rights records, declarative application scope,\n * applicability authority, Wildo objective bindings, implementation choices, responsibilities, documentation requirements\n * and explicit gaps.\" This is that step, and that sentence is its specification rather than something re-derived here.\n *\n * `guidance` is deliberately absent: the method prose is the single source of truth in `method.md`, and the generator renders\n * it (partials + references expanded) and injects it as `method.guidance`. Declaring it here would be a second copy that\n * drifts — the folder contract rejects an inline one.\n */\nexport const playbookDefinition =\n{\n \"ref\": \"top_down.compliance-conception\",\n \"version\": \"0.1.0\",\n \"phase\": \"top_down\",\n \"intent\": \"Compliance-conception pass: turn the applicable regimes the posture step recorded as prose constraints into the application's accepted `compliance-program` — the structured, reviewable record of which Wildo control objectives this product binds, which external requirement each answers, who is accountable, and what is explicitly undetermined. It does NOT re-elicit the vision and it does not draft any document. It is the first step in the lane that produces a POSITIVE compliance claim, so every claim it makes is either derived from an engine authority or answered by the creator in this run; nothing is inferred from a vision sentence.\",\n \"functionalTopics\": [],\n \"preconditions\": [\n { \"kind\": \"artifact_exists\", \"selector\": { \"family\": \"vision-brief\" } }\n ],\n \"inputs\": [\n { \"family\": \"vision-brief\" }\n ],\n \"outputs\": [\n {\n \"family\": \"compliance-program\",\n \"schemaRef\": \"saas-specifications:AssuranceProgramSpecification\",\n \"description\": \"The application's accepted assurance programme: source references and their applicability, one obligation per bound Wildo objective with its coverage decision and implementation decision, responsibility assignments, and the limitations it does not claim beyond. Answered against the STRICT generation contract (`AssuranceProgramGenerationSchema`) and normalized into a v3 `AssuranceProgramSpecification` — the runtime stamps every ref, version and ordering, and refuses an objective the authority basis has no expectation for or a source the registry does not carry.\"\n }\n ],\n \"method\": {\n \"skillRefs\": [\"journey-status\"],\n /*\n * ASSURANCE_PROGRAM_AUTHORITY supplies the two CLOSED SETS — bindable objectives with their intent, and citable sources.\n * Without it the model guesses, and a guess here is not a weaker artifact but a REFUSED run out of the three budgeted.\n *\n * COMPLIANCE_PRIMARY_FACTS supplies what the application's resource declarations actually say: erasure treatment, data\n * subject kinds, whether subject export is declared. That is the evidence for deciding whether an objective is genuinely\n * met, and it is the difference between binding `WILDO.PRIVACY.SUBJECT_DATA_EXPORT` because the app declares the export\n * and binding it because the objective sounded right.\n */\n \"contextSources\": [\"assurance_program_authority\", \"compliance_primary_facts\"],\n \"elicitation\": {\n \"questions\": [\n {\n \"ref\": \"programme-scope\",\n \"question\": \"What exactly does this compliance programme cover — which product, environments and services? Name what is INSIDE the boundary, and anything a reader might assume is included that is not.\",\n \"kind\": \"free_text\"\n },\n {\n \"ref\": \"accountable-role\",\n \"question\": \"Which role in this application is accountable for the compliance programme — the one that approves what it claims? Give the application's own role key (e.g. APP_ADMIN_SUPER_ADMIN) and a short name for it.\",\n \"kind\": \"free_text\"\n },\n {\n \"ref\": \"operating-role\",\n \"question\": \"Which role OPERATES the controls day to day and produces the evidence, if different from the accountable role? Answer \\\"same\\\" if one role does both.\",\n \"kind\": \"free_text\"\n },\n {\n \"ref\": \"coverage-review-date\",\n \"question\": \"On what date are you making these coverage decisions? Answer as an ISO date (YYYY-MM-DD). This is recorded as when the review happened — it is not generated, because nobody but you can say when you decided.\",\n \"kind\": \"free_text\"\n },\n {\n \"ref\": \"next-review-date\",\n \"question\": \"When is this programme next reviewed? Answer as an ISO date (YYYY-MM-DD), after today's. A review schedule is a commitment, so it is asked rather than assumed.\",\n \"kind\": \"free_text\"\n },\n {\n \"ref\": \"objective-coverage\",\n \"question\": \"For each bindable objective you were shown, does this application actually meet it today — and do you APPROVE binding it? Answer per objective, with the reason. Approving is a review: it says you read what the objective demands and accept that the product does it.\",\n \"kind\": \"free_text\"\n },\n {\n \"ref\": \"undetermined-and-gaps\",\n \"question\": \"What is genuinely undetermined — something you cannot answer today without more work? List them. These become explicit UNDETERMINED applicability or stated limitations rather than silent omissions.\",\n \"kind\": \"free_text\"\n }\n ]\n }\n },\n \"executor\": \"companion_agent\",\n \"approval\": \"approve_result\",\n \"budget\": {\n \"maxRuns\": 3\n },\n \"onFailure\": \"keep_and_flag\"\n} as const;\n"]}
@@ -0,0 +1,30 @@
1
+ import { MetaWorkflow_ApprovalPolicy, MetaWorkflow_Executor, MetaWorkflow_FailurePolicy, MetaWorkflow_Phase, MetaWorkflow_PredicateKind } from '@wildo-ai/saas-specifications/application-creation';
2
+ export declare const playbookDefinition: {
3
+ ref: string;
4
+ version: string;
5
+ phase: MetaWorkflow_Phase.TOP_DOWN;
6
+ intent: string;
7
+ functionalTopics: any[];
8
+ preconditions: {
9
+ kind: MetaWorkflow_PredicateKind.STEP_AVAILABLE;
10
+ ref: string;
11
+ }[];
12
+ inputs: {
13
+ family: string;
14
+ }[];
15
+ outputs: any[];
16
+ stepOutputs: {
17
+ ref: string;
18
+ schemaRef: string;
19
+ condensation: string;
20
+ description: string;
21
+ }[];
22
+ method: {
23
+ skillRefs: string[];
24
+ };
25
+ executor: MetaWorkflow_Executor.COMPANION_AGENT;
26
+ approval: MetaWorkflow_ApprovalPolicy.AUTO;
27
+ budget: {};
28
+ onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG;
29
+ };
30
+ //# sourceMappingURL=playbook.definition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../../src/playbooks/top_down.compliance-evidence-adequacy/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,kBAAkB,EAClB,0BAA0B,EAE3B,MAAM,oDAAoD,CAAC;AAE5D,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6B9B,CAAC"}
@@ -0,0 +1,29 @@
1
+ import { MetaWorkflow_ApprovalPolicy, MetaWorkflow_Executor, MetaWorkflow_FailurePolicy, MetaWorkflow_Phase, MetaWorkflow_PredicateKind, } from '@wildo-ai/saas-specifications/application-creation';
2
+ export const playbookDefinition = {
3
+ ref: 'top_down.compliance-evidence-adequacy',
4
+ version: '0.1.1',
5
+ phase: MetaWorkflow_Phase.TOP_DOWN,
6
+ intent: 'Judge whether the regime evidence gathered so far is ENOUGH to state a compliance posture from, and when it is not, name precisely what is missing so the next research round is aimed rather than repeated. Returns a verdict a sibling\'s precondition READS; it authors nothing and lands nothing.',
7
+ functionalTopics: [],
8
+ preconditions: [
9
+ { kind: MetaWorkflow_PredicateKind.STEP_AVAILABLE, ref: 'compliance-evidence' },
10
+ ],
11
+ inputs: [{ family: 'vision-brief' }],
12
+ outputs: [],
13
+ stepOutputs: [{
14
+ ref: 'compliance-adequacy',
15
+ // The SAME generic adequacy contract the market gate uses — its own JSDoc predicted this reuse:
16
+ // "the next lane will find the same hole and will ask the same question of the same shape".
17
+ schemaRef: 'saas-specifications:MetaWorkflow_EvidenceAdequacy',
18
+ condensation: 'A verdict, the gaps that produced it, and a rationale grounded in what was actually gathered.',
19
+ description: 'The adequacy gate the posture step is conditioned on.',
20
+ }],
21
+ method: {
22
+ skillRefs: ['journey-status'],
23
+ },
24
+ executor: MetaWorkflow_Executor.COMPANION_AGENT,
25
+ approval: MetaWorkflow_ApprovalPolicy.AUTO,
26
+ budget: {},
27
+ onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG,
28
+ };
29
+ //# sourceMappingURL=playbook.definition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../../src/playbooks/top_down.compliance-evidence-adequacy/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,kBAAkB,EAClB,0BAA0B,GAE3B,MAAM,oDAAoD,CAAC;AAE5D,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,GAAG,EAAE,uCAAuC;IAC5C,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE,kBAAkB,CAAC,QAAQ;IAClC,MAAM,EACJ,uSAAuS;IACzS,gBAAgB,EAAE,EAAE;IACpB,aAAa,EAAE;QACb,EAAE,IAAI,EAAE,0BAA0B,CAAC,cAAc,EAAE,GAAG,EAAE,qBAAqB,EAAE;KAChF;IACD,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC;IACpC,OAAO,EAAE,EAAE;IACX,WAAW,EAAE,CAAC;YACZ,GAAG,EAAE,qBAAqB;YAC1B,gGAAgG;YAChG,4FAA4F;YAC5F,SAAS,EAAE,mDAAmD;YAC9D,YAAY,EAAE,+FAA+F;YAC7G,WAAW,EAAE,uDAAuD;SACrE,CAAC;IACF,MAAM,EAAE;QACN,SAAS,EAAE,CAAC,gBAAgB,CAAC;KAC9B;IACD,QAAQ,EAAE,qBAAqB,CAAC,eAAe;IAC/C,QAAQ,EAAE,2BAA2B,CAAC,IAAI;IAC1C,MAAM,EAAE,EAAE;IACV,SAAS,EAAE,0BAA0B,CAAC,aAAa;CAGpD,CAAC","sourcesContent":["import {\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_Executor,\n MetaWorkflow_FailurePolicy,\n MetaWorkflow_Phase,\n MetaWorkflow_PredicateKind,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\nexport const playbookDefinition = {\n ref: 'top_down.compliance-evidence-adequacy',\n version: '0.1.1',\n phase: MetaWorkflow_Phase.TOP_DOWN,\n intent:\n 'Judge whether the regime evidence gathered so far is ENOUGH to state a compliance posture from, and when it is not, name precisely what is missing so the next research round is aimed rather than repeated. Returns a verdict a sibling\\'s precondition READS; it authors nothing and lands nothing.',\n functionalTopics: [],\n preconditions: [\n { kind: MetaWorkflow_PredicateKind.STEP_AVAILABLE, ref: 'compliance-evidence' },\n ],\n inputs: [{ family: 'vision-brief' }],\n outputs: [],\n stepOutputs: [{\n ref: 'compliance-adequacy',\n // The SAME generic adequacy contract the market gate uses — its own JSDoc predicted this reuse:\n // \"the next lane will find the same hole and will ask the same question of the same shape\".\n schemaRef: 'saas-specifications:MetaWorkflow_EvidenceAdequacy',\n condensation: 'A verdict, the gaps that produced it, and a rationale grounded in what was actually gathered.',\n description: 'The adequacy gate the posture step is conditioned on.',\n }],\n method: {\n skillRefs: ['journey-status'],\n },\n executor: MetaWorkflow_Executor.COMPANION_AGENT,\n approval: MetaWorkflow_ApprovalPolicy.AUTO,\n budget: {},\n onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG,\n} satisfies Omit<MetaWorkflowPlaybookAuthoring, 'method'> & {\n method: Omit<NonNullable<MetaWorkflowPlaybookAuthoring['method']>, 'guidance'>;\n};\n"]}