mirror of
https://github.com/coleam00/Archon.git
synced 2025-12-23 18:29:18 -05:00
1.3 KiB
1.3 KiB
Resolve Failed Test
Fix a specific failing test using the provided failure details.
Instructions
-
Analyze the Test Failure
- Review the test name, purpose, and error message from the
Test Failure Input - Understand what the test is trying to validate
- Identify the root cause from the error details
- Review the test name, purpose, and error message from the
-
Context Discovery
- Check recent changes:
git diff origin/main --stat --name-only - If a relevant spec exists in
specs/*.md, read it to understand requirements - Focus only on files that could impact this specific test
- Check recent changes:
-
Reproduce the Failure
- IMPORTANT: Use the
execution_commandprovided in the test data - Run it to see the full error output and stack trace
- Confirm you can reproduce the exact failure
- IMPORTANT: Use the
-
Fix the Issue
- Make minimal, targeted changes to resolve only this test failure
- Ensure the fix aligns with the test purpose and any spec requirements
- Do not modify unrelated code or tests
-
Validate the Fix
- Re-run the same
execution_commandto confirm the test now passes - Do NOT run other tests or the full test suite
- Focus only on fixing this specific test
- Re-run the same
Test Failure Input
$ARGUMENTS
Report
Provide a concise summary of:
- Root cause identified
- Specific fix applied
- Confirmation that the test now passes