- Change KOKONUT_ALLOW_PLAINTEXT_ENV default from true to false in .env.example
- Gate plaintext .env fallback in 5 shell scripts (seed, seed-pilot, health-check,
schema-snapshot, seed-metabase) on KOKONUT_ALLOW_PLAINTEXT_ENV=true
- Scripts now reject plaintext .env unless the override env var is explicitly set
- Follows the pattern established in backup.sh (already fail-closed)
- CI build spec retains KOKONUT_ALLOW_PLAINTEXT_ENV=true as documented exception
Changes
Security Impact
Prevents accidental plaintext secret loading in production environments.