@wildo-ai/framework-knowledge 1.1.11 → 1.1.12

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 (803) hide show
  1. package/dist/claude-marketplace/.claude-plugin/marketplace.json +1 -1
  2. package/dist/claude-marketplace/plugins/wildo/.claude-plugin/plugin.json +1 -1
  3. package/dist/claude-marketplace/plugins/wildo/references/acceptance.md +4 -0
  4. package/dist/claude-marketplace/plugins/wildo/references/composites-and-the-loop.md +25 -3
  5. package/dist/claude-marketplace/plugins/wildo/references/creation-state.md +40 -12
  6. package/dist/claude-marketplace/plugins/wildo/references/derived-artifacts.md +3 -3
  7. package/dist/claude-marketplace/plugins/wildo/references/runs-judges-and-questions.md +12 -0
  8. package/dist/claude-marketplace/plugins/wildo/skills/answer/SKILL.md +19 -2
  9. package/dist/claude-marketplace/plugins/wildo/skills/build/SKILL.md +33 -9
  10. package/dist/esm/framework-knowledge.definitions.d.ts +2 -3
  11. package/dist/esm/framework-knowledge.definitions.d.ts.map +1 -1
  12. package/dist/esm/framework-knowledge.definitions.js +170 -32
  13. package/dist/esm/framework-knowledge.definitions.js.map +1 -1
  14. package/dist/esm/framework-knowledge.loader.d.ts.map +1 -1
  15. package/dist/esm/framework-knowledge.loader.js.map +1 -1
  16. package/dist/esm/framework-knowledge.research-provenance.d.ts +6 -4
  17. package/dist/esm/framework-knowledge.research-provenance.d.ts.map +1 -1
  18. package/dist/esm/framework-knowledge.research-provenance.js.map +1 -1
  19. package/dist/esm/framework-knowledge.schemas.d.ts.map +1 -1
  20. package/dist/esm/framework-knowledge.schemas.js.map +1 -1
  21. package/dist/esm/index.d.ts.map +1 -1
  22. package/dist/esm/index.js.map +1 -1
  23. package/dist/esm/playbooks/bottom_up.assemble-verify/playbook.definition.d.ts +2 -3
  24. package/dist/esm/playbooks/bottom_up.assemble-verify/playbook.definition.d.ts.map +1 -1
  25. package/dist/esm/playbooks/bottom_up.assemble-verify/playbook.definition.js +4 -12
  26. package/dist/esm/playbooks/bottom_up.assemble-verify/playbook.definition.js.map +1 -1
  27. package/dist/esm/playbooks/bottom_up.build/playbook.definition.d.ts.map +1 -1
  28. package/dist/esm/playbooks/bottom_up.build/playbook.definition.js +12 -1
  29. package/dist/esm/playbooks/bottom_up.build/playbook.definition.js.map +1 -1
  30. package/dist/esm/playbooks/bottom_up.build-decompose/playbook.definition.d.ts +7 -4
  31. package/dist/esm/playbooks/bottom_up.build-decompose/playbook.definition.d.ts.map +1 -1
  32. package/dist/esm/playbooks/bottom_up.build-decompose/playbook.definition.js +76 -14
  33. package/dist/esm/playbooks/bottom_up.build-decompose/playbook.definition.js.map +1 -1
  34. package/dist/esm/playbooks/bottom_up.build-dispatch/playbook.definition.d.ts +0 -4
  35. package/dist/esm/playbooks/bottom_up.build-dispatch/playbook.definition.d.ts.map +1 -1
  36. package/dist/esm/playbooks/bottom_up.build-dispatch/playbook.definition.js +3 -15
  37. package/dist/esm/playbooks/bottom_up.build-dispatch/playbook.definition.js.map +1 -1
  38. package/dist/esm/playbooks/bottom_up.build-scale/playbook.definition.d.ts.map +1 -1
  39. package/dist/esm/playbooks/bottom_up.build-scale/playbook.definition.js.map +1 -1
  40. package/dist/esm/playbooks/bottom_up.capability-composition/playbook.definition.d.ts.map +1 -1
  41. package/dist/esm/playbooks/bottom_up.capability-composition/playbook.definition.js.map +1 -1
  42. package/dist/esm/playbooks/bottom_up.conception/playbook.definition.d.ts.map +1 -1
  43. package/dist/esm/playbooks/bottom_up.conception/playbook.definition.js.map +1 -1
  44. package/dist/esm/playbooks/bottom_up.documentation-plan/playbook.definition.d.ts +1 -1
  45. package/dist/esm/playbooks/bottom_up.documentation-plan/playbook.definition.d.ts.map +1 -1
  46. package/dist/esm/playbooks/bottom_up.documentation-plan/playbook.definition.js +1 -1
  47. package/dist/esm/playbooks/bottom_up.documentation-plan/playbook.definition.js.map +1 -1
  48. package/dist/esm/playbooks/bottom_up.domain-plan/playbook.definition.d.ts.map +1 -1
  49. package/dist/esm/playbooks/bottom_up.domain-plan/playbook.definition.js +35 -14
  50. package/dist/esm/playbooks/bottom_up.domain-plan/playbook.definition.js.map +1 -1
  51. package/dist/esm/playbooks/bottom_up.experience-plan/playbook.definition.d.ts +16 -8
  52. package/dist/esm/playbooks/bottom_up.experience-plan/playbook.definition.d.ts.map +1 -1
  53. package/dist/esm/playbooks/bottom_up.experience-plan/playbook.definition.js +19 -8
  54. package/dist/esm/playbooks/bottom_up.experience-plan/playbook.definition.js.map +1 -1
  55. package/dist/esm/playbooks/bottom_up.foundation/playbook.definition.d.ts +29 -3
  56. package/dist/esm/playbooks/bottom_up.foundation/playbook.definition.d.ts.map +1 -1
  57. package/dist/esm/playbooks/bottom_up.foundation/playbook.definition.js +80 -16
  58. package/dist/esm/playbooks/bottom_up.foundation/playbook.definition.js.map +1 -1
  59. package/dist/esm/playbooks/bottom_up.integration-plan/playbook.definition.d.ts.map +1 -1
  60. package/dist/esm/playbooks/bottom_up.integration-plan/playbook.definition.js.map +1 -1
  61. package/dist/esm/playbooks/bottom_up.maturity-reading/playbook.definition.d.ts +2 -2
  62. package/dist/esm/playbooks/bottom_up.maturity-reading/playbook.definition.d.ts.map +1 -1
  63. package/dist/esm/playbooks/bottom_up.maturity-reading/playbook.definition.js +2 -2
  64. package/dist/esm/playbooks/bottom_up.maturity-reading/playbook.definition.js.map +1 -1
  65. package/dist/esm/playbooks/bottom_up.placement-plan/playbook.definition.d.ts +5 -1
  66. package/dist/esm/playbooks/bottom_up.placement-plan/playbook.definition.d.ts.map +1 -1
  67. package/dist/esm/playbooks/bottom_up.placement-plan/playbook.definition.js +3 -2
  68. package/dist/esm/playbooks/bottom_up.placement-plan/playbook.definition.js.map +1 -1
  69. package/dist/esm/playbooks/bottom_up.website-plan/playbook.definition.d.ts.map +1 -1
  70. package/dist/esm/playbooks/bottom_up.website-plan/playbook.definition.js.map +1 -1
  71. package/dist/esm/playbooks/cross_cutting.application-creation/playbook.definition.d.ts +45 -10
  72. package/dist/esm/playbooks/cross_cutting.application-creation/playbook.definition.d.ts.map +1 -1
  73. package/dist/esm/playbooks/cross_cutting.application-creation/playbook.definition.js +61 -21
  74. package/dist/esm/playbooks/cross_cutting.application-creation/playbook.definition.js.map +1 -1
  75. package/dist/esm/playbooks/cross_cutting.compliance/playbook.definition.d.ts +4 -3
  76. package/dist/esm/playbooks/cross_cutting.compliance/playbook.definition.d.ts.map +1 -1
  77. package/dist/esm/playbooks/cross_cutting.compliance/playbook.definition.js +8 -5
  78. package/dist/esm/playbooks/cross_cutting.compliance/playbook.definition.js.map +1 -1
  79. package/dist/esm/playbooks/cross_cutting.feature-development/playbook.definition.d.ts.map +1 -1
  80. package/dist/esm/playbooks/cross_cutting.feature-development/playbook.definition.js.map +1 -1
  81. package/dist/esm/playbooks/cross_cutting.refinement/playbook.definition.d.ts +2 -2
  82. package/dist/esm/playbooks/cross_cutting.refinement/playbook.definition.d.ts.map +1 -1
  83. package/dist/esm/playbooks/cross_cutting.refinement/playbook.definition.js +3 -5
  84. package/dist/esm/playbooks/cross_cutting.refinement/playbook.definition.js.map +1 -1
  85. package/dist/esm/playbooks/refinement.compliance-document-candidate/playbook.definition.d.ts +1 -1
  86. package/dist/esm/playbooks/refinement.compliance-document-candidate/playbook.definition.d.ts.map +1 -1
  87. package/dist/esm/playbooks/refinement.compliance-document-candidate/playbook.definition.js +3 -3
  88. package/dist/esm/playbooks/refinement.compliance-document-candidate/playbook.definition.js.map +1 -1
  89. package/dist/esm/playbooks/refinement.document-facts/playbook.definition.d.ts.map +1 -1
  90. package/dist/esm/playbooks/refinement.document-facts/playbook.definition.js +8 -6
  91. package/dist/esm/playbooks/refinement.document-facts/playbook.definition.js.map +1 -1
  92. package/dist/esm/playbooks/refinement.feature-contribution/playbook.definition.d.ts +5 -0
  93. package/dist/esm/playbooks/refinement.feature-contribution/playbook.definition.d.ts.map +1 -1
  94. package/dist/esm/playbooks/refinement.feature-contribution/playbook.definition.js +8 -1
  95. package/dist/esm/playbooks/refinement.feature-contribution/playbook.definition.js.map +1 -1
  96. package/dist/esm/playbooks/refinement.governance-document-candidate/playbook.definition.d.ts.map +1 -1
  97. package/dist/esm/playbooks/refinement.governance-document-candidate/playbook.definition.js.map +1 -1
  98. package/dist/esm/playbooks/top_down.brand-identity/playbook.definition.d.ts +4 -1
  99. package/dist/esm/playbooks/top_down.brand-identity/playbook.definition.d.ts.map +1 -1
  100. package/dist/esm/playbooks/top_down.brand-identity/playbook.definition.js +11 -3
  101. package/dist/esm/playbooks/top_down.brand-identity/playbook.definition.js.map +1 -1
  102. package/dist/esm/playbooks/top_down.brand-name-research/playbook.definition.d.ts.map +1 -1
  103. package/dist/esm/playbooks/top_down.brand-name-research/playbook.definition.js +1 -1
  104. package/dist/esm/playbooks/top_down.brand-name-research/playbook.definition.js.map +1 -1
  105. package/dist/esm/playbooks/top_down.brand-name-screening-produce/playbook.definition.d.ts.map +1 -1
  106. package/dist/esm/playbooks/top_down.brand-name-screening-produce/playbook.definition.js +6 -4
  107. package/dist/esm/playbooks/top_down.brand-name-screening-produce/playbook.definition.js.map +1 -1
  108. package/dist/esm/playbooks/top_down.brand-naming/playbook.definition.d.ts +3 -1
  109. package/dist/esm/playbooks/top_down.brand-naming/playbook.definition.d.ts.map +1 -1
  110. package/dist/esm/playbooks/top_down.brand-naming/playbook.definition.js +4 -1
  111. package/dist/esm/playbooks/top_down.brand-naming/playbook.definition.js.map +1 -1
  112. package/dist/esm/playbooks/top_down.business-model/playbook.definition.d.ts +10 -1
  113. package/dist/esm/playbooks/top_down.business-model/playbook.definition.d.ts.map +1 -1
  114. package/dist/esm/playbooks/top_down.business-model/playbook.definition.js +36 -13
  115. package/dist/esm/playbooks/top_down.business-model/playbook.definition.js.map +1 -1
  116. package/dist/esm/playbooks/top_down.capability-map/playbook.definition.d.ts +8 -2
  117. package/dist/esm/playbooks/top_down.capability-map/playbook.definition.d.ts.map +1 -1
  118. package/dist/esm/playbooks/top_down.capability-map/playbook.definition.js +7 -1
  119. package/dist/esm/playbooks/top_down.capability-map/playbook.definition.js.map +1 -1
  120. package/dist/esm/playbooks/top_down.compliance-analysis/playbook.definition.d.ts +4 -1
  121. package/dist/esm/playbooks/top_down.compliance-analysis/playbook.definition.d.ts.map +1 -1
  122. package/dist/esm/playbooks/top_down.compliance-analysis/playbook.definition.js +34 -6
  123. package/dist/esm/playbooks/top_down.compliance-analysis/playbook.definition.js.map +1 -1
  124. package/dist/esm/playbooks/top_down.compliance-conception/playbook.definition.d.ts +5 -2
  125. package/dist/esm/playbooks/top_down.compliance-conception/playbook.definition.d.ts.map +1 -1
  126. package/dist/esm/playbooks/top_down.compliance-conception/playbook.definition.js +4 -3
  127. package/dist/esm/playbooks/top_down.compliance-conception/playbook.definition.js.map +1 -1
  128. package/dist/esm/playbooks/top_down.compliance-evidence-adequacy/playbook.definition.d.ts.map +1 -1
  129. package/dist/esm/playbooks/top_down.compliance-evidence-adequacy/playbook.definition.js +2 -2
  130. package/dist/esm/playbooks/top_down.compliance-evidence-adequacy/playbook.definition.js.map +1 -1
  131. package/dist/esm/playbooks/top_down.compliance-posture/playbook.definition.d.ts +22 -10
  132. package/dist/esm/playbooks/top_down.compliance-posture/playbook.definition.d.ts.map +1 -1
  133. package/dist/esm/playbooks/top_down.compliance-posture/playbook.definition.js +39 -29
  134. package/dist/esm/playbooks/top_down.compliance-posture/playbook.definition.js.map +1 -1
  135. package/dist/esm/playbooks/top_down.compliance-research/playbook.definition.d.ts.map +1 -1
  136. package/dist/esm/playbooks/top_down.compliance-research/playbook.definition.js.map +1 -1
  137. package/dist/esm/playbooks/top_down.definition/playbook.definition.d.ts +8 -3
  138. package/dist/esm/playbooks/top_down.definition/playbook.definition.d.ts.map +1 -1
  139. package/dist/esm/playbooks/top_down.definition/playbook.definition.js +16 -7
  140. package/dist/esm/playbooks/top_down.definition/playbook.definition.js.map +1 -1
  141. package/dist/esm/playbooks/top_down.expert-personas/playbook.definition.d.ts.map +1 -1
  142. package/dist/esm/playbooks/top_down.expert-personas/playbook.definition.js.map +1 -1
  143. package/dist/esm/playbooks/top_down.feature-drafts/playbook.definition.d.ts.map +1 -1
  144. package/dist/esm/playbooks/top_down.feature-drafts/playbook.definition.js.map +1 -1
  145. package/dist/esm/playbooks/top_down.market-analysis/playbook.definition.d.ts.map +1 -1
  146. package/dist/esm/playbooks/top_down.market-analysis/playbook.definition.js.map +1 -1
  147. package/dist/esm/playbooks/top_down.market-evidence-adequacy/playbook.definition.d.ts.map +1 -1
  148. package/dist/esm/playbooks/top_down.market-evidence-adequacy/playbook.definition.js +2 -2
  149. package/dist/esm/playbooks/top_down.market-evidence-adequacy/playbook.definition.js.map +1 -1
  150. package/dist/esm/playbooks/top_down.market-research/playbook.definition.d.ts.map +1 -1
  151. package/dist/esm/playbooks/top_down.market-research/playbook.definition.js.map +1 -1
  152. package/dist/esm/playbooks/top_down.market-snapshot-produce/playbook.definition.d.ts.map +1 -1
  153. package/dist/esm/playbooks/top_down.market-snapshot-produce/playbook.definition.js +1 -1
  154. package/dist/esm/playbooks/top_down.market-snapshot-produce/playbook.definition.js.map +1 -1
  155. package/dist/esm/playbooks/top_down.phase-gate/playbook.definition.d.ts.map +1 -1
  156. package/dist/esm/playbooks/top_down.phase-gate/playbook.definition.js +13 -5
  157. package/dist/esm/playbooks/top_down.phase-gate/playbook.definition.js.map +1 -1
  158. package/dist/esm/playbooks/top_down.requirements-definition/playbook.definition.d.ts +3 -7
  159. package/dist/esm/playbooks/top_down.requirements-definition/playbook.definition.d.ts.map +1 -1
  160. package/dist/esm/playbooks/top_down.requirements-definition/playbook.definition.js +12 -14
  161. package/dist/esm/playbooks/top_down.requirements-definition/playbook.definition.js.map +1 -1
  162. package/dist/esm/playbooks/top_down.risk-register/playbook.definition.d.ts +3 -0
  163. package/dist/esm/playbooks/top_down.risk-register/playbook.definition.d.ts.map +1 -1
  164. package/dist/esm/playbooks/top_down.risk-register/playbook.definition.js +2 -1
  165. package/dist/esm/playbooks/top_down.risk-register/playbook.definition.js.map +1 -1
  166. package/dist/esm/playbooks/top_down.scope-roadmap/playbook.definition.d.ts +3 -1
  167. package/dist/esm/playbooks/top_down.scope-roadmap/playbook.definition.d.ts.map +1 -1
  168. package/dist/esm/playbooks/top_down.scope-roadmap/playbook.definition.js +2 -1
  169. package/dist/esm/playbooks/top_down.scope-roadmap/playbook.definition.js.map +1 -1
  170. package/dist/esm/playbooks/top_down.service-method/playbook.definition.d.ts +4 -1
  171. package/dist/esm/playbooks/top_down.service-method/playbook.definition.d.ts.map +1 -1
  172. package/dist/esm/playbooks/top_down.service-method/playbook.definition.js +14 -1
  173. package/dist/esm/playbooks/top_down.service-method/playbook.definition.js.map +1 -1
  174. package/dist/esm/playbooks/top_down.value-proposition/playbook.definition.d.ts +3 -1
  175. package/dist/esm/playbooks/top_down.value-proposition/playbook.definition.d.ts.map +1 -1
  176. package/dist/esm/playbooks/top_down.value-proposition/playbook.definition.js +4 -2
  177. package/dist/esm/playbooks/top_down.value-proposition/playbook.definition.js.map +1 -1
  178. package/dist/esm/playbooks/top_down.vision-elicitation/playbook.definition.d.ts +34 -1
  179. package/dist/esm/playbooks/top_down.vision-elicitation/playbook.definition.d.ts.map +1 -1
  180. package/dist/esm/playbooks/top_down.vision-elicitation/playbook.definition.js +35 -17
  181. package/dist/esm/playbooks/top_down.vision-elicitation/playbook.definition.js.map +1 -1
  182. package/dist/esm/source-anchor-grammar.d.ts.map +1 -1
  183. package/dist/esm/source-anchor-grammar.js.map +1 -1
  184. package/dist/knowledge/assurance-authority-bases/wildo-safe-baseline-v1/authority-basis.json +1 -1
  185. package/dist/knowledge/assurance-authority-bases/wildo-safe-baseline-v1/external-framework-mapping.json +1 -1
  186. package/dist/knowledge/manifest.json +7 -7
  187. package/dist/knowledge/playbooks/bottom_up.assemble-verify/method.md +6 -0
  188. package/dist/knowledge/playbooks/bottom_up.assemble-verify/playbook.json +4 -4
  189. package/dist/knowledge/playbooks/bottom_up.build/method.md +12 -2
  190. package/dist/knowledge/playbooks/bottom_up.build/playbook.json +5 -3
  191. package/dist/knowledge/playbooks/bottom_up.build-decompose/evaluation-protocol.json +1 -1
  192. package/dist/knowledge/playbooks/bottom_up.build-decompose/evaluation-treatment.json +1 -1
  193. package/dist/knowledge/playbooks/bottom_up.build-decompose/method.md +439 -27
  194. package/dist/knowledge/playbooks/bottom_up.build-decompose/playbook.json +15 -4
  195. package/dist/knowledge/playbooks/bottom_up.build-dispatch/method.md +203 -7
  196. package/dist/knowledge/playbooks/bottom_up.build-dispatch/playbook.json +2 -5
  197. package/dist/knowledge/playbooks/bottom_up.build-scale/playbook.json +1 -0
  198. package/dist/knowledge/playbooks/bottom_up.capability-composition/playbook.json +1 -0
  199. package/dist/knowledge/playbooks/bottom_up.conception/playbook.json +1 -0
  200. package/dist/knowledge/playbooks/bottom_up.documentation-plan/method.md +2 -2
  201. package/dist/knowledge/playbooks/bottom_up.documentation-plan/playbook.json +2 -1
  202. package/dist/knowledge/playbooks/bottom_up.domain-plan/evaluation-protocol.json +1 -1
  203. package/dist/knowledge/playbooks/bottom_up.domain-plan/evaluation-treatment.json +1 -1
  204. package/dist/knowledge/playbooks/bottom_up.domain-plan/method.md +104 -2
  205. package/dist/knowledge/playbooks/bottom_up.domain-plan/playbook.json +8 -4
  206. package/dist/knowledge/playbooks/bottom_up.experience-plan/method.md +59 -4
  207. package/dist/knowledge/playbooks/bottom_up.experience-plan/playbook.json +18 -6
  208. package/dist/knowledge/playbooks/bottom_up.foundation/method.md +121 -24
  209. package/dist/knowledge/playbooks/bottom_up.foundation/playbook.json +51 -7
  210. package/dist/knowledge/playbooks/bottom_up.integration-plan/method.md +15 -8
  211. package/dist/knowledge/playbooks/bottom_up.integration-plan/playbook.json +2 -1
  212. package/dist/knowledge/playbooks/bottom_up.maturity-reading/method.md +10 -2
  213. package/dist/knowledge/playbooks/bottom_up.maturity-reading/playbook.json +4 -3
  214. package/dist/knowledge/playbooks/bottom_up.placement-plan/method.md +34 -0
  215. package/dist/knowledge/playbooks/bottom_up.placement-plan/playbook.json +9 -2
  216. package/dist/knowledge/playbooks/bottom_up.website-plan/playbook.json +1 -0
  217. package/dist/knowledge/playbooks/cross_cutting.application-creation/method.md +27 -12
  218. package/dist/knowledge/playbooks/cross_cutting.application-creation/playbook.json +11 -5
  219. package/dist/knowledge/playbooks/cross_cutting.compliance/method.md +4 -4
  220. package/dist/knowledge/playbooks/cross_cutting.compliance/playbook.json +7 -2
  221. package/dist/knowledge/playbooks/cross_cutting.feature-development/playbook.json +1 -0
  222. package/dist/knowledge/playbooks/cross_cutting.refinement/method.md +6 -6
  223. package/dist/knowledge/playbooks/cross_cutting.refinement/playbook.json +3 -4
  224. package/dist/knowledge/playbooks/refinement.compliance-document-candidate/evaluation-protocol.json +1 -1
  225. package/dist/knowledge/playbooks/refinement.compliance-document-candidate/evaluation-treatment.json +1 -1
  226. package/dist/knowledge/playbooks/refinement.compliance-document-candidate/method.md +56 -5
  227. package/dist/knowledge/playbooks/refinement.compliance-document-candidate/playbook.json +3 -2
  228. package/dist/knowledge/playbooks/refinement.document-facts/method.md +6 -4
  229. package/dist/knowledge/playbooks/refinement.document-facts/playbook.json +5 -1
  230. package/dist/knowledge/playbooks/refinement.feature-contribution/playbook.json +8 -1
  231. package/dist/knowledge/playbooks/refinement.governance-document-candidate/playbook.json +1 -0
  232. package/dist/knowledge/playbooks/top_down.brand-identity/evaluation-protocol.json +1 -1
  233. package/dist/knowledge/playbooks/top_down.brand-identity/evaluation-treatment.json +1 -1
  234. package/dist/knowledge/playbooks/top_down.brand-identity/playbook.json +15 -3
  235. package/dist/knowledge/playbooks/top_down.brand-name-research/method.md +11 -4
  236. package/dist/knowledge/playbooks/top_down.brand-name-research/playbook.json +3 -2
  237. package/dist/knowledge/playbooks/top_down.brand-name-screening-produce/evaluation-protocol.json +1 -1
  238. package/dist/knowledge/playbooks/top_down.brand-name-screening-produce/evaluation-treatment.json +1 -1
  239. package/dist/knowledge/playbooks/top_down.brand-name-screening-produce/method.md +16 -6
  240. package/dist/knowledge/playbooks/top_down.brand-name-screening-produce/playbook.json +3 -2
  241. package/dist/knowledge/playbooks/top_down.brand-naming/playbook.json +5 -1
  242. package/dist/knowledge/playbooks/top_down.business-model/evaluation-protocol.json +1 -1
  243. package/dist/knowledge/playbooks/top_down.business-model/evaluation-treatment.json +1 -1
  244. package/dist/knowledge/playbooks/top_down.business-model/method.md +43 -11
  245. package/dist/knowledge/playbooks/top_down.business-model/playbook.json +24 -8
  246. package/dist/knowledge/playbooks/top_down.capability-map/playbook.json +6 -2
  247. package/dist/knowledge/playbooks/top_down.compliance-analysis/method.md +1 -1
  248. package/dist/knowledge/playbooks/top_down.compliance-analysis/playbook.json +49 -14
  249. package/dist/knowledge/playbooks/top_down.compliance-conception/method.md +3 -3
  250. package/dist/knowledge/playbooks/top_down.compliance-conception/playbook.json +6 -2
  251. package/dist/knowledge/playbooks/top_down.compliance-evidence-adequacy/method.md +20 -0
  252. package/dist/knowledge/playbooks/top_down.compliance-evidence-adequacy/playbook.json +4 -3
  253. package/dist/knowledge/playbooks/top_down.compliance-posture/evaluation-protocol.json +1 -1
  254. package/dist/knowledge/playbooks/top_down.compliance-posture/evaluation-treatment.json +1 -1
  255. package/dist/knowledge/playbooks/top_down.compliance-posture/method.md +69 -65
  256. package/dist/knowledge/playbooks/top_down.compliance-posture/playbook.json +11 -7
  257. package/dist/knowledge/playbooks/top_down.compliance-research/playbook.json +1 -0
  258. package/dist/knowledge/playbooks/top_down.definition/method.md +3 -1
  259. package/dist/knowledge/playbooks/top_down.definition/playbook.json +11 -3
  260. package/dist/knowledge/playbooks/top_down.expert-personas/playbook.json +1 -0
  261. package/dist/knowledge/playbooks/top_down.feature-drafts/playbook.json +1 -0
  262. package/dist/knowledge/playbooks/top_down.market-analysis/playbook.json +1 -0
  263. package/dist/knowledge/playbooks/top_down.market-evidence-adequacy/method.md +4 -2
  264. package/dist/knowledge/playbooks/top_down.market-evidence-adequacy/playbook.json +4 -3
  265. package/dist/knowledge/playbooks/top_down.market-research/playbook.json +1 -0
  266. package/dist/knowledge/playbooks/top_down.market-snapshot-produce/method.md +3 -0
  267. package/dist/knowledge/playbooks/top_down.market-snapshot-produce/playbook.json +3 -2
  268. package/dist/knowledge/playbooks/top_down.phase-gate/evaluation-protocol.json +1 -1
  269. package/dist/knowledge/playbooks/top_down.phase-gate/evaluation-treatment.json +1 -1
  270. package/dist/knowledge/playbooks/top_down.phase-gate/playbook.json +1 -0
  271. package/dist/knowledge/playbooks/top_down.requirements-definition/playbook.json +10 -6
  272. package/dist/knowledge/playbooks/top_down.risk-register/method.md +7 -0
  273. package/dist/knowledge/playbooks/top_down.risk-register/playbook.json +5 -1
  274. package/dist/knowledge/playbooks/top_down.scope-roadmap/playbook.json +6 -1
  275. package/dist/knowledge/playbooks/top_down.service-method/method.md +19 -1
  276. package/dist/knowledge/playbooks/top_down.service-method/playbook.json +16 -4
  277. package/dist/knowledge/playbooks/top_down.value-proposition/method.md +5 -2
  278. package/dist/knowledge/playbooks/top_down.value-proposition/playbook.json +9 -3
  279. package/dist/knowledge/playbooks/top_down.vision-elicitation/evaluation-protocol.json +1 -1
  280. package/dist/knowledge/playbooks/top_down.vision-elicitation/evaluation-treatment.json +1 -1
  281. package/dist/knowledge/playbooks/top_down.vision-elicitation/method.md +17 -2
  282. package/dist/knowledge/playbooks/top_down.vision-elicitation/playbook.json +59 -15
  283. package/dist/knowledge/references/application-documentation-chapters.config.md +45 -10
  284. package/dist/knowledge/references/application-documentation-plan.config.md +2 -2
  285. package/dist/knowledge/references/application-maturity.config.md +27 -1
  286. package/dist/knowledge/references/backend.inbound-channels.attachment-adoption.md +4 -2
  287. package/dist/knowledge/references/backend.inbound-channels.handler-definition.md +52 -11
  288. package/dist/knowledge/references/backend.inbound-handlers.definition.md +38 -1
  289. package/dist/knowledge/references/brand.name-screening.config.md +30 -3
  290. package/dist/knowledge/references/build-plan.task-graph.config.md +200 -4
  291. package/dist/knowledge/references/business-model.pricing-plan.config.md +12 -9
  292. package/dist/knowledge/references/business-model.snapshot.config.md +29 -2
  293. package/dist/knowledge/references/business-model.snapshot.validation.md +11 -8
  294. package/dist/knowledge/references/companion.introspection.behaviors.market.md +3 -0
  295. package/dist/knowledge/references/companion.market.generation-service.md +46 -5
  296. package/dist/knowledge/references/companion.market.prompt-renderer.md +1 -1
  297. package/dist/knowledge/references/companion.technical-doc.service.md +195 -63
  298. package/dist/knowledge/references/domain-plan.record-partition.md +105 -0
  299. package/dist/knowledge/references/engine.client-bundle.allow-list.md +3 -1
  300. package/dist/knowledge/references/engine.saas-technical-doc.config.md +69 -15
  301. package/dist/knowledge/references/example.authorization.application-roles.office-and-field.md +10 -0
  302. package/dist/knowledge/references/example.backend.addon-wiring.module.md +6 -0
  303. package/dist/knowledge/references/example.backend.custom-operation.declared-refusal-code.md +41 -0
  304. package/dist/knowledge/references/example.backend.custom-operation.external-effect-reservation.md +107 -0
  305. package/dist/knowledge/references/example.blueprint.definition.internal-tool.md +4 -2
  306. package/dist/knowledge/references/example.flows-actors.chat-assistant.md +8 -5
  307. package/dist/knowledge/references/example.infra.environment-config.local.md +13 -66
  308. package/dist/knowledge/references/example.module.companion-exports.full.md +1 -0
  309. package/dist/knowledge/references/example.module.relationships.actor-edge-back-to-scope-owner.md +35 -35
  310. package/dist/knowledge/references/example.navigation.one-entry-per-concept.md +47 -0
  311. package/dist/knowledge/references/example.organization-identity.system-of-record-partitions.md +18 -0
  312. package/dist/knowledge/references/example.provider.backend-module-shape.md +28 -4
  313. package/dist/knowledge/references/example.resource.add-resource.module-factory-map.md +0 -4
  314. package/dist/knowledge/references/example.resource.custom-view.backend-refusal.md +75 -0
  315. package/dist/knowledge/references/example.resource.status-lifecycle.quote.md +8 -7
  316. package/dist/knowledge/references/example.resource.ui-behavior.operation-icon.md +37 -2
  317. package/dist/knowledge/references/example.resource.ui-behavior.record-template.md +0 -1
  318. package/dist/knowledge/references/example.resource.ui-behavior.surface-decision.md +1 -1
  319. package/dist/knowledge/references/example.resource.ui-behavior.workflow-record-page.md +212 -0
  320. package/dist/knowledge/references/example.subject-export.portability-archive.md +42 -0
  321. package/dist/knowledge/references/example.views.app-level.workflow-home.md +238 -0
  322. package/dist/knowledge/references/example.website.demo.complete-items.md +3 -3
  323. package/dist/knowledge/references/example.website.pricing.audit-payloads.md +38 -0
  324. package/dist/knowledge/references/example.website.pricing.catalog-load.md +77 -0
  325. package/dist/knowledge/references/example.website.pricing.offers.md +43 -0
  326. package/dist/knowledge/references/example.website.pricing.plans-section.md +20 -0
  327. package/dist/knowledge/references/example.website.pricing.plans.md +88 -0
  328. package/dist/knowledge/references/example.website.section.stats.md +1 -1
  329. package/dist/knowledge/references/experience-plan.config.md +111 -1
  330. package/dist/knowledge/references/external-connectors.frontend-provider-consent-classification.md +2 -0
  331. package/dist/knowledge/references/external-connectors.models.file-storage-adapter.md +8 -1
  332. package/dist/knowledge/references/external-connectors.models.hook-signature-algorithms.md +104 -0
  333. package/dist/knowledge/references/external-connectors.models.oauth2-audiences.md +11 -6
  334. package/dist/knowledge/references/external-connectors.models.oauth2-incremental-consent.md +165 -0
  335. package/dist/knowledge/references/external-connectors.models.rest-operation-contract.md +1035 -19
  336. package/dist/knowledge/references/external-connectors.private.provider-compliance-state-collector.md +36 -0
  337. package/dist/knowledge/references/external-connectors.private.provider-configuration-check.md +69 -0
  338. package/dist/knowledge/references/integration-plan.config.md +7 -7
  339. package/dist/knowledge/references/placement-plan.config.md +19 -0
  340. package/dist/knowledge/references/platform.config.backing-services.md +9 -11
  341. package/dist/knowledge/references/platform.config.environment.deployment.md +133 -8
  342. package/dist/knowledge/references/platform.config.infra-provider-resolution.md +3 -3
  343. package/dist/knowledge/references/platform.config.infrastructure-host.md +0 -1
  344. package/dist/knowledge/references/platform.config.platform-key-management.md +84 -8
  345. package/dist/knowledge/references/platform.config.saas.md +20 -18
  346. package/dist/knowledge/references/presets.3d.frame-style-resolution.md +65 -0
  347. package/dist/knowledge/references/presets.layouts-2d.authoring.md +1 -1
  348. package/dist/knowledge/references/presets.models.field-form-control-variant.md +32 -0
  349. package/dist/knowledge/references/presets.models.labelling.sections.md +39 -0
  350. package/dist/knowledge/references/presets.models.surface-policy.defaults.md +3 -3
  351. package/dist/knowledge/references/presets.models.surface-variant.md +5 -4
  352. package/dist/knowledge/references/presets.themes.compose-theme.md +2 -1
  353. package/dist/knowledge/references/requirements.non-functional-requirement.config.md +4 -4
  354. package/dist/knowledge/references/requirements.snapshot.config.md +2 -3
  355. package/dist/knowledge/references/saas.approval-seals.admin-endpoints.md +29 -2
  356. package/dist/knowledge/references/saas.backend.a2a.token-budget.md +11 -4
  357. package/dist/knowledge/references/saas.backend.actor-execution-continuation.md +21 -0
  358. package/dist/knowledge/references/saas.backend.app-config.backend-authored.md +5 -1
  359. package/dist/knowledge/references/saas.backend.application-initialization.assembly.md +1 -1
  360. package/dist/knowledge/references/saas.backend.authorization.role-ceiling.md +13 -1
  361. package/dist/knowledge/references/saas.backend.custom-operation.authoritative-fields.md +4 -1
  362. package/dist/knowledge/references/saas.backend.custom-operation.core-write-precondition.md +38 -0
  363. package/dist/knowledge/references/saas.backend.custom-operation.external-effect-reservation.md +109 -0
  364. package/dist/knowledge/references/saas.backend.custom-operation.hook-transaction-posture.md +43 -0
  365. package/dist/knowledge/references/saas.backend.document-sequence.issue-in-operation.md +1 -1
  366. package/dist/knowledge/references/saas.backend.document-sequence.raise-floor.md +62 -13
  367. package/dist/knowledge/references/saas.backend.domain-module.md +30 -1
  368. package/dist/knowledge/references/saas.backend.flows-actors.a2a-task-surface.md +26 -3
  369. package/dist/knowledge/references/saas.backend.flows-actors.chat-reply-handler.md +13 -1
  370. package/dist/knowledge/references/saas.backend.flows-actors.function-tool.md +363 -2
  371. package/dist/knowledge/references/saas.backend.flows-actors.invoke-agent.md +5 -3
  372. package/dist/knowledge/references/saas.backend.flows-actors.resource-read-tool.md +1 -1
  373. package/dist/knowledge/references/saas.backend.flows-actors.resource-write-tool.md +9 -4
  374. package/dist/knowledge/references/saas.backend.flows.start-flow-method.md +2 -1
  375. package/dist/knowledge/references/saas.backend.privacy.subject-export-archive.md +26 -0
  376. package/dist/knowledge/references/saas.backend.providers.connection-target-credential-resolution.md +21 -19
  377. package/dist/knowledge/references/saas.backend.system-access-service.md +159 -4
  378. package/dist/knowledge/references/saas.config.content-security-policy.md +26 -9
  379. package/dist/knowledge/references/saas.data-seeding.definition-input.md +1 -1
  380. package/dist/knowledge/references/saas.data-seeding.modes.md +4 -1
  381. package/dist/knowledge/references/saas.data-seeding.row-reference.md +2 -4
  382. package/dist/knowledge/references/saas.external-providers.backend-provider-loader.md +6 -0
  383. package/dist/knowledge/references/saas.external-providers.backend-provider-registry.runtime-filter.md +2 -0
  384. package/dist/knowledge/references/saas.frontend.chart-dashboard-view.md +43 -0
  385. package/dist/knowledge/references/saas.frontend.chart-dashboard.md +130 -0
  386. package/dist/knowledge/references/saas.frontend.chart-view.resource-chart-data.md +8 -4
  387. package/dist/knowledge/references/saas.frontend.collection-filter-presets.md +76 -9
  388. package/dist/knowledge/references/saas.frontend.command-menu.search-resource.md +3 -3
  389. package/dist/knowledge/references/saas.frontend.errors.backend-refusal.md +96 -0
  390. package/dist/knowledge/references/saas.frontend.execution-view.definition.md +40 -0
  391. package/dist/knowledge/references/saas.frontend.launcher.item-refs.md +4 -0
  392. package/dist/knowledge/references/saas.frontend.linked-conversations-embed.md +3 -5
  393. package/dist/knowledge/references/saas.frontend.record-page-parts.md +117 -0
  394. package/dist/knowledge/references/saas.frontend.related-resource-embeds.md +46 -16
  395. package/dist/knowledge/references/saas.frontend.related-resource-sections.md +6 -0
  396. package/dist/knowledge/references/saas.frontend.resource-header-title.md +1 -1
  397. package/dist/knowledge/references/saas.frontend.resource-layout-templates.md +43 -9
  398. package/dist/knowledge/references/saas.frontend.resource-operation-frontend-config.md +259 -15
  399. package/dist/knowledge/references/saas.frontend.resource-ui-behavior-config.md +4 -2
  400. package/dist/knowledge/references/saas.frontend.section-stages.md +63 -0
  401. package/dist/knowledge/references/saas.frontend.settings-hub.engine-destinations.md +42 -0
  402. package/dist/knowledge/references/saas.frontend.settings-hub.placement.md +6 -9
  403. package/dist/knowledge/references/saas.frontend.viewer-may-perform-operation.md +52 -0
  404. package/dist/knowledge/references/saas.models.agent-suspension.md +8 -8
  405. package/dist/knowledge/references/saas.models.audit-trails.actor-attribution.md +21 -0
  406. package/dist/knowledge/references/saas.models.auth.relationship-grantor-authentication.md +2 -2
  407. package/dist/knowledge/references/saas.models.config.declared-type-renames.md +246 -0
  408. package/dist/knowledge/references/saas.models.config.organization-types.md +20 -0
  409. package/dist/knowledge/references/saas.models.conversation-threads.md +39 -3
  410. package/dist/knowledge/references/saas.models.crypto-keys.floors.md +10 -0
  411. package/dist/knowledge/references/saas.models.crypto-keys.local-provider.md +2 -0
  412. package/dist/knowledge/references/saas.models.crypto-keys.purpose-descriptor.md +39 -0
  413. package/dist/knowledge/references/saas.models.crypto-keys.purposes.md +7 -0
  414. package/dist/knowledge/references/saas.models.data-mode-read-list.md +0 -78
  415. package/dist/knowledge/references/saas.models.engine-capabilities.md +11 -2
  416. package/dist/knowledge/references/saas.models.engine-capabilities.required-provider-floor.md +3 -0
  417. package/dist/knowledge/references/saas.models.external-data-pipeline.md +15 -8
  418. package/dist/knowledge/references/saas.models.flows-actors.agent-behavior-report.md +13 -9
  419. package/dist/knowledge/references/saas.models.flows-actors.agent-configuration.md +29 -0
  420. package/dist/knowledge/references/saas.models.flows-actors.agent-operation-record.md +7 -0
  421. package/dist/knowledge/references/saas.models.flows-actors.human-decision-decider.md +8 -0
  422. package/dist/knowledge/references/saas.models.flows-actors.human-input-form.md +47 -12
  423. package/dist/knowledge/references/saas.models.flows-actors.operation-approval-requirement.md +31 -0
  424. package/dist/knowledge/references/saas.models.flows-actors.review-deadlines-declaration.md +3 -3
  425. package/dist/knowledge/references/saas.models.flows.runnable-model.md +21 -2
  426. package/dist/knowledge/references/saas.models.guidance-flow.md +1 -1
  427. package/dist/knowledge/references/saas.models.http-api-binding.md +19 -8
  428. package/dist/knowledge/references/saas.models.human-decision-review-marker.md +1 -1
  429. package/dist/knowledge/references/saas.models.inbound-channels.md +71 -2
  430. package/dist/knowledge/references/saas.models.model-cost-accounting-config.md +1 -1
  431. package/dist/knowledge/references/saas.models.notifications.targets.md +3 -1
  432. package/dist/knowledge/references/saas.models.notifications.user-notification-definition.md +201 -15
  433. package/dist/knowledge/references/saas.models.organization-assigned-rows-declaration.md +2 -1
  434. package/dist/knowledge/references/saas.models.organization-own-rows-declaration.md +5 -2
  435. package/dist/knowledge/references/saas.models.organizations.identity-declaration.md +201 -0
  436. package/dist/knowledge/references/saas.models.organizations.organization-relationships.md +25 -3
  437. package/dist/knowledge/references/saas.models.organizations.relationship-invitations.md +6 -2
  438. package/dist/knowledge/references/saas.models.organizations.relationship-kinds.md +14 -0
  439. package/dist/knowledge/references/saas.models.organizations.relationship-record-separation.md +1 -0
  440. package/dist/knowledge/references/saas.models.privacy.data-residency.md +676 -0
  441. package/dist/knowledge/references/saas.models.privacy.legal-holds.md +46 -2
  442. package/dist/knowledge/references/saas.models.privacy.provider-capability-disclosure.md +6 -0
  443. package/dist/knowledge/references/saas.models.privacy.retention-binding.md +84 -1
  444. package/dist/knowledge/references/saas.models.privacy.retention-enforcement-record.md +10 -0
  445. package/dist/knowledge/references/saas.models.privacy.retention-schedule.md +5 -3
  446. package/dist/knowledge/references/saas.models.privacy.subject-data-recipients.md +2 -0
  447. package/dist/knowledge/references/saas.models.privacy.subject-export.md +134 -0
  448. package/dist/knowledge/references/saas.models.provider-capabilities.md +5 -0
  449. package/dist/knowledge/references/saas.models.providers.capability-resolution-mode.md +12 -6
  450. package/dist/knowledge/references/saas.models.providers.compliance-choice.md +15 -0
  451. package/dist/knowledge/references/saas.models.providers.processing-region-reach.md +132 -0
  452. package/dist/knowledge/references/saas.models.providers.processing-region-selection.md +139 -0
  453. package/dist/knowledge/references/saas.models.representative-activity.md +4 -0
  454. package/dist/knowledge/references/saas.models.resource-config.builder-parameters.md +107 -42
  455. package/dist/knowledge/references/saas.models.resource-config.operation-api-call.md +35 -0
  456. package/dist/knowledge/references/saas.models.resource-config.operation-auditable-event.md +4 -2
  457. package/dist/knowledge/references/saas.models.resource-config.operation-condition-parameters.md +56 -0
  458. package/dist/knowledge/references/saas.models.resource-config.operation-idempotency-key.md +16 -6
  459. package/dist/knowledge/references/saas.models.resource-config.operation-scope-admissions.md +38 -0
  460. package/dist/knowledge/references/saas.models.resource-config.resource-configuration.md +14 -16
  461. package/dist/knowledge/references/saas.models.resource-config.resources-registry.md +2 -2
  462. package/dist/knowledge/references/saas.models.resource-config.retention-policy.md +21 -0
  463. package/dist/knowledge/references/saas.models.resource-config.system-access-policy.md +32 -15
  464. package/dist/knowledge/references/saas.models.resource-operation-display-risk.md +5 -4
  465. package/dist/knowledge/references/saas.models.roles.definition.md +12 -1
  466. package/dist/knowledge/references/saas.models.roles.organization-defaults.md +6 -0
  467. package/dist/knowledge/references/saas.models.schema-family-builder.md +17 -2
  468. package/dist/knowledge/references/saas.models.system-of-record-actions.md +65 -1
  469. package/dist/knowledge/references/saas.models.system-of-record-capabilities.md +3 -1
  470. package/dist/knowledge/references/saas.models.system-of-record-error-codes.md +16 -0
  471. package/dist/knowledge/references/saas.models.systems-of-record.md +75 -14
  472. package/dist/knowledge/references/saas.public-runtime.contract.md +41 -23
  473. package/dist/knowledge/references/saas.rag.retrieval-refusals.md +3 -2
  474. package/dist/knowledge/references/saas.specifications.assurance-program.contract.md +12 -4
  475. package/dist/knowledge/references/saas.specifications.companion-exports.contract.md +21 -2
  476. package/dist/knowledge/references/saas.specifications.engine-resource-sub-domain.md +105 -0
  477. package/dist/knowledge/references/saas.specifications.governed-document-release.contract.md +6 -2
  478. package/dist/knowledge/references/saas.specifications.resource-operation-spec.md +20 -3
  479. package/dist/knowledge/references/saas.specifications.resource-spec-factory.md +100 -71
  480. package/dist/knowledge/references/saas.specifications.translation-glossary.md +80 -0
  481. package/dist/knowledge/references/saas.website.astro.label-loader.md +44 -10
  482. package/dist/knowledge/references/saas.website.astro.runtime-helper.md +3 -2
  483. package/dist/knowledge/references/saas.website.blog.collection-config.md +36 -32
  484. package/dist/knowledge/references/saas.website.blog.cover-resolver.md +1 -1
  485. package/dist/knowledge/references/saas.website.blog.frontmatter.md +2 -2
  486. package/dist/knowledge/references/saas.website.blog.post-renderer.md +2 -2
  487. package/dist/knowledge/references/saas.website.blog.react-mdx-integration.md +26 -19
  488. package/dist/knowledge/references/saas.website.blog.react-mdx-query.md +1 -1
  489. package/dist/knowledge/references/saas.website.config.pricing-catalog-loader.md +3 -1
  490. package/dist/knowledge/references/saas.website.config.site-context-loader.md +6 -3
  491. package/dist/knowledge/references/saas.website.label-keys.format.md +3 -2
  492. package/dist/knowledge/references/saas.website.label-pack.validator.md +3 -1
  493. package/dist/knowledge/references/service-method.config.md +35 -2
  494. package/dist/knowledge/references/vision.constraint.config.md +4 -2
  495. package/dist/knowledge/references/zod.decorators.chainable-runtime.md +60 -0
  496. package/dist/knowledge/references/zod.decorators.data-categories.md +46 -46
  497. package/dist/knowledge/references/zod.decorators.decorator-vocabulary.md +24 -0
  498. package/dist/knowledge/references/zod.decorators.display-edit-modes.md +11 -0
  499. package/dist/knowledge/references/zod.decorators.file-schema.md +4 -3
  500. package/dist/knowledge/references/zod.decorators.rag-source.md +20 -20
  501. package/dist/knowledge/references/zod.decorators.schema-metadata.md +2 -0
  502. package/dist/knowledge/references/zod.decorators.shared-structural-methods.md +30 -24
  503. package/dist/knowledge/references/zod.decorators.shared-structural-params.md +63 -0
  504. package/dist/knowledge/references/zod.decorators.structural-lifecycle-params.md +63 -0
  505. package/dist/knowledge/references/zod.factories.bigdecimal.md +4 -4
  506. package/dist/knowledge/references/zod.factories.code.md +4 -4
  507. package/dist/knowledge/references/zod.factories.duration.md +4 -4
  508. package/dist/knowledge/references/zod.factories.money.md +4 -4
  509. package/dist/knowledge/references/zod.factories.phone.md +4 -4
  510. package/dist/knowledge/references/zod.factories.year-month.md +79 -0
  511. package/dist/knowledge/registries/assurance-authority-bases.json +1 -1
  512. package/dist/knowledge/registries/framework-topics.json +415 -2
  513. package/dist/knowledge/registries/playbooks.json +51 -39
  514. package/dist/knowledge/registries/source-tags.json +2412 -1604
  515. package/dist/knowledge/rules/database-migration-obligation.md +6 -7
  516. package/dist/knowledge/rules/live-context-door.md +1 -1
  517. package/dist/knowledge/skills/INDEX.md +3 -1
  518. package/dist/knowledge/skills/agent-work-review/references/framework-actor-execution-continuation-api.md +24 -0
  519. package/dist/knowledge/skills/agent-work-review/references/framework-agent-work-review-marker-api.md +1 -1
  520. package/dist/knowledge/skills/agent-work-review/references/framework-human-input-form-api.md +47 -12
  521. package/dist/knowledge/skills/application-consumer-documentation-authoring/SKILL.md +30 -19
  522. package/dist/knowledge/skills/application-consumer-documentation-authoring/references/framework-documentation-chapters-api.md +48 -13
  523. package/dist/knowledge/skills/application-consumer-documentation-authoring/references/source-and-ownership-routing.md +2 -2
  524. package/dist/knowledge/skills/application-database-migrations/SKILL.md +10 -11
  525. package/dist/knowledge/skills/application-database-migrations/references/postgresql-supported-surfaces.md +64 -0
  526. package/dist/knowledge/skills/application-database-migrations/references/postgresql-vs-mongodb-obligations.md +13 -11
  527. package/dist/knowledge/skills/application-roles-authoring/SKILL.md +28 -3
  528. package/dist/knowledge/skills/application-roles-authoring/references/framework-application-roles-api.md +18 -1
  529. package/dist/knowledge/skills/application-roles-authoring/references/office-and-field-worked-example.md +22 -1
  530. package/dist/knowledge/skills/authorization-unit-narrowing/SKILL.md +46 -2
  531. package/dist/knowledge/skills/authorization-unit-narrowing/references/framework-assigned-rows-declaration-api.md +5 -3
  532. package/dist/knowledge/skills/authorization-unit-narrowing/references/framework-organization-identity-declaration-api.md +247 -0
  533. package/dist/knowledge/skills/authorization-unit-narrowing/references/framework-own-rows-declaration-api.md +12 -5
  534. package/dist/knowledge/skills/backend-addon-wiring/SKILL.md +6 -0
  535. package/dist/knowledge/skills/backend-addon-wiring/references/framework-backend-bootstrap-api.md +31 -2
  536. package/dist/knowledge/skills/backend-custom-operation/SKILL.md +51 -14
  537. package/dist/knowledge/skills/backend-custom-operation/references/after-the-operation.md +4 -1
  538. package/dist/knowledge/skills/backend-custom-operation/references/declared-refusal-codes.md +95 -0
  539. package/dist/knowledge/skills/backend-custom-operation/references/framework-audit-log-event-api.md +2 -2
  540. package/dist/knowledge/skills/backend-custom-operation/references/framework-core-write-precondition-api.md +73 -0
  541. package/dist/knowledge/skills/backend-custom-operation/references/framework-error-handling-api.md +5 -0
  542. package/dist/knowledge/skills/backend-custom-operation/references/framework-external-effect-reservation-api.md +276 -0
  543. package/dist/knowledge/skills/backend-custom-operation/references/framework-hook-transaction-posture-api.md +79 -0
  544. package/dist/knowledge/skills/blueprint-authoring/SKILL.md +4 -2
  545. package/dist/knowledge/skills/brand-name-screening/SKILL.md +13 -2
  546. package/dist/knowledge/skills/brand-name-screening/references/framework-brand-name-screening-api.md +30 -3
  547. package/dist/knowledge/skills/chat-agent-conversations/SKILL.md +3 -0
  548. package/dist/knowledge/skills/chat-agent-conversations/references/framework-chat-conversations-api.md +13 -1
  549. package/dist/knowledge/skills/compliance-document-authoring/references/document-composition-privacy-notice.md +45 -4
  550. package/dist/knowledge/skills/compliance-document-authoring/references/framework-governed-document-after-drafting.md +17 -7
  551. package/dist/knowledge/skills/compliance-document-authoring/references/framework-provider-compliance-choice-api.md +859 -0
  552. package/dist/knowledge/skills/compliance-document-authoring/references/framework-recipient-disclosures.md +6 -0
  553. package/dist/knowledge/skills/compliance-document-authoring/references/framework-subject-data-recipients.md +2 -0
  554. package/dist/knowledge/skills/config-app-shell/SKILL.md +5 -1
  555. package/dist/knowledge/skills/config-app-shell/references/framework-command-menu-omnibox-api.md +3 -3
  556. package/dist/knowledge/skills/config-app-shell/references/framework-launcher-items-api.md +4 -0
  557. package/dist/knowledge/skills/config-design-system/SKILL.md +1 -1
  558. package/dist/knowledge/skills/config-design-system/references/framework-surface-policy-api.md +8 -7
  559. package/dist/knowledge/skills/config-design-system/references/framework-theme-composition-api.md +44 -1
  560. package/dist/knowledge/skills/config-navigation/SKILL.md +2 -0
  561. package/dist/knowledge/skills/config-navigation/references/navigation-configuration-map.md +5 -0
  562. package/dist/knowledge/skills/config-navigation/references/one-entry-per-concept.md +101 -0
  563. package/dist/knowledge/skills/config-saas/SKILL.md +2 -2
  564. package/dist/knowledge/skills/config-saas/references/compliance-declarations.md +40 -3
  565. package/dist/knowledge/skills/config-saas/references/framework-auditable-event-catalog.md +20 -1
  566. package/dist/knowledge/skills/config-saas/references/framework-capability-resolution-api.md +75 -11
  567. package/dist/knowledge/skills/config-saas/references/framework-connection-target-credentials.md +21 -19
  568. package/dist/knowledge/skills/config-saas/references/framework-content-security-policy-api.md +26 -9
  569. package/dist/knowledge/skills/config-saas/references/framework-key-management-api.md +197 -9
  570. package/dist/knowledge/skills/config-saas/references/framework-provider-capabilities-api.md +16 -2
  571. package/dist/knowledge/skills/config-saas/references/framework-systems-of-record-api.md +116 -16
  572. package/dist/knowledge/skills/config-saas/references/framework-wildo-saas-config-api.md +20 -18
  573. package/dist/knowledge/skills/config-saas/references/saas-config-scope.md +1 -1
  574. package/dist/knowledge/skills/config-saas-backend/SKILL.md +11 -1
  575. package/dist/knowledge/skills/config-saas-backend/references/framework-backend-authored-config-api.md +5 -1
  576. package/dist/knowledge/skills/config-saas-backend/references/framework-declared-type-renames-api.md +261 -0
  577. package/dist/knowledge/skills/config-saas-backend/references/framework-organization-types-api.md +20 -0
  578. package/dist/knowledge/skills/config-saas-backend/references/renaming-organization-and-user-types.md +69 -0
  579. package/dist/knowledge/skills/configure-billing/SKILL.md +6 -0
  580. package/dist/knowledge/skills/configure-billing/references/example-backend-provider-module-shape.md +28 -4
  581. package/dist/knowledge/skills/configure-billing/references/framework-backend-provider-reachability-api.md +2 -0
  582. package/dist/knowledge/skills/configure-billing/references/framework-subscription-behavior-policy.md +4 -1
  583. package/dist/knowledge/skills/electronic-signature-deliverables/SKILL.md +131 -0
  584. package/dist/knowledge/skills/electronic-signature-deliverables/references/what-makes-a-request-signed.md +61 -0
  585. package/dist/knowledge/skills/email-add-template/SKILL.md +1 -1
  586. package/dist/knowledge/skills/email-add-template/references/framework-email-attachments-and-limits.md +11 -8
  587. package/dist/knowledge/skills/email-add-template/references/framework-email-send-api.md +3 -2
  588. package/dist/knowledge/skills/flows-actors-a2a-exposure/SKILL.md +31 -9
  589. package/dist/knowledge/skills/flows-actors-a2a-exposure/references/framework-a2a-token-budget-api.md +11 -4
  590. package/dist/knowledge/skills/flows-actors-a2a-exposure/references/framework-flows-actors-a2a-contract.md +26 -3
  591. package/dist/knowledge/skills/flows-actors-autonomous-agents/SKILL.md +1 -1
  592. package/dist/knowledge/skills/flows-actors-autonomous-agents/references/binding-and-review.md +27 -0
  593. package/dist/knowledge/skills/flows-actors-chat-assistant/SKILL.md +18 -7
  594. package/dist/knowledge/skills/flows-actors-chat-assistant/examples/todo-assistant.example.md +8 -5
  595. package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-agent-behavior-reports-api.md +13 -9
  596. package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-agent-content-guardrails-api.md +44 -4
  597. package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-agent-operation-record-api.md +7 -0
  598. package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-agent-suspension-api.md +11 -9
  599. package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-audit-agent-attribution-api.md +21 -0
  600. package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-decision-deadlines-api.md +3 -3
  601. package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-flows-actors-realtime-catalog.md +7 -1
  602. package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-flows-actors-tool-api.md +375 -8
  603. package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-flows-actors-view-api.md +30 -1
  604. package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-model-spend-limits-api.md +36 -15
  605. package/dist/knowledge/skills/flows-actors-chat-assistant/references/framework-tool-dispatch-obligations-api.md +8 -0
  606. package/dist/knowledge/skills/flows-actors-declared-flow/SKILL.md +1 -1
  607. package/dist/knowledge/skills/flows-actors-declared-flow/references/framework-flow-model-api.md +21 -2
  608. package/dist/knowledge/skills/flows-actors-declared-flow/references/framework-start-flow-api.md +2 -1
  609. package/dist/knowledge/skills/flows-actors-llm-agent-invocation/SKILL.md +1 -1
  610. package/dist/knowledge/skills/flows-actors-llm-agent-invocation/references/framework-llm-agent-definition-api.md +33 -1
  611. package/dist/knowledge/skills/flows-actors-llm-agent-invocation/references/framework-llm-agent-invocation-api.md +5 -3
  612. package/dist/knowledge/skills/frontend-component-catalog/references/framework-component-catalog.md +3 -3
  613. package/dist/knowledge/skills/frontend-component-catalog/references/framework-component-usage.md +37 -14
  614. package/dist/knowledge/skills/guidance-onboarding-authoring/references/framework-guidance-flow-api.md +1 -1
  615. package/dist/knowledge/skills/i18n-label-generation/references/framework-labelling-sections-api.md +39 -0
  616. package/dist/knowledge/skills/i18n-rerun-pipeline/references/framework-labelling-sections-api.md +39 -0
  617. package/dist/knowledge/skills/i18n-translation-rerun/SKILL.md +31 -2
  618. package/dist/knowledge/skills/i18n-translation-rerun/references/framework-labelling-sections-api.md +39 -0
  619. package/dist/knowledge/skills/i18n-translation-rerun/references/framework-translation-glossary-api.md +87 -0
  620. package/dist/knowledge/skills/inbound-channels/SKILL.md +31 -9
  621. package/dist/knowledge/skills/inbound-channels/references/email-channel.md +16 -4
  622. package/dist/knowledge/skills/inbound-channels/references/framework-inbound-channel-api.md +169 -23
  623. package/dist/knowledge/skills/inbound-channels/references/framework-inbound-handler-api.md +38 -1
  624. package/dist/knowledge/skills/inbound-channels/references/inbound-delivery-lifecycle.md +43 -4
  625. package/dist/knowledge/skills/inbound-channels/references/receiving-email.md +15 -3
  626. package/dist/knowledge/skills/inbound-channels/references/sms-channel.md +93 -0
  627. package/dist/knowledge/skills/infra-environment-config/SKILL.md +125 -77
  628. package/dist/knowledge/skills/infra-environment-config/references/framework-backing-services-api.md +12 -14
  629. package/dist/knowledge/skills/infra-environment-config/references/framework-environment-deployment-api.md +133 -8
  630. package/dist/knowledge/skills/infra-environment-config/references/framework-infrastructure-host-api.md +0 -1
  631. package/dist/knowledge/skills/infra-environment-config/references/framework-platform-key-management-api.md +84 -8
  632. package/dist/knowledge/skills/layout-2d-adoption/references/framework-2d-layout-authoring-api.md +1 -1
  633. package/dist/knowledge/skills/layout-3d-adoption/references/framework-3d-focal-plane-settings-api.md +16 -0
  634. package/dist/knowledge/skills/layout-3d-adoption/references/framework-3d-frame-style-overrides-api.md +72 -0
  635. package/dist/knowledge/skills/layout-3d-adoption/references/manual-adoption-and-removal.md +2 -2
  636. package/dist/knowledge/skills/local-environment-bootstrap/SKILL.md +12 -9
  637. package/dist/knowledge/skills/local-environment-bootstrap/references/derived-artifact-currency.md +3 -3
  638. package/dist/knowledge/skills/local-environment-bootstrap/references/framework-upgrade-and-dependency-alignment.md +2 -2
  639. package/dist/knowledge/skills/local-environment-bootstrap/references/local-environment-troubleshooting.md +18 -10
  640. package/dist/knowledge/skills/local-environment-bootstrap/references/wildo-cli-bootstrap-commands.md +7 -7
  641. package/dist/knowledge/skills/market-companion-prompt-enrichment/SKILL.md +24 -2
  642. package/dist/knowledge/skills/market-companion-prompt-enrichment/references/framework-companion-behavior-api.md +33 -2
  643. package/dist/knowledge/skills/market-generation-cli/SKILL.md +47 -6
  644. package/dist/knowledge/skills/market-generation-cli/references/framework-market-generation-cli.md +61 -8
  645. package/dist/knowledge/skills/model-cost-attribution/SKILL.md +3 -1
  646. package/dist/knowledge/skills/model-cost-attribution/references/framework-model-cost-pricing-api.md +1 -1
  647. package/dist/knowledge/skills/model-cost-attribution/references/framework-work-unit-api.md +107 -42
  648. package/dist/knowledge/skills/module-companion-exports/SKILL.md +1 -0
  649. package/dist/knowledge/skills/module-companion-exports/references/companion-exports-by-package.md +21 -2
  650. package/dist/knowledge/skills/module-registration/references/framework-domain-modules-api.md +30 -1
  651. package/dist/knowledge/skills/module-relationships/SKILL.md +92 -91
  652. package/dist/knowledge/skills/organization-relationships/references/framework-organization-relationships-api.md +31 -5
  653. package/dist/knowledge/skills/organization-relationships/references/framework-relationship-grantor-authentication-api.md +2 -2
  654. package/dist/knowledge/skills/organization-relationships/references/framework-relationship-kinds-api.md +34 -0
  655. package/dist/knowledge/skills/organization-relationships/references/framework-relationship-record-separation-api.md +1 -0
  656. package/dist/knowledge/skills/organization-relationships/references/framework-representative-activity-api.md +4 -0
  657. package/dist/knowledge/skills/professional-qualifications/references/framework-operation-approval-requirement-api.md +31 -0
  658. package/dist/knowledge/skills/provider-backend-package/SKILL.md +255 -12
  659. package/dist/knowledge/skills/provider-backend-package/references/framework-optional-runtime-peers.md +4 -5
  660. package/dist/knowledge/skills/provider-backend-package/references/framework-provider-compliance-state-collector-api.md +96 -0
  661. package/dist/knowledge/skills/provider-backend-package/references/framework-provider-configuration-check-api.md +130 -0
  662. package/dist/knowledge/skills/provider-backend-package/references/framework-provider-file-storage-adapter-api.md +8 -1
  663. package/dist/knowledge/skills/provider-backend-package/references/framework-provider-inbound-endpoint-api.md +124 -3
  664. package/dist/knowledge/skills/provider-backend-package/references/framework-provider-incremental-consent-api.md +165 -0
  665. package/dist/knowledge/skills/provider-backend-package/references/framework-provider-loader-api.md +6 -0
  666. package/dist/knowledge/skills/provider-backend-package/references/framework-provider-processing-region-api.md +340 -0
  667. package/dist/knowledge/skills/provider-backend-package/references/framework-provider-shared-connection-api.md +11 -6
  668. package/dist/knowledge/skills/provider-frontend-file-picker/references/framework-frontend-provider-consent-api.md +2 -0
  669. package/dist/knowledge/skills/provider-frontend-module/SKILL.md +5 -2
  670. package/dist/knowledge/skills/provider-frontend-module/references/package-frontend-facets.md +1 -1
  671. package/dist/knowledge/skills/provider-operation-calls/SKILL.md +17 -3
  672. package/dist/knowledge/skills/provider-operation-calls/references/framework-rest-operation-contract-api.md +1035 -19
  673. package/dist/knowledge/skills/resource-add-field/SKILL.md +7 -0
  674. package/dist/knowledge/skills/resource-add-field/references/framework-field-cross-layer-api.md +322 -15
  675. package/dist/knowledge/skills/resource-add-resource/SKILL.md +9 -5
  676. package/dist/knowledge/skills/resource-add-resource/references/framework-engine-api-reference-categories-api.md +119 -0
  677. package/dist/knowledge/skills/resource-add-resource/references/framework-new-resource-core-config-api.md +107 -42
  678. package/dist/knowledge/skills/resource-chat-commands/SKILL.md +2 -1
  679. package/dist/knowledge/skills/resource-config-wiring/SKILL.md +71 -5
  680. package/dist/knowledge/skills/resource-config-wiring/references/framework-collection-operation-declarations.md +2 -2
  681. package/dist/knowledge/skills/resource-config-wiring/references/framework-operation-approval-api.md +48 -0
  682. package/dist/knowledge/skills/resource-config-wiring/references/framework-operation-audit-api.md +33 -7
  683. package/dist/knowledge/skills/resource-config-wiring/references/framework-operation-bulk-api.md +15 -11
  684. package/dist/knowledge/skills/resource-config-wiring/references/framework-operation-idempotency-key-api.md +66 -27
  685. package/dist/knowledge/skills/resource-config-wiring/references/framework-personal-data-declaration-api.md +140 -58
  686. package/dist/knowledge/skills/resource-config-wiring/references/framework-retention-policy-operations.md +7 -2
  687. package/dist/knowledge/skills/resource-config-wiring/references/framework-role-ceiling-api.md +34 -10
  688. package/dist/knowledge/skills/resource-config-wiring/references/framework-saas-models-operation-scope-enums-api.md +5 -4
  689. package/dist/knowledge/skills/resource-config-wiring/references/framework-saas-models-resource-config-api.md +158 -138
  690. package/dist/knowledge/skills/resource-config-wiring/references/framework-scope-admissions-api.md +52 -0
  691. package/dist/knowledge/skills/resource-config-wiring/references/framework-system-access-reads-api.md +205 -19
  692. package/dist/knowledge/skills/resource-config-wiring/references/framework-user-notifications-api.md +253 -25
  693. package/dist/knowledge/skills/resource-custom-view/SKILL.md +126 -1
  694. package/dist/knowledge/skills/resource-custom-view/references/custom-view-contracts.md +259 -15
  695. package/dist/knowledge/skills/resource-custom-view/references/framework-backend-refusal-api.md +110 -0
  696. package/dist/knowledge/skills/resource-external-data/SKILL.md +46 -12
  697. package/dist/knowledge/skills/resource-external-data/references/bidirectional-pipelines.md +1 -1
  698. package/dist/knowledge/skills/resource-external-data/references/framework-external-data-pipeline-api.md +15 -8
  699. package/dist/knowledge/skills/resource-external-data/references/framework-http-api-binding-api.md +19 -8
  700. package/dist/knowledge/skills/resource-external-data/references/framework-system-of-record-capabilities-api.md +3 -1
  701. package/dist/knowledge/skills/resource-external-data/references/local-test-doubles.md +121 -0
  702. package/dist/knowledge/skills/resource-external-data/references/outbound-pipelines.md +1 -1
  703. package/dist/knowledge/skills/resource-external-data/references/partition-from-the-domain-plan.md +230 -0
  704. package/dist/knowledge/skills/resource-external-data/references/presenting-a-copy-and-a-read-through.md +73 -0
  705. package/dist/knowledge/skills/resource-external-data/references/read-through-writes.md +26 -5
  706. package/dist/knowledge/skills/resource-external-data/references/system-of-record-actions.md +76 -6
  707. package/dist/knowledge/skills/resource-mcp-tool-exposure/SKILL.md +8 -0
  708. package/dist/knowledge/skills/resource-rag-source-fields/SKILL.md +12 -9
  709. package/dist/knowledge/skills/resource-rag-source-fields/references/framework-embeddings-capability-api.md +11 -2
  710. package/dist/knowledge/skills/resource-rag-source-fields/references/framework-rag-retrieval-api.md +29 -2
  711. package/dist/knowledge/skills/resource-rag-source-fields/references/framework-rag-source-decorator-api.md +20 -20
  712. package/dist/knowledge/skills/resource-retention-binding/SKILL.md +18 -2
  713. package/dist/knowledge/skills/resource-retention-binding/references/framework-legal-holds-api.md +46 -2
  714. package/dist/knowledge/skills/resource-retention-binding/references/framework-retention-binding-api.md +84 -1
  715. package/dist/knowledge/skills/resource-retention-binding/references/framework-retention-enforcement-records-api.md +10 -0
  716. package/dist/knowledge/skills/resource-retention-binding/references/framework-retention-schedule-api.md +5 -3
  717. package/dist/knowledge/skills/resource-retention-binding/references/framework-statutory-retention-api.md +21 -0
  718. package/dist/knowledge/skills/resource-retention-binding/references/start-point-decisions.md +14 -2
  719. package/dist/knowledge/skills/resource-schema-authoring/SKILL.md +1 -1
  720. package/dist/knowledge/skills/resource-schema-authoring/references/computed-totals.md +4 -1
  721. package/dist/knowledge/skills/resource-schema-authoring/references/document-numbers.md +78 -17
  722. package/dist/knowledge/skills/resource-schema-authoring/references/field-type-selection.md +2 -0
  723. package/dist/knowledge/skills/resource-schema-authoring/references/framework-decorator-vocabulary-api.md +26 -0
  724. package/dist/knowledge/skills/resource-schema-authoring/references/framework-personal-data-category-api.md +46 -46
  725. package/dist/knowledge/skills/resource-schema-authoring/references/framework-schema-family-api.md +17 -2
  726. package/dist/knowledge/skills/resource-schema-authoring/references/framework-shared-decorator-methods-api.md +36 -24
  727. package/dist/knowledge/skills/resource-schema-authoring/references/framework-shared-structural-params-api.md +63 -0
  728. package/dist/knowledge/skills/resource-schema-authoring/references/framework-special-factories-api.md +104 -23
  729. package/dist/knowledge/skills/resource-schema-authoring/references/framework-zod-lifecycle-and-chainable-api.md +123 -0
  730. package/dist/knowledge/skills/resource-schema-authoring/references/shared-layer-decorator-checklist.md +1 -0
  731. package/dist/knowledge/skills/resource-schema-authoring/references/special-factories.md +72 -0
  732. package/dist/knowledge/skills/resource-status-lifecycle/SKILL.md +42 -2
  733. package/dist/knowledge/skills/resource-status-lifecycle/references/framework-operation-condition-parameters-api.md +67 -0
  734. package/dist/knowledge/skills/resource-status-lifecycle/references/quote-lifecycle-worked-example.md +16 -12
  735. package/dist/knowledge/skills/resource-ui-behavior/SKILL.md +66 -3
  736. package/dist/knowledge/skills/resource-ui-behavior/references/framework-collection-filter-presets-api.md +89 -10
  737. package/dist/knowledge/skills/resource-ui-behavior/references/framework-display-edit-modes-api.md +11 -0
  738. package/dist/knowledge/skills/resource-ui-behavior/references/framework-frontend-resource-ui-contracts-api.md +263 -17
  739. package/dist/knowledge/skills/resource-ui-behavior/references/framework-record-page-parts-api.md +155 -0
  740. package/dist/knowledge/skills/resource-ui-behavior/references/framework-related-resource-embeds-api.md +83 -16
  741. package/dist/knowledge/skills/resource-ui-behavior/references/framework-resource-layout-templates-api.md +44 -10
  742. package/dist/knowledge/skills/resource-ui-behavior/references/framework-section-stages-api.md +102 -0
  743. package/dist/knowledge/skills/resource-ui-behavior/references/record-page-anatomy.md +9 -2
  744. package/dist/knowledge/skills/resource-ui-behavior/references/surface-decisions.md +33 -2
  745. package/dist/knowledge/skills/resource-ui-behavior/references/visual-quality-rubric.md +19 -2
  746. package/dist/knowledge/skills/resource-ui-behavior/references/workflow-record-page.md +264 -0
  747. package/dist/knowledge/skills/seeding-authoring/SKILL.md +24 -4
  748. package/dist/knowledge/skills/seeding-authoring/references/cross-seed-row-references.md +12 -0
  749. package/dist/knowledge/skills/seeding-authoring/references/framework-data-seeding-api.md +7 -6
  750. package/dist/knowledge/skills/settings-placement-authoring/SKILL.md +6 -0
  751. package/dist/knowledge/skills/settings-placement-authoring/references/framework-settings-destinations-catalog.md +42 -0
  752. package/dist/knowledge/skills/settings-placement-authoring/references/framework-settings-placement-api.md +6 -9
  753. package/dist/knowledge/skills/spec-companion-exports/SKILL.md +1 -0
  754. package/dist/knowledge/skills/spec-companion-exports/references/framework-companion-exports-contract-api.md +21 -2
  755. package/dist/knowledge/skills/spec-resource-update/SKILL.md +26 -0
  756. package/dist/knowledge/skills/spec-resource-update/references/framework-spec-resource-contracts-api.md +121 -75
  757. package/dist/knowledge/skills/spec-resource-update/references/workflow-record-page-specification.md +237 -0
  758. package/dist/knowledge/skills/spec-update-after-change/references/framework-spec-factory-api.md +100 -71
  759. package/dist/knowledge/skills/subject-data-export/SKILL.md +176 -0
  760. package/dist/knowledge/skills/subject-data-export/references/file-content-exclusions.md +15 -0
  761. package/dist/knowledge/skills/subject-data-export/references/framework-subject-export-api.md +142 -0
  762. package/dist/knowledge/skills/subject-data-export/references/framework-subject-export-archive-api.md +33 -0
  763. package/dist/knowledge/skills/views-app-level/SKILL.md +3 -1
  764. package/dist/knowledge/skills/views-app-level/references/workflow-home.md +373 -0
  765. package/dist/knowledge/skills/views-chart-authoring/SKILL.md +36 -5
  766. package/dist/knowledge/skills/views-chart-authoring/references/framework-resource-chart-data-api.md +9 -5
  767. package/dist/knowledge/skills/views-composite-authoring/SKILL.md +4 -0
  768. package/dist/knowledge/skills/views-composite-authoring/references/framework-chart-dashboard-api.md +244 -0
  769. package/dist/knowledge/skills/views-execution-authoring/references/framework-execution-view-contracts-api.md +40 -0
  770. package/dist/knowledge/skills/website-blog-authoring/SKILL.md +8 -6
  771. package/dist/knowledge/skills/website-blog-authoring/references/blog-adapter-api.md +70 -59
  772. package/dist/knowledge/skills/website-building-blocks/SKILL.md +1 -1
  773. package/dist/knowledge/skills/website-building-blocks/references/framework-website-demo-examples.md +3 -3
  774. package/dist/knowledge/skills/website-bundle-discipline/SKILL.md +4 -2
  775. package/dist/knowledge/skills/website-bundle-discipline/references/website-bundle-rules.md +3 -1
  776. package/dist/knowledge/skills/website-label-pack/SKILL.md +20 -5
  777. package/dist/knowledge/skills/website-page-authoring/references/framework-site-context-loader-api.md +6 -3
  778. package/dist/knowledge/skills/website-section-comparison/SKILL.md +2 -2
  779. package/dist/knowledge/skills/website-section-contact/SKILL.md +1 -1
  780. package/dist/knowledge/skills/website-section-cta/SKILL.md +1 -1
  781. package/dist/knowledge/skills/website-section-faq/SKILL.md +1 -1
  782. package/dist/knowledge/skills/website-section-feature-benefit-summary/SKILL.md +1 -1
  783. package/dist/knowledge/skills/website-section-feature-detail/SKILL.md +1 -1
  784. package/dist/knowledge/skills/website-section-footer-cta/SKILL.md +1 -1
  785. package/dist/knowledge/skills/website-section-hero/SKILL.md +1 -1
  786. package/dist/knowledge/skills/website-section-how-it-works/SKILL.md +1 -1
  787. package/dist/knowledge/skills/website-section-integrations/SKILL.md +3 -3
  788. package/dist/knowledge/skills/website-section-latest-posts/SKILL.md +1 -1
  789. package/dist/knowledge/skills/website-section-pricing/SKILL.md +142 -98
  790. package/dist/knowledge/skills/website-section-pricing/examples/pricing-offers.example.md +178 -66
  791. package/dist/knowledge/skills/website-section-pricing/references/framework-pricing-catalog-api.md +3 -1
  792. package/dist/knowledge/skills/website-section-problem/SKILL.md +3 -3
  793. package/dist/knowledge/skills/website-section-product-showcase/SKILL.md +1 -1
  794. package/dist/knowledge/skills/website-section-roadmap/SKILL.md +4 -4
  795. package/dist/knowledge/skills/website-section-social-proof/SKILL.md +1 -1
  796. package/dist/knowledge/skills/website-section-solution-paths/SKILL.md +2 -2
  797. package/dist/knowledge/skills/website-section-stats/SKILL.md +3 -3
  798. package/dist/knowledge/skills/website-seo-aeo-geo/references/aeo-api.md +3 -2
  799. package/dist/knowledge/skills/worker-authoring/SKILL.md +4 -2
  800. package/dist/knowledge/topic-index.json +2275 -715
  801. package/dist/tsconfig.build.tsbuildinfo +1 -1
  802. package/package.json +6 -6
  803. package/dist/tsconfig.tsbuildinfo +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../../src/playbooks/cross_cutting.application-creation/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,8BAA8B,EAC9B,0BAA0B,GAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,wBAAwB,EACxB,kBAAkB,GAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,GAAG,EAAE,oCAAoC;IACzC,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE,kBAAkB,CAAC,aAAa;IACvC,MAAM,EACJ,0mCAA0mC;IAC5mC,iGAAiG;IACjG,uEAAuE;IACvE,aAAa,EAAE,EAAE;IACjB;;;;OAIG;IACH,MAAM,EAAE;QACN,EAAE,MAAM,EAAE,cAAc,EAAE;QAC1B,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,wBAAwB,CAAC,GAAG,EAAE;QACnE,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,wBAAwB,CAAC,GAAG,EAAE;QAChE,EAAE,MAAM,EAAE,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Q,EAAE,2BAA2B,CAAC,cAAc;IACpD,MAAM,EAAE,EAAE;IACV,SAAS,EAAE,0BAA0B,CAAC,aAAa;CAGpD,CAAC","sourcesContent":["import {\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_EvaluationVerdict,\n MetaWorkflow_FailurePolicy,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n MetaWorkflow_InputRender,\n MetaWorkflow_Phase,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\n/**\n * THE CREATION OF THE APPLICATION — the root composite, over the lanes (#1503, epic #1506).\n *\n * Paul, 2026-09-22: *\"we need playbooks that drive the application creation itself … lanes that will\n * make the application coherent.\"* Until this existed there was no playbook that IS the creation: the\n * unattended loop was a flat portfolio over every eligible leaf, model-chosen each round, and the\n * workbench's \"next\" was a card. This is the one ref a creator, the loop, or a free session addresses\n * to mean *build my application*.\n *\n * ## It admits LANES, and the waterfall is the lanes' own preconditions\n *\n * | lane | opens when |\n * |---|---|\n * | `top_down.definition` | always — it starts at the vision interview, so a fresh application begins here |\n * | `cross_cutting.compliance` | a VALID vision — so it plays BESIDE the definition rather than after it |\n * | `bottom_up.conception` | valid requirements + market snapshot, the definition lane's landings |\n * | `bottom_up.build` | a valid domain plan + placement plan, the conception lane's landings |\n *\n * Nothing here says \"definition first\". Each lane declares what it needs, the runtime re-reads the\n * tree after every round, and that IS the waterfall — which is also what makes the root re-runnable on\n * an application at any stage: whatever is on record satisfies the gates of whatever is not.\n *\n * ## Depth 3, because the deepest path is root → lane → umbrella → leaves\n *\n * A composite child is WITHHELD when `depth + 1` reaches the ceiling, and the ceiling is the tightest\n * ancestor's: `min(inherited, depth + maximumDepth)`. At depth 0 this composite must admit a lane\n * (depth 1) that admits the market umbrella (depth 2) whose leaves run under it — so `3`. Declaring\n * `2` would silently withhold `top_down.market-analysis` from inside the definition lane and the\n * market snapshot would never land; declaring more would permit a level nothing in the catalog has.\n *\n * ## Two lanes CANNOT share a round, and that is correct rather than a limitation\n *\n * The disjointness admission resolves a child's write scope transitively through `admits`, so the\n * definition lane claims `vision-brief` (through `vision-elicitation`) and the compliance lane claims\n * it too (through `compliance-posture`, which records the applicable regimes ON the vision). They\n * overlap, so the admission runs them in successive rounds instead of concurrently — a refused child\n * is not lost, it was never marked delivered and is re-selected next round against the sibling's\n * landing. \"Beside\" therefore means *interleaved across rounds of one root run*, never *in the same\n * round*, and the compliance lane's own gate is what lets it start before the definition finishes.\n *\n * ## It ends on the MATURITY READING, which is a stage and never a \"done\"\n *\n * Paul, 2026-09-22: *\"there are no 'Done' for an app, there are a measurement face to requirements,\n * with some stage … this measurement should be evolutive.\"* `bottom_up.maturity-reading` (#1496)\n * landed 2026-09-22 and the BUILD LANE is what admits it — this root does not, on purpose. A second\n * admitter would let one run land the same reading twice from the same inputs, because a nested lane's\n * delivered set is its own; and the reading's own gate is only `requirements`, so at the root it would\n * be offered on an application nobody has conceived and answer \"nothing is addressed\".\n *\n * So this root's closing decision is READ AGAINST whatever reading is on record. That decision is\n * (#111): `derivePlaybookChoreographyBoundary` reads the `approval` below at the end of this run and\n * the companion projects one `approve_result` decision — approve / revise / discard — over every path\n * the lanes kept. Under the current YOLO posture it notifies and the run concludes.\n *\n * **This root must never acquire a \"the application is finished\" verdict**, and the temptation will be\n * a stop reason that reads like one: `NOTHING_ELIGIBLE` on a fully-built application means every lane\n * has done what it can from what is on record, which is a STAGE. The reading names the stage; the stop\n * reason names the run.\n *\n * ## What it does NOT do\n *\n * It does not order the lanes, hold their state, or interpret their results — a lane's internal step\n * scope is its own and only its `stepOutputs` cross the boundary. A lane hands up what it LANDED, and\n * the tree is where the next lane reads it; the one value a lane exports is a verdict the root may\n * route on (the definition lane's phase gate, #1627; the build lane's decomposer, #1638). It is a choreography, not a conductor.\n */\nexport const playbookDefinition = {\n ref: 'cross_cutting.application-creation',\n version: '0.1.0',\n phase: MetaWorkflow_Phase.CROSS_CUTTING,\n intent:\n 'Create the application: drive the definition (vision, market, requirements, capabilities, business model, roadmap, phase gate), the compliance posture and its governed documents, the conception (domain plan, foundation, placement) and the build (decompose, dispatch, assemble) as four LANES, each of which drives its own leaves. An umbrella over umbrellas: it authors nothing itself, and the order between the lanes is decided by their own preconditions against the working tree rather than declared here — the definition lane opens on a fresh application, compliance opens on a valid vision and runs beside it, conception opens once requirements and the market snapshot are on record, the build once the domain and placement plans are. Select the lane that can advance the application FURTHEST from what is on record, and prefer a lane that is waiting on nothing to one waiting on the creator. A lane is a long run: expect one lane per round, and do not re-select a lane that has just landed its families. STOP when no lane can advance the application — that is a STAGE the maturity reading names, never a finished application.',\n // None. The root must be eligible on an empty application: that is the whole point of a ref that\n // means \"create the application\". Every gate below it is a lane's own.\n preconditions: [],\n /*\n * For the SELECTOR, which is this composite's only reader of inputs — a map of what the application\n * already holds, so the lane that advances it furthest is visible. The vision is read whole because\n * it is the product and it is small; everything else is a map of what exists, not its content.\n */\n inputs: [\n { family: 'vision-brief' },\n { family: 'market-snapshot', render: MetaWorkflow_InputRender.MAP },\n { family: 'requirements', render: MetaWorkflow_InputRender.MAP },\n { family: 'roadmap', render: MetaWorkflow_InputRender.MAP },\n { family: 'domain-plan', render: MetaWorkflow_InputRender.MAP },\n { family: 'placement-plan', render: MetaWorkflow_InputRender.MAP },\n { family: 'build-plan', render: MetaWorkflow_InputRender.MAP },\n { family: 'document-facts', render: MetaWorkflow_InputRender.MAP },\n ],\n // Nothing. The root's deliverable is the application; its write scope resolves transitively through\n // `admits`, two levels down, and is the union of every family its lanes' leaves land.\n outputs: [],\n method: {\n skillRefs: [],\n choreography: {\n /*\n * UNORDERED, and listed last-lane-first for the umbrellas' own trap check: read as a sequence\n * this would try to build an application nobody had defined, and fail loudly on the build lane's\n * own gate rather than degrading quietly.\n */\n admits: [\n 'bottom_up.build',\n 'bottom_up.conception',\n 'cross_cutting.compliance',\n 'top_down.definition',\n ],\n /*\n * Each lane is itself a bounded run, so this count is rounds-of-lanes, not rounds-of-work: four\n * lanes, plus the rounds where one lane is re-selected after another unblocked it (compliance's\n * document half after conception lands the domain plan; the build lane after a coherence gap\n * re-opens conception). Ten is headroom over the six a straight-through creation needs.\n */\n maximumIterations: 10,\n /*\n * ONE lane per round. Not a safety bound — the disjointness admission already refuses an overlap\n * — but an honest one: the definition and compliance lanes overlap on `vision-brief` and the\n * other pairs are strictly sequential, so a wider round would propose lanes that are dropped and\n * re-selected, spending a selection to learn what this declaration already knows.\n */\n maximumLanesPerIteration: 1,\n /*\n * Three levels below this one: a lane, an umbrella inside it, and the umbrella's leaves. See the\n * depth note above — `2` would silently withhold the market umbrella from inside the definition\n * lane, which is the failure a ceiling is supposed to prevent rather than cause.\n */\n maximumDepth: 3,\n /*\n * TWENTY-FOUR HOURS, and it is a breaker on a runaway rather than a budget for a creation.\n *\n * The lanes' own wall clocks are what actually bound the work — 3 h definition, 1.5 h conception,\n * 3 h compliance, 6 h build — and the tightest ancestor's deadline wins, so this number can only\n * ever CUT a lane short. It is set beyond their sum (13.5 h) so that it never does, while still\n * ending a root that is spinning. A creation is expected to take several runs of this ref\n * anyway: the build lane alone is several of its own.\n */\n maximumDurationMs: 86_400_000,\n /*\n * Across lanes (#1627): the definition lane exports its phase gate's verdict, and a GAP on\n * compliance presence is the compliance lane's to answer. The compliance lane is re-offered with\n * the criterion named in the round history, and its own selector picks the leaf. GAP only, as in\n * the lane: CONCERN is advice and INDETERMINATE is missing evidence.\n */\n reopenOnVerdict: [\n {\n whenVerdictOf: 'top_down.phase-gate',\n via: 'top_down.definition',\n criterionRef: 'application-creation:criterion/compliance-presence',\n verdicts: [MetaWorkflow_EvaluationVerdict.GAP],\n reopen: ['cross_cutting.compliance'],\n },\n /*\n * The build lane's decomposer found the CONCEPTION unbuildable (#1638): something the domain plan\n * declares that no build target can express, or a conception fault the coherence report shows.\n * Conception is re-opened to fix it, and the build lane with it, because a plan built on the old\n * conception is what the verdict just rejected.\n */\n {\n whenVerdictOf: 'bottom_up.build-decompose',\n via: 'bottom_up.build',\n criterionRef: 'application-creation:criterion/conception-buildable',\n verdicts: [MetaWorkflow_EvaluationVerdict.GAP],\n reopen: ['bottom_up.conception', 'bottom_up.build'],\n },\n ],\n },\n },\n /*\n * The creation's closing decision — read the application's maturity, accept the stage, or send a\n * lane back.\n *\n * LIVE since #111 landed: the runtime derives this run's boundary from the field and the companion\n * projects one `approve_result` decision over every path the lanes kept — which for a root run is\n * both the specifications families and the application workspace. The posture decides what it does;\n * under YOLO it notifies and the run concludes. `KEEP_AND_FLAG` is the only honest failure policy\n * here: a lane that failed leaves real landed work behind it, and a root that reverted a whole\n * creation because its last lane failed would destroy the thing it exists to build.\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"]}
1
+ {"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../src/playbooks/cross_cutting.application-creation/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,8BAA8B,EAC9B,0BAA0B,GAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,wBAAwB,EACxB,kBAAkB,GAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,GAAG,EAAE,oCAAoC;IACzC,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE,kBAAkB,CAAC,aAAa;IACvC,MAAM,EACJ,u0CAAu0C;IACz0C,iGAAiG;IACjG,uEAAuE;IACvE,aAAa,EAAE,EAAE;IACjB;;;;OAIG;IACH,MAAM,EAAE;QACN,EAAE,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AC9C,MAAM,EAAE,CAAC,0BAA0B,CAAC;iBACrC;gBACD;;;;;mBAKG;gBACH;oBACE,aAAa,EAAE,2BAA2B;oBAC1C,GAAG,EAAE,iBAAiB;oBACtB,YAAY,EAAE,qDAAqD;oBACnE,QAAQ,EAAE,CAAC,8BAA8B,CAAC,GAAG,CAAC;oBAC9C,MAAM,EAAE,CAAC,sBAAsB,EAAE,iBAAiB,CAAC;iBACpD;aACF;SACF;KACF;IACD;;;;;;;;;;OAUG;IACH,QAAQ,EAAE,2BAA2B,CAAC,cAAc;IACpD,MAAM,EAAE,EAAE;IACV,SAAS,EAAE,0BAA0B,CAAC,aAAa;CAGpD,CAAC","sourcesContent":["import {\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_EvaluationVerdict,\n MetaWorkflow_FailurePolicy,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n MetaWorkflow_InputRender,\n MetaWorkflow_Phase,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\n/**\n * THE CREATION OF THE APPLICATION — the root composite, over the lanes (#1503, epic #1506).\n *\n * Paul, 2026-09-22: *\"we need playbooks that drive the application creation itself … lanes that will\n * make the application coherent.\"* Until this existed there was no playbook that IS the creation: the\n * unattended loop was a flat portfolio over every eligible leaf, model-chosen each round, and the\n * workbench's \"next\" was a card. This is the one ref a creator, the loop, or a free session addresses\n * to mean *build my application*.\n *\n * ## It admits LANES, and the waterfall is the lanes' own preconditions\n *\n * | child | opens when |\n * |---|---|\n * | `top_down.vision-elicitation` | always — a leaf, not a lane: the vision interview, so a fresh application begins here |\n * | `top_down.definition` | a VALID vision |\n * | `cross_cutting.compliance` | a VALID vision — so it plays BESIDE the definition rather than after it |\n * | `bottom_up.conception` | valid requirements + market snapshot, the definition lane's landings |\n * | `bottom_up.build` | a valid domain plan + placement plan, the conception lane's landings |\n *\n * Nothing here says \"definition first\". Each lane declares what it needs, the runtime re-reads the\n * tree after every round, and that IS the waterfall — which is also what makes the root re-runnable on\n * an application at any stage: whatever is on record satisfies the gates of whatever is not.\n *\n * ## The vision lands in a round of its own, so the definition and compliance start together (#3386)\n *\n * The vision is the one family both early lanes need, and until #3386 it was written INSIDE the definition\n * lane. A round waits for its lanes, so compliance (gated on the vision) could not be offered until the\n * whole definition had returned: 24 minutes of market, requirements and roadmap on run 42120979649, while\n * regime research needed only the vision, which was on record minutes in.\n *\n * So the root admits the interview itself, and the definition lane gates on a valid vision. On a fresh\n * application the interview is then the ONLY thing eligible, by preconditions rather than by the selector's\n * judgement; the round after it offers the definition and compliance lanes, whose write scopes are disjoint\n * since #3362, so they share it. Nothing but the interview writes the vision, so no later landing of the\n * definition re-stales the compliance lane's research (`compliance-posture-catalog.test.ts` pins the single\n * writer; `creation-root-vision-round…test.ts` pins the rounds).\n *\n * Rejected: letting the root re-select mid-round once the vision lands inside a running definition lane.\n * It needs the runtime to start a lane while a round is in flight, which nothing else needs, and it is\n * correct only as fast as the selector notices. Lifting the interview needs no measurement to be right.\n *\n * The definition lane still ADMITS the interview, for two reasons: a re-answered interview is a REFRESH it\n * may run when it is driven on its own, and the creation timeline attributes a playbook to the phase whose\n * lane reaches it (`classifyPlaybookRefsByJourneyPhase`), so the vision stays definition work. Two admitters\n * cannot land it twice in one round: both write the vision, so the disjointness admission never pairs them,\n * and inside the lane a vision landed by the root is CURRENT and withheld.\n *\n * ## Depth 3, because the deepest path is root → lane → umbrella → leaves\n *\n * A composite child is WITHHELD when `depth + 1` reaches the ceiling, and the ceiling is the tightest\n * ancestor's: `min(inherited, depth + maximumDepth)`. At depth 0 this composite must admit a lane\n * (depth 1) that admits the market umbrella (depth 2) whose leaves run under it — so `3`. Declaring\n * `2` would silently withhold `top_down.market-analysis` from inside the definition lane and the\n * market snapshot would never land; declaring more would permit a level nothing in the catalog has.\n *\n * ## Two lanes per round (#3384), the build always one of them while it can dispatch\n *\n * The disjointness admission resolves a child's write scope transitively through `admits`. Until #3362\n * the definition lane claimed `vision-brief` (through `vision-elicitation`) and the compliance lane\n * claimed it too (through `compliance-posture`, which recorded the regimes ON the vision), so the two\n * could never share a round. The posture now lands in its own `compliance-posture` family, so a round\n * runs two lanes whose write scopes are disjoint, and an overlapping pair is refused by the admission\n * and re-selected next round.\n *\n * A round waits for both of its lanes, so pairing matters most for the BUILD: one lane per round left\n * it idle while the compliance lane ran (reference run 42218788356: 32 of 98 tasks landed, 27 ready, 40\n * idle minutes).\n *\n * What the admission refuses is two lanes that WRITE the same family; a lane may read what the other\n * rewrites. So compliance pairs with any lane, the definition pairs with the conception or the build, and\n * only the conception and the build never pair (both admit the staffing step). A lane reading a family\n * its partner rewrites reads it as it stood when its leaf ran: the build's decomposer reads the compliance\n * posture, and a posture landed beside it makes the plan a REFRESH for a later round, which is the same\n * catch-up any landing in an earlier round already gets.\n *\n * ## It ends on the MATURITY READING, which is a stage and never a \"done\"\n *\n * Paul, 2026-09-22: *\"there are no 'Done' for an app, there are a measurement face to requirements,\n * with some stage … this measurement should be evolutive.\"* `bottom_up.maturity-reading` (#1496)\n * landed 2026-09-22 and the BUILD LANE is what admits it — this root does not, on purpose. A second\n * admitter would let one run land the same reading twice from the same inputs, because a nested lane's\n * delivered set is its own; and the reading's own gate is only `requirements`, so at the root it would\n * be offered on an application nobody has conceived and answer \"nothing is addressed\".\n *\n * So this root's closing decision is READ AGAINST whatever reading is on record. That decision is\n * (#111): `derivePlaybookChoreographyBoundary` reads the `approval` below at the end of this run and\n * the companion projects one `approve_result` decision — approve / revise / discard — over every path\n * the lanes kept. Under the current YOLO posture it notifies and the run concludes.\n *\n * **This root must never acquire a \"the application is finished\" verdict**, and the temptation will be\n * a stop reason that reads like one: `NOTHING_ELIGIBLE` on a fully-built application means every lane\n * has done what it can from what is on record, which is a STAGE. The reading names the stage; the stop\n * reason names the run.\n *\n * ## What it does NOT do\n *\n * It does not order the lanes, hold their state, or interpret their results — a lane's internal step\n * scope is its own and only its `stepOutputs` cross the boundary. A lane hands up what it LANDED, and\n * the tree is where the next lane reads it; the one value a lane exports is a verdict the root may\n * route on (the definition lane's phase gate, #1627; the build lane's decomposer, #1638). It is a choreography, not a conductor.\n */\nexport const playbookDefinition = {\n ref: 'cross_cutting.application-creation',\n version: '0.3.0',\n phase: MetaWorkflow_Phase.CROSS_CUTTING,\n intent:\n 'Create the application: elicit the vision, then drive the definition (market, requirements, capabilities, business model, roadmap, phase gate), the compliance posture and its governed documents, the conception (domain plan, foundation, placement) and the build (decompose, dispatch, assemble) as four LANES, each of which drives its own leaves. An umbrella over umbrellas: it authors nothing itself, and the order between the lanes is decided by their own preconditions against the working tree rather than declared here — on a fresh application only the vision interview can run, and it runs alone; the definition and compliance lanes both open on a valid vision and run side by side, conception opens once requirements and the market snapshot are on record, the build once the domain and placement plans are. Select up to TWO lanes per round whose work does not overlap: while the build lane can dispatch a task, it is always one of them, and the other is the lane that can advance the application furthest (compliance pairs with any lane). Prefer a lane that is waiting on nothing to one waiting on the creator. Do not re-select a lane that has just landed its families, except the build lane while tasks remain to dispatch. STOP when no lane can advance the application — that is a STAGE the maturity reading names, never a finished application.',\n // None. The root must be eligible on an empty application: that is the whole point of a ref that\n // means \"create the application\". Every gate below it is a lane's own.\n preconditions: [],\n /*\n * For the SELECTOR, which is this composite's only reader of inputs — a map of what the application\n * already holds, so the lane that advances it furthest is visible. The vision is read whole because\n * it is the product and it is small; everything else is a map of what exists, not its content.\n */\n inputs: [\n { family: 'vision-brief' },\n { family: 'compliance-posture', render: MetaWorkflow_InputRender.MAP },\n { family: 'market-snapshot', render: MetaWorkflow_InputRender.MAP },\n { family: 'requirements', render: MetaWorkflow_InputRender.MAP },\n { family: 'roadmap', render: MetaWorkflow_InputRender.MAP },\n { family: 'domain-plan', render: MetaWorkflow_InputRender.MAP },\n { family: 'placement-plan', render: MetaWorkflow_InputRender.MAP },\n { family: 'build-plan', render: MetaWorkflow_InputRender.MAP },\n { family: 'document-facts', render: MetaWorkflow_InputRender.MAP },\n ],\n // Nothing. The root's deliverable is the application; its write scope resolves transitively through\n // `admits`, two levels down, and is the union of every family its lanes' leaves land.\n outputs: [],\n method: {\n skillRefs: [],\n choreography: {\n /*\n * UNORDERED, and listed last-lane-first for the umbrellas' own trap check: read as a sequence\n * this would try to build an application nobody had defined, and fail loudly on the build lane's\n * own gate rather than degrading quietly.\n */\n admits: [\n 'bottom_up.build',\n 'bottom_up.conception',\n 'cross_cutting.compliance',\n 'top_down.definition',\n // A LEAF beside the lanes (#3386): the vision lands in its own round, so the two lanes that need it start together.\n 'top_down.vision-elicitation',\n ],\n /*\n * Each lane is itself a bounded run, so this count is rounds-of-lanes, not rounds-of-work: four\n * lanes and the vision round, plus the rounds where one lane is re-selected after another unblocked it\n * (compliance's document half after conception lands the domain plan; the build lane after a coherence\n * gap re-opens conception). Ten is headroom over the seven a straight-through creation needs.\n */\n maximumIterations: 10,\n /*\n * TWO lanes per round (#3384). Not a safety bound: the disjointness admission refuses a pair that\n * writes a common family. Two rather than three: a round waits for its slowest lane, and the coding\n * runs of the build share the machine with whatever runs beside them.\n */\n maximumLanesPerIteration: 2,\n /*\n * Three levels below this one: a lane, an umbrella inside it, and the umbrella's leaves. See the\n * depth note above — `2` would silently withhold the market umbrella from inside the definition\n * lane, which is the failure a ceiling is supposed to prevent rather than cause.\n */\n maximumDepth: 3,\n /*\n * TWENTY-FOUR HOURS, and it is a breaker on a runaway rather than a budget for a creation.\n *\n * The lanes' own wall clocks are what actually bound the work — 3 h definition, 1.5 h conception,\n * 3 h compliance, 6 h build — and the tightest ancestor's deadline wins, so this number can only\n * ever CUT a lane short. It is set beyond their sum (13.5 h) so that it never does, while still\n * ending a root that is spinning. A creation is expected to take several runs of this ref\n * anyway: the build lane alone is several of its own.\n */\n maximumDurationMs: 86_400_000,\n /*\n * Across lanes (#1627): the definition lane exports its phase gate's verdict, and a GAP on\n * compliance presence is the compliance lane's to answer. The compliance lane is re-offered with\n * the criterion named in the round history, and its own selector picks the leaf. GAP only, as in\n * the lane: CONCERN is advice and INDETERMINATE is missing evidence. Since #3362 the posture the\n * compliance lane lands is in its own family, which the gate does not read, so the GAP does not\n * clear: it is the one-shot signal \"run the compliance lane\", fired once per settlement of the\n * definition lane, and a compliance lane whose leaves have landed answers it with nothing to do.\n */\n reopenOnVerdict: [\n {\n whenVerdictOf: 'top_down.phase-gate',\n via: 'top_down.definition',\n criterionRef: 'application-creation:criterion/compliance-presence',\n verdicts: [MetaWorkflow_EvaluationVerdict.GAP],\n reopen: ['cross_cutting.compliance'],\n },\n /*\n * The build lane's decomposer found the CONCEPTION unbuildable (#1638): something the domain plan\n * declares that no build target can express, or a conception fault the coherence report shows.\n * Conception is re-opened to fix it, and the build lane with it, because a plan built on the old\n * conception is what the verdict just rejected.\n */\n {\n whenVerdictOf: 'bottom_up.build-decompose',\n via: 'bottom_up.build',\n criterionRef: 'application-creation:criterion/conception-buildable',\n verdicts: [MetaWorkflow_EvaluationVerdict.GAP],\n reopen: ['bottom_up.conception', 'bottom_up.build'],\n },\n ],\n },\n },\n /*\n * The creation's closing decision — read the application's maturity, accept the stage, or send a\n * lane back.\n *\n * LIVE since #111 landed: the runtime derives this run's boundary from the field and the companion\n * projects one `approve_result` decision over every path the lanes kept — which for a root run is\n * both the specifications families and the application workspace. The posture decides what it does;\n * under YOLO it notifies and the run concludes. `KEEP_AND_FLAG` is the only honest failure policy\n * here: a lane that failed leaves real landed work behind it, and a root that reverted a whole\n * creation because its last lane failed would destroy the thing it exists to build.\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"]}
@@ -49,9 +49,10 @@ import { MetaWorkflow_InputRender, MetaWorkflow_Phase } from '@wildo-ai/saas-spe
49
49
  *
50
50
  * ## The lane is eligible on a VISION alone, deliberately
51
51
  *
52
- * The posture half needs only the vision, and the definition lane's phase gate reads the posture
53
- * (its `compliance-presence` criterion) — so this lane must be able to START before the definition
54
- * lane ENDS, and before conception has run at all. The second half waits on its own gates:
52
+ * The posture half needs only the vision, so this lane can START before conception has run at all.
53
+ * (It used to have to start before the definition lane ENDED, because the definition's phase gate
54
+ * read the posture on the vision. Since #3362 the posture has its own family and the gate does not
55
+ * read it; its `compliance-presence` GAP is the signal to run this lane.) The second half waits on its own gates:
55
56
  * `refinement.document-facts` needs a VALID domain plan (READINESS), and the two candidate drafters
56
57
  * expect the facts (SEQUENCING). Two choreographies playing at once is the intended shape
57
58
  * (`application-creation-directive.md`); the root orders lanes by exactly these preconditions.
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../../src/playbooks/cross_cutting.compliance/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,wBAAwB,EACxB,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwE9B,CAAC"}
1
+ {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/cross_cutting.compliance/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,wBAAwB,EACxB,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+EG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0E9B,CAAC"}
@@ -49,9 +49,10 @@ import { MetaWorkflow_InputRender, MetaWorkflow_Phase, } from '@wildo-ai/saas-sp
49
49
  *
50
50
  * ## The lane is eligible on a VISION alone, deliberately
51
51
  *
52
- * The posture half needs only the vision, and the definition lane's phase gate reads the posture
53
- * (its `compliance-presence` criterion) — so this lane must be able to START before the definition
54
- * lane ENDS, and before conception has run at all. The second half waits on its own gates:
52
+ * The posture half needs only the vision, so this lane can START before conception has run at all.
53
+ * (It used to have to start before the definition lane ENDED, because the definition's phase gate
54
+ * read the posture on the vision. Since #3362 the posture has its own family and the gate does not
55
+ * read it; its `compliance-presence` GAP is the signal to run this lane.) The second half waits on its own gates:
55
56
  * `refinement.document-facts` needs a VALID domain plan (READINESS), and the two candidate drafters
56
57
  * expect the facts (SEQUENCING). Two choreographies playing at once is the intended shape
57
58
  * (`application-creation-directive.md`); the root orders lanes by exactly these preconditions.
@@ -83,14 +84,16 @@ export const playbookDefinition = {
83
84
  ref: 'cross_cutting.compliance',
84
85
  version: '0.1.0',
85
86
  phase: MetaWorkflow_Phase.CROSS_CUTTING,
86
- intent: 'Drive the COMPLIANCE of the application as one lane: the posture (regime evidence, judged adequate, recorded on the vision as constraints), the compliance conception (the programme, the publication and release policies), the document facts read from the product, and the drafted governed documents — public and governance — ending on one decision: the document release, marked and notified. An umbrella: it authors nothing itself; every child declares what it needs and the runtime recomputes what may run after each round. Select what is MISSING from the accepted truth shown to you, in the order the chain implies: the posture before the conception, the facts before the candidates, and never a candidate re-drafted while its facts are unchanged. The posture half needs only the vision; the facts need a valid domain plan — when it is not on record, land the posture and the conception and STOP: the lane resumes when the conception lane has landed the plan. STOP when the candidates are drafted: the release is this lane\'s closing decision. A child whose interview the creator has not answered is not offered; run everything else and stop when nothing eligible advances the compliance.',
87
+ intent: 'Drive the COMPLIANCE of the application as one lane: the posture (regime evidence, judged adequate, recorded in the compliance-posture family), the compliance conception (the programme, the publication and release policies), the document facts read from the product, and the drafted governed documents — public and governance — ending on one decision: the document release, marked and notified. An umbrella: it authors nothing itself; every child declares what it needs and the runtime recomputes what may run after each round. Select what is MISSING from the accepted truth shown to you, in the order the chain implies: the posture before the conception, the facts before the candidates, and never a candidate re-drafted while its facts are unchanged. The posture half needs only the vision; the facts need a valid domain plan — when it is not on record, land the posture and the conception and STOP: the lane resumes when the conception lane has landed the plan. STOP when the candidates are drafted: the release is this lane\'s closing decision. A child whose interview the creator has not answered is not offered; run everything else and stop when nothing eligible advances the compliance.',
87
88
  preconditions: [
88
89
  { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },
89
90
  ],
90
- // For the SELECTOR: the vision whole (it carries the posture), the rest as maps of what exists.
91
+ // For the SELECTOR: the vision whole, the posture as a map of whether regimes are recorded yet (#3362: the
92
+ // posture is its own family, no longer constraints on the vision), the rest as maps of what exists.
91
93
  // The policies are small and read whole — their presence is what says the conception ran.
92
94
  inputs: [
93
95
  { family: 'vision-brief' },
96
+ { family: 'compliance-posture', render: MetaWorkflow_InputRender.MAP },
94
97
  { family: 'domain-plan', render: MetaWorkflow_InputRender.MAP },
95
98
  { family: 'document-release-policy' },
96
99
  { family: 'document-publication' },
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../../src/playbooks/cross_cutting.compliance/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,wBAAwB,EACxB,kBAAkB,GAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,GAAG,EAAE,0BAA0B;IAC/B,OAAO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ows';\nimport {\n MetaWorkflow_InputRender,\n MetaWorkflow_Phase,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\n/**\n * The COMPLIANCE LANE — from a landed vision to drafted governed documents, ending on the release\n * decision (#1502, epic #1506).\n *\n * The chain existed: a composite over posture, research and adequacy; `compliance-conception`; and\n * three refinement leaves (facts, the public documents, the governance documents). Nothing drove it\n * as a whole, nothing re-opened the facts when the domain plan moved, and nothing at its end was a\n * decision. This lane admits the seven steps as one choreography and ends on the document release —\n * MARKED and notified under YOLO, awaited under GUIDED, exactly as the directive requires of a\n * compliance workflow (`application-creation-directive.md`, \"Compliance is a WORKFLOW\").\n *\n * ## The ref is `cross_cutting.compliance`, not `compliance.lane`\n *\n * Every folder in the catalog is `<phase>.<name>` with the phase one of `MetaWorkflow_Phase`'s\n * values, and this lane spans two of them (the posture is top-down, the documents are refinement).\n * `CROSS_CUTTING` — \"work that belongs to no single direction\" — is the member written for it. The\n * issue's working name is kept in its thread; the folder follows the catalog.\n *\n * ## The compliance umbrella is a NESTED LANE — un-flattened once #1513 closed the elicitation hole\n *\n * `top_down.compliance-analysis` carries an INTERVIEW: regime applicability is a join of legal tests\n * (the research child's job) and product facts only the creator can state, asked once on the umbrella\n * and rendered into every child's brief (#284 shape (a)). Its three children declare no questions of\n * their own, so those answers reach them ONLY as the parent's rendered section.\n *\n * Nesting landed (#1497) and the definition lane un-flattened onto `top_down.market-analysis` at once.\n * **This lane could not, for one day, and the reason is worth keeping.** A nested composite's own\n * elicitation did not reach its children: the companion bound `runChild` ONCE, capturing the OUTERMOST\n * composite's rendered section, and `runNestedLane` forwarded that closure unchanged down every level.\n * An un-flattened compliance umbrella would have run its regime children with whatever section the ROOT\n * rendered — nothing, since the root asks no questions — and derived a posture from a model's\n * recollection of jurisdictions nobody stated: the exact gap\n * `app-creation-composite-choreography.md` §10 records this umbrella as having been built to close. So\n * the lane carried the umbrella's ten questions verbatim, as a workaround that said so.\n *\n * #1513 closed it: the runtime names the composite DISPATCHING each child, and the companion composes\n * that composite's interview rather than the root's. The umbrella asks its own ten questions again,\n * under its own ref, and its children receive the answers wherever it is nested. The copy is deleted\n * and `maximumDepth: 2` is what lets this lane offer it — a composite child is WITHHELD when\n * `depth + 1` reaches the ceiling, so the schema's default of 1 would have offered a child that could\n * never run.\n *\n * **What changed for the creator, and it is an improvement rather than a move:** the ten questions are\n * now the UMBRELLA's, so this lane is offered from the root immediately and only its posture half waits\n * on them. Before, the whole lane was withheld until they were answered, and its document half — which\n * needs the domain plan, not the jurisdictions — waited behind questions it did not need.\n *\n * ## The lane is eligible on a VISION alone, deliberately\n *\n * The posture half needs only the vision, and the definition lane's phase gate reads the posture\n * (its `compliance-presence` criterion) — so this lane must be able to START before the definition\n * lane ENDS, and before conception has run at all. The second half waits on its own gates:\n * `refinement.document-facts` needs a VALID domain plan (READINESS), and the two candidate drafters\n * expect the facts (SEQUENCING). Two choreographies playing at once is the intended shape\n * (`application-creation-directive.md`); the root orders lanes by exactly these preconditions.\n *\n * Note that inside a composite the runner admits children past SEQUENCING (an explicit run of the\n * parent is the acknowledgement), so the candidate drafters are eligible from round one. The intent\n * tells the selector to land the facts first; a document drafted without them is honest — its\n * unestablished statements are marked — but it is the weaker document, and it is re-drafted when the\n * facts land.\n *\n * ## The lane ENDS on the release decision\n *\n * The last child that runs drafts documents; the decision — release them — is a legally-binding\n * statement leaving the system, which is a critical gate point (`one-source-of-truth.md` D5): MARKED\n * in the mechanism, notified and proceeded under YOLO, armed at Gate 3. `approval: APPROVE_RESULT` is\n * where that boundary attaches, and it is LIVE since #111 landed. Nothing in this lane composes a\n * RELEASE: the release record is the human's commit on a drafted candidate, and it stays so.\n *\n * ## Loop-back — the mechanism exists; what declares it is a child, and this lane has none yet\n *\n * | signal | re-opens | how, once it can |\n * |---|---|---|\n * | the domain plan newer than the landed facts | `refinement.document-facts`, then both candidates | the staleness gate (#57): facts derive from the plan, candidates from the facts |\n * | the vision's compliance posture newer than the landed programme | `top_down.compliance-conception` | same gate |\n * | a document judge's GAP naming a fact | `refinement.document-facts` | verdict routing (#1498) on the drafter's per-criterion verdicts |\n * | the evidence gate's INSUFFICIENT | `top_down.compliance-research` | ALREADY WORKS — the evaluator-optimizer pair the umbrella's children declare, unchanged here |\n */\nexport const playbookDefinition = {\n ref: 'cross_cutting.compliance',\n version: '0.1.0',\n phase: MetaWorkflow_Phase.CROSS_CUTTING,\n intent:\n 'Drive the COMPLIANCE of the application as one lane: the posture (regime evidence, judged adequate, recorded on the vision as constraints), the compliance conception (the programme, the publication and release policies), the document facts read from the product, and the drafted governed documents — public and governance — ending on one decision: the document release, marked and notified. An umbrella: it authors nothing itself; every child declares what it needs and the runtime recomputes what may run after each round. Select what is MISSING from the accepted truth shown to you, in the order the chain implies: the posture before the conception, the facts before the candidates, and never a candidate re-drafted while its facts are unchanged. The posture half needs only the vision; the facts need a valid domain plan — when it is not on record, land the posture and the conception and STOP: the lane resumes when the conception lane has landed the plan. STOP when the candidates are drafted: the release is this lane\\'s closing decision. A child whose interview the creator has not answered is not offered; run everything else and stop when nothing eligible advances the compliance.',\n preconditions: [\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },\n ],\n // For the SELECTOR: the vision whole (it carries the posture), the rest as maps of what exists.\n // The policies are small and read whole — their presence is what says the conception ran.\n inputs: [\n { family: 'vision-brief' },\n { family: 'domain-plan', render: MetaWorkflow_InputRender.MAP },\n { family: 'document-release-policy' },\n { family: 'document-publication' },\n { family: 'document-facts', render: MetaWorkflow_InputRender.MAP },\n { family: 'compliance-document-candidate', render: MetaWorkflow_InputRender.MAP },\n ],\n // Nothing — the lane's write scope is resolved transitively through `admits`.\n outputs: [],\n method: {\n skillRefs: [],\n choreography: {\n /*\n * UNORDERED. Listed closing-move-first on purpose, the umbrellas' own trap check: read as a\n * sequence this would draft governance documents before any posture existed, and fail loudly.\n */\n admits: [\n 'refinement.governance-document-candidate',\n 'refinement.compliance-document-candidate',\n 'refinement.document-facts',\n 'top_down.compliance-conception',\n // A NESTED LANE, not three siblings — its evidence loop and its interview are its own.\n 'top_down.compliance-analysis',\n ],\n /*\n * The umbrella's own measured bound for its evidence loop (research → adequacy round-trips ran\n * 3–7 minutes each, and its first real run hit the ceiling mid-loop) plus one round each for\n * conception, facts and the two drafters, which run beside each other. The schema's ceiling.\n */\n maximumIterations: 20,\n maximumLanesPerIteration: 3,\n /*\n * Two levels below this one: the compliance umbrella, and the umbrella's own leaves. A composite\n * child is WITHHELD when `depth + 1` reaches the ceiling, so the default `1` would offer this lane\n * a nested lane it could never run.\n */\n maximumDepth: 2,\n /*\n * Three hours: the umbrella measured ~280s per iteration on regime research, and twenty\n * iterations at that figure is ~95 minutes; the drafters are slower still with a full fact set.\n * Longer than the companion's HTTP ceiling (30 min): submit with `async: true` and read the\n * outcome from `/playbooks/runs`. Literal: the evaluator computes no expressions.\n */\n maximumDurationMs: 10_800_000,\n },\n },\n /*\n * The release decision — a legally-binding statement leaving the system.\n *\n * LIVE since #111 landed: the runtime derives this lane's boundary from the field and the companion\n * projects one `approve_result` decision on the human-decision plane. What the posture does with it\n * is the marked gate — under YOLO it NOTIFIES and proceeds, which is the directive's own answer for\n * a workflow fact (`application-creation-directive.md`), and GUIDED's hold is armed at Gate 3\n * (`one-source-of-truth.md` D5). The lane still composes no release record: that is a human commit.\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"]}
1
+ {"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../src/playbooks/cross_cutting.compliance/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,sCAAsC,CAAC;AAC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E,CAAC;YAC3B;;;;eAIG;YACH,YAAY,EAAE,CAAC;YACf;;;;;eAKG;YACH,iBAAiB,EAAE,UAAU;SAC9B;KACF;IACD;;;;;;;;OAQG;IACH,QAAQ,EAAE,2BAA2B,CAAC,cAAc;IACpD,MAAM,EAAE,EAAE;IACV,SAAS,EAAE,0BAA0B,CAAC,aAAa;CAGpD,CAAC","sourcesContent":["import {\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_FailurePolicy,\n MetaWorkflow_PredicateKind,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n MetaWorkflow_InputRender,\n MetaWorkflow_Phase,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\n/**\n * The COMPLIANCE LANE — from a landed vision to drafted governed documents, ending on the release\n * decision (#1502, epic #1506).\n *\n * The chain existed: a composite over posture, research and adequacy; `compliance-conception`; and\n * three refinement leaves (facts, the public documents, the governance documents). Nothing drove it\n * as a whole, nothing re-opened the facts when the domain plan moved, and nothing at its end was a\n * decision. This lane admits the seven steps as one choreography and ends on the document release —\n * MARKED and notified under YOLO, awaited under GUIDED, exactly as the directive requires of a\n * compliance workflow (`application-creation-directive.md`, \"Compliance is a WORKFLOW\").\n *\n * ## The ref is `cross_cutting.compliance`, not `compliance.lane`\n *\n * Every folder in the catalog is `<phase>.<name>` with the phase one of `MetaWorkflow_Phase`'s\n * values, and this lane spans two of them (the posture is top-down, the documents are refinement).\n * `CROSS_CUTTING` — \"work that belongs to no single direction\" — is the member written for it. The\n * issue's working name is kept in its thread; the folder follows the catalog.\n *\n * ## The compliance umbrella is a NESTED LANE — un-flattened once #1513 closed the elicitation hole\n *\n * `top_down.compliance-analysis` carries an INTERVIEW: regime applicability is a join of legal tests\n * (the research child's job) and product facts only the creator can state, asked once on the umbrella\n * and rendered into every child's brief (#284 shape (a)). Its three children declare no questions of\n * their own, so those answers reach them ONLY as the parent's rendered section.\n *\n * Nesting landed (#1497) and the definition lane un-flattened onto `top_down.market-analysis` at once.\n * **This lane could not, for one day, and the reason is worth keeping.** A nested composite's own\n * elicitation did not reach its children: the companion bound `runChild` ONCE, capturing the OUTERMOST\n * composite's rendered section, and `runNestedLane` forwarded that closure unchanged down every level.\n * An un-flattened compliance umbrella would have run its regime children with whatever section the ROOT\n * rendered — nothing, since the root asks no questions — and derived a posture from a model's\n * recollection of jurisdictions nobody stated: the exact gap\n * `app-creation-composite-choreography.md` §10 records this umbrella as having been built to close. So\n * the lane carried the umbrella's ten questions verbatim, as a workaround that said so.\n *\n * #1513 closed it: the runtime names the composite DISPATCHING each child, and the companion composes\n * that composite's interview rather than the root's. The umbrella asks its own ten questions again,\n * under its own ref, and its children receive the answers wherever it is nested. The copy is deleted\n * and `maximumDepth: 2` is what lets this lane offer it — a composite child is WITHHELD when\n * `depth + 1` reaches the ceiling, so the schema's default of 1 would have offered a child that could\n * never run.\n *\n * **What changed for the creator, and it is an improvement rather than a move:** the ten questions are\n * now the UMBRELLA's, so this lane is offered from the root immediately and only its posture half waits\n * on them. Before, the whole lane was withheld until they were answered, and its document half — which\n * needs the domain plan, not the jurisdictions — waited behind questions it did not need.\n *\n * ## The lane is eligible on a VISION alone, deliberately\n *\n * The posture half needs only the vision, so this lane can START before conception has run at all.\n * (It used to have to start before the definition lane ENDED, because the definition's phase gate\n * read the posture on the vision. Since #3362 the posture has its own family and the gate does not\n * read it; its `compliance-presence` GAP is the signal to run this lane.) The second half waits on its own gates:\n * `refinement.document-facts` needs a VALID domain plan (READINESS), and the two candidate drafters\n * expect the facts (SEQUENCING). Two choreographies playing at once is the intended shape\n * (`application-creation-directive.md`); the root orders lanes by exactly these preconditions.\n *\n * Note that inside a composite the runner admits children past SEQUENCING (an explicit run of the\n * parent is the acknowledgement), so the candidate drafters are eligible from round one. The intent\n * tells the selector to land the facts first; a document drafted without them is honest — its\n * unestablished statements are marked — but it is the weaker document, and it is re-drafted when the\n * facts land.\n *\n * ## The lane ENDS on the release decision\n *\n * The last child that runs drafts documents; the decision — release them — is a legally-binding\n * statement leaving the system, which is a critical gate point (`one-source-of-truth.md` D5): MARKED\n * in the mechanism, notified and proceeded under YOLO, armed at Gate 3. `approval: APPROVE_RESULT` is\n * where that boundary attaches, and it is LIVE since #111 landed. Nothing in this lane composes a\n * RELEASE: the release record is the human's commit on a drafted candidate, and it stays so.\n *\n * ## Loop-back — the mechanism exists; what declares it is a child, and this lane has none yet\n *\n * | signal | re-opens | how, once it can |\n * |---|---|---|\n * | the domain plan newer than the landed facts | `refinement.document-facts`, then both candidates | the staleness gate (#57): facts derive from the plan, candidates from the facts |\n * | the vision's compliance posture newer than the landed programme | `top_down.compliance-conception` | same gate |\n * | a document judge's GAP naming a fact | `refinement.document-facts` | verdict routing (#1498) on the drafter's per-criterion verdicts |\n * | the evidence gate's INSUFFICIENT | `top_down.compliance-research` | ALREADY WORKS — the evaluator-optimizer pair the umbrella's children declare, unchanged here |\n */\nexport const playbookDefinition = {\n ref: 'cross_cutting.compliance',\n version: '0.1.0',\n phase: MetaWorkflow_Phase.CROSS_CUTTING,\n intent:\n 'Drive the COMPLIANCE of the application as one lane: the posture (regime evidence, judged adequate, recorded in the compliance-posture family), the compliance conception (the programme, the publication and release policies), the document facts read from the product, and the drafted governed documents — public and governance — ending on one decision: the document release, marked and notified. An umbrella: it authors nothing itself; every child declares what it needs and the runtime recomputes what may run after each round. Select what is MISSING from the accepted truth shown to you, in the order the chain implies: the posture before the conception, the facts before the candidates, and never a candidate re-drafted while its facts are unchanged. The posture half needs only the vision; the facts need a valid domain plan — when it is not on record, land the posture and the conception and STOP: the lane resumes when the conception lane has landed the plan. STOP when the candidates are drafted: the release is this lane\\'s closing decision. A child whose interview the creator has not answered is not offered; run everything else and stop when nothing eligible advances the compliance.',\n preconditions: [\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },\n ],\n // For the SELECTOR: the vision whole, the posture as a map of whether regimes are recorded yet (#3362: the\n // posture is its own family, no longer constraints on the vision), the rest as maps of what exists.\n // The policies are small and read whole — their presence is what says the conception ran.\n inputs: [\n { family: 'vision-brief' },\n { family: 'compliance-posture', render: MetaWorkflow_InputRender.MAP },\n { family: 'domain-plan', render: MetaWorkflow_InputRender.MAP },\n { family: 'document-release-policy' },\n { family: 'document-publication' },\n { family: 'document-facts', render: MetaWorkflow_InputRender.MAP },\n { family: 'compliance-document-candidate', render: MetaWorkflow_InputRender.MAP },\n ],\n // Nothing — the lane's write scope is resolved transitively through `admits`.\n outputs: [],\n method: {\n skillRefs: [],\n choreography: {\n /*\n * UNORDERED. Listed closing-move-first on purpose, the umbrellas' own trap check: read as a\n * sequence this would draft governance documents before any posture existed, and fail loudly.\n */\n admits: [\n 'refinement.governance-document-candidate',\n 'refinement.compliance-document-candidate',\n 'refinement.document-facts',\n 'top_down.compliance-conception',\n // A NESTED LANE, not three siblings — its evidence loop and its interview are its own.\n 'top_down.compliance-analysis',\n ],\n /*\n * The umbrella's own measured bound for its evidence loop (research → adequacy round-trips ran\n * 3–7 minutes each, and its first real run hit the ceiling mid-loop) plus one round each for\n * conception, facts and the two drafters, which run beside each other. The schema's ceiling.\n */\n maximumIterations: 20,\n maximumLanesPerIteration: 3,\n /*\n * Two levels below this one: the compliance umbrella, and the umbrella's own leaves. A composite\n * child is WITHHELD when `depth + 1` reaches the ceiling, so the default `1` would offer this lane\n * a nested lane it could never run.\n */\n maximumDepth: 2,\n /*\n * Three hours: the umbrella measured ~280s per iteration on regime research, and twenty\n * iterations at that figure is ~95 minutes; the drafters are slower still with a full fact set.\n * Longer than the companion's HTTP ceiling (30 min): submit with `async: true` and read the\n * outcome from `/playbooks/runs`. Literal: the evaluator computes no expressions.\n */\n maximumDurationMs: 10_800_000,\n },\n },\n /*\n * The release decision — a legally-binding statement leaving the system.\n *\n * LIVE since #111 landed: the runtime derives this lane's boundary from the field and the companion\n * projects one `approve_result` decision on the human-decision plane. What the posture does with it\n * is the marked gate — under YOLO it NOTIFIES and proceeds, which is the directive's own answer for\n * a workflow fact (`application-creation-directive.md`), and GUIDED's hold is armed at Gate 3\n * (`one-source-of-truth.md` D5). The lane still composes no release record: that is a human commit.\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"]}
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../../src/playbooks/cross_cutting.feature-development/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,wBAAwB,EACxB,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+C+G,CAAC"}
1
+ {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/cross_cutting.feature-development/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,wBAAwB,EACxB,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+C+G,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../../src/playbooks/cross_cutting.feature-development/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,0BAA0B,GAC3B,MAA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YAC3B,qEAAqE;YACrE,YAAY,EAAE,CAAC;YACf,iBAAiB,EAAE,UAAU;SAC9B;KACF;IACD,QAAQ,EAAE,2BAA2B,CAAC,cAAc;IACpD,MAAM,EAAE,EAAE;IACV,SAAS,EAAE,0BAA0B,CAAC,aAAa;CACyF,CAAC","sourcesContent":["import {\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_FailurePolicy,\n MetaWorkflow_PredicateKind,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n MetaWorkflow_InputRender,\n MetaWorkflow_Phase,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\n/**\n * The FEATURE-DEVELOPMENT line (#1608, epic #1602): develop one feature beside the main line, through the\n * product model rather than around it.\n *\n * An opened INSTANCE of this composite IS a feature line (`ApplicationSecondaryLine.FEATURE_DEVELOPMENT`):\n * its instance key names the line, and the activation's purpose says which feature. It is never run as the\n * default instance, and it belongs to no main line's tree; the line scope admits its tree only while a line\n * of it is open.\n *\n * ## Two kinds of child, and the declaration that separates them\n *\n * - **`refinement.feature-contribution`** runs as the LINE: the feature lands as elements of the\n * requirements and the feature drafts, each stamped with the line.\n * - **The refreshes** (`actsOnApplication`) run as the APPLICATION: the domain plan, the experience plan and\n * the build lane hold one value for the whole application, which an instance may never replace. They\n * re-derive from the requirements the feature changed, the same way the main line would, and the main line\n * keeps every element a line contributed when it re-derives.\n *\n * Running beside the main line is #1610's: this line's lease is its own instance, and a run records the runs\n * it overlapped. A refresh that meets a main-line landing of the same family is refused at landing (#1614)\n * rather than overwriting it, and the next round re-derives from what landed.\n */\nexport const playbookDefinition = {\n ref: 'cross_cutting.feature-development',\n version: '0.1.0',\n phase: MetaWorkflow_Phase.CROSS_CUTTING,\n intent:\n 'Develop ONE feature, the one this line was opened for, through the product model: land it as requirements and feature drafts of its own, then let the application re-derive what depends on them, and build it. An umbrella: it authors nothing itself. Select the feature contribution FIRST, while the requirements do not yet hold this feature. Once they do, select what the feature makes out of date, in the order the product model implies: the domain plan before the experience plan, both before the build. STOP when the feature is built, or when nothing eligible advances it.',\n preconditions: [\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'requirements' } },\n ],\n // For the SELECTOR: whether the feature has landed, and what exists downstream of it.\n inputs: [\n // Read whole: it is small, and it is the product the feature is added to.\n { family: 'vision-brief' },\n { family: 'requirements', render: MetaWorkflow_InputRender.MAP },\n { family: 'feature-drafts', render: MetaWorkflow_InputRender.MAP },\n { family: 'domain-plan', render: MetaWorkflow_InputRender.MAP },\n { family: 'build-plan', render: MetaWorkflow_InputRender.MAP },\n ],\n // Nothing — the lane's write scope is resolved transitively through `admits`.\n outputs: [],\n method: {\n skillRefs: [],\n choreography: {\n /* UNORDERED. Listed closing-move-first, the umbrellas' own trap check: read as a sequence it would build first. */\n admits: [\n 'bottom_up.build',\n 'bottom_up.experience-plan',\n 'bottom_up.domain-plan',\n 'refinement.feature-contribution',\n ],\n actsOnApplication: [\n 'bottom_up.build',\n 'bottom_up.experience-plan',\n 'bottom_up.domain-plan',\n ],\n /* One round for the feature, one per refresh, and the build lane's own rounds, which are its own. */\n maximumIterations: 8,\n maximumLanesPerIteration: 1,\n // The build lane is a composite: this line needs one level below it.\n maximumDepth: 2,\n maximumDurationMs: 10_800_000,\n },\n },\n approval: MetaWorkflow_ApprovalPolicy.APPROVE_RESULT,\n budget: {},\n onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG,\n} satisfies Omit<MetaWorkflowPlaybookAuthoring, 'method'> & { method: Omit<NonNullable<MetaWorkflowPlaybookAuthoring['method']>, 'guidance'> };\n"]}
1
+ {"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../src/playbooks/cross_cutting.feature-development/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,0BAA0B,GAC3B,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AC;YAC3B,qEAAqE;YACrE,YAAY,EAAE,CAAC;YACf,iBAAiB,EAAE,UAAU;SAC9B;KACF;IACD,QAAQ,EAAE,2BAA2B,CAAC,cAAc;IACpD,MAAM,EAAE,EAAE;IACV,SAAS,EAAE,0BAA0B,CAAC,aAAa;CACyF,CAAC","sourcesContent":["import {\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_FailurePolicy,\n MetaWorkflow_PredicateKind,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n MetaWorkflow_InputRender,\n MetaWorkflow_Phase,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\n/**\n * The FEATURE-DEVELOPMENT line (#1608, epic #1602): develop one feature beside the main line, through the\n * product model rather than around it.\n *\n * An opened INSTANCE of this composite IS a feature line (`ApplicationSecondaryLine.FEATURE_DEVELOPMENT`):\n * its instance key names the line, and the activation's purpose says which feature. It is never run as the\n * default instance, and it belongs to no main line's tree; the line scope admits its tree only while a line\n * of it is open.\n *\n * ## Two kinds of child, and the declaration that separates them\n *\n * - **`refinement.feature-contribution`** runs as the LINE: the feature lands as elements of the\n * requirements and the feature drafts, each stamped with the line.\n * - **The refreshes** (`actsOnApplication`) run as the APPLICATION: the domain plan, the experience plan and\n * the build lane hold one value for the whole application, which an instance may never replace. They\n * re-derive from the requirements the feature changed, the same way the main line would, and the main line\n * keeps every element a line contributed when it re-derives.\n *\n * Running beside the main line is #1610's: this line's lease is its own instance, and a run records the runs\n * it overlapped. A refresh that meets a main-line landing of the same family is refused at landing (#1614)\n * rather than overwriting it, and the next round re-derives from what landed.\n */\nexport const playbookDefinition = {\n ref: 'cross_cutting.feature-development',\n version: '0.1.0',\n phase: MetaWorkflow_Phase.CROSS_CUTTING,\n intent:\n 'Develop ONE feature, the one this line was opened for, through the product model: land it as requirements and feature drafts of its own, then let the application re-derive what depends on them, and build it. An umbrella: it authors nothing itself. Select the feature contribution FIRST, while the requirements do not yet hold this feature. Once they do, select what the feature makes out of date, in the order the product model implies: the domain plan before the experience plan, both before the build. STOP when the feature is built, or when nothing eligible advances it.',\n preconditions: [\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'requirements' } },\n ],\n // For the SELECTOR: whether the feature has landed, and what exists downstream of it.\n inputs: [\n // Read whole: it is small, and it is the product the feature is added to.\n { family: 'vision-brief' },\n { family: 'requirements', render: MetaWorkflow_InputRender.MAP },\n { family: 'feature-drafts', render: MetaWorkflow_InputRender.MAP },\n { family: 'domain-plan', render: MetaWorkflow_InputRender.MAP },\n { family: 'build-plan', render: MetaWorkflow_InputRender.MAP },\n ],\n // Nothing — the lane's write scope is resolved transitively through `admits`.\n outputs: [],\n method: {\n skillRefs: [],\n choreography: {\n /* UNORDERED. Listed closing-move-first, the umbrellas' own trap check: read as a sequence it would build first. */\n admits: [\n 'bottom_up.build',\n 'bottom_up.experience-plan',\n 'bottom_up.domain-plan',\n 'refinement.feature-contribution',\n ],\n actsOnApplication: [\n 'bottom_up.build',\n 'bottom_up.experience-plan',\n 'bottom_up.domain-plan',\n ],\n /* One round for the feature, one per refresh, and the build lane's own rounds, which are its own. */\n maximumIterations: 8,\n maximumLanesPerIteration: 1,\n // The build lane is a composite: this line needs one level below it.\n maximumDepth: 2,\n maximumDurationMs: 10_800_000,\n },\n },\n approval: MetaWorkflow_ApprovalPolicy.APPROVE_RESULT,\n budget: {},\n onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG,\n} satisfies Omit<MetaWorkflowPlaybookAuthoring, 'method'> & { method: Omit<NonNullable<MetaWorkflowPlaybookAuthoring['method']>, 'guidance'> };\n"]}
@@ -20,8 +20,8 @@ import { MetaWorkflow_InputRender, MetaWorkflow_Phase } from '@wildo-ai/saas-spe
20
20
  * - the TARGETS: the playbooks that refine a family (a declared `companion_agent` that reads its own output,
21
21
  * runs on its own, in the main tree). Only these may be named, and only these run first;
22
22
  * - the REFRESHES: every other standalone family producer of the main tree (the placement plan, the
23
- * capability composition, the business model, the risk register, the compliance documents, the expert
24
- * staffing), so what the change made stale can be re-derived; and the build lane, run whole.
23
+ * capability composition, the compliance documents, the expert staffing), so what the change made stale
24
+ * can be re-derived; and the build lane, run whole.
25
25
  * Every child re-derives a WHOLE family, which an instance may never replace, so every child runs as the
26
26
  * application (`actsOnApplication`).
27
27
  *
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../../src/playbooks/cross_cutting.refinement/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,wBAAwB,EACxB,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyF+G,CAAC"}
1
+ {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/cross_cutting.refinement/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,wBAAwB,EACxB,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuF+G,CAAC"}
@@ -20,8 +20,8 @@ import { MetaWorkflow_InputRender, MetaWorkflow_Phase, } from '@wildo-ai/saas-sp
20
20
  * - the TARGETS: the playbooks that refine a family (a declared `companion_agent` that reads its own output,
21
21
  * runs on its own, in the main tree). Only these may be named, and only these run first;
22
22
  * - the REFRESHES: every other standalone family producer of the main tree (the placement plan, the
23
- * capability composition, the business model, the risk register, the compliance documents, the expert
24
- * staffing), so what the change made stale can be re-derived; and the build lane, run whole.
23
+ * capability composition, the compliance documents, the expert staffing), so what the change made stale
24
+ * can be re-derived; and the build lane, run whole.
25
25
  * Every child re-derives a WHOLE family, which an instance may never replace, so every child runs as the
26
26
  * application (`actsOnApplication`).
27
27
  *
@@ -31,7 +31,7 @@ import { MetaWorkflow_InputRender, MetaWorkflow_Phase, } from '@wildo-ai/saas-sp
31
31
  */
32
32
  export const playbookDefinition = {
33
33
  ref: 'cross_cutting.refinement',
34
- version: '0.1.2',
34
+ version: '0.1.3',
35
35
  phase: MetaWorkflow_Phase.CROSS_CUTTING,
36
36
  intent: 'Refine what this line was opened for: re-derive each named family from what it already holds, guided by the purpose, then refresh what that made out of date and build it. An umbrella: it authors nothing itself. The first move is fixed: the producers of the named families. After that, select only children whose outputs are STALE, upstream before downstream, the build last. STOP when nothing is stale any more and the build has run, or when nothing eligible advances the refinement.',
37
37
  preconditions: [
@@ -69,7 +69,6 @@ export const playbookDefinition = {
69
69
  'top_down.risk-register',
70
70
  // The firm's method refines its own prior output (#2305), so a refinement line may re-derive it.
71
71
  'top_down.service-method',
72
- 'top_down.expert-personas',
73
72
  'top_down.business-model',
74
73
  'top_down.brand-identity',
75
74
  'top_down.scope-roadmap',
@@ -96,7 +95,6 @@ export const playbookDefinition = {
96
95
  'top_down.risk-register',
97
96
  // The firm's method refines its own prior output (#2305), so a refinement line may re-derive it.
98
97
  'top_down.service-method',
99
- 'top_down.expert-personas',
100
98
  'top_down.business-model',
101
99
  'top_down.brand-identity',
102
100
  'top_down.scope-roadmap',
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../../src/playbooks/cross_cutting.refinement/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,sCAAsC,CAAC;AAC9C,O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BAA0B;gBAC1B,yBAAyB;gBACzB,yBAAyB;gBACzB,wBAAwB;gBACxB,yBAAyB;gBACzB,yBAAyB;gBACzB,4BAA4B;gBAC5B,kCAAkC;gBAClC,6BAA6B;aAC9B;YACD,iBAAiB,EAAE;gBACjB,iBAAiB;gBACjB,2BAA2B;gBAC3B,8BAA8B;gBAC9B,wBAAwB;gBACxB,4BAA4B;gBAC5B,0BAA0B;gBAC1B,kCAAkC;gBAClC,2BAA2B;gBAC3B,uBAAuB;gBACvB,0CAA0C;gBAC1C,0CAA0C;gBAC1C,2BAA2B;gBAC3B,gCAAgC;gBAChC,wBAAwB;gBACxB,iGAAiG;gBACjG,yBAAyB;gBACzB,0BAA0B;gBAC1B,yBAAyB;gBACzB,yBAAyB;gBACzB,wBAAwB;gBACxB,yBAAyB;gBACzB,yBAAyB;gBACzB,4BAA4B;gBAC5B,kCAAkC;gBAClC,6BAA6B;aAC9B;YACD,kGAAkG;YAClG,iBAAiB,EAAE,EAAE;YACrB,wBAAwB,EAAE,CAAC;YAC3B,qEAAqE;YACrE,YAAY,EAAE,CAAC;YACf,iBAAiB,EAAE,UAAU;SAC9B;KACF;IACD,QAAQ,EAAE,2BAA2B,CAAC,cAAc;IACpD,MAAM,EAAE,EAAE;IACV,SAAS,EAAE,0BAA0B,CAAC,aAAa;CACyF,CAAC","sourcesContent":["import {\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_FailurePolicy,\n MetaWorkflow_PredicateKind,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n MetaWorkflow_InputRender,\n MetaWorkflow_Phase,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\n/**\n * The REFINEMENT line (#1608, epic #1602): refine one or more families the application already holds, in\n * place, beside the main line.\n *\n * An opened INSTANCE of this composite IS a refinement line (`ApplicationSecondaryLine.REFINEMENT`): its key\n * names the line, its purpose says what to improve, and its activation NAMES the families it re-derives\n * (`refinedFamilies`). It is never run as the default instance and belongs to no main line's tree.\n *\n * ## Why the main loop cannot do this\n *\n * The main lanes re-derive a family only when it is missing or its inputs moved; a family on record is left\n * alone. So nothing re-derives a landed family ON PURPOSE. This line does, through the producer that reads\n * the family's own prior output, so it refines what exists instead of re-authoring it.\n *\n * ## What it admits, and why every child acts on the application\n *\n * Two sets, derived by `collectRefinementLineRefs` and held equal to this list by the real-catalog test:\n * - the TARGETS: the playbooks that refine a family (a declared `companion_agent` that reads its own output,\n * runs on its own, in the main tree). Only these may be named, and only these run first;\n * - the REFRESHES: every other standalone family producer of the main tree (the placement plan, the\n * capability composition, the business model, the risk register, the compliance documents, the expert\n * staffing), so what the change made stale can be re-derived; and the build lane, run whole.\n * Every child re-derives a WHOLE family, which an instance may never replace, so every child runs as the\n * application (`actsOnApplication`).\n *\n * The first round is not the selector's to choose: while a named family is not yet re-derived, the round\n * offers only its producers (`narrowRefinementRound`). After that the selector refreshes what the change made\n * stale, builds, and stops.\n */\nexport const playbookDefinition = {\n ref: 'cross_cutting.refinement',\n version: '0.1.2',\n phase: MetaWorkflow_Phase.CROSS_CUTTING,\n intent:\n 'Refine what this line was opened for: re-derive each named family from what it already holds, guided by the purpose, then refresh what that made out of date and build it. An umbrella: it authors nothing itself. The first move is fixed: the producers of the named families. After that, select only children whose outputs are STALE, upstream before downstream, the build last. STOP when nothing is stale any more and the build has run, or when nothing eligible advances the refinement.',\n preconditions: [\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },\n ],\n // For the SELECTOR: what exists, as maps, so it can tell what a refinement made stale.\n inputs: [\n { family: 'vision-brief' },\n { family: 'requirements', render: MetaWorkflow_InputRender.MAP },\n { family: 'feature-drafts', render: MetaWorkflow_InputRender.MAP },\n { family: 'domain-plan', render: MetaWorkflow_InputRender.MAP },\n { family: 'experience-plan', render: MetaWorkflow_InputRender.MAP },\n { family: 'build-plan', render: MetaWorkflow_InputRender.MAP },\n ],\n // Nothing — the lane's write scope is resolved transitively through `admits`.\n outputs: [],\n method: {\n skillRefs: [],\n choreography: {\n /* UNORDERED. Listed closing-move-first, the umbrellas' own trap check: read as a sequence it would build first. */\n admits: [\n 'bottom_up.build',\n 'bottom_up.build-decompose',\n 'bottom_up.documentation-plan',\n 'bottom_up.website-plan',\n 'bottom_up.integration-plan',\n 'bottom_up.placement-plan',\n 'bottom_up.capability-composition',\n 'bottom_up.experience-plan',\n 'bottom_up.domain-plan',\n 'refinement.governance-document-candidate',\n 'refinement.compliance-document-candidate',\n 'refinement.document-facts',\n 'top_down.compliance-conception',\n 'top_down.risk-register',\n // The firm's method refines its own prior output (#2305), so a refinement line may re-derive it.\n 'top_down.service-method',\n 'top_down.expert-personas',\n 'top_down.business-model',\n 'top_down.brand-identity',\n 'top_down.scope-roadmap',\n 'top_down.feature-drafts',\n 'top_down.capability-map',\n 'top_down.value-proposition',\n 'top_down.requirements-definition',\n 'top_down.vision-elicitation',\n ],\n actsOnApplication: [\n 'bottom_up.build',\n 'bottom_up.build-decompose',\n 'bottom_up.documentation-plan',\n 'bottom_up.website-plan',\n 'bottom_up.integration-plan',\n 'bottom_up.placement-plan',\n 'bottom_up.capability-composition',\n 'bottom_up.experience-plan',\n 'bottom_up.domain-plan',\n 'refinement.governance-document-candidate',\n 'refinement.compliance-document-candidate',\n 'refinement.document-facts',\n 'top_down.compliance-conception',\n 'top_down.risk-register',\n // The firm's method refines its own prior output (#2305), so a refinement line may re-derive it.\n 'top_down.service-method',\n 'top_down.expert-personas',\n 'top_down.business-model',\n 'top_down.brand-identity',\n 'top_down.scope-roadmap',\n 'top_down.feature-drafts',\n 'top_down.capability-map',\n 'top_down.value-proposition',\n 'top_down.requirements-definition',\n 'top_down.vision-elicitation',\n ],\n /* A round per named family, one per refresh downstream of it, and the build lane's own rounds. */\n maximumIterations: 16,\n maximumLanesPerIteration: 1,\n // The build lane is a composite: this line needs one level below it.\n maximumDepth: 2,\n maximumDurationMs: 10_800_000,\n },\n },\n approval: MetaWorkflow_ApprovalPolicy.APPROVE_RESULT,\n budget: {},\n onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG,\n} satisfies Omit<MetaWorkflowPlaybookAuthoring, 'method'> & { method: Omit<NonNullable<MetaWorkflowPlaybookAuthoring['method']>, 'guidance'> };\n"]}
1
+ {"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../src/playbooks/cross_cutting.refinement/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,wBAAwB,EACxB,kBAAkB,GAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,GAAG,EAAE,0BAA0B;IAC/B,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE,kBAAkB,CAAC,aAAa;IACvC,MAAM,EACJ,qeAAqe;IACve,aAAa,EAAE;QACb,EAAE,IAAI,EAAE,0BAA0B,CAAC,cAAc,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE;KAC1F;IACD,uFAAuF;IACvF,MAAM,EAAE;QACN,EAAE,MAAM,EAAE,cAAc,EAAE;QAC1B,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,wBAAwB,CAAC,GAAG,EAAE;QAChE,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,wBAAwB,CAAC,GAAG,EAAE;QAClE,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,wBAAwB,CAAC,GAAG,EAAE;QAC/D,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,wBAAwB,CAAC,GAAG,EAAE;QACnE,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,wBAAwB,CAAC,GAAG,EAAE;KAC/D;IACD,8EAA8E;IAC9E,OAAO,EAAE,EAAE;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n} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n MetaWorkflow_InputRender,\n MetaWorkflow_Phase,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\n/**\n * The REFINEMENT line (#1608, epic #1602): refine one or more families the application already holds, in\n * place, beside the main line.\n *\n * An opened INSTANCE of this composite IS a refinement line (`ApplicationSecondaryLine.REFINEMENT`): its key\n * names the line, its purpose says what to improve, and its activation NAMES the families it re-derives\n * (`refinedFamilies`). It is never run as the default instance and belongs to no main line's tree.\n *\n * ## Why the main loop cannot do this\n *\n * The main lanes re-derive a family only when it is missing or its inputs moved; a family on record is left\n * alone. So nothing re-derives a landed family ON PURPOSE. This line does, through the producer that reads\n * the family's own prior output, so it refines what exists instead of re-authoring it.\n *\n * ## What it admits, and why every child acts on the application\n *\n * Two sets, derived by `collectRefinementLineRefs` and held equal to this list by the real-catalog test:\n * - the TARGETS: the playbooks that refine a family (a declared `companion_agent` that reads its own output,\n * runs on its own, in the main tree). Only these may be named, and only these run first;\n * - the REFRESHES: every other standalone family producer of the main tree (the placement plan, the\n * capability composition, the compliance documents, the expert staffing), so what the change made stale\n * can be re-derived; and the build lane, run whole.\n * Every child re-derives a WHOLE family, which an instance may never replace, so every child runs as the\n * application (`actsOnApplication`).\n *\n * The first round is not the selector's to choose: while a named family is not yet re-derived, the round\n * offers only its producers (`narrowRefinementRound`). After that the selector refreshes what the change made\n * stale, builds, and stops.\n */\nexport const playbookDefinition = {\n ref: 'cross_cutting.refinement',\n version: '0.1.3',\n phase: MetaWorkflow_Phase.CROSS_CUTTING,\n intent:\n 'Refine what this line was opened for: re-derive each named family from what it already holds, guided by the purpose, then refresh what that made out of date and build it. An umbrella: it authors nothing itself. The first move is fixed: the producers of the named families. After that, select only children whose outputs are STALE, upstream before downstream, the build last. STOP when nothing is stale any more and the build has run, or when nothing eligible advances the refinement.',\n preconditions: [\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },\n ],\n // For the SELECTOR: what exists, as maps, so it can tell what a refinement made stale.\n inputs: [\n { family: 'vision-brief' },\n { family: 'requirements', render: MetaWorkflow_InputRender.MAP },\n { family: 'feature-drafts', render: MetaWorkflow_InputRender.MAP },\n { family: 'domain-plan', render: MetaWorkflow_InputRender.MAP },\n { family: 'experience-plan', render: MetaWorkflow_InputRender.MAP },\n { family: 'build-plan', render: MetaWorkflow_InputRender.MAP },\n ],\n // Nothing — the lane's write scope is resolved transitively through `admits`.\n outputs: [],\n method: {\n skillRefs: [],\n choreography: {\n /* UNORDERED. Listed closing-move-first, the umbrellas' own trap check: read as a sequence it would build first. */\n admits: [\n 'bottom_up.build',\n 'bottom_up.build-decompose',\n 'bottom_up.documentation-plan',\n 'bottom_up.website-plan',\n 'bottom_up.integration-plan',\n 'bottom_up.placement-plan',\n 'bottom_up.capability-composition',\n 'bottom_up.experience-plan',\n 'bottom_up.domain-plan',\n 'refinement.governance-document-candidate',\n 'refinement.compliance-document-candidate',\n 'refinement.document-facts',\n 'top_down.compliance-conception',\n 'top_down.risk-register',\n // The firm's method refines its own prior output (#2305), so a refinement line may re-derive it.\n 'top_down.service-method',\n 'top_down.business-model',\n 'top_down.brand-identity',\n 'top_down.scope-roadmap',\n 'top_down.feature-drafts',\n 'top_down.capability-map',\n 'top_down.value-proposition',\n 'top_down.requirements-definition',\n 'top_down.vision-elicitation',\n ],\n actsOnApplication: [\n 'bottom_up.build',\n 'bottom_up.build-decompose',\n 'bottom_up.documentation-plan',\n 'bottom_up.website-plan',\n 'bottom_up.integration-plan',\n 'bottom_up.placement-plan',\n 'bottom_up.capability-composition',\n 'bottom_up.experience-plan',\n 'bottom_up.domain-plan',\n 'refinement.governance-document-candidate',\n 'refinement.compliance-document-candidate',\n 'refinement.document-facts',\n 'top_down.compliance-conception',\n 'top_down.risk-register',\n // The firm's method refines its own prior output (#2305), so a refinement line may re-derive it.\n 'top_down.service-method',\n 'top_down.business-model',\n 'top_down.brand-identity',\n 'top_down.scope-roadmap',\n 'top_down.feature-drafts',\n 'top_down.capability-map',\n 'top_down.value-proposition',\n 'top_down.requirements-definition',\n 'top_down.vision-elicitation',\n ],\n /* A round per named family, one per refresh downstream of it, and the build lane's own rounds. */\n maximumIterations: 16,\n maximumLanesPerIteration: 1,\n // The build lane is a composite: this line needs one level below it.\n maximumDepth: 2,\n maximumDurationMs: 10_800_000,\n },\n },\n approval: MetaWorkflow_ApprovalPolicy.APPROVE_RESULT,\n budget: {},\n onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG,\n} satisfies Omit<MetaWorkflowPlaybookAuthoring, 'method'> & { method: Omit<NonNullable<MetaWorkflowPlaybookAuthoring['method']>, 'guidance'> };\n"]}
@@ -11,7 +11,7 @@ import { MetaWorkflow_AuthorityAssuranceClass, MetaWorkflow_AuthorityDecisionMod
11
11
  */
12
12
  export declare const playbookDefinition: {
13
13
  readonly ref: "refinement.compliance-document-candidate";
14
- readonly version: "0.7.0";
14
+ readonly version: "0.8.0";
15
15
  readonly phase: "refinement";
16
16
  readonly intent: "Propose structured privacy-notice or service-terms candidate content from the application's accepted document facts. The companion agent may draft prose but cannot invent a fact, decide a legal question, approve, release or publish the document: every clause it writes is checked against the `document-facts` family, and a clause asserting a fact the application never declared is refused before it becomes a file.";
17
17
  readonly preconditions: readonly [{
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../../src/playbooks/refinement.compliance-document-candidate/playbook.definition.ts"],"names":[],"mappings":"AACA,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,gCAAgC,EAChC,sCAAsC,EACtC,0CAA0C,EAC1C,6CAA6C,EAC7C,8BAA8B,EAC9B,oCAAoC,EACpC,6BAA6B,EAC9B,MAAM,sCAAsC,CAAC;AAE9C;;;;;;;;;GASG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyErB,CAAC;AAEX;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuHW,CAAC"}
1
+ {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/refinement.compliance-document-candidate/playbook.definition.ts"],"names":[],"mappings":"AACA,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,gCAAgC,EAChC,sCAAsC,EACtC,0CAA0C,EAC1C,6CAA6C,EAC7C,8BAA8B,EAC9B,oCAAoC,EACpC,6BAA6B,EAC9B,MAAM,sCAAsC,CAAC;AAE9C;;;;;;;;;GASG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyErB,CAAC;AAEX;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuHW,CAAC"}
@@ -11,7 +11,7 @@ import { MetaWorkflow_AuthorityAssuranceClass, MetaWorkflow_AuthorityDecisionMod
11
11
  */
12
12
  export const playbookDefinition = {
13
13
  "ref": "refinement.compliance-document-candidate",
14
- "version": "0.7.0",
14
+ "version": "0.8.0",
15
15
  "phase": "refinement",
16
16
  "intent": "Propose structured privacy-notice or service-terms candidate content from the application's accepted document facts. The companion agent may draft prose but cannot invent a fact, decide a legal question, approve, release or publish the document: every clause it writes is checked against the `document-facts` family, and a clause asserting a fact the application never declared is refused before it becomes a file.",
17
17
  "preconditions": [
@@ -125,8 +125,8 @@ export const evaluationTreatmentSource = {
125
125
  criteria: [{
126
126
  schemaVersion: 1,
127
127
  criterionRef: 'application-creation:criterion/compliance-document-claims-within-guard',
128
- criterionVersion: 1,
129
- instruction: 'The subject under judgment is each landed `compliance-document-candidate`. For EVERY clause, find the catalog claim guards it names in `claimGuardRefs` in the "Catalog claim guards" section of the evidence. A clause\'s `claimGuardRefs` mixes TWO vocabularies and only one is defined anywhere: a `document-claim-guard:` ref is the CATALOG\'s, added from the blueprint clauses the clause satisfies, and the evidence section carries its prohibited claims and reviewer instruction. A bare `claim-guard:` ref is the DRAFTER\'S OWN statement of what its clause must not be read as claiming; no catalog defines it and none will be supplied. Read it as context about the clause\'s intent, and NEVER answer INDETERMINATE because its definition is absent — that is not missing evidence, it is a vocabulary that has no definitions, and read the clause\'s `bodyMarkdown` against each guard\'s prohibited claims and reviewer instruction. Look for: a claim of certification, attestation or audit without the authority to make it; a legal conclusion or legal advice ("you are protected", "this is lawful") rather than a statement of what the operator does; a NIST publication presented as legal equivalence; OPERATING EFFECTIVENESS — a sentence asserting that a control operates, works or worked ("we monitor", "we detect", "access is always reviewed") rather than that something is configured or declared; self-attestation presented as independent assurance; and an unscoped compliance claim ("GDPR compliant", "fully secure"). In a document whose guard names `document-claim-policy:public-safe-baseline`, ANY operating-effectiveness assertion is prohibited, whatever it cites. Do NOT re-check whether cited facts exist — landing already decided that exactly. Name every finding by its `clauseRef`, quote the words, and name the prohibited claim it falls under. Separate severities by CONSEQUENCE: a prohibited claim a reader of the published document would rely on is a GAP; wording that leans toward one without asserting it is a CONCERN.',
128
+ criterionVersion: 2,
129
+ instruction: 'The subject under judgment is each landed `compliance-document-candidate`. For EVERY clause, find the catalog claim guards it names in `claimGuardRefs` in the "Catalog claim guards" section of the evidence. A clause\'s `claimGuardRefs` mixes TWO vocabularies and only one is defined anywhere: a `document-claim-guard:` ref is the CATALOG\'s, added from the blueprint clauses the clause satisfies, and the evidence section carries its prohibited claims and reviewer instruction. A bare `claim-guard:` ref is the DRAFTER\'S OWN statement of what its clause must not be read as claiming; no catalog defines it and none will be supplied. Read it as context about the clause\'s intent, and NEVER answer INDETERMINATE because its definition is absent — that is not missing evidence, it is a vocabulary that has no definitions, and read the clause\'s `bodyMarkdown` against each guard\'s prohibited claims and reviewer instruction. Look for: a claim of certification, attestation or audit without the authority to make it; a legal conclusion or legal advice ("you are protected", "this is lawful") rather than a statement of what the operator does; a NIST publication presented as legal equivalence; OPERATING EFFECTIVENESS — a sentence asserting that a control operates, works or worked ("we monitor", "we detect", "access is always reviewed") rather than that something is configured or declared; self-attestation presented as independent assurance; and an unscoped compliance claim ("GDPR compliant", "fully secure"). In a document whose guard names `document-claim-policy:public-safe-baseline`, an operating-effectiveness assertion is prohibited, with ONE exception (decided 2026-11-06, #3343): a statement of what the application\'s OWN RECORDS show, taken from a fact the runtime computes from records (`retention-enforcement`, `ai-content-guardrails`) and scoped to that fact\'s observation ("as of <date>", "in the window <from>–<to>"), is permitted, because it reports a record rather than the operator\'s judgement. Still prohibited in a public document: such a statement with no date or window, one that generalizes beyond it ("runs on every call", "is always enforced"), one that reads a quiet window as having run or as not having run, and any assertion resting on a judged run or an evidence citation. Do NOT re-check whether cited facts exist — landing already decided that exactly. Name every finding by its `clauseRef`, quote the words, and name the prohibited claim it falls under. Separate severities by CONSEQUENCE: a prohibited claim a reader of the published document would rely on is a GAP; wording that leans toward one without asserting it is a CONCERN.',
130
130
  evidenceRequirements: [{
131
131
  schemaVersion: 1,
132
132
  requirementRef: 'application-creation:evidence-requirement/compliance-document-claims-within-guard',
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../../src/playbooks/refinement.compliance-document-candidate/playbook.definition.ts"],"names":[],"mappings":"AACA,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,gCAAgC,EACh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E,mBAAmB,EAAE,gCAAgC,CAAC,gBAAgB,EAAE,MAAM,EAAE,+BAA+B,CAAC,gBAAgB,EAAE;YACpI,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,iBAAiB,EAAE,MAAM,EAAE,+BAA+B,CAAC,iBAAiB,EAAE;YACtI,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,KAAK,EAAE,MAAM,EAAE,+BAA+B,CAAC,KAAK,EAAE;SAC/G;QACD,uBAAuB,EAAE,CAAC;QAC1B,uBAAuB,EAAE,CAAC;QAC1B,uBAAuB,EAAE,CAAC;QAC1B,cAAc,EAAE,+BAA+B,CAAC,KAAK;KACtD;CAC8C,CAAC","sourcesContent":["import type { MetaWorkflowEvaluationTreatmentSource } from '@wildo-ai/saas-backend-lib/meta-workflow-runtime';\nimport {\n MetaWorkflow_AuthorityAssuranceClass,\n MetaWorkflow_AuthorityDecisionMode,\n MetaWorkflow_AuthorityInteractionChannel,\n MetaWorkflow_ContinuationAction,\n MetaWorkflow_DecisionConsequence,\n MetaWorkflow_DecisionRuleBoundaryClass,\n MetaWorkflow_EvaluationAggregationStrategy,\n MetaWorkflow_EvaluationPromptAssemblyStrategy,\n MetaWorkflow_EvaluationVerdict,\n MetaWorkflow_EvidenceRequirementKind,\n MetaWorkflow_HardFloorPosture,\n} from '@wildo-ai/saas-models/meta-workflows';\n\n/**\n * Canonical native declaration for this reusable application-creation method.\n *\n * Migrated from the retired JSON-v1 authoring format at the first-activation hard cut. (This header used to say the\n * companion pins `@0.1.0` and fails closed without it; nothing in the repository pins any version of this playbook,\n * measured 2026-09-22 — the claim outlived whatever held it.)\n *\n * 0.3.0 adds the advisory CLAIM judge below (#1452): until then this source carried no evaluation treatment at all,\n * so the catalog's prohibited claims — the prose half of every claim guard — reached no reader.\n */\nexport const playbookDefinition =\n{\n \"ref\": \"refinement.compliance-document-candidate\",\n \"version\": \"0.7.0\",\n \"phase\": \"refinement\",\n \"intent\": \"Propose structured privacy-notice or service-terms candidate content from the application's accepted document facts. The companion agent may draft prose but cannot invent a fact, decide a legal question, approve, release or publish the document: every clause it writes is checked against the `document-facts` family, and a clause asserting a fact the application never declared is refused before it becomes a file.\",\n \"preconditions\": [\n {\n /*\n * The facts this draft SHOULD rest on — expected first, never a gate.\n *\n * Three revisions, and the middle one is the instructive part:\n *\n * 1. Until 2026-08-28 this gated on `compliance-document-fact-projection`, a host-computed\n * projection sealed with a projector identity, source-head digests and per-contribution\n * authority receipts. `artifact_valid` reads LANDED families and a host-computed projection\n * never lands, so the precondition could never be satisfied: this playbook, and with it the\n * whole `refinement` phase, was permanently ineligible from the day it was authored, and\n * nothing reported it because an ineligible playbook never reaches the board. The projection\n * went with the digest demolition (`.claude/rules/one-source-of-truth.md`, Rule 0).\n * 2. It was then re-gated onto `document-facts` with `artifact_valid`, which made it reachable\n * — and blocking. That is the wrong posture for a compliance document: an application must be\n * able to produce its privacy notice today, with the statements it cannot yet establish\n * marked incomplete, and complete them later. A document nobody can produce is worth less\n * than one that states precisely what is missing.\n * 3. `artifact_expected` (SEQUENCING) says facts come first while letting a human run proceed\n * past it. What the old projection PROTECTED — a document may not assert what nobody\n * established — is unaffected: it is a cross-reference check between this draft and the\n * facts file, run before the write, and it refuses INVENTION rather than incompleteness.\n */\n \"kind\": \"artifact_expected\",\n \"selector\": {\n \"family\": \"document-facts\"\n }\n }\n ],\n \"inputs\": [\n {\n \"family\": \"document-facts\"\n }\n ],\n \"outputs\": [\n\n {\n \"family\": \"compliance-document-candidate\",\n \"schemaRef\": \"saas-specifications:ComplianceDocumentCandidate\",\n \"description\": \"An untrusted structured content proposal that lands as a FILE for a human to read and commit. Its clauses are validated against the application's accepted document facts before the write; landing is never an approval, a release or a publication. Nothing is sealed \\u2014 the draft is accepted by being committed.\"\n }\n ],\n \"method\": {\n \"//contextSources\": \"DOCUMENT_BLUEPRINT \\u2014 this playbook DRAFTS a governed document, and the catalog is the only thing that says what one must contain. Measured 2026-08-30: `document-definition:public.privacy-notice` requires eight facts; wonder-crm's generated notice declared twenty and matched NONE of them, scoring zero dangling citations throughout \\u2014 internally consistent, and addressing none of what a privacy notice is obliged to address. The catalog had held the answer since it was written and had no runtime lookup of any kind, while this playbook's own skill instructed the drafter to \\\"Read the definition and blueprint\\\": a step it was told to perform and given nothing to perform it on. Deliberately NOT COMPLIANCE_PRIMARY_FACTS: that source carries raw resource declarations and belongs to `refinement.document-facts`, which declares it. A drafter given mechanism directly could write a clause resting on something the application never DECLARED, which is precisely what the fact-binding check exists to refuse \\u2014 this playbook reads the declared `document-facts` family and nothing beneath it.\",\n \"//contextSources.authored_document_facts\": \"AUTHORED_DOCUMENT_FACTS \\u2014 the facts a PERSON established, which the derived family does not carry and no playbook produces, so it cannot be a declared input. Measured on the first live governance draft: a clause CITED an authored fact and paraphrased around a value it had never read, and the landing accepted it because the fact-binding check asks whether a fact was DECLARED, never whether the drafter could read it.\",\n \"contextSources\": [\"document_blueprint\", \"authored_document_facts\"],\n \"//draftableDocumentDefinitionRefs\": \"The PUBLIC pair, and this lane's subject. Declared here rather than in the companion since 2026-09-22 (#1453): a drafting lane is defined by the documents it may produce, and while that list was a runtime constant there could be exactly one lane. The four internal `governance.*` documents are `refinement.governance-document-candidate`'s, and they are a separate lane rather than four more entries here because the brief carries every declared blueprint in full \\u2014 measured: 21KB for this pair, 24KB for the governance four, 45KB together, and a prompt section that gets skimmed is indistinguishable from an absent one.\",\n \"draftableDocumentDefinitionRefs\": [\n \"document-definition:public.privacy-notice\",\n \"document-definition:public.service-terms\"\n ],\n \"//briefAdequacyGate\": \"The #254 pilot (decision 2026-09-02, built 2026-09-04): this lane is where both recorded promise-gap defects lived, and its context needs vary per document. The gate judges the composed brief once; INSUFFICIENT adds proposed sources for this run only. The exclusion carries the //contextSources boundary above into the mechanism: the gate may never hand this drafter raw resource mechanism.\",\n \"briefAdequacyGate\": true,\n \"briefAdequacyExcludedSources\": [\"compliance_primary_facts\"],\n \"skillRefs\": [\n \"compliance-document-authoring\"\n ],\n \"//skillBodyRefs\": \"This method says \\u0022follow the `compliance-document-authoring` skill\\u0022, and a structured generation has NO TOOLS \\u2014 so only its purpose line ever arrived and the model followed a document it had never been shown (#1435). Declaring the body puts the contract in the brief.\",\n \"skillBodyRefs\": [\"compliance-document-authoring\"]\n },\n \"executor\": \"companion_agent\",\n \"approval\": \"approve_result\",\n \"budget\": {\n \"maxRuns\": 3\n },\n \"onFailure\": \"keep_and_flag\"\n} as const;\n\n/**\n * The advisory CLAIM judge over a drafted compliance document (#1452).\n *\n * ## What it closes\n *\n * Every catalog claim guard carries prohibited claims — certification without authority, a legal conclusion, NIST as\n * legal equivalence, operating effectiveness without evidence, self-attestation as independent assurance, an unscoped\n * compliance claim. Their FACT half is enforced at landing (a guard's required facts are its blueprint's required-clause\n * facts, and the coverage validator refuses a candidate that leaves one uncited). Their PROSE half is not something a\n * validator can decide — it is what a sentence asserts — and until this treatment existed nothing read it: the drafting\n * brief keeps guards out of the drafter's prompt on purpose, and the playbook had no judge.\n *\n * ## What it reads, and what it does not decide\n *\n * The landed candidates, and the catalog guards of the drafted documents, rendered by the companion into the judge's\n * derived context. Each clause names its catalog guard in `claimGuardRefs` (derived at normalization since 914b2c11), so\n * the judge joins a clause to the prohibitions it answers to by ref. It does NOT re-check fact citation (the landing\n * validator decides that exactly) and it does NOT approve anything: a candidate is an unapproved draft whatever the\n * verdict, and approval is the commit.\n *\n * ADVISORY by construction (`runPlaybookJudge`): it speaks after the files land and nothing refuses on its verdict —\n * `application-creation-directive.md`, a workflow never blocks the mechanism.\n *\n * ## Operating claims in PUBLIC documents\n *\n * Paul decided 2026-09-21 (#297): public documents keep the operating-effectiveness prohibition until Gate 3 arms the\n * publication gate. So in a document under `document-claim-policy:public-safe-baseline`, ANY assertion that a control\n * operates — not that it is configured — is a GAP, whatever supports it.\n */\nexport const evaluationTreatmentSource = {\n schemaVersion: 1,\n definitionRef: 'application-creation:evaluation-treatment/compliance-document-claims',\n definitionVersion: 1,\n evaluationProtocol: {\n schemaVersion: 1,\n protocolRef: 'application-creation:evaluation-protocol/compliance-document-claims',\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-compliance-document-claims-verdict',\n criteria: [{\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/compliance-document-claims-within-guard',\n criterionVersion: 1,\n instruction: 'The subject under judgment is each landed `compliance-document-candidate`. For EVERY clause, find the catalog claim guards it names in `claimGuardRefs` in the \"Catalog claim guards\" section of the evidence. A clause\\'s `claimGuardRefs` mixes TWO vocabularies and only one is defined anywhere: a `document-claim-guard:` ref is the CATALOG\\'s, added from the blueprint clauses the clause satisfies, and the evidence section carries its prohibited claims and reviewer instruction. A bare `claim-guard:` ref is the DRAFTER\\'S OWN statement of what its clause must not be read as claiming; no catalog defines it and none will be supplied. Read it as context about the clause\\'s intent, and NEVER answer INDETERMINATE because its definition is absent — that is not missing evidence, it is a vocabulary that has no definitions, and read the clause\\'s `bodyMarkdown` against each guard\\'s prohibited claims and reviewer instruction. Look for: a claim of certification, attestation or audit without the authority to make it; a legal conclusion or legal advice (\"you are protected\", \"this is lawful\") rather than a statement of what the operator does; a NIST publication presented as legal equivalence; OPERATING EFFECTIVENESS — a sentence asserting that a control operates, works or worked (\"we monitor\", \"we detect\", \"access is always reviewed\") rather than that something is configured or declared; self-attestation presented as independent assurance; and an unscoped compliance claim (\"GDPR compliant\", \"fully secure\"). In a document whose guard names `document-claim-policy:public-safe-baseline`, ANY operating-effectiveness assertion is prohibited, whatever it cites. Do NOT re-check whether cited facts exist — landing already decided that exactly. Name every finding by its `clauseRef`, quote the words, and name the prohibited claim it falls under. Separate severities by CONSEQUENCE: a prohibited claim a reader of the published document would rely on is a GAP; wording that leans toward one without asserting it is a CONCERN.',\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/compliance-document-claims-within-guard',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/compliance-document-candidates-and-catalog-claim-guards',\n minCount: 1,\n maxCount: 1,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-catalog-claim-guards-of-drafted-documents',\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]: 'No clause asserts a prohibited claim: nothing certifies, concludes the law, equates NIST with law, asserts a control operates in a public document, presents self-attestation as independence, or claims unscoped compliance.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'No prohibited claim is asserted, but wording leans toward one in a way a reader could take as the claim — a softened operating assertion, a scope left implicit. Name each clauseRef and quote it.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'At least one clause asserts a prohibited claim a reader would rely on. Name each clauseRef, quote the words, and name the prohibited claim.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The CATALOG guards of the drafted documents are absent from the evidence, or a document has no catalog guard at all, so the clauses cannot be judged against what they must not claim. Say which. A clause-level `claim-guard:` ref having no definition is NOT this: that vocabulary has none anywhere.',\n },\n }],\n },\n evaluatorBindingPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:evaluator-binding-policy/compliance-document-claims',\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/compliance-document-claims',\n decisionPointVersion: 1,\n triggerRefs: ['application-creation:trigger/compliance-document-candidate-staged-and-valid'],\n hardFloorRefs: ['application-creation:hard-floor/compliance-document-candidate-valid'],\n riskPolicyRef: 'application-creation:risk-policy/scoped-application-and-execution-context',\n significancePolicyRef: 'application-creation:significance-policy/compliance-document-change',\n },\n decisionRule: {\n schemaVersion: 1,\n ruleRef: 'application-creation:decision-rule/compliance-document-claims',\n ruleVersion: 1,\n boundaryClass: MetaWorkflow_DecisionRuleBoundaryClass.QUALITY_INTERPRETATION,\n evidenceAggregationRef: 'application-creation:aggregation/worst-compliance-document-claims-verdict',\n resultMappings: [\n { verdict: MetaWorkflow_EvaluationVerdict.PASS, consequence: MetaWorkflow_DecisionConsequence.REQUEST_AUTHORITY },\n { verdict: MetaWorkflow_EvaluationVerdict.CONCERN, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.GAP, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.INDETERMINATE, consequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE },\n ],\n hardFloorBindings: [{\n hardFloorRef: 'application-creation:hard-floor/compliance-document-candidate-valid',\n evidenceRequirementRefs: ['application-creation:evidence-requirement/compliance-document-claims-within-guard'],\n }],\n hardFloorFailureConsequence: MetaWorkflow_DecisionConsequence.BLOCK,\n hardFloorShortcutAllowed: false,\n unresolvedConsequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE,\n evaluatorFailureConsequence: MetaWorkflow_DecisionConsequence.BLOCK,\n },\n authorityRequirement: {\n schemaVersion: 1,\n requirementRef: 'application-creation:authority-requirement/compliance-document-claims',\n requirementVersion: 1,\n consequenceClassRef: 'application-creation:authority-consequence/accept-compliance-document-candidate',\n riskClassRef: 'application-creation:risk/compliance-claim-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/compliance-document-claims-within-guard'],\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/compliance-document-claims',\n policyVersion: 1,\n mappings: [\n { decisionConsequence: MetaWorkflow_DecisionConsequence.CONTINUE, action: MetaWorkflow_ContinuationAction.CONTINUE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REVISE, action: MetaWorkflow_ContinuationAction.REVISE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE, action: MetaWorkflow_ContinuationAction.REQUEST_EVIDENCE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REQUEST_AUTHORITY, action: MetaWorkflow_ContinuationAction.REQUEST_AUTHORITY },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.BLOCK, action: MetaWorkflow_ContinuationAction.BLOCK },\n ],\n maximumRevisionAttempts: 3,\n maximumEvidenceRequests: 2,\n maximumAuthorityReviews: 1,\n fallbackAction: MetaWorkflow_ContinuationAction.BLOCK,\n },\n} satisfies MetaWorkflowEvaluationTreatmentSource;\n"]}
1
+ {"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../src/playbooks/refinement.compliance-document-candidate/playbook.definition.ts"],"names":[],"mappings":"AACA,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,gCAAgC,EAChC,sCAAsC,EACtC,0CAA0C,EAC1C,6CAA6C,EAC7C,8BAA8B,EAC9B,oCAAoC,EACpC,6BAA6B,GAC9B,MAAM,sCAAsC,CAAC;AAE9C;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAC/B;IACE,KAAK,EAAE,0CAA0C;IACjD,SAAS,EAAE,OAAO;IAClB,OAAO,EAAE,YAAY;IACrB,QAAQ,EAAE,gaAAga;IAC1a,eAAe,EAAE;QACf;YACE;;;;;;;;;;;;;;;;;;;;;eAqBG;YACH,MAAM,EAAE,mBAAmB;YAC3B,UAAU,EAAE;gBACV,QAAQ,EAAE,gBAAgB;aAC3B;SACF;KACF;IACD,QAAQ,EAAE;QACR;YACE,QAAQ,EAAE,gBAAgB;SAC3B;KACF;IACD,SAAS,EAAE;QAET;YACE,QAAQ,EAAE,+BAA+B;YACzC,WAAW,EAAE,iDAAiD;YAC9D,aAAa,EAAE,0TAA0T;SAC1U;KACF;IACD,QAAQ,EAAE;QACR,kBAAkB,EAAE,glCAAglC;QACpmC,0CAA0C,EAAE,yaAAya;QACrd,gBAAgB,EAAE,CAAC,oBAAoB,EAAE,yBAAyB,CAAC;QACnE,mCAAmC,EAAE,knBAAknB;QACvpB,iCAAiC,EAAE;YACjC,2CAA2C;YAC3C,0CAA0C;SAC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,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,qEAAqE;QAChF,aAAa,EAAE,CAAC;QAChB,QAAQ,EAAE;YACR,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,QAAQ,EAAE,MAAM,EAAE,+BAA+B,CAAC,QAAQ,EAAE;YACpH,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,MAAM,EAAE,MAAM,EAAE,+BAA+B,CAAC,MAAM,EAAE;YAChH,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,gBAAgB,EAAE,MAAM,EAAE,+BAA+B,CAAC,gBAAgB,EAAE;YACpI,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,iBAAiB,EAAE,MAAM,EAAE,+BAA+B,CAAC,iBAAiB,EAAE;YACtI,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,KAAK,EAAE,MAAM,EAAE,+BAA+B,CAAC,KAAK,EAAE;SAC/G;QACD,uBAAuB,EAAE,CAAC;QAC1B,uBAAuB,EAAE,CAAC;QAC1B,uBAAuB,EAAE,CAAC;QAC1B,cAAc,EAAE,+BAA+B,CAAC,KAAK;KACtD;CAC8C,CAAC","sourcesContent":["import type { MetaWorkflowEvaluationTreatmentSource } from '@wildo-ai/saas-backend-lib/meta-workflow-runtime';\nimport {\n MetaWorkflow_AuthorityAssuranceClass,\n MetaWorkflow_AuthorityDecisionMode,\n MetaWorkflow_AuthorityInteractionChannel,\n MetaWorkflow_ContinuationAction,\n MetaWorkflow_DecisionConsequence,\n MetaWorkflow_DecisionRuleBoundaryClass,\n MetaWorkflow_EvaluationAggregationStrategy,\n MetaWorkflow_EvaluationPromptAssemblyStrategy,\n MetaWorkflow_EvaluationVerdict,\n MetaWorkflow_EvidenceRequirementKind,\n MetaWorkflow_HardFloorPosture,\n} from '@wildo-ai/saas-models/meta-workflows';\n\n/**\n * Canonical native declaration for this reusable application-creation method.\n *\n * Migrated from the retired JSON-v1 authoring format at the first-activation hard cut. (This header used to say the\n * companion pins `@0.1.0` and fails closed without it; nothing in the repository pins any version of this playbook,\n * measured 2026-09-22 — the claim outlived whatever held it.)\n *\n * 0.3.0 adds the advisory CLAIM judge below (#1452): until then this source carried no evaluation treatment at all,\n * so the catalog's prohibited claims — the prose half of every claim guard — reached no reader.\n */\nexport const playbookDefinition =\n{\n \"ref\": \"refinement.compliance-document-candidate\",\n \"version\": \"0.8.0\",\n \"phase\": \"refinement\",\n \"intent\": \"Propose structured privacy-notice or service-terms candidate content from the application's accepted document facts. The companion agent may draft prose but cannot invent a fact, decide a legal question, approve, release or publish the document: every clause it writes is checked against the `document-facts` family, and a clause asserting a fact the application never declared is refused before it becomes a file.\",\n \"preconditions\": [\n {\n /*\n * The facts this draft SHOULD rest on — expected first, never a gate.\n *\n * Three revisions, and the middle one is the instructive part:\n *\n * 1. Until 2026-08-28 this gated on `compliance-document-fact-projection`, a host-computed\n * projection sealed with a projector identity, source-head digests and per-contribution\n * authority receipts. `artifact_valid` reads LANDED families and a host-computed projection\n * never lands, so the precondition could never be satisfied: this playbook, and with it the\n * whole `refinement` phase, was permanently ineligible from the day it was authored, and\n * nothing reported it because an ineligible playbook never reaches the board. The projection\n * went with the digest demolition (`.claude/rules/one-source-of-truth.md`, Rule 0).\n * 2. It was then re-gated onto `document-facts` with `artifact_valid`, which made it reachable\n * — and blocking. That is the wrong posture for a compliance document: an application must be\n * able to produce its privacy notice today, with the statements it cannot yet establish\n * marked incomplete, and complete them later. A document nobody can produce is worth less\n * than one that states precisely what is missing.\n * 3. `artifact_expected` (SEQUENCING) says facts come first while letting a human run proceed\n * past it. What the old projection PROTECTED — a document may not assert what nobody\n * established — is unaffected: it is a cross-reference check between this draft and the\n * facts file, run before the write, and it refuses INVENTION rather than incompleteness.\n */\n \"kind\": \"artifact_expected\",\n \"selector\": {\n \"family\": \"document-facts\"\n }\n }\n ],\n \"inputs\": [\n {\n \"family\": \"document-facts\"\n }\n ],\n \"outputs\": [\n\n {\n \"family\": \"compliance-document-candidate\",\n \"schemaRef\": \"saas-specifications:ComplianceDocumentCandidate\",\n \"description\": \"An untrusted structured content proposal that lands as a FILE for a human to read and commit. Its clauses are validated against the application's accepted document facts before the write; landing is never an approval, a release or a publication. Nothing is sealed \\u2014 the draft is accepted by being committed.\"\n }\n ],\n \"method\": {\n \"//contextSources\": \"DOCUMENT_BLUEPRINT \\u2014 this playbook DRAFTS a governed document, and the catalog is the only thing that says what one must contain. Measured 2026-08-30: `document-definition:public.privacy-notice` requires eight facts; wonder-crm's generated notice declared twenty and matched NONE of them, scoring zero dangling citations throughout \\u2014 internally consistent, and addressing none of what a privacy notice is obliged to address. The catalog had held the answer since it was written and had no runtime lookup of any kind, while this playbook's own skill instructed the drafter to \\\"Read the definition and blueprint\\\": a step it was told to perform and given nothing to perform it on. Deliberately NOT COMPLIANCE_PRIMARY_FACTS: that source carries raw resource declarations and belongs to `refinement.document-facts`, which declares it. A drafter given mechanism directly could write a clause resting on something the application never DECLARED, which is precisely what the fact-binding check exists to refuse \\u2014 this playbook reads the declared `document-facts` family and nothing beneath it.\",\n \"//contextSources.authored_document_facts\": \"AUTHORED_DOCUMENT_FACTS \\u2014 the facts a PERSON established, which the derived family does not carry and no playbook produces, so it cannot be a declared input. Measured on the first live governance draft: a clause CITED an authored fact and paraphrased around a value it had never read, and the landing accepted it because the fact-binding check asks whether a fact was DECLARED, never whether the drafter could read it.\",\n \"contextSources\": [\"document_blueprint\", \"authored_document_facts\"],\n \"//draftableDocumentDefinitionRefs\": \"The PUBLIC pair, and this lane's subject. Declared here rather than in the companion since 2026-09-22 (#1453): a drafting lane is defined by the documents it may produce, and while that list was a runtime constant there could be exactly one lane. The four internal `governance.*` documents are `refinement.governance-document-candidate`'s, and they are a separate lane rather than four more entries here because the brief carries every declared blueprint in full \\u2014 measured: 21KB for this pair, 24KB for the governance four, 45KB together, and a prompt section that gets skimmed is indistinguishable from an absent one.\",\n \"draftableDocumentDefinitionRefs\": [\n \"document-definition:public.privacy-notice\",\n \"document-definition:public.service-terms\"\n ],\n \"//briefAdequacyGate\": \"The #254 pilot (decision 2026-09-02, built 2026-09-04): this lane is where both recorded promise-gap defects lived, and its context needs vary per document. The gate judges the composed brief once; INSUFFICIENT adds proposed sources for this run only. The exclusion carries the //contextSources boundary above into the mechanism: the gate may never hand this drafter raw resource mechanism.\",\n \"briefAdequacyGate\": true,\n \"briefAdequacyExcludedSources\": [\"compliance_primary_facts\"],\n \"skillRefs\": [\n \"compliance-document-authoring\"\n ],\n \"//skillBodyRefs\": \"This method says \\u0022follow the `compliance-document-authoring` skill\\u0022, and a structured generation has NO TOOLS \\u2014 so only its purpose line ever arrived and the model followed a document it had never been shown (#1435). Declaring the body puts the contract in the brief.\",\n \"skillBodyRefs\": [\"compliance-document-authoring\"]\n },\n \"executor\": \"companion_agent\",\n \"approval\": \"approve_result\",\n \"budget\": {\n \"maxRuns\": 3\n },\n \"onFailure\": \"keep_and_flag\"\n} as const;\n\n/**\n * The advisory CLAIM judge over a drafted compliance document (#1452).\n *\n * ## What it closes\n *\n * Every catalog claim guard carries prohibited claims — certification without authority, a legal conclusion, NIST as\n * legal equivalence, operating effectiveness without evidence, self-attestation as independent assurance, an unscoped\n * compliance claim. Their FACT half is enforced at landing (a guard's required facts are its blueprint's required-clause\n * facts, and the coverage validator refuses a candidate that leaves one uncited). Their PROSE half is not something a\n * validator can decide — it is what a sentence asserts — and until this treatment existed nothing read it: the drafting\n * brief keeps guards out of the drafter's prompt on purpose, and the playbook had no judge.\n *\n * ## What it reads, and what it does not decide\n *\n * The landed candidates, and the catalog guards of the drafted documents, rendered by the companion into the judge's\n * derived context. Each clause names its catalog guard in `claimGuardRefs` (derived at normalization since 914b2c11), so\n * the judge joins a clause to the prohibitions it answers to by ref. It does NOT re-check fact citation (the landing\n * validator decides that exactly) and it does NOT approve anything: a candidate is an unapproved draft whatever the\n * verdict, and approval is the commit.\n *\n * ADVISORY by construction (`runPlaybookJudge`): it speaks after the files land and nothing refuses on its verdict —\n * `application-creation-directive.md`, a workflow never blocks the mechanism.\n *\n * ## Operating claims in PUBLIC documents\n *\n * Paul decided 2026-09-21 (#297): public documents keep the operating-effectiveness prohibition until Gate 3 arms the\n * publication gate. So in a document under `document-claim-policy:public-safe-baseline`, ANY assertion that a control\n * operates — not that it is configured — is a GAP, whatever supports it.\n */\nexport const evaluationTreatmentSource = {\n schemaVersion: 1,\n definitionRef: 'application-creation:evaluation-treatment/compliance-document-claims',\n definitionVersion: 1,\n evaluationProtocol: {\n schemaVersion: 1,\n protocolRef: 'application-creation:evaluation-protocol/compliance-document-claims',\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-compliance-document-claims-verdict',\n criteria: [{\n schemaVersion: 1,\n criterionRef: 'application-creation:criterion/compliance-document-claims-within-guard',\n criterionVersion: 2,\n instruction: 'The subject under judgment is each landed `compliance-document-candidate`. For EVERY clause, find the catalog claim guards it names in `claimGuardRefs` in the \"Catalog claim guards\" section of the evidence. A clause\\'s `claimGuardRefs` mixes TWO vocabularies and only one is defined anywhere: a `document-claim-guard:` ref is the CATALOG\\'s, added from the blueprint clauses the clause satisfies, and the evidence section carries its prohibited claims and reviewer instruction. A bare `claim-guard:` ref is the DRAFTER\\'S OWN statement of what its clause must not be read as claiming; no catalog defines it and none will be supplied. Read it as context about the clause\\'s intent, and NEVER answer INDETERMINATE because its definition is absent — that is not missing evidence, it is a vocabulary that has no definitions, and read the clause\\'s `bodyMarkdown` against each guard\\'s prohibited claims and reviewer instruction. Look for: a claim of certification, attestation or audit without the authority to make it; a legal conclusion or legal advice (\"you are protected\", \"this is lawful\") rather than a statement of what the operator does; a NIST publication presented as legal equivalence; OPERATING EFFECTIVENESS — a sentence asserting that a control operates, works or worked (\"we monitor\", \"we detect\", \"access is always reviewed\") rather than that something is configured or declared; self-attestation presented as independent assurance; and an unscoped compliance claim (\"GDPR compliant\", \"fully secure\"). In a document whose guard names `document-claim-policy:public-safe-baseline`, an operating-effectiveness assertion is prohibited, with ONE exception (decided 2026-11-06, #3343): a statement of what the application\\'s OWN RECORDS show, taken from a fact the runtime computes from records (`retention-enforcement`, `ai-content-guardrails`) and scoped to that fact\\'s observation (\"as of <date>\", \"in the window <from>–<to>\"), is permitted, because it reports a record rather than the operator\\'s judgement. Still prohibited in a public document: such a statement with no date or window, one that generalizes beyond it (\"runs on every call\", \"is always enforced\"), one that reads a quiet window as having run or as not having run, and any assertion resting on a judged run or an evidence citation. Do NOT re-check whether cited facts exist — landing already decided that exactly. Name every finding by its `clauseRef`, quote the words, and name the prohibited claim it falls under. Separate severities by CONSEQUENCE: a prohibited claim a reader of the published document would rely on is a GAP; wording that leans toward one without asserting it is a CONCERN.',\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: 'application-creation:evidence-requirement/compliance-document-claims-within-guard',\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: 'application-creation:definition-set/compliance-document-candidates-and-catalog-claim-guards',\n minCount: 1,\n maxCount: 1,\n coveragePolicyRef: 'application-creation:evidence-policy/exact-catalog-claim-guards-of-drafted-documents',\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]: 'No clause asserts a prohibited claim: nothing certifies, concludes the law, equates NIST with law, asserts a control operates in a public document, presents self-attestation as independence, or claims unscoped compliance.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'No prohibited claim is asserted, but wording leans toward one in a way a reader could take as the claim — a softened operating assertion, a scope left implicit. Name each clauseRef and quote it.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'At least one clause asserts a prohibited claim a reader would rely on. Name each clauseRef, quote the words, and name the prohibited claim.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The CATALOG guards of the drafted documents are absent from the evidence, or a document has no catalog guard at all, so the clauses cannot be judged against what they must not claim. Say which. A clause-level `claim-guard:` ref having no definition is NOT this: that vocabulary has none anywhere.',\n },\n }],\n },\n evaluatorBindingPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:evaluator-binding-policy/compliance-document-claims',\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/compliance-document-claims',\n decisionPointVersion: 1,\n triggerRefs: ['application-creation:trigger/compliance-document-candidate-staged-and-valid'],\n hardFloorRefs: ['application-creation:hard-floor/compliance-document-candidate-valid'],\n riskPolicyRef: 'application-creation:risk-policy/scoped-application-and-execution-context',\n significancePolicyRef: 'application-creation:significance-policy/compliance-document-change',\n },\n decisionRule: {\n schemaVersion: 1,\n ruleRef: 'application-creation:decision-rule/compliance-document-claims',\n ruleVersion: 1,\n boundaryClass: MetaWorkflow_DecisionRuleBoundaryClass.QUALITY_INTERPRETATION,\n evidenceAggregationRef: 'application-creation:aggregation/worst-compliance-document-claims-verdict',\n resultMappings: [\n { verdict: MetaWorkflow_EvaluationVerdict.PASS, consequence: MetaWorkflow_DecisionConsequence.REQUEST_AUTHORITY },\n { verdict: MetaWorkflow_EvaluationVerdict.CONCERN, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.GAP, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.INDETERMINATE, consequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE },\n ],\n hardFloorBindings: [{\n hardFloorRef: 'application-creation:hard-floor/compliance-document-candidate-valid',\n evidenceRequirementRefs: ['application-creation:evidence-requirement/compliance-document-claims-within-guard'],\n }],\n hardFloorFailureConsequence: MetaWorkflow_DecisionConsequence.BLOCK,\n hardFloorShortcutAllowed: false,\n unresolvedConsequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE,\n evaluatorFailureConsequence: MetaWorkflow_DecisionConsequence.BLOCK,\n },\n authorityRequirement: {\n schemaVersion: 1,\n requirementRef: 'application-creation:authority-requirement/compliance-document-claims',\n requirementVersion: 1,\n consequenceClassRef: 'application-creation:authority-consequence/accept-compliance-document-candidate',\n riskClassRef: 'application-creation:risk/compliance-claim-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/compliance-document-claims-within-guard'],\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/compliance-document-claims',\n policyVersion: 1,\n mappings: [\n { decisionConsequence: MetaWorkflow_DecisionConsequence.CONTINUE, action: MetaWorkflow_ContinuationAction.CONTINUE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REVISE, action: MetaWorkflow_ContinuationAction.REVISE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE, action: MetaWorkflow_ContinuationAction.REQUEST_EVIDENCE },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.REQUEST_AUTHORITY, action: MetaWorkflow_ContinuationAction.REQUEST_AUTHORITY },\n { decisionConsequence: MetaWorkflow_DecisionConsequence.BLOCK, action: MetaWorkflow_ContinuationAction.BLOCK },\n ],\n maximumRevisionAttempts: 3,\n maximumEvidenceRequests: 2,\n maximumAuthorityReviews: 1,\n fallbackAction: MetaWorkflow_ContinuationAction.BLOCK,\n },\n} satisfies MetaWorkflowEvaluationTreatmentSource;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../../src/playbooks/refinement.document-facts/playbook.definition.ts"],"names":[],"mappings":"AACA,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,gCAAgC,EAChC,sCAAsC,EACtC,0CAA0C,EAC1C,6CAA6C,EAC7C,8BAA8B,EAC9B,oCAAoC,EACpC,6BAA6B,EAC7B,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,0BAA0B,EAC1B,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwG+G,CAAC;AAE/I;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuHW,CAAC"}
1
+ {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/refinement.document-facts/playbook.definition.ts"],"names":[],"mappings":"AACA,OAAO,EACL,oCAAoC,EACpC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,EAC/B,gCAAgC,EAChC,sCAAsC,EACtC,0CAA0C,EAC1C,6CAA6C,EAC7C,8BAA8B,EAC9B,oCAAoC,EACpC,6BAA6B,EAC7B,2BAA2B,EAC3B,qBAAqB,EACrB,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,0BAA0B,EAC1B,kBAAkB,EAEnB,MAAM,oDAAoD,CAAC;AAE5D;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0G+G,CAAC;AAE/I;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuHW,CAAC"}
@@ -43,11 +43,13 @@ export const playbookDefinition = {
43
43
  * nothing about when this pass is SAFE to run depended on the phase.
44
44
  */
45
45
  /*
46
- * The vision is required rather than merely declared: `top_down.compliance-posture` records each
47
- * applicable regime as a `compliance`-kind constraint there, and those constraints are what tell
48
- * this pass WHICH facts a later document will need. A derivation with no regime in view produces a
49
- * plausible generic fact set — the exact failure `compliance-document-system.md` forbids ("do not
50
- * generate legal text from a generic SaaS category when application facts are absent").
46
+ * The vision is required rather than merely declared: it carries the product facts and the
47
+ * creator's own compliance constraints. The researched regimes are in the `compliance-posture`
48
+ * family (#3362), declared as an input rather than gated on, so an application whose regime
49
+ * research never reached an adequate verdict still gets its facts. Together they tell this pass
50
+ * WHICH facts a later document will need. A derivation with no regime in view produces a plausible
51
+ * generic fact set — the exact failure to avoid: legal text generated from a generic SaaS category
52
+ * when application facts are absent.
51
53
  */
52
54
  { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'vision-brief' } },
53
55
  /*
@@ -57,7 +59,7 @@ export const playbookDefinition = {
57
59
  */
58
60
  { kind: MetaWorkflow_PredicateKind.ARTIFACT_VALID, selector: { family: 'domain-plan' } },
59
61
  ],
60
- inputs: [{ family: 'vision-brief' }, { family: 'domain-plan' }, { family: 'requirements' }],
62
+ inputs: [{ family: 'vision-brief' }, { family: 'compliance-posture' }, { family: 'domain-plan' }, { family: 'requirements' }],
61
63
  outputs: [{
62
64
  family: 'document-facts',
63
65
  schemaRef: 'saas-specifications:ApplicationDocumentFactSpecification',