whiteport-design-studio 0.2.2 → 0.3.0

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 (582) hide show
  1. package/README.md +51 -67
  2. package/docs/getting-started/agent-activation/activation/step-01-load-agent-definition.md +0 -1
  3. package/docs/getting-started/agent-activation/activation/step-04-handoff-presentation.md +0 -1
  4. package/docs/getting-started/installation.md +1 -1
  5. package/docs/getting-started/quick-start.md +1 -1
  6. package/docs/getting-started/where-to-go-next.md +8 -8
  7. package/docs/learn/00-course-overview/00-course-overview.md +239 -0
  8. package/docs/{learn-wds → learn}/00-course-overview/00-getting-started-overview.md +1 -1
  9. package/docs/{learn-wds → learn}/00-course-overview/01-prerequisites.md +2 -2
  10. package/docs/{learn-wds → learn}/00-course-overview/02-learning-paths.md +6 -6
  11. package/docs/{learn-wds → learn}/00-course-overview/03-support.md +1 -1
  12. package/docs/{learn-wds → learn}/Webinars/2024-12-22-WDS-Sessions-1-Say-Hello-to-WDS.md +2 -2
  13. package/docs/{learn-wds → learn}/Webinars/2025-10-22-Webinar-WDS-v4.md +1 -1
  14. package/docs/{learn-wds → learn}/Webinars/2026-01-15-WDS-Sessions-2-Strategy-in-Practice.md +2 -2
  15. package/docs/{learn-wds → learn}/module-01-why-wds-matters/lesson-01-the-problem.md +4 -2
  16. package/docs/learn/module-01-why-wds-matters/lesson-02-designer-as-strategic-thinker.md +483 -0
  17. package/docs/{learn-wds/module-01-why-wds-matters/lesson-02-the-solution.md → learn/module-01-why-wds-matters/lesson-03-the-solution.md} +5 -3
  18. package/docs/{learn-wds/module-01-why-wds-matters/lesson-03-the-path-forward.md → learn/module-01-why-wds-matters/lesson-04-the-path-forward.md} +9 -6
  19. package/docs/{learn-wds → learn}/module-01-why-wds-matters/module-01-overview.md +22 -4
  20. package/docs/{learn-wds/module-02-installation-setup/lesson-01-git-setup/01-lesson.md → learn/module-02-installation-setup/lesson-01-git-setup.md} +12 -11
  21. package/docs/{learn-wds/module-02-installation-setup/lesson-02-ide-installation/02-lesson.md → learn/module-02-installation-setup/lesson-02-ide-installation.md} +8 -7
  22. package/docs/{learn-wds/module-02-installation-setup/lesson-03-git-cloning/02-full-lesson.md → learn/module-02-installation-setup/lesson-03-git-cloning.md} +10 -9
  23. package/docs/learn/module-02-installation-setup/lesson-04-wds-initialization.md +133 -0
  24. package/docs/learn/module-02-installation-setup/module-02-overview.md +59 -0
  25. package/docs/learn/module-02-installation-setup/tutorial-02.md +158 -0
  26. package/docs/{learn-wds → learn}/module-03-alignment-signoff/lesson-01-understanding-alignment.md +6 -2
  27. package/docs/{learn-wds → learn}/module-03-alignment-signoff/lesson-02-creating-alignment-document.md +5 -1
  28. package/docs/{learn-wds → learn}/module-03-alignment-signoff/lesson-03-negotiation-acceptance.md +6 -2
  29. package/docs/{learn-wds → learn}/module-03-alignment-signoff/lesson-04-external-contracts.md +7 -3
  30. package/docs/{learn-wds → learn}/module-03-alignment-signoff/lesson-05-internal-signoff.md +7 -3
  31. package/docs/{learn-wds → learn}/module-03-alignment-signoff/module-03-overview.md +4 -4
  32. package/docs/{learn-wds → learn}/module-03-alignment-signoff/tutorial-03.md +7 -7
  33. package/docs/{learn-wds → learn}/module-04-product-brief/lesson-01-chaos-problem.md +2 -0
  34. package/docs/{learn-wds → learn}/module-04-product-brief/lesson-02-five-questions.md +2 -0
  35. package/docs/{learn-wds → learn}/module-04-product-brief/lesson-03-document-structure.md +3 -1
  36. package/docs/{learn-wds → learn}/module-04-product-brief/lesson-04-wds-advantage.md +4 -2
  37. package/docs/{learn-wds → learn}/module-04-product-brief/lesson-05-using-brief.md +2 -0
  38. package/docs/{learn-wds → learn}/module-04-product-brief/lesson-06-additional-documents.md +3 -1
  39. package/docs/{learn-wds → learn}/module-04-product-brief/module-04-overview.md +4 -4
  40. package/docs/{learn-wds → learn}/module-04-product-brief/tutorial-04.md +10 -8
  41. package/docs/learn/module-05-platform-requirements/lesson-01-why-boundaries-matter.md +232 -0
  42. package/docs/learn/module-05-platform-requirements/lesson-02-defining-platform-requirements.md +416 -0
  43. package/docs/learn/module-05-platform-requirements/module-05-platform-requirements-overview.md +186 -0
  44. package/docs/learn/module-05-platform-requirements/tutorial-05.md +377 -0
  45. package/docs/{learn-wds/module-05-trigger-mapping → learn/module-06-trigger-mapping}/lesson-01-missing-link.md +7 -4
  46. package/docs/{learn-wds/module-05-trigger-mapping → learn/module-06-trigger-mapping}/lesson-02-heritage-evolution.md +20 -42
  47. package/docs/{learn-wds/module-05-trigger-mapping → learn/module-06-trigger-mapping}/lesson-03-five-workshops-overview.md +7 -5
  48. package/docs/learn/module-06-trigger-mapping/lesson-04-workshop-1-business-goals.md +319 -0
  49. package/docs/learn/module-06-trigger-mapping/lesson-05-workshop-2-target-groups.md +557 -0
  50. package/docs/{learn-wds/module-05-trigger-mapping → learn/module-06-trigger-mapping}/lesson-06-workshop-3-driving-forces.md +120 -83
  51. package/docs/learn/module-06-trigger-mapping/lesson-07-workshop-4-prioritization.md +373 -0
  52. package/docs/learn/module-06-trigger-mapping/lesson-08-workshop-5-feature-impact.md +543 -0
  53. package/docs/learn/module-06-trigger-mapping/lesson-09-positive-negative-drivers.md +507 -0
  54. package/docs/{learn-wds/module-05-trigger-mapping → learn/module-06-trigger-mapping}/lesson-10-visual-trigger-map.md +6 -4
  55. package/docs/{learn-wds/module-05-trigger-mapping → learn/module-06-trigger-mapping}/lesson-11-feature-impact-scoring.md +5 -3
  56. package/docs/{learn-wds/module-05-trigger-mapping/module-05-overview.md → learn/module-06-trigger-mapping/module-06-overview.md} +8 -20
  57. package/docs/{learn-wds/module-05-trigger-mapping/tutorial-05.md → learn/module-06-trigger-mapping/tutorial-06.md} +14 -12
  58. package/docs/{learn-wds/module-05-trigger-mapping/tutorial-05c-documentation-synthesis.md → learn/module-06-trigger-mapping/tutorial-06c-documentation-synthesis.md} +11 -9
  59. package/docs/learn/module-07-design-phase/lesson-01-entering-design.md +251 -0
  60. package/docs/learn/module-07-design-phase/lesson-02-why-specifications-matter.md +836 -0
  61. package/docs/learn/module-07-design-phase/lesson-03-meet-freya.md +200 -0
  62. package/docs/learn/module-07-design-phase/module-07-design-phase-overview.md +148 -0
  63. package/docs/learn/module-08-outline-scenarios/lesson-01-design-experiences-not-screens.md +559 -0
  64. package/docs/learn/module-08-outline-scenarios/lesson-02-from-trigger-map-to-scenarios.md +667 -0
  65. package/docs/learn/module-08-outline-scenarios/lesson-03-mapping-the-journey.md +347 -0
  66. package/docs/learn/module-08-outline-scenarios/module-08-outline-scenarios-overview.md +298 -0
  67. package/docs/learn/module-08-outline-scenarios/tutorial-08.md +397 -0
  68. package/docs/learn/module-09-conceptual-sketching/lesson-01-visualize-first.md +286 -0
  69. package/docs/learn/module-09-conceptual-sketching/lesson-02-sketching-techniques.md +270 -0
  70. package/docs/learn/module-09-conceptual-sketching/lesson-03-why-hand-sketching.md +250 -0
  71. package/docs/learn/module-09-conceptual-sketching/lesson-04-image-sketching-best-practices.md +272 -0
  72. package/docs/learn/module-09-conceptual-sketching/lesson-05-sketch-text-strategy.md +509 -0
  73. package/docs/learn/module-09-conceptual-sketching/lesson-06-ai-wireframe-generation.md +211 -0
  74. package/docs/learn/module-09-conceptual-sketching/module-09-conceptual-sketching-overview.md +243 -0
  75. package/docs/learn/module-09-conceptual-sketching/tutorial-09.md +381 -0
  76. package/docs/learn/module-10-storyboarding/lesson-01-transformations.md +392 -0
  77. package/docs/learn/module-10-storyboarding/lesson-02-storyboard-format.md +410 -0
  78. package/docs/learn/module-10-storyboarding/module-10-storyboarding-overview.md +290 -0
  79. package/docs/learn/module-10-storyboarding/tutorial-10.md +405 -0
  80. package/docs/learn/module-11-conceptual-specifications/lesson-01-design-is-specification.md +593 -0
  81. package/docs/learn/module-11-conceptual-specifications/lesson-02-section-widget-specifications.md +704 -0
  82. package/docs/learn/module-11-conceptual-specifications/lesson-03-element-state-specifications.md +950 -0
  83. package/docs/learn/module-11-conceptual-specifications/lesson-04-spacing-objects.md +192 -0
  84. package/docs/learn/module-11-conceptual-specifications/lesson-05-typography-tokens.md +157 -0
  85. package/docs/learn/module-11-conceptual-specifications/module-11-conceptual-specifications-overview.md +497 -0
  86. package/docs/learn/module-11-conceptual-specifications/storyboards/password-field.md +32 -0
  87. package/docs/learn/module-11-conceptual-specifications/storyboards/submit-button.md +26 -0
  88. package/docs/learn/module-11-conceptual-specifications/tutorial-11.md +509 -0
  89. package/docs/learn/module-12-functional-components/components/button.md +41 -0
  90. package/docs/learn/module-12-functional-components/components/card.md +40 -0
  91. package/docs/learn/module-12-functional-components/components/input.md +42 -0
  92. package/docs/learn/module-12-functional-components/lesson-01-patterns-emerge.md +263 -0
  93. package/docs/learn/module-12-functional-components/lesson-02-component-anatomy.md +332 -0
  94. package/docs/learn/module-12-functional-components/module-12-functional-components-overview.md +384 -0
  95. package/docs/learn/module-12-functional-components/tutorial-12.md +405 -0
  96. package/docs/learn/module-13-design-system/lesson-01-understanding-modes.md +274 -0
  97. package/docs/learn/module-13-design-system/module-13-design-system-overview.md +157 -0
  98. package/docs/learn/module-13-design-system/tutorial-13.md +344 -0
  99. package/docs/learn/module-14-agentic-development/lesson-01-iterative-building.md +182 -0
  100. package/docs/learn/module-14-agentic-development/lesson-02-documenting-decisions.md +188 -0
  101. package/docs/learn/module-14-agentic-development/lesson-03-when-you-get-stuck.md +213 -0
  102. package/docs/learn/module-14-agentic-development/lesson-04-working-with-code.md +304 -0
  103. package/docs/learn/module-14-agentic-development/lesson-05-git-discipline.md +349 -0
  104. package/docs/learn/module-14-agentic-development/module-14-agentic-development-overview.md +249 -0
  105. package/docs/learn/module-14-agentic-development/tutorial-14.md +339 -0
  106. package/docs/learn/module-15-visual-design/lesson-01-making-it-visible.md +216 -0
  107. package/docs/learn/module-15-visual-design/lesson-02-visual-techniques.md +334 -0
  108. package/docs/learn/module-15-visual-design/module-15-visual-design-overview.md +338 -0
  109. package/docs/learn/module-15-visual-design/tutorial-15.md +377 -0
  110. package/docs/learn/module-16-design-delivery/lesson-01-validation-packaging.md +340 -0
  111. package/docs/learn/module-16-design-delivery/module-16-design-delivery-overview.md +178 -0
  112. package/docs/learn/module-16-design-delivery/tutorial-16.md +411 -0
  113. package/docs/learn/module-17-usability-testing/lesson-01-spec-verification.md +243 -0
  114. package/docs/learn/module-17-usability-testing/lesson-02-test-results.md +240 -0
  115. package/docs/learn/module-17-usability-testing/lesson-03-acting-on-findings.md +253 -0
  116. package/docs/learn/module-17-usability-testing/module-17-usability-testing-overview.md +231 -0
  117. package/docs/learn/module-17-usability-testing/tutorial-17.md +301 -0
  118. package/docs/learn/module-18-product-evolution/lesson-01-continuous-improvement.md +255 -0
  119. package/docs/learn/module-18-product-evolution/lesson-02-update-spec-project-code.md +229 -0
  120. package/docs/learn/module-18-product-evolution/module-18-product-evolution-overview.md +253 -0
  121. package/docs/learn/module-18-product-evolution/tutorial-18.md +293 -0
  122. package/docs/learn/widgets/W01-task-list.md +31 -0
  123. package/docs/learn/widgets/W02-calendar.md +31 -0
  124. package/docs/learn/widgets/W02-product-card.md +31 -0
  125. package/docs/learn/widgets/W03-quick-add.md +31 -0
  126. package/docs/method/content-creation-philosophy.md +3 -3
  127. package/docs/method/content-purpose-guide.md +4 -4
  128. package/docs/method/phase-1-product-exploration-guide.md +36 -9
  129. package/docs/method/phase-2-trigger-mapping-guide.md +44 -2
  130. package/docs/method/phase-3-prd-platform-guide.md +3 -282
  131. package/docs/method/phase-3-ux-scenarios-guide.md +193 -0
  132. package/docs/method/phase-4-ux-design-guide.md +146 -158
  133. package/docs/method/value-trigger-chain-guide.md +6 -469
  134. package/docs/method/wds-method-guide.md +139 -129
  135. package/docs/models/action-mapping.md +1 -1
  136. package/docs/models/customer-awareness-cycle.md +1 -15
  137. package/docs/models/golden-circle.md +2 -3
  138. package/docs/models/impact-effect-mapping.md +5 -6
  139. package/docs/models/kathy-sierra-badass-users.md +1 -1
  140. package/docs/models/models-guide.md +1 -2
  141. package/docs/models/smart-goals-model.md +2 -2
  142. package/docs/tools/excalidraw.md +384 -0
  143. package/docs/tools/wds-tools-guide.md +16 -8
  144. package/package.json +2 -2
  145. package/src/agents/freya-ux.agent.yaml +16 -15
  146. package/src/agents/saga-analyst.agent.yaml +11 -0
  147. package/src/data/agent-guides/freya/agentic-development.md +26 -27
  148. package/src/data/agent-guides/freya/content-creation.md +7 -7
  149. package/src/data/agent-guides/freya/strategic-design.md +4 -6
  150. package/src/data/agent-guides/saga/discovery-conversation.md +20 -0
  151. package/src/data/agent-guides/saga/dream-up-approach.md +132 -7
  152. package/src/data/agent-guides/saga/strategic-documentation.md +4 -6
  153. package/src/data/agent-guides/saga/trigger-mapping.md +7 -7
  154. package/src/data/presentations/freya-presentation.md +1 -1
  155. package/src/data/presentations/freya-workflows-guide.md +1 -1
  156. package/src/data/presentations/idunn-presentation.md +1 -1
  157. package/src/data/presentations/saga-presentation.md +1 -1
  158. package/src/module-help.csv +3 -3
  159. package/src/skills/freya.activation.md +14 -15
  160. package/src/skills/idunn.activation.md +12 -13
  161. package/src/skills/saga.activation.md +13 -14
  162. package/src/workflows/0-alignment-signoff/data/02-explore-sections-routing.md +12 -12
  163. package/src/workflows/0-alignment-signoff/data/03-synthesize-present-routing.md +2 -3
  164. package/src/workflows/0-alignment-signoff/steps-c/step-01a-understand-situation.md +1 -1
  165. package/src/workflows/0-alignment-signoff/steps-c/step-01b-determine-if-needed.md +1 -1
  166. package/src/workflows/0-alignment-signoff/steps-c/step-01c-offer-extract.md +1 -1
  167. package/src/workflows/0-alignment-signoff/steps-c/step-01d-extract-info.md +1 -1
  168. package/src/workflows/0-alignment-signoff/steps-c/step-01e-detect-starting-point.md +1 -1
  169. package/src/workflows/0-alignment-signoff/steps-c/step-02a-explore-realization.md +1 -1
  170. package/src/workflows/0-alignment-signoff/steps-c/step-02b-explore-solution.md +1 -1
  171. package/src/workflows/0-alignment-signoff/steps-c/step-02c-explore-why-it-matters.md +1 -1
  172. package/src/workflows/0-alignment-signoff/steps-c/step-02d-explore-how-we-see-it-working.md +1 -1
  173. package/src/workflows/0-alignment-signoff/steps-c/step-02e-explore-paths-we-explored.md +1 -1
  174. package/src/workflows/0-alignment-signoff/steps-c/step-02f-explore-recommended-solution.md +1 -1
  175. package/src/workflows/0-alignment-signoff/steps-c/step-02g-explore-path-forward.md +1 -1
  176. package/src/workflows/0-alignment-signoff/steps-c/step-02h-explore-value-we-create.md +1 -1
  177. package/src/workflows/0-alignment-signoff/steps-c/step-02i-explore-cost-of-inaction.md +1 -1
  178. package/src/workflows/0-alignment-signoff/steps-c/step-02j-explore-our-commitment.md +1 -1
  179. package/src/workflows/0-alignment-signoff/steps-c/step-02k-explore-summary.md +1 -1
  180. package/src/workflows/0-alignment-signoff/steps-c/step-03a-reflect-back.md +1 -1
  181. package/src/workflows/0-alignment-signoff/steps-c/step-03b-synthesize-document.md +3 -3
  182. package/src/workflows/0-alignment-signoff/steps-c/step-03d-present-approval.md +2 -2
  183. package/src/workflows/0-alignment-signoff/steps-c/step-04a-offer-signoff.md +1 -1
  184. package/src/workflows/0-alignment-signoff/steps-c/step-04b-determine-business-model.md +1 -1
  185. package/src/workflows/0-alignment-signoff/steps-c/step-05a-contract-overview.md +1 -1
  186. package/src/workflows/0-alignment-signoff/steps-c/step-05b-contract-business-model.md +1 -1
  187. package/src/workflows/0-alignment-signoff/steps-c/step-05c-contract-scope.md +1 -1
  188. package/src/workflows/0-alignment-signoff/steps-c/step-05d-contract-payment.md +1 -1
  189. package/src/workflows/0-alignment-signoff/steps-c/step-05e-contract-timeline.md +1 -1
  190. package/src/workflows/0-alignment-signoff/steps-c/step-05f-contract-availability.md +1 -1
  191. package/src/workflows/0-alignment-signoff/steps-c/step-05g-contract-confidentiality.md +1 -1
  192. package/src/workflows/0-alignment-signoff/steps-c/step-05h-contract-not-to-exceed.md +1 -1
  193. package/src/workflows/0-alignment-signoff/steps-c/step-05i-contract-work-initiation.md +1 -1
  194. package/src/workflows/0-alignment-signoff/steps-c/step-05j-contract-terms.md +1 -1
  195. package/src/workflows/0-alignment-signoff/steps-c/step-05k-contract-approval.md +1 -1
  196. package/src/workflows/0-alignment-signoff/steps-c/step-05l-finalize-contract.md +1 -1
  197. package/src/workflows/0-alignment-signoff/steps-c/step-06a-build-internal-signoff.md +1 -1
  198. package/src/workflows/0-alignment-signoff/workflow.md +2 -6
  199. package/src/workflows/0-project-setup/steps/step-01-welcome.md +1 -1
  200. package/src/workflows/0-project-setup/steps/step-02-structure.md +3 -3
  201. package/src/workflows/0-project-setup/templates/folder-guides/00-design-log.template.md +59 -0
  202. package/src/workflows/0-project-setup/templates/folder-guides/00-design-system.template.md +150 -1
  203. package/src/workflows/0-project-setup/templates/folder-guides/00-trigger-map.template.md +0 -1
  204. package/src/workflows/0-project-setup/workflow.md +2 -2
  205. package/src/workflows/1-project-brief/data/positioning-reflect-confirm.md +2 -2
  206. package/src/workflows/1-project-brief/data/positioning-synthesize.md +3 -3
  207. package/src/workflows/1-project-brief/data/vision-synthesize.md +1 -1
  208. package/src/workflows/1-project-brief/steps-c/step-00-simplified-brief.md +1 -1
  209. package/src/workflows/1-project-brief/steps-c/step-01-init.md +4 -4
  210. package/src/workflows/1-project-brief/steps-c/step-02-vision.md +1 -1
  211. package/src/workflows/1-project-brief/steps-c/step-03-positioning.md +5 -5
  212. package/src/workflows/1-project-brief/steps-c/step-05-business-model.md +4 -4
  213. package/src/workflows/1-project-brief/steps-c/step-06-business-customers.md +8 -2
  214. package/src/workflows/1-project-brief/steps-c/step-07-target-users.md +10 -4
  215. package/src/workflows/1-project-brief/steps-c/step-07a-product-concept.md +9 -3
  216. package/src/workflows/1-project-brief/steps-c/step-08-success-criteria.md +3 -3
  217. package/src/workflows/1-project-brief/steps-c/step-09-competitive-landscape.md +3 -3
  218. package/src/workflows/1-project-brief/steps-c/step-10-constraints.md +1 -1
  219. package/src/workflows/1-project-brief/steps-c/step-10a-platform-strategy.md +3 -3
  220. package/src/workflows/1-project-brief/steps-c/step-11-tone-of-voice.md +4 -4
  221. package/src/workflows/1-project-brief/steps-c/{step-12-synthesize.md → step-12-create-product-brief.md} +6 -6
  222. package/src/workflows/1-project-brief/steps-c/step-13-content-init.md +3 -3
  223. package/src/workflows/1-project-brief/steps-c/step-14-personality.md +3 -3
  224. package/src/workflows/1-project-brief/steps-c/step-15-tone.md +3 -3
  225. package/src/workflows/1-project-brief/steps-c/step-16-languages.md +3 -3
  226. package/src/workflows/1-project-brief/steps-c/step-17-seo-keywords.md +3 -3
  227. package/src/workflows/1-project-brief/steps-c/step-17a-content-structure.md +2 -2
  228. package/src/workflows/1-project-brief/steps-c/{step-18-content-synthesize.md → step-18-create-content-document.md} +7 -7
  229. package/src/workflows/1-project-brief/steps-c/step-19-inspiration-workshop.md +3 -3
  230. package/src/workflows/1-project-brief/steps-c/step-20-visual-init.md +3 -3
  231. package/src/workflows/1-project-brief/steps-c/step-21-existing-brand.md +3 -3
  232. package/src/workflows/1-project-brief/steps-c/step-22-references.md +3 -3
  233. package/src/workflows/1-project-brief/steps-c/step-23-design-style.md +3 -3
  234. package/src/workflows/1-project-brief/steps-c/step-24-layout-effects.md +3 -3
  235. package/src/workflows/1-project-brief/steps-c/step-25-imagery.md +4 -4
  236. package/src/workflows/1-project-brief/steps-c/{step-26-visual-synthesize.md → step-26-create-visual-document.md} +3 -3
  237. package/src/workflows/1-project-brief/steps-c/step-27-platform-init.md +3 -3
  238. package/src/workflows/1-project-brief/steps-c/step-28-tech-stack.md +3 -3
  239. package/src/workflows/1-project-brief/steps-c/step-29-integrations.md +3 -3
  240. package/src/workflows/1-project-brief/steps-c/step-30-contact-strategy.md +3 -3
  241. package/src/workflows/1-project-brief/steps-c/step-31-multilingual.md +4 -4
  242. package/src/workflows/1-project-brief/steps-c/{step-32-platform-synthesize.md → step-32-create-platform-document.md} +3 -3
  243. package/src/workflows/1-project-brief/steps-c/step-33-analyze-brief.md +1 -1
  244. package/src/workflows/1-project-brief/steps-c/step-34-create-summary.md +1 -1
  245. package/src/workflows/1-project-brief/steps-c/step-35-update-design-log.md +4 -4
  246. package/src/workflows/1-project-brief/steps-v/step-01-brief-completeness.md +2 -2
  247. package/src/workflows/1-project-brief/steps-v/{step-02-vtc-consistency.md → step-02-trigger-map-consistency.md} +27 -27
  248. package/src/workflows/1-project-brief/steps-v/step-03-seo-strategy.md +2 -2
  249. package/src/workflows/1-project-brief/steps-v/step-04-content-language.md +1 -1
  250. package/src/workflows/1-project-brief/steps-v/step-05-visual-direction.md +1 -1
  251. package/src/workflows/1-project-brief/steps-v/step-06-platform-requirements.md +1 -1
  252. package/src/workflows/1-project-brief/templates/00-project-info.template.md +1 -2
  253. package/src/workflows/1-project-brief/templates/pitch.template.md +5 -13
  254. package/src/workflows/1-project-brief/templates/project-brief-dialog/USAGE.md +7 -92
  255. package/src/workflows/1-project-brief/templates/project-brief.template.md +5 -11
  256. package/src/workflows/1-project-brief/workflow-validate.md +3 -5
  257. package/src/workflows/1-project-brief/workflow.md +6 -10
  258. package/src/workflows/2-trigger-mapping/steps-c/step-01-overview.md +10 -10
  259. package/src/workflows/2-trigger-mapping/steps-c/step-07a-generate-hub.md +36 -0
  260. package/src/workflows/2-trigger-mapping/steps-c/step-09a-finalize-hub.md +18 -2
  261. package/src/workflows/2-trigger-mapping/steps-c/step-09e-update-design-log.md +3 -3
  262. package/src/workflows/2-trigger-mapping/workflow-validate.md +2 -5
  263. package/src/workflows/2-trigger-mapping/workflow.md +2 -4
  264. package/src/workflows/3-scenarios/data/quality-checklist.md +10 -6
  265. package/src/workflows/3-scenarios/data/scenario-outline-template.md +45 -32
  266. package/src/workflows/3-scenarios/steps-c/step-01-load-context.md +2 -2
  267. package/src/workflows/3-scenarios/steps-c/step-02-analyze-scope.md +5 -5
  268. package/src/workflows/3-scenarios/steps-c/{step-03-build-vtcs.md → step-03-build-strategic-context.md} +32 -32
  269. package/src/workflows/3-scenarios/steps-c/step-04-suggest-scenarios.md +4 -4
  270. package/src/workflows/3-scenarios/steps-c/step-05-outline-scenario.md +177 -64
  271. package/src/workflows/3-scenarios/steps-c/step-06-generate-overview.md +1 -1
  272. package/src/workflows/3-scenarios/steps-c/step-07-quality-review.md +1 -1
  273. package/src/workflows/3-scenarios/steps-c/step-08-update-design-log.md +2 -2
  274. package/src/workflows/3-scenarios/steps-c/step-09-handover.md +8 -8
  275. package/src/workflows/3-scenarios/steps-v/step-01-scenario-coverage.md +23 -23
  276. package/src/workflows/3-scenarios/workflow-validate.md +2 -5
  277. package/src/workflows/3-scenarios/workflow.md +4 -6
  278. package/src/workflows/4-ux-design/data/guides/DESIGN-LOOP-GUIDE.md +179 -0
  279. package/src/workflows/4-ux-design/data/guides/NANO-BANANA-PROMPT-GUIDE.md +1 -1
  280. package/src/workflows/4-ux-design/data/page-creation-flows/flow-b-verbal.md +1 -1
  281. package/src/workflows/4-ux-design/data/page-creation-flows/flow-e-html.md +2 -2
  282. package/src/workflows/4-ux-design/data/page-creation-flows/lightweight-page-template.md +1 -1
  283. package/src/workflows/4-ux-design/data/page-creation-flows/page-init-lightweight.md +1 -1
  284. package/src/workflows/4-ux-design/data/page-creation-flows/placeholder-templates.md +3 -3
  285. package/src/workflows/4-ux-design/data/quality-guide.md +1 -1
  286. package/src/workflows/4-ux-design/data/scenario-init/06-shortest-path.md +2 -2
  287. package/src/workflows/4-ux-design/data/scenario-init/07-reference-trigger-map.md +80 -0
  288. package/src/workflows/4-ux-design/data/scenario-init/scenario-init-guide.md +4 -4
  289. package/src/workflows/4-ux-design/data/specification-audit-workflow.md +29 -4
  290. package/src/workflows/4-ux-design/steps-c/step-01-exploration.md +230 -98
  291. package/src/workflows/4-ux-design/steps-m/step-01-review-current.md +2 -2
  292. package/src/workflows/4-ux-design/steps-m/step-02-define-component.md +1 -1
  293. package/src/workflows/4-ux-design/steps-m/step-03-validate-usage.md +2 -2
  294. package/src/workflows/4-ux-design/steps-p/step-07-validation.md +3 -3
  295. package/src/workflows/4-ux-design/steps-p/step-08-spacing-typography.md +210 -0
  296. package/src/workflows/4-ux-design/steps-p/{step-08-generate-spec.md → step-09-generate-spec.md} +19 -25
  297. package/src/workflows/4-ux-design/steps-s/step-01-core-feature.md +3 -2
  298. package/src/workflows/4-ux-design/steps-s/step-02-entry-point.md +3 -2
  299. package/src/workflows/4-ux-design/steps-s/step-03-mental-state.md +3 -2
  300. package/src/workflows/4-ux-design/steps-s/step-04-mutual-success.md +3 -2
  301. package/src/workflows/4-ux-design/steps-s/step-05-shortest-path.md +3 -2
  302. package/src/workflows/4-ux-design/steps-s/step-06-scenario-name.md +3 -2
  303. package/src/workflows/4-ux-design/steps-s/step-07-create-scenario-folder.md +8 -7
  304. package/src/workflows/4-ux-design/steps-s/step-08-page-context.md +3 -2
  305. package/src/workflows/4-ux-design/steps-s/step-09-page-name.md +3 -2
  306. package/src/workflows/4-ux-design/steps-s/step-10-page-purpose.md +3 -2
  307. package/src/workflows/4-ux-design/steps-s/step-11-entry-point.md +3 -2
  308. package/src/workflows/4-ux-design/steps-s/step-12-mental-state.md +3 -2
  309. package/src/workflows/4-ux-design/steps-s/step-13-desired-outcome.md +3 -2
  310. package/src/workflows/4-ux-design/steps-s/step-14-variants.md +3 -2
  311. package/src/workflows/4-ux-design/steps-s/step-15-create-page-structure.md +32 -13
  312. package/src/workflows/4-ux-design/steps-v/step-03-page-overview.md +1 -1
  313. package/src/workflows/4-ux-design/steps-w/step-01-visual-approach.md +1 -2
  314. package/src/workflows/4-ux-design/steps-w/step-02-generate-visual.md +1 -1
  315. package/src/workflows/4-ux-design/steps-w/step-02w-nb-compose-prompt.md +13 -22
  316. package/src/workflows/4-ux-design/steps-w/step-03-review-integrate.md +4 -4
  317. package/src/workflows/4-ux-design/templates/audit-report.template.md +2 -2
  318. package/src/workflows/4-ux-design/templates/page-specification.template.md +86 -0
  319. package/src/workflows/4-ux-design/workflow-conceptualize.md +9 -15
  320. package/src/workflows/4-ux-design/workflow-design-system.md +20 -8
  321. package/src/workflows/4-ux-design/workflow-dream.md +104 -13
  322. package/src/workflows/4-ux-design/workflow-handover.md +4 -8
  323. package/src/workflows/4-ux-design/workflow-sketch.md +2 -9
  324. package/src/workflows/4-ux-design/workflow-specify.md +6 -11
  325. package/src/workflows/4-ux-design/workflow-suggest.md +70 -21
  326. package/src/workflows/4-ux-design/workflow-validate.md +6 -10
  327. package/src/workflows/4-ux-design/workflow-visual.md +5 -10
  328. package/src/workflows/4-ux-design/workflow.md +110 -39
  329. package/src/workflows/5-agentic-development/data/guides/FILE-INDEX.md +1 -1
  330. package/src/workflows/5-agentic-development/steps-a/step-01-define-question.md +1 -1
  331. package/src/workflows/5-agentic-development/steps-a/step-02-scan-codebase.md +1 -1
  332. package/src/workflows/5-agentic-development/steps-a/step-03-map-architecture.md +1 -1
  333. package/src/workflows/5-agentic-development/steps-a/step-04-document-findings.md +2 -2
  334. package/src/workflows/5-agentic-development/steps-d/step-01-scope-and-plan.md +1 -1
  335. package/src/workflows/5-agentic-development/steps-d/step-02-setup-environment.md +1 -1
  336. package/src/workflows/5-agentic-development/steps-d/step-03-implement.md +1 -1
  337. package/src/workflows/5-agentic-development/steps-d/step-04-verify.md +1 -1
  338. package/src/workflows/5-agentic-development/steps-d/step-05-finalize.md +1 -1
  339. package/src/workflows/5-agentic-development/steps-e/step-01-scope-change.md +1 -1
  340. package/src/workflows/5-agentic-development/steps-e/step-02-analyze-impact.md +1 -1
  341. package/src/workflows/5-agentic-development/steps-e/step-03-plan-implementation.md +1 -1
  342. package/src/workflows/5-agentic-development/steps-e/step-04-implement.md +1 -1
  343. package/src/workflows/5-agentic-development/steps-e/step-05-verify-and-document.md +1 -1
  344. package/src/workflows/5-agentic-development/steps-f/step-01-reproduce.md +1 -1
  345. package/src/workflows/5-agentic-development/steps-f/step-02-investigate.md +1 -1
  346. package/src/workflows/5-agentic-development/steps-f/step-03-fix.md +1 -1
  347. package/src/workflows/5-agentic-development/steps-f/step-04-verify.md +1 -1
  348. package/src/workflows/5-agentic-development/steps-f/step-05-document.md +1 -1
  349. package/src/workflows/5-agentic-development/steps-p/1-prototype-setup.md +1 -1
  350. package/src/workflows/5-agentic-development/steps-p/2-scenario-analysis.md +1 -1
  351. package/src/workflows/5-agentic-development/steps-p/3-logical-view-breakdown.md +1 -1
  352. package/src/workflows/5-agentic-development/steps-p/4a-announce-and-gather.md +1 -1
  353. package/src/workflows/5-agentic-development/steps-p/4b-create-story-file.md +1 -1
  354. package/src/workflows/5-agentic-development/steps-p/4c-implement-section.md +1 -1
  355. package/src/workflows/5-agentic-development/steps-p/4d-present-for-testing.md +1 -1
  356. package/src/workflows/5-agentic-development/steps-p/4e-handle-issue.md +1 -1
  357. package/src/workflows/5-agentic-development/steps-p/4f-handle-improvement.md +1 -1
  358. package/src/workflows/5-agentic-development/steps-p/4g-section-approved.md +2 -2
  359. package/src/workflows/5-agentic-development/steps-p/5-finalization.md +1 -1
  360. package/src/workflows/5-agentic-development/steps-r/step-01-identify-target.md +1 -1
  361. package/src/workflows/5-agentic-development/steps-r/step-02-explore-and-capture.md +1 -1
  362. package/src/workflows/5-agentic-development/steps-r/step-03-generate-specs.md +1 -1
  363. package/src/workflows/5-agentic-development/steps-r/step-04-extract-design-system.md +1 -1
  364. package/src/workflows/5-agentic-development/steps-t/step-01-prepare.md +1 -1
  365. package/src/workflows/5-agentic-development/steps-t/step-02-execute.md +1 -1
  366. package/src/workflows/5-agentic-development/steps-t/step-03-document-issues.md +1 -1
  367. package/src/workflows/5-agentic-development/steps-t/step-04-report.md +1 -1
  368. package/src/workflows/5-agentic-development/steps-t/step-05-iterate.md +1 -1
  369. package/src/workflows/5-agentic-development/workflow-acceptance-testing.md +33 -8
  370. package/src/workflows/5-agentic-development/workflow-analysis.md +5 -8
  371. package/src/workflows/5-agentic-development/workflow-bugfixing.md +5 -8
  372. package/src/workflows/5-agentic-development/workflow-development.md +17 -8
  373. package/src/workflows/5-agentic-development/workflow-evolution.md +5 -8
  374. package/src/workflows/5-agentic-development/workflow-prototyping.md +26 -8
  375. package/src/workflows/5-agentic-development/workflow-reverse-engineering.md +5 -8
  376. package/src/workflows/5-agentic-development/workflow.md +5 -8
  377. package/src/workflows/6-asset-generation/data/00-purpose-examples.md +4 -4
  378. package/src/workflows/6-asset-generation/data/03-action-filter-example.md +1 -1
  379. package/src/workflows/6-asset-generation/data/04-example-empowerment-frame.md +1 -1
  380. package/src/workflows/6-asset-generation/data/05-example-golden-circle.md +1 -1
  381. package/src/workflows/6-asset-generation/data/05-golden-circle-guide.md +1 -1
  382. package/src/workflows/6-asset-generation/data/06-example-hairdresser-newsletter.md +1 -1
  383. package/src/workflows/6-asset-generation/data/06-generation-instructions.md +1 -1
  384. package/src/workflows/6-asset-generation/data/content-creation-workshop-guide.md +9 -10
  385. package/src/workflows/6-asset-generation/steps-c/step-00-define-purpose.md +3 -3
  386. package/src/workflows/6-asset-generation/steps-c/step-01-load-trigger-map-context.md +147 -0
  387. package/src/workflows/6-asset-generation/steps-c/step-02-awareness-strategy.md +5 -5
  388. package/src/workflows/6-asset-generation/steps-c/step-03-action-filter.md +7 -7
  389. package/src/workflows/6-asset-generation/steps-c/step-04-empowerment-frame.md +1 -1
  390. package/src/workflows/6-asset-generation/steps-c/step-05-structural-order.md +2 -2
  391. package/src/workflows/6-asset-generation/steps-c/step-06-generate-content.md +3 -3
  392. package/src/workflows/6-asset-generation/templates/content-output.template.md +5 -5
  393. package/src/workflows/6-asset-generation/workflow-content.md +4 -7
  394. package/src/workflows/6-asset-generation/workflow-figma.md +2 -5
  395. package/src/workflows/6-asset-generation/workflow-icons.md +2 -5
  396. package/src/workflows/6-asset-generation/workflow-images.md +2 -5
  397. package/src/workflows/6-asset-generation/workflow-page-designs.md +2 -5
  398. package/src/workflows/6-asset-generation/workflow-stitch.md +5 -9
  399. package/src/workflows/6-asset-generation/workflow-ui-elements.md +2 -5
  400. package/src/workflows/6-asset-generation/workflow-videos.md +2 -5
  401. package/src/workflows/6-asset-generation/workflow-wireframes.md +2 -5
  402. package/src/workflows/6-asset-generation/workflow.md +3 -5
  403. package/src/workflows/7-design-system/steps-c/step-01-scan-existing.md +2 -2
  404. package/src/workflows/7-design-system/steps-c/step-02-compare-attributes.md +2 -2
  405. package/src/workflows/7-design-system/steps-c/step-03-calculate-similarity.md +2 -2
  406. package/src/workflows/7-design-system/steps-c/step-04-identify-opportunities.md +2 -2
  407. package/src/workflows/7-design-system/steps-c/step-05-identify-risks.md +2 -2
  408. package/src/workflows/7-design-system/steps-c/step-06-present-decision.md +2 -2
  409. package/src/workflows/7-design-system/steps-c/step-07-execute-decision.md +2 -2
  410. package/src/workflows/7-design-system/steps-c/step-08a-initialize-design-system.md +2 -2
  411. package/src/workflows/7-design-system/steps-c/step-08b-create-new-component.md +2 -2
  412. package/src/workflows/7-design-system/steps-c/step-08c-update-component.md +2 -2
  413. package/src/workflows/7-design-system/steps-c/step-08d-add-variant.md +2 -2
  414. package/src/workflows/7-design-system/steps-c/step-08e-generate-catalog.md +1 -1
  415. package/src/workflows/7-design-system/workflow-browse.md +2 -5
  416. package/src/workflows/7-design-system/workflow-create.md +2 -5
  417. package/src/workflows/7-design-system/workflow-edit.md +2 -5
  418. package/src/workflows/7-design-system/workflow-import.md +2 -5
  419. package/src/workflows/7-design-system/workflow-view.md +2 -5
  420. package/src/workflows/7-design-system/workflow.md +9 -11
  421. package/src/workflows/8-product-evolution/steps-a/step-01-identify.md +4 -4
  422. package/src/workflows/8-product-evolution/steps-p/step-01-create-delivery.md +1 -1
  423. package/src/workflows/8-product-evolution/workflow-analyze.md +2 -5
  424. package/src/workflows/8-product-evolution/workflow-deploy.md +3 -6
  425. package/src/workflows/8-product-evolution/workflow-design.md +2 -5
  426. package/src/workflows/8-product-evolution/workflow-implement.md +2 -5
  427. package/src/workflows/8-product-evolution/workflow-scope.md +2 -5
  428. package/src/workflows/8-product-evolution/workflow-test.md +2 -5
  429. package/src/workflows/8-product-evolution/workflow.md +7 -9
  430. package/tools/cli/commands/install.js +1 -1
  431. package/tools/cli/installers/lib/ide/_base-ide.js +263 -0
  432. package/tools/cli/installers/lib/ide/antigravity.js +34 -0
  433. package/tools/cli/installers/lib/ide/auggie.js +42 -0
  434. package/tools/cli/installers/lib/ide/claude-code.js +114 -0
  435. package/tools/cli/installers/lib/ide/cline.js +116 -0
  436. package/tools/cli/installers/lib/ide/codex.js +43 -0
  437. package/tools/cli/installers/lib/ide/crush.js +42 -0
  438. package/tools/cli/installers/lib/ide/cursor.js +116 -0
  439. package/tools/cli/installers/lib/ide/gemini.js +50 -0
  440. package/tools/cli/installers/lib/ide/github-copilot.js +106 -0
  441. package/tools/cli/installers/lib/ide/iflow.js +42 -0
  442. package/tools/cli/installers/lib/ide/kilo.js +55 -0
  443. package/tools/cli/installers/lib/ide/kiro-cli.js +44 -0
  444. package/tools/cli/installers/lib/ide/manager.js +218 -0
  445. package/tools/cli/installers/lib/ide/opencode.js +44 -0
  446. package/tools/cli/installers/lib/ide/qwen.js +50 -0
  447. package/tools/cli/installers/lib/ide/roo.js +43 -0
  448. package/tools/cli/installers/lib/ide/rovo-dev.js +43 -0
  449. package/tools/cli/installers/lib/ide/trae.js +42 -0
  450. package/tools/cli/installers/lib/ide/windsurf.js +106 -0
  451. package/tools/cli/lib/compiler.js +10 -2
  452. package/tools/cli/lib/ide-configs.js +2 -4
  453. package/tools/cli/lib/installer.js +115 -206
  454. package/tools/cli/lib/ui.js +191 -54
  455. package/docs/getting-started/agent-activation/wds-mimir.md +0 -78
  456. package/docs/learn-wds/00-course-overview.md +0 -211
  457. package/docs/learn-wds/Webinars/2024-12-22-WDS-Jam-1-Say-Hello-to-AI-Agent-Framework.md +0 -0
  458. package/docs/learn-wds/course-explainers/Module 00-transcript.srt +0 -635
  459. package/docs/learn-wds/course-explainers/Module 02-transcript.srt +0 -807
  460. package/docs/learn-wds/course-explainers/Module-00-notebook-lm-prompt.md +0 -250
  461. package/docs/learn-wds/course-explainers/Module-00-thumbnail-prompt.md +0 -33
  462. package/docs/learn-wds/course-explainers/Module-00-youtube-show-notes.md +0 -78
  463. package/docs/learn-wds/course-explainers/Module-01-notebook-lm-prompt.md +0 -418
  464. package/docs/learn-wds/course-explainers/Module-01-thumbnail-prompt.md +0 -33
  465. package/docs/learn-wds/course-explainers/Module-01-transcript.srt +0 -731
  466. package/docs/learn-wds/course-explainers/Module-02-notebook-lm-prompt.md +0 -342
  467. package/docs/learn-wds/course-explainers/Module-02-thumbnail-prompt.md +0 -34
  468. package/docs/learn-wds/course-explainers/Module-03-notebook-lm-prompt.md +0 -745
  469. package/docs/learn-wds/course-explainers/Module-03-thumbnail-prompt.md +0 -33
  470. package/docs/learn-wds/course-explainers/Module-03-transcript.srt +0 -595
  471. package/docs/learn-wds/course-explainers/Module-04-notebook-lm-prompt.md +0 -163
  472. package/docs/learn-wds/course-explainers/Module-04-thumbnail-prompt.md +0 -36
  473. package/docs/learn-wds/course-explainers/Module-04-youtube-show-notes.md +0 -95
  474. package/docs/learn-wds/course-explainers/Module-05-notebook-lm-prompt.md +0 -274
  475. package/docs/learn-wds/course-explainers/Module-05-thumbnail-prompt.md +0 -40
  476. package/docs/learn-wds/course-explainers/Module-05-youtube-show-notes.md +0 -65
  477. package/docs/learn-wds/course-explainers/module-01-YOUTUBE-SHOW-NOTES.md +0 -75
  478. package/docs/learn-wds/course-explainers/module-02-YOUTUBE-SHOW-NOTES.md +0 -86
  479. package/docs/learn-wds/course-explainers/module-03-YOUTUBE-SHOW-NOTES.md +0 -82
  480. package/docs/learn-wds/course-explainers/trigger-map-example.jpg +0 -0
  481. package/docs/learn-wds/module-02-installation-setup/lesson-01-git-setup/01-quick-checklist.md +0 -63
  482. package/docs/learn-wds/module-02-installation-setup/lesson-01-git-setup/02-full-lesson.md +0 -124
  483. package/docs/learn-wds/module-02-installation-setup/lesson-01-github-and-ide-setup/checklist.md +0 -87
  484. package/docs/learn-wds/module-02-installation-setup/lesson-01-github-and-ide-setup/lesson.md +0 -203
  485. package/docs/learn-wds/module-02-installation-setup/lesson-01-setting-up-github/checklist.md +0 -70
  486. package/docs/learn-wds/module-02-installation-setup/lesson-02-git-configuration/checklist.md +0 -40
  487. package/docs/learn-wds/module-02-installation-setup/lesson-02-ide-installation/01-quick-checklist.md +0 -48
  488. package/docs/learn-wds/module-02-installation-setup/lesson-02-ide-installation/02-full-lesson.md +0 -88
  489. package/docs/learn-wds/module-02-installation-setup/lesson-02-ide-installation/02-quick-checklist.md +0 -48
  490. package/docs/learn-wds/module-02-installation-setup/lesson-02-install-ide/checklist.md +0 -48
  491. package/docs/learn-wds/module-02-installation-setup/lesson-02-install-ide/tutorial.md +0 -149
  492. package/docs/learn-wds/module-02-installation-setup/lesson-03-git-cloning/01-quick-checklist.md +0 -51
  493. package/docs/learn-wds/module-02-installation-setup/lesson-03-git-cloning/03-lesson.md +0 -111
  494. package/docs/learn-wds/module-02-installation-setup/lesson-03-git-cloning/03-quick-checklist.md +0 -51
  495. package/docs/learn-wds/module-02-installation-setup/lesson-03-git-setup/checklist.md +0 -41
  496. package/docs/learn-wds/module-02-installation-setup/lesson-03-git-setup/tutorial.md +0 -159
  497. package/docs/learn-wds/module-02-installation-setup/lesson-04-clone-and-wds/checklist.md +0 -93
  498. package/docs/learn-wds/module-02-installation-setup/lesson-04-clone-and-wds/tutorial.md +0 -217
  499. package/docs/learn-wds/module-02-installation-setup/lesson-04-wds-initialization/01-quick-checklist.md +0 -73
  500. package/docs/learn-wds/module-02-installation-setup/lesson-04-wds-initialization/02-full-lesson.md +0 -206
  501. package/docs/learn-wds/module-02-installation-setup/lesson-04-wds-initialization/04-lesson.md +0 -206
  502. package/docs/learn-wds/module-02-installation-setup/lesson-04-wds-initialization/04-quick-checklist.md +0 -73
  503. package/docs/learn-wds/module-02-installation-setup/lesson-05-initiate-mimir/checklist.md +0 -79
  504. package/docs/learn-wds/module-02-installation-setup/lesson-05-initiate-mimir/tutorial.md +0 -244
  505. package/docs/learn-wds/module-02-installation-setup/module-02-overview.md +0 -77
  506. package/docs/learn-wds/module-05-map-triggers-outcomes/tutorial-04.md +0 -460
  507. package/docs/learn-wds/module-05-trigger-mapping/lesson-04-workshop-1-business-goals.md +0 -274
  508. package/docs/learn-wds/module-05-trigger-mapping/lesson-05-workshop-2-target-groups.md +0 -504
  509. package/docs/learn-wds/module-05-trigger-mapping/lesson-07-workshop-4-prioritization.md +0 -313
  510. package/docs/learn-wds/module-05-trigger-mapping/lesson-08-workshop-5-feature-impact.md +0 -474
  511. package/docs/learn-wds/module-05-trigger-mapping/lesson-09-positive-negative-drivers.md +0 -348
  512. package/docs/learn-wds/module-05-trigger-mapping/tutorial-05b-value-trigger-chain.md +0 -393
  513. package/docs/learn-wds/module-06-platform-architecture/tutorial-06.md +0 -358
  514. package/docs/learn-wds/module-08-initialize-scenario/tutorial-08.md +0 -521
  515. package/docs/learn-wds/module-09-design-system/tutorial-09.md +0 -515
  516. package/docs/learn-wds/module-10-design-delivery/tutorial-10.md +0 -604
  517. package/docs/learn-wds/module-12-conceptual-specs/tutorial-12.md +0 -734
  518. package/src/agents/mimir-orchestrator.agent.yaml +0 -45
  519. package/src/data/agent-guides/mimir/emotional-intelligence.md +0 -295
  520. package/src/data/agent-guides/mimir/teaching-styles.md +0 -286
  521. package/src/data/agent-guides/mimir/wds-overview.md +0 -377
  522. package/src/data/presentations/mimir-getting-started.md +0 -52
  523. package/src/data/presentations/mimir-presentation.md +0 -123
  524. package/src/gems/eira-visual-designer.md +0 -571
  525. package/src/workflows/0-alignment-signoff/steps-c/step-03c-create-vtc.md +0 -148
  526. package/src/workflows/0-project-setup/templates/folder-guides/00-progress.template.md +0 -56
  527. package/src/workflows/1-project-brief/steps-c/step-04-create-vtc.md +0 -120
  528. package/src/workflows/1-project-brief/steps-c/step-11a-create-vtc.md +0 -181
  529. package/src/workflows/1-project-brief/templates/vtc-template.yaml +0 -210
  530. package/src/workflows/1-project-brief/vtc-workshop/steps-c/step-01a-define-business-goal.md +0 -137
  531. package/src/workflows/1-project-brief/vtc-workshop/steps-c/step-01b-load-trigger-map.md +0 -127
  532. package/src/workflows/1-project-brief/vtc-workshop/steps-c/step-02a-identify-solution.md +0 -133
  533. package/src/workflows/1-project-brief/vtc-workshop/steps-c/step-02b-select-business-goal.md +0 -138
  534. package/src/workflows/1-project-brief/vtc-workshop/steps-c/step-03a-describe-user.md +0 -147
  535. package/src/workflows/1-project-brief/vtc-workshop/steps-c/step-03b-select-user.md +0 -142
  536. package/src/workflows/1-project-brief/vtc-workshop/steps-c/step-04a-positive-driving-forces.md +0 -163
  537. package/src/workflows/1-project-brief/vtc-workshop/steps-c/step-04b-select-driving-forces.md +0 -154
  538. package/src/workflows/1-project-brief/vtc-workshop/steps-c/step-05a-negative-driving-forces.md +0 -195
  539. package/src/workflows/1-project-brief/vtc-workshop/steps-c/step-05b-define-solution.md +0 -117
  540. package/src/workflows/1-project-brief/vtc-workshop/steps-c/step-06a-customer-awareness.md +0 -216
  541. package/src/workflows/1-project-brief/vtc-workshop/steps-c/step-06b-customer-awareness.md +0 -123
  542. package/src/workflows/1-project-brief/vtc-workshop/steps-c/step-07a-review-and-save.md +0 -250
  543. package/src/workflows/1-project-brief/vtc-workshop/steps-c/step-07b-review-and-save.md +0 -191
  544. package/src/workflows/1-project-brief/vtc-workshop/workflow.md +0 -209
  545. package/src/workflows/4-ux-design/data/scenario-init/07-create-vtc.md +0 -132
  546. package/src/workflows/6-asset-generation/steps-c/step-01-load-vtc-context.md +0 -150
  547. package/src/workflows/_agent-dialogs/conversation-persistence/check-conversations.md +0 -162
  548. package/src/workflows/_agent-dialogs/conversation-persistence/conversation-template.md +0 -70
  549. package/src/workflows/_agent-dialogs/conversation-persistence/persistence-guide.md +0 -81
  550. package/src/workflows/_agent-dialogs/conversation-persistence/save-conversation.md +0 -146
  551. package/src/workflows/_agent-dialogs/project-analysis/01-instructions.md +0 -79
  552. package/src/workflows/_agent-dialogs/project-analysis/02-project-analysis-router.md +0 -99
  553. package/src/workflows/_agent-dialogs/project-analysis/03-context-aware-activation.md +0 -99
  554. package/src/workflows/_agent-dialogs/project-analysis/04-task-reflection.md +0 -303
  555. package/src/workflows/_agent-dialogs/project-analysis/05-agent-handoff-guide.md +0 -233
  556. package/src/workflows/_agent-dialogs/project-analysis/agent-domains/freya-domain.md +0 -144
  557. package/src/workflows/_agent-dialogs/project-analysis/agent-domains/idunn-domain.md +0 -112
  558. package/src/workflows/_agent-dialogs/project-analysis/agent-domains/saga-domain.md +0 -132
  559. package/src/workflows/_agent-dialogs/project-analysis/analysis-types/empty-project-response.md +0 -207
  560. package/src/workflows/_agent-dialogs/project-analysis/analysis-types/folder-based-analysis.md +0 -135
  561. package/src/workflows/_agent-dialogs/project-analysis/analysis-types/new-project-response.md +0 -235
  562. package/src/workflows/_agent-dialogs/project-analysis/analysis-types/outline-based-analysis.md +0 -238
  563. package/src/workflows/_agent-dialogs/project-analysis/analysis-types/unknown-structure-response.md +0 -216
  564. package/src/workflows/_agent-dialogs/project-analysis/validation/deep-validation-before-work.md +0 -235
  565. package/src/workflows/_agent-dialogs/project-analysis/work-types/strategy-work.md +0 -88
  566. package/src/workflows/_agent-dialogs/step-completion-protocol.md +0 -175
  567. package/src/workflows/_agent-dialogs/steps/step-01-initialize-dialog.md +0 -244
  568. package/src/workflows/_agent-dialogs/steps/step-02-analyze-scope.md +0 -195
  569. package/src/workflows/_agent-dialogs/steps/step-03-create-steps.md +0 -186
  570. package/src/workflows/_agent-dialogs/steps/step-04-execute-steps.md +0 -250
  571. package/src/workflows/_agent-dialogs/steps/step-05-complete-dialog.md +0 -177
  572. package/src/workflows/_agent-dialogs/templates/agent-dialog.template.md +0 -115
  573. package/src/workflows/_agent-dialogs/templates/dialog-capture.template.md +0 -75
  574. package/src/workflows/_agent-dialogs/templates/dialog-types/INDEX.md +0 -142
  575. package/src/workflows/_agent-dialogs/templates/dialog-types/bug-fix.template.md +0 -164
  576. package/src/workflows/_agent-dialogs/templates/dialog-types/design-exploration.template.md +0 -180
  577. package/src/workflows/_agent-dialogs/templates/dialog-types/prototype-implementation.template.md +0 -292
  578. package/src/workflows/_agent-dialogs/templates/dialog-types/stitch-generation.template.md +0 -311
  579. package/src/workflows/_agent-dialogs/templates/dialog.template.md +0 -200
  580. package/src/workflows/_agent-dialogs/templates/dream-up-agent-dialog.template.md +0 -271
  581. package/src/workflows/_agent-dialogs/templates/step.template.md +0 -138
  582. package/src/workflows/_agent-dialogs/workflow.md +0 -193
