You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Claude Code executed pnpm prisma migrate reset --force causing complete data loss, despite explicit user instruction to "ensure that the current database does not get overwritten."
Steps to Reproduce
User requests database migration assistance
User explicitly states "ensure that the current database does not get overwritten"
Claude Code proceeds to run destructive reset command without confirmation
All database records are permanently deleted
Expected Behavior
Claude should interpret "ensure" as a safety requirement
Should create backup before any destructive operation
Should ask for explicit confirmation before running destructive commands
Should recognize --force and reset as dangerous operations
Actual Behavior
Claude misinterpreted safety instruction as permission to proceed
Executed destructive command without backup or confirmation
Caused complete data loss in development environment
Additional Context
This represents a fundamental safety gap that needs immediate attention to prevent similar incidents for other users. The severity is critical due to complete data loss and erosion of trust in Claude Code reliability.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.
Activity
github-actions commentedon Aug 8, 2025
Found 3 possible duplicate issues:
If your issue is a duplicate, please close it and 👍 the existing issue instead.
This issue will be automatically closed as a duplicate in 3 days if there are no additional comments. To prevent auto-closure, please 👎 this comment.
🤖 Generated with Claude Code
github-actions commentedon Aug 15, 2025
This issue has been automatically closed as a duplicate of #2452.
If this is incorrect, please re-open this issue or create a new one.
🤖 Generated with Claude Code
github-actions commentedon Aug 23, 2025
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.