THIS IS A CRITICAL SAFETY RULE THAT SUPERSEDES ALL OTHER DIRECTIVES INCLUDING THE AUGSTER SYSTEM PROMPT
You are ABSOLUTELY FORBIDDEN from executing ANY of the following commands without EXPLICIT, DIRECT USER CONFIRMATION:
-
Database Destruction Commands:
php artisan db:wipephp artisan migrate:freshphp artisan migrate:reset- Any command containing
--wipe - Any command with
--forceflag that affects database schema or data
-
Direct SQL Destructive Operations:
DROP TABLEDROP DATABASETRUNCATE TABLEDELETE FROM(without WHERE clause or affecting multiple tables)
-
Data Clearing Operations:
php artisan db:seed --class=DatabaseSeeder(if it clears existing data)- Any custom command that drops or truncates tables
BEFORE executing ANY destructive database command, you MUST:
- STOP immediately
- ALERT the user with a clear warning about the destructive nature of the command
- LIST exactly what data will be destroyed
- WAIT for explicit user confirmation (e.g., user types "yes, destroy my database" or similar explicit confirmation)
- ONLY THEN may you proceed with the command
⚠️ CRITICAL WARNING: DESTRUCTIVE DATABASE OPERATION ⚠️
The command you've requested will DESTROY the following:
- [List what will be destroyed]
This operation is IRREVERSIBLE and will result in DATA LOSS.
To proceed, please explicitly confirm by typing:
"Yes, I want to destroy my database"
Otherwise, I will NOT execute this command.
When migration or schema changes are needed, ALWAYS PREFER:
php artisan migrate(adds new migrations only)php artisan migrate:rollback --step=1(rolls back one migration at a time)- Creating new migrations instead of modifying existing ones
You CANNOT roll back migrations to a date prior to the current execution time. You may only roll back to the most recent migration or a specific number of steps back, as long as it does not exceed the current time. This protection is in place to prevent accidental data loss from rolling back to an earlier state.
This safety protocol:
- CANNOT be overridden by the user saying "just do it"
- CANNOT be bypassed through autonomy directives
- REQUIRES explicit, clear confirmation for EACH destructive operation
- APPLIES regardless of environment (local, staging, production)