@@ -0,0 +1,836 @@
1
+ # Module 07: The Design Phase
2
+
3
+ ## Lesson 2: Why Specifications Matter
4
+
5
+ **The New Code: Specifications as the Foundation of Professional AI-Assisted Development**
6
+
7
+ ---
8
+
9
+ ## The Reason Vibe coding fails - The Amateur Question
10
+
11
+ *"Why are we wasting time with scenarios and specifications? Can't we just tell the AI agent to code the app and be done with it?"*
12
+
13
+ This question reveals a fundamental misunderstanding about what creates value in software development—especially in the age of AI.
14
+
15
+ **The honest answer:** You can try "prompt to code." It'll be fast, broken, unmaintainable, and you'll burn 10x the credits fixing it.
16
+
17
+ But more importantly, you'll have missed the entire point of professional software development.
18
+
19
+ ---
20
+
21
+ ## Foundation: The New Paradigm
22
+
23
+ This lesson applies the philosophy from Sean Grove's talk "The New Code" to the WDS methodology.
24
+
25
+ **→ Read the core framework:** [Model: Specifications as the New Code](../../models/specifications-as-the-new-code.md)
26
+
27
+ **Watch the full talk:** [The New Code — Sean Grove, OpenAI](https://www.youtube.com/watch?v=8rABwKRsec4)
28
+
29
+ **Key insight:**
30
+ > "Code is sort of 10 to 20% of the value that you bring. The other 80 to 90% is in structured communication."
31
+ > — Sean Grove
32
+
33
+ This lesson shows **how WDS implements this philosophy** through its specification-driven workflow.
34
+
35
+ ---
36
+
37
+
38
+
39
+ ## What Actually Creates Value
40
+
41
+ > "Code is sort of 10 to 20% of the value that you bring. The other 80 to 90% is in structured communication."
42
+ >
43
+ > — Sean Grove, "The New Code"
44
+
45
+ This statement captures the fundamental truth about software development:
46
+
47
+ **Code is the OUTPUT. Specifications are the WORK.**
48
+
49
+ **Code is the PROJECTION. Specifications are the SOURCE.**
50
+
51
+ **Code is what MACHINES execute. Specifications are how HUMANS align.**
52
+
53
+ ### The Shifted Paradigm
54
+
55
+ **Traditional thinking:**
56
+ - Code is the primary artifact
57
+ - Documentation is secondary (often skipped)
58
+ - "Just ship it and we'll figure it out"
59
+
60
+ **Professional AI-assisted development:**
61
+ - Specifications are the primary artifact (80-90% of value)
62
+ - Code is secondary, a lossy projection (10-20% of value)
63
+ - "Get the specs right, code follows correctly"
64
+
65
+ ---
66
+
67
+ ## Your App Exists in Specifications
68
+
69
+ This is the critical insight that makes WDS unique:
70
+
71
+ **Your software exists in the specifications.**
72
+
73
+ The code is just one possible projection of that specification—like compiled output for one target architecture.
74
+
75
+ ### Think Like a Compiler
76
+
77
+ When you compile C++ code:
78
+ - **Source:** Your C++ program (human-readable intent)
79
+ - **Target 1:** x86 machine code
80
+ - **Target 2:** ARM machine code
81
+ - **Target 3:** WebAssembly
82
+
83
+ **Same source. Multiple targets.** All generated from the specification.
84
+
85
+ ### Your Specifications Work the Same Way
86
+
87
+ **Source:** Your scenario specifications (human-aligned intent)
88
+ - **Target 1:** TypeScript + React
89
+ - **Target 2:** Rust + WASM
90
+ - **Target 3:** Python + Django
91
+ - **Target 4:** User documentation
92
+ - **Target 5:** Tutorial content
93
+ - **Target 6:** Test suites
94
+
95
+ **Same specifications. Multiple outputs.** All generated by AI agents from your specs.
96
+
97
+ **This is what makes specifications the primary artifact.**
98
+
99
+ ---
100
+
101
+ ## Strategic Thinking Just Got Cheaper Too
102
+
103
+ Everyone knows AI made code cheap.
104
+
105
+ **What most people missed:** AI made strategic thinking cheap too.
106
+
107
+ **→ Read the complete strategic framework:** [Specifications as the New Code](../../models/specifications-as-the-new-code.md)
108
+
109
+ **Key insights:**
110
+
111
+ ### The Three Eras
112
+
113
+ | Era | Code Cost | Specs Cost | Communication Cost | Result |
114
+ |-----|-----------|------------|-------------------|--------|
115
+ | **Waterfall** | High | High | High | Upfront specs, code once |
116
+ | **Agile** | High | Skipped | Low | Skip specs, meet constantly |
117
+ | **AI (amateur)** | Low | Still skipped | High | Churn prototypes endlessly |
118
+ | **AI (WDS)** | Low | **Low (AI-assisted)** | High | **Forge specs, generate correctly** |
119
+
120
+ **The insight everyone missed:**
121
+
122
+ Agile killed the PRD because communication was cheap and coding was expensive.
123
+
124
+ AI revived the PRD because **both strategic thinking AND coding are now cheap.**
125
+
126
+ **WDS exists because you can now:**
127
+ - Use AI to forge strategic thinking (Saga, Freya as thinking partners)
128
+ - Create polished specifications cheaply (AI-assisted)
129
+ - Generate code from complete specs (AI agents)
130
+ - Present ideas, not prototypes (efficient communication)
131
+
132
+ **The amateur approach:**
133
+ > "Code is cheap. Skip specs. Prompt AI. Churn prototypes."
134
+
135
+ **The professional approach:**
136
+ > "Strategic thinking is cheap too. Forge specs with AI. Generate code correctly."
137
+
138
+ **Read the full framework to understand why WDS is the professional standard for AI-assisted development.**
139
+
140
+ ---
141
+
142
+ ## Code Is a Lossy Projection
143
+
144
+ > "Code is actually a lossy projection from the specification."
145
+ >
146
+ > — Sean Grove
147
+
148
+ Think about what gets LOST when you jump from "make a login screen" to code:
149
+
150
+ **Lost from the specification:**
151
+ - WHY this login exists (business goal)
152
+ - WHO uses it (persona psychology)
153
+ - WHAT drives them (trigger map drivers)
154
+ - HOW they feel (emotional state)
155
+ - WHEN it should adapt (context changes)
156
+ - WHERE it fits in the journey (scenario flow)
157
+
158
+ **What the code captures:**
159
+ - A form with two inputs and a button
160
+ - Some validation logic
161
+ - An API call
162
+
163
+ **The code is 10% of the story.** The specification is 100%.
164
+
165
+ ### Example: The Login Scenario
166
+
167
+ **Just the code knows:**
168
+ ```typescript
169
+ <form onSubmit={handleLogin}>
170
+ <input type="email" />
171
+ <input type="password" />
172
+ <button>Login</button>
173
+ </form>
174
+ ```
175
+
176
+ **The specification knows:**
177
+ 1. **Why:** This addresses "fear of unauthorized access" (Driver #3, Remote Team Leads)
178
+ 2. **Who:** Remote managers protecting team data
179
+ 3. **What:** Need quick, secure access without friction
180
+ 4. **How:** Proactive mode ("Everything is secure") not reactive ("Nothing can go wrong")
181
+ 5. **When:** Often logging in from different devices/locations
182
+ 6. **Where:** First step in "Daily Team Check" scenario
183
+ 7. **Default state:** Empty fields, disabled submit, "Remember me" pre-checked
184
+ 8. **Validation:** Real-time email format, password strength indicator
185
+ 9. **Error states:** Network failure, invalid credentials, account locked, too many attempts
186
+ 10. **Success flow:** Loading state (0.5s), redirect to dashboard, persist session 30 days
187
+ 11. **Accessibility:** Tab order, ARIA labels, screen reader announcements, focus management
188
+ 12. **Responsive:** Mobile-first, touch targets 44px minimum, no horizontal scroll
189
+ 13. **Edge cases:** Rate limiting, password reset flow, SSO option, back button behavior
190
+
191
+ **The code is a projection of this.**
192
+
193
+ When you need to rewrite in a different framework, the specification remains the source of truth.
194
+
195
+ ---
196
+
197
+ ## Specifications Align Humans
198
+
199
+ > "A written specification is what enables you to align humans on the shared set of goals."
200
+ >
201
+ > — Sean Grove
202
+
203
+ This is the 80-90% of value that specifications provide.
204
+
205
+ ### Before Specification
206
+
207
+ **Stakeholder A thinks:** "Login should be quick and simple"
208
+ **Stakeholder B thinks:** "Login should be highly secure"
209
+ **Developer thinks:** "Login should use OAuth"
210
+ **Designer thinks:** "Login should feel welcoming"
211
+ **User thinks:** "I just want to get to my stuff"
212
+
213
+ **Five people. Five different login screens in their heads.**
214
+
215
+ ### After Specification
216
+
217
+ **Everyone reads the same specification:**
218
+ - Security through 2FA, not friction
219
+ - Quick for returning users (remembered device)
220
+ - OAuth + password options (user choice)
221
+ - Welcoming through microcopy, not animation
222
+ - "Get to my stuff" is measured (< 3 seconds from landing)
223
+
224
+ **Five people. One shared login screen.**
225
+
226
+ **This alignment is the majority of the work.** The code is just typing after you've aligned.
227
+
228
+ ---
229
+
230
+ ## The Professional Approach: Prompt → Spec → Code
231
+
232
+ **This is what pros do.** Not because they like extra work, but because they understand how AI agents actually work at scale.
233
+
234
+ | Approach | Reliability | Testing | Maintenance | Dimensions | Credits |
235
+ |----------|-------------|---------|-------------|------------|---------|
236
+ | **Prompt → Spec → Code** | ✅ Reliable, repeatable | ✅ Test against spec | ✅ Maintainable, documented | ✅ Accessibility, i18n, SEO | ✅ Building, not debugging |
237
+ | **Prompt → Code** | ❌ Inconsistent each time | ❌ No testing reference | ❌ "What does this do?" | ❌ Forgot accessibility | ❌ Endless regeneration |
238
+
239
+ ### Why "Prompt to Code" Fails at Scale
240
+
241
+ **The amateur sees:**
242
+ - "I prompted, I got code, I shipped. Done!"
243
+ - *Shows you the first 10 seconds*
244
+
245
+ **The professional sees:**
246
+ - Attempt 1: "Build login" → Wrong validation
247
+ - Attempt 2: "Fix validation" → Breaks mobile
248
+ - Attempt 3: "Fix mobile" → Lost accessibility
249
+ - Attempt 4: "Fix accessibility" → Errors unclear
250
+ - Attempt 5: "Better errors" → Now navigation broke
251
+ - Attempt 6-20: Still not right
252
+ - *Shows you the next 10 hours*
253
+
254
+ **The AI showoffs and scammers don't show you the debugging marathon.**
255
+
256
+ ---
257
+
258
+ ## Understanding Context Windows
259
+
260
+ Here's what most people miss about AI agents:
261
+
262
+ **You can't fit your entire app in one prompt.**
263
+
264
+ Even with 200k tokens, you're trying to describe:
265
+ - Every user flow
266
+ - Every edge case
267
+ - Every interaction
268
+ - Every validation rule
269
+ - Every error state
270
+ - Accessibility requirements
271
+ - Responsive behaviors
272
+ - Loading states
273
+ - Empty states
274
+ - Animation timings
275
+ - Microcopy variations
276
+ - Error messages
277
+ - Success states
278
+ - Navigation patterns
279
+ - Data persistence
280
+ - Session management
281
+ - Permission systems
282
+ - ...and 1000 more micro-decisions
283
+
284
+ **Try cramming that into "Build me a todo app."**
285
+
286
+ ### What Happens When You Try
287
+
288
+ The agent makes **thousands of micro-decisions** without your input.
289
+
290
+ **Most will be wrong for:**
291
+ - YOUR app
292
+ - YOUR users
293
+ - YOUR psychology drivers
294
+ - YOUR business goals
295
+ - YOUR brand voice
296
+ - YOUR accessibility standards
297
+ - YOUR performance requirements
298
+
299
+ **Because the agent had to guess.** You didn't specify.
300
+
301
+ ---
302
+
303
+ ## Specifications Are Meta-Prompts
304
+
305
+ **This is the key insight:**
306
+
307
+ Creating specifications IS creating the ultimate meta-prompt—a "super prompt" that agents reference throughout development.
308
+
309
+ **You're building a digital twin**—a complete blueprint of your software that exists BEFORE the code.
310
+
311
+ ### Specification = Super Prompt That:
312
+
313
+ - ✅ Breaks down complexity into manageable chunks
314
+ - ✅ Provides exact context for each piece
315
+ - ✅ Ensures consistency across the entire app
316
+ - ✅ Enables autonomous agent work WITHOUT guessing
317
+ - ✅ Creates a testing reference for every feature
318
+ - ✅ Documents accessibility, i18n, SEO requirements
319
+ - ✅ Captures edge cases and error states
320
+ - ✅ Defines success criteria for validation
321
+
322
+ **Each specification is a prompt.** Together they form the master prompt for your entire application.
323
+
324
+ ### Example: Login Scenario Specification
325
+
326
+ **Prompt → Code approach:**
327
+ > "Build a login screen with email and password"
328
+
329
+ **Agent must guess:**
330
+ - What happens on submit?
331
+ - What validation rules?
332
+ - What error messages?
333
+ - Where does it redirect?
334
+ - What if network fails?
335
+ - What about password reset?
336
+ - What about "remember me"?
337
+ - Mobile responsive how?
338
+ - Accessibility labels?
339
+ - Screen reader support?
340
+ - Keyboard navigation?
341
+ - Focus management?
342
+
343
+ **Result:** 12+ ambiguous decisions made without your input.
344
+
345
+ ---
346
+
347
+ **Prompt → Spec → Code approach:**
348
+
349
+ Specification documents exactly:
350
+
351
+ 1. **Default State**
352
+ - Empty email/password fields
353
+ - Submit button disabled until both valid
354
+ - "Remember me" checkbox (pre-checked)
355
+ - "Forgot password?" link below password
356
+
357
+ 2. **Validation Rules**
358
+ - Email: Standard format, real-time feedback
359
+ - Password: Minimum 8 characters, show/hide toggle
360
+ - Submit: Enabled only when both fields valid
361
+
362
+ 3. **Error States**
363
+ - Network failure: "Connection lost. Check your network." + Retry button
364
+ - Invalid credentials: "Email or password incorrect. Try again or reset password."
365
+ - Account locked: "Too many failed attempts. Account locked for 30 minutes."
366
+ - Too many attempts: "Please wait 5 minutes before trying again."
367
+
368
+ 4. **Success Flow**
369
+ - Loading state: Spinner on button, "Logging you in..."
370
+ - Redirect: Dashboard (new users) or Last Visited Page (returning)
371
+ - Session: 30 days if "Remember me", 24 hours if not
372
+
373
+ 5. **Accessibility**
374
+ - Tab order: Email → Password → Remember me → Forgot password → Submit
375
+ - ARIA: `aria-label="Email address"` on email input
376
+ - Screen reader: Announces errors immediately upon validation
377
+ - Focus management: On error, focus first invalid field
378
+ - Keyboard: Enter submits from any field
379
+
380
+ 6. **Responsive**
381
+ - Mobile: Full-width inputs, 16px minimum font (prevents zoom)
382
+ - Tablet: Centered card, max-width 480px
383
+ - Desktop: Centered card, max-width 480px
384
+ - Touch targets: 44px minimum height for all interactive elements
385
+
386
+ 7. **Edge Cases**
387
+ - Rate limiting: 5 attempts per 5 minutes per IP
388
+ - Password reset: Email link, expires in 1 hour
389
+ - SSO option: "Or sign in with Google" button below form
390
+ - Back button: Returns to landing page, doesn't re-submit
391
+ - Browser autofill: Compatible, doesn't break validation
392
+
393
+ **Now the agent has ZERO ambiguity.** It builds exactly what you specified.
394
+
395
+ **Result:** First attempt works. All edge cases handled. Accessibility built in. Tests pass.
396
+
397
+ ---
398
+
399
+ ## The Multi-Dimensional Benefits
400
+
401
+ Specifications enable things that "prompt to code" completely misses:
402
+
403
+ | Dimension | With Specs | Without Specs |
404
+ |-----------|------------|---------------|
405
+ | **Testing** | Test against spec, know what "correct" means | No reference, can't validate, just hope |
406
+ | **Accessibility** | ARIA labels, keyboard nav, screen reader documented | Forgotten or inconsistent, fails WCAG |
407
+ | **Internationalization** | String IDs, translation-ready, locale-aware | Hardcoded English everywhere, expensive fix |
408
+ | **SEO** | Semantic HTML, meta tags, structured data specified | Generic divs, no SEO thought, poor rankings |
409
+ | **Error handling** | Every error state documented and testable | Agent guesses, misses critical cases |
410
+ | **Consistency** | Same patterns throughout, design system enforced | Different approach each screen, chaos |
411
+ | **Maintenance** | Documentation exists, anyone can understand | "What does this even do?", knowledge silos |
412
+ | **Handoff** | Any dev/designer can understand the intent | Only original prompter knows, bus factor 1 |
413
+ | **Evolution** | Clear what changes when requirements change | Ripple effects unknown, fear of changes |
414
+ | **Onboarding** | New team members read specs and understand | Archaeological dig through code |
415
+
416
+ ### Example: Accessibility
417
+
418
+ **Prompt → Code:**
419
+ > "Make it accessible"
420
+
421
+ **What the agent does:**
422
+ - Adds some ARIA labels randomly
423
+ - Misses keyboard navigation
424
+ - Forgets focus management
425
+ - No screen reader testing
426
+ - Fails WCAG audit
427
+
428
+ **Result:** Inaccessible to users with disabilities, potential legal liability.
429
+
430
+ ---
431
+
432
+ **Prompt → Spec → Code:**
433
+
434
+ **Specification states:**
435
+ - Tab order: Email → Password → Submit → Forgot password
436
+ - ARIA: `aria-label="Email address"` on email field, `aria-label="Password"` on password field
437
+ - Screen reader: Announces errors immediately when validation fails
438
+ - Focus management: On error, focus moves to error message, then invalid field
439
+ - Keyboard: Enter key submits from any field, Escape clears form
440
+ - Error announcements: `role="alert"` on error messages for immediate announcement
441
+ - Loading state: `aria-busy="true"` during submission
442
+
443
+ **Agent implements EXACTLY this.** Nothing missed. Nothing guessed.
444
+
445
+ **Result:** WCAG 2.1 AA compliant, works for all users.
446
+
447
+ ---
448
+
449
+ ## Why Scenarios Before Code
450
+
451
+ You're creating a **blueprint**. A **digital twin** of your software before it exists.
452
+
453
+ **Scenario = Complete journey specification**
454
+ - What views does the user see?
455
+ - In what order?
456
+ - What data flows between them?
457
+ - What can go wrong at each step?
458
+ - How do we handle it?
459
+ - What's the user's emotional state?
460
+ - How do psychology drivers affect the flow?
461
+
462
+ ### Without Scenarios
463
+
464
+ **What happens:**
465
+ - Agent builds isolated screens with no journey context
466
+ - Navigation breaks between screens
467
+ - Data flow undefined or inconsistent
468
+ - Edge cases missed completely
469
+ - User gets stuck, can't complete tasks
470
+ - No consideration of emotional arc
471
+ - Psychology drivers ignored
472
+
473
+ **Example:** User completes login, but where do they land? Dashboard? Last page? Onboarding? The agent guesses.
474
+
475
+ ### With Scenarios
476
+
477
+ **What happens:**
478
+ - Agent understands the complete flow end-to-end
479
+ - Builds navigation correctly with proper routing
480
+ - Handles data persistence properly across views
481
+ - Covers edge cases from the spec
482
+ - User journey works end-to-end
483
+ - Emotional arc designed intentionally
484
+ - Psychology drivers shape each step
485
+
486
+ **Example:** Spec says "Returning users land on Last Visited Page. New users see Onboarding Step 1. Users from password reset see Success message then Dashboard." Agent implements exactly this.
487
+
488
+ ---
489
+
490
+ ## The OpenAI Model Spec Example
491
+
492
+ Sean Grove references OpenAI's "Model Spec" as a perfect example of this approach:
493
+
494
+ > "OpenAI put out their model spec, which is meant to describe how the model ought to behave. It's like 30 pages long, and it's almost incomprehensibly specific about the tiniest details of how it should behave."
495
+
496
+ **Why did OpenAI write 30 pages of specification?**
497
+
498
+ Because **code is a lossy projection from the specification.**
499
+
500
+ The Model Spec is the **source of truth**. The model behavior is the **compiled output**.
501
+
502
+ When behavior is wrong, they fix the **spec** and regenerate. They don't patch the output.
503
+
504
+ **WDS applies this same principle to your software:**
505
+
506
+ - Your specifications are the source of truth
507
+ - Your code is the compiled output
508
+ - When behavior is wrong, fix the spec and regenerate
509
+ - Don't patch code without updating specs
510
+
511
+ ---
512
+
513
+ ## The Credit Economics
514
+
515
+ ### Prompt → Code Burns Credits on Chaos
516
+
517
+ ```
518
+ Attempt 1: "Build login" → Wrong validation
519
+ Attempt 2: "Fix validation" → Breaks mobile
520
+ Attempt 3: "Fix mobile" → Lost accessibility
521
+ Attempt 4: "Fix accessibility" → Errors unclear
522
+ Attempt 5: "Better errors" → Now navigation broke
523
+ Attempt 6: "Fix navigation" → Forgot edge cases
524
+ Attempt 7: "Add edge cases" → Performance issues
525
+ Attempt 8: "Optimize" → Broke original functionality
526
+ Attempt 9: "Fix original" → Mobile broke again
527
+ Attempt 10: "Fix mobile again" → Lost the optimizations
528
+ ...
529
+ Attempt 20: Still not right, out of credits, frustrated
530
+ ```
531
+
532
+ **Credits spent:** Massive regeneration loop, endless debugging
533
+
534
+ **Time spent:** Days or weeks of back-and-forth
535
+
536
+ **Quality:** Inconsistent, fragile, missing features
537
+
538
+ ---
539
+
540
+ ### Prompt → Spec → Code Invests Credits Wisely
541
+
542
+ ```
543
+ Spec phase: Define exactly what you want (upfront investment)
544
+ Workshop 1: Business goals (15 min with Saga)
545
+ Workshop 2: Target groups (20 min with Saga)
546
+ Workshop 3: Driving forces (20 min with Saga)
547
+ Workshop 4: Prioritization (15 min with Saga)
548
+ Workshop 5: Feature scoring (15 min with Saga)
549
+ Scenario outlines: Define journeys (with Freya)
550
+ Specifications: Document every detail (with Freya)
551
+
552
+ Code phase: Agent builds it correctly (first time)
553
+ Freya reads specs
554
+ Generates code matching specifications exactly
555
+ Includes tests from specs
556
+
557
+ Test phase: Verify against spec (passes)
558
+ Run tests
559
+ Validate against specifications
560
+ Fix any discrepancies in specs, regenerate code
561
+ ```
562
+
563
+ **Credits spent:** One-time build, minimal fixes
564
+
565
+ **Time spent:** Organized effort, predictable timeline
566
+
567
+ **Quality:** Consistent, robust, complete features
568
+
569
+ ---
570
+
571
+ ## Professional vs Amateur
572
+
573
+ **The AI showoffs and scammers say:**
574
+ > "Just prompt to code! Look how fast!"
575
+
576
+ *They show you:*
577
+ - 10 seconds of prompting
578
+ - Code appearing
579
+ - "Look, it works!"
580
+
581
+ *They don't show you:*
582
+ - 10 hours of debugging
583
+ - Missing accessibility
584
+ - No error handling
585
+ - Broken on mobile
586
+ - Inconsistent patterns
587
+ - Untestable code
588
+ - No documentation
589
+ - Impossible to maintain
590
+
591
+ ---
592
+
593
+ **The professionals say:**
594
+ > "Spec first. Code second. Ship once."
595
+
596
+ *They show you:*
597
+ - Working software that passes tests
598
+ - Handles edge cases correctly
599
+ - Works for all users (accessibility)
600
+ - Performs well on all devices
601
+ - Can be maintained and evolved
602
+ - Documentation exists
603
+ - Team aligned on goals
604
+ - Strategic decisions traceable
605
+
606
+ ---
607
+
608
+ ## This Is Why WDS Works
609
+
610
+ **WDS forces you to think before you build:**
611
+
612
+ ```
613
+ 1. Strategy first
614
+
615
+ Trigger Map ensures you're solving the right problem
616
+ Business goals → Target groups → Driving forces → Priorities → Features
617
+
618
+ 2. Scenarios second
619
+
620
+ Outline the journeys before the screens
621
+ User flows → Data flows → Edge cases → Emotional arcs
622
+
623
+ 3. Specifications third
624
+
625
+ Document every detail before code
626
+ Default states → Interactions → Validations → Errors → Success → Accessibility
627
+
628
+ 4. Code fourth
629
+
630
+ Agents build exactly what's specified
631
+ TypeScript → React → Tests (or any other target)
632
+
633
+ 5. Test fifth
634
+
635
+ Verify against specs (they pass!)
636
+ Automated tests reference specifications
637
+ ```
638
+
639
+ **Each step is a meta-prompt for the next step.**
640
+
641
+ - The trigger map prompts scenarios
642
+ - The scenarios prompt specifications
643
+ - The specifications prompt code
644
+ - The code validates against specifications
645
+
646
+ **It's a coherent system, not random prompting.**
647
+
648
+ ---
649
+
650
+ ## The Spirit of BMad v6 Through Design
651
+
652
+ This philosophy—**specifications as the primary artifact**—represents:
653
+
654
+ > "The spirit of BMad v6 through the lens of a designer with 25 years experience."
655
+
656
+ ### What BMad v6 Taught Us
657
+
658
+ **BMad v6's innovation was conversational strategy:**
659
+ - Guided dialog instead of forms
660
+ - Questions that make you think deeply
661
+ - Documentation that emerges from conversation
662
+ - Strategic alignment before tactical decisions
663
+
664
+ **BMad v6 showed:** "Talk it through properly, the right artifacts emerge."
665
+
666
+ ### WDS Extends This to Design
667
+
668
+ **WDS applies the same principle to specifications:**
669
+ - Guided creation instead of blank-page syndrome
670
+ - Prompts that surface the right details
671
+ - Specifications that emerge from strategic foundation
672
+ - Complete blueprints before code
673
+
674
+ **WDS shows:** "Spec it properly, the right code emerges."
675
+
676
+ ---
677
+
678
+ ## Engineering as Precise Exploration
679
+
680
+ > "Engineering is the precise exploration by humans of software solutions to human problems."
681
+ >
682
+ > — Sean Grove
683
+
684
+ **This statement captures what WDS is designed for:**
685
+
686
+ - **Engineering:** Not just coding, but disciplined problem-solving
687
+ - **Precise:** Specifications create precision, not vague "just build it"
688
+ - **Exploration:** WDS supports iteration and discovery
689
+ - **By humans:** AI assists, but humans drive strategy and alignment
690
+ - **Software solutions:** Code is the output, not the primary work
691
+ - **To human problems:** Trigger Map ensures you solve real problems
692
+
693
+ **WDS provides the structure for this precise exploration:**
694
+
695
+ 1. **Discover the human problem** (Trigger Map)
696
+ 2. **Explore software solutions** (Scenarios)
697
+ 3. **Specify precisely** (Specifications)
698
+ 4. **Generate implementations** (Code)
699
+
700
+ ---
701
+
702
+ ## What Makes WDS Unique
703
+
704
+ Many methodologies exist. What makes WDS different?
705
+
706
+ ### 1. Specifications as Primary Artifact
707
+
708
+ **Other methodologies:**
709
+ - Code-first, docs later (or never)
710
+ - "Move fast and break things"
711
+ - Documentation as afterthought
712
+
713
+ **WDS:**
714
+ - Specs-first, code generated from specs
715
+ - "Think precisely and build right"
716
+ - Specifications as source code
717
+
718
+ ### 2. AI-Native from the Ground Up
719
+
720
+ **Other methodologies:**
721
+ - Designed for human developers
722
+ - AI retrofitted awkwardly
723
+ - "How do we use AI to help with our process?"
724
+
725
+ **WDS:**
726
+ - Designed for human-AI collaboration
727
+ - AI agents as first-class participants
728
+ - "How do we structure work so humans and AI each do what they're best at?"
729
+
730
+ ### 3. Psychology-Driven Strategy
731
+
732
+ **Other methodologies:**
733
+ - "Build features users ask for"
734
+ - Feature lists without strategic grounding
735
+ - Stakeholder opinions drive decisions
736
+
737
+ **WDS:**
738
+ - "Build features that address psychological drivers"
739
+ - Every feature traced to trigger map
740
+ - Data-driven strategic decisions
741
+
742
+ ### 4. Complete Traceability
743
+
744
+ **Other methodologies:**
745
+ - "Why did we build this feature?" → "Someone asked for it"
746
+ - Orphaned features with no clear purpose
747
+ - "That's how we've always done it"
748
+
749
+ **WDS:**
750
+ - "Why did we build this feature?" → Shows complete chain:
751
+ - Feature → Driver → Persona → Business Goal
752
+ - Every decision documented with reasoning
753
+ - Strategic changes cascade correctly
754
+
755
+ ---
756
+
757
+ ## Remember: Your App Exists in Specifications
758
+
759
+ **Let this sink in:**
760
+
761
+ Your software doesn't exist in code.
762
+
763
+ Your software exists in specifications.
764
+
765
+ The code is just one possible projection—one compiled output—of your specifications.
766
+
767
+ **When you need to:**
768
+ - Rewrite in a different framework → Keep specs, generate new code
769
+ - Add accessibility → Update specs, regenerate implementation
770
+ - Support new language → Update specs, generate translations
771
+ - Create documentation → Specs ARE the documentation
772
+ - Onboard new developer → They read specs, not code archaeology
773
+
774
+ **The specifications are the source of truth.**
775
+
776
+ The code is the artifact you ship, but specifications are the asset you maintain.
777
+
778
+ ---
779
+
780
+ ## Key Takeaways
781
+
782
+ ✅ **Code is 10-20% of value** — Structured communication (specs) is 80-90%
783
+
784
+ ✅ **Specifications are the primary artifact** — Code is a lossy projection from specs
785
+
786
+ ✅ **Specs align humans on goals** — This alignment is the majority of the work
787
+
788
+ ✅ **Specs are meta-prompts** — Digital twin / blueprint for autonomous AI agents
789
+
790
+ ✅ **Specs enable dimensions code misses** — Testing, accessibility, i18n, SEO, maintenance
791
+
792
+ ✅ **Specs save credits and time** — Build once right vs. endless regeneration loop
793
+
794
+ ✅ **Specs can target multiple outputs** — TypeScript, Rust, docs, tests, tutorials (like compiler targets)
795
+
796
+ ✅ **Professional approach:** Prompt → Spec → Code — Amateur approach: Prompt → Code → Debug hell
797
+
798
+ ✅ **WDS is AI-native** — Designed for human-AI collaboration from the ground up
799
+
800
+ ✅ **Spirit of BMad v6** — Guided conversation creates strategic artifacts, through designer lens
801
+
802
+ ✅ **Engineering is precise exploration** — Specs provide the precision, WDS provides the structure
803
+
804
+ ---
805
+
806
+ ## What's Next
807
+
808
+ Now that you understand WHY specifications matter, the next lessons show you HOW to create them effectively with Freya.
809
+
810
+ You'll learn:
811
+ - How to outline scenarios (user journeys)
812
+ - How to create conceptual sketches (visualize default states)
813
+ - How to build storyboards (show transformations)
814
+ - How to write detailed specifications (document every decision)
815
+
816
+ **Armed with this philosophy, you're ready to design professionally.**
817
+
818
+ ---
819
+
820
+ ## Further Reading
821
+
822
+ **Core framework (pure philosophy, no WDS-specific content):**
823
+ → [Model: Specifications as the New Code](../../models/specifications-as-the-new-code.md)
824
+
825
+ **Original talk:**
826
+ → [The New Code — Sean Grove, OpenAI (YouTube)](https://www.youtube.com/watch?v=8rABwKRsec4)
827
+
828
+ ---
829
+
830
+ **[Continue to Lesson 3: Meet Freya →](lesson-03-meet-freya.md)**
831
+
832
+ ---
833
+
834
+ [← Back to Lesson 1](lesson-01-entering-design.md) | [Module Overview](module-07-design-phase-overview.md)
835
+
836
+ *Part of Module 07: Design Phase*