Approvals
When a rule says ask, the agent waits and a person decides. Denying is one click. Allowing needs proof that a person, not the agent, said yes.
On this page
What a person sees#
When an action needs approval, the tray app opens a Vardhold window on the desktop of the person using the PC. It shows what is needed to decide well:
- The agent and what it wants to do, with the full command, path, host or MCP tool. Secrets in it are redacted, and very long targets are shortened with a note saying so.
- Why it was held: the rule that asked, its reason and its severity.
- Where the agent is working (its project or working folder), and how the same request was decided before.
- What else the same tool call does, when it is more than one check (see below).
- Who can allow it: you, or only an administrator.
- A countdown to the rule's timeout.
The same request appears on the dashboard's Approvals page, and optionally as a desktop notification when the dashboard is in the background.
The three answers#
| Answer | Effect | Confirmation |
|---|---|---|
| Deny | The agent is told no, with the reason | None: one click |
| Allow once | This action runs; the next one asks again | Administrator, or the person themselves for low- and medium-severity rules when an administrator turned that on |
| Always allow | This action runs, and a rule allowing exactly this request is added to the policy | Administrator |
Before you choose Always allow, the window shows the exact rule it will add. The rule matches only this agent, this action and this exact target, and it is placed directly above the rule that asked, so protections higher in the policy (Vardhold's own files, credentials) still win. Where an exact rule cannot be written safely, Always allow is not offered.
One prompt per tool call#
One tool call can be several checks: a shell command and the files it names, or an MCP tool and the paths in its arguments. The first check that asks shows all of them in one prompt. Allowing it allows the other listed parts of the same call too, as far as you could allow them yourself; anything else, such as a high-severity part when you are a standard user, is asked separately.
Letting standard users allow once#
By default every Allow needs an administrator. In Settings, an administrator can turn on Let standard users allow once low- and medium-severity actions. With it on, a person can allow such an action once with one click, without a User Account Control prompt, and the prompt says so. Always allow, and anything a high or critical rule holds, still needs an administrator. Turning the setting on needs administrator confirmation, and the audit log records which role answered each approval.
Why allowing needs an administrator#
AI agents run as the same Windows user as the person at the PC, so anything that user can reach, an agent can reach too, including the tray app's window. That is why the tray app on its own can only make protection stricter.
When you click Allow, Windows shows a User Account Control prompt on the secure desktop. Then an elevated Vardhold window states exactly what will change, as the Vardhold service recorded it. Only Confirm in that window sends the decision, and the service accepts only the change it showed. Ordinary programs, agents included, cannot click or type into either window.
The dashboard marks every control that needs an administrator with a small shield; its tooltip says how the change will be confirmed. In a web browser no administrator can confirm, so there those controls are turned off, and an approval can only be denied. Open the dashboard from the tray icon to allow.
For the strongest guarantee run AI agents under standard user accounts, or set UAC to Always notify. In its default setting, UAC is a convenience for administrator accounts rather than a hard boundary. See Hardening checklist.
When nobody answers#
Each ask rule has a timeout (timeout_seconds, 5 to 3600) and says what happens when it runs out (on_timeout). The default policy waits 60 seconds and then blocks. Rules without their own timeout use the approvalTimeoutSeconds setting.
The agent's request waits for the answer, so an unanswered approval holds the agent rather than letting it carry on. Engaging the kill switch denies every pending approval at once, and if the Vardhold service stops while a request is waiting, the request is blocked, whatever the rule's on_timeout says. If the agent stops waiting, for example because you cancelled the action in the agent itself, the approval closes at once as withdrawn by the agent: the action can no longer run, so it can no longer be allowed. Every approval is closed exactly once and recorded.
One question per action#
An action can be seen more than once: Claude Code's hook checks an MCP tool call, then the MCP proxy sees the same call; the hook checks a command, then Vardhold's telemetry sees the shell that runs it. Vardhold judges each action once. Once the hook has had an action allowed, the proxy does not ask again about that exact call, and the shell and processes that run an allowed command are recorded as part of it, linked to the original decision. What those processes then do to files and the network is still checked. A call the proxy would block, for example because the server is blocked or the kill switch is engaged, is still blocked.
Audit trail#
Every approval is sealed in the audit log: the request, who decided, how (deny, allow once, always allow, timeout, withdrawn by the agent or kill switch) and when. Rules added by Always allow appear in the policy history as a new version, like any other policy change.
Fewer prompts#
Approvals work best when they are rare enough to be read. If people see the same prompt often:
- Use Always allow for routine, exact requests.
- Narrow the rule: match the project folder with
outside_cwd, or a specific agent withagent. - Use
verdict_trustedso agents you have reviewed getlogwhere others getask.
The dashboard's dry run shows how a policy change would have decided recent activity, so you can see the prompts you remove before you apply it. See Write a policy.