frappe-builder 1.1.0-dev.8

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 (423) hide show
  1. package/.fb/state.db +0 -0
  2. package/AGENTS.md +167 -0
  3. package/README.md +89 -0
  4. package/_bmad/_config/agent-manifest.csv +10 -0
  5. package/_bmad/_config/agents/bmm-analyst.customize.yaml +41 -0
  6. package/_bmad/_config/agents/bmm-architect.customize.yaml +41 -0
  7. package/_bmad/_config/agents/bmm-dev.customize.yaml +41 -0
  8. package/_bmad/_config/agents/bmm-pm.customize.yaml +41 -0
  9. package/_bmad/_config/agents/bmm-qa.customize.yaml +41 -0
  10. package/_bmad/_config/agents/bmm-quick-flow-solo-dev.customize.yaml +41 -0
  11. package/_bmad/_config/agents/bmm-sm.customize.yaml +41 -0
  12. package/_bmad/_config/agents/bmm-tech-writer.customize.yaml +41 -0
  13. package/_bmad/_config/agents/bmm-ux-designer.customize.yaml +41 -0
  14. package/_bmad/_config/bmad-help.csv +47 -0
  15. package/_bmad/_config/files-manifest.csv +369 -0
  16. package/_bmad/_config/ides/claude-code.yaml +5 -0
  17. package/_bmad/_config/manifest.yaml +28 -0
  18. package/_bmad/_config/skill-manifest.csv +41 -0
  19. package/_bmad/_config/task-manifest.csv +1 -0
  20. package/_bmad/_config/tool-manifest.csv +1 -0
  21. package/_bmad/_config/workflow-manifest.csv +1 -0
  22. package/_bmad/_memory/config.yaml +11 -0
  23. package/_bmad/_memory/tech-writer-sidecar/documentation-standards.md +224 -0
  24. package/_bmad/bmm/agents/analyst.md +69 -0
  25. package/_bmad/bmm/agents/architect.md +59 -0
  26. package/_bmad/bmm/agents/bmad-skill-manifest.yaml +39 -0
  27. package/_bmad/bmm/agents/dev.md +66 -0
  28. package/_bmad/bmm/agents/pm.md +63 -0
  29. package/_bmad/bmm/agents/qa.md +89 -0
  30. package/_bmad/bmm/agents/quick-flow-solo-dev.md +61 -0
  31. package/_bmad/bmm/agents/sm.md +67 -0
  32. package/_bmad/bmm/agents/tech-writer/bmad-skill-manifest.yaml +3 -0
  33. package/_bmad/bmm/agents/tech-writer/tech-writer.md +67 -0
  34. package/_bmad/bmm/agents/ux-designer.md +58 -0
  35. package/_bmad/bmm/config.yaml +16 -0
  36. package/_bmad/bmm/data/project-context-template.md +26 -0
  37. package/_bmad/bmm/module-help.csv +32 -0
  38. package/_bmad/bmm/teams/default-party.csv +20 -0
  39. package/_bmad/bmm/teams/team-fullstack.yaml +12 -0
  40. package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/SKILL.md +6 -0
  41. package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/bmad-skill-manifest.yaml +1 -0
  42. package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/product-brief.template.md +10 -0
  43. package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-01-init.md +170 -0
  44. package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-01b-continue.md +158 -0
  45. package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-02-vision.md +193 -0
  46. package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-03-users.md +196 -0
  47. package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-04-metrics.md +199 -0
  48. package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-05-scope.md +213 -0
  49. package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-06-complete.md +159 -0
  50. package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/workflow.md +55 -0
  51. package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/SKILL.md +88 -0
  52. package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/agents/artifact-analyzer.md +60 -0
  53. package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/agents/opportunity-reviewer.md +44 -0
  54. package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/agents/skeptic-reviewer.md +44 -0
  55. package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/agents/web-researcher.md +49 -0
  56. package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/bmad-manifest.json +17 -0
  57. package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/bmad-skill-manifest.yaml +1 -0
  58. package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/prompts/contextual-discovery.md +57 -0
  59. package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/prompts/draft-and-review.md +86 -0
  60. package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/prompts/finalize.md +75 -0
  61. package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/prompts/guided-elicitation.md +70 -0
  62. package/_bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/resources/brief-template.md +60 -0
  63. package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/SKILL.md +6 -0
  64. package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/bmad-skill-manifest.yaml +1 -0
  65. package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/domain-steps/step-01-init.md +137 -0
  66. package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/domain-steps/step-02-domain-analysis.md +229 -0
  67. package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/domain-steps/step-03-competitive-landscape.md +238 -0
  68. package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/domain-steps/step-04-regulatory-focus.md +206 -0
  69. package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/domain-steps/step-05-technical-trends.md +234 -0
  70. package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/domain-steps/step-06-research-synthesis.md +444 -0
  71. package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/research.template.md +29 -0
  72. package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/workflow.md +49 -0
  73. package/_bmad/bmm/workflows/1-analysis/research/bmad-market-research/SKILL.md +6 -0
  74. package/_bmad/bmm/workflows/1-analysis/research/bmad-market-research/bmad-skill-manifest.yaml +1 -0
  75. package/_bmad/bmm/workflows/1-analysis/research/bmad-market-research/research.template.md +29 -0
  76. package/_bmad/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-01-init.md +184 -0
  77. package/_bmad/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-02-customer-behavior.md +239 -0
  78. package/_bmad/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-03-customer-pain-points.md +251 -0
  79. package/_bmad/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-04-customer-decisions.md +261 -0
  80. package/_bmad/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-05-competitive-analysis.md +173 -0
  81. package/_bmad/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-06-research-completion.md +478 -0
  82. package/_bmad/bmm/workflows/1-analysis/research/bmad-market-research/workflow.md +49 -0
  83. package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/SKILL.md +6 -0
  84. package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/bmad-skill-manifest.yaml +1 -0
  85. package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/research.template.md +29 -0
  86. package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/technical-steps/step-01-init.md +137 -0
  87. package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/technical-steps/step-02-technical-overview.md +239 -0
  88. package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/technical-steps/step-03-integration-patterns.md +248 -0
  89. package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/technical-steps/step-04-architectural-patterns.md +202 -0
  90. package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/technical-steps/step-05-implementation-research.md +233 -0
  91. package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/technical-steps/step-06-research-synthesis.md +487 -0
  92. package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/workflow.md +50 -0
  93. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +182 -0
  94. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +237 -0
  95. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +249 -0
  96. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +259 -0
  97. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +177 -0
  98. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +476 -0
  99. package/_bmad/bmm/workflows/1-analysis/research/research.template.md +29 -0
  100. package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/SKILL.md +6 -0
  101. package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/bmad-skill-manifest.yaml +1 -0
  102. package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-01-init.md +135 -0
  103. package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-01b-continue.md +127 -0
  104. package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-02-discovery.md +190 -0
  105. package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-03-core-experience.md +217 -0
  106. package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-04-emotional-response.md +220 -0
  107. package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-05-inspiration.md +235 -0
  108. package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-06-design-system.md +253 -0
  109. package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-07-defining-experience.md +255 -0
  110. package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-08-visual-foundation.md +225 -0
  111. package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-09-design-directions.md +225 -0
  112. package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-10-user-journeys.md +242 -0
  113. package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-11-component-strategy.md +249 -0
  114. package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-12-ux-patterns.md +238 -0
  115. package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-13-responsive-accessibility.md +265 -0
  116. package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-14-complete.md +171 -0
  117. package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/ux-design-template.md +13 -0
  118. package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/workflow.md +36 -0
  119. package/_bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/SKILL.md +6 -0
  120. package/_bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/bmad-skill-manifest.yaml +1 -0
  121. package/_bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/steps-e/step-e-01-discovery.md +242 -0
  122. package/_bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/steps-e/step-e-01b-legacy-conversion.md +204 -0
  123. package/_bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/steps-e/step-e-02-review.md +245 -0
  124. package/_bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/steps-e/step-e-03-edit.md +250 -0
  125. package/_bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/steps-e/step-e-04-complete.md +165 -0
  126. package/_bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/workflow.md +63 -0
  127. package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/SKILL.md +6 -0
  128. package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/bmad-skill-manifest.yaml +1 -0
  129. package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/data/domain-complexity.csv +15 -0
  130. package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/data/prd-purpose.md +197 -0
  131. package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/data/project-types.csv +11 -0
  132. package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-01-discovery.md +221 -0
  133. package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-02-format-detection.md +188 -0
  134. package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-02b-parity-check.md +206 -0
  135. package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-03-density-validation.md +171 -0
  136. package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-04-brief-coverage-validation.md +211 -0
  137. package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-05-measurability-validation.md +225 -0
  138. package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-06-traceability-validation.md +214 -0
  139. package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-07-implementation-leakage-validation.md +202 -0
  140. package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-08-domain-compliance-validation.md +240 -0
  141. package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-09-project-type-validation.md +260 -0
  142. package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-10-smart-validation.md +206 -0
  143. package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-11-holistic-quality-validation.md +261 -0
  144. package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-12-completeness-validation.md +239 -0
  145. package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-13-report-complete.md +229 -0
  146. package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/workflow.md +62 -0
  147. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/data/domain-complexity.csv +15 -0
  148. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/data/prd-purpose.md +197 -0
  149. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/data/project-types.csv +11 -0
  150. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-01-discovery.md +224 -0
  151. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-02-format-detection.md +191 -0
  152. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-02b-parity-check.md +209 -0
  153. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-03-density-validation.md +174 -0
  154. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-04-brief-coverage-validation.md +214 -0
  155. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-05-measurability-validation.md +228 -0
  156. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-06-traceability-validation.md +217 -0
  157. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-07-implementation-leakage-validation.md +205 -0
  158. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-08-domain-compliance-validation.md +243 -0
  159. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-09-project-type-validation.md +263 -0
  160. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-10-smart-validation.md +209 -0
  161. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-11-holistic-quality-validation.md +264 -0
  162. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-12-completeness-validation.md +242 -0
  163. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-13-report-complete.md +232 -0
  164. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/workflow-validate-prd.md +65 -0
  165. package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/SKILL.md +6 -0
  166. package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/bmad-skill-manifest.yaml +1 -0
  167. package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/steps/step-01-document-discovery.md +179 -0
  168. package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/steps/step-02-prd-analysis.md +168 -0
  169. package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/steps/step-03-epic-coverage-validation.md +169 -0
  170. package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/steps/step-04-ux-alignment.md +129 -0
  171. package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/steps/step-05-epic-quality-review.md +241 -0
  172. package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/steps/step-06-final-assessment.md +126 -0
  173. package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/templates/readiness-report-template.md +4 -0
  174. package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/workflow.md +49 -0
  175. package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/SKILL.md +6 -0
  176. package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/architecture-decision-template.md +12 -0
  177. package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/bmad-skill-manifest.yaml +1 -0
  178. package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/data/domain-complexity.csv +13 -0
  179. package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/data/project-types.csv +7 -0
  180. package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-01-init.md +153 -0
  181. package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-01b-continue.md +173 -0
  182. package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-02-context.md +224 -0
  183. package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-03-starter.md +329 -0
  184. package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-04-decisions.md +318 -0
  185. package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-05-patterns.md +359 -0
  186. package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-06-structure.md +379 -0
  187. package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-07-validation.md +359 -0
  188. package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-08-complete.md +76 -0
  189. package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/workflow.md +38 -0
  190. package/_bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/SKILL.md +6 -0
  191. package/_bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/bmad-skill-manifest.yaml +1 -0
  192. package/_bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/steps/step-01-validate-prerequisites.md +255 -0
  193. package/_bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/steps/step-02-design-epics.md +212 -0
  194. package/_bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/steps/step-03-create-stories.md +255 -0
  195. package/_bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/steps/step-04-final-validation.md +131 -0
  196. package/_bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/templates/epics-template.md +61 -0
  197. package/_bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/workflow.md +53 -0
  198. package/_bmad/bmm/workflows/4-implementation/bmad-code-review/SKILL.md +6 -0
  199. package/_bmad/bmm/workflows/4-implementation/bmad-code-review/bmad-skill-manifest.yaml +1 -0
  200. package/_bmad/bmm/workflows/4-implementation/bmad-code-review/steps/step-01-gather-context.md +61 -0
  201. package/_bmad/bmm/workflows/4-implementation/bmad-code-review/steps/step-02-review.md +41 -0
  202. package/_bmad/bmm/workflows/4-implementation/bmad-code-review/steps/step-03-triage.md +50 -0
  203. package/_bmad/bmm/workflows/4-implementation/bmad-code-review/steps/step-04-present.md +38 -0
  204. package/_bmad/bmm/workflows/4-implementation/bmad-code-review/workflow.md +54 -0
  205. package/_bmad/bmm/workflows/4-implementation/bmad-correct-course/SKILL.md +6 -0
  206. package/_bmad/bmm/workflows/4-implementation/bmad-correct-course/bmad-skill-manifest.yaml +1 -0
  207. package/_bmad/bmm/workflows/4-implementation/bmad-correct-course/checklist.md +288 -0
  208. package/_bmad/bmm/workflows/4-implementation/bmad-correct-course/workflow.md +267 -0
  209. package/_bmad/bmm/workflows/4-implementation/bmad-create-story/SKILL.md +6 -0
  210. package/_bmad/bmm/workflows/4-implementation/bmad-create-story/bmad-skill-manifest.yaml +1 -0
  211. package/_bmad/bmm/workflows/4-implementation/bmad-create-story/checklist.md +357 -0
  212. package/_bmad/bmm/workflows/4-implementation/bmad-create-story/discover-inputs.md +88 -0
  213. package/_bmad/bmm/workflows/4-implementation/bmad-create-story/template.md +49 -0
  214. package/_bmad/bmm/workflows/4-implementation/bmad-create-story/workflow.md +380 -0
  215. package/_bmad/bmm/workflows/4-implementation/bmad-dev-story/SKILL.md +6 -0
  216. package/_bmad/bmm/workflows/4-implementation/bmad-dev-story/bmad-skill-manifest.yaml +1 -0
  217. package/_bmad/bmm/workflows/4-implementation/bmad-dev-story/checklist.md +80 -0
  218. package/_bmad/bmm/workflows/4-implementation/bmad-dev-story/workflow.md +450 -0
  219. package/_bmad/bmm/workflows/4-implementation/bmad-retrospective/SKILL.md +6 -0
  220. package/_bmad/bmm/workflows/4-implementation/bmad-retrospective/bmad-skill-manifest.yaml +1 -0
  221. package/_bmad/bmm/workflows/4-implementation/bmad-retrospective/workflow.md +1479 -0
  222. package/_bmad/bmm/workflows/4-implementation/bmad-sprint-planning/SKILL.md +6 -0
  223. package/_bmad/bmm/workflows/4-implementation/bmad-sprint-planning/bmad-skill-manifest.yaml +1 -0
  224. package/_bmad/bmm/workflows/4-implementation/bmad-sprint-planning/checklist.md +33 -0
  225. package/_bmad/bmm/workflows/4-implementation/bmad-sprint-planning/sprint-status-template.yaml +56 -0
  226. package/_bmad/bmm/workflows/4-implementation/bmad-sprint-planning/workflow.md +263 -0
  227. package/_bmad/bmm/workflows/4-implementation/bmad-sprint-status/SKILL.md +6 -0
  228. package/_bmad/bmm/workflows/4-implementation/bmad-sprint-status/bmad-skill-manifest.yaml +1 -0
  229. package/_bmad/bmm/workflows/4-implementation/bmad-sprint-status/workflow.md +261 -0
  230. package/_bmad/bmm/workflows/bmad-document-project/SKILL.md +6 -0
  231. package/_bmad/bmm/workflows/bmad-document-project/bmad-skill-manifest.yaml +1 -0
  232. package/_bmad/bmm/workflows/bmad-document-project/checklist.md +245 -0
  233. package/_bmad/bmm/workflows/bmad-document-project/documentation-requirements.csv +12 -0
  234. package/_bmad/bmm/workflows/bmad-document-project/instructions.md +128 -0
  235. package/_bmad/bmm/workflows/bmad-document-project/templates/deep-dive-template.md +345 -0
  236. package/_bmad/bmm/workflows/bmad-document-project/templates/index-template.md +169 -0
  237. package/_bmad/bmm/workflows/bmad-document-project/templates/project-overview-template.md +103 -0
  238. package/_bmad/bmm/workflows/bmad-document-project/templates/project-scan-report-schema.json +160 -0
  239. package/_bmad/bmm/workflows/bmad-document-project/templates/source-tree-template.md +135 -0
  240. package/_bmad/bmm/workflows/bmad-document-project/workflow.md +27 -0
  241. package/_bmad/bmm/workflows/bmad-document-project/workflows/deep-dive-instructions.md +299 -0
  242. package/_bmad/bmm/workflows/bmad-document-project/workflows/deep-dive-workflow.md +34 -0
  243. package/_bmad/bmm/workflows/bmad-document-project/workflows/full-scan-instructions.md +1107 -0
  244. package/_bmad/bmm/workflows/bmad-document-project/workflows/full-scan-workflow.md +34 -0
  245. package/_bmad/bmm/workflows/bmad-generate-project-context/SKILL.md +6 -0
  246. package/_bmad/bmm/workflows/bmad-generate-project-context/bmad-skill-manifest.yaml +1 -0
  247. package/_bmad/bmm/workflows/bmad-generate-project-context/project-context-template.md +21 -0
  248. package/_bmad/bmm/workflows/bmad-generate-project-context/steps/step-01-discover.md +186 -0
  249. package/_bmad/bmm/workflows/bmad-generate-project-context/steps/step-02-generate.md +321 -0
  250. package/_bmad/bmm/workflows/bmad-generate-project-context/steps/step-03-complete.md +278 -0
  251. package/_bmad/bmm/workflows/bmad-generate-project-context/workflow.md +43 -0
  252. package/_bmad/bmm/workflows/bmad-qa-generate-e2e-tests/SKILL.md +6 -0
  253. package/_bmad/bmm/workflows/bmad-qa-generate-e2e-tests/bmad-skill-manifest.yaml +1 -0
  254. package/_bmad/bmm/workflows/bmad-qa-generate-e2e-tests/checklist.md +33 -0
  255. package/_bmad/bmm/workflows/bmad-qa-generate-e2e-tests/workflow.md +136 -0
  256. package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/SKILL.md +6 -0
  257. package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/bmad-skill-manifest.yaml +1 -0
  258. package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-01-mode-detection.md +169 -0
  259. package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-02-context-gathering.md +114 -0
  260. package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-03-execute.md +107 -0
  261. package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-04-self-check.md +107 -0
  262. package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-05-adversarial-review.md +94 -0
  263. package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-06-resolve-findings.md +144 -0
  264. package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/workflow.md +38 -0
  265. package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/SKILL.md +6 -0
  266. package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/bmad-skill-manifest.yaml +1 -0
  267. package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-01-clarify-and-route.md +51 -0
  268. package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-02-plan.md +35 -0
  269. package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-03-implement.md +33 -0
  270. package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-04-review.md +50 -0
  271. package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-05-present.md +17 -0
  272. package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/tech-spec-template.md +90 -0
  273. package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/workflow.md +79 -0
  274. package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/SKILL.md +6 -0
  275. package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/bmad-skill-manifest.yaml +1 -0
  276. package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/steps/step-01-understand.md +185 -0
  277. package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/steps/step-02-investigate.md +140 -0
  278. package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/steps/step-03-generate.md +123 -0
  279. package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/steps/step-04-review.md +195 -0
  280. package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/tech-spec-template.md +74 -0
  281. package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/workflow.md +73 -0
  282. package/_bmad/cis/config.yaml +12 -0
  283. package/_bmad/cis/module-help.csv +6 -0
  284. package/_bmad/cis/skills/bmad-cis-agent-brainstorming-coach/SKILL.md +51 -0
  285. package/_bmad/cis/skills/bmad-cis-agent-brainstorming-coach/bmad-skill-manifest.yaml +11 -0
  286. package/_bmad/cis/skills/bmad-cis-agent-creative-problem-solver/SKILL.md +51 -0
  287. package/_bmad/cis/skills/bmad-cis-agent-creative-problem-solver/bmad-skill-manifest.yaml +11 -0
  288. package/_bmad/cis/skills/bmad-cis-agent-design-thinking-coach/SKILL.md +52 -0
  289. package/_bmad/cis/skills/bmad-cis-agent-design-thinking-coach/bmad-skill-manifest.yaml +11 -0
  290. package/_bmad/cis/skills/bmad-cis-agent-innovation-strategist/SKILL.md +51 -0
  291. package/_bmad/cis/skills/bmad-cis-agent-innovation-strategist/bmad-skill-manifest.yaml +11 -0
  292. package/_bmad/cis/skills/bmad-cis-agent-presentation-master/SKILL.md +62 -0
  293. package/_bmad/cis/skills/bmad-cis-agent-presentation-master/bmad-skill-manifest.yaml +11 -0
  294. package/_bmad/cis/skills/bmad-cis-agent-storyteller/SKILL.md +56 -0
  295. package/_bmad/cis/skills/bmad-cis-agent-storyteller/bmad-skill-manifest.yaml +11 -0
  296. package/_bmad/cis/skills/bmad-cis-agent-storyteller/stories-told.md +7 -0
  297. package/_bmad/cis/skills/bmad-cis-agent-storyteller/story-preferences.md +7 -0
  298. package/_bmad/cis/skills/bmad-cis-design-thinking/SKILL.md +6 -0
  299. package/_bmad/cis/skills/bmad-cis-design-thinking/bmad-skill-manifest.yaml +1 -0
  300. package/_bmad/cis/skills/bmad-cis-design-thinking/design-methods.csv +31 -0
  301. package/_bmad/cis/skills/bmad-cis-design-thinking/template.md +111 -0
  302. package/_bmad/cis/skills/bmad-cis-design-thinking/workflow.md +242 -0
  303. package/_bmad/cis/skills/bmad-cis-innovation-strategy/SKILL.md +6 -0
  304. package/_bmad/cis/skills/bmad-cis-innovation-strategy/bmad-skill-manifest.yaml +1 -0
  305. package/_bmad/cis/skills/bmad-cis-innovation-strategy/innovation-frameworks.csv +31 -0
  306. package/_bmad/cis/skills/bmad-cis-innovation-strategy/template.md +189 -0
  307. package/_bmad/cis/skills/bmad-cis-innovation-strategy/workflow.md +315 -0
  308. package/_bmad/cis/skills/bmad-cis-problem-solving/SKILL.md +6 -0
  309. package/_bmad/cis/skills/bmad-cis-problem-solving/bmad-skill-manifest.yaml +1 -0
  310. package/_bmad/cis/skills/bmad-cis-problem-solving/solving-methods.csv +31 -0
  311. package/_bmad/cis/skills/bmad-cis-problem-solving/template.md +165 -0
  312. package/_bmad/cis/skills/bmad-cis-problem-solving/workflow.md +291 -0
  313. package/_bmad/cis/skills/bmad-cis-storytelling/SKILL.md +6 -0
  314. package/_bmad/cis/skills/bmad-cis-storytelling/bmad-skill-manifest.yaml +1 -0
  315. package/_bmad/cis/skills/bmad-cis-storytelling/story-types.csv +26 -0
  316. package/_bmad/cis/skills/bmad-cis-storytelling/template.md +113 -0
  317. package/_bmad/cis/skills/bmad-cis-storytelling/workflow.md +321 -0
  318. package/_bmad/core/config.yaml +9 -0
  319. package/_bmad/core/module-help.csv +11 -0
  320. package/_bmad/core/skills/bmad-advanced-elicitation/SKILL.md +6 -0
  321. package/_bmad/core/skills/bmad-advanced-elicitation/bmad-skill-manifest.yaml +1 -0
  322. package/_bmad/core/skills/bmad-advanced-elicitation/methods.csv +51 -0
  323. package/_bmad/core/skills/bmad-advanced-elicitation/workflow.md +135 -0
  324. package/_bmad/core/skills/bmad-brainstorming/SKILL.md +6 -0
  325. package/_bmad/core/skills/bmad-brainstorming/bmad-skill-manifest.yaml +1 -0
  326. package/_bmad/core/skills/bmad-brainstorming/brain-methods.csv +62 -0
  327. package/_bmad/core/skills/bmad-brainstorming/steps/step-01-session-setup.md +214 -0
  328. package/_bmad/core/skills/bmad-brainstorming/steps/step-01b-continue.md +124 -0
  329. package/_bmad/core/skills/bmad-brainstorming/steps/step-02a-user-selected.md +229 -0
  330. package/_bmad/core/skills/bmad-brainstorming/steps/step-02b-ai-recommended.md +239 -0
  331. package/_bmad/core/skills/bmad-brainstorming/steps/step-02c-random-selection.md +211 -0
  332. package/_bmad/core/skills/bmad-brainstorming/steps/step-02d-progressive-flow.md +266 -0
  333. package/_bmad/core/skills/bmad-brainstorming/steps/step-03-technique-execution.md +401 -0
  334. package/_bmad/core/skills/bmad-brainstorming/steps/step-04-idea-organization.md +305 -0
  335. package/_bmad/core/skills/bmad-brainstorming/template.md +15 -0
  336. package/_bmad/core/skills/bmad-brainstorming/workflow.md +53 -0
  337. package/_bmad/core/skills/bmad-distillator/SKILL.md +178 -0
  338. package/_bmad/core/skills/bmad-distillator/agents/distillate-compressor.md +116 -0
  339. package/_bmad/core/skills/bmad-distillator/agents/round-trip-reconstructor.md +68 -0
  340. package/_bmad/core/skills/bmad-distillator/bmad-skill-manifest.yaml +15 -0
  341. package/_bmad/core/skills/bmad-distillator/resources/compression-rules.md +51 -0
  342. package/_bmad/core/skills/bmad-distillator/resources/distillate-format-reference.md +227 -0
  343. package/_bmad/core/skills/bmad-distillator/resources/splitting-strategy.md +78 -0
  344. package/_bmad/core/skills/bmad-editorial-review-prose/SKILL.md +6 -0
  345. package/_bmad/core/skills/bmad-editorial-review-prose/bmad-skill-manifest.yaml +1 -0
  346. package/_bmad/core/skills/bmad-editorial-review-prose/workflow.md +81 -0
  347. package/_bmad/core/skills/bmad-editorial-review-structure/SKILL.md +6 -0
  348. package/_bmad/core/skills/bmad-editorial-review-structure/bmad-skill-manifest.yaml +1 -0
  349. package/_bmad/core/skills/bmad-editorial-review-structure/workflow.md +174 -0
  350. package/_bmad/core/skills/bmad-help/SKILL.md +6 -0
  351. package/_bmad/core/skills/bmad-help/bmad-skill-manifest.yaml +1 -0
  352. package/_bmad/core/skills/bmad-help/workflow.md +88 -0
  353. package/_bmad/core/skills/bmad-index-docs/SKILL.md +6 -0
  354. package/_bmad/core/skills/bmad-index-docs/bmad-skill-manifest.yaml +1 -0
  355. package/_bmad/core/skills/bmad-index-docs/workflow.md +61 -0
  356. package/_bmad/core/skills/bmad-party-mode/SKILL.md +6 -0
  357. package/_bmad/core/skills/bmad-party-mode/bmad-skill-manifest.yaml +1 -0
  358. package/_bmad/core/skills/bmad-party-mode/steps/step-01-agent-loading.md +138 -0
  359. package/_bmad/core/skills/bmad-party-mode/steps/step-02-discussion-orchestration.md +187 -0
  360. package/_bmad/core/skills/bmad-party-mode/steps/step-03-graceful-exit.md +167 -0
  361. package/_bmad/core/skills/bmad-party-mode/workflow.md +190 -0
  362. package/_bmad/core/skills/bmad-review-adversarial-general/SKILL.md +6 -0
  363. package/_bmad/core/skills/bmad-review-adversarial-general/bmad-skill-manifest.yaml +1 -0
  364. package/_bmad/core/skills/bmad-review-adversarial-general/workflow.md +32 -0
  365. package/_bmad/core/skills/bmad-review-edge-case-hunter/SKILL.md +6 -0
  366. package/_bmad/core/skills/bmad-review-edge-case-hunter/bmad-skill-manifest.yaml +1 -0
  367. package/_bmad/core/skills/bmad-review-edge-case-hunter/workflow.md +62 -0
  368. package/_bmad/core/skills/bmad-shard-doc/SKILL.md +6 -0
  369. package/_bmad/core/skills/bmad-shard-doc/bmad-skill-manifest.yaml +1 -0
  370. package/_bmad/core/skills/bmad-shard-doc/workflow.md +100 -0
  371. package/_bmad/core/tasks/bmad-create-prd/SKILL.md +6 -0
  372. package/_bmad/core/tasks/bmad-create-prd/bmad-skill-manifest.yaml +1 -0
  373. package/_bmad/core/tasks/bmad-create-prd/data/domain-complexity.csv +15 -0
  374. package/_bmad/core/tasks/bmad-create-prd/data/prd-purpose.md +197 -0
  375. package/_bmad/core/tasks/bmad-create-prd/data/project-types.csv +11 -0
  376. package/_bmad/core/tasks/bmad-create-prd/steps-c/step-01-init.md +178 -0
  377. package/_bmad/core/tasks/bmad-create-prd/steps-c/step-01b-continue.md +161 -0
  378. package/_bmad/core/tasks/bmad-create-prd/steps-c/step-02-discovery.md +208 -0
  379. package/_bmad/core/tasks/bmad-create-prd/steps-c/step-02b-vision.md +142 -0
  380. package/_bmad/core/tasks/bmad-create-prd/steps-c/step-02c-executive-summary.md +158 -0
  381. package/_bmad/core/tasks/bmad-create-prd/steps-c/step-03-success.md +214 -0
  382. package/_bmad/core/tasks/bmad-create-prd/steps-c/step-04-journeys.md +201 -0
  383. package/_bmad/core/tasks/bmad-create-prd/steps-c/step-05-domain.md +194 -0
  384. package/_bmad/core/tasks/bmad-create-prd/steps-c/step-06-innovation.md +211 -0
  385. package/_bmad/core/tasks/bmad-create-prd/steps-c/step-07-project-type.md +222 -0
  386. package/_bmad/core/tasks/bmad-create-prd/steps-c/step-08-scoping.md +216 -0
  387. package/_bmad/core/tasks/bmad-create-prd/steps-c/step-09-functional.md +219 -0
  388. package/_bmad/core/tasks/bmad-create-prd/steps-c/step-10-nonfunctional.md +230 -0
  389. package/_bmad/core/tasks/bmad-create-prd/steps-c/step-11-polish.md +221 -0
  390. package/_bmad/core/tasks/bmad-create-prd/steps-c/step-12-complete.md +115 -0
  391. package/_bmad/core/tasks/bmad-create-prd/templates/prd-template.md +10 -0
  392. package/_bmad/core/tasks/bmad-create-prd/workflow.md +62 -0
  393. package/config/allowed-commands.ts +39 -0
  394. package/config/defaults.ts +19 -0
  395. package/config/loader.ts +105 -0
  396. package/extensions/frappe-gates.ts +160 -0
  397. package/extensions/frappe-session.ts +324 -0
  398. package/extensions/frappe-state.ts +235 -0
  399. package/extensions/frappe-tools.ts +278 -0
  400. package/extensions/frappe-ui.ts +119 -0
  401. package/extensions/frappe-workflow.ts +85 -0
  402. package/gates/coverage-check.ts +37 -0
  403. package/gates/frappe-native-check.ts +65 -0
  404. package/gates/permission-check.ts +65 -0
  405. package/gates/query-check.ts +40 -0
  406. package/gates/server-side-check.ts +67 -0
  407. package/gates/style-check.ts +92 -0
  408. package/gates/types.ts +13 -0
  409. package/package.json +43 -0
  410. package/project-context.md +146 -0
  411. package/state/db.ts +85 -0
  412. package/state/fsm.ts +68 -0
  413. package/state/journal.ts +164 -0
  414. package/state/schema.ts +41 -0
  415. package/tools/agent-tools.ts +60 -0
  416. package/tools/bench-tools.ts +63 -0
  417. package/tools/context-sandbox.ts +31 -0
  418. package/tools/debug-tools.ts +12 -0
  419. package/tools/feature-tools.ts +126 -0
  420. package/tools/frappe-context7.ts +70 -0
  421. package/tools/frappe-query-tools.ts +47 -0
  422. package/tools/project-tools.ts +107 -0
  423. package/tsdown.config.ts +6 -0
