Safety rules for terminal operations
rm -rf / or any wildcard recursive delete without explicit user approvalDROP DATABASE, TRUNCATE TABLE — never via terminalgit push --force to main or developgit reset --hard without confirmationDELETE or UPDATE without WHERE clausephp artisan migrate # Run pending migrations
php artisan migrate:status # Check migration status (safe)
php artisan test # Run tests
composer run lint # PHP CS Fixer
composer run analyze # PHPStan
npm run dev # Start dev server
npm run build # Build for production
npm run lint # ESLint
npm run typecheck # Type checking
npm run test # Vitest
php artisan tinker # REPL — use caution
php artisan db:show # Show database info
php artisan schema:dump # Dump schema
Before executing these, AI must ask for confirmation:
php artisan migrate:rollbackphp artisan db:wipenpm run build (production)