Repository navigation
03 workflows parallel development
Coherence APM Framework v4.2.0 provides coordinated execution capabilities through 6 actual parallel commands, enabling unified context engineering across multiple workflow streams. This workflow maximizes development coordination through intelligent parallel execution.
Coherence APM Framework v4.2.0 provides coordinated execution through:
- 6 Parallel Commands: Actual available parallel commands for specific workflows
- Unified Context Engineering: Consistent context preservation across parallel streams
-
Session Management: Persistent context in
.apm/session_notes/directory - Voice Notifications: Audio feedback for parallel command execution
The framework provides 6 actual parallel commands:
-
/planning-stories: Batch story creation and planning -
/qa-framework: Comprehensive testing setup and validation -
/qa-regression-suite: Coordinated test execution and validation -
/planning-next-story: Sprint continuation and story progression -
/qa-acceptance-criteria: Quality validation and acceptance testing -
/planning-checklist: Coordinated verification and validation
✅ Use Parallel Commands For:
-
Story Planning: Use
/planning-storiesfor batch story creation -
QA Setup: Use
/qa-frameworkfor comprehensive testing coordination -
Regression Testing: Use
/qa-regression-suitefor coordinated test execution -
Sprint Continuation: Use
/planning-next-storyfor efficient story progression -
Acceptance Validation: Use
/qa-acceptance-criteriafor quality validation -
Checklist Coordination: Use
/planning-checklistfor verification workflows
❌ Avoid Parallel Commands For:
- Simple Tasks: Single component changes better handled by individual personas
- Learning/Exploration: Discovery work requiring sequential investigation
- Heavy Dependencies: Work requiring strict sequential execution
- Small Changes: Work that can be completed by single persona efficiently
/planning-stories → Coordinated story creation and acceptance criteria
When to Use: Batch story creation for sprint planning Benefits: Unified context across story development Coordination: Consistent story format and acceptance criteria
Example - Sprint Story Creation:
- Coordinated Planning: Multiple stories created with unified context
- Acceptance Criteria: Consistent quality standards across stories
- Context Preservation: Session notes maintain planning decisions
- Voice Feedback: Audio confirmation of story creation completion
/qa-framework → Coordinated testing setup and validation
When to Use: Comprehensive testing framework establishment Benefits: Unified testing approach across components Coordination: Consistent test patterns and quality standards
Example - Testing Infrastructure:
- Test Strategy: Coordinated approach to testing methodology
- Framework Setup: Unified testing tools and configurations
- Quality Standards: Consistent validation criteria across tests
- Documentation: Session notes capture testing decisions
/qa-regression-suite → Coordinated test execution and validation
When to Use: Comprehensive regression testing across system components Benefits: Unified test execution with coordinated validation Coordination: Consistent test result reporting and issue tracking
Example - System Validation:
- Test Execution: Coordinated execution of regression test suites
- Result Analysis: Unified analysis of test outcomes
- Issue Tracking: Consistent tracking of test failures and fixes
- Quality Gates: Coordinated validation of system quality
/planning-next-story → Coordinated next story identification and planning
When to Use: Efficient transition to next stories in sprint workflow Benefits: Seamless continuation of sprint momentum Coordination: Unified context for story progression and priority management
Example - Sprint Flow:
- Story Progression: Coordinated identification of next priority stories
- Context Transfer: Seamless handoff of completed work to next stories
- Priority Alignment: Unified understanding of story priorities
- Planning Efficiency: Reduced overhead in story transition
Purpose: Coordinated story creation and planning
- Function: Creates multiple user stories with unified context
- Benefits: Consistent story format and acceptance criteria
- Integration: Updates session notes and maintains planning context
- Voice Feedback: Audio confirmation of story creation completion
Prerequisites:
- Epic or feature requirements defined
- Clear understanding of user needs
- Access to project documentation
Purpose: Comprehensive testing framework establishment
- Function: Coordinates testing setup across multiple components
- Benefits: Unified testing approach and quality standards
- Integration: Session notes capture testing decisions and frameworks
- Voice Feedback: Audio confirmation of framework setup
Purpose: Comprehensive regression testing coordination
- Function: Executes and coordinates regression test suites
- Benefits: Unified test result analysis and issue tracking
- Integration: Updates test results in session notes
- Voice Feedback: Audio notification of test completion
Purpose: Efficient transition to next stories in workflow
- Function: Coordinates next story identification and planning
- Benefits: Seamless sprint momentum and context preservation
- Integration: Maintains sprint context in session notes
- Voice Feedback: Audio confirmation of story transition
Purpose: Coordinated acceptance criteria validation
- Function: Validates quality standards across multiple criteria
- Benefits: Consistent quality validation and sign-off tracking
- Integration: Documents validation results in session notes
- Voice Feedback: Audio confirmation of validation completion
Purpose: Systematic verification and validation coordination
- Function: Coordinates checklist-based verification processes
- Benefits: Comprehensive verification with unified standards
- Integration: Maintains verification status in session notes
- Voice Feedback: Audio confirmation of checklist completion
The 6 parallel commands integrate with other Coherence workflows:
-
Story Planning:
/planning-storiescoordinates with/poand/smpersonas -
Checklist Validation:
/planning-checklistsupports systematic verification -
Next Story Flow:
/planning-next-storymaintains sprint momentum
-
Framework Setup:
/qa-frameworkestablishes testing foundations -
Acceptance Validation:
/qa-acceptance-criteriaensures quality standards -
Regression Testing:
/qa-regression-suiteprovides comprehensive validation
-
Context Preservation: All parallel commands maintain context in
.apm/session_notes/ - Voice Notifications: Audio feedback confirms completion of parallel operations
- Unified Documentation: Session notes capture parallel workflow decisions and outcomes
# Example: Launch parallel story planning
/planning-storiesWhat Happens Internally:
- Command Recognition: Coherence identifies parallel execution request
- Context Loading: Loads unified context from session notes and project documentation
- Coordination Setup: Establishes shared context and communication channels
- Execution Coordination: Coordinates parallel workflow execution
- Session Documentation: Updates session notes with parallel execution results
Coordination Features:
- Shared Context: All parallel operations access unified project context
-
Session Integration: Automatic updates to
.apm/session_notes/directory - Voice Notifications: Audio feedback confirms coordination milestones
- Documentation Preservation: Context maintained across parallel operations
Parallel Operation Management:
- Workflow Coordination: Operations coordinate through unified context
- Quality Standards: Consistent quality validation across parallel operations
- Error Handling: Graceful handling of issues within parallel workflows
- Context Preservation: Unified context maintained throughout execution
Completion Process:
- Result Synthesis: All parallel operations contribute to unified outcome
- Quality Validation: Final validation of coordinated results
- Session Documentation: Comprehensive update of session notes with results
- Voice Confirmation: Audio notification of successful completion
- Consistent Context: All parallel operations maintain unified project context
-
Session Continuity: Persistent documentation in
.apm/session_notes/directory - Voice Integration: Audio feedback provides workflow confirmation
- Quality Standards: Consistent quality validation across parallel operations
- Reduced Context Switching: Coordinated operations minimize persona transitions
- Systematic Approach: Structured workflows with defined coordination patterns
- Documentation Quality: Comprehensive session notes capture parallel workflow decisions
- Integration Points: Clear handoff and coordination between parallel operations
- Systematic Validation: Coordinated quality checks across multiple workflow aspects
- Consistent Standards: Unified quality criteria applied across parallel operations
- Comprehensive Coverage: Multiple validation streams ensure thorough quality review
- Documentation Integrity: Session notes maintain complete workflow history
- Decompose Features: Break down work into independent components
- Document Dependencies: Clear dependency mapping in backlog.md
- Define Integration Points: Specify when parallel streams must synchronize
- Allocate Capacity: Ensure team has capacity for parallel work
-
Use Parallel Commands: Default to
/parallel-*commands for multi-component work - Trust Coordination: Let native sub-agents handle dependency resolution
- Monitor Progress: Use session notes for progress tracking
- Validate Integration: Regular integration testing throughout development
- Parallel Testing: Include testing streams in all parallel development
- Code Reviews: Review code from all parallel streams
- Integration Validation: Test integrated components thoroughly
- Documentation: Keep session notes current across all streams
- Don't Parallelize Simple Work: Use sequential execution for simple tasks
- Don't Ignore Dependencies: Respect true dependencies between components
- Don't Over-Allocate: Don't use more sub-agents than optimal (2-4)
- Don't Skip Integration Testing: Always validate parallel work integration
- Don't Neglect Communication: Keep all streams informed of changes
- Don't Ignore Conflicts: Address integration conflicts immediately
- Don't Skip Session Notes: Document progress from all parallel streams
- Don't Forget Backlog Updates: Update backlog.md with parallel work progress
- Don't Skip Handoff Documentation: Document work for future sessions
Is this work:
├── Simple (< 2 hours, single component) → Use sequential development
├── Medium (2-6 hours, 2-3 components) → Consider parallel development
└── Complex (> 6 hours, 3+ components) → Use parallel development
Are components:
├── Highly Dependent → Sequential development (with parallel testing)
├── Moderately Dependent → Parallel with frequent integration points
└── Independent → Full parallel development
Team capacity:
├── Limited (1-2 developers) → Sequential with parallel QA
├── Moderate (3-4 developers) → 2-3 parallel streams
└── High (5+ developers) → 3-4 parallel streams
Choose pattern based on:
├── Feature Work → /planning-stories or /implementation-sprint
├── Architecture Work → /planning-architecture
├── Testing Work → /parallel-test-plan or /qa-framework
├── Infrastructure Work → /parallel-automation-plan
└── Problem Solving → /parallel-course-correction
Automatic Dependency Resolution:
- Native sub-agents automatically detect and resolve integration dependencies
- Real-time coordination prevents conflicts before they occur
- Intelligent work sequencing within parallel streams
Incremental Integration Points:
- Regular integration checkpoints throughout parallel development
- Continuous validation of integrated components
- Early detection of integration issues
Dynamic Sub-Agent Management:
- Automatic scaling of sub-agents based on work complexity
- Resource optimization to prevent system overload
- Intelligent workload distribution across available sub-agents
- Story Completion Rate: 250-400% improvement for complex features
- Epic Delivery Time: 300-600% improvement for large initiatives
- Time to Market: Significant reduction in feature delivery timelines
- Defect Reduction: Parallel testing streams improve quality
- Test Coverage: Specialized testing streams increase coverage
- Architecture Consistency: Parallel design validation improves consistency
- Developer Satisfaction: Reduced waiting time and context switching
- Focus Quality: Each sub-agent focuses on specialized area of expertise
- Learning Acceleration: Parallel work exposes developers to broader system
- Faster Feature Delivery: Competitive advantage through speed
- Higher Quality Products: Better testing and validation
- Reduced Development Costs: More efficient resource utilization
- Continuous Documentation: Session notes from all parallel streams
- Context Preservation: Maintain context across parallel sessions
- Handoff Coordination: Smooth transitions between parallel and sequential work
- Multi-User Coordination: Multiple team members working on parallel streams
- Communication Protocols: Keep all team members informed of parallel progress
- Conflict Resolution: Team-based resolution of parallel development conflicts
- Parallel Story Updates: Update backlog.md with progress from all streams
- Acceptance Criteria Tracking: Track criteria completion across parallel work
- Sprint Health Monitoring: Monitor sprint progress with parallel execution
- Typical Project Flow - Standard development lifecycle
- Session Management - Context preservation across parallel work
- Team Collaboration - Multi-user parallel development
- Handoff Patterns - Transitions between parallel and sequential work
Harness the power of native sub-agent parallelism for revolutionary development performance.