# Implementation Readiness - Workflow Instructions The workflow execution engine is governed by: {project-root}/.bmad/core/tasks/workflow.xml You MUST have already loaded and processed: {project-root}/.bmad/bmm/workflows/3-solutioning/implementation-readiness/workflow.yaml Communicate all findings and analysis in {communication_language} throughout the assessment Input documents specified in workflow.yaml input_file_patterns - workflow engine handles fuzzy matching, whole vs sharded document discovery automatically ⚠️ ABSOLUTELY NO TIME ESTIMATES - NEVER mention hours, days, weeks, months, or ANY time-based predictions. AI has fundamentally changed development speed - what once took teams weeks/months can now be done by one person in hours. DO NOT give ANY time estimates whatsoever. ⚠️ CHECKPOINT PROTOCOL: After EVERY tag, you MUST follow workflow.xml substep 2c: SAVE content to file immediately → SHOW checkpoint separator (━━━━━━━━━━━━━━━━━━━━━━━) → DISPLAY generated content → PRESENT options [a]Advanced Elicitation/[c]Continue/[p]Party-Mode/[y]YOLO → WAIT for user response. Never batch saves or skip checkpoints. Check if {workflow_status_file} exists No workflow status file found. Implementation Readiness check can run standalone or as part of BMM workflow path. **Recommended:** Run `workflow-init` first for project context tracking and workflow sequencing. Continue in standalone mode or exit to run workflow-init? (continue/exit) Set standalone_mode = true Exit workflow Load the FULL file: {workflow_status_file} Parse workflow_status section Check status of "implementation-readiness" workflow Get {selected_track} (quick-flow, bmad-method, or enterprise-bmad-method) Find first non-completed workflow (next expected workflow) Based on the selected_track, understand what artifacts should exist: - quick-flow: Tech spec and simple stories in an epic only (no PRD, minimal solutioning) - bmad-method and enterprise-bmad-method: PRD, UX design, epics/stories, architecture ⚠️ Implementation readiness check already completed: {{implementation-readiness status}} Re-running will create a new validation report. Continue? (y/n) Exiting. Use workflow-status to see your next step. Exit workflow ⚠️ Next expected workflow: {{next_workflow}}. Implementation readiness check is out of sequence. Continue with readiness check anyway? (y/n) Exiting. Run {{next_workflow}} instead. Exit workflow Set standalone_mode = false project_context After discovery, these content variables are available: {prd_content}, {epics_content}, {architecture_content}, {ux_design_content}, {tech_spec_content}, {document_project_content} Review the content loaded by Step 0.5 and create an inventory Inventory of available documents: - PRD: {prd_content} (loaded if available) - Architecture: {architecture_content} (loaded if available) - Epics: {epics_content} (loaded if available) - UX Design: {ux_design_content} (loaded if available) - Tech Spec: {tech_spec_content} (loaded if available, Quick Flow track) - Brownfield docs: {document_project_content} (loaded via INDEX_GUIDED if available) For each loaded document, extract: - Document type and purpose - Brief description of what it contains - Flag any expected documents that are missing as potential issues document_inventory Thoroughly analyze each loaded document to extract: - Core requirements and success criteria - Architectural decisions and constraints - Technical implementation approaches - User stories and acceptance criteria - Dependencies and sequencing requirements - Any assumptions or risks documented For PRD analysis, focus on: - User requirements and use cases - Functional and non-functional requirements - Success metrics and acceptance criteria - Scope boundaries and explicitly excluded items - Priority levels for different features For Architecture/Tech Spec analysis, focus on: - System design decisions and rationale - Technology stack and framework choices - Integration points and APIs - Data models and storage decisions - Security and performance considerations - Any architectural constraints that might affect story implementation For Epic/Story analysis, focus on: - Coverage of PRD requirements - Story sequencing and dependencies - Acceptance criteria completeness - Technical tasks within stories - Estimated complexity and effort indicators document_analysis PRD ↔ Architecture Alignment: - Verify every PRD requirement has corresponding architectural support - Check that architectural decisions don't contradict PRD constraints - Identify any architectural additions beyond PRD scope (potential gold-plating) - Ensure non-functional requirements from PRD are addressed in architecture document - If using new architecture workflow: verify implementation patterns are defined PRD ↔ Stories Coverage: - Map each PRD requirement to implementing stories - Identify any PRD requirements without story coverage - Find stories that don't trace back to PRD requirements - Validate that story acceptance criteria align with PRD success criteria Architecture ↔ Stories Implementation Check: - Verify architectural decisions are reflected in relevant stories - Check that story technical tasks align with architectural approach - Identify any stories that might violate architectural constraints - Ensure infrastructure and setup stories exist for architectural components alignment_validation Identify and categorize all gaps, risks, and potential issues discovered during validation Check for Critical Gaps: - Missing stories for core requirements - Unaddressed architectural concerns - Absent infrastructure or setup stories for greenfield projects - Missing error handling or edge case coverage - Security or compliance requirements not addressed Identify Sequencing Issues: - Dependencies not properly ordered - Stories that assume components not yet built - Parallel work that should be sequential - Missing prerequisite technical tasks Detect Potential Contradictions: - Conflicts between PRD and architecture approaches - Stories with conflicting technical approaches - Acceptance criteria that contradict requirements - Resource or technology conflicts Find Gold-Plating and Scope Creep: - Features in architecture not required by PRD - Stories implementing beyond requirements - Technical complexity beyond project needs - Over-engineering indicators Check Testability Review (if test-design exists in Phase 3): **Note:** test-design is recommended for BMad Method, required for Enterprise Method - Check if {output_folder}/test-design-system.md exists - If exists: Review testability assessment (Controllability, Observability, Reliability) - If testability concerns documented: Flag for gate decision - If missing AND track is Enterprise: Flag as CRITICAL gap - If missing AND track is Method: Note as recommendation (not blocker) gap_risk_analysis Review UX artifacts and validate integration: - Check that UX requirements are reflected in PRD - Verify stories include UX implementation tasks - Ensure architecture supports UX requirements (performance, responsiveness) - Identify any UX concerns not addressed in stories Validate accessibility and usability coverage: - Check for accessibility requirement coverage in stories - Verify responsive design considerations if applicable - Ensure user flow completeness across stories ux_validation Compile all findings into a structured readiness report with: - Executive summary of readiness status - Project context and validation scope - Document inventory and coverage assessment - Detailed findings organized by severity (Critical, High, Medium, Low) - Specific recommendations for each issue - Overall readiness recommendation (Ready, Ready with Conditions, Not Ready) Provide actionable next steps: - List any critical issues that must be resolved - Suggest specific document updates needed - Recommend additional stories or tasks required - Propose sequencing adjustments if needed Include positive findings: - Highlight well-aligned areas - Note particularly thorough documentation - Recognize good architectural decisions - Commend comprehensive story coverage where found readiness_assessment Load the FULL file: {workflow_status_file} Find workflow_status key "implementation-readiness" ONLY write the file path as the status value - no other text, notes, or metadata Update workflow_status["implementation-readiness"] = "{output_folder}/implementation-readiness-report-{{date}}.md" Save file, preserving ALL comments and structure including STATUS DEFINITIONS Find first non-completed workflow in workflow_status (next workflow to do) Determine next agent from path file based on next workflow Determine overall readiness status from the readiness_assessment (Ready, Ready with Conditions, or Not Ready) **✅ Implementation Readiness Check Complete!** **Assessment Report:** - Readiness assessment saved to: {output_folder}/implementation-readiness-report-{{date}}.md {{#if standalone_mode != true}} **Status Updated:** - Progress tracking updated: implementation-readiness marked complete - Next workflow: {{next_workflow}} {{else}} **Note:** Running in standalone mode (no progress tracking) {{/if}} **Next Steps:** {{#if standalone_mode != true}} - **Next workflow:** {{next_workflow}} ({{next_agent}} agent) - Review the assessment report and address any critical issues before proceeding Check status anytime with: `workflow-status` {{else}} Since no workflow is in progress: - Refer to the BMM workflow guide if unsure what to do next - Or run `workflow-init` to create a workflow path and get guided next steps {{/if}} **🚀 Ready for Implementation!** Your project artifacts are aligned and complete. You can now proceed to Phase 4: Implementation. Would you like to run the **sprint-planning** workflow to initialize your sprint tracking and prepare for development? (yes/no) Inform user that sprint-planning workflow will be invoked You can run sprint-planning later when ready: `sprint-planning` **⚠️ Not Ready for Implementation** Critical issues must be resolved before proceeding. Review the assessment report and address the identified gaps. Once issues are resolved, re-run implementation-readiness to validate again. status_update_result