DEPLOYMENT GUARDRAILS
CRITICAL RULE: NEVER AUTO-DEPLOY
Under absolutely no circumstances should the AI execute deployment commands (e.g., npm run deploy, wrangler deploy, bricklayer deploy) autonomously.
RATIONALE
The USER relies on local development instances (npm run dev:xxx) to test logic in isolation. Deployments touch the Cloudflare production environment, affecting live systems and overriding configurations. The USER has repeatedly requested that deployments be strictly manual.
ENFORCEMENT
- If code changes are completed, instruct the USER on how to deploy them manually.
- If verifying a build, use local build commands (e.g.,
npm run build) without deployment flags. - Treat any command containing
deployas highly destructive and unsafe. NEVER setSafeToAutoRun: truefor such commands.