Created
January 13, 2026 07:23
-
-
Save boxabirds/08bac5e530924670148f06a94d897675 to your computer and use it in GitHub Desktop.
No production! Bad agent! Prevent coding agents from running your production scripts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Block non-interactive execution (prevents automation/scripts from running this) | |
| if [ ! -t 0 ] || [ ! -t 1 ]; then | |
| echo "ERROR: This script must be run interactively from a terminal." | |
| echo "" | |
| echo "Production deployments require human confirmation." | |
| exit 1 | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment