@wildo-ai/framework-knowledge 1.1.8 → 1.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (480) 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 +11 -0
  4. package/dist/claude-marketplace/plugins/wildo/references/composites-and-the-loop.md +9 -2
  5. package/dist/claude-marketplace/plugins/wildo/references/creation-state.md +21 -0
  6. package/dist/claude-marketplace/plugins/wildo/references/derived-artifacts.md +121 -0
  7. package/dist/claude-marketplace/plugins/wildo/references/expert-personas-and-deliberations.md +26 -7
  8. package/dist/claude-marketplace/plugins/wildo/references/runs-judges-and-questions.md +31 -5
  9. package/dist/claude-marketplace/plugins/wildo/skills/accept/SKILL.md +4 -2
  10. package/dist/claude-marketplace/plugins/wildo/skills/answer/SKILL.md +29 -2
  11. package/dist/claude-marketplace/plugins/wildo/skills/build/SKILL.md +69 -24
  12. package/dist/claude-marketplace/plugins/wildo/skills/doctor/SKILL.md +10 -0
  13. package/dist/claude-marketplace/plugins/wildo/skills/run/SKILL.md +21 -5
  14. package/dist/claude-marketplace/plugins/wildo/skills/start/SKILL.md +31 -5
  15. package/dist/claude-marketplace/plugins/wildo/skills/status/SKILL.md +2 -0
  16. package/dist/claude-marketplace/plugins/wildo/skills/why/SKILL.md +20 -4
  17. package/dist/esm/framework-knowledge.definitions.d.ts +1 -1
  18. package/dist/esm/framework-knowledge.definitions.d.ts.map +1 -1
  19. package/dist/esm/framework-knowledge.definitions.js +95 -5
  20. package/dist/esm/framework-knowledge.definitions.js.map +1 -1
  21. package/dist/esm/framework-knowledge.loader.d.ts.map +1 -1
  22. package/dist/esm/index.d.ts.map +1 -1
  23. package/dist/esm/playbooks/bottom_up.assemble-verify/playbook.definition.d.ts +2 -2
  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 +2 -2
  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 +11 -11
  28. package/dist/esm/playbooks/bottom_up.build/playbook.definition.d.ts.map +1 -1
  29. package/dist/esm/playbooks/bottom_up.build/playbook.definition.js +29 -22
  30. package/dist/esm/playbooks/bottom_up.build/playbook.definition.js.map +1 -1
  31. package/dist/esm/playbooks/bottom_up.build-decompose/playbook.definition.d.ts +41 -3
  32. package/dist/esm/playbooks/bottom_up.build-decompose/playbook.definition.d.ts.map +1 -1
  33. package/dist/esm/playbooks/bottom_up.build-decompose/playbook.definition.js +175 -14
  34. package/dist/esm/playbooks/bottom_up.build-decompose/playbook.definition.js.map +1 -1
  35. package/dist/esm/playbooks/bottom_up.build-dispatch/playbook.definition.d.ts +1 -1
  36. package/dist/esm/playbooks/bottom_up.build-dispatch/playbook.definition.d.ts.map +1 -1
  37. package/dist/esm/playbooks/bottom_up.build-dispatch/playbook.definition.js +3 -3
  38. package/dist/esm/playbooks/bottom_up.build-dispatch/playbook.definition.js.map +1 -1
  39. package/dist/esm/playbooks/bottom_up.build-scale/playbook.definition.d.ts +1 -1
  40. package/dist/esm/playbooks/bottom_up.build-scale/playbook.definition.js +1 -1
  41. package/dist/esm/playbooks/bottom_up.build-scale/playbook.definition.js.map +1 -1
  42. package/dist/esm/playbooks/bottom_up.conception/playbook.definition.d.ts +8 -4
  43. package/dist/esm/playbooks/bottom_up.conception/playbook.definition.d.ts.map +1 -1
  44. package/dist/esm/playbooks/bottom_up.conception/playbook.definition.js +13 -6
  45. package/dist/esm/playbooks/bottom_up.conception/playbook.definition.js.map +1 -1
  46. package/dist/esm/playbooks/bottom_up.domain-plan/playbook.definition.d.ts +4 -2
  47. package/dist/esm/playbooks/bottom_up.domain-plan/playbook.definition.d.ts.map +1 -1
  48. package/dist/esm/playbooks/bottom_up.domain-plan/playbook.definition.js +90 -13
  49. package/dist/esm/playbooks/bottom_up.domain-plan/playbook.definition.js.map +1 -1
  50. package/dist/esm/playbooks/bottom_up.experience-plan/playbook.definition.d.ts +4 -3
  51. package/dist/esm/playbooks/bottom_up.experience-plan/playbook.definition.d.ts.map +1 -1
  52. package/dist/esm/playbooks/bottom_up.experience-plan/playbook.definition.js +4 -3
  53. package/dist/esm/playbooks/bottom_up.experience-plan/playbook.definition.js.map +1 -1
  54. package/dist/esm/playbooks/bottom_up.foundation/playbook.definition.d.ts +8 -0
  55. package/dist/esm/playbooks/bottom_up.foundation/playbook.definition.d.ts.map +1 -1
  56. package/dist/esm/playbooks/bottom_up.foundation/playbook.definition.js +12 -4
  57. package/dist/esm/playbooks/bottom_up.foundation/playbook.definition.js.map +1 -1
  58. package/dist/esm/playbooks/bottom_up.placement-plan/playbook.definition.d.ts +12 -3
  59. package/dist/esm/playbooks/bottom_up.placement-plan/playbook.definition.d.ts.map +1 -1
  60. package/dist/esm/playbooks/bottom_up.placement-plan/playbook.definition.js +8 -4
  61. package/dist/esm/playbooks/bottom_up.placement-plan/playbook.definition.js.map +1 -1
  62. package/dist/esm/playbooks/bottom_up.website-plan/playbook.definition.d.ts +4 -1
  63. package/dist/esm/playbooks/bottom_up.website-plan/playbook.definition.d.ts.map +1 -1
  64. package/dist/esm/playbooks/bottom_up.website-plan/playbook.definition.js +2 -1
  65. package/dist/esm/playbooks/bottom_up.website-plan/playbook.definition.js.map +1 -1
  66. package/dist/esm/playbooks/cross_cutting.application-creation/playbook.definition.d.ts.map +1 -1
  67. package/dist/esm/playbooks/cross_cutting.compliance/playbook.definition.d.ts.map +1 -1
  68. package/dist/esm/playbooks/cross_cutting.feature-development/playbook.definition.d.ts.map +1 -1
  69. package/dist/esm/playbooks/cross_cutting.refinement/playbook.definition.d.ts.map +1 -1
  70. package/dist/esm/playbooks/refinement.compliance-document-candidate/playbook.definition.d.ts.map +1 -1
  71. package/dist/esm/playbooks/refinement.document-facts/playbook.definition.d.ts +1 -1
  72. package/dist/esm/playbooks/refinement.document-facts/playbook.definition.d.ts.map +1 -1
  73. package/dist/esm/playbooks/refinement.document-facts/playbook.definition.js +13 -1
  74. package/dist/esm/playbooks/refinement.document-facts/playbook.definition.js.map +1 -1
  75. package/dist/esm/playbooks/refinement.feature-contribution/playbook.definition.d.ts.map +1 -1
  76. package/dist/esm/playbooks/refinement.governance-document-candidate/playbook.definition.d.ts.map +1 -1
  77. package/dist/esm/playbooks/top_down.brand-identity/playbook.definition.d.ts +25 -27
  78. package/dist/esm/playbooks/top_down.brand-identity/playbook.definition.d.ts.map +1 -1
  79. package/dist/esm/playbooks/top_down.brand-identity/playbook.definition.js +91 -43
  80. package/dist/esm/playbooks/top_down.brand-identity/playbook.definition.js.map +1 -1
  81. package/dist/esm/playbooks/top_down.brand-name-research/playbook.definition.d.ts +41 -0
  82. package/dist/esm/playbooks/top_down.brand-name-research/playbook.definition.d.ts.map +1 -0
  83. package/dist/esm/playbooks/top_down.brand-name-research/playbook.definition.js +43 -0
  84. package/dist/esm/playbooks/top_down.brand-name-research/playbook.definition.js.map +1 -0
  85. package/dist/esm/playbooks/top_down.brand-name-screening-produce/playbook.definition.d.ts +200 -0
  86. package/dist/esm/playbooks/top_down.brand-name-screening-produce/playbook.definition.d.ts.map +1 -0
  87. package/dist/esm/playbooks/top_down.brand-name-screening-produce/playbook.definition.js +203 -0
  88. package/dist/esm/playbooks/top_down.brand-name-screening-produce/playbook.definition.js.map +1 -0
  89. package/dist/esm/playbooks/top_down.brand-naming/playbook.definition.d.ts +81 -0
  90. package/dist/esm/playbooks/top_down.brand-naming/playbook.definition.d.ts.map +1 -0
  91. package/dist/esm/playbooks/top_down.brand-naming/playbook.definition.js +93 -0
  92. package/dist/esm/playbooks/top_down.brand-naming/playbook.definition.js.map +1 -0
  93. package/dist/esm/playbooks/top_down.business-model/playbook.definition.d.ts +3 -1
  94. package/dist/esm/playbooks/top_down.business-model/playbook.definition.d.ts.map +1 -1
  95. package/dist/esm/playbooks/top_down.business-model/playbook.definition.js +27 -18
  96. package/dist/esm/playbooks/top_down.business-model/playbook.definition.js.map +1 -1
  97. package/dist/esm/playbooks/top_down.capability-map/playbook.definition.d.ts.map +1 -1
  98. package/dist/esm/playbooks/top_down.compliance-analysis/playbook.definition.d.ts +11 -1
  99. package/dist/esm/playbooks/top_down.compliance-analysis/playbook.definition.d.ts.map +1 -1
  100. package/dist/esm/playbooks/top_down.compliance-analysis/playbook.definition.js +11 -11
  101. package/dist/esm/playbooks/top_down.compliance-analysis/playbook.definition.js.map +1 -1
  102. package/dist/esm/playbooks/top_down.compliance-conception/playbook.definition.d.ts +2 -0
  103. package/dist/esm/playbooks/top_down.compliance-conception/playbook.definition.d.ts.map +1 -1
  104. package/dist/esm/playbooks/top_down.compliance-conception/playbook.definition.js +3 -1
  105. package/dist/esm/playbooks/top_down.compliance-conception/playbook.definition.js.map +1 -1
  106. package/dist/esm/playbooks/top_down.compliance-evidence-adequacy/playbook.definition.d.ts.map +1 -1
  107. package/dist/esm/playbooks/top_down.compliance-posture/playbook.definition.d.ts +2 -0
  108. package/dist/esm/playbooks/top_down.compliance-posture/playbook.definition.d.ts.map +1 -1
  109. package/dist/esm/playbooks/top_down.compliance-posture/playbook.definition.js +3 -1
  110. package/dist/esm/playbooks/top_down.compliance-posture/playbook.definition.js.map +1 -1
  111. package/dist/esm/playbooks/top_down.compliance-research/playbook.definition.d.ts.map +1 -1
  112. package/dist/esm/playbooks/top_down.definition/playbook.definition.d.ts +5 -2
  113. package/dist/esm/playbooks/top_down.definition/playbook.definition.d.ts.map +1 -1
  114. package/dist/esm/playbooks/top_down.definition/playbook.definition.js +16 -4
  115. package/dist/esm/playbooks/top_down.definition/playbook.definition.js.map +1 -1
  116. package/dist/esm/playbooks/top_down.expert-personas/playbook.definition.d.ts +27 -6
  117. package/dist/esm/playbooks/top_down.expert-personas/playbook.definition.d.ts.map +1 -1
  118. package/dist/esm/playbooks/top_down.expert-personas/playbook.definition.js +32 -12
  119. package/dist/esm/playbooks/top_down.expert-personas/playbook.definition.js.map +1 -1
  120. package/dist/esm/playbooks/top_down.feature-drafts/playbook.definition.d.ts.map +1 -1
  121. package/dist/esm/playbooks/top_down.market-analysis/playbook.definition.d.ts.map +1 -1
  122. package/dist/esm/playbooks/top_down.market-evidence-adequacy/playbook.definition.d.ts.map +1 -1
  123. package/dist/esm/playbooks/top_down.market-research/playbook.definition.d.ts.map +1 -1
  124. package/dist/esm/playbooks/top_down.market-snapshot-produce/playbook.definition.d.ts +2 -1
  125. package/dist/esm/playbooks/top_down.market-snapshot-produce/playbook.definition.d.ts.map +1 -1
  126. package/dist/esm/playbooks/top_down.market-snapshot-produce/playbook.definition.js +13 -5
  127. package/dist/esm/playbooks/top_down.market-snapshot-produce/playbook.definition.js.map +1 -1
  128. package/dist/esm/playbooks/top_down.phase-gate/playbook.definition.d.ts +7 -3
  129. package/dist/esm/playbooks/top_down.phase-gate/playbook.definition.d.ts.map +1 -1
  130. package/dist/esm/playbooks/top_down.phase-gate/playbook.definition.js +71 -2
  131. package/dist/esm/playbooks/top_down.phase-gate/playbook.definition.js.map +1 -1
  132. package/dist/esm/playbooks/top_down.requirements-definition/playbook.definition.d.ts +2 -1
  133. package/dist/esm/playbooks/top_down.requirements-definition/playbook.definition.d.ts.map +1 -1
  134. package/dist/esm/playbooks/top_down.requirements-definition/playbook.definition.js +23 -8
  135. package/dist/esm/playbooks/top_down.requirements-definition/playbook.definition.js.map +1 -1
  136. package/dist/esm/playbooks/top_down.risk-register/playbook.definition.d.ts +7 -1
  137. package/dist/esm/playbooks/top_down.risk-register/playbook.definition.d.ts.map +1 -1
  138. package/dist/esm/playbooks/top_down.risk-register/playbook.definition.js +4 -2
  139. package/dist/esm/playbooks/top_down.risk-register/playbook.definition.js.map +1 -1
  140. package/dist/esm/playbooks/top_down.scope-roadmap/playbook.definition.d.ts +9 -3
  141. package/dist/esm/playbooks/top_down.scope-roadmap/playbook.definition.d.ts.map +1 -1
  142. package/dist/esm/playbooks/top_down.scope-roadmap/playbook.definition.js +3 -3
  143. package/dist/esm/playbooks/top_down.scope-roadmap/playbook.definition.js.map +1 -1
  144. package/dist/esm/playbooks/top_down.value-proposition/playbook.definition.d.ts.map +1 -1
  145. package/dist/esm/playbooks/top_down.vision-elicitation/playbook.definition.d.ts +35 -2
  146. package/dist/esm/playbooks/top_down.vision-elicitation/playbook.definition.d.ts.map +1 -1
  147. package/dist/esm/playbooks/top_down.vision-elicitation/playbook.definition.js +41 -17
  148. package/dist/esm/playbooks/top_down.vision-elicitation/playbook.definition.js.map +1 -1
  149. package/dist/knowledge/assurance-authority-bases/wildo-safe-baseline-v1/authority-basis.json +1 -1
  150. package/dist/knowledge/assurance-authority-bases/wildo-safe-baseline-v1/external-framework-mapping.json +1 -1
  151. package/dist/knowledge/manifest.json +8 -8
  152. package/dist/knowledge/playbooks/bottom_up.assemble-verify/method.md +22 -7
  153. package/dist/knowledge/playbooks/bottom_up.assemble-verify/playbook.json +3 -3
  154. package/dist/knowledge/playbooks/bottom_up.build/method.md +17 -15
  155. package/dist/knowledge/playbooks/bottom_up.build/playbook.json +4 -3
  156. package/dist/knowledge/playbooks/bottom_up.build-decompose/evaluation-protocol.json +1 -1
  157. package/dist/knowledge/playbooks/bottom_up.build-decompose/evaluation-treatment.json +1 -1
  158. package/dist/knowledge/playbooks/bottom_up.build-decompose/method.md +261 -34
  159. package/dist/knowledge/playbooks/bottom_up.build-decompose/playbook.json +42 -4
  160. package/dist/knowledge/playbooks/bottom_up.build-dispatch/method.md +188 -59
  161. package/dist/knowledge/playbooks/bottom_up.build-dispatch/playbook.json +2 -2
  162. package/dist/knowledge/playbooks/bottom_up.build-scale/method.md +169 -276
  163. package/dist/knowledge/playbooks/bottom_up.build-scale/playbook.json +2 -2
  164. package/dist/knowledge/playbooks/bottom_up.capability-composition/method.md +8 -1
  165. package/dist/knowledge/playbooks/bottom_up.capability-composition/playbook.json +1 -1
  166. package/dist/knowledge/playbooks/bottom_up.conception/method.md +3 -2
  167. package/dist/knowledge/playbooks/bottom_up.conception/playbook.json +11 -3
  168. package/dist/knowledge/playbooks/bottom_up.domain-plan/evaluation-protocol.json +1 -1
  169. package/dist/knowledge/playbooks/bottom_up.domain-plan/evaluation-treatment.json +1 -1
  170. package/dist/knowledge/playbooks/bottom_up.domain-plan/method.md +129 -17
  171. package/dist/knowledge/playbooks/bottom_up.domain-plan/playbook.json +7 -4
  172. package/dist/knowledge/playbooks/bottom_up.experience-plan/method.md +28 -6
  173. package/dist/knowledge/playbooks/bottom_up.experience-plan/playbook.json +5 -4
  174. package/dist/knowledge/playbooks/bottom_up.foundation/playbook.json +13 -5
  175. package/dist/knowledge/playbooks/bottom_up.placement-plan/method.md +50 -0
  176. package/dist/knowledge/playbooks/bottom_up.placement-plan/playbook.json +16 -4
  177. package/dist/knowledge/playbooks/bottom_up.website-plan/method.md +19 -0
  178. package/dist/knowledge/playbooks/bottom_up.website-plan/playbook.json +5 -2
  179. package/dist/knowledge/playbooks/refinement.compliance-document-candidate/method.md +7 -3
  180. package/dist/knowledge/playbooks/refinement.compliance-document-candidate/playbook.json +1 -1
  181. package/dist/knowledge/playbooks/refinement.document-facts/method.md +8 -0
  182. package/dist/knowledge/playbooks/refinement.document-facts/playbook.json +3 -2
  183. package/dist/knowledge/playbooks/refinement.feature-contribution/method.md +5 -2
  184. package/dist/knowledge/playbooks/refinement.feature-contribution/playbook.json +1 -1
  185. package/dist/knowledge/playbooks/top_down.brand-identity/evaluation-protocol.json +1 -1
  186. package/dist/knowledge/playbooks/top_down.brand-identity/evaluation-treatment.json +1 -1
  187. package/dist/knowledge/playbooks/top_down.brand-identity/method.md +75 -37
  188. package/dist/knowledge/playbooks/top_down.brand-identity/playbook.json +35 -38
  189. package/dist/knowledge/playbooks/top_down.brand-name-research/method.md +145 -0
  190. package/dist/knowledge/playbooks/top_down.brand-name-research/playbook.json +57 -0
  191. package/dist/knowledge/playbooks/top_down.brand-name-screening-produce/evaluation-protocol.json +1 -0
  192. package/dist/knowledge/playbooks/top_down.brand-name-screening-produce/evaluation-treatment.json +1 -0
  193. package/dist/knowledge/playbooks/top_down.brand-name-screening-produce/method.md +99 -0
  194. package/dist/knowledge/playbooks/top_down.brand-name-screening-produce/playbook.json +65 -0
  195. package/dist/knowledge/playbooks/top_down.brand-naming/method.md +56 -0
  196. package/dist/knowledge/playbooks/top_down.brand-naming/playbook.json +76 -0
  197. package/dist/knowledge/playbooks/top_down.business-model/evaluation-protocol.json +1 -1
  198. package/dist/knowledge/playbooks/top_down.business-model/evaluation-treatment.json +1 -1
  199. package/dist/knowledge/playbooks/top_down.business-model/method.md +60 -6
  200. package/dist/knowledge/playbooks/top_down.business-model/playbook.json +15 -10
  201. package/dist/knowledge/playbooks/top_down.capability-map/method.md +10 -9
  202. package/dist/knowledge/playbooks/top_down.capability-map/playbook.json +1 -1
  203. package/dist/knowledge/playbooks/top_down.compliance-analysis/playbook.json +30 -10
  204. package/dist/knowledge/playbooks/top_down.compliance-conception/playbook.json +3 -1
  205. package/dist/knowledge/playbooks/top_down.compliance-posture/playbook.json +4 -1
  206. package/dist/knowledge/playbooks/top_down.definition/method.md +8 -3
  207. package/dist/knowledge/playbooks/top_down.definition/playbook.json +6 -4
  208. package/dist/knowledge/playbooks/top_down.expert-personas/playbook.json +16 -2
  209. package/dist/knowledge/playbooks/top_down.feature-drafts/method.md +5 -2
  210. package/dist/knowledge/playbooks/top_down.feature-drafts/playbook.json +1 -1
  211. package/dist/knowledge/playbooks/top_down.market-snapshot-produce/evaluation-protocol.json +1 -1
  212. package/dist/knowledge/playbooks/top_down.market-snapshot-produce/evaluation-treatment.json +1 -1
  213. package/dist/knowledge/playbooks/top_down.market-snapshot-produce/method.md +26 -0
  214. package/dist/knowledge/playbooks/top_down.market-snapshot-produce/playbook.json +4 -2
  215. package/dist/knowledge/playbooks/top_down.phase-gate/evaluation-protocol.json +1 -1
  216. package/dist/knowledge/playbooks/top_down.phase-gate/evaluation-treatment.json +1 -1
  217. package/dist/knowledge/playbooks/top_down.phase-gate/playbook.json +11 -1
  218. package/dist/knowledge/playbooks/top_down.requirements-definition/evaluation-protocol.json +1 -1
  219. package/dist/knowledge/playbooks/top_down.requirements-definition/evaluation-treatment.json +1 -1
  220. package/dist/knowledge/playbooks/top_down.requirements-definition/method.md +84 -9
  221. package/dist/knowledge/playbooks/top_down.requirements-definition/playbook.json +6 -3
  222. package/dist/knowledge/playbooks/top_down.risk-register/method.md +21 -0
  223. package/dist/knowledge/playbooks/top_down.risk-register/playbook.json +8 -2
  224. package/dist/knowledge/playbooks/top_down.scope-roadmap/playbook.json +4 -2
  225. package/dist/knowledge/playbooks/top_down.vision-elicitation/method.md +29 -0
  226. package/dist/knowledge/playbooks/top_down.vision-elicitation/playbook.json +58 -17
  227. package/dist/knowledge/references/brand.name-choice.config.md +144 -0
  228. package/dist/knowledge/references/brand.name-screening.config.md +308 -0
  229. package/dist/knowledge/references/build-plan.task-graph.config.md +119 -11
  230. package/dist/knowledge/references/business-model.pricing-plan.config.md +16 -0
  231. package/dist/knowledge/references/business-model.snapshot.config.md +64 -0
  232. package/dist/knowledge/references/business-model.snapshot.validation.md +68 -4
  233. package/dist/knowledge/references/capability-composition.config.md +67 -4
  234. package/dist/knowledge/references/companion.market.prompt-renderer.md +11 -6
  235. package/dist/knowledge/references/example.authorization.application-roles.office-and-field.md +44 -0
  236. package/dist/knowledge/references/example.backend.custom-operation.audit-event.md +81 -0
  237. package/dist/knowledge/references/example.backend.custom-operation.child-line-total.md +258 -0
  238. package/dist/knowledge/references/example.backend.custom-operation.computed-total.md +153 -0
  239. package/dist/knowledge/references/example.backend.custom-operation.create-related-resource.md +107 -0
  240. package/dist/knowledge/references/example.data-seeding.minimal.md +39 -10
  241. package/dist/knowledge/references/example.data-seeding.row-reference.md +80 -0
  242. package/dist/knowledge/references/example.email.template.minimal.md +1 -1
  243. package/dist/knowledge/references/example.resource.config-wiring.retention-policy-operations.md +74 -0
  244. package/dist/knowledge/references/example.resource.personal-data.free-text-field.md +19 -0
  245. package/dist/knowledge/references/example.resource.personal-data.person-without-account.md +27 -0
  246. package/dist/knowledge/references/example.resource.status-lifecycle.quote.md +152 -0
  247. package/dist/knowledge/references/example.resource.ui-behavior.filter-presets.md +15 -0
  248. package/dist/knowledge/references/example.resource.ui-behavior.operation-icon.md +8 -0
  249. package/dist/knowledge/references/example.views.app-level.home-definition.md +13 -0
  250. package/dist/knowledge/references/example.views.chart-definition.shared.md +83 -0
  251. package/dist/knowledge/references/experience-plan.config.md +60 -7
  252. package/dist/knowledge/references/market.context-block.builder.md +1 -1
  253. package/dist/knowledge/references/market.snapshot.validation.md +1 -1
  254. package/dist/knowledge/references/placement-plan.config.md +43 -0
  255. package/dist/knowledge/references/requirements.functional-requirement.config.md +8 -2
  256. package/dist/knowledge/references/requirements.non-functional-requirement.config.md +2 -0
  257. package/dist/knowledge/references/requirements.references.conventions.md +1 -1
  258. package/dist/knowledge/references/requirements.snapshot.config.md +57 -1
  259. package/dist/knowledge/references/requirements.snapshot.validation.md +35 -1
  260. package/dist/knowledge/references/saas.backend.audit-logs.log-event.md +63 -0
  261. package/dist/knowledge/references/saas.backend.document-sequence.issue-in-operation.md +60 -0
  262. package/dist/knowledge/references/saas.backend.document-sequence.raise-floor.md +156 -0
  263. package/dist/knowledge/references/saas.backend.email.send.md +77 -0
  264. package/dist/knowledge/references/saas.backend.notifications.operation-email-template-ref.md +60 -0
  265. package/dist/knowledge/references/saas.data-seeding.bootstrap-wiring.md +7 -1
  266. package/dist/knowledge/references/saas.data-seeding.computed-entry.md +43 -0
  267. package/dist/knowledge/references/saas.data-seeding.definition-input.md +14 -2
  268. package/dist/knowledge/references/saas.data-seeding.row-reference.md +93 -0
  269. package/dist/knowledge/references/saas.frontend.collection-filter-presets.md +124 -0
  270. package/dist/knowledge/references/saas.frontend.launcher.item-refs.md +316 -0
  271. package/dist/knowledge/references/saas.frontend.launcher.merge-rules.md +106 -0
  272. package/dist/knowledge/references/saas.frontend.launcher.runtime-availability.md +60 -0
  273. package/dist/knowledge/references/saas.frontend.resource-label-params.md +52 -0
  274. package/dist/knowledge/references/saas.frontend.resource-operation-frontend-config.md +47 -18
  275. package/dist/knowledge/references/saas.frontend.resource-ui-behavior-config.md +4 -1
  276. package/dist/knowledge/references/saas.frontend.settings-hub.engine-destination-roles.md +25 -0
  277. package/dist/knowledge/references/saas.frontend.settings-hub.placement.md +2 -2
  278. package/dist/knowledge/references/saas.models.audit.trail-config.md +45 -0
  279. package/dist/knowledge/references/saas.models.notifications.user-notification-definition.md +5 -3
  280. package/dist/knowledge/references/saas.models.queue.scheduled-recovery.md +81 -2
  281. package/dist/knowledge/references/saas.models.resource-config.builder-parameters.md +26 -0
  282. package/dist/knowledge/references/saas.models.roles.definition.md +61 -0
  283. package/dist/knowledge/references/saas.models.roles.organization-defaults.md +97 -0
  284. package/dist/knowledge/references/saas.public-runtime.contract.md +26 -0
  285. package/dist/knowledge/references/saas.specifications.companion-exports.contract.md +10 -0
  286. package/dist/knowledge/references/saas.website.astro.bridge.md +10 -0
  287. package/dist/knowledge/references/saas.website.astro.label-loader.md +12 -0
  288. package/dist/knowledge/references/saas.website.astro.llms-txt-server.md +14 -1
  289. package/dist/knowledge/references/saas.website.astro.site-context.md +13 -0
  290. package/dist/knowledge/references/saas.website.blog.bridge.md +4 -0
  291. package/dist/knowledge/references/saas.website.config.site-context-loader.md +3 -0
  292. package/dist/knowledge/references/saas.website.factories.define-section.md +4 -0
  293. package/dist/knowledge/references/saas.website.legal.public-document-links.md +76 -0
  294. package/dist/knowledge/references/saas.website.page-manifest.schema.md +12 -3
  295. package/dist/knowledge/references/saas.website.page-sections.component.md +72 -0
  296. package/dist/knowledge/references/saas.website.root-config.seo.md +2 -1
  297. package/dist/knowledge/references/saas.website.runtime.context.md +7 -0
  298. package/dist/knowledge/references/saas.website.sections.definition-schema.md +11 -0
  299. package/dist/knowledge/references/saas.website.seo.llms-txt-config.md +2 -0
  300. package/dist/knowledge/references/website-plan.config.md +26 -0
  301. package/dist/knowledge/references/zod.decorators.chainable-runtime.md +13 -0
  302. package/dist/knowledge/references/zod.decorators.decorator-vocabulary.md +7 -0
  303. package/dist/knowledge/references/zod.decorators.document-sequence.md +65 -0
  304. package/dist/knowledge/references/zod.decorators.schema-metadata.md +1 -0
  305. package/dist/knowledge/references/zod.decorators.shared-structural-methods.md +21 -0
  306. package/dist/knowledge/references/zod.factories.bigdecimal.md +1 -0
  307. package/dist/knowledge/references/zod.factories.code.md +1 -0
  308. package/dist/knowledge/references/zod.factories.duration.md +1 -0
  309. package/dist/knowledge/references/zod.factories.money.md +1 -0
  310. package/dist/knowledge/registries/assurance-authority-bases.json +1 -1
  311. package/dist/knowledge/registries/framework-topics.json +374 -1
  312. package/dist/knowledge/registries/playbooks.json +76 -28
  313. package/dist/knowledge/registries/source-tags.json +1513 -898
  314. package/dist/knowledge/rules/live-context-door.md +5 -2
  315. package/dist/knowledge/skills/INDEX.md +5 -2
  316. package/dist/knowledge/skills/application-consumer-documentation-authoring/SKILL.md +16 -3
  317. package/dist/knowledge/skills/application-database-migrations/SKILL.md +14 -3
  318. package/dist/knowledge/skills/application-roles-authoring/SKILL.md +158 -0
  319. package/dist/knowledge/skills/application-roles-authoring/references/framework-application-roles-api.md +169 -0
  320. package/dist/knowledge/skills/application-roles-authoring/references/office-and-field-worked-example.md +63 -0
  321. package/dist/knowledge/skills/authorization-unit-narrowing/SKILL.md +6 -1
  322. package/dist/knowledge/skills/backend-custom-operation/SKILL.md +256 -9
  323. package/dist/knowledge/skills/backend-custom-operation/references/after-the-operation.md +42 -0
  324. package/dist/knowledge/skills/backend-custom-operation/references/framework-audit-log-event-api.md +220 -0
  325. package/dist/knowledge/skills/brand-logo-authoring/SKILL.md +5 -0
  326. package/dist/knowledge/skills/brand-name-screening/SKILL.md +178 -0
  327. package/dist/knowledge/skills/brand-name-screening/references/framework-brand-name-screening-api.md +466 -0
  328. package/dist/knowledge/skills/brand-name-screening/references/screening-procedure.md +87 -0
  329. package/dist/knowledge/skills/compliance-document-authoring/references/document-composition-privacy-notice.md +7 -3
  330. package/dist/knowledge/skills/config-app-shell/SKILL.md +58 -5
  331. package/dist/knowledge/skills/config-app-shell/references/framework-launcher-items-api.md +461 -0
  332. package/dist/knowledge/skills/config-app-shell/references/framework-launcher-visibility-api.md +80 -0
  333. package/dist/knowledge/skills/config-design-system/SKILL.md +28 -6
  334. package/dist/knowledge/skills/config-navigation/SKILL.md +14 -3
  335. package/dist/knowledge/skills/config-saas/SKILL.md +56 -15
  336. package/dist/knowledge/skills/config-saas/references/compliance-declarations.md +65 -2
  337. package/dist/knowledge/skills/config-saas/references/framework-audit-trail-config-api.md +62 -2
  338. package/dist/knowledge/skills/config-saas/references/framework-background-work-api.md +81 -2
  339. package/dist/knowledge/skills/config-saas-backend/SKILL.md +6 -1
  340. package/dist/knowledge/skills/configure-billing/SKILL.md +18 -4
  341. package/dist/knowledge/skills/email-add-template/SKILL.md +28 -6
  342. package/dist/knowledge/skills/email-add-template/references/email-artifact-paths.md +1 -1
  343. package/dist/knowledge/skills/email-add-template/references/framework-email-send-api.md +128 -0
  344. package/dist/knowledge/skills/email-add-template/references/framework-operation-email-template-ref-api.md +99 -0
  345. package/dist/knowledge/skills/engine-component-registration/SKILL.md +6 -1
  346. package/dist/knowledge/skills/engine-product-definitions/SKILL.md +21 -8
  347. package/dist/knowledge/skills/flows-actors-chat-assistant/SKILL.md +10 -2
  348. package/dist/knowledge/skills/flows-actors-llm-agent-invocation/SKILL.md +18 -4
  349. package/dist/knowledge/skills/frontend-component-catalog/SKILL.md +11 -3
  350. package/dist/knowledge/skills/frontend-component-catalog/references/framework-component-catalog.md +2 -1
  351. package/dist/knowledge/skills/frontend-component-catalog/references/framework-component-usage.md +8 -0
  352. package/dist/knowledge/skills/i18n-rerun-pipeline/SKILL.md +19 -5
  353. package/dist/knowledge/skills/i18n-translation-rerun/SKILL.md +10 -2
  354. package/dist/knowledge/skills/inbound-channels/SKILL.md +2 -2
  355. package/dist/knowledge/skills/infra-environment-config/SKILL.md +6 -1
  356. package/dist/knowledge/skills/local-environment-bootstrap/SKILL.md +17 -2
  357. package/dist/knowledge/skills/local-environment-bootstrap/references/derived-artifact-currency.md +122 -0
  358. package/dist/knowledge/skills/local-environment-bootstrap/references/framework-upgrade-and-dependency-alignment.md +11 -0
  359. package/dist/knowledge/skills/local-environment-bootstrap/references/wildo-cli-bootstrap-commands.md +9 -2
  360. package/dist/knowledge/skills/market-add-feature-benefit/SKILL.md +10 -2
  361. package/dist/knowledge/skills/market-alternatives/SKILL.md +10 -2
  362. package/dist/knowledge/skills/market-authoring-overview/SKILL.md +10 -2
  363. package/dist/knowledge/skills/market-category/SKILL.md +21 -7
  364. package/dist/knowledge/skills/market-channels/SKILL.md +6 -1
  365. package/dist/knowledge/skills/market-companion-prompt-enrichment/SKILL.md +22 -4
  366. package/dist/knowledge/skills/market-companion-prompt-enrichment/references/framework-companion-behavior-api.md +12 -2
  367. package/dist/knowledge/skills/market-generation-cli/SKILL.md +21 -11
  368. package/dist/knowledge/skills/market-generation-cli/references/framework-market-generation-cli.md +11 -6
  369. package/dist/knowledge/skills/market-icp/SKILL.md +10 -2
  370. package/dist/knowledge/skills/market-jobs-pains-gains/SKILL.md +6 -1
  371. package/dist/knowledge/skills/market-message-templates-authoring/SKILL.md +6 -1
  372. package/dist/knowledge/skills/market-message-templates-authoring/references/framework-message-template-api.md +1 -1
  373. package/dist/knowledge/skills/market-persona/SKILL.md +14 -3
  374. package/dist/knowledge/skills/market-positioning-authoring/SKILL.md +6 -1
  375. package/dist/knowledge/skills/market-proof-and-objection/SKILL.md +10 -2
  376. package/dist/knowledge/skills/market-scoring-interpretation/SKILL.md +6 -1
  377. package/dist/knowledge/skills/market-snapshot-validation/SKILL.md +15 -4
  378. package/dist/knowledge/skills/market-snapshot-validation/references/framework-snapshot-validation-api.md +1 -1
  379. package/dist/knowledge/skills/market-tone-of-voice/SKILL.md +6 -1
  380. package/dist/knowledge/skills/model-cost-attribution/references/framework-work-unit-api.md +26 -0
  381. package/dist/knowledge/skills/module-companion-exports/SKILL.md +7 -1
  382. package/dist/knowledge/skills/module-companion-exports/references/companion-exports-by-package.md +10 -0
  383. package/dist/knowledge/skills/module-relationships/SKILL.md +37 -8
  384. package/dist/knowledge/skills/pdf-template-authoring/SKILL.md +4 -2
  385. package/dist/knowledge/skills/provider-address-lookup/SKILL.md +14 -3
  386. package/dist/knowledge/skills/provider-frontend-file-picker/SKILL.md +6 -1
  387. package/dist/knowledge/skills/provider-operation-calls/SKILL.md +14 -3
  388. package/dist/knowledge/skills/rate-limit-authoring/SKILL.md +10 -2
  389. package/dist/knowledge/skills/resource-add-field/SKILL.md +10 -2
  390. package/dist/knowledge/skills/resource-add-field/references/framework-field-cross-layer-api.md +46 -17
  391. package/dist/knowledge/skills/resource-add-resource/SKILL.md +14 -2
  392. package/dist/knowledge/skills/resource-add-resource/references/framework-new-resource-core-config-api.md +26 -0
  393. package/dist/knowledge/skills/resource-config-wiring/SKILL.md +29 -3
  394. package/dist/knowledge/skills/resource-config-wiring/references/framework-collection-operation-declarations.md +19 -4
  395. package/dist/knowledge/skills/resource-config-wiring/references/framework-operation-audit-api.md +5 -2
  396. package/dist/knowledge/skills/resource-config-wiring/references/framework-personal-data-declaration-api.md +103 -0
  397. package/dist/knowledge/skills/resource-config-wiring/references/framework-retention-policy-operations.md +135 -0
  398. package/dist/knowledge/skills/resource-config-wiring/references/framework-saas-models-resource-config-api.md +26 -0
  399. package/dist/knowledge/skills/resource-config-wiring/references/framework-user-notifications-api.md +26 -7
  400. package/dist/knowledge/skills/resource-custom-view/SKILL.md +10 -2
  401. package/dist/knowledge/skills/resource-custom-view/references/custom-view-contracts.md +46 -17
  402. package/dist/knowledge/skills/resource-external-data/references/erasure-suppression.md +2 -2
  403. package/dist/knowledge/skills/resource-retention-binding/SKILL.md +5 -1
  404. package/dist/knowledge/skills/resource-schema-authoring/SKILL.md +15 -1
  405. package/dist/knowledge/skills/resource-schema-authoring/references/computed-totals.md +569 -0
  406. package/dist/knowledge/skills/resource-schema-authoring/references/document-numbers.md +358 -0
  407. package/dist/knowledge/skills/resource-schema-authoring/references/framework-decorator-vocabulary-api.md +8 -0
  408. package/dist/knowledge/skills/resource-schema-authoring/references/framework-shared-decorator-methods-api.md +21 -0
  409. package/dist/knowledge/skills/resource-schema-authoring/references/framework-special-factories-api.md +7 -2
  410. package/dist/knowledge/skills/resource-schema-authoring/references/framework-zod-lifecycle-and-chainable-api.md +13 -0
  411. package/dist/knowledge/skills/resource-status-lifecycle/SKILL.md +153 -0
  412. package/dist/knowledge/skills/resource-status-lifecycle/references/commercial-documents.md +46 -0
  413. package/dist/knowledge/skills/resource-status-lifecycle/references/quote-lifecycle-worked-example.md +198 -0
  414. package/dist/knowledge/skills/resource-ui-behavior/SKILL.md +30 -4
  415. package/dist/knowledge/skills/resource-ui-behavior/references/framework-collection-filter-presets-api.md +157 -0
  416. package/dist/knowledge/skills/resource-ui-behavior/references/framework-frontend-resource-ui-contracts-api.md +101 -19
  417. package/dist/knowledge/skills/seeding-authoring/SKILL.md +202 -39
  418. package/dist/knowledge/skills/seeding-authoring/references/cross-seed-row-references.md +67 -0
  419. package/dist/knowledge/skills/seeding-authoring/references/framework-data-seeding-api.md +154 -4
  420. package/dist/knowledge/skills/seeding-authoring/references/seed-row-overlay.md +22 -0
  421. package/dist/knowledge/skills/seeding-operations/references/framework-data-seeding-operations-api.md +7 -1
  422. package/dist/knowledge/skills/settings-placement-authoring/references/framework-settings-destinations-catalog.md +43 -0
  423. package/dist/knowledge/skills/settings-placement-authoring/references/framework-settings-placement-api.md +2 -2
  424. package/dist/knowledge/skills/spec-companion-exports/SKILL.md +6 -1
  425. package/dist/knowledge/skills/spec-companion-exports/references/framework-companion-exports-contract-api.md +10 -0
  426. package/dist/knowledge/skills/spec-component-update/SKILL.md +10 -2
  427. package/dist/knowledge/skills/spec-composite-view-update/SKILL.md +2 -2
  428. package/dist/knowledge/skills/spec-family-update/SKILL.md +71 -66
  429. package/dist/knowledge/skills/spec-family-update/references/family-spec-routing.md +1 -1
  430. package/dist/knowledge/skills/spec-resource-update/SKILL.md +30 -10
  431. package/dist/knowledge/skills/spec-resource-update/references/resource-spec-field-routing.md +28 -0
  432. package/dist/knowledge/skills/spec-update-after-change/SKILL.md +22 -5
  433. package/dist/knowledge/skills/views-add-composite-view/SKILL.md +6 -1
  434. package/dist/knowledge/skills/views-add-custom-view/SKILL.md +10 -2
  435. package/dist/knowledge/skills/views-app-level/SKILL.md +13 -3
  436. package/dist/knowledge/skills/views-app-level/references/application-home.md +56 -0
  437. package/dist/knowledge/skills/views-chart-authoring/SKILL.md +221 -37
  438. package/dist/knowledge/skills/views-composite-authoring/SKILL.md +22 -5
  439. package/dist/knowledge/skills/views-execution-authoring/SKILL.md +1 -1
  440. package/dist/knowledge/skills/website-anonymous-session/SKILL.md +32 -2
  441. package/dist/knowledge/skills/website-blog-authoring/SKILL.md +16 -3
  442. package/dist/knowledge/skills/website-blog-authoring/references/blog-adapter-api.md +4 -0
  443. package/dist/knowledge/skills/website-bundle-discipline/SKILL.md +7 -1
  444. package/dist/knowledge/skills/website-consent-gate-overrides/SKILL.md +13 -1
  445. package/dist/knowledge/skills/website-factory-advanced/SKILL.md +14 -2
  446. package/dist/knowledge/skills/website-inbound-contact-forms/SKILL.md +13 -1
  447. package/dist/knowledge/skills/website-layout-overrides/SKILL.md +6 -1
  448. package/dist/knowledge/skills/website-marketing-metadata-extension/SKILL.md +19 -1
  449. package/dist/knowledge/skills/website-navigation-authoring/SKILL.md +55 -18
  450. package/dist/knowledge/skills/website-navigation-authoring/references/framework-public-document-links-api.md +98 -0
  451. package/dist/knowledge/skills/website-navigation-authoring/references/worked-examples-header-footer.md +8 -11
  452. package/dist/knowledge/skills/website-page-authoring/SKILL.md +100 -8
  453. package/dist/knowledge/skills/website-page-authoring/references/framework-site-context-loader-api.md +3 -0
  454. package/dist/knowledge/skills/website-primitive-overrides/SKILL.md +6 -1
  455. package/dist/knowledge/skills/website-section-contact/SKILL.md +15 -0
  456. package/dist/knowledge/skills/website-section-contact/references/define-website-section-api.md +15 -0
  457. package/dist/knowledge/skills/website-section-cta/SKILL.md +15 -0
  458. package/dist/knowledge/skills/website-section-cta/references/define-website-section-api.md +15 -0
  459. package/dist/knowledge/skills/website-section-faq/SKILL.md +21 -1
  460. package/dist/knowledge/skills/website-section-faq/references/define-website-section-api.md +15 -0
  461. package/dist/knowledge/skills/website-section-feature-benefit-summary/SKILL.md +21 -1
  462. package/dist/knowledge/skills/website-section-feature-benefit-summary/references/define-website-section-api.md +15 -0
  463. package/dist/knowledge/skills/website-section-feature-detail/SKILL.md +25 -2
  464. package/dist/knowledge/skills/website-section-feature-detail/references/define-website-section-api.md +15 -0
  465. package/dist/knowledge/skills/website-section-footer-cta/SKILL.md +15 -0
  466. package/dist/knowledge/skills/website-section-footer-cta/references/define-website-section-api.md +15 -0
  467. package/dist/knowledge/skills/website-section-hero/SKILL.md +33 -10
  468. package/dist/knowledge/skills/website-section-hero/references/define-website-section-api.md +15 -0
  469. package/dist/knowledge/skills/website-section-pricing/SKILL.md +21 -1
  470. package/dist/knowledge/skills/website-section-pricing/references/define-website-section-api.md +15 -0
  471. package/dist/knowledge/skills/website-section-social-proof/SKILL.md +27 -2
  472. package/dist/knowledge/skills/website-section-social-proof/references/define-website-section-api.md +15 -0
  473. package/dist/knowledge/skills/website-seo-aeo-geo/SKILL.md +16 -4
  474. package/dist/knowledge/skills/website-seo-aeo-geo/references/aeo-api.md +11 -0
  475. package/dist/knowledge/skills/website-seo-aeo-geo/references/geo-api.md +16 -1
  476. package/dist/knowledge/skills/website-seo-aeo-geo/references/seo-api.md +2 -1
  477. package/dist/knowledge/topic-index.json +1590 -292
  478. package/dist/tsconfig.build.tsbuildinfo +1 -1
  479. package/dist/tsconfig.tsbuildinfo +1 -1
  480. package/package.json +4 -4
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../../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B,cAAc,EAAE,+BAA+B,CAAC,KAAK;KACtD;CAC8C,CAAC","sourcesContent":["import {\n HumanDecision_FieldKind,\n} from '@wildo-ai/saas-models';\nimport type {\n MetaWorkflowEvaluationTreatmentSource,\n MetaWorkflowStructuredArtifactActionSource,\n} from '@wildo-ai/saas-backend-lib/meta-workflow-runtime';\nimport {\n MetaWorkflow_AuthorityAssuranceClass,\n MetaWorkflow_AuthorityDecisionMode,\n MetaWorkflow_AuthorityInteractionChannel,\n MetaWorkflow_ContinuationAction,\n MetaWorkflow_DecisionConsequence,\n MetaWorkflow_DecisionRuleBoundaryClass,\n MetaWorkflow_EvaluationAggregationStrategy,\n MetaWorkflow_EvaluationPromptAssemblyStrategy,\n MetaWorkflow_EvaluationVerdict,\n MetaWorkflow_EvidenceRequirementKind,\n MetaWorkflow_FailureDisposition,\n MetaWorkflow_HardFloorPosture,\n MetaWorkflow_OutputContentClass,\n MetaWorkflow_OutputContractCardinality,\n MetaWorkflow_StructuredArtifactOutputSetCommitment,\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_ArtifactIntent,\n MetaWorkflow_Executor,\n MetaWorkflow_FailurePolicy,\n MetaWorkflow_PredicateKind,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n MetaWorkflow_FunctionalTopic,\n MetaWorkflow_Phase,\n DomainPlanEvaluationCriterionRef,\n DomainPlanEvaluationEvidenceCoveragePolicyRef,\n DomainPlanEvaluationEvidenceFreshnessPolicyRef,\n DomainPlanEvaluationEvidenceRequirementRef,\n DomainPlanEvaluationEvidenceSubjectRef,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\nexport const playbookDefinition = {\n ref: 'bottom_up.domain-plan',\n version: '0.2.1',\n phase: MetaWorkflow_Phase.BOTTOM_UP,\n intent:\n 'Turn the approved definition set into one atomic, planning-depth domain output set: module decomposition with per-module resource inventory plus typed inter-resource relationship intents. The output remains staged until deterministic validation, semantic evaluation and distinct result authority complete.',\n preconditions: [\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_EXISTS, selector: { family: 'requirements' } },\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_EXISTS, selector: { family: 'market-snapshot' } },\n ],\n inputs: [\n { family: 'requirements' },\n // VALUE, not AUDIENCE (#1428): the method's load-bearing market input is the BENEFITS wired to their\n // delivering features (method.md:63-66). AUDIENCE removed exactly those and kept personas it never names.\n { family: 'market-snapshot', intent: MetaWorkflow_ArtifactIntent.VALUE },\n { family: 'feature-drafts' },\n { family: 'roadmap' },\n { family: 'vision-brief' },\n // Its own family: its method refines its own prior output and keeps its refs, so it must be GIVEN that output (#1430). Input, not precondition: a first run, with no prior output, stays eligible.\n { family: 'domain-plan' },\n ],\n outputs: [\n {\n family: 'domain-plan',\n schemaRef: 'saas-specifications:DomainPlanOutputSet',\n description:\n 'THE atomic domain plan: the module decomposition AND the inter-resource relationship drafts, one value, one landed file. (The former separate relationship-drafts family was collapsed into this output 2026-08-24 — the two were never independently meaningful, and the deterministic validator crosses them.) A working edit until it is committed.',\n },\n ],\n method: {\n /*\n * The mid-run clarification channel, opt-in.\n *\n * This is where the decisions a product owner owns actually live: the tenancy model had to be\n * hard-coded as an interview question by hand, and the plan this playbook produced made\n * `next-step` one-to-one with two different parents — precisely the shape a derivation should\n * have stopped and asked about rather than choosing silently.\n */\n suspendsForClarification: true,\n skillRefs: ['resource-add-module', 'resource-add-resource', 'module-relationships'],\n /*\n * The tenancy question moved here from `bottom_up.foundation`, which runs AFTER this artifact\n * exists.\n *\n * Foundation's comment described the domain plan as deliberately scope-free, and that is true of\n * its FIELDS and false of its CONTENT: wonder-crm's plan (2026-08-27) modelled tenancy unasked —\n * a `workspace` module owning a `workspace` resource, a `team-membership` module owning\n * `workspace-member`, and `deal` referencing `workspace-member` for owner assignment. The creator\n * was asked \"organizations or users?\" afterwards, and answering `users` would have left two\n * modules and a relationship that nothing reconciles.\n *\n * So it is asked HERE, where the decision is first used, and the answer is carried in the\n * committed plan (`DomainPlanOutputSet.tenancy`) rather than in a run's transient answers.\n * Foundation reads the plan and only falls back to its own question for plans authored before\n * the field existed.\n */\n elicitation: {\n questions: [\n {\n ref: 'tenancy',\n /*\n * Written for the person answering it (#1454, gap 4): what it asks is whether people work\n * TOGETHER. What the answer switches on — the ORGANIZATIONS capability, every resource scoped\n * to an organization — is this step's business, stated in its method, not the creator's.\n */\n question:\n 'Do people use this application together, in shared workspaces or teams, or does each person only see their own data? Choose organizations if they work together, users if each person\\'s data is their own.',\n kind: HumanDecision_FieldKind.CHOICE,\n options: ['organizations', 'users'],\n },\n ],\n },\n },\n executor: MetaWorkflow_Executor.COMPANION_AGENT,\n approval: MetaWorkflow_ApprovalPolicy.APPROVE_RESULT,\n budget: { maxRuns: 3 },\n onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG,\n} satisfies Omit<MetaWorkflowPlaybookAuthoring, 'method'> & {\n method: Omit<NonNullable<MetaWorkflowPlaybookAuthoring['method']>, 'guidance'>;\n};\n\n/**\n * Portable generation boundary for the atomic domain-plan output set.\n *\n * The generic Driver stops at a validated candidate artifact. The existing\n * application-owned staging, semantic evaluation, result authority and\n * accepted-family mutation path remains the only destination-landing owner.\n */\nexport const structuredArtifactActionSource = {\n schemaVersion: 1,\n definitionRef: 'application-creation:structured-artifact-action/domain-plan-output-set',\n definitionVersion: 1,\n actionDefinition: {\n schemaVersion: 1,\n actionRef: 'application-creation:action/generate-domain-plan-output-set',\n actionVersion: 1,\n intentRef: 'application-creation:intent/derive-domain-plan-and-relationship-drafts',\n inputSelectorRefs: [\n 'application-creation:artifact-selector/accepted-vision-brief',\n 'application-creation:artifact-selector/accepted-market-snapshot',\n 'application-creation:artifact-selector/accepted-requirements',\n 'application-creation:artifact-selector/accepted-feature-drafts',\n 'application-creation:artifact-selector/accepted-roadmap',\n ],\n outcomeContractRefs: ['application-creation:output-contract/domain-plan-output-set'],\n effectSafetyPolicyRef: 'application-creation:effect-safety/candidate-artifact-before-domain-plan-staging',\n allowedCapabilityClassRefs: ['meta-workflow:capability-class/structured-artifact-generation'],\n requiredCapabilityFacetRefs: [\n 'meta-workflow:capability-facet/atomic-output-set',\n 'meta-workflow:capability-facet/sealed-input-projection',\n 'meta-workflow:capability-facet/strict-provider-schema',\n 'meta-workflow:capability-facet/trusted-normalization',\n ],\n authorityRequirementRef: null,\n budgetPolicyRef: 'application-creation:budget-policy/domain-plan-output-set-generation',\n continuationPolicyRef: 'application-creation:continuation-policy/domain-plan-output-set-generation',\n decisionPointDefinitionRefs: ['application-creation:decision-point/domain-plan-output-set-result'],\n },\n driverSelector: { driverRef: 'meta-workflow:driver/structured-artifact-action', driverVersion: 1 },\n inputProjectionContractSelector: {\n contractRef: 'application-creation:input-projection/accepted-domain-plan-definition-set',\n contractVersion: 1,\n },\n providerOutputSchemaSelector: { schemaRef: 'saas-specifications:schema/domain-plan-output-set-generation', schemaVersion: 1 },\n normalizationContractSelector: { contractRef: 'saas-specifications:normalizer/domain-plan-output-set-generation', contractVersion: 1 },\n outputContract: {\n schemaVersion: 1,\n outputContractRef: 'application-creation:output-contract/domain-plan-output-set',\n outputContractVersion: 1,\n outputSchemaSelector: { schemaRef: 'saas-specifications:schema/domain-plan-output-set', schemaVersion: 1 },\n contentClass: MetaWorkflow_OutputContentClass.STRUCTURED_RECORD,\n cardinality: MetaWorkflow_OutputContractCardinality.ONE,\n canonicalSerializationRef: 'meta-workflow:canonicalization/wildo-json',\n canonicalSerializationVersion: 1,\n validatorContractSelector: { contractRef: 'saas-specifications:validator/domain-plan-output-set', contractVersion: 1 },\n acceptedArtifactClassificationRefs: ['application-creation:artifact-classification/candidate-atomic-domain-plan-output-set'],\n invalidOutputDisposition: MetaWorkflow_FailureDisposition.FAIL_BINDING,\n },\n outputSetCommitment: MetaWorkflow_StructuredArtifactOutputSetCommitment.ATOMIC,\n requiredLifecycleFacets: [],\n requiredFailureDispositions: [\n MetaWorkflow_FailureDisposition.FAIL_BINDING,\n MetaWorkflow_FailureDisposition.REQUEST_INPUT,\n MetaWorkflow_FailureDisposition.RETRY_NEW_BINDING,\n ],\n} satisfies MetaWorkflowStructuredArtifactActionSource;\n\nexport const evaluationTreatmentSource = {\n schemaVersion: 1,\n definitionRef: 'application-creation:evaluation-treatment/domain-plan-output-set-result',\n definitionVersion: 1,\n evaluationProtocol: {\n schemaVersion: 1,\n protocolRef: 'application-creation:evaluation-protocol/domain-plan-output-set-result',\n protocolVersion: 1,\n promptAssemblyStrategy: MetaWorkflow_EvaluationPromptAssemblyStrategy.CANONICAL_PROTOCOL_EVIDENCE_V1,\n aggregationStrategy: MetaWorkflow_EvaluationAggregationStrategy.WORST_VERDICT_PRECEDENCE_V1,\n verdictPrecedence: [\n MetaWorkflow_EvaluationVerdict.GAP,\n MetaWorkflow_EvaluationVerdict.INDETERMINATE,\n MetaWorkflow_EvaluationVerdict.CONCERN,\n MetaWorkflow_EvaluationVerdict.PASS,\n ],\n aggregationPolicyRef: 'application-creation:aggregation/worst-domain-plan-coherence-verdict',\n criteria: [\n {\n schemaVersion: 1,\n criterionRef: DomainPlanEvaluationCriterionRef.REQUIREMENT_COVERAGE,\n criterionVersion: 1,\n instruction:\n 'Determine whether every current-horizon functional requirement is served by at least one module capability and resource inventory. Treat a requirement without a resolvable module home as a material gap.',\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: DomainPlanEvaluationEvidenceRequirementRef.REQUIREMENT_COVERAGE,\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: DomainPlanEvaluationEvidenceSubjectRef.DEFINITION_CONTEXT_AND_STAGED_OUTPUT_SET,\n minCount: 2,\n maxCount: 2,\n coveragePolicyRef: DomainPlanEvaluationEvidenceCoveragePolicyRef.COMPLETE_DEFINITION_CONTEXT_AND_EXACT_OUTPUT_SET,\n freshnessPolicyRef: DomainPlanEvaluationEvidenceFreshnessPolicyRef.CURRENT_ACCEPTED_HEADS_AND_ACTION_RESULT,\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Every current-horizon functional requirement has a coherent module and resource home.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'Coverage is complete but one or more requirement-to-module links are weak or indirect.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'At least one current-horizon functional requirement has no resolvable module home.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The staged evidence cannot establish complete requirement coverage.',\n },\n },\n {\n schemaVersion: 1,\n criterionRef: DomainPlanEvaluationCriterionRef.FEATURE_COVERAGE,\n criterionVersion: 1,\n instruction:\n 'Determine whether every feature draft and benefit-delivering feature is realizable by the proposed module capabilities and resource inventories. Do not infer a home from naming similarity alone.',\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: DomainPlanEvaluationEvidenceRequirementRef.FEATURE_COVERAGE,\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: DomainPlanEvaluationEvidenceSubjectRef.DEFINITION_CONTEXT_AND_STAGED_OUTPUT_SET,\n minCount: 2,\n maxCount: 2,\n coveragePolicyRef: DomainPlanEvaluationEvidenceCoveragePolicyRef.COMPLETE_DEFINITION_CONTEXT_AND_EXACT_OUTPUT_SET,\n freshnessPolicyRef: DomainPlanEvaluationEvidenceFreshnessPolicyRef.CURRENT_ACCEPTED_HEADS_AND_ACTION_RESULT,\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Every feature and benefit-delivering capability has a resolvable domain home.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'All features have homes, but one or more mappings are weak or insufficiently explained.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'At least one feature or benefit-delivering capability has no resolvable domain home.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The staged evidence cannot establish complete feature coverage.',\n },\n },\n {\n schemaVersion: 1,\n criterionRef: DomainPlanEvaluationCriterionRef.MODULE_JUSTIFICATION,\n criterionVersion: 1,\n instruction:\n 'Determine whether every proposed module is justified by accepted requirements or features and represents one coherent business capability. Flag speculative or mixed-purpose modules.',\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: DomainPlanEvaluationEvidenceRequirementRef.MODULE_JUSTIFICATION,\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: DomainPlanEvaluationEvidenceSubjectRef.DEFINITION_CONTEXT_AND_STAGED_OUTPUT_SET,\n minCount: 2,\n maxCount: 2,\n coveragePolicyRef: DomainPlanEvaluationEvidenceCoveragePolicyRef.COMPLETE_DEFINITION_CONTEXT_AND_EXACT_OUTPUT_SET,\n freshnessPolicyRef: DomainPlanEvaluationEvidenceFreshnessPolicyRef.CURRENT_ACCEPTED_HEADS_AND_ACTION_RESULT,\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Every proposed module is justified and capability-coherent.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'One or more modules are weakly justified or combine boundaries that should be reconsidered.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'At least one module is speculative or materially incoherent with the definition set.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The staged evidence cannot establish why every module exists.',\n },\n },\n {\n schemaVersion: 1,\n criterionRef: DomainPlanEvaluationCriterionRef.INVENTORY_PLAUSIBILITY,\n criterionVersion: 1,\n instruction:\n 'Assess whether main resources form each module semantic center, supporting resources remain genuinely supporting, and ownership boundaries are plausible. Deterministic uniqueness has already passed and must not be reinterpreted.',\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: DomainPlanEvaluationEvidenceRequirementRef.INVENTORY_PLAUSIBILITY,\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: DomainPlanEvaluationEvidenceSubjectRef.DEFINITION_CONTEXT_AND_STAGED_OUTPUT_SET,\n minCount: 2,\n maxCount: 2,\n coveragePolicyRef: DomainPlanEvaluationEvidenceCoveragePolicyRef.COMPLETE_DEFINITION_CONTEXT_AND_EXACT_OUTPUT_SET,\n freshnessPolicyRef: DomainPlanEvaluationEvidenceFreshnessPolicyRef.CURRENT_ACCEPTED_HEADS_AND_ACTION_RESULT,\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Each module inventory has a plausible semantic center and supporting boundary.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'The inventories are usable but one or more main/supporting classifications are questionable.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'At least one inventory materially contradicts its declared module capability.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The staged evidence cannot establish plausible module inventories.',\n },\n },\n {\n schemaVersion: 1,\n criterionRef: DomainPlanEvaluationCriterionRef.RELATIONSHIP_INTEGRITY,\n criterionVersion: 1,\n instruction:\n 'Assess whether the typed relationship intents are semantically necessary and coherent with the inventoried resources, conceptual cardinality and ownership direction. Do not resolve them into physical foreign keys.',\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: DomainPlanEvaluationEvidenceRequirementRef.RELATIONSHIP_INTEGRITY,\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: DomainPlanEvaluationEvidenceSubjectRef.DEFINITION_CONTEXT_AND_STAGED_OUTPUT_SET,\n minCount: 2,\n maxCount: 2,\n coveragePolicyRef: DomainPlanEvaluationEvidenceCoveragePolicyRef.COMPLETE_DEFINITION_CONTEXT_AND_EXACT_OUTPUT_SET,\n freshnessPolicyRef: DomainPlanEvaluationEvidenceFreshnessPolicyRef.CURRENT_ACCEPTED_HEADS_AND_ACTION_RESULT,\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'The relationship intents coherently connect the proposed resource inventory.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'The relationships are structurally valid but one or more semantic intents need refinement.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'At least one necessary relationship is missing or one declared relationship is materially incoherent.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The staged evidence cannot establish semantic relationship integrity.',\n },\n },\n {\n schemaVersion: 1,\n criterionRef: DomainPlanEvaluationCriterionRef.BOUNDARY_DISCIPLINE,\n criterionVersion: 1,\n instruction:\n 'Determine whether the output remains at planning depth: modules, resource inventories and relationship intents only. Treat schema fields, concrete foreign-key placement or generated implementation code as scope leakage.',\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: DomainPlanEvaluationEvidenceRequirementRef.BOUNDARY_DISCIPLINE,\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: DomainPlanEvaluationEvidenceSubjectRef.DEFINITION_CONTEXT_AND_STAGED_OUTPUT_SET,\n minCount: 2,\n maxCount: 2,\n coveragePolicyRef: DomainPlanEvaluationEvidenceCoveragePolicyRef.COMPLETE_DEFINITION_CONTEXT_AND_EXACT_OUTPUT_SET,\n freshnessPolicyRef: DomainPlanEvaluationEvidenceFreshnessPolicyRef.CURRENT_ACCEPTED_HEADS_AND_ACTION_RESULT,\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'The output remains within the declared planning-depth boundary.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'The output is usable but contains limited premature implementation detail.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'The output materially crosses into schema, foreign-key or implementation authoring.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The staged evidence cannot establish the output depth boundary.',\n },\n },\n ],\n },\n evaluatorBindingPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:evaluator-binding-policy/domain-plan-output-set-result',\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/domain-plan-output-set-result',\n decisionPointVersion: 1,\n triggerRefs: ['application-creation:trigger/domain-plan-output-set-staged-and-valid'],\n hardFloorRefs: ['application-creation:hard-floor/domain-plan-output-set-structurally-valid'],\n riskPolicyRef: 'application-creation:risk-policy/scoped-application-and-execution-context',\n significancePolicyRef: 'application-creation:significance-policy/domain-plan-accepted-landing',\n },\n decisionRule: {\n schemaVersion: 1,\n ruleRef: 'application-creation:decision-rule/domain-plan-output-set-result',\n ruleVersion: 1,\n boundaryClass: MetaWorkflow_DecisionRuleBoundaryClass.QUALITY_INTERPRETATION,\n evidenceAggregationRef: 'application-creation:aggregation/worst-domain-plan-coherence-verdict',\n resultMappings: [\n { verdict: MetaWorkflow_EvaluationVerdict.PASS, consequence: MetaWorkflow_DecisionConsequence.REQUEST_AUTHORITY },\n { verdict: MetaWorkflow_EvaluationVerdict.CONCERN, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.GAP, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.INDETERMINATE, consequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE },\n ],\n hardFloorBindings: [{\n hardFloorRef: 'application-creation:hard-floor/domain-plan-output-set-structurally-valid',\n evidenceRequirementRefs: [\n DomainPlanEvaluationEvidenceRequirementRef.BOUNDARY_DISCIPLINE,\n DomainPlanEvaluationEvidenceRequirementRef.FEATURE_COVERAGE,\n DomainPlanEvaluationEvidenceRequirementRef.INVENTORY_PLAUSIBILITY,\n DomainPlanEvaluationEvidenceRequirementRef.MODULE_JUSTIFICATION,\n DomainPlanEvaluationEvidenceRequirementRef.RELATIONSHIP_INTEGRITY,\n DomainPlanEvaluationEvidenceRequirementRef.REQUIREMENT_COVERAGE,\n ],\n }],\n hardFloorFailureConsequence: MetaWorkflow_DecisionConsequence.BLOCK,\n hardFloorShortcutAllowed: false,\n unresolvedConsequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE,\n evaluatorFailureConsequence: MetaWorkflow_DecisionConsequence.BLOCK,\n },\n authorityRequirement: {\n schemaVersion: 1,\n requirementRef: 'application-creation:authority-requirement/domain-plan-output-set-result',\n requirementVersion: 1,\n consequenceClassRef: 'application-creation:authority-consequence/accept-domain-plan-output-set',\n riskClassRef: 'application-creation:risk/domain-plan-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: [\n DomainPlanEvaluationEvidenceRequirementRef.BOUNDARY_DISCIPLINE,\n DomainPlanEvaluationEvidenceRequirementRef.FEATURE_COVERAGE,\n DomainPlanEvaluationEvidenceRequirementRef.INVENTORY_PLAUSIBILITY,\n DomainPlanEvaluationEvidenceRequirementRef.MODULE_JUSTIFICATION,\n DomainPlanEvaluationEvidenceRequirementRef.RELATIONSHIP_INTEGRITY,\n DomainPlanEvaluationEvidenceRequirementRef.REQUIREMENT_COVERAGE,\n ],\n expiryPolicyRef: 'application-creation:authority-expiry/current-interface-session',\n noncePolicyRef: 'application-creation:authority-nonce/random-per-request',\n hardFloorPosture: MetaWorkflow_HardFloorPosture.NON_WAIVABLE,\n hardFloorOverrideAllowed: false,\n },\n continuationPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:continuation-policy/domain-plan-output-set-result',\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/bottom_up.domain-plan/playbook.definition.ts"],"names":[],"mappings":"AAAA,OAA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EAAE;QAClB,aAAa,EAAE,CAAC;QAChB,SAAS,EAAE,wEAAwE;QACnF,aAAa,EAAE,CAAC;QAChB,QAAQ,EAAE;YACR,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,QAAQ,EAAE,MAAM,EAAE,+BAA+B,CAAC,QAAQ,EAAE;YACpH,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,MAAM,EAAE,MAAM,EAAE,+BAA+B,CAAC,MAAM,EAAE;YAChH,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,gBAAgB,EAAE,MAAM,EAAE,+BAA+B,CAAC,gBAAgB,EAAE;YACpI,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,iBAAiB,EAAE,MAAM,EAAE,+BAA+B,CAAC,iBAAiB,EAAE;YACtI,EAAE,mBAAmB,EAAE,gCAAgC,CAAC,KAAK,EAAE,MAAM,EAAE,+BAA+B,CAAC,KAAK,EAAE;SAC/G;QACD,uBAAuB,EAAE,CAAC;QAC1B,uBAAuB,EAAE,CAAC;QAC1B,uBAAuB,EAAE,CAAC;QAC1B,cAAc,EAAE,+BAA+B,CAAC,KAAK;KACtD;CAC8C,CAAC","sourcesContent":["import {\n HumanDecision_FieldKind,\n} from '@wildo-ai/saas-models';\nimport type {\n MetaWorkflowEvaluationTreatmentSource,\n MetaWorkflowStructuredArtifactActionSource,\n} from '@wildo-ai/saas-backend-lib/meta-workflow-runtime';\nimport {\n MetaWorkflow_AuthorityAssuranceClass,\n MetaWorkflow_AuthorityDecisionMode,\n MetaWorkflow_AuthorityInteractionChannel,\n MetaWorkflow_ContinuationAction,\n MetaWorkflow_DecisionConsequence,\n MetaWorkflow_DecisionRuleBoundaryClass,\n MetaWorkflow_EvaluationAggregationStrategy,\n MetaWorkflow_EvaluationPromptAssemblyStrategy,\n MetaWorkflow_EvaluationVerdict,\n MetaWorkflow_EvidenceRequirementKind,\n MetaWorkflow_FailureDisposition,\n MetaWorkflow_HardFloorPosture,\n MetaWorkflow_OutputContentClass,\n MetaWorkflow_OutputContractCardinality,\n MetaWorkflow_StructuredArtifactOutputSetCommitment,\n MetaWorkflow_ApprovalPolicy,\n MetaWorkflow_ArtifactIntent,\n MetaWorkflow_Executor,\n MetaWorkflow_FailurePolicy,\n MetaWorkflow_PredicateKind,\n MetaWorkflow_ElicitationQuestionDepth,\n} from '@wildo-ai/saas-models/meta-workflows';\nimport {\n MetaWorkflow_ContextSource,\n MetaWorkflow_FunctionalTopic,\n MetaWorkflow_Phase,\n DomainPlanEvaluationCriterionRef,\n DomainPlanEvaluationEvidenceCoveragePolicyRef,\n DomainPlanEvaluationEvidenceFreshnessPolicyRef,\n DomainPlanEvaluationEvidenceRequirementRef,\n DomainPlanEvaluationEvidenceSubjectRef,\n type MetaWorkflowPlaybookAuthoring,\n} from '@wildo-ai/saas-specifications/application-creation';\n\nexport const playbookDefinition = {\n ref: 'bottom_up.domain-plan',\n version: '0.3.0',\n phase: MetaWorkflow_Phase.BOTTOM_UP,\n intent:\n 'Turn the approved definition set into one atomic, planning-depth domain output set: module decomposition with per-module resource inventory plus typed inter-resource relationship intents. The output remains staged until deterministic validation, semantic evaluation and distinct result authority complete.',\n preconditions: [\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_EXISTS, selector: { family: 'requirements' } },\n { kind: MetaWorkflow_PredicateKind.ARTIFACT_EXISTS, selector: { family: 'market-snapshot' } },\n ],\n inputs: [\n { family: 'requirements' },\n // VALUE, not AUDIENCE (#1428): the method's load-bearing market input is the BENEFITS wired to their\n // delivering features (method.md:63-66). AUDIENCE removed exactly those and kept personas it never names.\n { family: 'market-snapshot', intent: MetaWorkflow_ArtifactIntent.VALUE },\n { family: 'feature-drafts' },\n { family: 'roadmap' },\n { family: 'vision-brief' },\n // Its own family: its method refines its own prior output and keeps its refs, so it must be GIVEN that output (#1430). Input, not precondition: a first run, with no prior output, stays eligible.\n { family: 'domain-plan' },\n ],\n outputs: [\n {\n family: 'domain-plan',\n schemaRef: 'saas-specifications:DomainPlanOutputSet',\n description:\n 'THE atomic domain plan: the module decomposition AND the inter-resource relationship drafts, one value, one landed file. (The former separate relationship-drafts family was collapsed into this output 2026-08-24 — the two were never independently meaningful, and the deterministic validator crosses them.) A working edit until it is committed.',\n },\n ],\n method: {\n /*\n * What the creator stated in the other interviews (#2498, #2499): data classes, regimes, jurisdictions, the core\n * workflow, user groups, the scope boundary. 005's creator named VAT identifiers, site addresses, two national\n * e-invoicing regimes and four countries, and none of it reached this step. A section, never a gate: the step runs\n * whether or not those interviews were answered.\n */\n contextSources: [MetaWorkflow_ContextSource.CREATOR_STATED_FACTS],\n /*\n * The mid-run clarification channel, opt-in.\n *\n * This is where the decisions a product owner owns actually live: the tenancy model had to be\n * hard-coded as an interview question by hand, and the plan this playbook produced made\n * `next-step` one-to-one with two different parents — precisely the shape a derivation should\n * have stopped and asked about rather than choosing silently.\n */\n suspendsForClarification: true,\n skillRefs: ['resource-add-module', 'resource-add-resource', 'module-relationships'],\n /*\n * The tenancy question moved here from `bottom_up.foundation`, which runs AFTER this artifact\n * exists.\n *\n * Foundation's comment described the domain plan as deliberately scope-free, and that is true of\n * its FIELDS and false of its CONTENT: wonder-crm's plan (2026-08-27) modelled tenancy unasked —\n * a `workspace` module owning a `workspace` resource, a `team-membership` module owning\n * `workspace-member`, and `deal` referencing `workspace-member` for owner assignment. The creator\n * was asked \"organizations or users?\" afterwards, and answering `users` would have left two\n * modules and a relationship that nothing reconciles.\n *\n * So it is asked HERE, where the decision is first used, and the answer is carried in the\n * committed plan (`DomainPlanOutputSet.tenancy`) rather than in a run's transient answers.\n * Foundation reads the plan and only falls back to its own question for plans authored before\n * the field existed.\n */\n elicitation: {\n questions: [\n {\n ref: 'tenancy',\n /*\n * Written for the person answering it (#1454, gap 4): what it asks is whether people work\n * TOGETHER. What the answer switches on — the ORGANIZATIONS capability, every resource scoped\n * to an organization — is this step's business, stated in its method, not the creator's.\n */\n question:\n 'Do people use this application together, in shared workspaces or teams, or does each person only see their own data? Choose organizations if they work together, users if each person\\'s data is their own.',\n kind: HumanDecision_FieldKind.CHOICE,\n options: ['organizations', 'users'], depth: MetaWorkflow_ElicitationQuestionDepth.ESSENTIAL,\n },\n ],\n },\n },\n executor: MetaWorkflow_Executor.COMPANION_AGENT,\n approval: MetaWorkflow_ApprovalPolicy.APPROVE_RESULT,\n budget: { maxRuns: 3 },\n onFailure: MetaWorkflow_FailurePolicy.KEEP_AND_FLAG,\n} satisfies Omit<MetaWorkflowPlaybookAuthoring, 'method'> & {\n method: Omit<NonNullable<MetaWorkflowPlaybookAuthoring['method']>, 'guidance'>;\n};\n\n/**\n * Portable generation boundary for the atomic domain-plan output set.\n *\n * The generic Driver stops at a validated candidate artifact. The existing\n * application-owned staging, semantic evaluation, result authority and\n * accepted-family mutation path remains the only destination-landing owner.\n */\nexport const structuredArtifactActionSource = {\n schemaVersion: 1,\n definitionRef: 'application-creation:structured-artifact-action/domain-plan-output-set',\n definitionVersion: 1,\n actionDefinition: {\n schemaVersion: 1,\n actionRef: 'application-creation:action/generate-domain-plan-output-set',\n actionVersion: 1,\n intentRef: 'application-creation:intent/derive-domain-plan-and-relationship-drafts',\n inputSelectorRefs: [\n 'application-creation:artifact-selector/accepted-vision-brief',\n 'application-creation:artifact-selector/accepted-market-snapshot',\n 'application-creation:artifact-selector/accepted-requirements',\n 'application-creation:artifact-selector/accepted-feature-drafts',\n 'application-creation:artifact-selector/accepted-roadmap',\n ],\n outcomeContractRefs: ['application-creation:output-contract/domain-plan-output-set'],\n effectSafetyPolicyRef: 'application-creation:effect-safety/candidate-artifact-before-domain-plan-staging',\n allowedCapabilityClassRefs: ['meta-workflow:capability-class/structured-artifact-generation'],\n requiredCapabilityFacetRefs: [\n 'meta-workflow:capability-facet/atomic-output-set',\n 'meta-workflow:capability-facet/sealed-input-projection',\n 'meta-workflow:capability-facet/strict-provider-schema',\n 'meta-workflow:capability-facet/trusted-normalization',\n ],\n authorityRequirementRef: null,\n budgetPolicyRef: 'application-creation:budget-policy/domain-plan-output-set-generation',\n continuationPolicyRef: 'application-creation:continuation-policy/domain-plan-output-set-generation',\n decisionPointDefinitionRefs: ['application-creation:decision-point/domain-plan-output-set-result'],\n },\n driverSelector: { driverRef: 'meta-workflow:driver/structured-artifact-action', driverVersion: 1 },\n inputProjectionContractSelector: {\n contractRef: 'application-creation:input-projection/accepted-domain-plan-definition-set',\n contractVersion: 1,\n },\n providerOutputSchemaSelector: { schemaRef: 'saas-specifications:schema/domain-plan-output-set-generation', schemaVersion: 1 },\n normalizationContractSelector: { contractRef: 'saas-specifications:normalizer/domain-plan-output-set-generation', contractVersion: 1 },\n outputContract: {\n schemaVersion: 1,\n outputContractRef: 'application-creation:output-contract/domain-plan-output-set',\n outputContractVersion: 1,\n outputSchemaSelector: { schemaRef: 'saas-specifications:schema/domain-plan-output-set', schemaVersion: 1 },\n contentClass: MetaWorkflow_OutputContentClass.STRUCTURED_RECORD,\n cardinality: MetaWorkflow_OutputContractCardinality.ONE,\n canonicalSerializationRef: 'meta-workflow:canonicalization/wildo-json',\n canonicalSerializationVersion: 1,\n validatorContractSelector: { contractRef: 'saas-specifications:validator/domain-plan-output-set', contractVersion: 1 },\n acceptedArtifactClassificationRefs: ['application-creation:artifact-classification/candidate-atomic-domain-plan-output-set'],\n invalidOutputDisposition: MetaWorkflow_FailureDisposition.FAIL_BINDING,\n },\n outputSetCommitment: MetaWorkflow_StructuredArtifactOutputSetCommitment.ATOMIC,\n requiredLifecycleFacets: [],\n requiredFailureDispositions: [\n MetaWorkflow_FailureDisposition.FAIL_BINDING,\n MetaWorkflow_FailureDisposition.REQUEST_INPUT,\n MetaWorkflow_FailureDisposition.RETRY_NEW_BINDING,\n ],\n} satisfies MetaWorkflowStructuredArtifactActionSource;\n\nexport const evaluationTreatmentSource = {\n schemaVersion: 1,\n definitionRef: 'application-creation:evaluation-treatment/domain-plan-output-set-result',\n // 2: requirement coverage counts an engine-realized requirement as covered, and engine-concern discipline (#2492).\n // 3: lifecycle coverage, and boundary discipline admits lifecycle intents (#2491).\n // 4: lifecycle coverage counts locked states beside final ones (#2491 re-review M1).\n definitionVersion: 4,\n evaluationProtocol: {\n schemaVersion: 1,\n protocolRef: 'application-creation:evaluation-protocol/domain-plan-output-set-result',\n protocolVersion: 1,\n promptAssemblyStrategy: MetaWorkflow_EvaluationPromptAssemblyStrategy.CANONICAL_PROTOCOL_EVIDENCE_V1,\n aggregationStrategy: MetaWorkflow_EvaluationAggregationStrategy.WORST_VERDICT_PRECEDENCE_V1,\n verdictPrecedence: [\n MetaWorkflow_EvaluationVerdict.GAP,\n MetaWorkflow_EvaluationVerdict.INDETERMINATE,\n MetaWorkflow_EvaluationVerdict.CONCERN,\n MetaWorkflow_EvaluationVerdict.PASS,\n ],\n aggregationPolicyRef: 'application-creation:aggregation/worst-domain-plan-coherence-verdict',\n criteria: [\n {\n schemaVersion: 1,\n criterionRef: DomainPlanEvaluationCriterionRef.REQUIREMENT_COVERAGE,\n // 2: a requirement the plan leaves to the engine (engineRealizedRequirements) is covered (#2492).\n criterionVersion: 2,\n instruction:\n 'Determine whether every current-horizon functional requirement is served by at least one module capability and resource inventory, OR is recorded in engineRealizedRequirements because the engine already provides it (roles, membership, audit, personal data, governed documents, billing, guidance, notifications, localization). Treat a requirement with neither a resolvable module home nor an engine realization as a material gap.',\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: DomainPlanEvaluationEvidenceRequirementRef.REQUIREMENT_COVERAGE,\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: DomainPlanEvaluationEvidenceSubjectRef.DEFINITION_CONTEXT_AND_STAGED_OUTPUT_SET,\n minCount: 2,\n maxCount: 2,\n coveragePolicyRef: DomainPlanEvaluationEvidenceCoveragePolicyRef.COMPLETE_DEFINITION_CONTEXT_AND_EXACT_OUTPUT_SET,\n freshnessPolicyRef: DomainPlanEvaluationEvidenceFreshnessPolicyRef.CURRENT_ACCEPTED_HEADS_AND_ACTION_RESULT,\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Every current-horizon functional requirement has a coherent module and resource home, or an engine realization naming the concern that meets it.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'Coverage is complete but one or more requirement-to-module links are weak or indirect.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'At least one current-horizon functional requirement has neither a resolvable module home nor an engine realization.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The staged evidence cannot establish complete requirement coverage.',\n },\n },\n {\n schemaVersion: 1,\n criterionRef: DomainPlanEvaluationCriterionRef.FEATURE_COVERAGE,\n criterionVersion: 1,\n instruction:\n 'Determine whether every feature draft and benefit-delivering feature is realizable by the proposed module capabilities and resource inventories. Do not infer a home from naming similarity alone.',\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: DomainPlanEvaluationEvidenceRequirementRef.FEATURE_COVERAGE,\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: DomainPlanEvaluationEvidenceSubjectRef.DEFINITION_CONTEXT_AND_STAGED_OUTPUT_SET,\n minCount: 2,\n maxCount: 2,\n coveragePolicyRef: DomainPlanEvaluationEvidenceCoveragePolicyRef.COMPLETE_DEFINITION_CONTEXT_AND_EXACT_OUTPUT_SET,\n freshnessPolicyRef: DomainPlanEvaluationEvidenceFreshnessPolicyRef.CURRENT_ACCEPTED_HEADS_AND_ACTION_RESULT,\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Every feature and benefit-delivering capability has a resolvable domain home.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'All features have homes, but one or more mappings are weak or insufficiently explained.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'At least one feature or benefit-delivering capability has no resolvable domain home.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The staged evidence cannot establish complete feature coverage.',\n },\n },\n {\n schemaVersion: 1,\n criterionRef: DomainPlanEvaluationCriterionRef.MODULE_JUSTIFICATION,\n criterionVersion: 1,\n instruction:\n 'Determine whether every proposed module is justified by accepted requirements or features and represents one coherent business capability. Flag speculative or mixed-purpose modules.',\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: DomainPlanEvaluationEvidenceRequirementRef.MODULE_JUSTIFICATION,\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: DomainPlanEvaluationEvidenceSubjectRef.DEFINITION_CONTEXT_AND_STAGED_OUTPUT_SET,\n minCount: 2,\n maxCount: 2,\n coveragePolicyRef: DomainPlanEvaluationEvidenceCoveragePolicyRef.COMPLETE_DEFINITION_CONTEXT_AND_EXACT_OUTPUT_SET,\n freshnessPolicyRef: DomainPlanEvaluationEvidenceFreshnessPolicyRef.CURRENT_ACCEPTED_HEADS_AND_ACTION_RESULT,\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Every proposed module is justified and capability-coherent.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'One or more modules are weakly justified or combine boundaries that should be reconsidered.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'At least one module is speculative or materially incoherent with the definition set.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The staged evidence cannot establish why every module exists.',\n },\n },\n {\n schemaVersion: 1,\n criterionRef: DomainPlanEvaluationCriterionRef.INVENTORY_PLAUSIBILITY,\n criterionVersion: 1,\n instruction:\n 'Assess whether main resources form each module semantic center, supporting resources remain genuinely supporting, and ownership boundaries are plausible. Deterministic uniqueness has already passed and must not be reinterpreted.',\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: DomainPlanEvaluationEvidenceRequirementRef.INVENTORY_PLAUSIBILITY,\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: DomainPlanEvaluationEvidenceSubjectRef.DEFINITION_CONTEXT_AND_STAGED_OUTPUT_SET,\n minCount: 2,\n maxCount: 2,\n coveragePolicyRef: DomainPlanEvaluationEvidenceCoveragePolicyRef.COMPLETE_DEFINITION_CONTEXT_AND_EXACT_OUTPUT_SET,\n freshnessPolicyRef: DomainPlanEvaluationEvidenceFreshnessPolicyRef.CURRENT_ACCEPTED_HEADS_AND_ACTION_RESULT,\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'Each module inventory has a plausible semantic center and supporting boundary.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'The inventories are usable but one or more main/supporting classifications are questionable.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'At least one inventory materially contradicts its declared module capability.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The staged evidence cannot establish plausible module inventories.',\n },\n },\n {\n schemaVersion: 1,\n criterionRef: DomainPlanEvaluationCriterionRef.RELATIONSHIP_INTEGRITY,\n criterionVersion: 2,\n instruction:\n 'Assess whether the typed relationship intents are semantically necessary and coherent with the inventoried resources, conceptual cardinality and ownership direction. Read every cardinality from the source resource to the target resource (how many sources to how many targets): an edge from the resource holding the reference to the resource it references, where many holders share one referenced row, is many-to-one and is correct. Deterministic validation has already refused a one-sided cardinality whose \"one\" end holds the reference; do not re-report that. Do not resolve the intents into physical foreign keys.',\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: DomainPlanEvaluationEvidenceRequirementRef.RELATIONSHIP_INTEGRITY,\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: DomainPlanEvaluationEvidenceSubjectRef.DEFINITION_CONTEXT_AND_STAGED_OUTPUT_SET,\n minCount: 2,\n maxCount: 2,\n coveragePolicyRef: DomainPlanEvaluationEvidenceCoveragePolicyRef.COMPLETE_DEFINITION_CONTEXT_AND_EXACT_OUTPUT_SET,\n freshnessPolicyRef: DomainPlanEvaluationEvidenceFreshnessPolicyRef.CURRENT_ACCEPTED_HEADS_AND_ACTION_RESULT,\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'The relationship intents coherently connect the proposed resource inventory.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'The relationships are structurally valid but one or more semantic intents need refinement.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'At least one necessary relationship is missing or one declared relationship is materially incoherent.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The staged evidence cannot establish semantic relationship integrity.',\n },\n },\n {\n schemaVersion: 1,\n criterionRef: DomainPlanEvaluationCriterionRef.BOUNDARY_DISCIPLINE,\n // 2: lifecycle intents (states, transitions, conversions, final states) are planning depth (#2491).\n criterionVersion: 2,\n instruction:\n 'Determine whether the output remains at planning depth: modules, resource inventories, relationship intents and resource lifecycles (states, transitions, conversions, locked and final states) only. Treat schema fields, concrete foreign-key placement or generated implementation code as scope leakage.',\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: DomainPlanEvaluationEvidenceRequirementRef.BOUNDARY_DISCIPLINE,\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: DomainPlanEvaluationEvidenceSubjectRef.DEFINITION_CONTEXT_AND_STAGED_OUTPUT_SET,\n minCount: 2,\n maxCount: 2,\n coveragePolicyRef: DomainPlanEvaluationEvidenceCoveragePolicyRef.COMPLETE_DEFINITION_CONTEXT_AND_EXACT_OUTPUT_SET,\n freshnessPolicyRef: DomainPlanEvaluationEvidenceFreshnessPolicyRef.CURRENT_ACCEPTED_HEADS_AND_ACTION_RESULT,\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'The output remains within the declared planning-depth boundary.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'The output is usable but contains limited premature implementation detail.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'The output materially crosses into schema, foreign-key or implementation authoring.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The staged evidence cannot establish the output depth boundary.',\n },\n },\n /*\n * #2491: app-creation-test-004 and -005 had no lifecycle at all, so the build planned no operation and every\n * step (accept, convert, issue, pay) shipped as a status users edit by hand.\n */\n {\n schemaVersion: 1,\n criterionRef: DomainPlanEvaluationCriterionRef.LIFECYCLE_COVERAGE,\n // 2: locked states (no edits, may still move on) beside final ones (#2491 re-review M1).\n criterionVersion: 2,\n instruction:\n 'Determine whether every resource a current-horizon requirement describes moving through states (sent, accepted, issued, paid, approved, closed) has a lifecycle whose transitions carry the requirement\\'s verbs, whose conversions name the resource they create when one record creates another (\"an accepted quote creates a job\"), and whose locked and final states together cover what the requirements say must stop changing (locked when the record still moves on, final when nothing moves it again). A state change expressed only as a relationship, a status the requirements never move, or a lifecycle for a value derived from other records is not coverage.',\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: DomainPlanEvaluationEvidenceRequirementRef.LIFECYCLE_COVERAGE,\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: DomainPlanEvaluationEvidenceSubjectRef.DEFINITION_CONTEXT_AND_STAGED_OUTPUT_SET,\n minCount: 2,\n maxCount: 2,\n coveragePolicyRef: DomainPlanEvaluationEvidenceCoveragePolicyRef.COMPLETE_DEFINITION_CONTEXT_AND_EXACT_OUTPUT_SET,\n freshnessPolicyRef: DomainPlanEvaluationEvidenceFreshnessPolicyRef.CURRENT_ACCEPTED_HEADS_AND_ACTION_RESULT,\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'No requirement moves a record through states, or every such record has a lifecycle carrying the requirement\\'s verbs, its conversions and its final states.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'Each such record has a lifecycle, but a verb, a conversion target, or a locked or final state the requirements imply is missing from it.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'A requirement moves a record through states and the plan has no lifecycle for it, or expresses the move only as a relationship.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The staged evidence cannot establish which requirements move records through states.',\n },\n },\n /*\n * #2492: app-creation-test-005 planned six of thirteen resources for things the engine provides or that\n * are not data at all (an access role, a role assignment, a record of processing, a country declaration,\n * a sensitive-evidence register, a hand-kept workflow progress), and -004 planned country guidance as an\n * empty form. No criterion asked whether a resource was the engine's concern.\n */\n {\n schemaVersion: 1,\n criterionRef: DomainPlanEvaluationCriterionRef.ENGINE_CONCERN_DISCIPLINE,\n criterionVersion: 1,\n instruction:\n 'Determine whether any module or resource stands in for a concern the engine already provides or that is not data a user maintains: roles, permissions or role assignments (the engine roles); members, invitations or teams; an audit history; processing purposes, legal bases, compliance or country declarations typed in by users (a governed document); a next action, stage or status copied from other records (derived, shown in a view). Such a requirement belongs in engineRealizedRequirements, or is derived. A product resource that merely mentions one of these words (an invoice with a status, a job with a stage the user sets as part of the work) is not a finding.',\n evidenceRequirements: [{\n schemaVersion: 1,\n requirementRef: DomainPlanEvaluationEvidenceRequirementRef.ENGINE_CONCERN_DISCIPLINE,\n requirementVersion: 1,\n kind: MetaWorkflow_EvidenceRequirementKind.MANDATORY,\n subjectRef: DomainPlanEvaluationEvidenceSubjectRef.DEFINITION_CONTEXT_AND_STAGED_OUTPUT_SET,\n minCount: 2,\n maxCount: 2,\n coveragePolicyRef: DomainPlanEvaluationEvidenceCoveragePolicyRef.COMPLETE_DEFINITION_CONTEXT_AND_EXACT_OUTPUT_SET,\n freshnessPolicyRef: DomainPlanEvaluationEvidenceFreshnessPolicyRef.CURRENT_ACCEPTED_HEADS_AND_ACTION_RESULT,\n conditionRef: null,\n independencePolicyRef: null,\n diversityPolicyRef: null,\n aggregationPolicyRef: null,\n }],\n verdictGuidance: {\n [MetaWorkflow_EvaluationVerdict.PASS]: 'No module or resource models an engine-provided concern, a disclaimer, or state derived from other records.',\n [MetaWorkflow_EvaluationVerdict.CONCERN]: 'A resource may duplicate an engine concern or derived state, but the definition context leaves room for a genuine product reading; name it and the reading.',\n [MetaWorkflow_EvaluationVerdict.GAP]: 'A module or resource models roles or permissions, a compliance or country declaration users type in, or state copied from other records, while the requirement it serves is the engine\\'s or derivable.',\n [MetaWorkflow_EvaluationVerdict.INDETERMINATE]: 'The staged evidence cannot establish what the resources hold.',\n },\n },\n ],\n },\n evaluatorBindingPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:evaluator-binding-policy/domain-plan-output-set-result',\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/domain-plan-output-set-result',\n decisionPointVersion: 1,\n triggerRefs: ['application-creation:trigger/domain-plan-output-set-staged-and-valid'],\n hardFloorRefs: ['application-creation:hard-floor/domain-plan-output-set-structurally-valid'],\n riskPolicyRef: 'application-creation:risk-policy/scoped-application-and-execution-context',\n significancePolicyRef: 'application-creation:significance-policy/domain-plan-accepted-landing',\n },\n decisionRule: {\n schemaVersion: 1,\n ruleRef: 'application-creation:decision-rule/domain-plan-output-set-result',\n ruleVersion: 1,\n boundaryClass: MetaWorkflow_DecisionRuleBoundaryClass.QUALITY_INTERPRETATION,\n evidenceAggregationRef: 'application-creation:aggregation/worst-domain-plan-coherence-verdict',\n resultMappings: [\n { verdict: MetaWorkflow_EvaluationVerdict.PASS, consequence: MetaWorkflow_DecisionConsequence.REQUEST_AUTHORITY },\n { verdict: MetaWorkflow_EvaluationVerdict.CONCERN, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.GAP, consequence: MetaWorkflow_DecisionConsequence.REVISE },\n { verdict: MetaWorkflow_EvaluationVerdict.INDETERMINATE, consequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE },\n ],\n hardFloorBindings: [{\n hardFloorRef: 'application-creation:hard-floor/domain-plan-output-set-structurally-valid',\n evidenceRequirementRefs: [\n DomainPlanEvaluationEvidenceRequirementRef.BOUNDARY_DISCIPLINE,\n DomainPlanEvaluationEvidenceRequirementRef.FEATURE_COVERAGE,\n DomainPlanEvaluationEvidenceRequirementRef.INVENTORY_PLAUSIBILITY,\n DomainPlanEvaluationEvidenceRequirementRef.MODULE_JUSTIFICATION,\n DomainPlanEvaluationEvidenceRequirementRef.RELATIONSHIP_INTEGRITY,\n DomainPlanEvaluationEvidenceRequirementRef.REQUIREMENT_COVERAGE,\n ],\n }],\n hardFloorFailureConsequence: MetaWorkflow_DecisionConsequence.BLOCK,\n hardFloorShortcutAllowed: false,\n unresolvedConsequence: MetaWorkflow_DecisionConsequence.REQUEST_EVIDENCE,\n evaluatorFailureConsequence: MetaWorkflow_DecisionConsequence.BLOCK,\n },\n authorityRequirement: {\n schemaVersion: 1,\n requirementRef: 'application-creation:authority-requirement/domain-plan-output-set-result',\n requirementVersion: 1,\n consequenceClassRef: 'application-creation:authority-consequence/accept-domain-plan-output-set',\n riskClassRef: 'application-creation:risk/domain-plan-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: [\n DomainPlanEvaluationEvidenceRequirementRef.BOUNDARY_DISCIPLINE,\n DomainPlanEvaluationEvidenceRequirementRef.FEATURE_COVERAGE,\n DomainPlanEvaluationEvidenceRequirementRef.INVENTORY_PLAUSIBILITY,\n DomainPlanEvaluationEvidenceRequirementRef.MODULE_JUSTIFICATION,\n DomainPlanEvaluationEvidenceRequirementRef.RELATIONSHIP_INTEGRITY,\n DomainPlanEvaluationEvidenceRequirementRef.REQUIREMENT_COVERAGE,\n ],\n expiryPolicyRef: 'application-creation:authority-expiry/current-interface-session',\n noncePolicyRef: 'application-creation:authority-nonce/random-per-request',\n hardFloorPosture: MetaWorkflow_HardFloorPosture.NON_WAIVABLE,\n hardFloorOverrideAllowed: false,\n },\n continuationPolicy: {\n schemaVersion: 1,\n policyRef: 'application-creation:continuation-policy/domain-plan-output-set-result',\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"]}
@@ -18,7 +18,7 @@
18
18
  */
19
19
  export declare const playbookDefinition: {
20
20
  readonly ref: "bottom_up.experience-plan";
21
- readonly version: "0.2.0";
21
+ readonly version: "0.3.0";
22
22
  readonly phase: "bottom_up";
23
23
  readonly intent: "User-experience composition — decide WHAT THIS APPLICATION'S EXPERIENCE IS beyond the screens the framework generates for each resource: which composite, custom, execution and chart views it carries and on which resource, which application-level views and dashboards it opens on, which custom components several views reuse, how its navigation, app shell, design system and global views are composed, and the JOURNEY a new person takes — the milestones it recognises and the onboarding documents and guidance flows that get a person there. Reads the domain plan (the modules, resources and relationships that exist), the requirements and feature drafts (what somebody asked for), the placement plan (where decided subjects already sit) and the brand (the visual tone the design system applies). Every view names the PRESET COMPONENTS it reuses, from the framework's own catalogue, because a coding agent with no catalogue in front of it builds custom surfaces out of raw elements and bypasses the theme, the surface policy and the accessibility behaviour every preset carries. Produces the plan; the decomposer turns it into build tasks, each bound to the skill the view's kind, the configuration's surface, the milestone or the guidance kind names.";
24
24
  readonly preconditions: readonly [{
@@ -50,10 +50,11 @@ export declare const playbookDefinition: {
50
50
  readonly outputs: readonly [{
51
51
  readonly family: "experience-plan";
52
52
  readonly schemaRef: "saas-specifications:ExperiencePlan";
53
- readonly description: "The application's experience: the views it carries beyond the generated screens — each with its kind (which names the skill that authors it), the module and resource it belongs to, what a person does on it, the preset components it reuses and what it is accountable to — the application-wide configuration surfaces it composes, each naming what that file gains and why, and its journey: the milestones it recognises (identifier, module, the resource that earns each, the moment) and the guidance toward them (onboarding documents and guidance flows, the milestones each waits for).";
53
+ readonly description: "The application's experience: the views it carries beyond the generated screens — each with its kind (which names the skill that authors it), the module and resource it belongs to, what a person does on it, the preset components it reuses and what it is accountable to — the application-wide configuration surfaces it composes, each naming what that file gains and why, and its journey: the milestones it recognises (identifier, module, the resource that earns each, the moment) and the guidance toward them (onboarding documents and guidance flows, the milestones each waits for); and its home: what a person sees first, an application view or a resource's operation, with why.";
54
54
  }];
55
55
  readonly method: {
56
- readonly contextSources: readonly ["workspace_truth"];
56
+ readonly "//contextSources2502": "CREATOR_STATED_FACTS — the user groups and their devices, which decide the home: what the group that opens the application most sees first (#2502).";
57
+ readonly contextSources: readonly ["workspace_truth", "creator_stated_facts"];
57
58
  readonly skillBodyRefs: readonly ["frontend-component-catalog"];
58
59
  readonly skillRefs: readonly ["frontend-component-catalog", "views-composite-authoring", "resource-custom-view", "spec-composite-view-update", "config-navigation", "config-app-shell", "config-design-system", "milestones-and-celebrations", "guidance-onboarding-authoring"];
59
60
  };
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../../src/playbooks/bottom_up.experience-plan/playbook.definition.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DrB,CAAC"}
1
+ {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/bottom_up.experience-plan/playbook.definition.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8DrB,CAAC"}
@@ -18,7 +18,7 @@
18
18
  */
19
19
  export const playbookDefinition = {
20
20
  "ref": "bottom_up.experience-plan",
21
- "version": "0.2.0",
21
+ "version": "0.3.0",
22
22
  "phase": "bottom_up",
23
23
  "intent": "User-experience composition — decide WHAT THIS APPLICATION'S EXPERIENCE IS beyond the screens the framework generates for each resource: which composite, custom, execution and chart views it carries and on which resource, which application-level views and dashboards it opens on, which custom components several views reuse, how its navigation, app shell, design system and global views are composed, and the JOURNEY a new person takes — the milestones it recognises and the onboarding documents and guidance flows that get a person there. Reads the domain plan (the modules, resources and relationships that exist), the requirements and feature drafts (what somebody asked for), the placement plan (where decided subjects already sit) and the brand (the visual tone the design system applies). Every view names the PRESET COMPONENTS it reuses, from the framework's own catalogue, because a coding agent with no catalogue in front of it builds custom surfaces out of raw elements and bypasses the theme, the surface policy and the accessibility behaviour every preset carries. Produces the plan; the decomposer turns it into build tasks, each bound to the skill the view's kind, the configuration's surface, the milestone or the guidance kind names.",
24
24
  "preconditions": [
@@ -41,7 +41,7 @@ export const playbookDefinition = {
41
41
  {
42
42
  "family": "experience-plan",
43
43
  "schemaRef": "saas-specifications:ExperiencePlan",
44
- "description": "The application's experience: the views it carries beyond the generated screens — each with its kind (which names the skill that authors it), the module and resource it belongs to, what a person does on it, the preset components it reuses and what it is accountable to — the application-wide configuration surfaces it composes, each naming what that file gains and why, and its journey: the milestones it recognises (identifier, module, the resource that earns each, the moment) and the guidance toward them (onboarding documents and guidance flows, the milestones each waits for)."
44
+ "description": "The application's experience: the views it carries beyond the generated screens — each with its kind (which names the skill that authors it), the module and resource it belongs to, what a person does on it, the preset components it reuses and what it is accountable to — the application-wide configuration surfaces it composes, each naming what that file gains and why, and its journey: the milestones it recognises (identifier, module, the resource that earns each, the moment) and the guidance toward them (onboarding documents and guidance flows, the milestones each waits for); and its home: what a person sees first, an application view or a resource's operation, with why."
45
45
  }
46
46
  ],
47
47
  "method": {
@@ -51,7 +51,8 @@ export const playbookDefinition = {
51
51
  * application already registers. A plan proposing a composite view on a resource the tree does
52
52
  * not carry emits a task that cannot run.
53
53
  */
54
- "contextSources": ["workspace_truth"],
54
+ "//contextSources2502": "CREATOR_STATED_FACTS — the user groups and their devices, which decide the home: what the group that opens the application most sees first (#2502).",
55
+ "contextSources": ["workspace_truth", "creator_stated_facts"],
55
56
  /*
56
57
  * ONE body reaches this step (#1435), and it is the one the plan's central decision depends on:
57
58
  * naming the PRESET components each surface reuses is impossible without the catalogue, and a
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../../src/playbooks/bottom_up.experience-plan/playbook.definition.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,KAAK,EAAE,2BAA2B;IAClC,SAAS,EAAE,OAAO;IAClB,OAAO,EAAE,WAAW;IACpB,QAAQ,EAAE,muCAAmuC;IAC7uC,eAAe,EAAE;QACf;;;;WAIG;QACH,EAAE,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,aAAa,EAAE,EAAE;KACvE;IACD,QAAQ,EAAE;QACR,EAAE,QAAQ,EAAE,aAAa,EAAE,IAAI,EAAE,iEAAiE,EAAE;QACpG,EAAE,QAAQ,EAAE,cAAc,EAAE,IAAI,EAAE,6GAA6G,EAAE;QACjJ,EAAE,QAAQ,EAAE,gBAAgB,EAAE,IAAI,EAAE,iEAAiE,EAAE;QACvG,EAAE,QAAQ,EAAE,gBAAgB,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,6MAA6M,EAAE;QACpQ,EAAE,QAAQ,EAAE,aAAa,EAAE,IAAI,EAAE,yHAAyH,EAAE;QAC5J,EAAE,QAAQ,EAAE,iBAAiB,EAAE,IAAI,EAAE,uKAAuK,EAAE;KAC/M;IACD,SAAS,EAAE;QACT;YACE,QAAQ,EAAE,iBAAiB;YAC3B,WAAW,EAAE,oCAAoC;YACjD,aAAa,EAAE,ukBAAukB;SACvlB;KACF;IACD,QAAQ,EAAE;QACR;;;;;WAKG;QACH,gBAAgB,EAAE,CAAC,iBAAiB,CAAC;QACrC;;;;;WAKG;QACH,eAAe,EAAE,CAAC,4BAA4B,CAAC;QAC/C,WAAW,EAAE;YACX,4BAA4B;YAC5B,2BAA2B;YAC3B,sBAAsB;YACtB,4BAA4B;YAC5B,mBAAmB;YACnB,kBAAkB;YAClB,sBAAsB;YACtB,6BAA6B;YAC7B,+BAA+B;SAChC;KACF;IACD,UAAU,EAAE,iBAAiB;IAC7B,UAAU,EAAE,gBAAgB;IAC5B,QAAQ,EAAE;QACR,SAAS,EAAE,CAAC;KACb;IACD,WAAW,EAAE,eAAe;CACpB,CAAC","sourcesContent":["/**\n * Canonical native declaration for this reusable application-creation method.\n *\n * The user-experience lane's one leaf (#1493). Nine view skills and three configuration skills ship\n * in this framework and NO playbook named one of them, so the decomposer was told to emit tasks for\n * \"app-level composite views, navigation, layouts, the app shell, design-system application,\n * charts\" with nothing saying what the experience should BE — every such task improvised per run,\n * and which preset components a view reused left to the coding agent at dispatch time.\n *\n * It produces the experience plan; `bottom_up.build-decompose` turns each view into a task over the\n * matching product kind and each configuration into an `APPLICATION_FRONTEND_CONFIG` task, binding\n * each to the skill its KIND names through the two total maps in `_core`. The build plan keeps ONE\n * producer, which is what makes landing decidable (#895).\n *\n * Distinct from `bottom_up.placement-plan`, and the two run in this order: this decides WHICH\n * surfaces exist, placement decides WHERE each decided subject sits in the shell. A placement of a\n * view nobody proposed places nothing.\n */\nexport const playbookDefinition = {\n \"ref\": \"bottom_up.experience-plan\",\n \"version\": \"0.2.0\",\n \"phase\": \"bottom_up\",\n \"intent\": \"User-experience composition — decide WHAT THIS APPLICATION'S EXPERIENCE IS beyond the screens the framework generates for each resource: which composite, custom, execution and chart views it carries and on which resource, which application-level views and dashboards it opens on, which custom components several views reuse, how its navigation, app shell, design system and global views are composed, and the JOURNEY a new person takes — the milestones it recognises and the onboarding documents and guidance flows that get a person there. Reads the domain plan (the modules, resources and relationships that exist), the requirements and feature drafts (what somebody asked for), the placement plan (where decided subjects already sit) and the brand (the visual tone the design system applies). Every view names the PRESET COMPONENTS it reuses, from the framework's own catalogue, because a coding agent with no catalogue in front of it builds custom surfaces out of raw elements and bypasses the theme, the surface policy and the accessibility behaviour every preset carries. Produces the plan; the decomposer turns it into build tasks, each bound to the skill the view's kind, the configuration's surface, the milestone or the guidance kind names.\",\n \"preconditions\": [\n /*\n * The DOMAIN PLAN is what the experience is over: a composite view composes resources, a chart\n * charts one, and a navigation tree routes to modules. Its CONTENT is read, so the strength is\n * `artifact_exists` (the audit's own distinction, #1434).\n */\n { \"kind\": \"artifact_exists\", \"selector\": { \"family\": \"domain-plan\" } }\n ],\n \"inputs\": [\n { \"family\": \"domain-plan\", \"//\": \"The modules, resources and relationships every surface is over.\" },\n { \"family\": \"requirements\", \"//\": \"What somebody asked the application to do — a surface accountable to nothing is a surface nobody asked for.\" },\n { \"family\": \"feature-drafts\", \"//\": \"The drafted features whose interaction this experience carries.\" },\n { \"family\": \"placement-plan\", \"render\": \"map\", \"//\": \"Where decided subjects already sit, so a proposed surface does not duplicate one the shell already reaches. A MAP: this method decides what EXISTS, and placement's own rationale is not its input (#1424).\" },\n { \"family\": \"brand-brief\", \"//\": \"The visual tone the design-system configuration applies — the one input that decides a palette rather than a structure.\" },\n { \"family\": \"experience-plan\", \"//\": \"Its own family: its method refines its own prior output and keeps its view refs, which build tasks name (#1430). Input, not precondition: a first run stays eligible.\" }\n ],\n \"outputs\": [\n {\n \"family\": \"experience-plan\",\n \"schemaRef\": \"saas-specifications:ExperiencePlan\",\n \"description\": \"The application's experience: the views it carries beyond the generated screens — each with its kind (which names the skill that authors it), the module and resource it belongs to, what a person does on it, the preset components it reuses and what it is accountable to — the application-wide configuration surfaces it composes, each naming what that file gains and why, and its journey: the milestones it recognises (identifier, module, the resource that earns each, the moment) and the guidance toward them (onboarding documents and guidance flows, the milestones each waits for).\"\n }\n ],\n \"method\": {\n /*\n * WORKSPACE_TRUTH — this method plans against CODE as well as against decisions: which resources\n * actually exist in the tree, which ui-behaviors are already authored, which components the\n * application already registers. A plan proposing a composite view on a resource the tree does\n * not carry emits a task that cannot run.\n */\n \"contextSources\": [\"workspace_truth\"],\n /*\n * ONE body reaches this step (#1435), and it is the one the plan's central decision depends on:\n * naming the PRESET components each surface reuses is impossible without the catalogue, and a\n * model guessing at it writes refs that resolve to nothing. Every other skill is a contract the\n * CODING AGENT opens when it builds the task.\n */\n \"skillBodyRefs\": [\"frontend-component-catalog\"],\n \"skillRefs\": [\n \"frontend-component-catalog\",\n \"views-composite-authoring\",\n \"resource-custom-view\",\n \"spec-composite-view-update\",\n \"config-navigation\",\n \"config-app-shell\",\n \"config-design-system\",\n \"milestones-and-celebrations\",\n \"guidance-onboarding-authoring\"\n ]\n },\n \"executor\": \"companion_agent\",\n \"approval\": \"approve_result\",\n \"budget\": {\n \"maxRuns\": 3\n },\n \"onFailure\": \"keep_and_flag\"\n} as const;\n"]}
1
+ {"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../src/playbooks/bottom_up.experience-plan/playbook.definition.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,KAAK,EAAE,2BAA2B;IAClC,SAAS,EAAE,OAAO;IAClB,OAAO,EAAE,WAAW;IACpB,QAAQ,EAAE,muCAAmuC;IAC7uC,eAAe,EAAE;QACf;;;;WAIG;QACH,EAAE,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,aAAa,EAAE,EAAE;KACvE;IACD,QAAQ,EAAE;QACR,EAAE,QAAQ,EAAE,aAAa,EAAE,IAAI,EAAE,iEAAiE,EAAE;QACpG,EAAE,QAAQ,EAAE,cAAc,EAAE,IAAI,EAAE,6GAA6G,EAAE;QACjJ,EAAE,QAAQ,EAAE,gBAAgB,EAAE,IAAI,EAAE,iEAAiE,EAAE;QACvG,EAAE,QAAQ,EAAE,gBAAgB,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,6MAA6M,EAAE;QACpQ,EAAE,QAAQ,EAAE,aAAa,EAAE,IAAI,EAAE,yHAAyH,EAAE;QAC5J,EAAE,QAAQ,EAAE,iBAAiB,EAAE,IAAI,EAAE,uKAAuK,EAAE;KAC/M;IACD,SAAS,EAAE;QACT;YACE,QAAQ,EAAE,iBAAiB;YAC3B,WAAW,EAAE,oCAAoC;YACjD,aAAa,EAAE,wqBAAwqB;SACxrB;KACF;IACD,QAAQ,EAAE;QACR;;;;;WAKG;QACH,sBAAsB,EAAE,qJAAqJ;QAC7K,gBAAgB,EAAE,CAAC,iBAAiB,EAAE,sBAAsB,CAAC;QAC7D;;;;;WAKG;QACH,eAAe,EAAE,CAAC,4BAA4B,CAAC;QAC/C,WAAW,EAAE;YACX,4BAA4B;YAC5B,2BAA2B;YAC3B,sBAAsB;YACtB,4BAA4B;YAC5B,mBAAmB;YACnB,kBAAkB;YAClB,sBAAsB;YACtB,6BAA6B;YAC7B,+BAA+B;SAChC;KACF;IACD,UAAU,EAAE,iBAAiB;IAC7B,UAAU,EAAE,gBAAgB;IAC5B,QAAQ,EAAE;QACR,SAAS,EAAE,CAAC;KACb;IACD,WAAW,EAAE,eAAe;CACpB,CAAC","sourcesContent":["/**\n * Canonical native declaration for this reusable application-creation method.\n *\n * The user-experience lane's one leaf (#1493). Nine view skills and three configuration skills ship\n * in this framework and NO playbook named one of them, so the decomposer was told to emit tasks for\n * \"app-level composite views, navigation, layouts, the app shell, design-system application,\n * charts\" with nothing saying what the experience should BE — every such task improvised per run,\n * and which preset components a view reused left to the coding agent at dispatch time.\n *\n * It produces the experience plan; `bottom_up.build-decompose` turns each view into a task over the\n * matching product kind and each configuration into an `APPLICATION_FRONTEND_CONFIG` task, binding\n * each to the skill its KIND names through the two total maps in `_core`. The build plan keeps ONE\n * producer, which is what makes landing decidable (#895).\n *\n * Distinct from `bottom_up.placement-plan`, and the two run in this order: this decides WHICH\n * surfaces exist, placement decides WHERE each decided subject sits in the shell. A placement of a\n * view nobody proposed places nothing.\n */\nexport const playbookDefinition = {\n \"ref\": \"bottom_up.experience-plan\",\n \"version\": \"0.3.0\",\n \"phase\": \"bottom_up\",\n \"intent\": \"User-experience composition — decide WHAT THIS APPLICATION'S EXPERIENCE IS beyond the screens the framework generates for each resource: which composite, custom, execution and chart views it carries and on which resource, which application-level views and dashboards it opens on, which custom components several views reuse, how its navigation, app shell, design system and global views are composed, and the JOURNEY a new person takes — the milestones it recognises and the onboarding documents and guidance flows that get a person there. Reads the domain plan (the modules, resources and relationships that exist), the requirements and feature drafts (what somebody asked for), the placement plan (where decided subjects already sit) and the brand (the visual tone the design system applies). Every view names the PRESET COMPONENTS it reuses, from the framework's own catalogue, because a coding agent with no catalogue in front of it builds custom surfaces out of raw elements and bypasses the theme, the surface policy and the accessibility behaviour every preset carries. Produces the plan; the decomposer turns it into build tasks, each bound to the skill the view's kind, the configuration's surface, the milestone or the guidance kind names.\",\n \"preconditions\": [\n /*\n * The DOMAIN PLAN is what the experience is over: a composite view composes resources, a chart\n * charts one, and a navigation tree routes to modules. Its CONTENT is read, so the strength is\n * `artifact_exists` (the audit's own distinction, #1434).\n */\n { \"kind\": \"artifact_exists\", \"selector\": { \"family\": \"domain-plan\" } }\n ],\n \"inputs\": [\n { \"family\": \"domain-plan\", \"//\": \"The modules, resources and relationships every surface is over.\" },\n { \"family\": \"requirements\", \"//\": \"What somebody asked the application to do — a surface accountable to nothing is a surface nobody asked for.\" },\n { \"family\": \"feature-drafts\", \"//\": \"The drafted features whose interaction this experience carries.\" },\n { \"family\": \"placement-plan\", \"render\": \"map\", \"//\": \"Where decided subjects already sit, so a proposed surface does not duplicate one the shell already reaches. A MAP: this method decides what EXISTS, and placement's own rationale is not its input (#1424).\" },\n { \"family\": \"brand-brief\", \"//\": \"The visual tone the design-system configuration applies — the one input that decides a palette rather than a structure.\" },\n { \"family\": \"experience-plan\", \"//\": \"Its own family: its method refines its own prior output and keeps its view refs, which build tasks name (#1430). Input, not precondition: a first run stays eligible.\" }\n ],\n \"outputs\": [\n {\n \"family\": \"experience-plan\",\n \"schemaRef\": \"saas-specifications:ExperiencePlan\",\n \"description\": \"The application's experience: the views it carries beyond the generated screens — each with its kind (which names the skill that authors it), the module and resource it belongs to, what a person does on it, the preset components it reuses and what it is accountable to — the application-wide configuration surfaces it composes, each naming what that file gains and why, and its journey: the milestones it recognises (identifier, module, the resource that earns each, the moment) and the guidance toward them (onboarding documents and guidance flows, the milestones each waits for); and its home: what a person sees first, an application view or a resource's operation, with why.\"\n }\n ],\n \"method\": {\n /*\n * WORKSPACE_TRUTH — this method plans against CODE as well as against decisions: which resources\n * actually exist in the tree, which ui-behaviors are already authored, which components the\n * application already registers. A plan proposing a composite view on a resource the tree does\n * not carry emits a task that cannot run.\n */\n \"//contextSources2502\": \"CREATOR_STATED_FACTS — the user groups and their devices, which decide the home: what the group that opens the application most sees first (#2502).\",\n \"contextSources\": [\"workspace_truth\", \"creator_stated_facts\"],\n /*\n * ONE body reaches this step (#1435), and it is the one the plan's central decision depends on:\n * naming the PRESET components each surface reuses is impossible without the catalogue, and a\n * model guessing at it writes refs that resolve to nothing. Every other skill is a contract the\n * CODING AGENT opens when it builds the task.\n */\n \"skillBodyRefs\": [\"frontend-component-catalog\"],\n \"skillRefs\": [\n \"frontend-component-catalog\",\n \"views-composite-authoring\",\n \"resource-custom-view\",\n \"spec-composite-view-update\",\n \"config-navigation\",\n \"config-app-shell\",\n \"config-design-system\",\n \"milestones-and-celebrations\",\n \"guidance-onboarding-authoring\"\n ]\n },\n \"executor\": \"companion_agent\",\n \"approval\": \"approve_result\",\n \"budget\": {\n \"maxRuns\": 3\n },\n \"onFailure\": \"keep_and_flag\"\n} as const;\n"]}
@@ -51,6 +51,7 @@ export declare const playbookDefinition: {
51
51
  readonly question: "Do people use this application together, in shared workspaces or teams, or does each person only see their own data? Choose organizations if they work together, users if each person's data is their own.";
52
52
  readonly kind: "choice";
53
53
  readonly options: readonly ["organizations", "users"];
54
+ readonly depth: "essential";
54
55
  readonly sameDecisionAs: {
55
56
  readonly playbookRef: "bottom_up.domain-plan";
56
57
  readonly questionRef: "tenancy";
@@ -59,20 +60,27 @@ export declare const playbookDefinition: {
59
60
  readonly ref: "operating-entity";
60
61
  readonly question: "Which legal entity operates this service? Give the registered company name, its registered address, and the route a person uses to reach you about privacy (an email, a URL or a postal address). Answer only the parts you actually know today — anything you leave out is recorded as outstanding and nothing is blocked by it. Do NOT supply a placeholder or a plausible-looking value: a produced privacy notice quotes these as fact, and the address is what a person would use to serve a legal request on a real company.";
61
62
  readonly kind: "free_text";
63
+ readonly depth: "essential";
64
+ readonly whenUnknown: "ask";
65
+ readonly regulatedDomain: true;
62
66
  }, {
63
67
  readonly ref: "operating-jurisdictions";
64
68
  readonly question: "Which jurisdictions does this application operate in, and why does each one reach it — are you established there, do you sell there, or do you hold data about people there? Use country codes (`fr`, `us`), the supranational `eu`, or a subdivision (`us-ca`). Answer \"not decided\" if the market is genuinely unsettled; an absent answer is read as unanswered, never as \"nowhere\".";
65
69
  readonly kind: "free_text";
70
+ readonly depth: "essential";
71
+ readonly regulatedDomain: true;
66
72
  }, {
67
73
  readonly ref: "billing-provider";
68
74
  readonly question: "Which billing provider should this application charge its users through? Answer `none` to decide later; the capability stays off until a provider is chosen.";
69
75
  readonly kind: "choice";
70
76
  readonly options: readonly ["stripe", "none"];
77
+ readonly depth: "detail";
71
78
  }, {
72
79
  readonly ref: "sms-provider";
73
80
  readonly question: "Which SMS provider should this application send text messages through (phone verification, SMS second factor)? Answer `none` if the product sends no SMS, or to decide later.";
74
81
  readonly kind: "choice";
75
82
  readonly options: readonly ["twilio", "none"];
83
+ readonly depth: "detail";
76
84
  }];
77
85
  };
78
86
  };
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../../src/playbooks/bottom_up.foundation/playbook.definition.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsMrB,CAAC"}
1
+ {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../../src/playbooks/bottom_up.foundation/playbook.definition.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8MrB,CAAC"}
@@ -125,6 +125,7 @@ export const playbookDefinition = {
125
125
  "question": "Do people use this application together, in shared workspaces or teams, or does each person only see their own data? Choose organizations if they work together, users if each person's data is their own.",
126
126
  "kind": "choice",
127
127
  "options": ["organizations", "users"],
128
+ "depth": "essential",
128
129
  /*
129
130
  * ONE decision, asked once (#1454, gap 4): the domain plan's tenancy question owns it, and
130
131
  * this fallback reads that answer. The dossier listed the two as separate open questions,
@@ -161,12 +162,17 @@ export const playbookDefinition = {
161
162
  {
162
163
  "ref": "operating-entity",
163
164
  "question": "Which legal entity operates this service? Give the registered company name, its registered address, and the route a person uses to reach you about privacy (an email, a URL or a postal address). Answer only the parts you actually know today — anything you leave out is recorded as outstanding and nothing is blocked by it. Do NOT supply a placeholder or a plausible-looking value: a produced privacy notice quotes these as fact, and the address is what a person would use to serve a legal request on a real company.",
164
- "kind": "free_text"
165
+ "kind": "free_text",
166
+ "depth": "essential",
167
+ "whenUnknown": "ask",
168
+ "regulatedDomain": true
165
169
  },
166
170
  {
167
171
  "ref": "operating-jurisdictions",
168
172
  "question": "Which jurisdictions does this application operate in, and why does each one reach it — are you established there, do you sell there, or do you hold data about people there? Use country codes (`fr`, `us`), the supranational `eu`, or a subdivision (`us-ca`). Answer \"not decided\" if the market is genuinely unsettled; an absent answer is read as unanswered, never as \"nowhere\".",
169
- "kind": "free_text"
173
+ "kind": "free_text",
174
+ "depth": "essential",
175
+ "regulatedDomain": true
170
176
  },
171
177
  /*
172
178
  * The creator's PROVIDER choices (#1488). Which vendor an application charges or texts through is
@@ -188,13 +194,15 @@ export const playbookDefinition = {
188
194
  "ref": "billing-provider",
189
195
  "question": "Which billing provider should this application charge its users through? Answer `none` to decide later; the capability stays off until a provider is chosen.",
190
196
  "kind": "choice",
191
- "options": ["stripe", "none"]
197
+ "options": ["stripe", "none"],
198
+ "depth": "detail"
192
199
  },
193
200
  {
194
201
  "ref": "sms-provider",
195
202
  "question": "Which SMS provider should this application send text messages through (phone verification, SMS second factor)? Answer `none` if the product sends no SMS, or to decide later.",
196
203
  "kind": "choice",
197
- "options": ["twilio", "none"]
204
+ "options": ["twilio", "none"],
205
+ "depth": "detail"
198
206
  }
199
207
  ]
200
208
  }
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../../src/playbooks/bottom_up.foundation/playbook.definition.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAC/B;IACE,KAAK,EAAE,sBAAsB;IAC7B,SAAS,EAAE,OAAO;IAClB,OAAO,EAAE,WAAW;IACpB,QAAQ,EAAE,gsCAAgsC;IAC1sC,eAAe,EAAE;QACf,EAAE,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,aAAa,EAAE,EAAE;QACtE;;;;;;;;;;;;WAYG;QACH,EAAE,MAAM,EAAE,mBAAmB,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,cAAc,EAAE,EAAE;QACzE;;;;;;;;;;;;;;;;;;;;;;;;WAwBG;QACH,EAAE,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,kBAAkB,EAAE,EAAE;QAC3E;;;;;;WAMG;QACH,EAAE,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,wBAAwB,EAAE,EAAE;KAClF;IACD;;;;;;;;;;;;;;;OAeG;IACH,QAAQ,EAAE;QACR,EAAE,QAAQ,EAAE,aAAa,EAAE;QAC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,EAAE,eAAe;CACpB,CAAC","sourcesContent":["/**\n * Canonical native declaration for this reusable application-creation method.\n *\n * The structured method remains intentionally rich: its intent, inputs, output\n * contracts, elicitation, deterministic verification and skill routing are the\n * application knowledge a later generic assessment loop composes. This source\n * intentionally omits the superseded per-playbook evaluation-treatment object;\n * generation records that absence rather than fabricating legacy judge behavior.\n */\nexport const playbookDefinition =\n{\n \"ref\": \"bottom_up.foundation\",\n \"version\": \"0.2.5\",\n \"phase\": \"bottom_up\",\n \"intent\": \"Bottom-up foundation \\u2014 turn the approved domain plan and top-down definitions into a configured, bootable application skeleton. For a fresh application, use wildo init in an empty destination before refining its generated configuration; preserve existing projects and use their repair/composition paths. Author capabilities, modules and providers from the approved plan, verify application knowledge delivery (wildo assets sync refreshes installed assets), then run wildo setup --non-interactive and wildo local init with their prerequisites. These tools exist; their successful invocation and postconditions must be observed in the current run. The registered foundation executor composes module/resource shells and tenancy configuration; it does not run this full init/assets/setup sequence. This methodology states the prerequisites and postconditions to fulfil around that execution. It emits no artifact: the deliverable is the application source, configured module registrations and verified initialization. Record the reasons for configuration choices beside those choices. Runs after the domain plan is approved in the bottom_up phase; business resource implementation belongs to the later build work.\",\n \"preconditions\": [\n { \"kind\": \"artifact_exists\", \"selector\": { \"family\": \"domain-plan\" } },\n /*\n * SEQUENCING, not readiness (#1434). `artifact_exists` asserts this playbook needs the vision's\n * CONTENT, and it does not read a word of it: the run short-circuits into the foundation\n * executor before any brief is composed, and the executor reads the domain plan and the landed\n * business model. The audit rule that reports a readiness gate whose family is undeclared named\n * both remedies — declare it, or weaken the gate \"if the order is all that matters\" — and here\n * the order is all that matters.\n *\n * Nothing is lost by weakening it. The vision is enforced TRANSITIVELY and harder than this gate\n * ever did: `top_down.market-snapshot-produce` and `top_down.requirements-definition` both gate\n * on `vision-brief` at readiness, and `bottom_up.domain-plan` gates on both of those — so an\n * approved domain plan, which this playbook DOES require at readiness, cannot exist without one.\n */\n { \"kind\": \"artifact_expected\", \"selector\": { \"family\": \"vision-brief\" } },\n /*\n * CONTENT, not sequencing — and this gate is why (#1544).\n *\n * `appendBackgroundExecutionScenarios` composes one `add-worker-node` / `add-worker-rust` /\n * `add-minion` per surface the INTEGRATION PLAN declares, deriving every variable from that\n * declaration. It reads the plan leniently on purpose: absent or unparseable means the\n * application declares nothing to run beside its backend, which is the ordinary case. That\n * leniency is correct and stays — what it cannot do is tell \"declares nothing\" from \"has not\n * been produced yet\", and both come back as silence.\n *\n * Measured on the first end-to-end run: this playbook ran at 06:58:03 and concluded three\n * seconds later; `bottom_up.integration-plan` started at 06:58:47 — 44 seconds AFTER — and\n * declared one minion, `minion-compose-weekly-team-digest`. Nothing was composed. The build\n * decomposer then emitted `build-task-weekly-digest-minion` against a package that no step\n * would ever create, and nine hours later there was still no `minions/` directory and\n * `applicationMinions = {}`.\n *\n * `artifact_exists` rather than `artifact_expected`, by the distinction the vision gate above\n * draws: this playbook reads the plan's CONTENT, not merely its position in the order.\n *\n * Safe to gate on. The integration-plan playbook produces a plan for every application,\n * `workers: []` and `minions: []` included — an application with no background execution is a\n * plan that says so, not an absent one. So this cannot make the foundation permanently\n * ineligible; it can only hold it until the answer exists.\n */\n { \"kind\": \"artifact_exists\", \"selector\": { \"family\": \"integration-plan\" } },\n /*\n * The same gate for the same reason, one input over. `capability-composition` decides which\n * scenarios are NEEDED — the loop above it throws when a scenario is marked needed and the\n * foundation has no invocation for it — so composing before it lands composes from an empty\n * decision set, silently and with the same shape. Not measured failing; gated because it is the\n * same invariant at its other site (`invariant-call-site-enumeration.md`).\n */\n { \"kind\": \"artifact_exists\", \"selector\": { \"family\": \"capability-composition\" } }\n ],\n /*\n * TWO, measured rather than aspirational (#1434) — THREE since #1491, see the third entry.\n *\n * This playbook does not compose a brief at all: `executePlaybookRun` short-circuits it into the\n * foundation executor before any section is composed, so a declared input reaches no model. The\n * executor reads the domain plan (handed to it) and the landed business model (read itself), and\n * derives the three capabilities that are derivable from those two values.\n *\n * `vision-brief`, `market-snapshot`, `requirements` and `roadmap` were declared and reached\n * nothing — while the method told a reader that the vision's compliance constraints were \"the\n * primary driver of capability selection\". A declaration nothing reads is a promise nothing\n * keeps, and four of the six were exactly that.\n *\n * `vision-brief` stays a PRECONDITION, which is a different statement: the foundation must not run\n * before a vision exists, and that gate is real whether or not anything reads its content here.\n */\n \"inputs\": [\n { \"family\": \"domain-plan\" },\n { \"family\": \"business-model\" },\n /*\n * THIRD, since #1491: which optional packages (the website, the documentation portal) this\n * application needs, decided by `bottom_up.capability-composition` and applied here after the\n * domain scenarios. An INPUT, not a precondition, for the same reason as the business model: a\n * foundation run with no composition yet composes the domain and applies no optional package,\n * and the executor reads it through the `capabilityComposition` slot rather than a brief.\n */\n { \"family\": \"capability-composition\" },\n /*\n * FOURTH, since #1495: what runs beside the backend. The executor fans one `add-worker-node`,\n * `add-worker-rust` or `add-minion` out of this plan per surface it declares — the same shape as\n * the module and resource fan-out, and an INPUT for the same reason as the two above: a run with\n * no integration plan composes no background package, and a plan landing later re-stales this\n * step rather than gating it.\n */\n { \"family\": \"integration-plan\" }\n ],\n \"outputs\": [],\n \"method\": {\n \"skillRefs\": [\n \"config-saas\",\n \"module-registration\",\n \"infra-environment-config\",\n \"local-environment-bootstrap\",\n \"application-database-migrations\"\n ],\n \"elicitation\": {\n \"questions\": [\n /*\n * THE FALLBACK, since 2026-08-28. `bottom_up.domain-plan` now asks this and carries the\n * answer in the committed plan (`DomainPlanOutputSet.tenancy`), because the plan MODELS\n * tenancy — wonder-crm's invented a workspace module and a membership before anyone was\n * asked — so asking after the model is shaped lets a second answer contradict it.\n *\n * The executor reads the plan first and reaches this question only for a plan authored\n * before the field existed. Keep it: those plans are real (wonder-crm, wonder-todos) and\n * must stay composable.\n */\n {\n \"ref\": \"primary-scope\",\n \"question\": \"Do people use this application together, in shared workspaces or teams, or does each person only see their own data? Choose organizations if they work together, users if each person's data is their own.\",\n \"kind\": \"choice\",\n \"options\": [\"organizations\", \"users\"],\n /*\n * ONE decision, asked once (#1454, gap 4): the domain plan's tenancy question owns it, and\n * this fallback reads that answer. The dossier listed the two as separate open questions,\n * worded differently, for the same choice.\n */\n \"sameDecisionAs\": { \"playbookRef\": \"bottom_up.domain-plan\", \"questionRef\": \"tenancy\" }\n },\n /*\n * The operator's own legal identity (issue #235), asked HERE because this is the playbook that\n * writes `wildo.saas.config.ts` and already carries the `config-saas` skill — an answer\n * elicited anywhere else would have nowhere to land, since a companion-agent playbook produces\n * an artifact and writes no files.\n *\n * KEPT on 2026-09-22 (#1454, Step 5), after \"bind them to the typed config keys, or stop\n * asking\" was weighed. The executor reads neither answer — it reads only `primary-scope` —\n * and the questions are nonetheless the elicitation path into a typed, committed key, which\n * is what `compliance-is-derived-from-the-product.md` rule 2 asks for (never a form that\n * stays a form). What changed is where the answers LIVE: the DOSSIER keeps them, so they are\n * asked once and read by every run that needs them.\n *\n * CORRECTED 2026-09-22 (#1434), same day: that reasoning originally said \"this is a\n * CODING-AGENT playbook, and the agent's brief carries the rendered interview\". This playbook\n * composes NO BRIEF — `executePlaybookRun` short-circuits it into the foundation executor\n * before any section is composed — so no agent reads `method.md` Step 4 here. The decision to\n * keep the questions stands on the dossier, which is a real reader; the delivery path named\n * beside it was not.\n *\n * Both questions are deliberately ANSWERABLE IN PART. Every part of\n * `operatorComplianceIdentity` is independently declarable (#228), so a creator who knows the\n * registered name and not the lawful bases records the name — and Paul's decision (#225) is\n * explicit that filling the entity must never block. A question that demanded the whole thing\n * would reintroduce the blocking this lane just removed, one layer up.\n */\n {\n \"ref\": \"operating-entity\",\n \"question\": \"Which legal entity operates this service? Give the registered company name, its registered address, and the route a person uses to reach you about privacy (an email, a URL or a postal address). Answer only the parts you actually know today — anything you leave out is recorded as outstanding and nothing is blocked by it. Do NOT supply a placeholder or a plausible-looking value: a produced privacy notice quotes these as fact, and the address is what a person would use to serve a legal request on a real company.\",\n \"kind\": \"free_text\"\n },\n {\n \"ref\": \"operating-jurisdictions\",\n \"question\": \"Which jurisdictions does this application operate in, and why does each one reach it — are you established there, do you sell there, or do you hold data about people there? Use country codes (`fr`, `us`), the supranational `eu`, or a subdivision (`us-ca`). Answer \\\"not decided\\\" if the market is genuinely unsettled; an absent answer is read as unanswered, never as \\\"nowhere\\\".\",\n \"kind\": \"free_text\"\n },\n /*\n * The creator's PROVIDER choices (#1488). Which vendor an application charges or texts through is\n * a class-3 product decision — the field does not converge on one answer — so it is asked, as a\n * typed CHOICE, and the answer is kept in the dossier and read by the foundation executor, which\n * declares the provider, selects it as primary and enables the capability. The credentials the\n * provider needs are recorded as OWED on the run result: the boot floor reads declaration and\n * selection, never secrets, so the application boots and the provider answers once they are set.\n *\n * The OPTIONS are the engine providers serving the capability (ENGINE origin, backend scope), and\n * `foundation-executor.companion.service.test.ts` pins these authored lists to that derivation plus the\n * `none` member, so a vendor added to the catalogue fails the pin until it is offered here.\n *\n * `none` is an OPTION, not an absence: the elicitation contract refuses a run whose interview is not\n * fully answered, and a CHOICE accepts only its options, so \"decide later\" has to be sayable. It leaves\n * the capability owed exactly as before (#1272).\n */\n {\n \"ref\": \"billing-provider\",\n \"question\": \"Which billing provider should this application charge its users through? Answer `none` to decide later; the capability stays off until a provider is chosen.\",\n \"kind\": \"choice\",\n \"options\": [\"stripe\", \"none\"]\n },\n {\n \"ref\": \"sms-provider\",\n \"question\": \"Which SMS provider should this application send text messages through (phone verification, SMS second factor)? Answer `none` if the product sends no SMS, or to decide later.\",\n \"kind\": \"choice\",\n \"options\": [\"twilio\", \"none\"]\n }\n ]\n }\n },\n \"approval\": \"approve_result\",\n \"budget\": {\n \"maxRuns\": 3\n },\n \"onFailure\": \"keep_and_flag\"\n} as const;\n"]}
1
+ {"version":3,"file":"playbook.definition.js","sourceRoot":"","sources":["../../../../../src/playbooks/bottom_up.foundation/playbook.definition.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAC/B;IACE,KAAK,EAAE,sBAAsB;IAC7B,SAAS,EAAE,OAAO;IAClB,OAA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;;;mBAyBG;gBACH;oBACE,KAAK,EAAE,kBAAkB;oBACzB,UAAU,EAAE,ogBAAogB;oBAChhB,MAAM,EAAE,WAAW;oBACnB,OAAO,EAAE,WAAW;oBACpB,aAAa,EAAE,KAAK;oBACpB,iBAAiB,EAAE,IAAI;iBACxB;gBACD;oBACE,KAAK,EAAE,yBAAyB;oBAChC,UAAU,EAAE,6XAA6X;oBACzY,MAAM,EAAE,WAAW;oBACnB,OAAO,EAAE,WAAW;oBACpB,iBAAiB,EAAE,IAAI;iBACxB;gBACD;;;;;;;;;;;;;;;mBAeG;gBACH;oBACE,KAAK,EAAE,kBAAkB;oBACzB,UAAU,EAAE,8JAA8J;oBAC1K,MAAM,EAAE,QAAQ;oBAChB,SAAS,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC;oBAC7B,OAAO,EAAE,QAAQ;iBAClB;gBACD;oBACE,KAAK,EAAE,cAAc;oBACrB,UAAU,EAAE,+KAA+K;oBAC3L,MAAM,EAAE,QAAQ;oBAChB,SAAS,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC;oBAC7B,OAAO,EAAE,QAAQ;iBAClB;aACF;SACF;KACF;IACC,UAAU,EAAE,gBAAgB;IAC9B,QAAQ,EAAE;QACR,SAAS,EAAE,CAAC;KACb;IACD,WAAW,EAAE,eAAe;CACpB,CAAC","sourcesContent":["/**\n * Canonical native declaration for this reusable application-creation method.\n *\n * The structured method remains intentionally rich: its intent, inputs, output\n * contracts, elicitation, deterministic verification and skill routing are the\n * application knowledge a later generic assessment loop composes. This source\n * intentionally omits the superseded per-playbook evaluation-treatment object;\n * generation records that absence rather than fabricating legacy judge behavior.\n */\nexport const playbookDefinition =\n{\n \"ref\": \"bottom_up.foundation\",\n \"version\": \"0.2.5\",\n \"phase\": \"bottom_up\",\n \"intent\": \"Bottom-up foundation \\u2014 turn the approved domain plan and top-down definitions into a configured, bootable application skeleton. For a fresh application, use wildo init in an empty destination before refining its generated configuration; preserve existing projects and use their repair/composition paths. Author capabilities, modules and providers from the approved plan, verify application knowledge delivery (wildo assets sync refreshes installed assets), then run wildo setup --non-interactive and wildo local init with their prerequisites. These tools exist; their successful invocation and postconditions must be observed in the current run. The registered foundation executor composes module/resource shells and tenancy configuration; it does not run this full init/assets/setup sequence. This methodology states the prerequisites and postconditions to fulfil around that execution. It emits no artifact: the deliverable is the application source, configured module registrations and verified initialization. Record the reasons for configuration choices beside those choices. Runs after the domain plan is approved in the bottom_up phase; business resource implementation belongs to the later build work.\",\n \"preconditions\": [\n { \"kind\": \"artifact_exists\", \"selector\": { \"family\": \"domain-plan\" } },\n /*\n * SEQUENCING, not readiness (#1434). `artifact_exists` asserts this playbook needs the vision's\n * CONTENT, and it does not read a word of it: the run short-circuits into the foundation\n * executor before any brief is composed, and the executor reads the domain plan and the landed\n * business model. The audit rule that reports a readiness gate whose family is undeclared named\n * both remedies — declare it, or weaken the gate \"if the order is all that matters\" — and here\n * the order is all that matters.\n *\n * Nothing is lost by weakening it. The vision is enforced TRANSITIVELY and harder than this gate\n * ever did: `top_down.market-snapshot-produce` and `top_down.requirements-definition` both gate\n * on `vision-brief` at readiness, and `bottom_up.domain-plan` gates on both of those — so an\n * approved domain plan, which this playbook DOES require at readiness, cannot exist without one.\n */\n { \"kind\": \"artifact_expected\", \"selector\": { \"family\": \"vision-brief\" } },\n /*\n * CONTENT, not sequencing — and this gate is why (#1544).\n *\n * `appendBackgroundExecutionScenarios` composes one `add-worker-node` / `add-worker-rust` /\n * `add-minion` per surface the INTEGRATION PLAN declares, deriving every variable from that\n * declaration. It reads the plan leniently on purpose: absent or unparseable means the\n * application declares nothing to run beside its backend, which is the ordinary case. That\n * leniency is correct and stays — what it cannot do is tell \"declares nothing\" from \"has not\n * been produced yet\", and both come back as silence.\n *\n * Measured on the first end-to-end run: this playbook ran at 06:58:03 and concluded three\n * seconds later; `bottom_up.integration-plan` started at 06:58:47 — 44 seconds AFTER — and\n * declared one minion, `minion-compose-weekly-team-digest`. Nothing was composed. The build\n * decomposer then emitted `build-task-weekly-digest-minion` against a package that no step\n * would ever create, and nine hours later there was still no `minions/` directory and\n * `applicationMinions = {}`.\n *\n * `artifact_exists` rather than `artifact_expected`, by the distinction the vision gate above\n * draws: this playbook reads the plan's CONTENT, not merely its position in the order.\n *\n * Safe to gate on. The integration-plan playbook produces a plan for every application,\n * `workers: []` and `minions: []` included — an application with no background execution is a\n * plan that says so, not an absent one. So this cannot make the foundation permanently\n * ineligible; it can only hold it until the answer exists.\n */\n { \"kind\": \"artifact_exists\", \"selector\": { \"family\": \"integration-plan\" } },\n /*\n * The same gate for the same reason, one input over. `capability-composition` decides which\n * scenarios are NEEDED — the loop above it throws when a scenario is marked needed and the\n * foundation has no invocation for it — so composing before it lands composes from an empty\n * decision set, silently and with the same shape. Not measured failing; gated because it is the\n * same invariant at its other site (`invariant-call-site-enumeration.md`).\n */\n { \"kind\": \"artifact_exists\", \"selector\": { \"family\": \"capability-composition\" } }\n ],\n /*\n * TWO, measured rather than aspirational (#1434) — THREE since #1491, see the third entry.\n *\n * This playbook does not compose a brief at all: `executePlaybookRun` short-circuits it into the\n * foundation executor before any section is composed, so a declared input reaches no model. The\n * executor reads the domain plan (handed to it) and the landed business model (read itself), and\n * derives the three capabilities that are derivable from those two values.\n *\n * `vision-brief`, `market-snapshot`, `requirements` and `roadmap` were declared and reached\n * nothing — while the method told a reader that the vision's compliance constraints were \"the\n * primary driver of capability selection\". A declaration nothing reads is a promise nothing\n * keeps, and four of the six were exactly that.\n *\n * `vision-brief` stays a PRECONDITION, which is a different statement: the foundation must not run\n * before a vision exists, and that gate is real whether or not anything reads its content here.\n */\n \"inputs\": [\n { \"family\": \"domain-plan\" },\n { \"family\": \"business-model\" },\n /*\n * THIRD, since #1491: which optional packages (the website, the documentation portal) this\n * application needs, decided by `bottom_up.capability-composition` and applied here after the\n * domain scenarios. An INPUT, not a precondition, for the same reason as the business model: a\n * foundation run with no composition yet composes the domain and applies no optional package,\n * and the executor reads it through the `capabilityComposition` slot rather than a brief.\n */\n { \"family\": \"capability-composition\" },\n /*\n * FOURTH, since #1495: what runs beside the backend. The executor fans one `add-worker-node`,\n * `add-worker-rust` or `add-minion` out of this plan per surface it declares — the same shape as\n * the module and resource fan-out, and an INPUT for the same reason as the two above: a run with\n * no integration plan composes no background package, and a plan landing later re-stales this\n * step rather than gating it.\n */\n { \"family\": \"integration-plan\" }\n ],\n \"outputs\": [],\n \"method\": {\n \"skillRefs\": [\n \"config-saas\",\n \"module-registration\",\n \"infra-environment-config\",\n \"local-environment-bootstrap\",\n \"application-database-migrations\"\n ],\n \"elicitation\": {\n \"questions\": [\n /*\n * THE FALLBACK, since 2026-08-28. `bottom_up.domain-plan` now asks this and carries the\n * answer in the committed plan (`DomainPlanOutputSet.tenancy`), because the plan MODELS\n * tenancy — wonder-crm's invented a workspace module and a membership before anyone was\n * asked — so asking after the model is shaped lets a second answer contradict it.\n *\n * The executor reads the plan first and reaches this question only for a plan authored\n * before the field existed. Keep it: those plans are real (wonder-crm, wonder-todos) and\n * must stay composable.\n */\n {\n \"ref\": \"primary-scope\",\n \"question\": \"Do people use this application together, in shared workspaces or teams, or does each person only see their own data? Choose organizations if they work together, users if each person's data is their own.\",\n \"kind\": \"choice\",\n \"options\": [\"organizations\", \"users\"],\n \"depth\": \"essential\",\n /*\n * ONE decision, asked once (#1454, gap 4): the domain plan's tenancy question owns it, and\n * this fallback reads that answer. The dossier listed the two as separate open questions,\n * worded differently, for the same choice.\n */\n \"sameDecisionAs\": { \"playbookRef\": \"bottom_up.domain-plan\", \"questionRef\": \"tenancy\" }\n },\n /*\n * The operator's own legal identity (issue #235), asked HERE because this is the playbook that\n * writes `wildo.saas.config.ts` and already carries the `config-saas` skill — an answer\n * elicited anywhere else would have nowhere to land, since a companion-agent playbook produces\n * an artifact and writes no files.\n *\n * KEPT on 2026-09-22 (#1454, Step 5), after \"bind them to the typed config keys, or stop\n * asking\" was weighed. The executor reads neither answer — it reads only `primary-scope` —\n * and the questions are nonetheless the elicitation path into a typed, committed key, which\n * is what `compliance-is-derived-from-the-product.md` rule 2 asks for (never a form that\n * stays a form). What changed is where the answers LIVE: the DOSSIER keeps them, so they are\n * asked once and read by every run that needs them.\n *\n * CORRECTED 2026-09-22 (#1434), same day: that reasoning originally said \"this is a\n * CODING-AGENT playbook, and the agent's brief carries the rendered interview\". This playbook\n * composes NO BRIEF — `executePlaybookRun` short-circuits it into the foundation executor\n * before any section is composed — so no agent reads `method.md` Step 4 here. The decision to\n * keep the questions stands on the dossier, which is a real reader; the delivery path named\n * beside it was not.\n *\n * Both questions are deliberately ANSWERABLE IN PART. Every part of\n * `operatorComplianceIdentity` is independently declarable (#228), so a creator who knows the\n * registered name and not the lawful bases records the name — and Paul's decision (#225) is\n * explicit that filling the entity must never block. A question that demanded the whole thing\n * would reintroduce the blocking this lane just removed, one layer up.\n */\n {\n \"ref\": \"operating-entity\",\n \"question\": \"Which legal entity operates this service? Give the registered company name, its registered address, and the route a person uses to reach you about privacy (an email, a URL or a postal address). Answer only the parts you actually know today — anything you leave out is recorded as outstanding and nothing is blocked by it. Do NOT supply a placeholder or a plausible-looking value: a produced privacy notice quotes these as fact, and the address is what a person would use to serve a legal request on a real company.\",\n \"kind\": \"free_text\",\n \"depth\": \"essential\",\n \"whenUnknown\": \"ask\",\n \"regulatedDomain\": true\n },\n {\n \"ref\": \"operating-jurisdictions\",\n \"question\": \"Which jurisdictions does this application operate in, and why does each one reach it — are you established there, do you sell there, or do you hold data about people there? Use country codes (`fr`, `us`), the supranational `eu`, or a subdivision (`us-ca`). Answer \\\"not decided\\\" if the market is genuinely unsettled; an absent answer is read as unanswered, never as \\\"nowhere\\\".\",\n \"kind\": \"free_text\",\n \"depth\": \"essential\",\n \"regulatedDomain\": true\n },\n /*\n * The creator's PROVIDER choices (#1488). Which vendor an application charges or texts through is\n * a class-3 product decision — the field does not converge on one answer — so it is asked, as a\n * typed CHOICE, and the answer is kept in the dossier and read by the foundation executor, which\n * declares the provider, selects it as primary and enables the capability. The credentials the\n * provider needs are recorded as OWED on the run result: the boot floor reads declaration and\n * selection, never secrets, so the application boots and the provider answers once they are set.\n *\n * The OPTIONS are the engine providers serving the capability (ENGINE origin, backend scope), and\n * `foundation-executor.companion.service.test.ts` pins these authored lists to that derivation plus the\n * `none` member, so a vendor added to the catalogue fails the pin until it is offered here.\n *\n * `none` is an OPTION, not an absence: the elicitation contract refuses a run whose interview is not\n * fully answered, and a CHOICE accepts only its options, so \"decide later\" has to be sayable. It leaves\n * the capability owed exactly as before (#1272).\n */\n {\n \"ref\": \"billing-provider\",\n \"question\": \"Which billing provider should this application charge its users through? Answer `none` to decide later; the capability stays off until a provider is chosen.\",\n \"kind\": \"choice\",\n \"options\": [\"stripe\", \"none\"],\n \"depth\": \"detail\"\n },\n {\n \"ref\": \"sms-provider\",\n \"question\": \"Which SMS provider should this application send text messages through (phone verification, SMS second factor)? Answer `none` if the product sends no SMS, or to decide later.\",\n \"kind\": \"choice\",\n \"options\": [\"twilio\", \"none\"],\n \"depth\": \"detail\"\n }\n ]\n }\n },\n \"approval\": \"approve_result\",\n \"budget\": {\n \"maxRuns\": 3\n },\n \"onFailure\": \"keep_and_flag\"\n} as const;\n"]}
@@ -7,9 +7,9 @@
7
7
  */
8
8
  export declare const playbookDefinition: {
9
9
  readonly ref: "bottom_up.placement-plan";
10
- readonly version: "0.1.0";
10
+ readonly version: "0.1.4";
11
11
  readonly phase: "bottom_up";
12
- readonly intent: "Decide WHERE every settings destination, resource operation and application view sits in the application shell, and WHY. Reads the domain plan (the modules, their resources and what they mean) and the requirements (which tasks matter), and produces a PLACEMENT PLAN: for each subject, either a PLACED decision naming one surface (the settings hub rail, the sidebar, the user menu, the command palette) and its address on that surface, or an explicit DECLINED decision with a reason. Both carry a rationale. It also declares the GROUPS that should exist on the grouped surfaces (settings rail categories, sidebar sections) with the product purpose behind each, which is what grounds their generated labels in authored intent instead of filler. This playbook DECIDES placement; it does NOT author configuration — turning a decision into `frontend/src/config/settings-hub.config.ts` and `app-shell.config.ts` is a coding task the build lane dispatches through the `settings-placement-authoring` skill. It runs BEFORE build-decompose, which consumes the plan and emits those tasks — the reverse order would be a cycle, since build-decompose is what produces the build plan. It writes no TypeScript, invents no destination refs, and authors no labels. It exists because the alternative is the framework defaulting placement, which is what made an application's settings rail unauthorable: nothing is placed implicitly, so a subject nobody decided about is a visible coverage gap rather than a silent framework default.";
12
+ readonly intent: "Decide WHERE every settings destination, resource operation and application view sits in the application shell, and WHY. Reads the domain plan (the modules, their resources and what they mean), the requirements (which tasks matter), the customer profile (who the customers are, which decides whether an enterprise destination belongs at all) and what the creator stated about the user groups, and produces a PLACEMENT PLAN: for each subject, either a PLACED decision naming one surface (the settings hub rail, the sidebar, the user menu, the command palette) and its address on that surface, or an explicit DECLINED decision with a reason. Both carry a rationale. It also declares the GROUPS that should exist on the grouped surfaces (settings rail categories, sidebar sections) with the product purpose behind each, which is what grounds their generated labels in authored intent instead of filler. This playbook DECIDES placement; it does NOT author configuration — turning a decision into `frontend/src/config/settings-hub.config.ts` and `app-shell.config.ts` is a coding task the build lane dispatches, through the `settings-placement-authoring` skill for the settings rail and the `config-app-shell` skill for the sidebar, command palette and user menu. A sidebar group or a sidebar or palette decision may name the roles it is shown to (`visibleToRoles`), when one audience only opens it. It runs BEFORE build-decompose, which consumes the plan and emits those tasks — the reverse order would be a cycle, since build-decompose is what produces the build plan. It writes no TypeScript, invents no destination refs, and authors no labels. It exists because the alternative is the framework defaulting placement, which is what made an application's settings rail unauthorable: nothing is placed implicitly, so a subject nobody decided about is a visible coverage gap rather than a silent framework default.";
13
13
  readonly preconditions: readonly [{
14
14
  readonly kind: "artifact_exists";
15
15
  readonly selector: {
@@ -20,6 +20,13 @@ export declare const playbookDefinition: {
20
20
  readonly family: "domain-plan";
21
21
  }, {
22
22
  readonly family: "requirements";
23
+ }, {
24
+ readonly family: "market-snapshot";
25
+ readonly aspects: readonly ["market.icp", "market.persona"];
26
+ readonly "//": "The customer profile the fit test reads (#2502): company size, the tools they run, their technical staff. Without it one run declined single sign-on for a five-person trade firm and another, from the same inputs, placed it.";
27
+ }, {
28
+ readonly family: "vision-brief";
29
+ readonly "//": "What the product is and who it serves, which a placement must fit.";
23
30
  }];
24
31
  readonly outputs: readonly [{
25
32
  readonly family: "placement-plan";
@@ -28,7 +35,9 @@ export declare const playbookDefinition: {
28
35
  }];
29
36
  readonly method: {
30
37
  readonly "//contextSources": "WORKSPACE_TRUTH — placement is decided against what EXISTS: the real engine settings destinations, the real resources and their operations, and the shell surfaces the application already has. A planner working from the definition artifacts alone invents destination refs that resolve to nothing, and every decision it emits is unplaceable.";
31
- readonly contextSources: readonly ["workspace_truth"];
38
+ readonly "//contextSources2502": "CREATOR_STATED_FACTS — the user groups and the devices they use, which order the sidebar for the group that opens it most (#2502).";
39
+ readonly "//contextSources2502b": "APPLICATION_ENABLED_SURFACE — what the configuration switches on (capabilities, billing, sign-in methods), the capability leg of the fit test, dated by the configuration so a placement is offered again when SSO or billing is switched on (#2502).";
40
+ readonly contextSources: readonly ["workspace_truth", "creator_stated_facts", "application_enabled_surface"];
32
41
  readonly skillRefs: readonly ["settings-placement-authoring", "config-app-shell", "config-navigation"];
33
42
  readonly "//deliberation": "Placement is DECIDED BY A PANEL, not elicited from the creator: the arrangement that is right for an application has several defensible answers, and the creator is the person least equipped to choose between them before the app exists. The information-architect OWNS the domain (so it derives the rubric); the design-system-guardian sits as the coherence memory, because where a thing goes must not fork the pattern the shipped surfaces already taught users. Three candidates, because the criteria trade off against each other — first-run discoverability, the daily-use path, and category convention pull in different directions and a single pass silently picks one.";
34
43
  readonly deliberation: {
@@ -1 +1 @@
1
- {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../../src/playbooks/bottom_up.placement-plan/playbook.definition.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2CrB,CAAC"}
1
+ {"version":3,"file":"playbook.definition.d.ts","sourceRoot":"","sources":["../../../../src/playbooks/bottom_up.placement-plan/playbook.definition.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+CrB,CAAC"}
@@ -7,15 +7,17 @@
7
7
  */
8
8
  export const playbookDefinition = {
9
9
  "ref": "bottom_up.placement-plan",
10
- "version": "0.1.0",
10
+ "version": "0.1.4",
11
11
  "phase": "bottom_up",
12
- "intent": "Decide WHERE every settings destination, resource operation and application view sits in the application shell, and WHY. Reads the domain plan (the modules, their resources and what they mean) and the requirements (which tasks matter), and produces a PLACEMENT PLAN: for each subject, either a PLACED decision naming one surface (the settings hub rail, the sidebar, the user menu, the command palette) and its address on that surface, or an explicit DECLINED decision with a reason. Both carry a rationale. It also declares the GROUPS that should exist on the grouped surfaces (settings rail categories, sidebar sections) with the product purpose behind each, which is what grounds their generated labels in authored intent instead of filler. This playbook DECIDES placement; it does NOT author configuration — turning a decision into `frontend/src/config/settings-hub.config.ts` and `app-shell.config.ts` is a coding task the build lane dispatches through the `settings-placement-authoring` skill. It runs BEFORE build-decompose, which consumes the plan and emits those tasks — the reverse order would be a cycle, since build-decompose is what produces the build plan. It writes no TypeScript, invents no destination refs, and authors no labels. It exists because the alternative is the framework defaulting placement, which is what made an application's settings rail unauthorable: nothing is placed implicitly, so a subject nobody decided about is a visible coverage gap rather than a silent framework default.",
12
+ "intent": "Decide WHERE every settings destination, resource operation and application view sits in the application shell, and WHY. Reads the domain plan (the modules, their resources and what they mean), the requirements (which tasks matter), the customer profile (who the customers are, which decides whether an enterprise destination belongs at all) and what the creator stated about the user groups, and produces a PLACEMENT PLAN: for each subject, either a PLACED decision naming one surface (the settings hub rail, the sidebar, the user menu, the command palette) and its address on that surface, or an explicit DECLINED decision with a reason. Both carry a rationale. It also declares the GROUPS that should exist on the grouped surfaces (settings rail categories, sidebar sections) with the product purpose behind each, which is what grounds their generated labels in authored intent instead of filler. This playbook DECIDES placement; it does NOT author configuration — turning a decision into `frontend/src/config/settings-hub.config.ts` and `app-shell.config.ts` is a coding task the build lane dispatches, through the `settings-placement-authoring` skill for the settings rail and the `config-app-shell` skill for the sidebar, command palette and user menu. A sidebar group or a sidebar or palette decision may name the roles it is shown to (`visibleToRoles`), when one audience only opens it. It runs BEFORE build-decompose, which consumes the plan and emits those tasks — the reverse order would be a cycle, since build-decompose is what produces the build plan. It writes no TypeScript, invents no destination refs, and authors no labels. It exists because the alternative is the framework defaulting placement, which is what made an application's settings rail unauthorable: nothing is placed implicitly, so a subject nobody decided about is a visible coverage gap rather than a silent framework default.",
13
13
  "preconditions": [
14
14
  { "kind": "artifact_exists", "selector": { "family": "domain-plan" } }
15
15
  ],
16
16
  "inputs": [
17
17
  { "family": "domain-plan" },
18
- { "family": "requirements" }
18
+ { "family": "requirements" },
19
+ { "family": "market-snapshot", "aspects": ["market.icp", "market.persona"], "//": "The customer profile the fit test reads (#2502): company size, the tools they run, their technical staff. Without it one run declined single sign-on for a five-person trade firm and another, from the same inputs, placed it." },
20
+ { "family": "vision-brief", "//": "What the product is and who it serves, which a placement must fit." }
19
21
  ],
20
22
  "outputs": [
21
23
  {
@@ -26,7 +28,9 @@ export const playbookDefinition = {
26
28
  ],
27
29
  "method": {
28
30
  "//contextSources": "WORKSPACE_TRUTH — placement is decided against what EXISTS: the real engine settings destinations, the real resources and their operations, and the shell surfaces the application already has. A planner working from the definition artifacts alone invents destination refs that resolve to nothing, and every decision it emits is unplaceable.",
29
- "contextSources": ["workspace_truth"],
31
+ "//contextSources2502": "CREATOR_STATED_FACTS — the user groups and the devices they use, which order the sidebar for the group that opens it most (#2502).",
32
+ "//contextSources2502b": "APPLICATION_ENABLED_SURFACE — what the configuration switches on (capabilities, billing, sign-in methods), the capability leg of the fit test, dated by the configuration so a placement is offered again when SSO or billing is switched on (#2502).",
33
+ "contextSources": ["workspace_truth", "creator_stated_facts", "application_enabled_surface"],
30
34
  "skillRefs": [
31
35
  "settings-placement-authoring",
32
36
  "config-app-shell",