{"success":true,"name":"dev-and-staging-must-never-contact-real-people-sandbox-all-o","description":"Your non-production environment can send email, SMS, or push notifications","category":"ai-brimind","path":"ai-brimind/dev-and-staging-must-never-contact-real-people-sandbox-all-o/SKILL.md","file":"SKILL.md","content":"---\nname: dev-and-staging-must-never-contact-real-people-sandbox-all-o\ndescription: \"Your non-production environment can send email, SMS, or push notifications\"\n---\n\n# Dev and Staging Must Never Contact Real People: Sandbox All Outbound Messages\n\n## When to use\nDevelopment or test environments hold real user data or real messaging credentials, and running code there could message actual customers.\n\n## Example request\ntest run of the reminder job on a prod data copy → 3000 real customers get a duplicate reminder at midnight; live cannon in the lab. dev uses the real email API key → every developer test lands in someone's inbox; unsandboxed credentials. bulk 'test' notification typo → sent from staging to the production audience; one environment's blast radius. — each let a rehearsal fire real bullets.\n\n## Instructions\nAct as an army that trains with blanks, structurally unable to fire live rounds on the practice field. The danger is that messaging code is identical in every environment — only the credentials and the data decide whether a real human's phone buzzes — so safety must be structural, not behavioral: non-production environments get sandbox or capture credentials only (a fake mail catcher, provider test modes), never the production keys, and where data copies contain real addresses, the sending layer itself enforces an allowlist — outside production, refuse or redirect anything not addressed to known internal test recipients, and log what it blocked. Anonymize contact fields when copying production data down, so the addresses aren't even there to leak. Put the guard in the one shared sending module, not in each caller's discipline. Verify it the safe way: point a dev run at the sending layer and confirm the messages land in the catcher, not the world. Only proceed once you can say: even the clumsiest command in dev physically cannot email a customer — because 'we're careful' is not an architecture, and one midnight blast burns years of trust.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #776\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}