# Control Plane

> Control Plane is the view in AgentForge that governs what agents may do and when a piece of work counts as finished. Control Plane brings together the plan editor, the approval requests and policy engine, the task map, the evidence gates, agent messages and checkpoints in a single view.

- Canonical: https://www.zekfy.com/agentforge/features/control-plane/
- Türkçe: https://www.zekfy.com/tr/agentforge/ozellikler/control-plane/
- Last updated: 2026-12-04
- Module: Approvals, evidence and rollback
- Shortcut: `Ctrl+L`

Plan, approvals, evidence and rollback in one place

## 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.

## The evidence gate

An agent in AgentForge cannot move a card to done until all of the card's required [evidence](https://www.zekfy.com/glossary/#evidence) is satisfied and the required number of distinct reviewers has approved in the same round. The [evidence verifier](https://www.zekfy.com/glossary/#evidence-verifier) gives each piece of evidence one of three states: verified, failed or unverifiable.

For test, build, diff and commit evidence an agent's "passed" claim is not enough on its own; the verifier's latest finding decides, and if the verifier has not looked yet an agent cannot close the card. For screenshot, report and security evidence, when no verifier record exists, a record explicitly marked as passed is needed. The gate is enforced in the [MCP](https://www.zekfy.com/glossary/#mcp) server and shares its logic with the application; the user can still move a card by hand in the [Board](https://www.zekfy.com/agentforge/features/board/) view.

- diff: is there a real change in the working tree or on the branch.
- commit: does the given hash exist in the repository.
- test and build: does the npm script the user has approved (test for test; typecheck, otherwise build, for build) complete successfully within 120 seconds; with no script or no approval the evidence is unverifiable.
- screenshot and report: does the file exist and is it non-empty; security: do added diff lines and untracked files contain secret patterns.

## The plan editor, task map and agent messages

In approval mode the plan produced by [Main Brain](https://www.zekfy.com/glossary/#main-brain) is edited in Control Plane: tasks, specialties, risks, acceptance criteria, required evidence and [reviewer](https://www.zekfy.com/glossary/#reviewer) counts can be changed before the work starts.

The task map shows the dependencies between cards, that is, which card waits for which. Hovering over a card or clicking it highlights its dependency chain; a click pins the highlight and a second click releases it. The map zooms in and out and fits to the area, dependency cycles and missing dependencies are marked, and the keyboard and screen readers are supported.

The agent messages panel lists the messages agents send each other: each agent has an avatar, and each row shows the sender and the recipient, a message-type chip, an "awaiting reply" or "answered" state and the quoted message a reply answers. The list is filtered by agent and by message type, with a count of the matching messages. Control Plane also lists context handoffs and team performance.

## The Restore points tab: checkpoints

AgentForge takes a [checkpoint](https://www.zekfy.com/glossary/#checkpoint) automatically before a [mission](https://www.zekfy.com/glossary/#mission) starts and when it completes. A checkpoint is restored with one click, and the state before the restore is kept as a separate checkpoint.

For a project at the root of a git repository the checkpoint also records the code, including untracked files and excluding .gitignore entries and .forge. Taking the snapshot does not change the working tree, the index, HEAD or the stash. Restoring the code is a separate option that is off by default; when it is ticked, the files that would change are previewed.

When the code is restored, files are written back byte for byte; line endings are not changed. Files git ignores (such as .env) and nested repositories are never overwritten or deleted by a restore. Before the restore is confirmed, the preview lists anything that will be skipped, with the reason, and warns if the repository HEAD has changed since the checkpoint was taken or a merge or rebase is in progress. A "before restore" checkpoint is still taken automatically, so a restore can be undone.

## The audit log

AgentForge writes events such as approval decisions to .forge/audit.jsonl in append-only form. Each entry carries the hash of the previous one, so a line that is later changed or deleted shows up in chain verification. The log exports to JSON and CSV. This is a change-detection mechanism, not signing: someone with write access to the file could regenerate the chain from the start.

## Control Plane features

The 2 features that live in this view. Each is also listed in the overview of all features.

### Hash-chained audit log

Events such as approval decisions are written append-only to .forge/audit.jsonl, and each entry carries the hash of the previous one. The log exports to JSON and CSV; it is a change-detection mechanism and does not include signing.

Listed under [Verification and review](https://www.zekfy.com/agentforge/features/#audit-log)

### Handoff with a context capsule

With the handoff_create tool an agent hands a task to another agent together with a summary, the decisions taken, files, test results and remaining work. Handoffs are listed in Control Plane.

Listed under [Rollback and recovery](https://www.zekfy.com/agentforge/features/#context-handoff)

## At a glance

- **Name in the app menu:** Approval and control
- **Operation kinds that can require approval:** shell, git_push, merge, delete, install, database, network, browser, release, other
- **Risk levels:** low, medium, high, critical
- **Evidence states:** verified, failed, unverifiable
- **Evidence kinds where an agent claim never suffices:** test, build, diff, commit
- **Storage:** .forge/control.json, .forge/checkpoints/*.json, .forge/audit.jsonl

## Questions about Control Plane

### Can an agent mark its own work as done?

No, an agent in AgentForge cannot close its own card alone. The owner of a card cannot vote on their own work; for test, build, diff and commit evidence the system verifier's finding counts instead of the agent's claim; and an agent can move the card to done only when required evidence and the required reviewer approvals are complete.

See also: [What is an evidence gate?](https://www.zekfy.com/docs/what-is-an-evidence-gate/), [Evidence and review gates](https://www.zekfy.com/docs/evidence-and-review-gates/), [Evidence gate](https://www.zekfy.com/glossary/#evidence-gate)

### 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 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)

### How does the evidence gate work in a project without a git repository?

In a project without a git repository, diff and commit evidence get the unverifiable state and, if required, do not count as passed. In such projects diff and commit evidence should not be made mandatory. If the code lives in a repository in another folder, the mission can be given a code repository path and the verifier checks evidence there.

See also: [Evidence and review gates](https://www.zekfy.com/docs/evidence-and-review-gates/), [Evidence verifier](https://www.zekfy.com/glossary/#evidence-verifier)

### Does restoring a checkpoint change my code?

Not by default: an AgentForge checkpoint restores the board and control state, and the "also restore the code" option is separate and off. If the option is ticked, the files that would change and the paths that will be left alone are previewed first, with the reason, and a "before restore" checkpoint that includes the code is taken before restoring. Code is written back byte for byte, and files git ignores (such as .env) and nested repositories are never overwritten or deleted.

See also: [Checkpoint](https://www.zekfy.com/glossary/#checkpoint), [Restore points tab](https://www.zekfy.com/glossary/#restore-points)

## Related feature pages

- [Office](https://www.zekfy.com/agentforge/features/office/): Where you give the command
- [Board](https://www.zekfy.com/agentforge/features/board/): The task board agents work from
- [Swarm](https://www.zekfy.com/agentforge/features/swarm/): A team with a coordinator and reviewers
- [Metrics](https://www.zekfy.com/agentforge/features/metrics/): What each agent costs and produces

- Previous feature: [Office](https://www.zekfy.com/agentforge/features/office/)
- Next feature: [Grid](https://www.zekfy.com/agentforge/features/grid/)
- [All features](https://www.zekfy.com/agentforge/features/)
