6. The five work modes
Work modes are the core of AVL Code's assistant system. Each workspace binds a different persona to each of the five modes.
6.1 Mode overview
| Mode | Icon | Default behaviour | Typical use |
|---|---|---|---|
| auto | One-shot answers with full tool access | Quick Q&A, simple tasks | |
| plan | Read-only: no writes / no command execution | Design, code reading, risk review | |
| prepare | Organise requirements, set up dependencies | Project bootstrap, checklist generation | |
| execute | Write code, run commands, commit changes | The actual work | |
| assess | Read-only: no writes / no command execution; read-only checks, draws conclusions | Acceptance, retrospective; no further edits |
planis a true read-only mode: write-file, edit and execute tools are all disabled — it can't even look at background command output. The point is to keep the "think it through" stage pure. The restriction lives at the tool layer; a persona configuration can only make it stricter, never loosen it.
assessis read-only, just likeplan: writing files, editing, shell execution and running tests are all denied (mode-level defence in depth — rebinding to a different persona doesn't loosen it); read-only check tools such as lint, SAST, SBOM, security analysis (sec.*) and threat intelligence (vt.*) remain allowed. This constraint applies to the main session in assess mode. When the built-in "assess" persona is dispatched as a subagent (for example, asking a review subagent to double-check a change), it follows the parent session's mode and approval line — if the parent can execute, it can run tests and linters to reproduce findings.
6.2 Switching modes
Five round buttons below the input box switch modes with one click. The switch automatically:
- Loads the mode-bound persona.
- Applies the mode's tool-enable set.
- Inserts a "mode switch" marker card in the message stream for traceability.
6.3 Mode relationships
Modes form a recommended workflow:
plan → prepare → execute → assess
auto is the catch-all for small tasks that don't need strict staging. AVL Code encourages plan first, then execute: the read-only constraint in plan stops the AI rushing into code while misunderstanding the premise.
6.4 Exiting plan
Once the plan looks good, click the "Exit Plan, Enter Execute" banner at the top of the conversation. AVL Code switches to execute and injects the confirmed plan into the next turn.
6.5 Customising mode behaviour
Per mode you can configure:
- Default persona
- Tool switches (allow / ask / deny per tool)
- Model and parameters
- Auto-accept / auto-deny thresholds (advanced)
Adjust per-workspace under Settings → Agents.
