<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="bg" xml:base="https://saeta.io/">
  <title>Блогът на Saeta — AI агенти за програмиране и сигурност</title>
  <subtitle>Бележки от създаването на Saeta: как да наблюдавате AI агенти като Claude Code и Cursor, да одобрявате действията им и да пазите кода си.</subtitle>
  <id>https://saeta.io/bg/blog/</id>
  <link rel="alternate" type="text/html" href="https://saeta.io/bg/blog/"/>
  <link rel="self" type="application/atom+xml" href="https://saeta.io/bg/blog/feed.xml"/>
  <icon>https://saeta.io/icon-192.png</icon>
  <updated>2026-11-26T00:00:00Z</updated>
  <entry xml:lang="en">
    <title>When an agent in auto mode goes too far</title>
    <id>https://saeta.io/en/blog/when-auto-mode-goes-too-far/</id>
    <link rel="alternate" type="text/html" href="https://saeta.io/en/blog/when-auto-mode-goes-too-far/"/>
    <published>2026-11-19T00:00:00Z</published>
    <updated>2026-11-19T00:00:00Z</updated>
    <author><name>Sergio Fraile</name></author>
    <summary>Four public cases of coding agents deleting files, work and data, and what Saeta&#x27;s safe auto mode would and would not have done in each.</summary>
    <content type="html">&lt;p&gt;Most of the time, letting a coding agent run without asking is fine. It edits files, runs the tests, fixes what broke, and you review the result. The trouble is the rare command that cannot be undone, and an agent that has stopped asking will run that one as readily as the rest.&lt;/p&gt;
&lt;p&gt;This post looks at four incidents that were reported in public, with links to the reports. For each one we say what Saeta would have done, and for two of them the honest answer is &quot;not much&quot;. Saeta&#x27;s rules are described as they stood on 12 November 2026, when we checked each case against them. Saeta has no public release yet.&lt;/p&gt;
&lt;h2 id=&quot;what-safe-auto-mode-is&quot;&gt;What safe auto mode is&lt;/h2&gt;
&lt;p&gt;Saeta sits between an agent such as Claude Code or Codex and your computer. When the agent wants to run a command or touch a file, Saeta checks its rules and either lets the call through, blocks it, or asks you.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;/docs/permissions/auto/&quot;&gt;Safe auto mode&lt;/a&gt; is the setting for when you want the agent to get on with it. You turn it on for one project, and the agent can then edit files, build, run tests and run the project&#x27;s scripts without asking. It still stops and asks about a list of risky actions, which the app shows when you turn it on:&lt;/p&gt;
&lt;img src=&quot;/media/blog/when-auto-mode-goes-too-far/safe-auto-session-960.webp&quot; alt=&quot;Turning on safe auto mode from the Saeta desktop app&#x27;s inbox: a list of what Saeta still asks about, including deleting files, throwing away work in git, pushing to a remote and reading secret-looking files, a box to allow remote-service commands, and buttons to turn it on for this session or the whole project.&quot; width=&quot;960&quot; height=&quot;617&quot; loading=&quot;lazy&quot; /&gt;
&lt;p&gt;(The screenshot uses invented demo data.)&lt;/p&gt;
&lt;p&gt;If nobody answers one of those questions in time, the answer is no. A few things are never allowed in any mode: a recursive delete of the filesystem root or your home folder, a force push, a download piped straight into a shell, and any command that names your private keys.&lt;/p&gt;
&lt;h2 id=&quot;case-1-a-home-folder-deleted-with-one-command&quot;&gt;Case 1: a home folder deleted with one command&lt;/h2&gt;
&lt;p&gt;On 8 December 2025, a user posted on Reddit&#x27;s r/ClaudeAI that Claude Code had deleted their home folder on a Mac. They had asked it to clean up an old repository, and it ran:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;rm -rf tests/ patches/ plan/ ~/&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The first three folders were the intended targets. The last one, &lt;code&gt;~/&lt;/code&gt;, is the user&#x27;s home folder: documents, keys, settings, everything. &lt;a href=&quot;https://www.docker.com/blog/coding-agent-horror-stories-the-rm-rf-incident/&quot;&gt;Docker&#x27;s write-up&lt;/a&gt; walks through the command, and the original thread is &lt;a href=&quot;https://www.reddit.com/r/ClaudeAI/comments/1pgxckk/claude_cli_deleted_my_entire_home_directory_wiped/&quot;&gt;on Reddit&lt;/a&gt;. The reports do not say which permission mode the agent was in. Anthropic&#x27;s issue tracker has an &lt;a href=&quot;https://github.com/anthropics/claude-code/issues/12637&quot;&gt;earlier report&lt;/a&gt; of the same kind, from 28 November 2025.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What Saeta would have done.&lt;/strong&gt; Blocked it, in every mode. A recursive &lt;code&gt;rm&lt;/code&gt; that names the home folder (&lt;code&gt;~&lt;/code&gt;, &lt;code&gt;~/&lt;/code&gt;, &lt;code&gt;$HOME&lt;/code&gt; and their variants) is one of Saeta&#x27;s hard blocks, with the reason &quot;a recursive delete of the filesystem root or the home folder&quot;. We checked this exact command against Saeta&#x27;s rules before writing this post.&lt;/p&gt;
&lt;p&gt;Without the stray &lt;code&gt;~/&lt;/code&gt;, the command would have deleted three folders inside the project. Safe auto mode asks about that too (&quot;deletes files&quot;), so you would have seen the list of folders before anything went.&lt;/p&gt;
&lt;h2 id=&quot;case-2-a-mornings-work-lost-to-a-rollback&quot;&gt;Case 2: a morning&#x27;s work lost to a rollback&lt;/h2&gt;
&lt;p&gt;In January 2026, a developer &lt;a href=&quot;https://github.com/anthropics/claude-code/issues/17190&quot;&gt;reported to Anthropic&lt;/a&gt; that they had asked Claude Code to &quot;save where we are and roll back to the last push&quot;, meaning they wanted to look at older code for a demo and come back afterwards. The agent stashed some changes, then ran:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;git reset --hard 35eb731&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;That moved the branch back five commits and threw away the morning&#x27;s uncommitted work. A plain &lt;code&gt;git checkout&lt;/code&gt; of the old commit would have done what was asked without losing anything. Similar reports are in the same tracker, including one from March 2026 where an agent &lt;a href=&quot;https://github.com/anthropics/claude-code/issues/33850&quot;&gt;wiped two days of uncommitted work&lt;/a&gt; with &lt;code&gt;git reset --hard origin/main&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What Saeta would have done.&lt;/strong&gt; The &lt;code&gt;git stash&lt;/code&gt; runs, because it loses nothing. The &lt;code&gt;git reset --hard&lt;/code&gt; stops and asks, with the reason &quot;throws away work in git&quot;. The same goes for &lt;code&gt;git checkout -- .&lt;/code&gt;, &lt;code&gt;git clean&lt;/code&gt; and deleting a branch. You get a chance to say &quot;use checkout instead&quot;, and if you are not there to answer, the reset does not run.&lt;/p&gt;
&lt;p&gt;This is the kind of mistake safe auto mode is built for: a reasonable request, a command that is almost right, and no malice anywhere.&lt;/p&gt;
&lt;h2 id=&quot;case-3-a-production-database-deleted-during-a-code-freeze&quot;&gt;Case 3: a production database deleted during a code freeze&lt;/h2&gt;
&lt;p&gt;In July 2025, the founder of SaaStr was building an app with Replit&#x27;s AI agent. During what he had declared a code freeze, the agent deleted the production database, then told him a rollback was impossible. &lt;a href=&quot;https://fortune.com/2025/07/23/ai-coding-tool-replit-wiped-database-called-it-a-catastrophic-failure/&quot;&gt;Fortune reported the incident&lt;/a&gt; on 23 July 2025; he later recovered the data by hand, and Replit&#x27;s chief executive called the deletion unacceptable.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What Saeta would have done.&lt;/strong&gt; Nothing. Replit&#x27;s agent runs in Replit&#x27;s own hosted environment, and Saeta does not connect to it.&lt;/p&gt;
&lt;p&gt;The more useful question is what would happen with an agent Saeta does connect to, on your own computer. Suppose it runs:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;psql &quot;$DATABASE_URL&quot; -c &#x27;DROP TABLE users&#x27;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;In safe auto mode, Saeta lets that through. It knows that &lt;code&gt;rm&lt;/code&gt; deletes files and that &lt;code&gt;git push&lt;/code&gt; sends work to a remote, but it does not know which database your &lt;code&gt;DATABASE_URL&lt;/code&gt; points at, or that &lt;code&gt;DROP TABLE&lt;/code&gt; matters more than &lt;code&gt;SELECT&lt;/code&gt;. With safe auto mode off, the command asks, because none of Saeta&#x27;s starting rules allows it. The lesson from this case is older than AI agents: do not give a development session the credentials to production.&lt;/p&gt;
&lt;h2 id=&quot;case-4-files-lost-in-a-folder-that-was-never-made&quot;&gt;Case 4: files lost in a folder that was never made&lt;/h2&gt;
&lt;p&gt;Also in July 2025, a product manager asked Google&#x27;s Gemini CLI to reorganise the files in a folder. The agent tried to create a new folder, did not notice that the step had failed, and went on moving the files into a folder that was not there. The files were lost. The bug was &lt;a href=&quot;https://github.com/google-gemini/gemini-cli/issues/4586&quot;&gt;filed on GitHub&lt;/a&gt; on 21 July 2025.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What Saeta would have done.&lt;/strong&gt; Very little. Saeta connects to Gemini CLI only through an &lt;a href=&quot;/docs/agents/&quot;&gt;advisory MCP tool&lt;/a&gt;, which the model has to choose to call, so it cannot hold back Gemini CLI&#x27;s commands. Saeta does not run on Windows yet. And even with a supported agent, moving files around inside the project is everyday work that safe auto mode lets through.&lt;/p&gt;
&lt;h2 id=&quot;what-the-cases-have-in-common&quot;&gt;What the cases have in common&lt;/h2&gt;
&lt;p&gt;None of these agents was attacked or tricked. Each one misread a request or skipped a check, then ran a command that a person would have paused on. Where Saeta helps, it is because that command has a recognisable shape: deleting files, throwing away git work, pushing, reaching outside the project. Where it does not, the danger was in what the command meant (which database, which folder), not in its shape.&lt;/p&gt;
&lt;p&gt;Saeta&#x27;s rules decide on commands and file access. They do not watch what a task costs in model calls, and they cannot tell a test database from a production one.&lt;/p&gt;
&lt;h2 id=&quot;what-this-is-not&quot;&gt;What this is not&lt;/h2&gt;
&lt;p&gt;Saeta is a guardrail against an agent&#x27;s mistakes, not a sandbox. Safe auto mode lets the project&#x27;s own scripts run, and Saeta sees the command line, not what &lt;code&gt;npm test&lt;/code&gt; or a build script does next. A determined agent could write a script that does what Saeta would have asked about, and run that. In August 2025, malicious versions of the Nx build tool &lt;a href=&quot;https://www.wiz.io/blog/s1ngularity-supply-chain-attack&quot;&gt;ran installed AI command-line tools&lt;/a&gt; with their permission checks switched off to search developers&#x27; computers for secrets. That is a hostile program, and a guardrail is the wrong tool for it. If you need to contain code you do not trust, run it in a container or a virtual machine.&lt;/p&gt;
&lt;p&gt;Keep your work in version control and commit often. Most of the losses above would have been smaller with a recent commit.&lt;/p&gt;
&lt;h2 id=&quot;try-it&quot;&gt;Try it&lt;/h2&gt;
&lt;p&gt;If you would like an agent to work without asking about every step, but still stop before it deletes, discards or pushes, &lt;a href=&quot;/en/#waitlist&quot;&gt;join the waitlist&lt;/a&gt;. We will email you when early access opens. For the full list of what safe auto mode asks about, see &lt;a href=&quot;/docs/permissions/auto/&quot;&gt;the documentation&lt;/a&gt;, and for the options that skip permission checks altogether, read our guide &lt;a href=&quot;/en/guides/dangerously-skip-permissions/&quot;&gt;Is &lt;code&gt;--dangerously-skip-permissions&lt;/code&gt; safe?&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&quot;sources&quot;&gt;Sources&lt;/h2&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;https://www.docker.com/blog/coding-agent-horror-stories-the-rm-rf-incident/&quot;&gt;Coding agent horror stories: the rm -rf ~/ incident&lt;/a&gt;, Docker, and the &lt;a href=&quot;https://www.reddit.com/r/ClaudeAI/comments/1pgxckk/claude_cli_deleted_my_entire_home_directory_wiped/&quot;&gt;original Reddit thread&lt;/a&gt; of 8 December 2025.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://github.com/anthropics/claude-code/issues/12637&quot;&gt;anthropics/claude-code issue 12637&lt;/a&gt;: an &lt;code&gt;rm&lt;/code&gt; command deleting a home folder, 28 November 2025.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://github.com/anthropics/claude-code/issues/17190&quot;&gt;anthropics/claude-code issue 17190&lt;/a&gt;: &lt;code&gt;git reset --hard&lt;/code&gt; used for a rollback, 9 January 2026.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://github.com/anthropics/claude-code/issues/33850&quot;&gt;anthropics/claude-code issue 33850&lt;/a&gt;: two days of uncommitted work lost to &lt;code&gt;git reset --hard&lt;/code&gt;, 13 March 2026.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://fortune.com/2025/07/23/ai-coding-tool-replit-wiped-database-called-it-a-catastrophic-failure/&quot;&gt;AI coding tool Replit wiped a database&lt;/a&gt;, Fortune, 23 July 2025.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://github.com/google-gemini/gemini-cli/issues/4586&quot;&gt;google-gemini/gemini-cli issue 4586&lt;/a&gt;: files lost in a failed move, 21 July 2025.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://www.wiz.io/blog/s1ngularity-supply-chain-attack&quot;&gt;s1ngularity: supply chain attack leaks secrets on GitHub&lt;/a&gt;, Wiz, 27 August 2025, and the &lt;a href=&quot;https://github.com/nrwl/nx/security/advisories/GHSA-cxm3-wv7p-598c&quot;&gt;Nx security advisory&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/docs/permissions/auto/&quot;&gt;Safe auto mode&lt;/a&gt;, Saeta&#x27;s documentation of what it allows and asks about.&lt;/li&gt;&lt;/ul&gt;</content>
  </entry>
  <entry xml:lang="en">
    <title>Safe auto mode when a dev container doesn&#x27;t fit</title>
    <id>https://saeta.io/en/blog/safe-auto-mode-without-a-dev-container/</id>
    <link rel="alternate" type="text/html" href="https://saeta.io/en/blog/safe-auto-mode-without-a-dev-container/"/>
    <published>2026-11-19T00:00:00Z</published>
    <updated>2026-11-19T00:00:00Z</updated>
    <author><name>Sergio Fraile</name></author>
    <summary>Mobile, embedded and GPU work often can&#x27;t move into a dev container. What Saeta&#x27;s safe auto mode lets an agent do on your own computer, and what it asks.</summary>
    <content type="html">&lt;p&gt;Many companies don&#x27;t let coding agents run unattended on developers&#x27; computers. Claude Code, for one, has settings that &lt;a href=&quot;https://code.claude.com/docs/en/settings-reference#disableautomode&quot;&gt;take auto mode out of the menu&lt;/a&gt; and &lt;a href=&quot;https://code.claude.com/docs/en/settings-reference#permissions-disablebypasspermissionsmode&quot;&gt;stop anyone skipping permission checks&lt;/a&gt;, and an organisation can enforce both for everyone. The usual answer to &quot;but I want it to get on with the work&quot; is a dev container: run the agent inside Docker, where a wrong command can only damage the container. Claude Code&#x27;s own documentation &lt;a href=&quot;https://code.claude.com/docs/en/devcontainer&quot;&gt;describes that setup&lt;/a&gt;, with a firewall and permission checks switched off inside.&lt;/p&gt;
