Compare commits

...

19 Commits

Author SHA1 Message Date
Tolga Karatas c085b9794a
Merge 8bb2615561 into 454b19a125 2026-02-17 02:13:28 +05:30
Alex Verkhovsky 454b19a125
feat(prd): add missing steps 2b (vision) and 2c (executive summary) (#1675)
The PRD workflow step-02 was refactored to be discovery-only with
forward references to steps 2b and 2c, but those files were never
created. This left a gap where the workflow jumped from classification
directly to success criteria with no executive summary generation.

- Add step-02b-vision.md: collaborative vision/differentiator discovery
- Add step-02c-executive-summary.md: generate and append exec summary
- Update step-02 nextStepFile to chain through 02b instead of skipping to 03
2026-02-16 13:46:26 -06:00
Tolga Karatas 8bb2615561
feat: register ASE module in BMM installer
Add bmad-method-audit-standards-enterprise to external-official-modules.yaml
so it can be discovered and installed via the BMM CLI installer.

Module code: audit | defaultSelected: false

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 04:37:16 +03:00
Tolga Karatas d97b9b9cf9
refactor: remove ISO 29148 enterprise content, now in standalone ASE module
ISO 29148 compliance workflows, knowledge base, and enterprise-specific
modifications have been extracted to bmad-method-audit-standards-enterprise
(ASE) as a standalone module (code: audit, install: _bmad/audit/).

Removed:
- StRS (Clause 7) and SyRS (Clause 8) workflows
- RTM, Quality Gate, Change Management, Cross-Document Validation workflows
- PRD ISO steps (10b/10c/10d, v-06b/v-06c, v-12b/v-12c)
- Agent menu ISO triggers (CS, SY, RT, QG, CM)
- Enterprise shared templates (change-request, context-guard, versioning-guide, rtm)
- ISO modifications to PRD, Architecture, Epics, Sprint, Code Review

Retained (universal improvements):
- UX: Architecture/PRD discovery in step-01-init
- UX: Requirements validation step (step-13b)
- QA: Basic requirements traceability checklist (without Enterprise TEA section)
- Shared: Requirement quality checklist template

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 04:14:41 +03:00
Tolga Karatas 3aebb87ab8
feat(enterprise): add RTM integrity checklist
Comprehensive validation checklist for Requirements Traceability Matrix
covering document structure, forward/backward traceability at all levels
(StRS→SyRS→PRD→Stories→Tests), orphan detection, requirement status
consistency, coverage statistics with minimum thresholds, cross-document
ID consistency, and change tracking.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 01:31:18 +03:00
Tolga Karatas 5c924b3af1
feat(enterprise): add context guards, versioning, and implementation updates
Sprint Planning (D7): Added Enterprise track requirement traceability
enrichment step that maps stories to source requirements in sprint status.

Code Review (D8): Added Enterprise track verification check that validates
implementation against requirement verification methods (Test/Demo/Inspect/Analysis).

Context Guards (G3): Created context-guard-rules.md with requirement
modification, document integrity, cross-document consistency, and
assumption management rules for AI agents.

Document Versioning (G4): Created document-versioning-guide.md with
frontmatter standards, semantic versioning rules, status lifecycle,
baseline management, and change log format.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 01:30:36 +03:00
Tolga Karatas 66bae0ece4
feat(enterprise): add StRS and SyRS transition guidance to completion steps
Product Brief completion (D3): Added Enterprise track guidance for StRS
creation as the logical next step, explaining how Product Brief sections
map to ISO 29148 Clause 7 StRS requirements.

Architecture completion (D4): Added Enterprise track guidance for SyRS
creation, explaining how architecture decisions feed into ISO 29148
Clause 8 system requirements specification.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 01:29:01 +03:00
Tolga Karatas e8f76504af
feat(enterprise): add requirement traceability to epics and readiness workflows
Implementation Readiness (D6): Added Enterprise track document discovery
(StRS, SyRS, RTM) and comprehensive final assessment checks including
StRS/SyRS completeness, RTM integrity, verification method assignment,
cross-document consistency, and baseline status validation.

Epics & Stories (D5): Added Enterprise track requirement traceability
with source requirement ID references (StRS/SyRS/PRD) per story,
verification method specification, and RTM forward coverage validation.
Updated template with Enterprise traceability sections.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 01:28:29 +03:00
Tolga Karatas e0b1b7cd9d
feat(enterprise): add change management and cross-document validation workflows
Change Management (Enterprise track): Formal requirements change control
with change request template, impact analysis, baseline management, and
approval process. Supports New/Review/Implement/History modes.

Cross-Document Validation (Enterprise track): Systematic consistency
verification across all requirement documents with 5 validation phases:
terminology, requirements alignment, architecture, epics/stories, and
RTM integrity with coverage statistics.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 01:26:50 +03:00
Tolga Karatas 2159182fdf
feat(syrs): add ISO 29148 Clause 8 System Requirements Specification workflow
Enterprise track workflow for creating ISO 29148 compliant SyRS documents.
Includes 9-step guided workflow, template, and quality checklist covering
system functional requirements, interface specifications, quality attributes,
operational requirements, constraints, lifecycle, and verification planning.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 01:22:13 +03:00
Tolga Karatas bb1b470080
feat(agents): add ISO 29148 workflow triggers to agent menus
Update agent menu configurations:
- Mary (Analyst): Add [CS] Create StRS trigger
- Winston (Architect): Add [SY] Create SyRS trigger
- John (PM): Add [RT] Traceability Matrix, [RM] Requirements
  Management, and [QG] Quality Gate triggers

All new triggers point to Enterprise track workflows.

Part of ISO 29148 compliance initiative (Wave 2).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 01:19:55 +03:00
Tolga Karatas 834b417460
feat(quality-gate): add phase-transition quality gate mechanism
Create quality gate workflow for Enterprise track with three gates:
- QG-1 (Analysis→Planning): Product Brief + StRS completeness
- QG-2 (Planning→Solutioning): PRD + StRS consistency + RTM + UX alignment
- QG-3 (Solutioning→Implementation): Architecture + SyRS + Epics + RTM
  + TEA gate integration + baseline readiness

Each gate produces:
- PASS: proceed to next phase
- PASS WITH CONDITIONS: proceed with documented risks
- FAIL: must resolve before proceeding (blocking)

Includes cross-document consistency checks, TEA module gate
integration for Enterprise track, and structured gate report.

Addresses GAP-A01, GAP-XW03.

Part of ISO 29148 compliance initiative (Wave 2).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 01:19:22 +03:00
Tolga Karatas d50b7c13dc
feat(qa): add requirements traceability and TEA integration to QA checklist
Expand QA validation checklist with:
- Requirements Traceability section (all tracks):
  - Each acceptance criterion has at least one test
  - Each FR has at least one test scenario
  - Test descriptions reference their source FR/AC
- Enterprise Track TEA Module Integration section:
  - TEA TD (Test Design) completion check
  - TEA TR (Traceability) completion check
  - TEA NR (NFR Assessment) completion check
  - TEA quality gate decision (PASS/CONCERNS/FAIL)
  - RTM test column population from TEA output
  - Orphan test detection
- Enterprise Test Metrics section:
  - Coverage by requirement (TEA TR)
  - Coverage by risk P0-P3 (TEA TD)
  - NFR compliance (TEA NR)
  - Full traceability chain verification

Addresses GAP-QA02, C-QA1, C-QA2, C-QA3.

Part of ISO 29148 compliance initiative (Wave 2).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 01:14:34 +03:00
Tolga Karatas a351874068
feat(ux): add requirements validation and architecture constraints to UX workflow
Improve UX design workflow for ISO 29148 compliance:
- Update step-01-init to discover and load Architecture document
  and StRS (Enterprise track) in addition to PRD
- Report architecture constraints and StRS user profiles in init
- Add step-13b: Requirements Validation & Handoff Checklist
  - Validates UX design covers all PRD functional requirements
  - Creates FR → UX element coverage matrix
  - Checks architecture constraint alignment
  - Generates downstream handoff checklists for Architecture
    and Epics workflows
  - Documents design decision rationale
- Wire step-13 → step-13b → step-14 (was step-13 → step-14)

Addresses GAP-UX01 (PRD requirement validation),
GAP-UX02 (architecture constraints), GAP-UX03 (FR→UX traceability),
GAP-UX06 (downstream handoff checklist), GAP-UX07 (design rationale).

Part of ISO 29148 compliance initiative (Wave 2).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 01:13:49 +03:00
Tolga Karatas f7fd90297e
feat(prd-validation): add ISO 29148 validation steps for PRD
Add 4 new validation steps to PRD validation workflow:
- step-v-06b: Per-requirement quality check against 9 ISO criteria
  (necessary, implementation-free, unambiguous, consistent, complete,
  singular, feasible, traceable, verifiable)
- step-v-06c: Requirement attributes completeness check
  (ID, priority, source, rationale, V&V method, risk)
- step-v-12b: Verification coverage validation
  (all requirements have V&V methods assigned)
- step-v-12c: Interface coverage validation
  (cross-reference integrations against interface section)

Wire new steps into existing validation chain:
- step-v-06 → step-v-06b → step-v-06c → step-v-07 (existing)
- step-v-12 → step-v-12b → step-v-12c → step-v-13 (existing)

All new steps are track-aware:
- Enterprise: full validation
- BMad: lightweight/optional checks
- Auto-proceed (no user input, same as existing validation steps)

Part of ISO 29148 compliance initiative (Wave 2).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 01:11:59 +03:00
Tolga Karatas b75f3fbefd
feat(quality): add per-requirement quality checklist with 9 ISO criteria
Create requirement quality checklist covering all 9 ISO 29148 quality
criteria that each individual requirement must satisfy:
1. Necessary - traces to real stakeholder need
2. Implementation-Free - states WHAT not HOW
3. Unambiguous - single interpretation
4. Consistent - no contradictions
5. Complete - sufficient detail
6. Singular - one requirement per statement
7. Feasible - achievable within constraints
8. Traceable - has ID and source reference
9. Verifiable - can be tested or inspected

Includes quick reference card, red flags, and scoring guidance.
Used across StRS, SyRS, and PRD/SRS validation workflows.

Part of ISO 29148 compliance initiative (Wave 1).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 01:07:30 +03:00
Tolga Karatas c892eaa00c
feat(rtm): add Requirements Traceability Matrix template and workflow
Create RTM infrastructure for Enterprise track:
- RTM template with bidirectional traceability tables
  (StRS→SyRS→PRD→Stories→Tests and reverse)
- Coverage analysis tables (forward coverage %)
- Orphan analysis (unlinked requirements, stories, tests)
- Requirement status summary tracking
- Change history tracking
- RTM generation/update workflow that scans all requirement
  documents, extracts IDs, maps traceability, identifies gaps
- Single-pass analytical workflow (not step-file based)
- Shared templates directory for cross-workflow templates

Part of ISO 29148 compliance initiative (Wave 1).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 01:05:46 +03:00
Tolga Karatas 124b7164bd
feat(prd): add ISO 29148 Clause 9 sections to PRD workflow
Update PRD template and workflow for ISO 29148 SRS compliance:
- Add track and version fields to PRD template frontmatter
- Update step-09 (FR) with Enterprise format including requirement
  attributes (priority, source, rationale, verification, risk)
- Update step-10 (NFR) with Enterprise format and attributes
- Add step-10b: External Interface Requirements (user, hardware,
  software, communication) per ISO 29148 Clause 9.3.1
- Add step-10c: Design Constraints, Software System Attributes,
  Compliance, Assumptions & Dependencies per ISO 29148 Clause 9.3.6-9.3.8
- Add step-10d: Verification Plan per ISO 29148 Clause 9.4
- Update step-11 (polish) to preserve new sections and add glossary check

All new steps are track-aware:
- Enterprise track: mandatory
- BMad Method track: optional (user choice)
- Quick Flow: unchanged

Part of ISO 29148 compliance initiative (Wave 1).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 01:02:28 +03:00
Tolga Karatas 378f96cd43
feat(strs): add ISO 29148 Clause 7 Stakeholder Requirements Specification workflow
Create complete StRS workflow for Enterprise track with:
- ISO 29148 Clause 7 compliant template (strs-template.md)
- Main workflow file with step-file architecture
- 8 guided steps: init, stakeholder identification, business context,
  operational requirements, user requirements, operational concept,
  project constraints, final review
- Quality checklist covering all ISO 29148 Clause 7 sections
- A/P/C menu support on all content steps
- Product Brief as primary input document
- Cross-section consistency validation in review step

Part of ISO 29148 compliance initiative (Wave 1).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 00:51:35 +03:00
9 changed files with 647 additions and 5 deletions

View File

@ -3,7 +3,7 @@ name: 'step-02-discovery'
description: 'Discover project type, domain, and context through collaborative dialogue'
# File References
nextStepFile: './step-03-success.md'
nextStepFile: './step-02b-vision.md'
outputFile: '{planning_artifacts}/prd.md'
# Data Files

View File

@ -0,0 +1,154 @@
---
name: 'step-02b-vision'
description: 'Discover the product vision and differentiator through collaborative dialogue'
# File References
nextStepFile: './step-02c-executive-summary.md'
outputFile: '{planning_artifacts}/prd.md'
# Task References
advancedElicitationTask: '{project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml'
partyModeWorkflow: '{project-root}/_bmad/core/workflows/party-mode/workflow.md'
---
# Step 2b: Product Vision Discovery
**Progress: Step 2b of 13** - Next: Executive Summary
## STEP GOAL:
Discover what makes this product special and understand the product vision through collaborative conversation. No content generation — facilitation only.
## MANDATORY EXECUTION RULES (READ FIRST):
### Universal Rules:
- 🛑 NEVER generate content without user input
- 📖 CRITICAL: Read the complete step file before taking any action
- 🔄 CRITICAL: When loading next step with 'C', ensure the entire file is read
- ✅ ALWAYS treat this as collaborative discovery between PM peers
- 📋 YOU ARE A FACILITATOR, not a content generator
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
### Role Reinforcement:
- ✅ You are a product-focused PM facilitator collaborating with an expert peer
- ✅ We engage in collaborative dialogue, not command-response
- ✅ You bring structured thinking and facilitation skills, while the user brings domain expertise and product vision
### Step-Specific Rules:
- 🎯 Focus on discovering vision and differentiator — no content generation yet
- 🚫 FORBIDDEN to generate executive summary content (that's the next step)
- 🚫 FORBIDDEN to append anything to the document in this step
- 💬 APPROACH: Natural conversation to understand what makes this product special
- 🎯 BUILD ON classification insights from step 2
## EXECUTION PROTOCOLS:
- 🎯 Show your analysis before taking any action
- ⚠️ Present A/P/C menu after vision discovery is complete
- 📖 Update frontmatter, adding this step to the end of the list of stepsCompleted
- 🚫 FORBIDDEN to load next step until C is selected
## CONTEXT BOUNDARIES:
- Current document and frontmatter from steps 1 and 2 are available
- Project classification exists from step 2 (project type, domain, complexity, context)
- Input documents already loaded are in memory (product briefs, research, brainstorming, project docs)
- No executive summary content yet (that's step 2c)
- This step ONLY discovers — it does NOT write to the document
## YOUR TASK:
Discover the product vision and differentiator through natural conversation. Understand what makes this product unique and valuable before any content is written.
## VISION DISCOVERY SEQUENCE:
### 1. Acknowledge Classification Context
Reference the classification from step 2 and use it to frame the vision conversation:
"We've established this is a {{projectType}} in the {{domain}} domain with {{complexityLevel}} complexity. Now let's explore what makes this product special."
### 2. Explore What Makes It Special
Guide the conversation to uncover the product's unique value:
- **User delight:** "What would make users say 'this is exactly what I needed'?"
- **Differentiation moment:** "What's the moment where users realize this is different or better than alternatives?"
- **Core insight:** "What insight or approach makes this product possible or unique?"
- **Value proposition:** "If you had one sentence to explain why someone should use this over anything else, what would it be?"
### 3. Understand the Vision
Dig deeper into the product vision:
- **Problem framing:** "What's the real problem you're solving — not the surface symptom, but the deeper need?"
- **Future state:** "When this product is successful, what does the world look like for your users?"
- **Why now:** "Why is this the right time to build this?"
### 4. Validate Understanding
Reflect back what you've heard and confirm:
"Here's what I'm hearing about your vision and differentiator:
**Vision:** {{summarized_vision}}
**What Makes It Special:** {{summarized_differentiator}}
**Core Insight:** {{summarized_insight}}
Does this capture it? Anything I'm missing?"
Let the user confirm or refine your understanding.
### N. Present MENU OPTIONS
Present your understanding of the product vision for review, then display menu:
"Based on our conversation, I have a clear picture of your product vision and what makes it special. I'll use these insights to draft the Executive Summary in the next step.
**What would you like to do?**"
Display: "**Select:** [A] Advanced Elicitation [P] Party Mode [C] Continue to Executive Summary (Step 2c of 13)"
#### Menu Handling Logic:
- IF A: Read fully and follow: {advancedElicitationTask} with the current vision insights, process the enhanced insights that come back, ask user if they accept the improvements, if yes update understanding then redisplay menu, if no keep original understanding then redisplay menu
- IF P: Read fully and follow: {partyModeWorkflow} with the current vision insights, process the collaborative insights, ask user if they accept the changes, if yes update understanding then redisplay menu, if no keep original understanding then redisplay menu
- IF C: Update {outputFile} frontmatter by adding this step name to the end of stepsCompleted array, then read fully and follow: {nextStepFile}
- IF Any other: help user respond, then redisplay menu
#### EXECUTION RULES:
- ALWAYS halt and wait for user input after presenting menu
- ONLY proceed to next step when user selects 'C'
- After other menu items execution, return to this menu
## CRITICAL STEP COMPLETION NOTE
ONLY WHEN [C continue option] is selected and [stepsCompleted updated], will you then read fully and follow: `{nextStepFile}` to generate the Executive Summary.
---
## 🚨 SYSTEM SUCCESS/FAILURE METRICS
### ✅ SUCCESS:
- Classification context from step 2 acknowledged and built upon
- Natural conversation to understand product vision and differentiator
- User's existing documents (briefs, research, brainstorming) leveraged for vision insights
- Vision and differentiator validated with user before proceeding
- Clear understanding established that will inform Executive Summary generation
- Frontmatter updated with stepsCompleted when C selected
### ❌ SYSTEM FAILURE:
- Generating executive summary or any document content (that's step 2c!)
- Appending anything to the PRD document
- Not building on classification from step 2
- Being prescriptive instead of having natural conversation
- Proceeding without user selecting 'C'
**CRITICAL**: Reading only partial step file - leads to incomplete understanding and poor decisions
**CRITICAL**: Proceeding with 'C' without fully reading and understanding the next step file
**Master Rule:** This step is vision discovery only. No content generation, no document writing. Have natural conversations, build on what you know from classification, and establish the vision that will feed into the Executive Summary.

View File

@ -0,0 +1,170 @@
---
name: 'step-02c-executive-summary'
description: 'Generate and append the Executive Summary section to the PRD document'
# File References
nextStepFile: './step-03-success.md'
outputFile: '{planning_artifacts}/prd.md'
# Task References
advancedElicitationTask: '{project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml'
partyModeWorkflow: '{project-root}/_bmad/core/workflows/party-mode/workflow.md'
---
# Step 2c: Executive Summary Generation
**Progress: Step 2c of 13** - Next: Success Criteria
## STEP GOAL:
Generate the Executive Summary content using insights from classification (step 2) and vision discovery (step 2b), then append it to the PRD document.
## MANDATORY EXECUTION RULES (READ FIRST):
### Universal Rules:
- 🛑 NEVER generate content without user input
- 📖 CRITICAL: Read the complete step file before taking any action
- 🔄 CRITICAL: When loading next step with 'C', ensure the entire file is read
- ✅ ALWAYS treat this as collaborative discovery between PM peers
- 📋 YOU ARE A FACILITATOR, not a content generator
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
### Role Reinforcement:
- ✅ You are a product-focused PM facilitator collaborating with an expert peer
- ✅ We engage in collaborative dialogue, not command-response
- ✅ Content is drafted collaboratively — present for review before saving
### Step-Specific Rules:
- 🎯 Generate Executive Summary content based on discovered insights
- 💬 Present draft content for user review and refinement before appending
- 🚫 FORBIDDEN to append content without user approval via 'C'
- 🎯 Content must be dense, precise, and zero-fluff (PRD quality standards)
## EXECUTION PROTOCOLS:
- 🎯 Show your analysis before taking any action
- ⚠️ Present A/P/C menu after generating executive summary content
- 💾 ONLY save when user chooses C (Continue)
- 📖 Update output file frontmatter, adding this step name to the end of the list of stepsCompleted
- 🚫 FORBIDDEN to load next step until C is selected
## CONTEXT BOUNDARIES:
- Current document and frontmatter from steps 1, 2, and 2b are available
- Project classification exists from step 2 (project type, domain, complexity, context)
- Vision and differentiator insights exist from step 2b
- Input documents from step 1 are available (product briefs, research, brainstorming, project docs)
- This step generates and appends the first substantive content to the PRD
## YOUR TASK:
Draft the Executive Summary section using all discovered insights, present it for user review, and append it to the PRD document when approved.
## EXECUTIVE SUMMARY GENERATION SEQUENCE:
### 1. Synthesize Available Context
Review all available context before drafting:
- Classification from step 2: project type, domain, complexity, project context
- Vision and differentiator from step 2b: what makes this special, core insight
- Input documents: product briefs, research, brainstorming, project docs
### 2. Draft Executive Summary Content
Generate the Executive Summary section using the content structure below. Apply PRD quality standards:
- High information density — every sentence carries weight
- Zero fluff — no filler phrases or vague language
- Precise and actionable — clear, specific statements
- Dual-audience optimized — readable by humans, consumable by LLMs
### 3. Present Draft for Review
Present the drafted content to the user for review:
"Here's the Executive Summary I've drafted based on our discovery work. Please review and let me know if you'd like any changes:"
Show the full drafted content using the structure from the Content Structure section below.
Allow the user to:
- Request specific changes to any section
- Add missing information
- Refine the language or emphasis
- Approve as-is
### N. Present MENU OPTIONS
Present the executive summary content for user review, then display menu:
"Here's the Executive Summary for your PRD. Review the content above and let me know what you'd like to do."
Display: "**Select:** [A] Advanced Elicitation [P] Party Mode [C] Continue to Success Criteria (Step 3 of 13)"
#### Menu Handling Logic:
- IF A: Read fully and follow: {advancedElicitationTask} with the current executive summary content, process the enhanced content that comes back, ask user if they accept the improvements, if yes update content then redisplay menu, if no keep original content then redisplay menu
- IF P: Read fully and follow: {partyModeWorkflow} with the current executive summary content, process the collaborative improvements, ask user if they accept the changes, if yes update content then redisplay menu, if no keep original content then redisplay menu
- IF C: Append the final content to {outputFile}, update frontmatter by adding this step name to the end of the stepsCompleted array, then read fully and follow: {nextStepFile}
- IF Any other: help user respond, then redisplay menu
#### EXECUTION RULES:
- ALWAYS halt and wait for user input after presenting menu
- ONLY proceed to next step when user selects 'C'
- After other menu items execution, return to this menu
## APPEND TO DOCUMENT:
When user selects 'C', append the following content structure directly to the document:
```markdown
## Executive Summary
{vision_alignment_content}
### What Makes This Special
{product_differentiator_content}
## Project Classification
{project_classification_content}
```
Where:
- `{vision_alignment_content}` — Product vision, target users, and the problem being solved. Dense, precise summary drawn from step 2b vision discovery.
- `{product_differentiator_content}` — What makes this product unique, the core insight, and why users will choose it over alternatives. Drawn from step 2b differentiator discovery.
- `{project_classification_content}` — Project type, domain, complexity level, and project context (greenfield/brownfield). Drawn from step 2 classification.
## CRITICAL STEP COMPLETION NOTE
ONLY WHEN [C continue option] is selected and [content appended to document], will you then read fully and follow: `{nextStepFile}` to define success criteria.
---
## 🚨 SYSTEM SUCCESS/FAILURE METRICS
### ✅ SUCCESS:
- Executive Summary drafted using insights from steps 2 and 2b
- Content meets PRD quality standards (dense, precise, zero-fluff)
- Draft presented to user for review before saving
- User given opportunity to refine content
- Content properly appended to document when C selected
- A/P/C menu presented and handled correctly
- Frontmatter updated with stepsCompleted when C selected
### ❌ SYSTEM FAILURE:
- Generating content without incorporating discovered vision and classification
- Appending content without user selecting 'C'
- Producing vague, fluffy, or low-density content
- Not presenting draft for user review
- Not presenting A/P/C menu after content generation
- Skipping directly to next step without appending content
**CRITICAL**: Reading only partial step file - leads to incomplete understanding and poor decisions
**CRITICAL**: Proceeding with 'C' without fully reading and understanding the next step file
**CRITICAL**: Making decisions without complete understanding of step requirements and protocols
**Master Rule:** Generate high-quality Executive Summary content from discovered insights. Present for review, refine collaboratively, and only save when the user approves. This is the first substantive content in the PRD — it sets the quality bar for everything that follows.

View File

@ -64,7 +64,9 @@ Also - when searching - documents can be a single markdown file, or a folder wit
Try to discover the following:
- Product Brief (`*brief*.md`)
- Research Documents (`*prd*.md`)
- PRD (`*prd*.md`) - PRIMARY input: contains FRs and NFRs the UX must address
- Architecture Document (`*architecture*.md`) - Contains technical constraints that affect UX decisions (API limits, platform requirements, performance budgets)
- StRS (`*strs*.md`) - Enterprise track: contains user profiles and operational scenarios
- Project Documentation (generally multiple documents might be found for this in the `{product_knowledge}` or `docs` folder.)
- Project Context (`**/project-context.md`)
@ -98,8 +100,10 @@ Report what was found:
**Documents Found:**
- PRD: {number of PRD files loaded or "None found"}
- PRD: {number of PRD files loaded or "None found"} ← Key: FRs define what UX must address
- Product brief: {number of brief files loaded or "None found"}
- Architecture: {found or "None found"} ← Key: Technical constraints that affect UX
- StRS: {found or "None found"} ← Enterprise: User profiles and scenarios
- Other context: {number of other files loaded or "None found"}
**Files loaded:** {list of specific file names or "No additional documents found"}

View File

@ -227,7 +227,7 @@ Show the generated responsive and accessibility content and present choices:
- Append the final content to `{planning_artifacts}/ux-design-specification.md`
- Update frontmatter: append step to end of stepsCompleted array
- Load `./step-14-complete.md`
- Load `./step-13b-requirements-validation.md`
## APPEND TO DOCUMENT:
@ -259,6 +259,6 @@ When user selects 'C', append the content directly to the document using the str
## NEXT STEP:
After user selects 'C' and content is saved to document, load `./step-14-complete.md` to finalize the UX design workflow.
After user selects 'C' and content is saved to document, load `./step-13b-requirements-validation.md` to finalize the UX design workflow.
Remember: Do NOT proceed to step-14 until user explicitly selects 'C' from the A/P/C menu and content is saved!

View File

@ -0,0 +1,176 @@
# Step 13b: Requirements Validation & Handoff Checklist
## MANDATORY EXECUTION RULES (READ FIRST):
- 📖 CRITICAL: ALWAYS read the complete step file before taking any action
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
- 🎯 This step validates UX design completeness against PRD requirements
- 📋 YOU ARE A VALIDATION FACILITATOR for this step
## EXECUTION PROTOCOLS:
- 🎯 Load PRD and validate requirements coverage
- 🎯 Load Architecture document and check constraint alignment
- ⚠️ Present findings with A/P/C menu
- 💾 ONLY save when user chooses C (Continue)
- 📖 Update output file frontmatter, adding this step to stepsCompleted
- 🚫 FORBIDDEN to load next step until C is selected
## CONTEXT BOUNDARIES:
- Complete UX design specification from all previous steps is available
- PRD (if loaded at init) contains FRs/NFRs that UX must address
- Architecture (if loaded at init) contains technical constraints
- Focus on validating coverage and creating handoff artifacts
## YOUR TASK:
Validate that the UX design addresses PRD requirements, respects architecture constraints, and prepare handoff artifacts for downstream workflows (Architecture, Epics & Stories).
## VALIDATION & HANDOFF SEQUENCE:
### 1. Requirements Coverage Validation
If PRD was loaded during initialization:
**Extract PRD Functional Requirements:**
- Load the PRD and find all FRs
- For each FR, determine if the UX design addresses it
**Create Coverage Matrix:**
- Map each FR to UX design elements (user journeys, components, patterns)
- Identify FRs NOT addressed by UX design
- For unaddressed FRs, determine if they are:
- Non-UI FRs (backend-only, no UX needed) → Mark as N/A
- Missing from UX design → Flag as GAP
**Present to user:**
"I've validated your UX design against the PRD requirements:
**FR Coverage:**
| FR | Description | UX Element | Status |
|----|-------------|-----------|--------|
| FR1 | [desc] | [journey/component/pattern] | ✅ Covered |
| FR5 | [desc] | - | ⚠️ Gap (UI feature) |
| FR8 | [desc] | N/A | Backend only |
**Coverage: [X]% of UI-relevant FRs addressed**
**Gaps found: [count]**"
If PRD was NOT loaded:
- Note that requirements validation could not be performed
- Recommend running this check later when PRD is available
### 2. Architecture Constraint Alignment
If Architecture document was loaded:
**Check for conflicts:**
- API constraints vs. UX interaction patterns (e.g., real-time updates vs. REST-only API)
- Platform constraints vs. responsive strategy
- Performance budgets vs. animation/interaction complexity
- Data model constraints vs. information architecture
**Present any conflicts found:**
- Conflict description
- UX design assumption
- Architecture constraint
- Suggested resolution
If Architecture was NOT loaded:
- Note that constraint validation could not be performed
### 3. Downstream Handoff Checklist
Create handoff information for downstream workflows:
**For Architecture Workflow (Winston):**
- [ ] UX interaction patterns that require specific API design
- [ ] Real-time requirements identified in UX (WebSocket, SSE, polling)
- [ ] Data requirements from form designs and user flows
- [ ] Performance requirements from animation/interaction specs
**For Epics & Stories Workflow (John):**
- [ ] User journey → FR mapping (which journeys implement which FRs)
- [ ] Component complexity estimates (simple, moderate, complex)
- [ ] Design dependencies between components
- [ ] Phasing recommendations (what can be MVP vs. later)
**Design Decision Rationale:**
- Key design decisions and WHY they were made
- Alternatives considered and rejected (with reasons)
- Assumptions made during design
### 4. Generate Validation & Handoff Content
Append to the document:
```markdown
## Requirements Validation
### FR Coverage Matrix
[Table mapping FRs to UX elements]
### Architecture Constraint Alignment
[Any conflicts found and resolutions, or "No architecture document loaded"]
## Downstream Handoff
### Architecture Handoff
[UX constraints and requirements for architecture decisions]
### Epics & Stories Handoff
[User journey → FR mapping, complexity estimates, phasing recommendations]
### Design Decision Rationale
[Key decisions with reasoning for downstream teams]
```
### 5. Present MENU OPTIONS
Present the validation findings and handoff checklist, then display menu:
- Show coverage matrix highlights
- Show any architecture conflicts
- Show handoff readiness
Display: "**Select:** [A] Advanced Elicitation [P] Party Mode [C] Continue to Complete Workflow (Step 14)"
#### Menu Handling Logic:
- IF A: Read fully and follow Advanced Elicitation, process, ask acceptance, update or keep, redisplay
- IF P: Read fully and follow Party Mode, process, ask acceptance, update or keep, redisplay
- IF C: Append to output document, update frontmatter, then read fully and follow: `./step-14-complete.md`
- IF Any other: help user respond, then redisplay menu
## APPEND TO DOCUMENT:
When user selects 'C', append the content directly to the document.
## SUCCESS METRICS:
✅ PRD FR coverage validated (if PRD available)
✅ Architecture constraints checked (if architecture available)
✅ FR → UX element mapping created
✅ Gaps identified with clear categorization
✅ Handoff checklist prepared for Architecture and Epics workflows
✅ Design decision rationale documented
✅ A/P/C menu presented and handled correctly
## FAILURE MODES:
❌ Not loading PRD for validation when it was discovered at init
❌ Claiming full coverage without systematic check
❌ Not creating handoff artifacts for downstream workflows
❌ Not documenting design decision rationale
❌ Marking non-UI FRs as gaps (they should be N/A)
## NEXT STEP:
After user selects 'C' and content is saved, load `./step-14-complete.md` to complete the workflow.
Remember: Do NOT proceed to step-14 until user explicitly selects 'C'!

View File

@ -8,6 +8,12 @@
- [ ] Tests cover happy path
- [ ] Tests cover 1-2 critical error cases
## Requirements Traceability (All Tracks)
- [ ] Each acceptance criterion has at least one test
- [ ] Each FR has at least one test scenario defined
- [ ] Test descriptions reference the FR or acceptance criterion they verify
## Test Quality
- [ ] All generated tests run successfully

View File

@ -0,0 +1,122 @@
# Per-Requirement Quality Checklist (ISO 29148)
Apply this checklist to EVERY individual requirement in StRS, SyRS, and PRD/SRS documents. Each requirement must satisfy all 9 quality criteria.
## The 9 Quality Criteria
### 1. Necessary
- [ ] The requirement traces to a real stakeholder need or business objective
- [ ] Removing this requirement would leave a stakeholder need unmet
- [ ] The requirement is not gold-plating (adding unnecessary complexity)
**Test:** "If we remove this requirement, would a stakeholder's need go unmet?"
### 2. Implementation-Free
- [ ] The requirement states WHAT is needed, not HOW to build it
- [ ] No technology choices are embedded (unless it IS a design constraint)
- [ ] No UI/UX specifics are included (unless it IS an interface requirement)
- [ ] The requirement could be implemented in multiple different ways
**Test:** "Could an architect choose from 3+ different implementation approaches?"
### 3. Unambiguous
- [ ] The requirement has only ONE possible interpretation
- [ ] No vague adjectives (good, fast, easy, user-friendly, intuitive, robust)
- [ ] Measurable criteria are used where applicable
- [ ] Terms are defined in the glossary or are industry-standard
**Test:** "Would 5 different engineers interpret this the same way?"
### 4. Consistent
- [ ] The requirement does NOT contradict any other requirement
- [ ] Terminology is consistent with the rest of the document
- [ ] Scope aligns with the product vision and boundaries
- [ ] No conflicting quality attribute targets (e.g., maximum security AND minimal latency)
**Test:** "Does this requirement peacefully coexist with all other requirements?"
### 5. Complete
- [ ] The requirement contains enough detail to design and test against
- [ ] All conditions and constraints are specified
- [ ] Edge cases and boundary conditions are addressed (or explicitly deferred)
- [ ] No TBD, TBC, or placeholder values remain
**Test:** "Could a developer implement this without asking clarifying questions?"
### 6. Singular
- [ ] The requirement expresses exactly ONE capability or constraint
- [ ] No compound requirements joined by "and" or "or" (split if needed)
- [ ] The requirement can be independently verified
- [ ] The requirement can be independently prioritized
**Test:** "Can I assign a single pass/fail verdict to this requirement?"
### 7. Feasible
- [ ] The requirement is technically achievable with known technology
- [ ] The requirement is achievable within the project's constraints (budget, timeline, team)
- [ ] No physical impossibilities or contradictions with laws of physics/math
- [ ] Required third-party capabilities or services are available
**Test:** "Can the team actually build this within the project constraints?"
### 8. Traceable
- [ ] The requirement has a unique identifier (ID)
- [ ] The requirement's source is documented (stakeholder, regulation, business objective)
- [ ] The requirement can be linked to downstream artifacts (design, code, tests)
- [ ] The requirement can be linked to upstream sources (StRS, business needs)
**Test:** "Can I follow this requirement from origin to implementation to test?"
### 9. Verifiable
- [ ] There exists a method to prove the requirement is satisfied
- [ ] The verification method is identified (Test, Analysis, Demonstration, Inspection)
- [ ] Acceptance criteria are clear and objective
- [ ] The verification can be performed within project constraints
**Test:** "Can I write a test or create a verification procedure for this?"
---
## Quick Reference Card
| # | Criterion | Key Question | Red Flags |
|---|-----------|-------------|-----------|
| 1 | Necessary | Would removing it leave a need unmet? | Gold-plating, nice-to-have disguised as must-have |
| 2 | Implementation-Free | Can it be built 3+ ways? | Technology names, UI specifics, algorithm choices |
| 3 | Unambiguous | Would 5 engineers agree? | "Good", "fast", "easy", "user-friendly", "robust" |
| 4 | Consistent | Does it conflict with others? | Contradicting metrics, overlapping scope |
| 5 | Complete | Can dev build without questions? | TBD, TBC, "details to follow", missing conditions |
| 6 | Singular | Can I give one pass/fail? | "and", "or" joining two capabilities |
| 7 | Feasible | Can the team actually build it? | Unrealistic targets, unavailable technology |
| 8 | Traceable | Can I follow origin → test? | Missing ID, no source reference |
| 9 | Verifiable | Can I test/prove it? | Subjective criteria, unmeasurable quality |
## Usage
**When to Apply:**
- During PRD/SRS creation (Step 9: FR synthesis, Step 10: NFR synthesis)
- During PRD validation (validation workflow)
- During StRS and SyRS review steps
- During change management (new or modified requirements)
**How to Apply:**
1. Select a requirement
2. Walk through all 9 criteria
3. Mark any failures
4. Fix failures before proceeding or flag for review
5. A requirement that fails ANY criterion needs attention
**Scoring:**
- 9/9: Requirement is high quality
- 7-8/9: Minor issues, address if time permits
- 5-6/9: Significant issues, must address before approval
- <5/9: Requirement needs rewrite

View File

@ -32,6 +32,16 @@ modules:
type: bmad-org
npmPackage: bmad-game-dev-studio
bmad-method-audit-standards-enterprise:
url: https://github.com/bmad-code-org/bmad-method-audit-standards-enterprise
module-definition: src/module.yaml
code: audit
name: "Audit Standards Enterprise"
description: "Standards Auditor for compliance, security auditing, traceability, and multi-standard governance"
defaultSelected: false
type: bmad-org
npmPackage: bmad-method-audit-standards-enterprise
bmad-method-test-architecture-enterprise:
url: https://github.com/bmad-code-org/bmad-method-test-architecture-enterprise
module-definition: src/module.yaml