@@ -0,0 +1,240 @@
1
+ ---
2
+ # File references (ONLY variables used in this step)
3
+ nextStepFile: './step-v-09-project-type-validation.md'
4
+ prdFile: '{prd_file_path}'
5
+ prdFrontmatter: '{prd_frontmatter}'
6
+ validationReportPath: '{validation_report_path}'
7
+ domainComplexityData: '../data/domain-complexity.csv'
8
+ ---
9
+
10
+ # Step 8: Domain Compliance Validation
11
+
12
+ ## STEP GOAL:
13
+
14
+ Validate domain-specific requirements are present for high-complexity domains (Healthcare, Fintech, GovTech, etc.), ensuring regulatory and compliance requirements are properly documented.
15
+
16
+ ## MANDATORY EXECUTION RULES (READ FIRST):
17
+
18
+ ### Universal Rules:
19
+
20
+ - 🛑 NEVER generate content without user input
21
+ - 📖 CRITICAL: Read the complete step file before taking any action
22
+ - 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
23
+ - 📋 YOU ARE A FACILITATOR, not a content generator
24
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
25
+
26
+ ### Role Reinforcement:
27
+
28
+ - ✅ You are a Validation Architect and Quality Assurance Specialist
29
+ - ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
30
+ - ✅ We engage in systematic validation, not collaborative dialogue
31
+ - ✅ You bring domain expertise and compliance knowledge
32
+ - ✅ This step runs autonomously - no user input needed
33
+
34
+ ### Step-Specific Rules:
35
+
36
+ - 🎯 Focus ONLY on domain-specific compliance requirements
37
+ - 🚫 FORBIDDEN to validate other aspects in this step
38
+ - 💬 Approach: Conditional validation based on domain classification
39
+ - 🚪 This is a validation sequence step - auto-proceeds when complete
40
+
41
+ ## EXECUTION PROTOCOLS:
42
+
43
+ - 🎯 Check classification.domain from PRD frontmatter
44
+ - 💬 If low complexity (general): Skip detailed checks
45
+ - 🎯 If high complexity: Validate required special sections
46
+ - 💾 Append compliance findings to validation report
47
+ - 📖 Display "Proceeding to next check..." and load next step
48
+ - 🚫 FORBIDDEN to pause or request user input
49
+
50
+ ## CONTEXT BOUNDARIES:
51
+
52
+ - Available context: PRD file with frontmatter classification, validation report
53
+ - Focus: Domain compliance only (conditional on domain complexity)
54
+ - Limits: Don't validate other aspects, conditional execution
55
+ - Dependencies: Steps 2-7 completed - format and requirements validation done
56
+
57
+ ## MANDATORY SEQUENCE
58
+
59
+ **CRITICAL:** Follow this sequence exactly. Do not skip, reorder, or improvise unless user explicitly requests a change.
60
+
61
+ ### 1. Load Domain Complexity Data
62
+
63
+ Load and read the complete file at:
64
+ `{domainComplexityData}` (../data/domain-complexity.csv)
65
+
66
+ This CSV contains:
67
+ - Domain classifications and complexity levels (high/medium/low)
68
+ - Required special sections for each domain
69
+ - Key concerns and requirements for regulated industries
70
+
71
+ Internalize this data - it drives which domains require special compliance sections.
72
+
73
+ ### 2. Extract Domain Classification
74
+
75
+ From PRD frontmatter, extract:
76
+ - `classification.domain` - what domain is this PRD for?
77
+
78
+ **If no domain classification found:**
79
+ Treat as "general" (low complexity) and proceed to step 4
80
+
81
+ ### 2. Determine Domain Complexity
82
+
83
+ **Low complexity domains (skip detailed checks):**
84
+ - General
85
+ - Consumer apps (standard e-commerce, social, productivity)
86
+ - Content websites
87
+ - Business tools (standard)
88
+
89
+ **High complexity domains (require special sections):**
90
+ - Healthcare / Healthtech
91
+ - Fintech / Financial services
92
+ - GovTech / Public sector
93
+ - EdTech (educational records, accredited courses)
94
+ - Legal tech
95
+ - Other regulated domains
96
+
97
+ ### 3. For High-Complexity Domains: Validate Required Special Sections
98
+
99
+ **Attempt subprocess validation:**
100
+
101
+ "Perform domain compliance validation for {domain}:
102
+
103
+ Based on {domain} requirements, check PRD for:
104
+
105
+ **Healthcare:**
106
+ - Clinical Requirements section
107
+ - Regulatory Pathway (FDA, HIPAA, etc.)
108
+ - Safety Measures
109
+ - HIPAA Compliance (data privacy, security)
110
+ - Patient safety considerations
111
+
112
+ **Fintech:**
113
+ - Compliance Matrix (SOC2, PCI-DSS, GDPR, etc.)
114
+ - Security Architecture
115
+ - Audit Requirements
116
+ - Fraud Prevention measures
117
+ - Financial transaction handling
118
+
119
+ **GovTech:**
120
+ - Accessibility Standards (WCAG 2.1 AA, Section 508)
121
+ - Procurement Compliance
122
+ - Security Clearance requirements
123
+ - Data residency requirements
124
+
125
+ **Other regulated domains:**
126
+ - Check for domain-specific regulatory sections
127
+ - Compliance requirements
128
+ - Special considerations
129
+
130
+ For each required section:
131
+ - Is it present in PRD?
132
+ - Is it adequately documented?
133
+ - Note any gaps
134
+
135
+ Return compliance matrix with presence/adequacy assessment."
136
+
137
+ **Graceful degradation (if no Task tool):**
138
+ - Manually check for required sections based on domain
139
+ - List present sections and missing sections
140
+ - Assess adequacy of documentation
141
+
142
+ ### 5. For Low-Complexity Domains: Skip Detailed Checks
143
+
144
+ Append to validation report:
145
+ ```markdown
146
+ ## Domain Compliance Validation
147
+
148
+ **Domain:** {domain}
149
+ **Complexity:** Low (general/standard)
150
+ **Assessment:** N/A - No special domain compliance requirements
151
+
152
+ **Note:** This PRD is for a standard domain without regulatory compliance requirements.
153
+ ```
154
+
155
+ Display: "**Domain Compliance Validation Skipped**
156
+
157
+ Domain: {domain} (low complexity)
158
+
159
+ **Proceeding to next validation check...**"
160
+
161
+ Without delay, read fully and follow: {nextStepFile}
162
+
163
+ ### 6. Report Compliance Findings (High-Complexity Domains)
164
+
165
+ Append to validation report:
166
+
167
+ ```markdown
168
+ ## Domain Compliance Validation
169
+
170
+ **Domain:** {domain}
171
+ **Complexity:** High (regulated)
172
+
173
+ ### Required Special Sections
174
+
175
+ **{Section 1 Name}:** [Present/Missing/Adequate]
176
+ {If missing or inadequate: Note specific gaps}
177
+
178
+ **{Section 2 Name}:** [Present/Missing/Adequate]
179
+ {If missing or inadequate: Note specific gaps}
180
+
181
+ [Continue for all required sections]
182
+
183
+ ### Compliance Matrix
184
+
185
+ | Requirement | Status | Notes |
186
+ |-------------|--------|-------|
187
+ | {Requirement 1} | [Met/Partial/Missing] | {Notes} |
188
+ | {Requirement 2} | [Met/Partial/Missing] | {Notes} |
189
+ [... continue for all requirements]
190
+
191
+ ### Summary
192
+
193
+ **Required Sections Present:** {count}/{total}
194
+ **Compliance Gaps:** {count}
195
+
196
+ **Severity:** [Critical if missing regulatory sections, Warning if incomplete, Pass if complete]
197
+
198
+ **Recommendation:**
199
+ [If Critical] "PRD is missing required domain-specific compliance sections. These are essential for {domain} products."
200
+ [If Warning] "Some domain compliance sections are incomplete. Strengthen documentation for full compliance."
201
+ [If Pass] "All required domain compliance sections are present and adequately documented."
202
+ ```
203
+
204
+ ### 7. Display Progress and Auto-Proceed
205
+
206
+ Display: "**Domain Compliance Validation Complete**
207
+
208
+ Domain: {domain} ({complexity})
209
+ Compliance Status: {status}
210
+
211
+ **Proceeding to next validation check...**"
212
+
213
+ Without delay, read fully and follow: {nextStepFile} (step-v-09-project-type-validation.md)
214
+
215
+ ---
216
+
217
+ ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
218
+
219
+ ### ✅ SUCCESS:
220
+
221
+ - Domain classification extracted correctly
222
+ - Complexity assessed appropriately
223
+ - Low complexity domains: Skipped with clear "N/A" documentation
224
+ - High complexity domains: All required sections checked
225
+ - Compliance matrix built with status for each requirement
226
+ - Severity assessed correctly
227
+ - Findings reported to validation report
228
+ - Auto-proceeds to next validation step
229
+ - Subprocess attempted with graceful degradation
230
+
231
+ ### ❌ SYSTEM FAILURE:
232
+
233
+ - Not checking domain classification before proceeding
234
+ - Performing detailed checks on low complexity domains
235
+ - For high complexity: missing required section checks
236
+ - Not building compliance matrix
237
+ - Not reporting findings to validation report
238
+ - Not auto-proceeding
239
+
240
+ **Master Rule:** Domain compliance is conditional. High-complexity domains require special sections - low complexity domains skip these checks.
@@ -0,0 +1,260 @@
1
+ ---
2
+ # File references (ONLY variables used in this step)
3
+ nextStepFile: './step-v-10-smart-validation.md'
4
+ prdFile: '{prd_file_path}'
5
+ prdFrontmatter: '{prd_frontmatter}'
6
+ validationReportPath: '{validation_report_path}'
7
+ projectTypesData: '../data/project-types.csv'
8
+ ---
9
+
10
+ # Step 9: Project-Type Compliance Validation
11
+
12
+ ## STEP GOAL:
13
+
14
+ Validate project-type specific requirements are properly documented - different project types (api_backend, web_app, mobile_app, etc.) have different required and excluded sections.
15
+
16
+ ## MANDATORY EXECUTION RULES (READ FIRST):
17
+
18
+ ### Universal Rules:
19
+
20
+ - 🛑 NEVER generate content without user input
21
+ - 📖 CRITICAL: Read the complete step file before taking any action
22
+ - 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
23
+ - 📋 YOU ARE A FACILITATOR, not a content generator
24
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
25
+
26
+ ### Role Reinforcement:
27
+
28
+ - ✅ You are a Validation Architect and Quality Assurance Specialist
29
+ - ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
30
+ - ✅ We engage in systematic validation, not collaborative dialogue
31
+ - ✅ You bring project type expertise and architectural knowledge
32
+ - ✅ This step runs autonomously - no user input needed
33
+
34
+ ### Step-Specific Rules:
35
+
36
+ - 🎯 Focus ONLY on project-type compliance
37
+ - 🚫 FORBIDDEN to validate other aspects in this step
38
+ - 💬 Approach: Validate required sections present, excluded sections absent
39
+ - 🚪 This is a validation sequence step - auto-proceeds when complete
40
+
41
+ ## EXECUTION PROTOCOLS:
42
+
43
+ - 🎯 Check classification.projectType from PRD frontmatter
44
+ - 🎯 Validate required sections for that project type are present
45
+ - 🎯 Validate excluded sections for that project type are absent
46
+ - 💾 Append compliance findings to validation report
47
+ - 📖 Display "Proceeding to next check..." and load next step
48
+ - 🚫 FORBIDDEN to pause or request user input
49
+
50
+ ## CONTEXT BOUNDARIES:
51
+
52
+ - Available context: PRD file with frontmatter classification, validation report
53
+ - Focus: Project-type compliance only
54
+ - Limits: Don't validate other aspects, don't pause for user input
55
+ - Dependencies: Steps 2-8 completed - domain and requirements validation done
56
+
57
+ ## MANDATORY SEQUENCE
58
+
59
+ **CRITICAL:** Follow this sequence exactly. Do not skip, reorder, or improvise unless user explicitly requests a change.
60
+
61
+ ### 1. Load Project Types Data
62
+
63
+ Load and read the complete file at:
64
+ `{projectTypesData}` (../data/project-types.csv)
65
+
66
+ This CSV contains:
67
+ - Detection signals for each project type
68
+ - Required sections for each project type
69
+ - Skip/excluded sections for each project type
70
+ - Innovation signals
71
+
72
+ Internalize this data - it drives what sections must be present or absent for each project type.
73
+
74
+ ### 2. Extract Project Type Classification
75
+
76
+ From PRD frontmatter, extract:
77
+ - `classification.projectType` - what type of project is this?
78
+
79
+ **Common project types:**
80
+ - api_backend
81
+ - web_app
82
+ - mobile_app
83
+ - desktop_app
84
+ - data_pipeline
85
+ - ml_system
86
+ - library_sdk
87
+ - infrastructure
88
+ - other
89
+
90
+ **If no projectType classification found:**
91
+ Assume "web_app" (most common) and note in findings
92
+
93
+ ### 3. Determine Required and Excluded Sections from CSV Data
94
+
95
+ **From loaded project-types.csv data, for this project type:**
96
+
97
+ **Required sections:** (from required_sections column)
98
+ These MUST be present in the PRD
99
+
100
+ **Skip sections:** (from skip_sections column)
101
+ These MUST NOT be present in the PRD
102
+
103
+ **Example mappings from CSV:**
104
+ - api_backend: Required=[endpoint_specs, auth_model, data_schemas], Skip=[ux_ui, visual_design]
105
+ - mobile_app: Required=[platform_reqs, device_permissions, offline_mode], Skip=[desktop_features, cli_commands]
106
+ - cli_tool: Required=[command_structure, output_formats, config_schema], Skip=[visual_design, ux_principles, touch_interactions]
107
+ - etc.
108
+
109
+ ### 4. Validate Against CSV-Based Requirements
110
+
111
+ **Based on project type, determine:**
112
+
113
+ **api_backend:**
114
+ - Required: Endpoint Specs, Auth Model, Data Schemas, API Versioning
115
+ - Excluded: UX/UI sections, mobile-specific sections
116
+
117
+ **web_app:**
118
+ - Required: User Journeys, UX/UI Requirements, Responsive Design
119
+ - Excluded: None typically
120
+
121
+ **mobile_app:**
122
+ - Required: Mobile UX, Platform specifics (iOS/Android), Offline mode
123
+ - Excluded: Desktop-specific sections
124
+
125
+ **desktop_app:**
126
+ - Required: Desktop UX, Platform specifics (Windows/Mac/Linux)
127
+ - Excluded: Mobile-specific sections
128
+
129
+ **data_pipeline:**
130
+ - Required: Data Sources, Data Transformation, Data Sinks, Error Handling
131
+ - Excluded: UX/UI sections
132
+
133
+ **ml_system:**
134
+ - Required: Model Requirements, Training Data, Inference Requirements, Model Performance
135
+ - Excluded: UX/UI sections (unless ML UI)
136
+
137
+ **library_sdk:**
138
+ - Required: API Surface, Usage Examples, Integration Guide
139
+ - Excluded: UX/UI sections, deployment sections
140
+
141
+ **infrastructure:**
142
+ - Required: Infrastructure Components, Deployment, Monitoring, Scaling
143
+ - Excluded: Feature requirements (this is infrastructure, not product)
144
+
145
+ ### 4. Attempt Sub-Process Validation
146
+
147
+ "Perform project-type compliance validation for {projectType}:
148
+
149
+ **Check that required sections are present:**
150
+ {List required sections for this project type}
151
+ For each: Is it present in PRD? Is it adequately documented?
152
+
153
+ **Check that excluded sections are absent:**
154
+ {List excluded sections for this project type}
155
+ For each: Is it absent from PRD? (Should not be present)
156
+
157
+ Build compliance table showing:
158
+ - Required sections: [Present/Missing/Incomplete]
159
+ - Excluded sections: [Absent/Present] (Present = violation)
160
+
161
+ Return compliance table with findings."
162
+
163
+ **Graceful degradation (if no Task tool):**
164
+ - Manually check PRD for required sections
165
+ - Manually check PRD for excluded sections
166
+ - Build compliance table
167
+
168
+ ### 5. Build Compliance Table
169
+
170
+ **Required sections check:**
171
+ - For each required section: Present / Missing / Incomplete
172
+ - Count: Required sections present vs total required
173
+
174
+ **Excluded sections check:**
175
+ - For each excluded section: Absent / Present (violation)
176
+ - Count: Excluded sections present (violations)
177
+
178
+ **Total compliance score:**
179
+ - Required: {present}/{total}
180
+ - Excluded violations: {count}
181
+
182
+ ### 6. Report Project-Type Compliance Findings to Validation Report
183
+
184
+ Append to validation report:
185
+
186
+ ```markdown
187
+ ## Project-Type Compliance Validation
188
+
189
+ **Project Type:** {projectType}
190
+
191
+ ### Required Sections
192
+
193
+ **{Section 1}:** [Present/Missing/Incomplete]
194
+ {If missing or incomplete: Note specific gaps}
195
+
196
+ **{Section 2}:** [Present/Missing/Incomplete]
197
+ {If missing or incomplete: Note specific gaps}
198
+
199
+ [Continue for all required sections]
200
+
201
+ ### Excluded Sections (Should Not Be Present)
202
+
203
+ **{Section 1}:** [Absent/Present] ✓
204
+ {If present: This section should not be present for {projectType}}
205
+
206
+ **{Section 2}:** [Absent/Present] ✓
207
+ {If present: This section should not be present for {projectType}}
208
+
209
+ [Continue for all excluded sections]
210
+
211
+ ### Compliance Summary
212
+
213
+ **Required Sections:** {present}/{total} present
214
+ **Excluded Sections Present:** {violations} (should be 0)
215
+ **Compliance Score:** {percentage}%
216
+
217
+ **Severity:** [Critical if required sections missing, Warning if incomplete, Pass if complete]
218
+
219
+ **Recommendation:**
220
+ [If Critical] "PRD is missing required sections for {projectType}. Add missing sections to properly specify this type of project."
221
+ [If Warning] "Some required sections for {projectType} are incomplete. Strengthen documentation."
222
+ [If Pass] "All required sections for {projectType} are present. No excluded sections found."
223
+ ```
224
+
225
+ ### 7. Display Progress and Auto-Proceed
226
+
227
+ Display: "**Project-Type Compliance Validation Complete**
228
+
229
+ Project Type: {projectType}
230
+ Compliance: {score}%
231
+
232
+ **Proceeding to next validation check...**"
233
+
234
+ Without delay, read fully and follow: {nextStepFile} (step-v-10-smart-validation.md)
235
+
236
+ ---
237
+
238
+ ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
239
+
240
+ ### ✅ SUCCESS:
241
+
242
+ - Project type extracted correctly (or default assumed)
243
+ - Required sections validated for presence and completeness
244
+ - Excluded sections validated for absence
245
+ - Compliance table built with status for all sections
246
+ - Severity assessed correctly
247
+ - Findings reported to validation report
248
+ - Auto-proceeds to next validation step
249
+ - Subprocess attempted with graceful degradation
250
+
251
+ ### ❌ SYSTEM FAILURE:
252
+
253
+ - Not checking project type before proceeding
254
+ - Missing required section checks
255
+ - Missing excluded section checks
256
+ - Not building compliance table
257
+ - Not reporting findings to validation report
258
+ - Not auto-proceeding
259
+
260
+ **Master Rule:** Different project types have different requirements. API PRDs don't need UX sections - validate accordingly.
@@ -0,0 +1,206 @@
1
+ ---
2
+ # File references (ONLY variables used in this step)
3
+ nextStepFile: './step-v-11-holistic-quality-validation.md'
4
+ prdFile: '{prd_file_path}'
5
+ validationReportPath: '{validation_report_path}'
6
+ ---
7
+
8
+ # Step 10: SMART Requirements Validation
9
+
10
+ ## STEP GOAL:
11
+
12
+ Validate Functional Requirements meet SMART quality criteria (Specific, Measurable, Attainable, Relevant, Traceable), ensuring high-quality requirements.
13
+
14
+ ## MANDATORY EXECUTION RULES (READ FIRST):
15
+
16
+ ### Universal Rules:
17
+
18
+ - 🛑 NEVER generate content without user input
19
+ - 📖 CRITICAL: Read the complete step file before taking any action
20
+ - 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
21
+ - 📋 YOU ARE A FACILITATOR, not a content generator
22
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
23
+ - ✅ YOU MUST ALWAYS WRITE all artifact and document content in `{document_output_language}`
24
+
25
+ ### Role Reinforcement:
26
+
27
+ - ✅ You are a Validation Architect and Quality Assurance Specialist
28
+ - ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
29
+ - ✅ We engage in systematic validation, not collaborative dialogue
30
+ - ✅ You bring requirements engineering expertise and quality assessment
31
+ - ✅ This step runs autonomously - no user input needed
32
+
33
+ ### Step-Specific Rules:
34
+
35
+ - 🎯 Focus ONLY on FR quality assessment using SMART framework
36
+ - 🚫 FORBIDDEN to validate other aspects in this step
37
+ - 💬 Approach: Score each FR on SMART criteria (1-5 scale)
38
+ - 🚪 This is a validation sequence step - auto-proceeds when complete
39
+
40
+ ## EXECUTION PROTOCOLS:
41
+
42
+ - 🎯 Extract all FRs from PRD
43
+ - 🎯 Score each FR on SMART criteria (Specific, Measurable, Attainable, Relevant, Traceable)
44
+ - 💾 Flag FRs with score < 3 in any category
45
+ - 📖 Append scoring table and suggestions to validation report
46
+ - 📖 Display "Proceeding to next check..." and load next step
47
+ - 🚫 FORBIDDEN to pause or request user input
48
+
49
+ ## CONTEXT BOUNDARIES:
50
+
51
+ - Available context: PRD file, validation report
52
+ - Focus: FR quality assessment only using SMART framework
53
+ - Limits: Don't validate NFRs or other aspects, don't pause for user input
54
+ - Dependencies: Steps 2-9 completed - comprehensive validation checks done
55
+
56
+ ## MANDATORY SEQUENCE
57
+
58
+ **CRITICAL:** Follow this sequence exactly. Do not skip, reorder, or improvise unless user explicitly requests a change.
59
+
60
+ ### 1. Extract All Functional Requirements
61
+
62
+ From the PRD's Functional Requirements section, extract:
63
+ - All FRs with their FR numbers (FR-001, FR-002, etc.)
64
+ - Count total FRs
65
+
66
+ ### 2. Attempt Sub-Process Validation
67
+
68
+ **Try to use Task tool to spawn a subprocess:**
69
+
70
+ "Perform SMART requirements validation on these Functional Requirements:
71
+
72
+ {List all FRs}
73
+
74
+ **For each FR, score on SMART criteria (1-5 scale):**
75
+
76
+ **Specific (1-5):**
77
+ - 5: Clear, unambiguous, well-defined
78
+ - 3: Somewhat clear but could be more specific
79
+ - 1: Vague, ambiguous, unclear
80
+
81
+ **Measurable (1-5):**
82
+ - 5: Quantifiable metrics, testable
83
+ - 3: Partially measurable
84
+ - 1: Not measurable, subjective
85
+
86
+ **Attainable (1-5):**
87
+ - 5: Realistic, achievable with constraints
88
+ - 3: Probably achievable but uncertain
89
+ - 1: Unrealistic, technically infeasible
90
+
91
+ **Relevant (1-5):**
92
+ - 5: Clearly aligned with user needs and business objectives
93
+ - 3: Somewhat relevant but connection unclear
94
+ - 1: Not relevant, doesn't align with goals
95
+
96
+ **Traceable (1-5):**
97
+ - 5: Clearly traces to user journey or business objective
98
+ - 3: Partially traceable
99
+ - 1: Orphan requirement, no clear source
100
+
101
+ **For each FR with score < 3 in any category:**
102
+ - Provide specific improvement suggestions
103
+
104
+ Return scoring table with all FR scores and improvement suggestions for low-scoring FRs."
105
+
106
+ **Graceful degradation (if no Task tool):**
107
+ - Manually score each FR on SMART criteria
108
+ - Note FRs with low scores
109
+ - Provide improvement suggestions
110
+
111
+ ### 3. Build Scoring Table
112
+
113
+ For each FR:
114
+ - FR number
115
+ - Specific score (1-5)
116
+ - Measurable score (1-5)
117
+ - Attainable score (1-5)
118
+ - Relevant score (1-5)
119
+ - Traceable score (1-5)
120
+ - Average score
121
+ - Flag if any category < 3
122
+
123
+ **Calculate overall FR quality:**
124
+ - Percentage of FRs with all scores ≥ 3
125
+ - Percentage of FRs with all scores ≥ 4
126
+ - Average score across all FRs and categories
127
+
128
+ ### 4. Report SMART Findings to Validation Report
129
+
130
+ Append to validation report:
131
+
132
+ ```markdown
133
+ ## SMART Requirements Validation
134
+
135
+ **Total Functional Requirements:** {count}
136
+
137
+ ### Scoring Summary
138
+
139
+ **All scores ≥ 3:** {percentage}% ({count}/{total})
140
+ **All scores ≥ 4:** {percentage}% ({count}/{total})
141
+ **Overall Average Score:** {average}/5.0
142
+
143
+ ### Scoring Table
144
+
145
+ | FR # | Specific | Measurable | Attainable | Relevant | Traceable | Average | Flag |
146
+ |------|----------|------------|------------|----------|-----------|--------|------|
147
+ | FR-001 | {s1} | {m1} | {a1} | {r1} | {t1} | {avg1} | {X if any <3} |
148
+ | FR-002 | {s2} | {m2} | {a2} | {r2} | {t2} | {avg2} | {X if any <3} |
149
+ [Continue for all FRs]
150
+
151
+ **Legend:** 1=Poor, 3=Acceptable, 5=Excellent
152
+ **Flag:** X = Score < 3 in one or more categories
153
+
154
+ ### Improvement Suggestions
155
+
156
+ **Low-Scoring FRs:**
157
+
158
+ **FR-{number}:** {specific suggestion for improvement}
159
+ [For each FR with score < 3 in any category]
160
+
161
+ ### Overall Assessment
162
+
163
+ **Severity:** [Critical if >30% flagged FRs, Warning if 10-30%, Pass if <10%]
164
+
165
+ **Recommendation:**
166
+ [If Critical] "Many FRs have quality issues. Revise flagged FRs using SMART framework to improve clarity and testability."
167
+ [If Warning] "Some FRs would benefit from SMART refinement. Focus on flagged requirements above."
168
+ [If Pass] "Functional Requirements demonstrate good SMART quality overall."
169
+ ```
170
+
171
+ ### 5. Display Progress and Auto-Proceed
172
+
173
+ Display: "**SMART Requirements Validation Complete**
174
+
175
+ FR Quality: {percentage}% with acceptable scores ({severity})
176
+
177
+ **Proceeding to next validation check...**"
178
+
179
+ Without delay, read fully and follow: {nextStepFile} (step-v-11-holistic-quality-validation.md)
180
+
181
+ ---
182
+
183
+ ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
184
+
185
+ ### ✅ SUCCESS:
186
+
187
+ - All FRs extracted from PRD
188
+ - Each FR scored on all 5 SMART criteria (1-5 scale)
189
+ - FRs with scores < 3 flagged for improvement
190
+ - Improvement suggestions provided for low-scoring FRs
191
+ - Scoring table built with all FR scores
192
+ - Overall quality assessment calculated
193
+ - Findings reported to validation report
194
+ - Auto-proceeds to next validation step
195
+ - Subprocess attempted with graceful degradation
196
+
197
+ ### ❌ SYSTEM FAILURE:
198
+
199
+ - Not scoring all FRs on all SMART criteria
200
+ - Missing improvement suggestions for low-scoring FRs
201
+ - Not building scoring table
202
+ - Not calculating overall quality metrics
203
+ - Not reporting findings to validation report
204
+ - Not auto-proceeding
205
+
206
+ **Master Rule:** FRs should be high-quality, not just present. SMART framework provides objective quality measure.