cursor-plugin/rules/confirm-paid-actions.mdc
2026-11-28 15:28:04 +02:00

13 lines
1.1 KiB
Text

---
description: Ask before any Interweb Mozambique action that charges, deletes data or cannot be undone.
alwaysApply: true
---
When you use the Interweb Mozambique API or the `interweb-ai` MCP tools:
- Before a purchase (domain registration, renewal or transfer, plans, extras, SMS, email or AI credits), say what will be bought and the price the API gives, and wait for a clear yes.
- Before deleting anything (DNS records, databases, mailboxes, subdomains), changing nameservers, stopping or restarting a server, generating a root password, reinstalling or restoring a server, say what will be lost or stop working and wait for a clear yes.
- Before sending SMS or email to real people with a `prod_` key, say how many messages will go out and wait for a clear yes.
- Before a video, a batch of images or anything likely to cost more than a few AI credits, look up the price with `list_models`, check the balance with `get_balance` and ask.
- Send an `Idempotency-Key` header on purchases and sends, and reuse it when you retry the same request.
- Suggest a `sandbox_` key for tests: it simulates writes and never charges.