3.2 KiB
3.2 KiB
Fix Validation Workflow
Verify proposed fix addresses root cause without introducing side effects.
Context
This workflow systematically validates that a proposed fix actually addresses the root cause and doesn't introduce new issues or regressions.
Prerequisites
- Identified root cause
- Proposed fix (code, configuration, or process change)
- Understanding of system architecture
- Access to test suite
Instructions
Step 1: Root Cause Alignment
- Review the identified root cause from analysis
- Examine the proposed fix in detail
- Verify fix directly addresses root cause (not just symptoms)
- Check if fix is complete or requires additional changes
- Document alignment assessment
Step 2: Side Effect Analysis
- Identify all components affected by the fix
- Analyze potential ripple effects
- Check for dependency impacts
- Review similar code patterns that might be affected
- Assess performance implications
- Document potential side effects
Step 3: Regression Risk Assessment
Rate regression risk for each category:
- Code Changes: Lines changed, complexity, critical paths
- Test Coverage: Existing test coverage of affected areas
- Integration Points: Number of integration points affected
- Deployment Risk: Configuration or infrastructure changes needed
Risk Levels:
- High: Critical paths, low test coverage, many integration points
- Medium: Moderate complexity, good test coverage, some integration points
- Low: Simple changes, high test coverage, isolated changes
Step 4: Test Strategy Validation
- Review existing tests covering affected areas
- Identify gaps in test coverage
- Recommend new tests needed to validate fix
- Suggest regression tests to prevent recurrence
- Verify test strategy is comprehensive
Step 5: Validation Recommendations
Provide structured recommendations:
- Fix Assessment: Does fix address root cause? (Yes/No/Partial)
- Regression Risk: High/Medium/Low with justification
- Required Tests: List specific tests needed
- Additional Changes: Any complementary changes needed
- Monitoring: Metrics or logs to watch post-deployment
- Approval: Recommend approval status (Approved/Needs Work/Rejected)
Output Requirements
Generate validation report containing:
- Root cause alignment assessment
- Side effect analysis with affected components
- Regression risk matrix by category
- Test strategy recommendations
- Monitoring and rollback plan
- Final recommendation with justification
Completion Criteria
- Root cause alignment verified
- Side effects identified and documented
- Regression risk assessed by category
- Test strategy validated and gaps identified
- Monitoring recommendations provided
- Final approval recommendation given