assess_and_gate
Assesses risk of a user request; if dangerous, creates an approval ticket and requires user decision via Cursor form before executing the action.
Instructions
BUILTIN POLICY: Assess risk; if dangerous, create a ticket and request approval via Cursor in-IDE form (MCP elicitation). Returns approved/rejected when user decides in Cursor. Fallback: pending + chat/panel instructions. Call BEFORE side effects. Do NOT execute while pending/rejected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Optional explicit action id, e.g. delete_files | |
| intent | Yes | User request or proposed action in natural language | |
| params | No | Optional params to lock into the approval ticket | |
| requester | No | ||
| auto_create | No | Auto-create ticket when risky (default true) | |
| ttl_seconds | No |