# Approvals and hands-free mode

> Git push, merge, delete, package install, database and release commands are approved automatically, rejected, or held for the user's decision according to the approval policy. The default policy auto-approves only low-risk shell operations.

- Canonical: https://www.zekfy.com/agentforge/features/approvals/
- Türkçe: https://www.zekfy.com/tr/agentforge/ozellikler/approvals/
- Last updated: 2026-12-04
- Capability: Risky operations wait, by policy

## Approvals and the policy engine

AgentForge resolves a risky operation to one of three outcomes: automatic approval, rejection, or waiting for the user. The decision comes from a policy that looks at the kind of operation and its risk level. An operation on the deny list is rejected; one on the always-ask list waits; one on the auto-approve list is approved if its risk does not exceed the highest level allowed.

The default policy auto-approves only low-risk shell operations. By default, git push, merge, delete, package install, database and release operations wait for a decision by the user.

[Hands-free mode](https://www.zekfy.com/glossary/#hands-free-mode) is the one exception to this flow. The user turns it on, with a confirmation, from the button in the top bar or in Settings › Autonomous tasks; while it is on, every pending request, critical risk included, is approved automatically and recorded with hands-free as the decider. An operation on the deny list is still rejected in this mode.

- A forced git push and destructive delete or reset commands are classified as critical risk.
- Git push and publish or packaging commands are classified as high risk, merge and package install as medium.
- An approval request has four states: pending, approved, rejected, expired.
- The approval screen shows the waiting agent, the risk level and how long the agent will still wait; the buttons are disabled while a decision is saved, so the same decision is not sent twice.
- If a decision cannot be saved, the request shows "The decision could not be saved." with a "Try again" button; the decision is not lost silently.
- The approval card for a write to a [service connection](https://www.zekfy.com/glossary/#service-connection) in Production is written by the app, not by the agent, and carries a "Written by the app" label. Neither the policy nor hands-free mode can pass this card; a person has to approve it on the desktop before the request goes out. With hands-free mode on the card still waits.

## Hands-free mode: running without approvals, and its limits

Hands-free mode is off by default and only the user can turn it on: the button in the top bar or Settings › Autonomous tasks opens a confirmation window that lists what agents will do without asking, and the mode turns on only when that window is confirmed. While it is on, every Approval Center request, critical risk included, is approved automatically and recorded with hands-free as the decider; in Claude Code sessions the hook runs a tool that needs approval without asking. New consoles start with --permission-mode bypassPermissions in Claude Code, --dangerously-bypass-approvals-and-sandbox in Codex CLI, --yolo in Gemini CLI and --dangerously-skip-permissions in Antigravity CLI; other tools, for which no such flag has been verified, keep showing their own permission prompts.

The mode does not loosen the deny list or role restrictions. An operation kind on the deny list is still rejected. In a restricted role Claude Code starts in auto mode instead of the loosest mode, Codex CLI keeps its sandbox and only stops asking, and Gemini CLI and Antigravity CLI get no flag. Confirmations for actions the user starts personally stay in place too. Every automatic approval and every console launch is written to the event log; a banner stays in every view while the mode is on, and the mode turns off with one click.

- The flag applies only to consoles started while the mode is on. Consoles opened before the mode changed keep their earlier behavior until restarted; the banner counts them and offers to restart them.
- When a [profile](https://www.zekfy.com/glossary/#profile) command already sets its own permission flag, AgentForge leaves it as written and adds nothing.

## The role gate: an authorization check on every call

The [MCP](https://www.zekfy.com/glossary/#mcp) server registers only the tools of that role for [builder](https://www.zekfy.com/glossary/#builder) and reviewer sessions. Because hiding a tool list is not authorization by itself, the server checks the role again on every call: a tool that is not in the role's table is rejected with the role_denied code.

Known roles other than the [coordinator](https://www.zekfy.com/glossary/#coordinator) cannot move or take over another agent's card, and a closed or canceled card cannot be handed off. Only the coordinator can call the tool that adds a team member. In a read-only role the board tools that create cards, write plans and delegate work are closed too, through launch flags in Claude Code and Codex, so a read-only agent cannot have another agent with write access do the writing.

## Features

The 4 features that make up this capability. Each is also listed in the overview of all features.

### Approval screen and policy engine

Risky shell, push, merge, delete, install, database and release operations are approved automatically, rejected, or held for the user according to policy. The default policy auto-approves only low-risk shell operations.

Listed under [Cost and control](https://www.zekfy.com/agentforge/features/#approval-policy)

### Hands-free mode

While hands-free mode is on, every Approval Center request, critical risk included, is approved automatically, and new Claude Code, Codex CLI, Gemini CLI and Antigravity CLI consoles open without permission prompts. The mode is off by default, asks for confirmation when turned on and does not loosen the deny list or role restrictions; every automatic approval is written to the event log.

Listed under [Cost and control](https://www.zekfy.com/agentforge/features/#hands-free-mode)

### Tool permission per role

A role's access is one of three levels: full, no-shell-risk or read-only. The restriction is applied with --disallowedTools in Claude Code and with the --sandbox flag in Codex (read-only for the read-only level, workspace-write for no-shell-risk), and a role only narrows the permission mode the user chose. For an engine that cannot apply the restriction the team screen warns. This mapping has not yet been tried in a live session.

Listed under [Cost and control](https://www.zekfy.com/agentforge/features/#role-tool-access)

### MCP tool surface by role

The MCP server registers only the tools of that role for builder and [reviewer](https://www.zekfy.com/glossary/#reviewer) sessions and checks the role again on every call. Known roles other than the coordinator cannot move or take over another agent's card.

Listed under [Cost and control](https://www.zekfy.com/agentforge/features/#role-tool-surface)

## Questions about Approvals and hands-free mode

### Where and how is the approval policy changed in AgentForge?

The [approval policy](https://www.zekfy.com/glossary/#approval-policy) is edited under the permission rules in the [Control Plane](https://www.zekfy.com/agentforge/features/control-plane/) view. The policy has four parts: operation kinds that are approved automatically, kinds that always ask, kinds that are rejected, and the highest risk level at which automatic approval applies. Under the default policy only the shell kind is approved automatically, up to the low risk level. The hook in Claude Code sessions applies the policy in the project file only where it is stricter than the default, so a file the agent can write cannot loosen approval.

See also: [Approval policy](https://www.zekfy.com/glossary/#approval-policy), [Approvals tab (Onay Merkezi)](https://www.zekfy.com/glossary/#approval-center)

### Does AgentForge start a plan without my approval?

Yes, by default the [Main Brain](https://www.zekfy.com/glossary/#main-brain) plan starts on its own. If Settings is changed to hold plans for user approval, the plan is edited in the Control Plane view and cards are created only after it is approved. Risky operations are subject to the approval policy in both modes.

See also: [Control Plane](https://www.zekfy.com/agentforge/features/control-plane/), [First mission: from a command to a verified result](https://www.zekfy.com/docs/first-mission/)

## Related guides

- [First mission: from a command to a verified result](https://www.zekfy.com/docs/first-mission/): A step-by-step first mission in AgentForge: team setup, the Main Brain command, plan, dispatch, approvals, review, the evidence gate and closing report.
- [Remote and phone access](https://www.zekfy.com/docs/remote-and-phone-access/): Following AgentForge from a phone: HTTPS on one network address, QR pairing, a key and permissions per device, the phone page, webhook and notifications.

## Related feature pages

- [Control Plane](https://www.zekfy.com/agentforge/features/control-plane/): Approvals, evidence and rollback
- [Office](https://www.zekfy.com/agentforge/features/office/): Where you give the command

- Previous feature: [Evidence and review gates](https://www.zekfy.com/agentforge/features/evidence-gates/)
- Next feature: [Cost ceilings](https://www.zekfy.com/agentforge/features/cost-ceilings/)
- [All features](https://www.zekfy.com/agentforge/features/)
