Approvals & human-in-the-loop
Headmaster keeps you in control. The agent asks for your approval before doing things that affect your files, your system, or external services.What triggers an approval
In Work Along mode, the agent asks before:- Running a tool — web search, code execution, file read/write, MCP call, image generation.
- Accessing a file outside the project folder.
- Making a network request — external API call, HTTP request, webhook.
- Executing code — running a script, shell command, or code block.
- Deleting a file.
- Overwriting an existing file.
- Sending an email or message.
- Pushing to a remote (git push).
- Running a command with sudo / admin privileges.
The approval prompt
When the agent wants to do something that needs approval, you see a card in the chat:Clarification requests
Sometimes the agent needs more information before it can proceed. Instead of guessing, it asks you a question:Permission requests
When the agent needs elevated permissions (e.g., sudo access to install a package), it sends a permission request:Secret requests
When the agent needs a secret (an API key, a password, a token) that it doesn’t have stored, it asks:Audit trail
Every approval, denial, clarification, and permission grant is logged in the conversation transcript. The transcript shows:- What the agent requested.
- What you approved or denied.
- The timestamp.
- The parameters of the action.