2 destructive or ship-to-production scripts have no warning for agents (publish-sandboxes, publish)
publish-sandboxes: yarn --cwd ../scripts publish
- scripts/package.json:25 (opens in new tab): publish: jiti ./sandbox/publish.ts
An agent that sees a reset or deploy script may run it while trying to get a clean state, against a database or environment that matters.
publish-sandboxes, publish, and deny them in the agent's permission settings.