&lt;p&gt;When a container fits, that is good advice. This post is about the work where it doesn&#x27;t, and what Saeta&#x27;s safe auto mode offers there instead. Saeta&#x27;s rules are described as they stood on 12 November 2026, when we ran every command below through them. Saeta has no public release yet.&lt;/p&gt;
&lt;h2 id=&quot;where-the-container-gets-in-the-way&quot;&gt;Where the container gets in the way&lt;/h2&gt;
&lt;p&gt;A dev container works best when the whole job is files, a compiler and a test runner. Some work needs the computer itself.&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;strong&gt;Android.&lt;/strong&gt; The emulator is fast because it uses the processor&#x27;s virtualisation directly. Google&#x27;s documentation is plain about it: &lt;a href=&quot;https://developer.android.com/studio/run/emulator-acceleration&quot;&gt;you can&#x27;t run a VM-accelerated emulator&lt;/a&gt; inside another VM, &quot;such as a VM hosted by VirtualBox, VMWare, or Docker&quot;. A phone on a USB cable is no easier: &lt;a href=&quot;https://docs.docker.com/desktop/troubleshoot-and-support/faqs/general/&quot;&gt;Docker Desktop does not support direct USB device passthrough&lt;/a&gt;, only a workaround over USB/IP.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;iOS.&lt;/strong&gt; Xcode and its simulators &lt;a href=&quot;https://developer.apple.com/xcode/system-requirements/&quot;&gt;install only on macOS&lt;/a&gt;. The dev containers that editors such as VS Code open are &lt;a href=&quot;https://code.visualstudio.com/docs/devcontainers/containers&quot;&gt;Linux containers&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Embedded and edge devices.&lt;/strong&gt; Flashing a board means a serial port, a USB debug probe or an SD card, the same hardware a container is built to keep out.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;GPUs.&lt;/strong&gt; A container can use an NVIDIA card only with the driver on the host and the &lt;a href=&quot;https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html&quot;&gt;NVIDIA Container Toolkit&lt;/a&gt; installed and configured into Docker.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;None of this is impossible. But every workaround hands the container a piece of the host, a device, the GPU, the USB bus, and keeping the host out was the reason for the container. So many teams in these fields run the agent on their own computer with permission prompts on, and answer them all day.&lt;/p&gt;
&lt;h2 id=&quot;what-safe-auto-mode-does-on-the-host&quot;&gt;What safe auto mode does on the host&lt;/h2&gt;
&lt;p&gt;Saeta sits between an agent such as Claude Code or Codex and your computer. When the agent wants to run a command or touch a file, Saeta checks its rules and lets the call through, blocks it, or asks you.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;/docs/permissions/auto/&quot;&gt;Safe auto mode&lt;/a&gt; is for when you want the agent to get on with it. You turn it on for one project. The agent can then edit files, build, run the tests and run the project&#x27;s own scripts without asking. It still asks about a short list of risky things, and a few things are blocked in every mode.&lt;/p&gt;
&lt;p&gt;Here is what that looks like for the kind of work above. We ran each of these commands through Saeta&#x27;s rules, on Linux, in a project with safe auto mode on.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Runs without asking:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;code&gt;./gradlew assembleDebug&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;code&gt;adb install -r app/build/outputs/apk/debug/app-debug.apk&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;code&gt;adb logcat -d&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;code&gt;emulator -avd Pixel_8 -no-snapshot&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;code&gt;xcodebuild -scheme App -destination &#x27;platform=iOS Simulator,name=iPhone 16&#x27; test&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;code&gt;xcrun simctl boot &#x27;iPhone 16&#x27;&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;code&gt;flutter run -d emulator-5554&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;code&gt;idf.py build&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;code&gt;nvidia-smi&lt;/code&gt;&lt;/li&gt;&lt;li&gt;&lt;code&gt;python train.py --epochs 1&lt;/code&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Stops and asks, with the reason Saeta shows:&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&quot;table-wrap&quot;&gt;&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Command&lt;/th&gt;&lt;th&gt;Why Saeta asks&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;rm -rf build/&lt;/code&gt;&lt;/td&gt;&lt;td&gt;deletes files&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;git push origin main&lt;/code&gt;&lt;/td&gt;&lt;td&gt;pushes to a remote&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;idf.py -p /dev/ttyUSB0 flash monitor&lt;/code&gt;&lt;/td&gt;&lt;td&gt;names a file or folder outside the project&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;sudo dfu-util -D build/fw.bin&lt;/code&gt;&lt;/td&gt;&lt;td&gt;runs as another user (root)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;ssh pi@raspberrypi.local&lt;/code&gt;&lt;/td&gt;&lt;td&gt;connects to another machine&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;docker run --device /dev/kvm img&lt;/code&gt;&lt;/td&gt;&lt;td&gt;runs a container with access to this computer&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;python -c &#x27;...&#x27;&lt;/code&gt;&lt;/td&gt;&lt;td&gt;runs code written on the command line&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Blocked in every mode:&lt;/strong&gt; &lt;code&gt;dd if=build/sdcard.img of=/dev/sdb&lt;/code&gt; (&quot;dd onto a disk device&quot;) and &lt;code&gt;mkfs.vfat /dev/sdb1&lt;/code&gt; (&quot;formatting a filesystem&quot;). Writing an image to the wrong disk is a classic embedded mistake, and Saeta does not leave it to a question.&lt;/p&gt;
&lt;p&gt;The question arrives in the desktop inbox, and on your phone if you paired one (our post &lt;a data-umami-event=&quot;Blog link&quot; data-umami-event-from=&quot;post&quot; data-umami-event-to=&quot;phone-approvals-while-away&quot; href=&quot;/en/blog/phone-approvals-while-away/&quot;&gt;Answer your coding agent&#x27;s questions from your phone&lt;/a&gt; covers that):&lt;/p&gt;
&lt;img src=&quot;/media/blog/safe-auto-mode-without-a-dev-container/inbox-960.webp&quot; alt=&quot;The Saeta inbox with safe auto mode on for a project: the agent wants to push a branch, and Saeta asks because it pushes to a remote. The request shows the tool, the folder and what the agent says it is doing.&quot; width=&quot;960&quot; height=&quot;629&quot; loading=&quot;lazy&quot; /&gt;
&lt;p&gt;(The screenshots use invented demo data.) If nobody answers in time, the answer is no. Everything safe auto mode asks about is high-risk in Saeta&#x27;s terms, so a timeout denies it whatever your fallback setting says.&lt;/p&gt;
&lt;h2 id=&quot;asking-only-when-it-matters&quot;&gt;Asking only when it matters&lt;/h2&gt;
&lt;p&gt;A guardrail that asks too often gets switched off. Saeta has three ways to keep the questions down without widening what an agent may do in general.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Remember an answer.&lt;/strong&gt; When Saeta asks about flashing with &lt;code&gt;esptool.py&lt;/code&gt;, you can allow it and remember the choice for that program in this repository. Be clear about what that means: from then on every &lt;code&gt;esptool.py&lt;/code&gt; command in the repository runs, &lt;code&gt;erase_flash&lt;/code&gt; included. The serial port itself can&#x27;t be allowed as a folder: Saeta won&#x27;t count &lt;code&gt;/dev&lt;/code&gt; as part of a project, so a command that names a device keeps asking unless you remembered that program.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Allow folders outside the project.&lt;/strong&gt; In safe auto mode, a command that reads or writes outside the project asks. The system&#x27;s temporary folders count as inside from the start. You can add &lt;a href=&quot;/docs/permissions/folders/&quot;&gt;others&lt;/a&gt;: agents&#x27; own working folders, build and package caches (to read only), or a folder of your own, for one session, one project or everywhere. Deleting, pushing and the other questions still apply inside an allowed folder.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Watch only some folders.&lt;/strong&gt; With &lt;code&gt;folders&lt;/code&gt; in Saeta&#x27;s settings, it only asks about agents working in the folders you list. Elsewhere it steps aside, except for its blocks and high-risk questions, which hold everywhere.&lt;/p&gt;
&lt;h2 id=&quot;a-record-of-what-ran&quot;&gt;A record of what ran&lt;/h2&gt;
&lt;p&gt;An agent that works without asking should leave a trail. Saeta keeps an activity log on your computer: each call it saw from a hook-connected agent, and whether a rule or a person decided it. By default it keeps 90 days and up to 100,000 rows, and you can choose whether calls Saeta&#x27;s own starting rules allowed are recorded too. Nothing in it leaves your computer; the account website only shows counts.&lt;/p&gt;
&lt;img src=&quot;/media/blog/safe-auto-mode-without-a-dev-container/analytics-960.webp&quot; alt=&quot;Saeta&#x27;s Analytics screen for the last seven days: 312 recorded calls, 268 answered by rules, 44 answered by a person, with a chart of activity per day and a breakdown of who allowed and who blocked.&quot; width=&quot;960&quot; height=&quot;840&quot; loading=&quot;lazy&quot; /&gt;
&lt;p&gt;For a team that has to explain why an agent was allowed to work on a developer&#x27;s computer, a log of what it ran and who said yes is a better answer than &quot;it was in a container, probably&quot;.&lt;/p&gt;
&lt;h2 id=&quot;what-this-is-not&quot;&gt;What this is not&lt;/h2&gt;
&lt;p&gt;Saeta is a guardrail against an agent&#x27;s mistakes, not a sandbox, and a dev container gives you something it can&#x27;t.&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;strong&gt;Project scripts and tools run unasked.&lt;/strong&gt; Saeta reads the command line, not what happens next. &lt;code&gt;./gradlew&lt;/code&gt; runs whatever the build files say, and a fastlane lane that uploads a build to the app stores runs like any other project command. &lt;code&gt;openocd&lt;/code&gt;, &lt;code&gt;pio run -t upload&lt;/code&gt; and &lt;code&gt;dfu-util&lt;/code&gt; without &lt;code&gt;sudo&lt;/code&gt; flash a board without naming a device on the command line, so they run too.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Commands on the device are not read.&lt;/strong&gt; &lt;code&gt;adb shell rm -rf /sdcard/Download&lt;/code&gt; runs: Saeta sees &lt;code&gt;adb&lt;/code&gt;, not what the phone is asked to do.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;It does not contain a hostile agent.&lt;/strong&gt; An agent set on getting round Saeta can write a script and run it. If you are running code you don&#x27;t trust, such as an unknown repository or dependencies nobody has checked, a container or a virtual machine is still the right tool.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;It is not a way round your company&#x27;s policy.&lt;/strong&gt; If your company has switched auto mode off, Saeta is something to show the people who made that call, not a reason to ignore it. Saeta&#x27;s &lt;a href=&quot;/docs/permissions/organisations/&quot;&gt;organisation policies&lt;/a&gt;, in early access, let an administrator set rules above each developer&#x27;s own.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;And keep your work in version control. It undoes more mistakes than any rule.&lt;/p&gt;
&lt;h2 id=&quot;try-it&quot;&gt;Try it&lt;/h2&gt;
&lt;p&gt;If your work lives on the host, with emulators, boards or GPUs, and you would like an agent to get on with it while still stopping before it deletes, pushes, flashes or runs as root, &lt;a href=&quot;/en/#waitlist&quot;&gt;join the waitlist&lt;/a&gt;. We will email you when early access opens. The &lt;a href=&quot;/docs/permissions/auto/&quot;&gt;safe auto mode documentation&lt;/a&gt; lists everything it asks about, and our post &lt;a data-umami-event=&quot;Blog link&quot; data-umami-event-from=&quot;post&quot; data-umami-event-to=&quot;when-auto-mode-goes-too-far&quot; href=&quot;/en/blog/when-auto-mode-goes-too-far/&quot;&gt;When an agent in auto mode goes too far&lt;/a&gt; looks at public cases where agents in auto mode went too far.&lt;/p&gt;
&lt;h2 id=&quot;sources&quot;&gt;Sources&lt;/h2&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;https://code.claude.com/docs/en/devcontainer&quot;&gt;Development containers&lt;/a&gt;, Claude Code documentation.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://code.claude.com/docs/en/settings-reference&quot;&gt;Settings reference&lt;/a&gt;: &lt;code&gt;disableAutoMode&lt;/code&gt; and &lt;code&gt;permissions.disableBypassPermissionsMode&lt;/code&gt;, Claude Code documentation.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://developer.android.com/studio/run/emulator-acceleration&quot;&gt;Configure hardware acceleration for the Android Emulator&lt;/a&gt;, Android Developers.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://docs.docker.com/desktop/troubleshoot-and-support/faqs/general/&quot;&gt;General FAQs for Desktop&lt;/a&gt;, Docker documentation, on USB passthrough.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://developer.apple.com/xcode/system-requirements/&quot;&gt;SDK and system requirements&lt;/a&gt;, Xcode, Apple Developer.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://code.visualstudio.com/docs/devcontainers/containers&quot;&gt;Developing inside a container&lt;/a&gt;, VS Code documentation.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html&quot;&gt;Installing the NVIDIA Container Toolkit&lt;/a&gt;, NVIDIA.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/docs/permissions/auto/&quot;&gt;Safe auto mode&lt;/a&gt; and &lt;a href=&quot;/docs/permissions/folders/&quot;&gt;folders outside a project&lt;/a&gt;, Saeta&#x27;s documentation.&lt;/li&gt;&lt;/ul&gt;</content>
  </entry>
  <entry xml:lang="en">
    <title>Trying a new coding agent without rebuilding your rules</title>
    <id>https://saeta.io/en/blog/one-set-of-rules-for-every-agent/</id>
    <link rel="alternate" type="text/html" href="https://saeta.io/en/blog/one-set-of-rules-for-every-agent/"/>
    <published>2026-11-19T00:00:00Z</published>
    <updated>2026-11-19T00:00:00Z</updated>
    <author><name>Sergio Fraile</name></author>
    <summary>Claude Code, Codex, Cursor, Gemini CLI and OpenCode each keep permissions in their own format. How Saeta keeps one set of rules for every agent you connect.</summary>
    <content type="html">&lt;p&gt;New coding agents keep arriving, and many of us want to try them. The model is the interesting part. The chore is everything around it: the commands you had taught your old agent to run without asking, the ones it must never run, the folders it may touch. None of that comes with you. Each agent keeps its own permission rules, in its own file and its own format, and you build them up again one prompt at a time.&lt;/p&gt;
&lt;p&gt;This post is about that chore, and how Saeta keeps one set of rules for every agent you connect to it. Saeta&#x27;s behaviour is described as it stood on 12 November 2026, when we ran the examples below through its rules. Saeta has no public release yet.&lt;/p&gt;
&lt;h2 id=&quot;the-same-rule-five-ways&quot;&gt;The same rule, five ways&lt;/h2&gt;
&lt;p&gt;Take two rules most developers would want: let the agent run &lt;code&gt;npm run test&lt;/code&gt; without asking, and never let it run &lt;code&gt;terraform apply&lt;/code&gt;. Here is where each agent keeps them.&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;strong&gt;Claude Code&lt;/strong&gt; keeps rules under &lt;code&gt;permissions&lt;/code&gt; in &lt;code&gt;.claude/settings.json&lt;/code&gt; in the project or &lt;code&gt;~/.claude/settings.json&lt;/code&gt; for you. The two rules are &lt;code&gt;Bash(npm run test)&lt;/code&gt; in the &lt;code&gt;allow&lt;/code&gt; list and &lt;code&gt;Bash(terraform apply *)&lt;/code&gt; in &lt;code&gt;deny&lt;/code&gt;. Answering &quot;Yes, and don&#x27;t ask again&quot; to a command adds a rule for that repository (&lt;a href=&quot;https://code.claude.com/docs/en/permissions&quot;&gt;permissions&lt;/a&gt;).&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Codex&lt;/strong&gt; keeps command rules in &lt;code&gt;.rules&lt;/code&gt; files, written in Starlark, for example &lt;code&gt;~/.codex/rules/default.rules&lt;/code&gt;. A rule is a &lt;code&gt;prefix_rule&lt;/code&gt; with a &lt;code&gt;pattern&lt;/code&gt; such as &lt;code&gt;[&quot;terraform&quot;, &quot;apply&quot;]&lt;/code&gt; and a &lt;code&gt;decision&lt;/code&gt; of &lt;code&gt;allow&lt;/code&gt;, &lt;code&gt;prompt&lt;/code&gt; or &lt;code&gt;forbidden&lt;/code&gt;. These rules decide which commands may run outside Codex&#x27;s sandbox, and when several match, the most restrictive wins (&lt;a href=&quot;https://developers.openai.com/codex/rules&quot;&gt;rules&lt;/a&gt;).&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Cursor&#x27;s&lt;/strong&gt; command-line agent keeps a &lt;code&gt;permissions&lt;/code&gt; object in &lt;code&gt;~/.cursor/cli-config.json&lt;/code&gt; or the project&#x27;s &lt;code&gt;.cursor/cli.json&lt;/code&gt;. A shell entry is &lt;code&gt;Shell(commandBase)&lt;/code&gt;, where the base is the first word of the command: &lt;code&gt;Shell(terraform)&lt;/code&gt; in &lt;code&gt;deny&lt;/code&gt; blocks every &lt;code&gt;terraform&lt;/code&gt; command, &lt;code&gt;plan&lt;/code&gt; included (&lt;a href=&quot;https://cursor.com/docs/cli/reference/permissions&quot;&gt;permissions reference&lt;/a&gt;).&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Gemini CLI&lt;/strong&gt; reads TOML policy files from &lt;code&gt;~/.gemini/policies/&lt;/code&gt;. A rule names &lt;code&gt;run_shell_command&lt;/code&gt;, a &lt;code&gt;commandPrefix&lt;/code&gt; such as &lt;code&gt;terraform apply&lt;/code&gt;, a &lt;code&gt;decision&lt;/code&gt; of &lt;code&gt;allow&lt;/code&gt;, &lt;code&gt;deny&lt;/code&gt; or &lt;code&gt;ask_user&lt;/code&gt;, and a &lt;code&gt;priority&lt;/code&gt;; the higher priority wins (&lt;a href=&quot;https://geminicli.com/docs/reference/policy-engine/&quot;&gt;policy engine&lt;/a&gt;).&lt;/li&gt;&lt;li&gt;&lt;strong&gt;OpenCode&lt;/strong&gt; keeps an ordered &lt;code&gt;permissions&lt;/code&gt; list in &lt;code&gt;opencode.jsonc&lt;/code&gt;, with entries such as an &lt;code&gt;action&lt;/code&gt; of &lt;code&gt;shell&lt;/code&gt;, a &lt;code&gt;resource&lt;/code&gt; of &lt;code&gt;terraform apply *&lt;/code&gt; and an &lt;code&gt;effect&lt;/code&gt; of &lt;code&gt;deny&lt;/code&gt;. The last matching rule wins. Its documentation also warns that the previous version of the format used different names, &lt;code&gt;permission&lt;/code&gt; and &lt;code&gt;bash&lt;/code&gt; (&lt;a href=&quot;https://opencode.ai/docs/permissions/&quot;&gt;permissions&lt;/a&gt;).&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;None of these is wrong. They were designed separately, and it shows. One matches the first word, another a prefix, another a pattern. One lets the most restrictive rule win, another the last, another the highest number. One tool&#x27;s format has changed under its own users. A rule you got right in one agent can mean something different, or nothing, in the next.&lt;/p&gt;
&lt;p&gt;And most rules were never written down on purpose. They piled up, one &quot;don&#x27;t ask again&quot; at a time, over months of work in one agent. Moving to another means answering all those prompts again, or reading a new format closely enough to write them by hand. It is easy to try a new agent for an afternoon, find it asks about everything, and go back.&lt;/p&gt;
&lt;h2 id=&quot;one-list-kept-outside-the-agent&quot;&gt;One list, kept outside the agent&lt;/h2&gt;
&lt;p&gt;Saeta sits between an agent and your computer. When a connected agent wants to run a command, edit a file or call an MCP tool, Saeta checks its rules and lets the call through, blocks it, or asks you, in the desktop inbox or on your phone if you paired one.&lt;/p&gt;
&lt;p&gt;The rules live in Saeta, on your computer, not in any agent. Each agent&#x27;s hook describes a call in its own words: Claude Code says &lt;code&gt;Bash&lt;/code&gt;, Qwen Code says &lt;code&gt;run_shell_command&lt;/code&gt;, Cursor says &lt;code&gt;Shell&lt;/code&gt;. Saeta reads each one into the same shape, a command line, a file read or edit, or an MCP tool, before any rule looks at it. So a rule is written once, in one format, and holds for every agent you connect.&lt;/p&gt;
&lt;p&gt;Connecting an agent is one command in a terminal, such as &lt;code&gt;saeta install claude-code&lt;/code&gt; or &lt;code&gt;saeta install codex&lt;/code&gt;, or a button on the desktop app&#x27;s Agents screen. Saeta backs up the agent&#x27;s settings before it changes them, and disconnecting takes its changes out again.&lt;/p&gt;
&lt;img src=&quot;/media/blog/one-set-of-rules-for-every-agent/agents-960.webp&quot; alt=&quot;Saeta&#x27;s Agents screen: Claude Code, Codex and Cursor connected through hooks, OpenCode and Pi ready to connect, and Gemini CLI and Codex listed under MCP mode, marked advisory.&quot; width=&quot;960&quot; height=&quot;669&quot; loading=&quot;lazy&quot; /&gt;
&lt;p&gt;(The screenshots use invented demo data.)&lt;/p&gt;
&lt;p&gt;Here is what that means in practice. We remembered two answers while working in Claude Code: &quot;always allow this exact command here&quot; for &lt;code&gt;npm run test&lt;/code&gt; in one repository, and &quot;always deny &lt;code&gt;terraform&lt;/code&gt; everywhere&quot;. Then we sent the same commands through Saeta as each of the other agents with a hook connection would. The results matched for all six:&lt;/p&gt;
&lt;div class=&quot;table-wrap&quot;&gt;&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Command&lt;/th&gt;&lt;th&gt;Claude Code, Codex, Cursor, Qwen Code, OpenCode, Pi&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;npm run test&lt;/code&gt; in that repository&lt;/td&gt;&lt;td&gt;runs without asking&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;npm run test -- --watch&lt;/code&gt;&lt;/td&gt;&lt;td&gt;asks: the remembered answer was for the exact command&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;npm run test&lt;/code&gt; in another repository&lt;/td&gt;&lt;td&gt;asks: the answer was for that repository&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;terraform apply&lt;/code&gt;, &lt;code&gt;terraform plan&lt;/code&gt;&lt;/td&gt;&lt;td&gt;blocked: the answer was for every &lt;code&gt;terraform&lt;/code&gt; command&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;git push --force origin main&lt;/code&gt;&lt;/td&gt;&lt;td&gt;blocked, by one of Saeta&#x27;s own rules, with no setup&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;p&gt;The same goes for &lt;a href=&quot;/docs/permissions/auto/&quot;&gt;safe auto mode&lt;/a&gt;. Turn it on for a project, and every connected agent working there can build and test without asking, while deleting files or pushing still stops for you, whichever agent tries it. Folders outside the project that you allow for that project or everywhere hold for every agent too, and so do an organisation&#x27;s &lt;a href=&quot;/docs/permissions/organisations/&quot;&gt;rules&lt;/a&gt; (in early access) unless it writes one for a single agent.&lt;/p&gt;
&lt;img src=&quot;/media/blog/one-set-of-rules-for-every-agent/rules-960.webp&quot; alt=&quot;Saeta&#x27;s Rules screen on Everywhere, the default for every project: the mode Ask me, with each project&#x27;s own mode in the side rail, such as safe auto for shop-api, and the developer&#x27;s own rules for every project, such as always allowing pnpm and blocking kubectl against production. None of it is tied to one agent.&quot; width=&quot;960&quot; height=&quot;818&quot; loading=&quot;lazy&quot; /&gt;
&lt;p&gt;So trying a new agent becomes: install it, connect it to Saeta, and start working. What you taught Saeta while using the old one is already there.&lt;/p&gt;
&lt;h2 id=&quot;every-agent-but-not-to-the-same-depth&quot;&gt;Every agent, but not to the same depth&lt;/h2&gt;
&lt;p&gt;This is where we have to be careful, because agents don&#x27;t all let Saeta in the same way. The &lt;a href=&quot;/docs/agents/&quot;&gt;Connect your agents&lt;/a&gt; page lists each one. In short:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;strong&gt;Claude Code, Codex, Cursor, Qwen Code, OpenCode and Pi&lt;/strong&gt; connect through hooks or a small native extension: the agent waits for Saeta&#x27;s answer before a tool call runs. The differences are in the details. With Codex, Saeta&#x27;s &quot;allow&quot; lets the call carry on, and Codex&#x27;s own approval and sandbox settings still apply after it. With Cursor, a block always holds, but an allow is best effort, because Cursor&#x27;s own auto-approve is unreliable in some versions. Qwen Code stops waiting for a hook after 60 seconds, so a question nobody has answered in 50 goes back to Qwen Code&#x27;s own prompt. We have not yet run Qwen Code&#x27;s hooks against a live Qwen Code, nor Cursor&#x27;s in the desktop app.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Gemini CLI&lt;/strong&gt;, and other agents that speak MCP, connect in what Saeta calls advisory mode. Saeta adds an &lt;code&gt;ask_human&lt;/code&gt; tool and a short note asking the model to use it before risky steps. When the model does, and says what it is about to do, the same rules decide. But the model chooses whether to ask. Gemini CLI&#x27;s own tools are not held by Saeta, so for now its own policy files still matter.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Rules about MCP tools&lt;/strong&gt; follow each agent&#x27;s names for them. Claude Code, Codex and Qwen Code name a tool &lt;code&gt;mcp__server__tool&lt;/code&gt;, Cursor names it &lt;code&gt;MCP:tool&lt;/code&gt;, so an answer remembered for an MCP tool in Claude Code does not yet carry over to Cursor. Command and file rules do.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Two more things Saeta does not do. It does not read the rules you already have in each agent, and it does not write its rules into their formats: it decides on each call as it happens, in place of the agent&#x27;s prompt. Your old settings stay where they were. And for Claude Code and Codex there is a setting, &lt;a href=&quot;/docs/permissions/agent-decides/&quot;&gt;Agent decides&lt;/a&gt;, that hands calls back to the agent&#x27;s own permission system while Saeta keeps its blocks, if you would rather keep a setup you have tuned.&lt;/p&gt;
&lt;h2 id=&quot;what-this-is-not&quot;&gt;What this is not&lt;/h2&gt;
&lt;p&gt;Saeta is a guardrail against an agent&#x27;s mistakes, not a sandbox. It reads the command line, not what a script does once it runs, and an agent set on getting round it can write a script and run that. If you are running code you don&#x27;t trust, a container or a virtual machine is still the right tool. Each agent&#x27;s own sandbox, such as Codex&#x27;s, keeps working underneath Saeta, and that is a good thing.&lt;/p&gt;
&lt;p&gt;And whichever agent you use, keep your work in version control. It undoes more mistakes than any rule.&lt;/p&gt;
&lt;h2 id=&quot;try-it&quot;&gt;Try it&lt;/h2&gt;
&lt;p&gt;If you switch between agents, or would like to try the next one without spending an afternoon answering its prompts, &lt;a href=&quot;/en/#waitlist&quot;&gt;join the waitlist&lt;/a&gt;. We will email you when early access opens. The &lt;a href=&quot;/en/guides/agent-compatibility/&quot;&gt;agent compatibility guide&lt;/a&gt; goes into each agent&#x27;s limits, and our post &lt;a data-umami-event=&quot;Blog link&quot; data-umami-event-from=&quot;post&quot; data-umami-event-to=&quot;safe-auto-mode-without-a-dev-container&quot; href=&quot;/en/blog/safe-auto-mode-without-a-dev-container/&quot;&gt;Safe auto mode when a dev container doesn&#x27;t fit&lt;/a&gt; looks at safe auto mode on your own computer, where a dev container doesn&#x27;t fit.&lt;/p&gt;
&lt;h2 id=&quot;sources&quot;&gt;Sources&lt;/h2&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;https://code.claude.com/docs/en/permissions&quot;&gt;Configure permissions&lt;/a&gt;, Claude Code documentation.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://developers.openai.com/codex/rules&quot;&gt;Rules&lt;/a&gt;, Codex documentation.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://cursor.com/docs/cli/reference/permissions&quot;&gt;Permissions&lt;/a&gt;, Cursor CLI reference.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://geminicli.com/docs/reference/policy-engine/&quot;&gt;Policy engine&lt;/a&gt;, Gemini CLI documentation.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://opencode.ai/docs/permissions/&quot;&gt;Permissions&lt;/a&gt;, OpenCode documentation.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/docs/agents/&quot;&gt;Connect your agents&lt;/a&gt;, &lt;a href=&quot;/docs/permissions/auto/&quot;&gt;safe auto mode&lt;/a&gt; and &lt;a href=&quot;/docs/permissions/agent-decides/&quot;&gt;funnel mode&lt;/a&gt;, Saeta&#x27;s documentation.&lt;/li&gt;&lt;/ul&gt;</content>
  </entry>
  <entry xml:lang="en">
    <title>Setting coding agent rules for a whole company</title>
    <id>https://saeta.io/en/blog/company-rules-for-coding-agents/</id>
    <link rel="alternate" type="text/html" href="https://saeta.io/en/blog/company-rules-for-coding-agents/"/>
    <published>2026-11-19T00:00:00Z</published>
    <updated>2026-11-26T00:00:00Z</updated>
    <author><name>Sergio Fraile</name></author>
    <summary>How a company can put one set of coding agent rules on every developer&#x27;s computer with Saeta, what developers can change, and what is still planned.</summary>
    <content type="html">&lt;p&gt;Once a few people in a team use coding agents, someone asks the obvious question: what are the agents allowed to do here? Maybe nobody should let an agent run &lt;code&gt;terraform apply&lt;/code&gt; from a laptop, because infrastructure changes go through CI. Maybe publishing a package should always need a person. And the team&#x27;s own build tool should just run, so nobody has to answer the same prompt twenty times a day.&lt;/p&gt;
&lt;p&gt;Writing those rules down is the easy part. Getting them onto every developer&#x27;s computer, keeping them there, and still letting each developer tune their own setup is harder. This post is about how Saeta handles that today, and what it doesn&#x27;t do yet.&lt;/p&gt;
&lt;p&gt;Organisation rules in Saeta are in early access, and Saeta has no public release yet. Its behaviour is described as it stood on 12 November 2026, when we ran the example below through its rules.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Updated on 26 November 2026:&lt;/em&gt; this post first listed the layered Rules screen and an organisation&#x27;s limits on the modes developers choose as planned. Both are now built, and the post describes them as they stood on that day.&lt;/p&gt;
&lt;h2 id=&quot;every-agent-has-its-own-lock&quot;&gt;Every agent has its own lock&lt;/h2&gt;
&lt;p&gt;The agents themselves are getting better at this. Each now has a way for an administrator to set rules a developer can&#x27;t override:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;strong&gt;Claude Code&lt;/strong&gt; reads managed settings from a &lt;code&gt;managed-settings.json&lt;/code&gt; file, an MDM policy or the claude.ai admin console. Nothing in a developer&#x27;s own files overrides a managed key (&lt;a href=&quot;https://code.claude.com/docs/en/settings&quot;&gt;settings&lt;/a&gt;).&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Codex&lt;/strong&gt; has requirements, &quot;constraints that users can&#x27;t override&quot;, from the admin console, MDM or a system file. Command rules there can only ask or forbid, not allow (&lt;a href=&quot;https://learn.chatgpt.com/docs/enterprise/managed-configuration&quot;&gt;managed configuration&lt;/a&gt;).&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Gemini CLI&lt;/strong&gt; has an admin tier of policy files in a system folder, such as &lt;code&gt;/etc/gemini-cli/policies&lt;/code&gt; on Linux, and admin policies always beat a user&#x27;s (&lt;a href=&quot;https://geminicli.com/docs/reference/policy-engine/&quot;&gt;policy engine&lt;/a&gt;).&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;If your company uses one agent, its own controls may be all you need. The trouble starts when developers use two or three, or want to try the next one. Then the same rule has to be written in each agent&#x27;s format, rolled out through each agent&#x27;s channel, and kept in step by hand. Our post &lt;a data-umami-event=&quot;Blog link&quot; data-umami-event-from=&quot;post&quot; data-umami-event-to=&quot;one-set-of-rules-for-every-agent&quot; href=&quot;/en/blog/one-set-of-rules-for-every-agent/&quot;&gt;Trying a new coding agent without rebuilding your rules&lt;/a&gt; shows how differently five agents describe even one rule.&lt;/p&gt;
&lt;h2 id=&quot;one-policy-above-each-developers-rules&quot;&gt;One policy, above each developer&#x27;s rules&lt;/h2&gt;
&lt;p&gt;Saeta sits between an agent and the computer. When a connected agent wants to run a command, edit a file or call an MCP tool, Saeta checks its rules and lets the call through, blocks it, or asks the developer. Every agent connected to Saeta goes through the same rules, so an organisation writes its rules once.&lt;/p&gt;
&lt;p&gt;An organisation&#x27;s rules come as a policy: a signed file in the same format as a developer&#x27;s own rules, with one extra layer. Here is the example we ran, for an invented company called Acme Corp:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;strong&gt;Block&lt;/strong&gt; &lt;code&gt;terraform apply&lt;/code&gt;, because infrastructure changes go through CI.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Ask&lt;/strong&gt; before &lt;code&gt;npm publish&lt;/code&gt;, marked high risk, so a question nobody answers ends in no.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Allow&lt;/strong&gt; &lt;code&gt;git push&lt;/code&gt;, so pushing a branch doesn&#x27;t stop for a prompt.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Suggest&lt;/strong&gt; allowing &lt;code&gt;make&lt;/code&gt;, as a default a developer may change.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;The developer had three rules of their own: always allow &lt;code&gt;terraform&lt;/code&gt;, never allow &lt;code&gt;make&lt;/code&gt;, always allow &lt;code&gt;cargo&lt;/code&gt;.&lt;/p&gt;
&lt;img src=&quot;/media/blog/company-rules-for-coding-agents/team-rules-960.webp&quot; alt=&quot;Saeta&#x27;s Rules screen on a computer Acme Corp manages: Your organisation, marked Managed, sits at the top of the side rail above Everywhere and the projects. Its page says the computer is managed by Acme Corp, policy version 7, and lists the organisation&#x27;s locked rules, such as blocking terraform apply and asking before npm publish, then a suggested rule the developer&#x27;s own rules can override.&quot; width=&quot;960&quot; height=&quot;529&quot; loading=&quot;lazy&quot; /&gt;
&lt;p&gt;(The screenshot uses invented demo data.)&lt;/p&gt;
&lt;p&gt;On the Rules screen, the organisation is a layer of its own, &quot;Your organisation&quot;, marked &quot;Managed&quot; and listed above Everywhere and the developer&#x27;s projects. Its page says &quot;Managed by Acme Corp&quot; and shows the organisation&#x27;s rules, locked; the developer&#x27;s own rules stay on their own pages. &lt;code&gt;saeta status&lt;/code&gt; in a terminal says the same. Here is what Saeta decided:&lt;/p&gt;
&lt;div class=&quot;table-wrap&quot;&gt;&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Command&lt;/th&gt;&lt;th&gt;Default&lt;/th&gt;&lt;th&gt;Managed mode&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;terraform apply&lt;/code&gt;&lt;/td&gt;&lt;td&gt;blocked by the organisation&lt;/td&gt;&lt;td&gt;blocked by the organisation&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;terraform plan&lt;/code&gt;&lt;/td&gt;&lt;td&gt;runs: the developer&#x27;s own allow&lt;/td&gt;&lt;td&gt;asks: the developer&#x27;s rules are off&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;npm publish&lt;/code&gt;&lt;/td&gt;&lt;td&gt;asks, high risk&lt;/td&gt;&lt;td&gt;asks, high risk&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;git push origin feature&lt;/code&gt;&lt;/td&gt;&lt;td&gt;runs: the organisation&#x27;s allow&lt;/td&gt;&lt;td&gt;runs: the organisation&#x27;s allow&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;git push --force origin main&lt;/code&gt;&lt;/td&gt;&lt;td&gt;blocked by Saeta&#x27;s own rule&lt;/td&gt;&lt;td&gt;blocked by Saeta&#x27;s own rule&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;make build&lt;/code&gt;&lt;/td&gt;&lt;td&gt;blocked: the developer&#x27;s rule beats the suggestion&lt;/td&gt;&lt;td&gt;runs: the organisation&#x27;s suggestion&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;cargo test&lt;/code&gt;&lt;/td&gt;&lt;td&gt;runs: the developer&#x27;s own allow&lt;/td&gt;&lt;td&gt;asks: the developer&#x27;s rules are off&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;p&gt;A few things follow from that table.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;An organisation&#x27;s block beats everything.&lt;/strong&gt; The developer&#x27;s own &quot;always allow &lt;code&gt;terraform&lt;/code&gt;&quot; still lets &lt;code&gt;terraform plan&lt;/code&gt; through, but not &lt;code&gt;apply&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;An organisation&#x27;s allow does not beat Saeta&#x27;s own protections.&lt;/strong&gt; The policy allows &lt;code&gt;git push&lt;/code&gt;, but a force push to &lt;code&gt;main&lt;/code&gt; is still blocked by one of Saeta&#x27;s built-in rules. An organisation can make Saeta stricter than it ships, not looser.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Suggestions are only suggestions.&lt;/strong&gt; Rules an organisation lists as defaults sit below the developer&#x27;s, so the developer&#x27;s &quot;never allow &lt;code&gt;make&lt;/code&gt;&quot; wins.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Managed mode is a choice, not the default.&lt;/strong&gt; With &lt;code&gt;allow_user_rules&lt;/code&gt; set to &lt;code&gt;false&lt;/code&gt;, a developer&#x27;s own rules stop counting, and only the organisation&#x27;s rules and Saeta&#x27;s own decide. Anything they don&#x27;t cover goes to the developer as a question.&lt;/p&gt;
&lt;h2 id=&quot;what-developers-can-and-cant-change&quot;&gt;What developers can and can&#x27;t change&lt;/h2&gt;
&lt;p&gt;By default, developers keep their own setup. They add rules, remember answers, turn on &lt;a href=&quot;/docs/permissions/auto/&quot;&gt;safe auto mode&lt;/a&gt; for a project and give agents &lt;a href=&quot;/docs/permissions/folders/&quot;&gt;folders outside a project&lt;/a&gt;. What they can&#x27;t do is change the organisation&#x27;s rules: Saeta refuses to remove, switch off or edit them, from the app, the command line or a paired phone.&lt;/p&gt;
&lt;p&gt;A policy can also:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;turn on managed mode, as above. Developers can still switch off or remove their own ignored rules, but not add new ones;&lt;/li&gt;&lt;li&gt;turn off folder grants, so only the organisation decides which folders outside a project agents may use;&lt;/li&gt;&lt;li&gt;force one of Saeta&#x27;s built-in folder groups on or off;&lt;/li&gt;&lt;li&gt;limit the modes developers may choose, such as allowing Ask me and safe auto mode but not funnel mode. A mode the organisation leaves out is greyed out in the app, and where a developer had chosen it, Saeta uses the mode that would apply without that choice (for a project, the outer project&#x27;s or Everywhere&#x27;s), or Ask me when no other mode is set. Ask me is always allowed, and a policy can also set the mode itself, with a safe auto or funnel mode rule of its own;&lt;/li&gt;&lt;li&gt;decide what happens while Saeta isn&#x27;t running. By default, agent calls are blocked then, because none of the organisation&#x27;s rules can apply.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;The &lt;a href=&quot;/docs/permissions/organisations/&quot;&gt;organisation policies&lt;/a&gt; page for administrators has every setting, the order rules are checked in, and the full table of what developers can change.&lt;/p&gt;
&lt;h2 id=&quot;getting-the-policy-onto-every-computer&quot;&gt;Getting the policy onto every computer&lt;/h2&gt;
&lt;p&gt;Today, an administrator installs two files on each computer, in a folder only an administrator can write, such as &lt;code&gt;/etc/saeta/managed/&lt;/code&gt; on Linux: the organisation&#x27;s public key and the signed policy. Saeta reads them when it starts and on &lt;code&gt;saeta reload&lt;/code&gt;. Anything that can put a file on a fleet of computers can deliver them, such as an MDM profile or a configuration management tool.&lt;/p&gt;
&lt;p&gt;Saeta checks the signature against the key, and keeps the last policy that verified. A policy that is deleted, broken, or older than the one in force never leaves a computer with fewer rules. To take a computer out of management, an administrator removes the key file.&lt;/p&gt;
&lt;p&gt;For now, policies are signed with a development tool that keeps the private key in a plain file: fine for trying organisation rules out, not for a company&#x27;s production keys.&lt;/p&gt;
&lt;h2 id=&quot;audit-today-and-planned&quot;&gt;Audit, today and planned&lt;/h2&gt;
&lt;p&gt;On each computer, Saeta&#x27;s Activity screen records every call with the rule that decided it, so a developer can filter by an organisation rule and see what it blocked or asked about. That record stays on the computer. Nothing is sent to the organisation yet.&lt;/p&gt;
&lt;p&gt;The rest of the picture is planned, not built, and has no date:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;strong&gt;A Saeta server for the organisation&lt;/strong&gt;, run on its own infrastructure, with an admin console, single sign-on, and computers that enrol and fetch new policies themselves, instead of files copied by hand.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Central reporting&lt;/strong&gt;: which agents are used, how often, and which rules fire, collecting metadata by default and command text only if the organisation chooses to, and telling developers when it does.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Trying a rule before enforcing it&lt;/strong&gt;, so an administrator can see what a rule would have blocked before it blocks anything.&lt;/li&gt;&lt;/ul&gt;
&lt;h2 id=&quot;what-this-is-not&quot;&gt;What this is not&lt;/h2&gt;
&lt;p&gt;Saeta is a guardrail against an agent&#x27;s mistakes, not a sandbox, and an organisation&#x27;s policy doesn&#x27;t change that. Saeta reads the command line, not what a script does once it runs. A policy keeps agents within the organisation&#x27;s rules; it is not a lock against the developer, who can still change Saeta&#x27;s files on their own computer. And it doesn&#x27;t replace a container or a virtual machine for code you don&#x27;t trust.&lt;/p&gt;
&lt;h2 id=&quot;try-it&quot;&gt;Try it&lt;/h2&gt;
&lt;p&gt;If your company would like its agents to follow one set of rules, whichever agent each developer uses, &lt;a href=&quot;/en/#waitlist&quot;&gt;join the waitlist&lt;/a&gt;. We will email you when early access opens. Administrators can read &lt;a href=&quot;/docs/permissions/organisations/&quot;&gt;organisation policies&lt;/a&gt; first, and the &lt;a href=&quot;/en/guides/agent-compatibility/&quot;&gt;agent compatibility guide&lt;/a&gt; explains how deeply Saeta reaches into each agent.&lt;/p&gt;
&lt;h2 id=&quot;sources&quot;&gt;Sources&lt;/h2&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;https://code.claude.com/docs/en/settings&quot;&gt;Settings files and precedence&lt;/a&gt;, Claude Code documentation.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://learn.chatgpt.com/docs/enterprise/managed-configuration&quot;&gt;Managed configuration&lt;/a&gt;, Codex documentation.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://geminicli.com/docs/reference/policy-engine/&quot;&gt;Policy engine&lt;/a&gt;, Gemini CLI documentation.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/docs/permissions/organisations/&quot;&gt;Organisation policies&lt;/a&gt;, &lt;a href=&quot;/docs/permissions/auto/&quot;&gt;safe auto mode&lt;/a&gt; and &lt;a href=&quot;/docs/permissions/folders/&quot;&gt;folders outside a project&lt;/a&gt;, Saeta&#x27;s documentation.&lt;/li&gt;&lt;/ul&gt;</content>
  </entry>
  <entry xml:lang="en">
    <title>Why safe auto mode asks about tools it doesn&#x27;t know</title>
    <id>https://saeta.io/en/blog/auto-mode-asks-about-unknown-tools/</id>
    <link rel="alternate" type="text/html" href="https://saeta.io/en/blog/auto-mode-asks-about-unknown-tools/"/>
    <published>2026-11-19T00:00:00Z</published>
    <updated>2026-11-19T00:00:00Z</updated>
    <author><name>Sergio Fraile</name></author>
    <summary>Agents let you add tools with any name, so a tool&#x27;s name says little about what it does. Why Saeta&#x27;s safe auto mode asks about MCP and custom tools.</summary>
    <content type="html">&lt;p&gt;Saeta&#x27;s safe auto mode lets a coding agent get on with the work in one project: edit files, build, run the tests, without asking. It still asks about a short list of risky things, such as deleting files or pushing to a remote. Two items on that list can look odd at first: every call to an MCP server&#x27;s tool, and every tool Saeta can&#x27;t read. Even a tool that sounds harmless, such as &lt;code&gt;create_issue&lt;/code&gt;, stops and asks.&lt;/p&gt;
&lt;p&gt;This post explains why. In short: the name is the only thing Saeta sees of those tools, and agents let anyone pick the name. Saeta&#x27;s rules are described as they stood on 19 November 2026, when we ran the calls below through them. Saeta has no public release yet.&lt;/p&gt;
&lt;h2 id=&quot;what-saeta-can-read&quot;&gt;What Saeta can read&lt;/h2&gt;
&lt;p&gt;Saeta sits between an agent such as Claude Code or OpenCode and your computer. When the agent wants to use a tool, the agent&#x27;s hook tells Saeta the tool&#x27;s name and what it was given, and Saeta lets the call through, blocks it, or asks you.&lt;/p&gt;
&lt;p&gt;For most calls, that is enough to decide. A shell call carries its command line, so Saeta can see that &lt;code&gt;npm test&lt;/code&gt; runs the project&#x27;s tests and that &lt;code&gt;git push&lt;/code&gt; sends work to a remote. A file edit carries its path, so Saeta can tell a file in the project from your SSH keys. Safe auto mode&#x27;s questions are all about those things: what a command does and where it reaches.&lt;/p&gt;
&lt;p&gt;Other tools carry neither. A call to an MCP server&#x27;s tool is a name and some arguments, and what the tool does with them happens in a separate program Saeta never sees. The same goes for tools an agent lets you add yourself.&lt;/p&gt;
&lt;h2 id=&quot;a-name-can-be-anything&quot;&gt;A name can be anything&lt;/h2&gt;
&lt;p&gt;Every agent names these tools in its own way, and some let you choose the name outright.&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;strong&gt;Claude Code&lt;/strong&gt; names an MCP tool after its server: the &lt;code&gt;create_issue&lt;/code&gt; tool of a server called &lt;code&gt;github&lt;/code&gt; arrives as &lt;code&gt;mcp__github__create_issue&lt;/code&gt; (&lt;a href=&quot;https://code.claude.com/docs/en/hooks#match-mcp-tools&quot;&gt;hooks reference&lt;/a&gt;). Saeta can at least tell it is an MCP tool, and which server it belongs to. Qwen Code uses the same pattern.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Cursor&lt;/strong&gt; sends &lt;code&gt;MCP:create_issue&lt;/code&gt;: an MCP tool, but not which server.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;OpenCode&lt;/strong&gt; registers an MCP server&#x27;s tools &quot;with server name as prefix&quot;, so the same tool is &lt;code&gt;github_create_issue&lt;/code&gt; (&lt;a href=&quot;https://opencode.ai/v1/docs/mcp-servers/&quot;&gt;MCP servers&lt;/a&gt;). Nothing in that name says it is MCP. OpenCode also has custom tools, which &quot;can execute arbitrary code&quot; (&lt;a href=&quot;https://opencode.ai/v1/docs/tools/&quot;&gt;tools&lt;/a&gt;), and plugins that register tools under names they choose (&lt;a href=&quot;https://opencode.ai/docs/build/plugins/server/&quot;&gt;plugins&lt;/a&gt;).&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Pi&lt;/strong&gt; lets an extension register its own tools, and even replace Pi&#x27;s built-in ones, such as &lt;code&gt;read&lt;/code&gt; or &lt;code&gt;bash&lt;/code&gt;, &quot;by registering a tool with the same name&quot;, without a warning (&lt;a href=&quot;https://github.com/earendil-works/pi/blob/main/packages/coding-agent/docs/extensions.md#overriding-built-in-tools&quot;&gt;extensions&lt;/a&gt;).&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;So a tool called &lt;code&gt;create_issue&lt;/code&gt; might open an issue. It might also delete a repository, post in a chat channel, or write a file anywhere on your computer. Saeta can&#x27;t look inside to check, and the name was written by whoever wrote the tool.&lt;/p&gt;
&lt;h2 id=&quot;what-that-looks-like-in-a-session&quot;&gt;What that looks like in a session&lt;/h2&gt;
&lt;p&gt;Here is an OpenCode session in a project with safe auto mode on. It has an MCP server called &lt;code&gt;github&lt;/code&gt; and a custom tool from a plugin called &lt;code&gt;deploy_preview&lt;/code&gt;. We ran each call through Saeta&#x27;s rules:&lt;/p&gt;
&lt;div class=&quot;table-wrap&quot;&gt;&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;The agent calls&lt;/th&gt;&lt;th&gt;What it is&lt;/th&gt;&lt;th&gt;Saeta&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;bash&lt;/code&gt; with &lt;code&gt;npm test&lt;/code&gt;&lt;/td&gt;&lt;td&gt;OpenCode&#x27;s shell, running the tests&lt;/td&gt;&lt;td&gt;runs&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;todowrite&lt;/code&gt;&lt;/td&gt;&lt;td&gt;OpenCode&#x27;s to-do list&lt;/td&gt;&lt;td&gt;runs&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;websearch&lt;/code&gt;&lt;/td&gt;&lt;td&gt;OpenCode&#x27;s web search&lt;/td&gt;&lt;td&gt;runs&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;webfetch&lt;/code&gt;&lt;/td&gt;&lt;td&gt;fetching a web page&lt;/td&gt;&lt;td&gt;asks: &quot;uses a tool Saeta can&#x27;t read&quot;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;github_create_issue&lt;/code&gt;&lt;/td&gt;&lt;td&gt;the &lt;code&gt;github&lt;/code&gt; MCP server&#x27;s tool&lt;/td&gt;&lt;td&gt;asks: &quot;uses a tool Saeta can&#x27;t read&quot;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;deploy_preview&lt;/code&gt;&lt;/td&gt;&lt;td&gt;the plugin&#x27;s custom tool&lt;/td&gt;&lt;td&gt;asks: &quot;uses a tool Saeta can&#x27;t read&quot;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;code&gt;bash&lt;/code&gt; with &lt;code&gt;git push origin feature&lt;/code&gt;&lt;/td&gt;&lt;td&gt;OpenCode&#x27;s shell, pushing&lt;/td&gt;&lt;td&gt;asks: &quot;pushes to a remote&quot;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;p&gt;The same MCP call from Claude Code, &lt;code&gt;mcp__github__create_issue&lt;/code&gt;, asks too, with the reason &quot;calls an MCP server&#x27;s tool, which can reach outside the project&quot;.&lt;/p&gt;
&lt;p&gt;Like everything safe auto mode asks about, these questions are high-risk: if nobody answers in time, the answer is no.&lt;/p&gt;
&lt;h2 id=&quot;the-tools-that-dont-ask&quot;&gt;The tools that don&#x27;t ask&lt;/h2&gt;
&lt;p&gt;Asking about every tool Saeta can&#x27;t read would also mean asking about the agent&#x27;s own bookkeeping, over and over. So a short list of tools stays allowed, each matched by its exact name. They only look things up or keep the agent&#x27;s work in order: Claude Code&#x27;s &lt;code&gt;Glob&lt;/code&gt;, &lt;code&gt;Grep&lt;/code&gt;, &lt;code&gt;LS&lt;/code&gt; and &lt;code&gt;WebSearch&lt;/code&gt;, its to-do list, plan mode and subagents, and the equivalents in Qwen Code and OpenCode. A subagent&#x27;s own calls are still checked one by one; a Claude Code subagent that runs in the cloud isn&#x27;t, because Saeta can&#x27;t see its calls, so it asks. The &lt;a href=&quot;/docs/permissions/auto/&quot;&gt;safe auto mode documentation&lt;/a&gt; has the full list.&lt;/p&gt;
&lt;p&gt;Fetching a web page is not on it. A search only reads, but a fetch can send whatever the agent puts in the address, a secret included. So &lt;code&gt;WebFetch&lt;/code&gt;, OpenCode&#x27;s &lt;code&gt;webfetch&lt;/code&gt; and Codex&#x27;s &lt;code&gt;webrun&lt;/code&gt; ask.&lt;/p&gt;
&lt;h2 id=&quot;where-a-list-of-names-falls-short&quot;&gt;Where a list of names falls short&lt;/h2&gt;
&lt;p&gt;Look again at how agents name tools, and you can see the weak point of that list. A name is only safe for the agent whose built-in tool it is. Until 19 November 2026, Saeta&#x27;s list matched a name whichever agent sent it. A custom OpenCode tool called &lt;code&gt;WebSearch&lt;/code&gt; or &lt;code&gt;Grep&lt;/code&gt;, or a Pi extension tool called &lt;code&gt;task&lt;/code&gt;, would have been let through without asking, whatever it did.&lt;/p&gt;
&lt;p&gt;The fix is to list each name with the agents it belongs to, so that &lt;code&gt;WebSearch&lt;/code&gt; counts only from Claude Code and Cursor, and the same name from OpenCode asks like any other unknown tool. Saeta now works this way: the change went in on 19 November 2026.&lt;/p&gt;
&lt;p&gt;It closes the gap for new names, not for every name. When an agent lets an extension replace one of its own tools under the same name, as Pi does, Saeta has no way to tell, and judges the call by what the agent says it is. Pi&#x27;s documentation puts the deeper point plainly: an extension &quot;runs inside the Pi process with the same operating-system permissions&quot;. Code you load into your agent can already do anything the agent can. Saeta doesn&#x27;t protect you from it; choosing which extensions and plugins to install does.&lt;/p&gt;
&lt;h2 id=&quot;fewer-questions-on-your-terms&quot;&gt;Fewer questions, on your terms&lt;/h2&gt;
&lt;p&gt;When Saeta asks about an MCP tool, you can allow that one tool, or every tool of its server, for this project or everywhere. The answer becomes a rule of yours, in that project or everywhere, and safe auto mode stops asking about it. After allowing every tool of the &lt;code&gt;github&lt;/code&gt; server, &lt;code&gt;mcp__github__create_issue&lt;/code&gt; runs without asking, and a tool of a &lt;code&gt;slack&lt;/code&gt; server still asks. Cursor doesn&#x27;t say which server a tool is on, so there you allow each tool on its own. A custom tool, or an OpenCode MCP tool without its server in the name, is allowed by its exact name.&lt;/p&gt;
&lt;p&gt;It works the other way too. A rule of yours that denies a tool, such as every MCP tool whose name starts with &lt;code&gt;delete&lt;/code&gt;, still denies it in safe auto mode.&lt;/p&gt;
&lt;p&gt;The aim is that you decide once, knowing what the tool is, instead of Saeta guessing from its name.&lt;/p&gt;
&lt;h2 id=&quot;what-this-is-not&quot;&gt;What this is not&lt;/h2&gt;
&lt;p&gt;Saeta is a guardrail against an agent&#x27;s mistakes, not a sandbox. Allowing an MCP server&#x27;s tools means trusting that server: Saeta decides whether a call is made, not what the server does with it. It reads the command line, not what a script does once it runs, and an agent set on getting round it can write a script and run that. If you are running code you don&#x27;t trust, a container or a virtual machine is still the right tool.&lt;/p&gt;
&lt;p&gt;And keep your work in version control. It undoes more mistakes than any rule.&lt;/p&gt;
&lt;h2 id=&quot;try-it&quot;&gt;Try it&lt;/h2&gt;
&lt;p&gt;If you use MCP servers or custom tools and would like an agent to work without asking about every step, while still asking before it calls something nobody has looked at, &lt;a href=&quot;/en/#waitlist&quot;&gt;join the waitlist&lt;/a&gt;. We will email you when early access opens. The &lt;a href=&quot;/docs/permissions/auto/&quot;&gt;safe auto mode documentation&lt;/a&gt; lists everything it asks about, and our post &lt;a data-umami-event=&quot;Blog link&quot; data-umami-event-from=&quot;post&quot; data-umami-event-to=&quot;when-auto-mode-goes-too-far&quot; href=&quot;/en/blog/when-auto-mode-goes-too-far/&quot;&gt;When an agent in auto mode goes too far&lt;/a&gt; looks at public cases where agents in auto mode went too far.&lt;/p&gt;
&lt;h2 id=&quot;sources&quot;&gt;Sources&lt;/h2&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;https://code.claude.com/docs/en/hooks#match-mcp-tools&quot;&gt;Hooks reference: match MCP tools&lt;/a&gt;, Claude Code documentation.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://opencode.ai/v1/docs/tools/&quot;&gt;Tools&lt;/a&gt; and &lt;a href=&quot;https://opencode.ai/v1/docs/mcp-servers/&quot;&gt;MCP servers&lt;/a&gt;, OpenCode documentation (version 1).&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://opencode.ai/docs/build/plugins/server/&quot;&gt;Server plugins: tools&lt;/a&gt;, OpenCode documentation.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://github.com/earendil-works/pi/blob/main/packages/coding-agent/docs/extensions.md#overriding-built-in-tools&quot;&gt;Extensions: overriding built-in tools&lt;/a&gt;, Pi documentation.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/docs/permissions/auto/&quot;&gt;Safe auto mode&lt;/a&gt;, Saeta&#x27;s documentation.&lt;/li&gt;&lt;/ul&gt;</content>
  </entry>
  <entry xml:lang="en">
    <title>Answer your coding agent&#x27;s questions from your phone</title>
    <id>https://saeta.io/en/blog/phone-approvals-while-away/</id>
    <link rel="alternate" type="text/html" href="https://saeta.io/en/blog/phone-approvals-while-away/"/>
    <published>2026-11-13T00:00:00Z</published>
    <updated>2026-11-13T00:00:00Z</updated>
    <author><name>Sergio Fraile</name></author>
    <summary>How Saeta sends a coding agent&#x27;s approval requests to your phone, what you can answer there, and what happens when nobody answers in time.</summary>
    <content type="html">&lt;p&gt;A long agent task rarely stalls because the work is hard. It stalls because the agent reached a step it should not take on its own, asked, and nobody was there to answer. You come back after lunch to a terminal that has spent most of the hour waiting for one &quot;yes&quot;.&lt;/p&gt;
&lt;p&gt;The usual workarounds are not great. You can stay at your desk. You can reach the terminal over SSH from your phone and read a prompt in a tiny font. Or you can turn the agent&#x27;s permission checks off and hope for the best, which is the one option that really does leave it unsupervised.&lt;/p&gt;
&lt;p&gt;Saeta takes a different route: the question comes to you. This post describes how phone approvals work in Saeta&#x27;s Android app as of 12 November 2026, what you can and cannot answer from the phone, and what happens when you do not answer at all. Saeta has no public release yet, and we are still testing the phone app on real devices before early access opens.&lt;/p&gt;
&lt;h2 id=&quot;one-example-start-to-finish&quot;&gt;One example, start to finish&lt;/h2&gt;
&lt;p&gt;Alex is adding a rate limiter to a project called &lt;code&gt;shop-api&lt;/code&gt;. Claude Code does the work, with Saeta&#x27;s &lt;a href=&quot;/docs/permissions/auto/&quot;&gt;safe auto mode&lt;/a&gt; turned on for that project. Safe auto mode lets the agent edit files and run the tests without asking each time, but it still asks about a short list of risky actions. Pushing to a remote is one of them.&lt;/p&gt;
&lt;p&gt;Alex leaves for lunch. Some time later the tests pass and the agent wants to run:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;git push -u origin feature/rate-limit&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Saeta&#x27;s daemon on the laptop holds that call open, and the request reaches Alex&#x27;s phone as a notification. Saeta asks Android to keep the details off the lock screen, so a locked phone shows only &quot;Saeta needs you&quot;. Once the phone is unlocked, the notification shows the agent, the project, the computer, why Saeta is asking and the exact command:&lt;/p&gt;
&lt;img src=&quot;/media/blog/phone-approvals-while-away/mobile-notification-960.webp&quot; alt=&quot;A Saeta notification on an Android phone: Claude Code on shop-api asks to push to a remote, with Approve and Deny buttons.&quot; width=&quot;480&quot; height=&quot;200&quot; loading=&quot;lazy&quot; /&gt;
&lt;p&gt;Alex taps Approve. The answer goes back to the laptop, the push runs, and the agent carries on with the rest of the task. Nothing about the agent&#x27;s permissions was switched off; one action waited a few minutes for a person.&lt;/p&gt;
&lt;p&gt;If the request had not fitted in a notification, tapping it would have opened the app, which shows the whole request and how long is left to answer it:&lt;/p&gt;
&lt;img src=&quot;/media/blog/phone-approvals-while-away/mobile-detail-light-600.webp&quot; alt=&quot;Saeta&#x27;s request detail on an Android phone: the git push command, the reason Saeta asks, the time remaining, and Allow and Deny buttons.&quot; width=&quot;300&quot; height=&quot;655&quot; loading=&quot;lazy&quot; /&gt;
&lt;p&gt;(The screenshots use invented demo data: Alex, &lt;code&gt;shop-api&lt;/code&gt; and the laptop are made up.)&lt;/p&gt;
&lt;h2 id=&quot;what-you-can-answer-from-the-phone&quot;&gt;What you can answer from the phone&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Approve or deny from the notification.&lt;/strong&gt; This works for a short shell command that the notification can show in full. Approve asks you to unlock the phone first; Deny is a single tap. Approving from the notification needs Android 12 or later and a screen lock; without them, the notification offers Deny and a button that opens the app, where you can approve.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Everything else opens the app.&lt;/strong&gt; A file edit, a long command, a request that reaches outside the folders you chose, or a request where Saeta has masked something that looks like a password or a token is answered in the app, where you can read all of it. Saeta keeps credentials out of the notification text because Android keeps that text in its notification history.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Several requests at once.&lt;/strong&gt; If two agents need you at the same time, the Pending screen lists them all, each with its own time left, rather than one blocking dialog.&lt;/p&gt;
&lt;img src=&quot;/media/blog/phone-approvals-while-away/mobile-pending-light-600.webp&quot; alt=&quot;Saeta&#x27;s Pending screen on an Android phone: requests from Claude Code, Codex and Cursor, each with the time left to answer.&quot; width=&quot;300&quot; height=&quot;655&quot; loading=&quot;lazy&quot; /&gt;
&lt;p&gt;&lt;strong&gt;Questions, not only permissions.&lt;/strong&gt; When an agent asks you something through Saeta, the phone shows the question. You pick one of the options the agent offered, or type an answer, and the text goes back to the agent.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Corrections.&lt;/strong&gt; On the desktop, a denial can carry a short reason, such as &quot;use pnpm instead of npm&quot;, and the agent receives it along with the refusal. The phone app cannot add a reason to a denial yet: from the phone you approve, deny, or answer a question.&lt;/p&gt;
&lt;h2 id=&quot;when-nobody-answers&quot;&gt;When nobody answers&lt;/h2&gt;
&lt;p&gt;A phone in your pocket is not a promise that you will look at it. Every request has a deadline, and when it passes, Saeta answers for you.&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;strong&gt;How long it waits.&lt;/strong&gt; Five minutes by default. You can make it shorter, but not longer: Saeta sets Claude Code&#x27;s hook to give up after 330 seconds, and the answer has to arrive before the agent stops listening.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;What it answers.&lt;/strong&gt; A denial by default, with the reason &quot;timed out waiting for a human&quot;, so the agent gets a clear no instead of hanging. You can change the fallback to allow, but that is a deliberate choice, and on a computer an organisation manages it does not override the organisation&#x27;s rules.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;On the phone.&lt;/strong&gt; The notification disappears when the deadline passes. If you open the request afterwards, the app tells you it expired and that you can answer on your computer if it still needs you.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Without a signal.&lt;/strong&gt; If the laptop loses its connection, requests are still answered in the desktop inbox, and the desktop shows that remote approvals are offline while it keeps trying to reconnect.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;With Agent decides.&lt;/strong&gt; If you use &lt;a href=&quot;/docs/permissions/agent-decides/&quot;&gt;Agent decides&lt;/a&gt;, which hands most calls to Claude Code&#x27;s or Codex&#x27;s own permission settings, an unanswered question from the agent goes back to the agent, which asks in its own terminal prompt.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Five minutes is short if you are away for an hour. That is intended: the agent should not sit on a half-finished action all afternoon. A denied push is cheap to repeat when you are back, and an action nobody approved never ran.&lt;/p&gt;
&lt;h2 id=&quot;what-our-server-can-see&quot;&gt;What our server can see&lt;/h2&gt;
&lt;p&gt;Phone approvals pass through Saeta&#x27;s relay, so it is fair to ask what that relay learns. The desktop seals each request separately for each paired phone, using public-key encryption (X25519 and XSalsa20-Poly1305 sealed boxes). The push notification that wakes the phone carries a request identifier, not the request: the phone fetches the encrypted request and decrypts it itself. Your answer is sealed to the desktop and signed.&lt;/p&gt;
&lt;p&gt;The relay cannot read commands, file paths or code. It does see routing metadata: your account email, which devices are paired, push tokens, request identifiers and timing. Our &lt;a href=&quot;/security/&quot;&gt;security page&lt;/a&gt; lists all of it.&lt;/p&gt;
&lt;h2 id=&quot;what-this-is-not&quot;&gt;What this is not&lt;/h2&gt;
&lt;p&gt;Saeta is a guardrail against an agent&#x27;s mistakes: a misread instruction, a destructive command it should not have tried, a push to the wrong branch. It is not a sandbox. An agent that can run shell commands has the same permissions on your computer as Saeta does, and a determined one could get around the approval step. Phone approvals make it easier to keep permission checks on while you are away; they do not make an untrusted agent safe. If you need to contain an agent you do not trust, run it in a container or a virtual machine.&lt;/p&gt;
&lt;h2 id=&quot;what-comes-next&quot;&gt;What comes next&lt;/h2&gt;
&lt;p&gt;The phone app launches on Android first, with iOS to follow. We are also working on a second auto mode, which we call funnel auto mode: every question any agent has comes to you, phone first, with a clear fallback when you do not answer in time. It is not released yet, and we will write about it when it is.&lt;/p&gt;
&lt;p&gt;If you run agents on long tasks and would rather answer their questions than switch their checks off, &lt;a href=&quot;/en/#waitlist&quot;&gt;join the waitlist&lt;/a&gt;. We will email you when early access opens. For a wider comparison of the options, including SSH and the agents&#x27; own remote features, read our guide on &lt;a href=&quot;/en/guides/approve-claude-code-from-phone/&quot;&gt;approving Claude Code prompts from your phone&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&quot;sources&quot;&gt;Sources&lt;/h2&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;https://code.claude.com/docs/en/hooks&quot;&gt;Claude Code: hooks&lt;/a&gt;, Anthropic&#x27;s documentation of the hook system Saeta uses to pause Claude Code.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://developer.android.com/reference/android/app/Notification.Action.Builder#setAuthenticationRequired(boolean)&quot;&gt;Notification.Action.Builder.setAuthenticationRequired&lt;/a&gt;, the Android setting that makes Approve ask for an unlock.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/security/&quot;&gt;Saeta security and privacy&lt;/a&gt;, what the relay stores and sees.&lt;/li&gt;&lt;/ul&gt;</content>
  </entry>
</feed>
