-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Description
Bug Description
Claude Code is repeatedly reverting previously fixed code issues, causing the same bugs to reappear multiple times within days. This forces users to fix the same issues repeatedly, wasting time and resources.
Specific Example
In the nominingue-dev project, we've had to fix the following issue at least 3 times in recent days:
- Issue: 48-hour weather data and GPS coordinates for media files not appearing in PDF reports
- Files affected:
/api/generate-multiple-visite-reports.php,/api/generate-visite-report.php - Pattern: The fix is applied, works correctly, then mysteriously reverts in subsequent sessions
Impact
- Wasted development time fixing the same issues repeatedly
- Loss of user confidence in the tool
- Unpredictable behavior making production use risky
- Financial cost due to repeated API calls for the same fixes
Expected Behavior
Once code is fixed and committed to a branch, those changes should persist and not be reverted unless explicitly requested by the user.
Actual Behavior
Previously fixed code issues reappear as if the fixes were never made, requiring the same corrections to be applied multiple times.
Environment
- Project: nominingue-dev
- Branch: hotfix/v1.33.1-gps-condensed-reports
- Platform: Linux (EC2 instance)
- Claude Code version: Latest as of 2025-09-23
Severity
HIGH - This is causing significant productivity loss and making the tool unreliable for production use.
Suggested Investigation Areas
- Check if Claude Code is incorrectly caching old file versions
- Verify that file edits are being properly persisted to disk
- Check for race conditions in file reading/writing operations
- Investigate if there's an issue with git integration reverting changes
This needs urgent attention as it's severely impacting the usability and reliability of Claude Code for serious development work.