Fixes test failures by analyzing root causes, preparing code changes, and presenting them for user approval before applying.
Ships in core. Installing the plugin adds it to Claude Code.
Fix identified test failures and issues based on Phase 7 analysis. This phase requires USER APPROVAL before applying changes.
Actions:
### Correction Plan
#### Priority 1: Critical Issues
- [Issue 1]: [Fix approach]
- [Issue 2]: [Fix approach]
#### Priority 2: High Priority Issues
- [Issue 3]: [Fix approach]
#### Priority 3: Medium/Low Priority Issues
- [Issue 4]: [Fix approach]
Expected Output: Prioritized correction plan.
Actions:
For each identified issue, prepare specific changes:
Document each proposed change:
### Proposed Change: [Issue Description]
**File**: [File path]
**Current Code**:
```[language]
[Current code snippet]
Proposed Code:
[Proposed code snippet]
Reason: [Why this change fixes the issue] Impact: [What this change affects]
Group changes by file/module
Ensure changes align with:
Expected Output: Detailed list of all proposed changes with code snippets.
Actions:
Present all proposed changes to user in organized format:
Based on the test report analysis (Phase 7), I've identified the following issues and prepared fixes:
## Summary
- Total Issues: [Count]
- Critical: [Count]
- High Priority: [Count]
- Medium/Low: [Count]
## Proposed Changes
### Change 1: [Issue Title]
**File**: [Path]
**Issue**: [Description]
**Fix**: [Brief description]
**Code Change**:
```[language]
[Before] → [After]
[Similar format]
...
Please review all proposed changes and provide explicit approval:
DO NOT PROCEED until you receive explicit approval.
WAIT for user approval
DO NOT PROCEED to implementation until user explicitly approves
If user requests modifications:
If user rejects specific changes:
Expected Output: User approval received for proposed changes.
Actions:
Expected Output: All approved changes implemented.
Actions:
Use: ReadLints tool on modified files
Expected Output: All changes validated and verified.
Actions:
## Phase 8: Test Corrections
### Issues Fixed
- [Issue 1]: [Fix applied]
- [Issue 2]: [Fix applied]
...
### Changes Made
#### File: [Path]
- Change: [Description]
- Reason: [Why]
- Status: [Applied/Rejected]
### User Approval
- Approval Date: [DateTime]
- Approved Changes: [Count]
- Rejected Changes: [Count]
### Validation
- [x] All approved changes implemented
- [x] Code follows project standards
- [x] Linting checks passed
- [x] Changes address root causes
### Next Steps
- Re-run tests to verify fixes
- If tests pass: AQA flow complete
- If tests still fail: Re-analyze (return to Phase 7)
Expected Output: Test plan updated with correction details.
agents/aqa-state.md updated with Phase 8 completionAfter completing Phase 8, update agents/aqa-state.md:
### Phase 8: Test Corrections
- Completed: [DateTime]
- Issues Identified: [Count]
- Changes Proposed: [Count]
- User Approval: [Date/Time]
- Changes Applied: [Count]
- Changes Rejected: [Count]
- Files Modified: [List]
- Status: Ready for re-testing
Mark Phase 8 as completed.
After corrections are applied:
Re-run tests to verify fixes:
npm test [test file path]
If tests pass:
If tests still fail:
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
/griddynamics-core-instructions-r2-core:aqa-flow-test-correctionfrom core
Generated from the plugin's indexed repository (griddynamics/rosetta) — no native marketplace selected
npx claudepluginhub p/griddynamics-core-instructions-r2-core43 commands in this plugin
/aqa-flow-data-collectionPhase 1 Data Collection of aqa-flowOther plugins' commands for the same job