Approvals and irreversible actions
When the AI asks before acting, and the extra checks for the few actions that cannot be undone.
The AI can do almost anything you can do in CodePinion. What keeps that safe is when it has to ask. Reading never needs approval; changing something usually does; and a small set of actions that cannot be undone need more than a click.
What asks, in each mode
| Ask | Agent | Plan | Auto | |
|---|---|---|---|---|
| Reading anything | — | — | — | — |
| Editing files | Not done | Asks each time | Covered by the plan | Done without asking |
| Shell commands | Not done | Asks each time | Covered by the plan | Asks each time |
| Actions that always ask (below) | Not done | Asks | Asks, even inside a plan | Asks |
| Irreversible actions (below) | Not done | Name + emailed code | Name + emailed code | Name + emailed code |
When the AI wants to edit a file, the approval dialog also offers Approve & stop asking for edits. It switches the chat to Auto: file edits stop asking for the rest of the chat, while shell commands and deletes still confirm. Switch back any time from the mode selector.
Organizations can pre-approve safe shell commands such as pytest, so those run without a prompt; see AI governance.
Actions that always ask
These cost money, change what is live, or delete planning work, so they ask every time, even in an approved plan:
- creating or resizing an add-on, and opening it to external access;
- deploying a hosted app, and rolling back a deployment;
- deleting tasks, goals or a sprint (deleting a sprint also asks you to type its name).
The approval dialog shows what will happen, including the price for anything billable.
Irreversible actions
Eight actions cannot be undone. Before any of them, you type the resource's exact name and enter a one-time code emailed to you:
- deleting a hosted app;
- deleting an add-on and its data;
- removing a custom domain;
- deleting an environment;
- permanently deleting a repository;
- archiving an organization;
- archiving a team;
- deleting a workspace.
If you decline
Declining is safe: nothing changes, and the AI is told you said no. It may suggest another way, or ask what you would like instead.