Documents · Aiora Code
Permissions, approvals and Stop
Three permission modes decide how much Aiora Code does without asking. How approvals work, what never runs on its own, and how to stop a run properly.
Aiora Code can edit files, run commands and start servers. The permission mode decides how much of that happens without asking you first. Choose it from the permissions control in the composer, from **Settings, Permissions & security**, or by typing a slash command.
The three permission modes
Your choice is remembered on this device, so a new conversation starts in the mode you last used. The composer marks **Bypass permissions** with a warning colour so it is never on by accident.
Which one to pick: Start in **Accept edits**. Move to **Manual** for work on something you cannot easily recreate, such as a project with data you have not backed up. Use **Bypass permissions** only for throwaway experiments.
How an approval works
- The agent reaches an action that needs your go-ahead in the current mode.
- An approval card appears in the conversation, showing exactly what it wants to run or change.
- The run pauses. Nothing further happens until you answer.
- Choose **Allow** to let that action run, or **Deny** to refuse it. The agent reads your answer and carries on, or takes another route.
Deploys always ask, whatever the mode.
What never runs on its own
Some commands are refused outright: When Aiora Code is working by itself, commands that would wipe a disk or your home folder, such as formatting a drive or deleting from the root, are refused. Read what a mode allows before choosing a permissive one for work you cannot recreate.
Work mode is a separate choice
Permission mode says what may run. Work mode says what kind of work to do: **Go** builds, **Plan** inspects and plans without changing source files, and **Learn** explains your project without silently changing code. Plan and Learn are the safest way to look around a project you do not know yet.
Stop means stop
Press **Stop** to end a run. Closing the tab or losing the connection is not treated as a decision: the run lives on the workspace and carries on, and reopening the conversation shows what happened while you were away.
Stop waits until the run has really stopped. If that cannot be confirmed, the workspace stays locked against late changes, so a half-finished run cannot write to your files after you asked it to stop.
A stopped turn is charged only for what it used before it stopped; the rest of its hold is released.
Common problems
- **The run is paused and you cannot see why**: scroll the conversation for an approval card waiting for **Allow** or **Deny**.
- **Too many prompts**: switch from **Manual** to **Accept edits**.
- **You want to undo an allowed change**: open **Changes** and ask the agent to revert it, or step back with Git.
- Aiora Code: Choose a permission mode.
- What Aiora Code is: The environment behind the conversation.
- Kairo permissions: How Kairo asks before it acts.