<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: AgentRQ</title>
    <description>The latest articles on DEV Community by AgentRQ (agentrq).</description>
    <link>https://dev.to/agentrq</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Forganization%2Fprofile_image%2F14958%2F73202c23-ec56-42ab-8665-c8a115eef168.png</url>
      <title>DEV Community: AgentRQ</title>
      <link>https://dev.to/agentrq</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/agentrq"/>
    <language>en</language>
    <item>
      <title>Best tools for multi-agent systems where agents delegate tasks to other agents</title>
      <dc:creator>Tony</dc:creator>
      <pubDate>Tue, 01 Dec 2026 03:45:58 +0000</pubDate>
      <link>https://dev.to/agentrq/best-tools-for-multi-agent-systems-where-agents-delegate-tasks-to-other-agents-2oe1</link>
      <guid>https://dev.to/agentrq/best-tools-for-multi-agent-systems-where-agents-delegate-tasks-to-other-agents-2oe1</guid>
      <description>&lt;p&gt;&lt;strong&gt;"What are the best tools for managing multi-agent systems where agents can delegate tasks to other agents?"&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We get this question a lot, so here is our answer, as the team behind AgentRQ. We'll be upfront that we build one of the tools on the list. We'll also be upfront that it's not the right pick for every case, and say which case it fits.&lt;/p&gt;

&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;p&gt;There are three kinds of tool, and they solve different parts of the problem:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Agent frameworks&lt;/strong&gt; (LangGraph, CrewAI, Microsoft Agent Framework / AutoGen, OpenAI Agents SDK, Google ADK, Claude Agent SDK). Use one when you are writing the agents yourself and delegation is a function call inside one program.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Protocols&lt;/strong&gt; (A2A, MCP, ACP). Use them when agents built by different teams or vendors have to talk to each other.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Coordination layers&lt;/strong&gt; (AgentRQ). Use one when the agents already exist, such as Claude Code, Codex or Gemini CLI, and you need them to hand work to each other on real repositories over hours or days, with a human able to step in.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If your "agents" are coding agents working on your codebase, you most likely need the third kind. The frameworks assume you own the agent loop, and with an off-the-shelf coding agent, you don't.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why is delegation the hard part?
&lt;/h2&gt;

&lt;p&gt;Getting one agent to do one task is solved. Delegation, where agent A decides that agent B should do part of the work, raises four questions that a single agent never has to answer:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Where does the delegated work live?&lt;/strong&gt; If it's only a function call in memory, it disappears when the process crashes, and nobody can see it while it runs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What context does the delegate get?&lt;/strong&gt; Pass too little and it guesses. Pass the whole history and its context fills up with things it doesn't need.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Who approves risky steps?&lt;/strong&gt; An agent that can delegate can also delegate a &lt;code&gt;git push --force&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;How does the result come back?&lt;/strong&gt; Polling burns tokens. Callbacks need glue code. And when the delegate asks a question halfway through, someone has to answer it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every tool below answers these four questions in some way. The differences are in how.&lt;/p&gt;

&lt;h2&gt;
  
  
  What should you look for?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Durable tasks.&lt;/strong&gt; Delegated work should be a record with a status, a thread and an owner, not a stack frame.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scoped context per agent.&lt;/strong&gt; Each delegate sees its own job, memory and tools, and nothing else.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Two delegation styles.&lt;/strong&gt; Some work needs a planner that breaks a goal into parts and hands them out (supervisor to workers). Some work is a fixed pipeline where finishing one step should start the next (event-driven hand-offs). You will want both.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A human in the loop.&lt;/strong&gt; You should be able to approve, reject or answer a question from any agent, ideally from your phone.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vendor neutrality.&lt;/strong&gt; The best agent for a task changes every few months, and swapping it shouldn't mean a rewrite.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How do the main tools compare?
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tool&lt;/th&gt;
&lt;th&gt;Kind&lt;/th&gt;
&lt;th&gt;How delegation works&lt;/th&gt;
&lt;th&gt;Good fit&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;LangGraph&lt;/td&gt;
&lt;td&gt;Framework&lt;/td&gt;
&lt;td&gt;Agents are nodes in a graph; a supervisor node or handoff tools route control between them&lt;/td&gt;
&lt;td&gt;Custom agents with explicit, testable control flow&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CrewAI&lt;/td&gt;
&lt;td&gt;Framework&lt;/td&gt;
&lt;td&gt;Agents with roles; a hierarchical process gives a manager agent the job of assigning work&lt;/td&gt;
&lt;td&gt;Role-based crews you write in Python&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Microsoft Agent Framework (AutoGen's successor)&lt;/td&gt;
&lt;td&gt;Framework&lt;/td&gt;
&lt;td&gt;Multi-agent orchestration patterns: group chat, handoff, sequential, concurrent&lt;/td&gt;
&lt;td&gt;.NET or Python teams in the Microsoft stack&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;OpenAI Agents SDK&lt;/td&gt;
&lt;td&gt;Framework&lt;/td&gt;
&lt;td&gt;Handoffs: an agent passes the conversation to another agent; agents can also be used as tools&lt;/td&gt;
&lt;td&gt;Chat-style apps on OpenAI models&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Google ADK&lt;/td&gt;
&lt;td&gt;Framework&lt;/td&gt;
&lt;td&gt;Parent agents with sub-agents, plus agents wrapped as tools&lt;/td&gt;
&lt;td&gt;Gemini and Google Cloud workloads&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Claude Agent SDK&lt;/td&gt;
&lt;td&gt;Framework&lt;/td&gt;
&lt;td&gt;Subagents with their own prompt, tools and context window&lt;/td&gt;
&lt;td&gt;Agents built on Claude&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;A2A&lt;/td&gt;
&lt;td&gt;Protocol&lt;/td&gt;
&lt;td&gt;Agents publish an agent card and exchange tasks over HTTP&lt;/td&gt;
&lt;td&gt;Agents from different vendors or organizations&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;MCP&lt;/td&gt;
&lt;td&gt;Protocol&lt;/td&gt;
&lt;td&gt;Exposes tools and data to agents; does not define agent-to-agent hand-offs by itself&lt;/td&gt;
&lt;td&gt;Giving every agent the same tools&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AgentRQ&lt;/td&gt;
&lt;td&gt;Coordination layer&lt;/td&gt;
&lt;td&gt;Durable tasks in per-agent workspaces; a supervisor agent delegates over MCP, and events start the next task when one finishes&lt;/td&gt;
&lt;td&gt;Existing coding agents (Claude Code, Codex, Gemini CLI and others) working as a team, with a human approving&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The frameworks are excellent at what they do. The catch is that they all assume delegation happens inside one runtime that you wrote. Claude Code on your laptop and Codex on a build server don't share a runtime. Delegating between them needs something outside both of them: that's where AgentRQ comes in.&lt;/p&gt;

&lt;h2&gt;
  
  
  How does AgentRQ handle delegation?
&lt;/h2&gt;

&lt;p&gt;AgentRQ is a real-time task manager for AI agents. Every agent works in a &lt;strong&gt;workspace&lt;/strong&gt;: its own task queue, its own mission, its own memory and its own skills. A delegated job is a &lt;strong&gt;task&lt;/strong&gt;: a durable record with a status (not started, ongoing, blocked, completed), a full message thread and attachments. It survives restarts, and you can open it at any time to see where it stands.&lt;/p&gt;

&lt;p&gt;On top of that, there are two ways for agents to delegate, and you can mix them.&lt;/p&gt;

&lt;h3&gt;
  
  
  Pattern 1: supervisor to workers
&lt;/h3&gt;

&lt;p&gt;AgentRQ has two kinds of MCP server:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A &lt;strong&gt;worker&lt;/strong&gt; server per workspace. The agent connected to it sees only its workspace's tasks, memory and skills.&lt;/li&gt;
&lt;li&gt;One account-wide &lt;strong&gt;supervisor&lt;/strong&gt; server. The agent connected to it sees every workspace.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Connect one agent (Claude Code works well) to the supervisor and you have a planner that can delegate. You describe the goal once, in plain words:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Futyvc7isg5k5wfprw7vv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Futyvc7isg5k5wfprw7vv.png" alt="Asking the supervisor agent for an outcome in plain words" width="800" height="330"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The supervisor breaks it down and hands out the work. Through its MCP tools it can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;create tasks in any workspace&lt;/strong&gt;, including subtasks under a parent task, so a big job and its parts stay linked;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;create new workspaces&lt;/strong&gt; when no existing worker fits the job, or &lt;strong&gt;fork&lt;/strong&gt; a workspace so two agents work the same repository in separate git worktrees;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;launch an agent&lt;/strong&gt; on one of your machines;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;follow every thread&lt;/strong&gt;, answer a worker's question, and &lt;strong&gt;answer its permission requests&lt;/strong&gt; (allow, allow all, or reject);&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;hand a task to a human&lt;/strong&gt; when it should not be delegated to an agent at all.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Here the supervisor planned the work, created three new worker workspaces and wired them together, and then told the human the one step left for them:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fq10od0fdkc4fbywf13xh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fq10od0fdkc4fbywf13xh.png" alt="The supervisor agent's plan: three new worker workspaces, wired together" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Why split it this way? The supervisor holds the big picture, so the workers don't have to. A worker that only reviews backend PRs builds a memory made of backend reviews, and nothing from the marketing workspace leaks into its context. That answers the "what context does the delegate get?" question: exactly its own.&lt;/p&gt;

&lt;h3&gt;
  
  
  Pattern 2: native event-driven workflows
&lt;/h3&gt;

&lt;p&gt;A supervisor is the right tool when the plan changes from job to job. For a process that runs the same way every time ("when the build passes, deploy; when the deploy finishes, write the release notes"), a planner in the middle is overhead. Agents should be able to hand off to each other directly.&lt;/p&gt;

&lt;p&gt;That's what &lt;strong&gt;events&lt;/strong&gt; are for. An event is a named signal, such as &lt;code&gt;code_changed&lt;/code&gt;, &lt;code&gt;qa_passed&lt;/code&gt; or &lt;code&gt;deploy_finished&lt;/code&gt;. You attach a &lt;strong&gt;trigger&lt;/strong&gt; to it: when the event fires, AgentRQ creates a task in a workspace you choose, with instructions you wrote in plain words. Whatever the publisher sent with the event goes into the task through &lt;code&gt;{{EVENT_PAYLOAD}}&lt;/code&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsqaeqvq2r6to3svfvy6y.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsqaeqvq2r6to3svfvy6y.png" alt="A trigger: when the event fires, the builder workspace gets a task with the event's payload" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A trigger can also say which event to fire when its task is done. The agent publishes that event before it marks the task complete, and the next workspace picks up from there. That's how a chain forms, without any glue code:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fr8p1jbqh5cy43g2h6by5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fr8p1jbqh5cy43g2h6by5.png" alt="When the task is completed, fire code_changed, so the next agent starts" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Workflows&lt;/strong&gt; put the whole chain on one graph. One event can fan out to several agents, and each agent can emit the event that starts the next step:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Feimnu686k7gsdsh4slvc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Feimnu686k7gsdsh4slvc.png" alt="A workflow graph: code_changed fans out to the doc and blog agents, then on to changelog, twitter and hackernews" width="800" height="528"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you'd rather type than drag, the same workflow is an indented list. Each line is an event or a workspace, alternating. That's the entire syntax:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;workflow: feature_release
event: code_changed
- agent:blog
  - event:blog_published
    - agent:hackernews
    - agent:twitter
- agent:doc
  - event:doc_updated
    - agent:changelog
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Events can also come from outside AgentRQ. &lt;strong&gt;Hooks&lt;/strong&gt; turn a webhook, such as a GitHub push, a Sentry alert or a Jira ticket, into an event, so a real-world signal can start the chain.&lt;/p&gt;

&lt;h3&gt;
  
  
  Mixing the two
&lt;/h3&gt;

&lt;p&gt;The patterns combine well. In the screenshots above, the supervisor did the planning once: it created the workspaces, the events and the triggers. After that, the event chain runs on its own every time code lands, and nobody needs to plan again. A planner where judgment is needed, plain events where the path is fixed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where does the human fit in?
&lt;/h2&gt;

&lt;p&gt;Delegation without oversight is how an agent ends up deleting a production table at 3 a.m. In AgentRQ, a human is part of the loop by default:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;When an agent wants to run a command that needs approval, the request shows up in &lt;strong&gt;Pending on Me&lt;/strong&gt; with Allow and Deny. The supervisor can answer it too, if you let it.&lt;/li&gt;
&lt;li&gt;When an agent asks a question, its task moves to &lt;strong&gt;Blocked&lt;/strong&gt; until someone answers. Your reply is pushed into the agent's session the moment you send it: Claude Code receives it over Claude Channels, other agents over ACP. Nobody polls.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;Kanban board&lt;/strong&gt; shows every agent's work across every workspace, live:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgvx0y9cse6v850vnitlt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgvx0y9cse6v850vnitlt.png" alt="Every agent's tasks on one live board: not started, ongoing, blocked, done" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;All of this works from a phone, so stepping away from your desk doesn't mean your agents stop.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does this unlock?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;You stop being the router.&lt;/strong&gt; Without a coordination layer, you are the message bus: you copy one agent's output into the next agent's prompt and check back every ten minutes. With a supervisor and events, agents hand work to each other, and you only step in for approvals and questions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;You pick the right agent for each job.&lt;/strong&gt; Because delegation happens through tasks and not through one vendor's SDK, the planner can be Claude Code, the builder Codex, and the reviewer Gemini CLI. Swap any of them and nothing else changes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Delegated work survives anything.&lt;/strong&gt; A task outlives the process that created it. If an agent crashes, the machine restarts or you switch vendors, the task, its thread and the workspace memory are still there, and the next agent picks up where the last one stopped.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Your processes become readable.&lt;/strong&gt; A workflow written as six indented lines is something anyone on the team can read and change. Compare that with an orchestration script that only its author understands.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do you set it up?
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Sign up at &lt;a href="https://app.agentrq.com/signup" rel="noopener noreferrer"&gt;app.agentrq.com&lt;/a&gt; and create one workspace per role, for example &lt;code&gt;planner&lt;/code&gt;, &lt;code&gt;builder&lt;/code&gt; and &lt;code&gt;reviewer&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Connect an agent to each workspace. Claude Code connects over Claude Channels; Codex, Gemini CLI and other ACP agents connect through the open-source ACP Gateway.&lt;/li&gt;
&lt;li&gt;Connect one more agent to the supervisor MCP server at &lt;code&gt;https://mcp.agentrq.com/mcp&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Ask the supervisor for an outcome, not steps: "When code lands on main, have an agent review it, and if it passes, write the release notes." It can create the workspaces, events and triggers for you.&lt;/li&gt;
&lt;li&gt;Watch the board, and answer approvals as they come in.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Do I have to choose between a framework and AgentRQ?&lt;/strong&gt;&lt;br&gt;
No. If you built an agent with LangGraph or CrewAI and it can call MCP tools, it can be a worker in an AgentRQ workspace like any other agent. The framework runs the agent's own reasoning. AgentRQ handles the hand-offs between agents.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Is A2A a competitor to this?&lt;/strong&gt;&lt;br&gt;
A2A is a protocol for agents to exchange tasks. AgentRQ is a place where tasks live, with a board, memory, approvals and events around them. They solve neighboring problems.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can a worker delegate too, or only the supervisor?&lt;/strong&gt;&lt;br&gt;
A worker can create tasks in its own workspace and publish events, and a published event can start tasks in other workspaces. Creating tasks in any workspace directly is the supervisor's job, which keeps workers focused on their own domain.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What stops a delegate from doing something dangerous?&lt;/strong&gt;&lt;br&gt;
Permission requests. By default, the agent asks before running commands that need approval, and you (or the supervisor, if you allow it) say yes or no. YOLO mode, where the agent runs every command without asking, is opt-in per task or per workspace.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Which agents work with it?&lt;/strong&gt;&lt;br&gt;
Claude Code, Codex, Gemini CLI, Antigravity, GitHub Copilot CLI, OpenCode, Kiro and many more, through Claude Channels or the Agent Client Protocol (ACP).&lt;/p&gt;

&lt;p&gt;What does your multi-agent setup look like today? Is your delegation happening inside one framework, or are you wiring separate agents together? Tell us in the comments.&lt;/p&gt;




&lt;p&gt;AgentRQ is a real-time task manager for AI agents. Learn more at &lt;a href="https://agentrq.com" rel="noopener noreferrer"&gt;agentrq.com&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>architecture</category>
      <category>automation</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Autonomous Agents: A PR label that summons an AI reviewer that learns what not to flag</title>
      <dc:creator>Tony</dc:creator>
      <pubDate>Mon, 30 Nov 2026 07:34:23 +0000</pubDate>
      <link>https://dev.to/agentrq/autonomous-agents-a-pr-label-that-summons-an-ai-reviewer-that-learns-what-not-to-flag-36in</link>
      <guid>https://dev.to/agentrq/autonomous-agents-a-pr-label-that-summons-an-ai-reviewer-that-learns-what-not-to-flag-36in</guid>
      <description>&lt;p&gt;A PR opens in the morning and gets its first human review the next afternoon. When it arrives, half the comments are things a machine could have spotted: a new code path without a test, a value that can go negative, two writes that belong in one transaction. The reviewer burns their time on those, and the author waits a day for them.&lt;/p&gt;

&lt;p&gt;Here's a setup that gives the first pass to an agent, triggered by a label, with a human gate before anything hits GitHub. It also handles the part most AI review bots get wrong: when a developer says "we don't do that here", the agent remembers it.&lt;/p&gt;

&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Add the &lt;code&gt;agent-review&lt;/code&gt; label → GitHub webhook → AgentRQ's &lt;strong&gt;github hook&lt;/strong&gt; (filters on that label) → &lt;code&gt;review_requested&lt;/code&gt; event → a task in a &lt;code&gt;reviewer&lt;/code&gt; workspace.&lt;/li&gt;
&lt;li&gt;The agent runs &lt;code&gt;gh pr checkout&lt;/code&gt;, &lt;code&gt;gh pr diff&lt;/code&gt; and the tests, then replies with a &lt;strong&gt;findings card&lt;/strong&gt;: counts by severity, file:line per finding, and &lt;strong&gt;Post review&lt;/strong&gt; / &lt;strong&gt;Skip&lt;/strong&gt; buttons.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Post review&lt;/strong&gt; → the agent asks to run one &lt;code&gt;gh api&lt;/code&gt; call → you click Allow Once → one COMMENT review with inline comments.&lt;/li&gt;
&lt;li&gt;Disagree with a finding → reply in the task → the agent writes the rule to a &lt;code&gt;review-exceptions.md&lt;/code&gt; memory and skips it from then on.&lt;/li&gt;
&lt;li&gt;The review playbook is a &lt;strong&gt;shared skill&lt;/strong&gt;, so every reviewer workspace follows the same rules.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How do the pieces fit?
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;PR gets label "agent-review"
   │ pull_request webhook (signed)
   ▼
github hook ── base branch main, repo acme/shop, label agent-review
   │ pr.labeled → review_requested
   ▼
trigger ── "Review GH P#&amp;lt;n&amp;gt;: &amp;lt;title&amp;gt;" in reviewer
   ▼
agent ── load memory + code-review skill
       ── gh pr checkout, go test ./..., read diff
       ── findings card [Post review] [Skip]
   ▼ Post review
asks: gh api .../pulls/&amp;lt;n&amp;gt;/reviews   (you: Allow Once)
   ▼
COMMENT review with inline comments on GitHub

developer pushes back → reply in task → memory: review-exceptions.md
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Why a label, a skill and memory?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A label is an explicit opt-in.&lt;/strong&gt; You control which PRs get reviewed, and removing and re-adding it is a clean way to ask for a second pass after new commits.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A hook keeps it secure and quiet.&lt;/strong&gt; The built-in github hook verifies GitHub's signature and only passes labels you list. Any other label fires nothing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A skill is the team's review, written once.&lt;/strong&gt; Skills live in your AgentRQ account rather than in one machine's folder. Every workspace you turn the skill on for reviews the same way, and one edit updates all of them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Memory turns pushback into policy.&lt;/strong&gt; Workspace memory keeps what a developer said, so one correction holds for every later review in that repo.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There are also two human gates: the &lt;strong&gt;Post review&lt;/strong&gt; button, and the per-command approval for the &lt;code&gt;gh api&lt;/code&gt; call that actually posts.&lt;/p&gt;

&lt;h2&gt;
  
  
  What do I need?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;An AgentRQ account and a machine for the agent.&lt;/li&gt;
&lt;li&gt;An agent that connects to AgentRQ: Claude Code over MCP, or Codex, Gemini CLI and others via the ACP Gateway.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A separate clone&lt;/strong&gt; for the reviewer (&lt;code&gt;~/code/shop-review&lt;/code&gt;), so &lt;code&gt;gh pr checkout&lt;/code&gt; never switches branches under someone's open editor.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;gh&lt;/code&gt; signed in with a fine-grained token: &lt;strong&gt;Pull requests: Read and write&lt;/strong&gt;, &lt;strong&gt;Contents: Read-only&lt;/strong&gt;. That's enough to check out and post reviews, but not enough to push or merge.&lt;/li&gt;
&lt;li&gt;Your test toolchain (the example runs &lt;code&gt;go test ./...&lt;/code&gt; in &lt;code&gt;acme/shop&lt;/code&gt;) and repo admin rights for the webhook and label.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How do I set it up?
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Save the code-review skill
&lt;/h3&gt;

&lt;p&gt;Ask your agent to save this as &lt;code&gt;code-review&lt;/code&gt;, or paste it under &lt;strong&gt;Settings → Skills&lt;/strong&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;---
name: code-review
description: How the team reviews a pull request. Check it out, run the tests, rank findings by severity, ask before posting, then post one review with inline comments.
---

&lt;span class="gu"&gt;# Code review
&lt;/span&gt;
1. Load memory first. Never raise anything listed in the memory review-exceptions.md.
2. gh pr checkout &amp;lt;number&amp;gt;, then gh pr diff &amp;lt;number&amp;gt;, then run the tests (go test ./...).
3. Read the whole diff before you comment. Comment only on lines the pull request changed.
4. Rank each finding:
   &lt;span class="k"&gt;- &lt;/span&gt;critical: a wrong result, lost data, a security hole
   &lt;span class="k"&gt;- &lt;/span&gt;major: a bug in an edge case, new behavior with no test
   &lt;span class="k"&gt;- &lt;/span&gt;minor: naming, a simpler way, a missing comment
   Skip what a linter or formatter already catches.
5. Reply in the task with a card: the counts by severity, each finding with file:line,
   and two buttons, Post review and Skip. Post nothing before Post review.
6. On Post review, write .agentrq/review-&amp;lt;number&amp;gt;.json:
   {"event": "COMMENT", "body": "&amp;lt;summary&amp;gt;", "comments": [{"path": "...", "line": 0, "side": "RIGHT", "body": "..."}]}
   and run gh api repos/&amp;lt;owner&amp;gt;/&amp;lt;repo&amp;gt;/pulls/&amp;lt;number&amp;gt;/reviews --input .agentrq/review-&amp;lt;number&amp;gt;.json.
   Always COMMENT: approving and requesting changes is for people.
7. Reply with the review's link, then complete the task.
8. When a developer disagrees and is right, save the rule to the memory review-exceptions.md:
   the repository, what not to flag, why, and who said so.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Turn it on for the reviewer workspace, and for any others you want reviewing the same way. Teams can share it with every member.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. The reviewer workspace
&lt;/h3&gt;

&lt;p&gt;Create &lt;strong&gt;reviewer&lt;/strong&gt;, point it at the review clone, start the agent, YOLO off. The mission is your checklist, in priority order:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;You review pull requests in acme/shop when someone labels them agent-review.
Check, in this order:
1. Correctness: wrong results, missed edge cases, error and nil handling.
2. Security: secrets, injection, missing authorization checks.
3. Money and data: amounts in integer cents, writes that must happen together.
4. Tests: new behavior has a test, and go test ./... passes on the branch.
5. Readability, only where it hides a bug.
Rank every finding critical, major or minor. Never approve, merge or push.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For Claude Code, allow the read-only commands and gate the one that posts:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"permissions"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"allow"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"Bash(gh pr checkout:*)"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Bash(gh pr diff:*)"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Bash(gh pr view:*)"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Bash(go test:*)"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Edit(.agentrq/**)"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"ask"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"Bash(gh api:*)"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Add &lt;code&gt;.agentrq/&lt;/code&gt; to the clone's &lt;code&gt;.git/info/exclude&lt;/code&gt; so review files never get committed.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Event and trigger
&lt;/h3&gt;

&lt;p&gt;Create &lt;code&gt;review_requested&lt;/code&gt;, add a trigger for &lt;strong&gt;reviewer&lt;/strong&gt; titled &lt;code&gt;Review {{EVENT_SUBJECT}}&lt;/code&gt; (the hook fills in "GH P#" plus number and title), YOLO off:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Review this pull request in acme/shop.

{{EVENT_PAYLOAD}}

{{EVENT_FAQ}}

Load the code-review skill and follow it.
1. Check the branch out and run go test ./...
2. Reply with the findings card. Post nothing until I click Post review.
3. Post review: post one review with inline comments, reply with its link and complete this task.
4. Skip: complete this task without posting.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  4. Register the github hook
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Events → Hooks → New registration&lt;/strong&gt;, pick &lt;strong&gt;github&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Generate&lt;/strong&gt; and copy a webhook secret.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Branches:&lt;/strong&gt; &lt;code&gt;main&lt;/code&gt;. For PRs, this is the &lt;strong&gt;base&lt;/strong&gt; branch, the one being merged into.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Repositories:&lt;/strong&gt; &lt;code&gt;acme/shop&lt;/code&gt;. &lt;strong&gt;Labels (for pr.labeled):&lt;/strong&gt; &lt;code&gt;agent-review&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Routes:&lt;/strong&gt; &lt;code&gt;pr.labeled&lt;/code&gt; → &lt;code&gt;review_requested&lt;/code&gt;. Leave &lt;code&gt;pr.review_requested&lt;/code&gt; &lt;strong&gt;Not routed&lt;/strong&gt;: it has no reviewer filter, so it would fire every time anyone asks any colleague for a review.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Copy the payload URL; it's shown once.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Webhook and label in GitHub
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Settings → Webhooks → Add webhook&lt;/strong&gt;: the payload URL, &lt;code&gt;application/json&lt;/code&gt; (form encoding is rejected), the webhook secret, and individual events with &lt;strong&gt;Pushes&lt;/strong&gt; unticked and &lt;strong&gt;Pull requests&lt;/strong&gt; ticked. Then create the &lt;code&gt;agent-review&lt;/code&gt; label. Matching is case-insensitive.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does a review look like?
&lt;/h2&gt;

&lt;p&gt;Priya opens #245, "checkout: pay part of an order with a gift card", and labels it. A task appears with the PR number, author, branches (&lt;code&gt;feat/gift-card-checkout&lt;/code&gt; → &lt;code&gt;main&lt;/code&gt;) and link.&lt;/p&gt;

&lt;p&gt;The agent loads memory and the skill, checks out the branch, runs the tests, reads the diff, and replies with a card, not a wall of text:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3fr2vyq0ftqzjbywo7zd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3fr2vyq0ftqzjbywo7zd.png" alt="Findings card &amp;quot;Review of #245: 3 findings&amp;quot;: 1 critical, 1 major, 1 minor, tests passing, file and line per finding, and Post review / Skip buttons" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The critical finding is the kind humans miss in a skim: the gift card balance check and the debit run outside a transaction, so two simultaneous checkouts can spend the same $50. The findings are in the reply text too, so a push notification or email carries everything. &lt;strong&gt;Nothing has touched GitHub yet.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Click &lt;strong&gt;Post review&lt;/strong&gt; and the agent writes the review JSON, then asks to run &lt;code&gt;gh api repos/acme/shop/pulls/245/reviews --input .agentrq/review-245.json&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4lo9mcglygj7j0zr90n0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4lo9mcglygj7j0zr90n0.png" alt="Authorization Required card for the gh api review command, with Allow Once, Always Allow and Deny" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Careful with Always Allow here.&lt;/strong&gt; It saves a rule on the command's first word, &lt;code&gt;gh&lt;/code&gt;, so from then on every &lt;code&gt;gh&lt;/code&gt; command in that workspace runs without asking, including &lt;code&gt;gh pr merge&lt;/code&gt;. If you clicked it by accident, delete the &lt;code&gt;gh *&lt;/code&gt; rule under &lt;strong&gt;Settings → Automations&lt;/strong&gt;. Or keep it and rely on the token: with Contents read-only, &lt;code&gt;gh&lt;/code&gt; can't push or merge no matter what the rule allows.&lt;/p&gt;

&lt;p&gt;The agent only ever posts &lt;strong&gt;COMMENT&lt;/strong&gt; reviews. Approving and requesting changes stays with the people who own the code.&lt;/p&gt;

&lt;h2&gt;
  
  
  How does it learn what not to flag?
&lt;/h2&gt;

&lt;p&gt;Priya disagrees with the minor finding: in &lt;code&gt;acme/shop&lt;/code&gt;, each package's tests share one Postgres database, so &lt;code&gt;t.Parallel()&lt;/code&gt; makes them flaky. You reply in the task, even though it's completed; a reply reopens it.&lt;/p&gt;

&lt;p&gt;The agent writes that rule to memory, answers the inline comment on GitHub, and completes the task again:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fv97fqrd8nxzzdoikru5z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fv97fqrd8nxzzdoikru5z.png" alt="Memories tab showing review-exceptions.md: don't flag missing t.Parallel() because package tests share one Postgres database, said by priya-n on #245" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Next, Lee labels #248, "shipping: free shipping over $50 for members". Its new tests skip &lt;code&gt;t.Parallel()&lt;/code&gt; too, but this time the card has a single real finding: cart and checkout compare the $50 threshold against different subtotals. It also says explicitly what it left out and which memory told it to.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Frwrx2kuugxp3520bn5i1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Frwrx2kuugxp3520bn5i1.png" alt="Findings card for #248 with one major finding and a line noting t.Parallel() was left out per review-exceptions.md" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Each disagreement makes later reviews a little quieter. Skim &lt;code&gt;review-exceptions.md&lt;/code&gt; now and then; deleting a stale rule is one line.&lt;/p&gt;

&lt;h2&gt;
  
  
  What are the traps?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;pr.review_requested&lt;/code&gt; has no reviewer filter.&lt;/strong&gt; Route it and the agent gets a task whenever anyone requests anyone.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Labels and Authors only filter &lt;code&gt;pr.labeled&lt;/code&gt;.&lt;/strong&gt; They do nothing for &lt;code&gt;pr.opened&lt;/code&gt; or &lt;code&gt;pr.review_requested&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Branches = base branch.&lt;/strong&gt; A PR into &lt;code&gt;release/1.4&lt;/code&gt; is dropped while Branches is &lt;code&gt;main&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pull requests not ticked / content type left as form&lt;/strong&gt; → no events, or every request Rejected with "the body is not JSON".&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Re-labeling means a new review&lt;/strong&gt;, which is handy after new commits.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Memory names must end in &lt;code&gt;.md&lt;/code&gt;&lt;/strong&gt; (lowercase, hyphenated) or the save is refused.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use a separate clone.&lt;/strong&gt; &lt;code&gt;gh pr checkout&lt;/code&gt; in your working copy switches your branch.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The registration's Deliveries list shows published deliveries, GitHub Redeliver caught as Duplicate, and wrong-secret requests Rejected with the reason. Unrouted labels leave no row at all.&lt;/p&gt;

&lt;h2&gt;
  
  
  Ways to extend it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Review on request:&lt;/strong&gt; give the agent its own GitHub account, route &lt;code&gt;pr.review_requested&lt;/code&gt;, and have it complete in one line unless it was the reviewer asked.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Review everything:&lt;/strong&gt; route &lt;code&gt;pr.opened&lt;/code&gt; with no label filter. This works better for small teams than busy repos.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Only some authors&lt;/strong&gt;, such as new hires, via Authors for pr.labeled.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;More repos:&lt;/strong&gt; turn the same skill on for another workspace. Memory stays per workspace.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A "Fix it" button&lt;/strong&gt; that pushes a commit, with a token that can push and YOLO still off.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Can it approve or merge?&lt;/strong&gt; Not here: the skill says COMMENT only, &lt;code&gt;gh api&lt;/code&gt; waits for Allow Once, and the token can't merge.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does it post before I click?&lt;/strong&gt; No. Both the trigger and the skill forbid it, and the post itself still needs approval.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How long does a review take?&lt;/strong&gt; As long as checkout, tests and reading take on your machine: minutes for a PR like #245.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Which agents can run it?&lt;/strong&gt; Any that connect to AgentRQ: Claude Code, Codex, Gemini CLI and others.&lt;/p&gt;

&lt;p&gt;What's the one rule your team would put in &lt;code&gt;review-exceptions.md&lt;/code&gt; on day one? Share it in the comments.&lt;/p&gt;




&lt;p&gt;Originally published on &lt;a href="https://agentrq.com/tutorials/ai-code-review-on-every-pull-request-label-it-and-an-agent-posts-the-review-in-minutes" rel="noopener noreferrer"&gt;agentrq.com&lt;/a&gt;. The full tutorial has every screenshot and step.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>codereview</category>
      <category>github</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Autonomous Agents: Give the first hour of every Sentry issue to an agent, keep the page</title>
      <dc:creator>Tony</dc:creator>
      <pubDate>Mon, 30 Nov 2026 07:34:21 +0000</pubDate>
      <link>https://dev.to/agentrq/autonomous-agents-give-the-first-hour-of-every-sentry-issue-to-an-agent-keep-the-page-23jb</link>
      <guid>https://dev.to/agentrq/autonomous-agents-give-the-first-hour-of-every-sentry-issue-to-an-agent-keep-the-page-23jb</guid>
      <description>&lt;p&gt;Most Sentry inboxes have the same problem: issues arrive faster than anyone triages them. A new one shows up Tuesday, has 37 events by Wednesday, and still hasn't been opened, because every issue costs the same hour. Open the trace, find the frame, read the code, figure out what changed, write the fix. Then the one alert that truly matters pages someone at 3 am, and they start that same hour from scratch, half asleep.&lt;/p&gt;

&lt;p&gt;The setup below splits that work by who should do it. New issues and regressions go to an AI agent working in the service's checkout. Critical metric alerts go to a human, with a pointer to what the agent already found.&lt;/p&gt;

&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Sentry internal integration → AgentRQ's built-in &lt;strong&gt;sentry hook&lt;/strong&gt; (verifies &lt;code&gt;Sentry-Hook-Signature&lt;/code&gt; with the Client Secret).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;issue.created&lt;/code&gt; and &lt;code&gt;issue.unresolved&lt;/code&gt; → &lt;code&gt;sentry_issue_created&lt;/code&gt; → a task for the agent.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;metric_alert.critical&lt;/code&gt; → &lt;code&gt;sentry_metric_alert_critical&lt;/code&gt; → a task assigned to &lt;strong&gt;Human&lt;/strong&gt;, plus a push notification.&lt;/li&gt;
&lt;li&gt;The agent fetches the stack trace via Sentry's API, finds the in-app frame, writes a &lt;strong&gt;failing test first&lt;/strong&gt;, fixes on a branch and opens a PR with &lt;code&gt;Fixes &amp;lt;short id&amp;gt;&lt;/code&gt; once you approve.&lt;/li&gt;
&lt;li&gt;If the cause lives outside the repo, it says so and opens nothing.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How is the flow wired?
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Sentry (new issue / regression)            Sentry (metric alert critical)
          │                                          │
          ▼                                          ▼
      sentry hook ── signature + project slug filter ─┤
          │ issue.created / issue.unresolved         │ metric_alert.critical
          ▼                                          ▼
 sentry_issue_created                    sentry_metric_alert_critical
          │ trigger: Agent                           │ trigger: Human
          ▼                                          ▼
 "Triage &amp;lt;subject&amp;gt;" in error-triage       "Paged: &amp;lt;subject&amp;gt;" → your phone
          │
 agent: trace → frame → failing test → fix branch
          → asks git push / gh pr create (Allow Once)
          → PR with "Fixes STOREFRONT-API-4F2"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Resolved and archived issues, other projects, and resends never make a task.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why route issues and alerts differently?
&lt;/h2&gt;

&lt;p&gt;The key idea is that a trigger chooses &lt;strong&gt;who works on it&lt;/strong&gt;: an agent or a human.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;An &lt;strong&gt;issue&lt;/strong&gt; is a code problem with a stack trace. It's well-defined, and an agent with the repo and a test runner can make real progress on it.&lt;/li&gt;
&lt;li&gt;A &lt;strong&gt;critical metric alert&lt;/strong&gt; is an incident. It may need a rollback, a call to another team, or a judgement call about customers. That belongs to a person, but the person should start with context, not from zero.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The hook handles trust (signature check, project filter), events give each signal a name, and triggers decide where it lands. With YOLO mode off, nothing the agent does leaves your machine without an explicit approval.&lt;/p&gt;

&lt;h2&gt;
  
  
  What do I need?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;An AgentRQ account and a machine with the service checked out. The example is &lt;strong&gt;storefront-api&lt;/strong&gt;, a Go checkout service.&lt;/li&gt;
&lt;li&gt;An agent that connects to AgentRQ (Claude Code over MCP; Codex, Gemini CLI and others via the ACP Gateway).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;gh&lt;/code&gt; signed in, so the agent can push a branch and open a PR.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;SENTRY_AUTH_TOKEN&lt;/code&gt; with &lt;code&gt;event:read&lt;/code&gt; in the agent's environment. &lt;strong&gt;The webhook carries the issue, not the trace&lt;/strong&gt;, so this is required.&lt;/li&gt;
&lt;li&gt;A Sentry org where you can create an internal integration, and the sentry hook on your AgentRQ server (it's available on agentrq.com).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How do I set it up?
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. The error-triage workspace
&lt;/h3&gt;

&lt;p&gt;Create &lt;strong&gt;error-triage&lt;/strong&gt;, set its working directory to the checkout (&lt;code&gt;~/code/storefront-api&lt;/code&gt;), start the agent, keep YOLO off. Mission:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;You triage production errors for storefront-api, our Go checkout service. When Sentry
reports a new issue, find the stack frame that threw, prove the bug with a failing test,
fix it on a branch and open a pull request. Never push to main. Ask before every git push
and gh pr create.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For Claude Code, let read-only commands through and gate the two that publish:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"permissions"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"allow"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"Bash(go test:*)"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Bash(git log:*)"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Bash(git switch -c:*)"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Bash(git commit:*)"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"ask"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"Bash(git push:*)"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Bash(gh pr create:*)"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  2. The agent's trigger
&lt;/h3&gt;

&lt;p&gt;Create the event &lt;code&gt;sentry_issue_created&lt;/code&gt; and add a trigger: workspace &lt;strong&gt;error-triage&lt;/strong&gt;, title &lt;code&gt;Triage {{EVENT_SUBJECT}}&lt;/code&gt; (the hook fills in the short id and title), &lt;strong&gt;Who works on it: Agent&lt;/strong&gt;, YOLO off. Instructions:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Sentry reported an issue in storefront-api.

{{EVENT_PAYLOAD}}

{{EVENT_FAQ}}

1. Get the stack trace of the latest event, with the issue id from the FAQ: curl -s -H
   "Authorization: Bearer $SENTRY_AUTH_TOKEN" https://sentry.io/api/0/organizations/acme/issues/&amp;lt;issue id&amp;gt;/events/latest/
2. Find the in-app frame that threw, open that file and line in this repository, and
   reply with the frame, the root cause and the commit that introduced it.
3. If the payload says "unresolved again", it is a regression: find the earlier fix and
   say why it did not hold.
4. Write a test that fails the way production does. Run it and show it failing.
5. Fix it on a new branch, fix/sentry-&amp;lt;short id&amp;gt;, and run go test ./... until it passes.
   Never push to main.
6. Push the branch and open a pull request with gh pr create. Put "Fixes &amp;lt;short id&amp;gt;" in
   its description, so Sentry links the pull request to the issue.
7. Reply with the pull request link, then complete this task.

If the cause is outside this repository (a dependency, an outage, bad data), reply with
what you found and do not open a pull request.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Replace &lt;code&gt;acme&lt;/code&gt; with your org slug. The FAQ section supplies the numeric issue id the API wants. The &lt;code&gt;Fixes &amp;lt;short id&amp;gt;&lt;/code&gt; line matters: with Sentry's GitHub integration installed, it links the PR to the issue and resolves the issue when the fix ships in a release.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Your trigger for critical alerts
&lt;/h3&gt;

&lt;p&gt;Create &lt;code&gt;sentry_metric_alert_critical&lt;/code&gt; with a trigger titled &lt;code&gt;Paged: {{EVENT_SUBJECT}}&lt;/code&gt; and &lt;strong&gt;Who works on it: Human&lt;/strong&gt;. The agent is never offered this task, and the YOLO setting disappears. Put the context you'd want at 3 am in the instructions:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;A Sentry metric alert on storefront-api went critical. This task is yours: no agent works on it.

{{EVENT_PAYLOAD}}

{{EVENT_FAQ}}

Before you dig in:
- The agent's open Triage tasks in error-triage are its work on new Sentry issues. The
  newest one is probably this incident: read its root-cause reply first.
- Last deploys: gh run list --workflow deploy --limit 3
- Roll back: gh workflow run rollback -f service=storefront-api
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fubmzs2kkd1eo3bmv4djr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fubmzs2kkd1eo3bmv4djr.png" alt="Human trigger for critical alerts: &amp;quot;Paged: {{EVENT_SUBJECT}}&amp;quot; title, a &amp;quot;Before you dig in&amp;quot; checklist, and Who works on it set to Human" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To get buzzed, open the workspace on your phone → settings → &lt;strong&gt;Notifications&lt;/strong&gt; → &lt;strong&gt;Enable Push&lt;/strong&gt;. Trigger-created tasks count as agent-made, so the notification fires right away.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Register the sentry hook
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Events → Hooks → New registration&lt;/strong&gt;, pick &lt;strong&gt;sentry&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Client Secret:&lt;/strong&gt; paste it from your Sentry integration. Sentry issues it, so there's no Generate button.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Project slugs:&lt;/strong&gt; &lt;code&gt;storefront-api&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Routes:&lt;/strong&gt; &lt;code&gt;issue.created&lt;/code&gt; and &lt;code&gt;issue.unresolved&lt;/code&gt; → &lt;code&gt;sentry_issue_created&lt;/code&gt;; &lt;code&gt;metric_alert.critical&lt;/code&gt; → &lt;code&gt;sentry_metric_alert_critical&lt;/code&gt;. Leave &lt;code&gt;issue.resolved&lt;/code&gt;, &lt;code&gt;issue.archived&lt;/code&gt;, warnings, errors, issue alerts and comments &lt;strong&gt;Not routed&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Copy the payload URL (&lt;code&gt;?agentrq_hook_token=...&lt;/code&gt;). It's shown once, and Rotate token replaces it.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Point Sentry at it
&lt;/h3&gt;

&lt;p&gt;In Sentry, &lt;strong&gt;Settings → Developer Settings → Custom Integrations&lt;/strong&gt;, open your internal integration:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Webhook URL: the payload URL.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Alert Rule Action&lt;/strong&gt;: on. Metric alerts only arrive through an alert rule action.&lt;/li&gt;
&lt;li&gt;Permissions: &lt;strong&gt;Issue &amp;amp; Event&lt;/strong&gt; read.&lt;/li&gt;
&lt;li&gt;Webhooks: tick &lt;strong&gt;issue&lt;/strong&gt; only.&lt;/li&gt;
&lt;li&gt;Save, then on your metric alert (say, "Checkout error rate") add a &lt;strong&gt;Critical&lt;/strong&gt; threshold action that notifies via this integration.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What does a real run look like?
&lt;/h2&gt;

&lt;p&gt;A customer enters a gift card code that doesn't exist, checkout panics, and Sentry groups &lt;strong&gt;STOREFRONT-API-4F2&lt;/strong&gt;. A task appears:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Sentry issue STOREFRONT-API-4F2 created in storefront-api: runtime error: invalid memory address or nil pointer dereference
Culprit: github.com/acme/storefront-api/internal/checkout in (*Service).ApplyGiftCard
Level: error, 37 event(s), 29 user(s)
https://acme.sentry.io/issues/6112408731/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The agent fetches the latest event and replies before changing code: the frame is &lt;code&gt;giftcard.go:88&lt;/code&gt;, and since commit &lt;code&gt;7c1e4d2&lt;/code&gt; the lookup returns no card and no error for unknown codes, while &lt;code&gt;ApplyGiftCard&lt;/code&gt; only checks the error. Then it writes &lt;code&gt;TestApplyGiftCard_UnknownCode&lt;/code&gt; on the fix branch and shows it panicking just like production.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjf6yx56bo1e0xv63lpa5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjf6yx56bo1e0xv63lpa5.png" alt="Root-cause reply: in-app frames from Sentry, giftcard.go:88 and commit 7c1e4d2 named, and a failing test on the fix branch" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why insist on the failing test first?&lt;/strong&gt; It proves the agent understood the bug before touching anything, and it stays in the repo as a regression guard.&lt;/p&gt;

&lt;p&gt;After &lt;code&gt;go test ./...&lt;/code&gt; passes, the agent asks to push, then asks to run &lt;code&gt;gh pr create&lt;/code&gt; with a body starting &lt;code&gt;Fixes STOREFRONT-API-4F2&lt;/code&gt;. You click &lt;strong&gt;Allow Once&lt;/strong&gt;, the PR opens, and Sentry shows it on the issue.&lt;/p&gt;

&lt;h2&gt;
  
  
  What happens when the bug isn't yours?
&lt;/h2&gt;

&lt;p&gt;A week later, &lt;strong&gt;STOREFRONT-API-3K9&lt;/strong&gt;, an inventory timeout that was resolved, comes back. The hook fires &lt;code&gt;issue.unresolved&lt;/code&gt;, and the payload says "unresolved again", so the instructions treat it as a regression.&lt;/p&gt;

&lt;p&gt;The agent finds the earlier fix still in main, and traces the timeouts to the inventory service, which got slow right after its own deploy two minutes earlier. Raising the timeout in checkout would just hold carts open longer. So there's &lt;strong&gt;no PR&lt;/strong&gt;: it names the rollback and leaves the task open for you.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzhw98tpeuoisti21yng7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzhw98tpeuoisti21yng7.png" alt="Regression task: frame at internal/inventory/client.go:64 and the reply explaining why no pull request was opened" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That restraint is what keeps the agent trustworthy. You never review a PR that papers over someone else's outage.&lt;/p&gt;

&lt;p&gt;Those same timeouts push checkout's error rate to 4.8%, over the 2% threshold. The critical alert fires, and a &lt;strong&gt;HUMAN&lt;/strong&gt; task lands on your phone. Its checklist points you to the newest triage task, where the inventory deploy and the rollback are already named. You start at a decision instead of at minute zero.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn9t31sy5jliwmky70dp4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn9t31sy5jliwmky70dp4.png" alt="Paged task marked HUMAN with the alert: Checkout error rate at 4.8% against a 2% threshold" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What should I watch out for?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;No trace in the webhook.&lt;/strong&gt; Without &lt;code&gt;SENTRY_AUTH_TOKEN&lt;/code&gt; the agent can only guess from the culprit line.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Don't make up a secret.&lt;/strong&gt; Sentry issues the Client Secret, and a wrong one means every request is Rejected for its signature. If it rotates, use Edit on the registration.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Metric alerts need the alert rule action&lt;/strong&gt;, both on the integration and on the alert's Critical threshold.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Route issues, not errors.&lt;/strong&gt; &lt;code&gt;error.created&lt;/code&gt; fires per event, which means one task per error on a busy service. &lt;code&gt;issue.created&lt;/code&gt; fires once per problem. (The error webhook also needs Sentry's Business plan; this setup doesn't use it.)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unrouted requests leave no row&lt;/strong&gt; in Deliveries. Check project slugs and routes if a task is missing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Subjects are cut at 76 characters&lt;/strong&gt;; the full title is in the payload.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Human tasks never reach the agent.&lt;/strong&gt; To have the agent look at alerts too, add a second trigger with Who works on it: Agent rather than flipping this one.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Duplicates are handled: the hook dedupes on Sentry's &lt;code&gt;Request-ID&lt;/code&gt;, so a resend is marked Duplicate and creates nothing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Ways to extend it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Add an agent trigger on the critical alert too ("list deploys of the last hour and the newest issues, change nothing"), so your page arrives with notes beside it.&lt;/li&gt;
&lt;li&gt;Route &lt;code&gt;metric_alert.warning&lt;/code&gt; to the agent to investigate before it goes critical.&lt;/li&gt;
&lt;li&gt;One integration, registration and workspace per service.&lt;/li&gt;
&lt;li&gt;Have the agent save each root cause to workspace memory, so regressions start with history.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Can the agent push to main or merge?&lt;/strong&gt; No. Every push and PR waits for Allow Once, and merging stays with your normal review.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can it comment on the Sentry issue?&lt;/strong&gt; The hook only reads from Sentry. Give the agent Sentry's MCP server or an API token and say in the instructions what to post.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Will a resolved issue start a task?&lt;/strong&gt; No, it isn't routed. If it comes back, &lt;code&gt;issue.unresolved&lt;/code&gt; is.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Which agents can run it?&lt;/strong&gt; Any that connect to AgentRQ: Claude Code, Codex, Gemini CLI and others.&lt;/p&gt;

&lt;p&gt;Where does your team draw the line between what an agent should touch in production triage and what has to stay human? Tell me in the comments.&lt;/p&gt;




&lt;p&gt;Originally published on &lt;a href="https://agentrq.com/tutorials/triage-sentry-production-errors-with-an-ai-agent-fix-pull-request-and-critical-alerts-to-you" rel="noopener noreferrer"&gt;agentrq.com&lt;/a&gt;. The full tutorial has every screenshot and step.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>devops</category>
      <category>sentry</category>
      <category>automation</category>
    </item>
    <item>
      <title>Autonomous Agents: Who fixes main at 6 pm? GitHub Actions failures to an agent-opened PR</title>
      <dc:creator>Tony</dc:creator>
      <pubDate>Mon, 30 Nov 2026 07:34:19 +0000</pubDate>
      <link>https://dev.to/agentrq/autonomous-agents-who-fixes-main-at-6-pm-github-actions-failures-to-an-agent-opened-pr-49e2</link>
      <guid>https://dev.to/agentrq/autonomous-agents-who-fixes-main-at-6-pm-github-actions-failures-to-an-agent-opened-pr-49e2</guid>
      <description>&lt;p&gt;You know the pattern. Someone merges late in the day, CI on main fails, and they've already logged off. The failed run sits there until morning, and every open PR that needs a green base is stuck behind it. The first hour of the fix is always the same grind: open the run, scroll the log, find the commit, reproduce, patch.&lt;/p&gt;

&lt;p&gt;That first hour is a good fit for an agent. Not because it's clever, but because it's mechanical, and the inputs are all on the runner and in the repo.&lt;/p&gt;

&lt;p&gt;This post walks through a setup where a failed GitHub Actions run on main lands as a task for an agent sitting in your repository's checkout. The agent diagnoses, decides whether the failure is real or flaky, and either re-runs the job or fixes it on a branch, opening a pull request only after you say yes.&lt;/p&gt;

&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;GitHub webhook (Workflow runs) → AgentRQ's built-in &lt;strong&gt;github hook&lt;/strong&gt; → a &lt;code&gt;ci_failed&lt;/code&gt; event → a trigger that creates a task in a &lt;code&gt;ci-fixer&lt;/code&gt; workspace.&lt;/li&gt;
&lt;li&gt;The agent runs &lt;code&gt;gh run view &amp;lt;id&amp;gt; --log-failed&lt;/code&gt;, names the failing lines and the offending commit, then classifies: flaky → &lt;code&gt;gh run rerun --failed&lt;/code&gt;; real → reproduce, fix on &lt;code&gt;fix/ci-&amp;lt;run id&amp;gt;&lt;/code&gt;, open a PR.&lt;/li&gt;
&lt;li&gt;YOLO mode stays off, so &lt;code&gt;git push&lt;/code&gt; and &lt;code&gt;gh pr create&lt;/code&gt; each wait for &lt;strong&gt;Allow Once&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Optional: route &lt;code&gt;ci.succeeded&lt;/code&gt; so the agent closes its own fix task when main is green again.&lt;/li&gt;
&lt;li&gt;No polling, no glue service: one hook, one event, one trigger.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What does the flow actually look like?
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;GitHub Actions run on main finishes with failure / timed_out
        │  (workflow_run webhook, signed)
        ▼
github hook ── checks signature, branch = main, repo = acme/shop
        │  fires ci.failed → routed to ci_failed
        ▼
trigger ── creates "Fix main: &amp;lt;subject&amp;gt;" in ci-fixer
        ▼
agent ── reads log → flaky? rerun + explain
                   → real?  reproduce, branch, fix, run job cmd
                            → asks: git push   (you: Allow Once)
                            → asks: gh pr create (you: Allow Once)
        ▼
(optional) ci.succeeded on main → ci_succeeded → agent closes the fix task
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Why a hook → event → trigger chain instead of a bot?
&lt;/h2&gt;

&lt;p&gt;Each link does one job, which keeps the moving parts small:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The hook&lt;/strong&gt; is the security boundary. It verifies GitHub's signature on every request and filters by branch and repository before anything else happens. The built-in github hook needs no code.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The event&lt;/strong&gt; (&lt;code&gt;ci_failed&lt;/code&gt;) is just a name for "something happened". It decouples the source from the work, so you can later point a different CI system at the same event.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The trigger&lt;/strong&gt; turns the event into a task in a specific workspace, pasting in what GitHub sent.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And the human stays in the loop at the one point that matters: anything that leaves your machine. With YOLO mode off, every command the agent runs needs your approval, so it can't push or open a PR on its own.&lt;/p&gt;

&lt;h2&gt;
  
  
  What do I need before starting?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;An AgentRQ account and a machine with a checkout of the repo, where the agent will run.&lt;/li&gt;
&lt;li&gt;An agent that connects to AgentRQ: Claude Code over MCP, or Codex, Gemini CLI and others via the ACP Gateway.&lt;/li&gt;
&lt;li&gt;The GitHub CLI signed in (&lt;code&gt;gh auth login&lt;/code&gt;) with access to the repo's Actions logs, so the agent can read logs, re-run jobs, push a branch and open a PR.&lt;/li&gt;
&lt;li&gt;Whatever your CI job needs locally. The example repo, &lt;code&gt;acme/shop&lt;/code&gt;, runs &lt;code&gt;go test ./...&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Admin access on the repo to add a webhook.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How do I set it up?
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. A workspace with a narrow mission
&lt;/h3&gt;

&lt;p&gt;Create a workspace called &lt;strong&gt;ci-fixer&lt;/strong&gt;, point its working directory at the checkout (&lt;code&gt;~/code/shop&lt;/code&gt; in the example), start its agent, and leave YOLO mode off. The mission is what the agent re-reads every time it starts:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;You keep main green in acme/shop. When CI fails on main, you find out why, fix it
on a branch and open a pull request. Never push to main. Ask before every git push
and gh pr create. A test that fails only sometimes is flaky: re-run the job and say
why, do not "fix" it.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;With YOLO off, even read-only commands prompt. If you're on Claude Code, cut the noise in &lt;code&gt;.claude/settings.json&lt;/code&gt; and keep the two dangerous commands gated:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"permissions"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"allow"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"Bash(gh run view:*)"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Bash(gh run rerun:*)"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Bash(go test:*)"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Bash(git switch -c:*)"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Bash(git commit:*)"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"ask"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"Bash(git push:*)"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Bash(gh pr create:*)"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  2. The &lt;code&gt;ci_failed&lt;/code&gt; event and its trigger
&lt;/h3&gt;

&lt;p&gt;Under &lt;strong&gt;Events&lt;/strong&gt;, create &lt;code&gt;ci_failed&lt;/code&gt; and add a trigger: workspace &lt;strong&gt;ci-fixer&lt;/strong&gt;, title &lt;code&gt;Fix main: {{EVENT_SUBJECT}}&lt;/code&gt;. The hook fills the subject with something like "CI failed on main: CI", so each red run gets its own readable task. The instructions are the agent's runbook:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;CI is red on main in acme/shop.

{{EVENT_PAYLOAD}}

{{EVENT_FAQ}}

1. Read the failing logs: gh run view &amp;lt;run id&amp;gt; --log-failed. The run id is the number
   at the end of the run link.
2. Reply with the failing job, the error lines and the commit that broke it.
3. Decide whether it is flaky or real.
   - Flaky (a timeout, a network error, a test that passes when you run it again):
     run gh run rerun &amp;lt;run id&amp;gt; --failed, reply with why you think it is flaky, and
     complete this task.
   - Real: reproduce it locally with the failing job's command.
4. Fix it on a new branch, fix/ci-&amp;lt;run id&amp;gt;. Never push to main.
5. Run the failing job's command again until it passes.
6. Push the branch and open a pull request with gh pr create. Reply with its link.
7. Leave this task open until main is green again.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Leave "When the task is completed, fire" on &lt;strong&gt;No event&lt;/strong&gt;; nothing chains after this.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0538udrmv2h1m3ifmkth.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0538udrmv2h1m3ifmkth.png" alt="Trigger form for ci_failed: ci-fixer workspace, &amp;quot;Fix main: {{EVENT_SUBJECT}}&amp;quot; title, instructions beginning with the payload and FAQ placeholders" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Register the github hook
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Events → Hooks → New registration&lt;/strong&gt;, pick the built-in &lt;strong&gt;github&lt;/strong&gt; hook, then:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Generate&lt;/strong&gt; a webhook secret and copy it (GitHub needs the same value).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Branches:&lt;/strong&gt; &lt;code&gt;main&lt;/code&gt;. &lt;strong&gt;Repositories:&lt;/strong&gt; &lt;code&gt;acme/shop&lt;/code&gt; (useful if you ever reuse the URL for an org-level webhook).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Routes:&lt;/strong&gt; &lt;code&gt;ci.failed&lt;/code&gt; → &lt;code&gt;ci_failed&lt;/code&gt;. Optionally &lt;code&gt;ci.succeeded&lt;/code&gt; → &lt;code&gt;ci_succeeded&lt;/code&gt; (create that event first). Everything else stays &lt;strong&gt;Not routed&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Copy the payload URL (it ends in &lt;code&gt;?agentrq_hook_token=&lt;/code&gt;). It's only shown once; &lt;strong&gt;Rotate Token&lt;/strong&gt; issues a new one and kills the old URL.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Add the webhook in GitHub
&lt;/h3&gt;

&lt;p&gt;Repo &lt;strong&gt;Settings → Webhooks → Add webhook&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Payload URL: the one you copied, token included.&lt;/li&gt;
&lt;li&gt;Content type: &lt;code&gt;application/json&lt;/code&gt;. The default form encoding gets rejected.&lt;/li&gt;
&lt;li&gt;Secret: the webhook secret (not the hook token).&lt;/li&gt;
&lt;li&gt;Events: pick individually, untick &lt;strong&gt;Pushes&lt;/strong&gt;, tick &lt;strong&gt;Workflow runs&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;GitHub's initial ping isn't routed, so it fires nothing and leaves no delivery row. The first real delivery shows up when a run on main finishes.&lt;/p&gt;

&lt;h2&gt;
  
  
  What happens when main goes red?
&lt;/h2&gt;

&lt;p&gt;In the example, a commit titled "cart: apply coupons per line item (#241)" breaks CI. The hook verifies the delivery, sees a failed run on main, and fires &lt;code&gt;ci.failed&lt;/code&gt;. A task appears in ci-fixer with a payload like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Workflow `CI` failed on `main` @ 9f2c4e1 in acme/shop
Run: https://github.com/acme/shop/actions/runs/13124881071
Commit: cart: apply coupons per line item (#241) (Lee Park)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The agent pulls the failing log and replies before touching code: two coupon tests off by one cent, the commit responsible, and confirmation that the failure reproduces locally, so it isn't a runner quirk. Then it fixes on a branch, adds a regression test, and re-runs the job's command until it passes.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fi8x4k6mbr1iqkwrui62e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fi8x4k6mbr1iqkwrui62e.png" alt="Agent's diagnosis in the task thread: failing test output, the culprit commit 9f2c4e1, local reproduction, and the fix on fix/ci-13124881071" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Then it stops and asks. First for &lt;code&gt;git push&lt;/code&gt;, then for &lt;code&gt;gh pr create&lt;/code&gt;, each as an &lt;strong&gt;Authorization Required&lt;/strong&gt; card showing the exact command. Those cards also show up as phone notifications.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7v01q30sq2zn7qzajo8z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7v01q30sq2zn7qzajo8z.png" alt="Authorization Required card with the gh pr create command and Allow Once / Always Allow / Deny buttons" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Pick &lt;strong&gt;Allow Once&lt;/strong&gt;, not Always Allow. A push to a shared repo is the step other people see, and you want to be asked every time. The task stays open after the PR, because an open PR doesn't mean main is green yet.&lt;/p&gt;

&lt;h2&gt;
  
  
  How does it handle flaky tests?
&lt;/h2&gt;

&lt;p&gt;This is the decision that makes the agent worth having. Later in the example, the E2E workflow times out on main. Timeouts count as failures, so the hook fires &lt;code&gt;ci.failed&lt;/code&gt; with the subject "CI timed out on main: E2E".&lt;/p&gt;

&lt;p&gt;The agent notices the same commit passed this spec before, the spec passes 5/5 locally, and the wait was on an external sandbox. So it runs &lt;code&gt;gh run rerun --failed&lt;/code&gt;, links the new attempt, explains why it thinks it's flaky, and completes the task without creating a branch.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F86rdj8vknfixc8ha8eb4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F86rdj8vknfixc8ha8eb4.png" alt="Completed flaky-run task: Playwright timeout from the log, reasons it's flaky, and a re-run instead of a fix branch" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Can it close its own loop?
&lt;/h2&gt;

&lt;p&gt;If you routed &lt;code&gt;ci.succeeded&lt;/code&gt;, give &lt;code&gt;ci_succeeded&lt;/code&gt; a trigger titled &lt;code&gt;Close the loop: {{EVENT_SUBJECT}}&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;CI passed on main in acme/shop.

{{EVENT_PAYLOAD}}

If a "Fix main" task in this workspace is still open for this workflow, reply
"Main is green again" with the run link in that task and complete it. Then complete
this task with one line.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;When the fix PR merges and CI passes, the agent posts "Main is green again" in the original task and closes it. The trade-off: every green run on main now creates a small task. If main builds dozens of times a day, skip this route.&lt;/p&gt;

&lt;p&gt;The registration's &lt;strong&gt;Deliveries&lt;/strong&gt; list is your audit trail: published deliveries, GitHub &lt;strong&gt;Redeliver&lt;/strong&gt; caught as a Duplicate (no second task), and form-encoded requests marked Rejected with a reason.&lt;/p&gt;

&lt;h2&gt;
  
  
  What are the gotchas?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Workflow runs not ticked&lt;/strong&gt; → GitHub never sends &lt;code&gt;workflow_run&lt;/code&gt;, nothing happens.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Content type left as form&lt;/strong&gt; → every request is Rejected with "the body is not JSON".&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Timeouts fire, cancels don't.&lt;/strong&gt; &lt;code&gt;failure&lt;/code&gt; and &lt;code&gt;timed_out&lt;/code&gt; trigger &lt;code&gt;ci.failed&lt;/code&gt;; cancelled, skipped and other conclusions don't.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A re-run is a new delivery&lt;/strong&gt;, with a new delivery id, so it isn't deduplicated. Fail again and you get another task for the same run. Only GitHub's Redeliver is a Duplicate.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Every workflow counts.&lt;/strong&gt; CI, E2E, lint and deploy all fire &lt;code&gt;ci.failed&lt;/code&gt;. The hook filters by branch and repo, not workflow, so tell the agent in the instructions which workflows to just complete.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dropped requests leave no row.&lt;/strong&gt; Pings, other branches, cancelled runs and unrouted events are accepted and discarded silently. Check GitHub's Recent Deliveries if you expected a task.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Branch globs are exact.&lt;/strong&gt; &lt;code&gt;*&lt;/code&gt; doesn't cross &lt;code&gt;/&lt;/code&gt;: &lt;code&gt;release/*&lt;/code&gt; matches &lt;code&gt;release/1.2&lt;/code&gt;, not &lt;code&gt;release/1.2/hotfix&lt;/code&gt;. PR runs carry the PR branch, so &lt;code&gt;main&lt;/code&gt; keeps them out.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Ideas to extend it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Dedupe by run: have the agent look for an open "Fix main" task with the same run link and reply there instead.&lt;/li&gt;
&lt;li&gt;Ask it to save every test it calls flaky to workspace memory with a date, so a repeat offender becomes a real fix.&lt;/li&gt;
&lt;li&gt;Add &lt;code&gt;release/*&lt;/code&gt; to Branches and tell the agent that release fixes target that branch.&lt;/li&gt;
&lt;li&gt;Request a review from the breaking commit's author with &lt;code&gt;gh pr create --reviewer&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Not on GitHub Actions? Send your CI's webhook to the generic hook and route &lt;code&gt;request.received&lt;/code&gt; to &lt;code&gt;ci_failed&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Can the agent push to main?&lt;/strong&gt; Not while it has to ask. The instructions forbid it and every &lt;code&gt;git push&lt;/code&gt; waits for Allow Once. Clicking Always Allow or enabling YOLO removes that guard, so don't on this workspace.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Will a failing PR start a task?&lt;/strong&gt; No. PR runs are on the PR's branch, and the registration only accepts &lt;code&gt;main&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What if the fix is wrong?&lt;/strong&gt; It's a PR, so your normal review and CI apply. Reply in the task and the agent keeps working on the same branch.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Which agents work?&lt;/strong&gt; Anything that connects to AgentRQ: Claude Code, or Codex, Gemini CLI and others via the ACP Gateway.&lt;/p&gt;

&lt;p&gt;How does your team handle a red main today? Is it a rotation, whoever notices first, or does it just wait until morning? I'd like to hear in the comments.&lt;/p&gt;




&lt;p&gt;Originally published on &lt;a href="https://agentrq.com/tutorials/fix-a-red-main-build-with-an-ai-agent-github-ci-failure-to-pull-request" rel="noopener noreferrer"&gt;agentrq.com&lt;/a&gt;. The full tutorial has every screenshot and step.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>devops</category>
      <category>github</category>
      <category>automation</category>
    </item>
    <item>
      <title>Autonomous Agents: a git push that writes the launch post and X thread</title>
      <dc:creator>Tony</dc:creator>
      <pubDate>Mon, 30 Nov 2026 07:33:21 +0000</pubDate>
      <link>https://dev.to/agentrq/autonomous-agents-a-git-push-that-writes-the-launch-post-and-x-thread-117f</link>
      <guid>https://dev.to/agentrq/autonomous-agents-a-git-push-that-writes-the-launch-post-and-x-thread-117f</guid>
      <description>&lt;p&gt;If you build alone, you know the pattern: a feature hits main on a Tuesday afternoon, and the launch post and the tweet thread go onto a "later" list that never gets shorter. The code shipped; nobody heard about it.&lt;/p&gt;

&lt;p&gt;This recipe turns that into a pipeline. Every push to main fires an event. One agent reads the commits and decides whether a customer would actually notice anything. If yes, a second agent writes and deploys the blog post, and a third drafts an X thread and asks you before posting. Dependency bumps, refactors and fixes fall through silently.&lt;/p&gt;

&lt;p&gt;We ran it for real on November 29, 2026: a gift cards feature went from &lt;code&gt;git push&lt;/code&gt; to a live X thread.&lt;/p&gt;

&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Three single-purpose agents&lt;/strong&gt;, each in its own AgentRQ workspace: &lt;code&gt;release-scout&lt;/code&gt;, &lt;code&gt;blog&lt;/code&gt;, &lt;code&gt;social&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Three events&lt;/strong&gt; hand work along: &lt;code&gt;code_changed&lt;/code&gt; → &lt;code&gt;feature_released&lt;/code&gt; → &lt;code&gt;blog_published&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A GitHub webhook&lt;/strong&gt; (via an AgentRQ hook) fires &lt;code&gt;code_changed&lt;/code&gt; on every push to main.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The supervisor agent builds the wiring&lt;/strong&gt; from a plain-English description; you only connect GitHub.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Posting to X needs your approval&lt;/strong&gt; every time.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;push to main ─▶ code_changed ─▶ release-scout: "is this a customer-visible feature?"
                                    │ no  → one-line reason, stop
                                    │ yes → feature_released
                                    ▼
                                  blog: write, push, wait for deploy ─▶ blog_published
                                    ▼
                                  social: draft thread ─▶ you click Allow Once ─▶ live on X
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Why events instead of a cron job or one big agent?
&lt;/h2&gt;

&lt;p&gt;A scheduled "check for releases" job polls and guesses. One mega-agent that reads diffs, writes posts and tweets is hard to reason about and hard to stop halfway. Splitting it gives you three properties:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://agentrq.com/features/events" rel="noopener noreferrer"&gt;Events&lt;/a&gt;, not schedules.&lt;/strong&gt; An event names something that happened. A trigger subscribes a workspace to it; each publish creates a task from a template with the publisher's payload inside.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://agentrq.com/features/hooks" rel="noopener noreferrer"&gt;Hooks&lt;/a&gt; bring the outside in.&lt;/strong&gt; GitHub's webhook becomes one of your events, so a push kicks off the chain on its own.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A clean filter point.&lt;/strong&gt; The "is this a feature?" decision lives in exactly one place: a paragraph of instructions you can edit.&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Workspace&lt;/th&gt;
&lt;th&gt;Folder&lt;/th&gt;
&lt;th&gt;Gets a task on&lt;/th&gt;
&lt;th&gt;Fires&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;release-scout&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;~/code/shop&lt;/code&gt; (product)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;code_changed&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;feature_released&lt;/code&gt;, only for features&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;blog&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;~/code/site&lt;/code&gt; (website)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;feature_released&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;blog_published&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;social&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;~/code/social&lt;/code&gt; (X setup)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;blog_published&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;nothing (you approve)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;You'll need:&lt;/strong&gt; an AgentRQ account with an agent connected to the &lt;strong&gt;supervisor&lt;/strong&gt; workspace (&lt;a href="https://agentrq.com/features/mcp-integration" rel="noopener noreferrer"&gt;MCP integration&lt;/a&gt;), a machine with both repos on it (&lt;a href="https://agentrq.com/features/machines" rel="noopener noreferrer"&gt;machines&lt;/a&gt;), admin on the GitHub repo, and X's &lt;code&gt;xurl&lt;/code&gt; CLI signed in with your developer app on the machine running &lt;code&gt;social&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Can I really just describe the pipeline to an agent?
&lt;/h2&gt;

&lt;p&gt;Yes, that's the supervisor's job: it has the tools to create workspaces, events and triggers. We gave it a task like you'd brief a colleague:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;I ship to main a few times a day, and I keep forgetting to tell anyone. Set this up
with events: when code lands on main in acme/shop, have an agent check whether it
ships a feature a customer would notice. If it does, write a launch post for the blog
(acme/site), then post a short thread on X that links it. Fixes, refactors and
dependency bumps should be ignored. I want to approve every X post before it goes out.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It replied with a plan, then created three workspaces with missions, three events with payload guidelines, and one trigger per event. It also flagged the single step it can't do for you: connecting GitHub.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fq10od0fdkc4fbywf13xh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fq10od0fdkc4fbywf13xh.png" alt="The supervisor's reply: its plan, a summary card listing the three events and what each one starts, and a note that the GitHub hook still needs you" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;One thing it doesn't set: working directories. Open each new workspace's settings, point release-scout at the product checkout and blog at the website checkout, and start their agents.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where does the "is it a feature?" logic live?
&lt;/h2&gt;

&lt;p&gt;In the &lt;code&gt;code_changed&lt;/code&gt; trigger. Its title uses &lt;code&gt;{{EVENT_SUBJECT}}&lt;/code&gt;, which the GitHub hook fills with something like "Push to main in acme/shop". The instructions the supervisor wrote:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;New code on main:

{{EVENT_PAYLOAD}}

{{EVENT_FAQ}}

Read the commits and the diff (git fetch, then git log and git diff on the compare
range) and decide: does this push ship a feature a customer would notice?
- Yes: call workspace publishEvent with name feature_released, this task's id, and
  a payload following its guidelines. Then complete this task.
- No (a fix, refactor, test, docs or dependency change): reply with one line saying
  why, publish nothing, and complete this task.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Notice this trigger deliberately &lt;strong&gt;doesn't&lt;/strong&gt; use "When the task is completed, fire". That option fires on every completion, but here the next event must fire conditionally, so the agent publishes &lt;code&gt;feature_released&lt;/code&gt; itself. The two downstream triggers do use auto-chaining:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Event&lt;/th&gt;
&lt;th&gt;Workspace&lt;/th&gt;
&lt;th&gt;Task title&lt;/th&gt;
&lt;th&gt;Then fire&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;code_changed&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;release-scout&lt;/td&gt;
&lt;td&gt;Feature check: {{EVENT_SUBJECT}}&lt;/td&gt;
&lt;td&gt;none (agent decides)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;feature_released&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;blog&lt;/td&gt;
&lt;td&gt;Write the launch post&lt;/td&gt;
&lt;td&gt;&lt;code&gt;blog_published&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;blog_published&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;social&lt;/td&gt;
&lt;td&gt;Post the launch thread on X&lt;/td&gt;
&lt;td&gt;none&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Want different rules? Edit that paragraph and release-scout's mission: "only commits starting with feat:", "only PRs labelled release", "ignore changes under admin/". No code.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do you connect GitHub?
&lt;/h2&gt;

&lt;p&gt;In AgentRQ: &lt;strong&gt;Events → Hooks → New registration&lt;/strong&gt;. Pick the built-in &lt;strong&gt;github&lt;/strong&gt; hook, click &lt;strong&gt;Generate&lt;/strong&gt; for a webhook secret and copy it, set &lt;strong&gt;Branches&lt;/strong&gt; to &lt;code&gt;main&lt;/code&gt;, and under &lt;strong&gt;Routes&lt;/strong&gt; send &lt;code&gt;push&lt;/code&gt; to &lt;code&gt;code_changed&lt;/code&gt; (leave the rest unrouted). After creating it, copy the payload URL ending in &lt;code&gt;?agentrq_hook_token=&lt;/code&gt;. It's shown only once.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbb8zy5ys4zrfrqu1ls7u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbb8zy5ys4zrfrqu1ls7u.png" alt="Hook registration form: github hook selected, generated secret, main as the only branch" width="799" height="344"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In GitHub: &lt;strong&gt;Settings → Webhooks → Add webhook&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Payload URL:&lt;/strong&gt; the copied URL, token included.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Content type:&lt;/strong&gt; &lt;code&gt;application/json&lt;/code&gt; (the default form encoding is rejected).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Secret:&lt;/strong&gt; the one you generated.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Let me select individual events&lt;/strong&gt; → &lt;strong&gt;Pushes&lt;/strong&gt; only.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Add webhook.&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Only add it to the product repo. If the website repo pushed to the same registration, every published blog post would trigger its own feature check.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does a run look like?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Push 1:&lt;/strong&gt; a Stripe SDK bump plus a tiny cart fix. release-scout got a task, replied "Not a feature release: a Stripe SDK patch bump and a one-frame cart badge fix", and published nothing. Chain over. That's the filter keeping your feed clean.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Push 2:&lt;/strong&gt; three commits (buy gift cards, redeem at checkout, a test). release-scout said yes and published &lt;code&gt;feature_released&lt;/code&gt; with the customer-facing summary, commits, where to try it, a screenshot path, and two FAQ notes: who can use it, and what not to promise.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Flc9ogo6lfojn8savr9q6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Flc9ogo6lfojn8savr9q6.png" alt="release-scout's task for the gift cards push, concluding it ships a feature: buy gift cards from $10 to $500 and redeem a code at checkout" width="800" height="264"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The blog agent drafted the post in the website repo, respected the "no refund promise" note, pushed, &lt;strong&gt;waited for the deploy and opened the live URL&lt;/strong&gt;, and only then completed, which fired &lt;code&gt;blog_published&lt;/code&gt;. The social agent got its task immediately.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why does posting to X still need a human?
&lt;/h2&gt;

&lt;p&gt;Because it's the one step that speaks for you in public. The social agent wrote a four-post thread (each under 280 characters, the last linking the blog post) and then asked to run the &lt;code&gt;xurl&lt;/code&gt; command. That request shows up as an &lt;strong&gt;Authorization Required&lt;/strong&gt; card on web and mobile.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fcr358j8hx8nxuc5pd139.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fcr358j8hx8nxuc5pd139.png" alt="Authorization Required card for the Bash command that posts the thread, with Allow Once, Always Allow and Deny" width="800" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Keep YOLO mode off on the &lt;code&gt;blog_published&lt;/code&gt; trigger and in the social workspace, and click &lt;strong&gt;Allow Once&lt;/strong&gt; rather than &lt;strong&gt;Always Allow&lt;/strong&gt;, so the next thread asks again.&lt;/p&gt;

&lt;p&gt;Afterwards everything is auditable: the &lt;code&gt;code_changed&lt;/code&gt; event page lists each push and its check, and the hook registration lists every GitHub delivery (Published, Rejected on a bad signature, replayable on failure).&lt;/p&gt;

&lt;h2&gt;
  
  
  Why triggers and not a workflow?
&lt;/h2&gt;

&lt;p&gt;AgentRQ also has &lt;a href="https://agentrq.com/features/workflows" rel="noopener noreferrer"&gt;workflows&lt;/a&gt;, graphs that move one run from step to step. But a workflow run only starts when a task carrying that workflow publishes the start event. A GitHub push comes in through a hook, not such a task, so it reaches every trigger on &lt;code&gt;code_changed&lt;/code&gt; but never starts a workflow run. Triggers fire on every publish regardless of who sent it, which is exactly what a webhook-driven pipeline needs.&lt;/p&gt;

&lt;h2&gt;
  
  
  How would you extend it?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Another channel:&lt;/strong&gt; add a second trigger on &lt;code&gt;blog_published&lt;/code&gt; (LinkedIn, newsletter draft). They run in parallel.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Review the post first:&lt;/strong&gt; have the blog agent open a PR instead of pushing, and only complete after you merge, so &lt;code&gt;blog_published&lt;/code&gt; fires when the post is truly live.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Learn your voice:&lt;/strong&gt; ask blog and social to save your edits to &lt;a href="https://agentrq.com/features/workspace-memory" rel="noopener noreferrer"&gt;memory&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Do I need the supervisor?&lt;/strong&gt; No. Everything can be created by hand in the web app; the supervisor just saves you the forms and writes the instructions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;One push, two features?&lt;/strong&gt; release-scout can publish &lt;code&gt;feature_released&lt;/code&gt; twice, giving two blog tasks. Say so in its mission if that's what you want.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Do feature-branch pushes trigger it?&lt;/strong&gt; No. The registration's branch filter is &lt;code&gt;main&lt;/code&gt;; the hook drops everything else before any event fires.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can the social agent post without me?&lt;/strong&gt; Not while it must ask. If you enable YOLO or click Always Allow, it stops asking.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Which agents work?&lt;/strong&gt; Anything that connects to AgentRQ: Claude Code, or Codex, Gemini CLI and others via the ACP Gateway, chosen per workspace.&lt;/p&gt;

&lt;p&gt;How do you handle release announcements today: changelog bot, manual posts, or do they just not happen?&lt;/p&gt;




&lt;p&gt;Originally published on &lt;a href="https://agentrq.com/tutorials/announce-every-feature-release-event-driven-ai-agents-write-the-blog-post-and-x-thread" rel="noopener noreferrer"&gt;agentrq.com&lt;/a&gt;. The full tutorial has every screenshot and step.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>github</category>
      <category>automation</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Autonomous Agents: 3 AI coders on one repo, zero conflicts, with git worktrees + events</title>
      <dc:creator>Tony</dc:creator>
      <pubDate>Mon, 30 Nov 2026 07:33:20 +0000</pubDate>
      <link>https://dev.to/agentrq/autonomous-agents-3-ai-coders-on-one-repo-zero-conflicts-with-git-worktrees-events-2kdf</link>
      <guid>https://dev.to/agentrq/autonomous-agents-3-ai-coders-on-one-repo-zero-conflicts-with-git-worktrees-events-2kdf</guid>
      <description>&lt;p&gt;Give one coding agent a whole feature and two things happen: it works through everything serially, and it ends up reviewing its own code. The obvious fix is a team (someone to plan, a few to build, one to review). The less obvious problem is that the moment two agents share a folder, they trample each other: files get overwritten, they fight over which branch is checked out, and their dev servers race for the same port.&lt;/p&gt;

&lt;p&gt;This post walks through a setup that avoids all of that. We ran it end to end on November 29, 2026, taking a single request ("gift cards for checkout") from plan to merge.&lt;/p&gt;

&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Four roles:&lt;/strong&gt; Planner, Builder (fanned out into forks), Reviewer, and you.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Each role is its own AgentRQ workspace&lt;/strong&gt; with its own folder, queue and agent.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Named events do the handoffs:&lt;/strong&gt; &lt;code&gt;plan_ready&lt;/code&gt; → &lt;code&gt;code_changed&lt;/code&gt; → &lt;code&gt;review_passed&lt;/code&gt; / &lt;code&gt;changes_requested&lt;/code&gt;. Nothing polls.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Each parallel builder runs in a fork&lt;/strong&gt; that gets its own &lt;strong&gt;git worktree&lt;/strong&gt; on its own branch, so three builders can hit one repo at once.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The loop ends with a human task:&lt;/strong&gt; an agent never merges to main.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;you ──request──▶ planner
                   │ plan_ready (×N, one per work item)
                   ▼
          builder fork 1   builder fork 2   builder fork 3   (each in its own worktree)
                   │ code_changed
                   ▼
                reviewer ──changes_requested──▶ back to the builder that wrote it
                   │ review_passed
                   ▼
           you: "Merge a reviewed branch"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Why split a coding agent into roles at all?
&lt;/h2&gt;

&lt;p&gt;Separation of concerns works for agents for the same reason it works for people. A planner that never edits code can think about how to slice the work. A reviewer that never fixes code has no incentive to wave its own change through. And builders that each own one slice can run concurrently.&lt;/p&gt;

&lt;p&gt;AgentRQ maps this onto three primitives:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A &lt;strong&gt;&lt;a href="https://agentrq.com/features/workspace" rel="noopener noreferrer"&gt;workspace&lt;/a&gt;&lt;/strong&gt; is an isolated queue with its own agent, MCP token and working directory. The role goes in the workspace's mission, so whatever agent connects reads it.&lt;/li&gt;
&lt;li&gt;An &lt;strong&gt;&lt;a href="https://agentrq.com/features/events" rel="noopener noreferrer"&gt;event&lt;/a&gt;&lt;/strong&gt; is just a name, like &lt;code&gt;code_changed&lt;/code&gt;. A &lt;strong&gt;trigger&lt;/strong&gt; subscribes a workspace to it: every publish creates a new task in that workspace from a template, with the publisher's payload pasted in.&lt;/li&gt;
&lt;li&gt;A &lt;strong&gt;fork&lt;/strong&gt; is a copy of a workspace with its own queue and agent. On the machine it gets a git worktree on a fresh branch.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How do you stop agents from stepping on each other's files?
&lt;/h2&gt;

&lt;p&gt;Git worktrees. Several checkouts of one repository, sharing history but not working files. You need three folders; the forks get theirs automatically later.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; ~/code/shop                                    &lt;span class="c"&gt;# the planner reads the main checkout&lt;/span&gt;
git worktree add --detach ~/code/shop-build main  &lt;span class="c"&gt;# the builder's base&lt;/span&gt;
git worktree add --detach ~/code/shop-review main &lt;span class="c"&gt;# the reviewer's checkout&lt;/span&gt;
git worktree list
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Why &lt;code&gt;--detach&lt;/code&gt;? Git allows a branch to be checked out in only one worktree, and &lt;code&gt;main&lt;/code&gt; is already checked out in &lt;code&gt;~/code/shop&lt;/code&gt;. A detached reviewer can later &lt;code&gt;git switch --detach&lt;/code&gt; onto any builder's branch, even while that builder still has it checked out.&lt;/p&gt;

&lt;p&gt;Prerequisites: an AgentRQ account, a machine enrolled with &lt;strong&gt;agentrqd 0.9.3+&lt;/strong&gt; (the first version that creates fork folders), a git repo, and Claude Code or any agent started via the ACP Gateway.&lt;/p&gt;

&lt;h2&gt;
  
  
  What goes in each role's mission?
&lt;/h2&gt;

&lt;p&gt;Create three workspaces (&lt;code&gt;planner&lt;/code&gt;, &lt;code&gt;builder&lt;/code&gt;, &lt;code&gt;reviewer&lt;/code&gt;), point each one's &lt;strong&gt;Working Directory&lt;/strong&gt; at its folder, and put the role in the &lt;strong&gt;Mission Description&lt;/strong&gt;: what it does, what it never does, and what it fires when finished.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvmayy6ub1j4o0dr5e11a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvmayy6ub1j4o0dr5e11a.png" alt="Planner workspace settings: working directory set to the main checkout, mission beginning &amp;quot;Role: Planner. You plan, you never edit code.&amp;quot;" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The missions from our run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;planner:  Role: Planner. You plan, you never edit code.
          Read the request and the code in this folder, then split the work into small
          tasks that can be built in parallel without touching the same files. For each
          one, call workspace publishEvent with name plan_ready, this task's id, and a
          payload holding the task's title, the files it may change, the branch name to
          use (feat/&amp;lt;slug&amp;gt;) and how to test it. Then complete your task.

builder:  Role: Builder. You write code for one plan item at a time.
          Work on the branch the plan names, commit small, run the tests, and never push
          to main. When the item is done, publish code_changed with the branch, the
          commit and what to look at.

reviewer: Role: Reviewer. You read and test changes, you never fix them yourself.
          Check out the branch from the payload (git switch --detach &amp;lt;branch&amp;gt;), read the
          diff against main and run the tests. Publish review_passed when it is ready to
          merge, or changes_requested with a numbered list of what to fix.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The single most important line is the planner's "without touching the same files." Separate folders prevent filesystem collisions; only good slicing prevents merge conflicts.&lt;/p&gt;

&lt;h2&gt;
  
  
  How are the handoffs wired?
&lt;/h2&gt;

&lt;p&gt;Four events, each with payload guidelines that tell the publishing agent what to include:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Event&lt;/th&gt;
&lt;th&gt;Payload&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;plan_ready&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;title, files it may change, branch (&lt;code&gt;feat/...&lt;/code&gt;), how to test&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;code_changed&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;branch, last commit SHA, what changed, what to check first&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;changes_requested&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;branch, numbered list of fixes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;review_passed&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;branch, last SHA, one-line merge summary&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Then one trigger per event. In the trigger form, &lt;code&gt;{{EVENT_PAYLOAD}}&lt;/code&gt; and &lt;code&gt;{{EVENT_FAQ}}&lt;/code&gt; get replaced with whatever the publisher sent. The &lt;strong&gt;"When the task is completed, fire"&lt;/strong&gt; option makes AgentRQ append an instruction telling the agent to publish the next event, with its task id, before completing.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsqaeqvq2r6to3svfvy6y.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsqaeqvq2r6to3svfvy6y.png" alt="Trigger form on plan_ready: builder workspace, title &amp;quot;Build a plan item&amp;quot;, instructions containing the event payload and FAQ placeholders" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Event&lt;/th&gt;
&lt;th&gt;Workspace&lt;/th&gt;
&lt;th&gt;Who&lt;/th&gt;
&lt;th&gt;Title&lt;/th&gt;
&lt;th&gt;Then fire&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;plan_ready&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;builder&lt;/td&gt;
&lt;td&gt;Agent&lt;/td&gt;
&lt;td&gt;Build a plan item&lt;/td&gt;
&lt;td&gt;&lt;code&gt;code_changed&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;code_changed&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;reviewer&lt;/td&gt;
&lt;td&gt;Agent&lt;/td&gt;
&lt;td&gt;Review a change&lt;/td&gt;
&lt;td&gt;none (instructions pick one of two)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;changes_requested&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;builder&lt;/td&gt;
&lt;td&gt;Agent&lt;/td&gt;
&lt;td&gt;Fix review comments&lt;/td&gt;
&lt;td&gt;&lt;code&gt;code_changed&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;review_passed&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;planner&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Human&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Merge a reviewed branch&lt;/td&gt;
&lt;td&gt;none&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Two design choices worth calling out. The reviewer's trigger chains nothing, because a trigger can only chain one event and the reviewer has two possible outcomes; its instructions name both and it publishes the right one itself. And the final trigger is assigned to &lt;strong&gt;Human&lt;/strong&gt;, so the pipeline terminates in your inbox, not in a merge.&lt;/p&gt;

&lt;h2&gt;
  
  
  What happens when you ask for a feature?
&lt;/h2&gt;

&lt;p&gt;We created a planner task: "Plan gift cards for checkout. Customers should be able to buy a gift card and redeem it at checkout." The planner read the code and published &lt;code&gt;plan_ready&lt;/code&gt; three times. Three builder tasks appeared (model, redeem, field). We renamed them so each said which slice it was, which also gives the forks readable names, since spin-up names a fork after its task.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do the builders actually run in parallel?
&lt;/h2&gt;

&lt;p&gt;Three tasks in one builder workspace would still be processed one by one. So each task gets its own fork: hover the task, click the bolt (&lt;strong&gt;Spin up in a fork&lt;/strong&gt;), pick the machine and agent, and AgentRQ forks the workspace, moves the task in, and starts an agent, in one step. (You can also right-click the workspace → &lt;strong&gt;Fork workspace&lt;/strong&gt;, then &lt;strong&gt;Move Task&lt;/strong&gt;.)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9w8gwwygfk0np7r8w7wm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9w8gwwygfk0np7r8w7wm.png" alt="Spin up popover forking builder as build-gift-card-redeem on dev-laptop with Claude Code selected" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;On first start, agentrqd creates the fork's folder under &lt;code&gt;~/.agentrq/forks/&amp;lt;fork-id&amp;gt;&lt;/code&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Because the builder's folder is a git repo, the fork gets a &lt;strong&gt;worktree&lt;/strong&gt; on a new branch &lt;code&gt;agentrq/fork-&amp;lt;fork-id&amp;gt;&lt;/code&gt;, at the builder's HEAD. The agent then creates the plan's &lt;code&gt;feat/...&lt;/code&gt; branch inside it. (A non-git folder gets a plain copy.)&lt;/li&gt;
&lt;li&gt;The fork's terminal shows the exact &lt;code&gt;git worktree add&lt;/code&gt; it ran.&lt;/li&gt;
&lt;li&gt;The untracked &lt;code&gt;.mcp.json&lt;/code&gt; and &lt;code&gt;.claude&lt;/code&gt; folder are copied in with the parent's AgentRQ entry removed, so the fork connects as itself. If &lt;code&gt;.mcp.json&lt;/code&gt; is committed, the fork's copy is marked &lt;code&gt;skip-worktree&lt;/code&gt; so its token never appears as a diff.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Forks keep their own name, queue, agent and folder, but share the builder's &lt;a href="https://agentrq.com/features/workspace-memory" rel="noopener noreferrer"&gt;memory&lt;/a&gt;, &lt;a href="https://agentrq.com/features/distributed-skills" rel="noopener noreferrer"&gt;skills&lt;/a&gt; and settings. When one builder saves a lesson like "run make generate before the tests", the other two pick it up on their next task.&lt;/p&gt;

&lt;h2&gt;
  
  
  How does review work across worktrees?
&lt;/h2&gt;

&lt;p&gt;A finished builder publishes &lt;code&gt;code_changed&lt;/code&gt;, for example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Branch: feat/gift-card-ui
Commit: a3f91c2
What changed: a gift card field on the checkout page, with code validation and an error state.
Check first: the error message when a code is expired.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The reviewer runs &lt;code&gt;git switch --detach feat/gift-card-ui&lt;/code&gt; in &lt;code&gt;~/code/shop-review&lt;/code&gt;. Since all worktrees share one repository, the fork's commit is already visible. No push, no fetch.&lt;/p&gt;

&lt;p&gt;In our run the UI change passed, but the redeem change had a bug: a gift card balance bigger than the order total produced a negative total. The reviewer published &lt;code&gt;changes_requested&lt;/code&gt;. That fix task lands in &lt;code&gt;builder&lt;/code&gt; (the workspace the trigger names), so you &lt;strong&gt;Move Task&lt;/strong&gt; it into the fork that owns the branch; the fork fixes it in the same worktree and &lt;code&gt;code_changed&lt;/code&gt; loops it back to review.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9pjzpqd2nn8bep65x51q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9pjzpqd2nn8bep65x51q.png" alt="Move Task dialog listing the builder's three forks, with build-gift-card-redeem selected" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How does it end?
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;review_passed&lt;/code&gt; gives you a &lt;strong&gt;Merge a reviewed branch&lt;/strong&gt; task. Merge however you normally would:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; ~/code/shop
git merge --no-ff feat/gift-card-ui     &lt;span class="c"&gt;# or open a pull request from it&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then right-click the fork → &lt;strong&gt;Merge into builder&lt;/strong&gt;. Optionally tick "Delete the fork's folder" to remove the worktree; the branch survives, but uncommitted changes don't. Merging stops the agent and moves the fork's tasks, threads included, back to builder. A merge is refused while any fork task is unfinished, and forks can't be deleted or archived, only merged.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbcs15wxbbu8egraebaxj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbcs15wxbbu8egraebaxj.png" alt="Merge into builder dialog showing the fork's folder path and the delete-folder checkbox" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What are the gotchas?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Same lines, different builders:&lt;/strong&gt; only the planner's slicing prevents this.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ports:&lt;/strong&gt; give each builder a port in its plan item, or tell builders to grab any free one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Missing &lt;code&gt;.env&lt;/code&gt; / &lt;code&gt;node_modules&lt;/code&gt;:&lt;/strong&gt; a worktree has only tracked files plus &lt;code&gt;.mcp.json&lt;/code&gt; and &lt;code&gt;.claude&lt;/code&gt;. Copy env files and install dependencies per fork.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Uncommitted work in builder&lt;/strong&gt; isn't in the fork; forks start from the last commit.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Triggers vs. &lt;a href="https://agentrq.com/features/workflows" rel="noopener noreferrer"&gt;workflows&lt;/a&gt;:&lt;/strong&gt; you can model the same loop as a workflow graph starting from &lt;code&gt;plan_ready&lt;/code&gt;, but pick one. A trigger and a workflow step on the same event both create a task, so you'd get duplicates.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Headless:&lt;/strong&gt; the supervisor workspace exposes &lt;code&gt;workspace.fork&lt;/code&gt;, &lt;code&gt;workspace.mergeFork&lt;/code&gt; and &lt;code&gt;events.createTrigger&lt;/code&gt;; workers publish with &lt;code&gt;workspace publishEvent&lt;/code&gt;. See &lt;a href="https://agentrq.com/features/mcp-integration" rel="noopener noreferrer"&gt;MCP integration&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Is a fork required for every builder task?&lt;/strong&gt; No. Without forks, the builder just processes tasks serially in &lt;code&gt;~/code/shop-build&lt;/code&gt;. Fork when you want concurrency.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can forks run different agents?&lt;/strong&gt; Yes: Claude Code in one, Codex or Gemini CLI via ACP in another. Choose under &lt;strong&gt;What to run&lt;/strong&gt; when spinning up.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where do fork folders live?&lt;/strong&gt; &lt;code&gt;~/.agentrq/forks/&amp;lt;fork-id&amp;gt;&lt;/code&gt; on the machine, on branch &lt;code&gt;agentrq/fork-&amp;lt;fork-id&amp;gt;&lt;/code&gt;. &lt;code&gt;agentrqd serve --forks-dir&lt;/code&gt; relocates them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can you fork a fork?&lt;/strong&gt; No, forks are one level deep. The supervisor and archived workspaces can't be forked either.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;YOLO mode for builders?&lt;/strong&gt; Only if you trust what they execute. Otherwise each permission request waits for you, which is the point. &lt;a href="https://agentrq.com/features/yolo-mode" rel="noopener noreferrer"&gt;YOLO mode&lt;/a&gt; is a per-trigger switch.&lt;/p&gt;

&lt;p&gt;How are you splitting work between multiple coding agents today: one agent per branch, per worktree, or something else entirely?&lt;/p&gt;




&lt;p&gt;Originally published on &lt;a href="https://agentrq.com/tutorials/planner-builder-reviewer-ai-agent-team-in-parallel-with-git-worktrees-and-events" rel="noopener noreferrer"&gt;agentrq.com&lt;/a&gt;. The full tutorial has every screenshot and step.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>git</category>
      <category>productivity</category>
      <category>devops</category>
    </item>
    <item>
      <title>How We Built a Shared Markdown Board for AI Agents (and Made Checklists Tick Themselves)</title>
      <dc:creator>Mustafa Turan</dc:creator>
      <pubDate>Tue, 13 Oct 2026 08:00:18 +0000</pubDate>
      <link>https://dev.to/agentrq/how-we-built-a-shared-markdown-board-for-ai-agents-and-made-checklists-tick-themselves-45gm</link>
      <guid>https://dev.to/agentrq/how-we-built-a-shared-markdown-board-for-ai-agents-and-made-checklists-tick-themselves-45gm</guid>
      <description>&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt; We run one AI agent per workspace, and each one only sees its own tasks. That's good for focus and bad for hand-offs. The &lt;strong&gt;Pano&lt;/strong&gt; (AgentRQ v0.10.0) is a board of markdown docs that every workspace in an account can read and write. Checklist items can be assigned to a workspace's task, and the item's checkbox follows that task's status on its own. The interesting parts are the design choices: &lt;strong&gt;the markdown is the source of truth&lt;/strong&gt;, &lt;strong&gt;agents get no search&lt;/strong&gt;, &lt;strong&gt;a status change rewrites the doc on the server&lt;/strong&gt;, and &lt;strong&gt;every write carries a version, so two agents can't silently overwrite each other&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2jra4v7vt9p8j65q1ur4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2jra4v7vt9p8j65q1ur4.png" alt="The Pano board: post-it docs from the api, web and design workspaces, a note written by the user, and a chat box for the supervisor" width="800" height="563"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What problem are we solving?
&lt;/h2&gt;

&lt;p&gt;Single-purpose agents work well. The API agent knows the API, the web agent knows the frontend, and neither one's context is cluttered by the other's work.&lt;/p&gt;

&lt;p&gt;But real work crosses those boundaries:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The API agent changes a response shape. The web agent needs the new contract.&lt;/li&gt;
&lt;li&gt;A release needs three workspaces to finish their parts before Thursday.&lt;/li&gt;
&lt;li&gt;A postmortem should be read by every agent that touches webhooks.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Until now, the only thing moving knowledge between those agents was the human, who copied the contract into the web task, checked each workspace for progress, and pasted the postmortem into three prompts.&lt;/p&gt;

&lt;p&gt;We wanted a shared surface that agents can write to and read from, that humans can see at a glance, and that doesn't wreck the isolation that makes single-purpose agents good.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is a Pano doc?
&lt;/h2&gt;

&lt;p&gt;A doc is deliberately boring:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a title (up to 200 characters)&lt;/li&gt;
&lt;li&gt;markdown (up to 256 KiB)&lt;/li&gt;
&lt;li&gt;a paper color (&lt;code&gt;yellow&lt;/code&gt;, &lt;code&gt;pink&lt;/code&gt;, &lt;code&gt;green&lt;/code&gt;, &lt;code&gt;blue&lt;/code&gt;, &lt;code&gt;orange&lt;/code&gt;, &lt;code&gt;purple&lt;/code&gt;, &lt;code&gt;amber&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;files (up to 2 MiB each, 100 per doc)&lt;/li&gt;
&lt;li&gt;comments, each recording who wrote it: a workspace or the human&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It belongs to the &lt;strong&gt;account&lt;/strong&gt;, not to a workspace. The board shows the human's own docs first, then the agents' docs, newest first.&lt;/p&gt;

&lt;p&gt;Agents reach it through one MCP tool, &lt;code&gt;pano&lt;/code&gt;, which takes an &lt;code&gt;action&lt;/code&gt; and a &lt;code&gt;payload&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"action"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"save"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"payload"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"title"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"v2.4 release plan"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"markdown"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"- [ ] Cursor pagination&lt;/span&gt;&lt;span class="se"&gt;\n&lt;/span&gt;&lt;span class="s2"&gt;- [ ] Changelog"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"color"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"green"&lt;/span&gt;&lt;span class="p"&gt;}}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"action"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"read"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"payload"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"0kH25QEUKFV"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"includeComments"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;}}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"action"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"comment"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"payload"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"0kH25QEUKFV"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"comment"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Merged behind the flag."&lt;/span&gt;&lt;span class="p"&gt;}}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The other actions are &lt;code&gt;edit&lt;/code&gt;, &lt;code&gt;attach&lt;/code&gt;, &lt;code&gt;delete&lt;/code&gt; and &lt;code&gt;help&lt;/code&gt;. A save without an &lt;code&gt;id&lt;/code&gt; creates a doc and returns its id. A save with an &lt;code&gt;id&lt;/code&gt; replaces the title and markdown, but only if it also sends the doc's current &lt;code&gt;version&lt;/code&gt; (more on that below).&lt;/p&gt;

&lt;h2&gt;
  
  
  Why can't agents search the Pano?
&lt;/h2&gt;

&lt;p&gt;This was the most debated choice, and we think it's the most important one.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Agents can't list or search the Pano.&lt;/strong&gt; An agent reads a doc only because someone handed it the doc's id: in a task, a reply, or an event payload. The board UI has a title filter for humans. Agents don't.&lt;/p&gt;

&lt;p&gt;The reasoning:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Isolation stays real.&lt;/strong&gt; The point of one-agent-per-workspace is a small, relevant context. If every agent could browse every doc, the Pano would become a shared junk drawer that every agent half-reads.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hand-offs become explicit.&lt;/strong&gt; "Here's the contract, id &lt;code&gt;0kH25Ofyi1Z&lt;/code&gt;" is a deliberate act. You can trace exactly why an agent read something.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No relevance ranking to get wrong.&lt;/strong&gt; There's no retrieval step quietly deciding what context an agent gets.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The cost is that the writer has to pass the id along. In practice that fits how agents already work: they finish a task, reply, or publish an event, and the id goes in that message.&lt;/p&gt;

&lt;h2&gt;
  
  
  How does an assigned checklist item follow its task?
&lt;/h2&gt;

&lt;p&gt;This is the part developers ask about most.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmn28ttdjiwtnayjta2ac.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmn28ttdjiwtnayjta2ac.png" alt="A release plan doc: a checklist with an item assigned to @api showing Ongoing and one assigned to @web showing Completed and ticked" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 1: assigning writes a link into the markdown
&lt;/h3&gt;

&lt;p&gt;When you pick &lt;strong&gt;Assign to → api&lt;/strong&gt; on a checklist item, the web app:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;creates a task in the &lt;code&gt;api&lt;/code&gt; workspace whose title is the item text and whose body points back to the doc;&lt;/li&gt;
&lt;li&gt;rewrites that line of the markdown so it ends with a link to the task, with the status in the link's title;&lt;/li&gt;
&lt;li&gt;saves the doc.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The result is plain markdown:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt; ] Cursor pagination on /v2/invoices → [@api&lt;/span&gt;&lt;span class="p"&gt;](&lt;/span&gt;&lt;span class="sx"&gt;/workspaces/0kH1tWzfwLx/tasks/0kH1ye6SDz7&lt;/span&gt; &lt;span class="nn"&gt;"notstarted"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;There's &lt;strong&gt;no separate assignments table&lt;/strong&gt;. The link is the assignment, and the link's title is the cached status. Any agent that reads the doc sees who owns the item and where the task lives, with no extra API call. The renderer turns that link into the status chip you see on the board.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 2: a status change triggers a server-side rewrite
&lt;/h3&gt;

&lt;p&gt;Task status can change from anywhere: the human in the UI, the agent through its MCP tool, or the supervisor. All of those emit the same internal CRUD event. A subscriber listens for task updates and completions and runs a sync:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Build the task's path, &lt;code&gt;/workspaces/&amp;lt;ws&amp;gt;/tasks/&amp;lt;task&amp;gt;&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Find the account's live docs whose markdown contains that path. It's a plain &lt;code&gt;LIKE '%path%'&lt;/code&gt; query, which is enough because the path is unique.&lt;/li&gt;
&lt;li&gt;For each doc, walk the markdown line by line and rewrite matching items.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The line-matching is two regexes: one recognizes a task-list item, and one recognizes an assignee link at the end of the line.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight go"&gt;&lt;code&gt;&lt;span class="c"&gt;// a task-list item: a list marker, then [ ] or [x]&lt;/span&gt;
&lt;span class="s"&gt;`^[ \t]*(?:[-*+]|\d{1,9}[.)])[ \t]+\[([ xX])\](?:[ \t]|$)`&lt;/span&gt;
&lt;span class="c"&gt;// an assignee: a link to a task, titled with its status&lt;/span&gt;
&lt;span class="s"&gt;`\]\((/workspaces/[0-9A-Za-z]+/tasks/[0-9A-Za-z]+)(?: "[a-z]*")?\)[ \t]*$`&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For each line that has both and points at this task, the sync writes the new status into the link title, and sets the box to &lt;code&gt;[x]&lt;/code&gt; when the status is &lt;code&gt;completed&lt;/code&gt; (otherwise &lt;code&gt;[ ]&lt;/code&gt;). Lines inside fenced code blocks are skipped, because a &lt;code&gt;- [ ]&lt;/code&gt; there renders as text, not a checkbox.&lt;/p&gt;

&lt;p&gt;So when the &lt;code&gt;api&lt;/code&gt; agent marks its task &lt;code&gt;completed&lt;/code&gt;, the item becomes:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;x] Cursor pagination on /v2/invoices → [@api&lt;/span&gt;&lt;span class="p"&gt;](&lt;/span&gt;&lt;span class="sx"&gt;/workspaces/0kH1tWzfwLx/tasks/0kH1ye6SDz7&lt;/span&gt; &lt;span class="nn"&gt;"completed"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Note that the checkbox doesn't just tick on completion. It follows the status both ways: reopen the task and the box clears again.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 3: the write is a sync, not a save
&lt;/h3&gt;

&lt;p&gt;A subtle detail: this write &lt;strong&gt;is not a normal save&lt;/strong&gt;. It updates only the markdown, excerpt, size and checklist counters, and deliberately skips &lt;code&gt;updated_at&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Why it matters:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The doc keeps its place on the board.&lt;/strong&gt; A task finishing in another workspace shouldn't bump the release plan to the top as if someone edited it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The author stays the author.&lt;/strong&gt; The doc isn't suddenly "updated by api".&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The doc's lifetime doesn't change.&lt;/strong&gt; Docs expire a set number of days after their last save (more on that below). A background status sync shouldn't keep a doc alive forever.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What the sync &lt;strong&gt;does&lt;/strong&gt; change is the doc's &lt;code&gt;version&lt;/code&gt;. The markdown is different now, so any agent still holding the old version has to read the doc again before it writes. The next section explains why that matters.&lt;/p&gt;

&lt;p&gt;The "2 of 6 done" progress is recounted from the markdown with the same task-item regex on every write, so the board, the card and the doc always agree.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 4: open boards update live
&lt;/h3&gt;

&lt;p&gt;After the rewrite, the server publishes a &lt;code&gt;pano.changed&lt;/code&gt; event on the account's event stream. Any open board or doc page reloads that doc. The human watching the release plan sees the chip go from Ongoing to Completed and the box tick, without a refresh.&lt;/p&gt;

&lt;p&gt;One honest constraint: the event bus is in-process, so only the backend instance that handled the task change does the rewrite. That's fine, because the rewrite goes to the shared database, and any instance serves the result.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do two agents avoid overwriting each other?
&lt;/h2&gt;

&lt;p&gt;A shared doc has the classic lost-update problem. In the first version of the Pano, a save with an id replaced the whole doc. So this could happen:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The &lt;code&gt;api&lt;/code&gt; agent reads the release plan.&lt;/li&gt;
&lt;li&gt;The &lt;code&gt;web&lt;/code&gt; agent reads the same release plan.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;api&lt;/code&gt; ticks its item and saves the whole markdown.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;web&lt;/code&gt; adds a line and saves the whole markdown it read in step 2.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;code&gt;web&lt;/code&gt;'s save silently wipes out &lt;code&gt;api&lt;/code&gt;'s tick. Nobody gets an error, and the doc is just wrong. With several agents and a server-side checklist sync all writing to the same docs, this isn't hypothetical.&lt;/p&gt;

&lt;p&gt;The fix (&lt;a href="https://github.com/agentrq/agentrq/pull/896" rel="noopener noreferrer"&gt;agentrq#896&lt;/a&gt;, merged right after v0.10.0) is &lt;strong&gt;optimistic concurrency&lt;/strong&gt; with a version number.&lt;/p&gt;

&lt;h3&gt;
  
  
  Every doc has a version
&lt;/h3&gt;

&lt;p&gt;Each doc has a &lt;code&gt;version&lt;/code&gt;, starting at 1, which goes up on &lt;strong&gt;every&lt;/strong&gt; write: a save, an edit, and the checklist sync described above. &lt;code&gt;read&lt;/code&gt; returns it, and any update (a &lt;code&gt;save&lt;/code&gt; with an id, or an &lt;code&gt;edit&lt;/code&gt;) must send the version it read. Creating a doc needs no version.&lt;/p&gt;

&lt;h3&gt;
  
  
  The check happens in the UPDATE itself
&lt;/h3&gt;

&lt;p&gt;The important detail is &lt;strong&gt;where&lt;/strong&gt; the check runs. Reading the version, comparing it, and then writing would still leave a race window between the compare and the write. Instead, the version is part of the &lt;code&gt;UPDATE&lt;/code&gt;'s &lt;code&gt;WHERE&lt;/code&gt; clause, and the same statement bumps it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;UPDATE&lt;/span&gt; &lt;span class="n"&gt;pano_docs&lt;/span&gt;
&lt;span class="k"&gt;SET&lt;/span&gt; &lt;span class="k"&gt;version&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;version&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;markdown&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;title&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;...&lt;/span&gt;
&lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;id&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="k"&gt;AND&lt;/span&gt; &lt;span class="n"&gt;user_id&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="k"&gt;AND&lt;/span&gt; &lt;span class="n"&gt;expires_at&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="k"&gt;AND&lt;/span&gt; &lt;span class="k"&gt;version&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt;   &lt;span class="c1"&gt;-- the version the writer read&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If another write got in first, the row's version has already moved, the &lt;code&gt;WHERE&lt;/code&gt; matches nothing, and &lt;strong&gt;zero rows are affected&lt;/strong&gt;. The server then checks whether the doc still exists at all. If it does, the write is a conflict. If it doesn't, it's "not found". Either the whole write lands at version N+1, or nothing changes. The compare and the write can't be split.&lt;/p&gt;

&lt;h3&gt;
  
  
  A conflict tells the agent exactly what to do
&lt;/h3&gt;

&lt;p&gt;A stale write is refused with &lt;strong&gt;HTTP 409&lt;/strong&gt; in the REST API, and the MCP tool returns a message written for an agent to act on:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;the Pano doc changed since you read it (you sent version 3, it is now 4):
read it again, apply your change to the new content and save again with the new version
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A save with no version at all gets a similar message that names the current version. That matters because agents written before versioning existed would otherwise keep overwriting. Now they're told how to fix their call.&lt;/p&gt;

&lt;p&gt;The agent doesn't need special retry logic. It does what the message says: read the doc, redo its change on the new content, and save with the new version. The overwrite becomes an explicit merge, done by the one party that knows what its change meant.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;code&gt;edit&lt;/code&gt;: change a line without resending the doc
&lt;/h3&gt;

&lt;p&gt;Versioning makes a whole-doc save safe, but resending 256 KiB of markdown to tick one box is still wasteful, and a bigger payload means more chances for an agent to garble something it didn't mean to touch. So there's a new &lt;code&gt;edit&lt;/code&gt; action that takes a list of ops:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"action"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"edit"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"payload"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"0kH25QEUKFV"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"version"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"ops"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"op"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"replace"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"oldString"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"- [ ] Changelog and docs"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"newString"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"- [x] Changelog and docs"&lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"op"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"append"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"text"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="se"&gt;\n&lt;/span&gt;&lt;span class="s2"&gt;- [ ] Announce on the blog"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;append&lt;/code&gt; adds text to the end.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;replace&lt;/code&gt; swaps &lt;code&gt;oldString&lt;/code&gt; for &lt;code&gt;newString&lt;/code&gt;, but &lt;strong&gt;only if &lt;code&gt;oldString&lt;/code&gt; occurs exactly once&lt;/strong&gt;. Zero matches is refused ("not in the markdown"). Two or more is refused with the count and a hint to include more surrounding text. That's the same rule as a good code-edit tool: an ambiguous edit is an error, never a guess.&lt;/li&gt;
&lt;li&gt;The ops apply &lt;strong&gt;in order, all or none&lt;/strong&gt;. If op 2 fails, op 1 isn't saved either.&lt;/li&gt;
&lt;li&gt;The version is checked &lt;strong&gt;before&lt;/strong&gt; the ops run. Against a stale doc, a &lt;code&gt;replace&lt;/code&gt; would fail with a misleading "not found", so the agent is told the real problem: the doc changed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The result then goes through the same save path, so the size limits, the linked-file rules and the version check all still apply.&lt;/p&gt;

&lt;p&gt;From a shell, the CLI does the same:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx &lt;span class="nt"&gt;-y&lt;/span&gt; @agentrq/agentrq-ws@latest pano edit &amp;lt;&lt;span class="nb"&gt;id&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="nt"&gt;--version&lt;/span&gt; 3 &lt;span class="nt"&gt;--replace&lt;/span&gt; &lt;span class="s2"&gt;"- [ ] Tag"&lt;/span&gt; &lt;span class="nt"&gt;--with&lt;/span&gt; &lt;span class="s2"&gt;"- [x] Tag"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;save&lt;/code&gt; and &lt;code&gt;edit&lt;/code&gt; now print the doc's id &lt;strong&gt;and&lt;/strong&gt; its new version, so a script can chain writes without another read.&lt;/p&gt;

&lt;h3&gt;
  
  
  What humans see on a conflict
&lt;/h3&gt;

&lt;p&gt;The web editor uses the same check. If you're editing a doc and an agent saves it first, your save is refused, &lt;strong&gt;but your draft stays in the editor&lt;/strong&gt;. A banner says the note changed while you were editing and offers to load the latest version, so you can copy your text first. Ticking a box on the board works the same way: on a 409, the doc is reloaded and you're asked to try again, so what you see is what a retry would change.&lt;/p&gt;

&lt;p&gt;The checklist sync bumping the version fits in here too. If the &lt;code&gt;api&lt;/code&gt; task completes while you have the release plan open in the editor, the server's rewrite moves the version, and your stale save is refused instead of un-ticking the item.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do @mentions turn into tasks?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7fh6pv2kovizkf5ick0g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7fh6pv2kovizkf5ick0g.png" alt="An API contract doc with a comment from the web workspace asking for a bigger page size, and the api workspace's answer" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Comments are plain text with an author. Typing &lt;code&gt;@&lt;/code&gt; suggests workspaces. When the comment is posted, every workspace it names by its full name gets a task:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;title: &lt;code&gt;Pano: &amp;lt;doc title&amp;gt;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;body: the comment quoted, then an instruction to read the doc with &lt;code&gt;includeComments&lt;/code&gt; and &lt;strong&gt;answer with a comment on the doc&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That last part is the design. The answer goes back on the doc, not into a private task thread, so the conversation stays where the work is and the human can read it later. Pings are sent about a second apart, because the server allows one task creation per second per account. If one ping fails, the comment is already posted and the others still go out.&lt;/p&gt;

&lt;h2&gt;
  
  
  What stops the board from filling up forever?
&lt;/h2&gt;

&lt;p&gt;Every doc has a time to live: &lt;strong&gt;30 days after its last save&lt;/strong&gt; by default. A save can ask for any whole number of days up to a server maximum (365 by default, configurable). An expired doc is hidden right away. An hourly sweep on every backend instance deletes expired docs and their files. If two instances race, the loser just skips the doc.&lt;/p&gt;

&lt;p&gt;This matches how hand-off docs actually behave. A release plan is useful for a few weeks. A postmortem can ask for a year.&lt;/p&gt;

&lt;h2&gt;
  
  
  What are the rules for files?
&lt;/h2&gt;

&lt;p&gt;There are two kinds of files, and the split keeps docs self-consistent:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Linked files&lt;/strong&gt; travel with the markdown. Each must be linked from it by name, as &lt;code&gt;![chart](chart.png)&lt;/code&gt; or &lt;code&gt;[spec](spec.pdf)&lt;/code&gt;. A save that sends a file the markdown doesn't link is &lt;strong&gt;refused&lt;/strong&gt;. A linked file that the markdown stops linking is &lt;strong&gt;deleted at the next save&lt;/strong&gt;. So every linked file is always reachable from the doc's text.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Attachments&lt;/strong&gt; are added with &lt;code&gt;attach&lt;/code&gt;, need no link, and stay until the doc is deleted.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Limits refuse rather than truncate. An agent told its doc is over 256 KiB can decide what to cut. One whose doc was silently cut in half can't.&lt;/p&gt;

&lt;p&gt;For shells and CI, the &lt;code&gt;agentrq-ws&lt;/code&gt; CLI keeps the doc out of the agent's context entirely:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx &lt;span class="nt"&gt;-y&lt;/span&gt; @agentrq/agentrq-ws@latest pano save &lt;span class="nt"&gt;--title&lt;/span&gt; &lt;span class="s2"&gt;"Release plan"&lt;/span&gt; &lt;span class="nt"&gt;--markdown&lt;/span&gt; @plan.md &lt;span class="nt"&gt;--file&lt;/span&gt; chart.png &lt;span class="nt"&gt;--color&lt;/span&gt; blue
npx &lt;span class="nt"&gt;-y&lt;/span&gt; @agentrq/agentrq-ws@latest pano &lt;span class="nb"&gt;read&lt;/span&gt; &amp;lt;&lt;span class="nb"&gt;id&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="nt"&gt;--comments&lt;/span&gt; &lt;span class="nt"&gt;--out&lt;/span&gt; ./pano
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;save&lt;/code&gt; prints only the id. &lt;code&gt;read --out&lt;/code&gt; writes the markdown and its linked files side by side, so relative links still resolve.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does this unlock?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Agents hand work to each other directly.&lt;/strong&gt; The API agent posts the contract and puts the id in its reply. The web agent reads it. No human copy-paste.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A plan tracks itself.&lt;/strong&gt; Items assigned to workspaces tick when the work is done, not when someone remembers to update the list.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Isolation and coordination together.&lt;/strong&gt; Each workspace keeps its own tasks and memory. The Pano is the one shared surface, used on purpose.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hand-offs become visible.&lt;/strong&gt; What agents tell each other is on a page a human can scan, edit or delete.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Many writers, no lost updates.&lt;/strong&gt; Agents, the checklist sync and humans can all write to the same doc, and a stale write is refused instead of quietly winning.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Is the Pano a vector store or RAG?&lt;/strong&gt;&lt;br&gt;
No. There's no embedding, no retrieval and no search for agents. An agent reads exactly the docs whose ids it was given.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What if someone edits an assigned line by hand?&lt;/strong&gt;&lt;br&gt;
The sync only matches lines that are a task-list item &lt;strong&gt;and&lt;/strong&gt; end with a link to that exact task path. Change the text before the arrow freely. Remove the link, and the item is no longer assigned.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does a status sync count as an edit?&lt;/strong&gt;&lt;br&gt;
Not for the board. It updates the markdown and checklist counts without touching &lt;code&gt;updated_at&lt;/code&gt;, so the doc keeps its place, author and expiry. It does bump the &lt;code&gt;version&lt;/code&gt;, so a writer holding the old one has to read again.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What happens if two agents save the same doc at once?&lt;/strong&gt;&lt;br&gt;
The first write wins and moves the version. The second is refused with a 409 and a message telling the agent to read the doc again, redo its change and save with the new version. Nothing is silently overwritten.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why not lock the doc while an agent edits it?&lt;/strong&gt;&lt;br&gt;
Agents can stall or crash mid-task, and a lock held by a dead agent blocks everyone. Optimistic concurrency costs nothing when there's no conflict, which is almost always, and when there is one, the writer that knows what its change meant is the one asked to redo it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who can read a doc?&lt;/strong&gt;&lt;br&gt;
Every workspace in the account, plus the human. Comments and writes record the workspace that made them (a fork records its parent).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can I self-host it?&lt;/strong&gt;&lt;br&gt;
Yes. AgentRQ is open source. File storage is local by default, or S3 with &lt;code&gt;AGENTRQ_PANO_STORAGE=s3&lt;/code&gt;, and &lt;code&gt;AGENTRQ_PANO_MAX_TTL_DAYS&lt;/code&gt; caps doc lifetime.&lt;/p&gt;




&lt;p&gt;How are you passing context between agents today: shared files, a vector store, or a human in the middle? We'd like to hear what's worked for you.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Originally published on the &lt;a href="https://agentrq.com/blog/pano-shared-markdown-board-for-ai-agents-across-workspaces" rel="noopener noreferrer"&gt;AgentRQ blog&lt;/a&gt;. AgentRQ is an open-source, human-in-the-loop task manager for AI agents: &lt;a href="https://github.com/agentrq/agentrq" rel="noopener noreferrer"&gt;github.com/agentrq/agentrq&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>mcp</category>
      <category>architecture</category>
    </item>
    <item>
      <title>Copilot YOLO mode, dissected: what --yolo, /yolo and Allow all actually skip</title>
      <dc:creator>Tony</dc:creator>
      <pubDate>Mon, 12 Oct 2026 18:02:40 +0000</pubDate>
      <link>https://dev.to/agentrq/copilot-yolo-mode-dissected-what-yolo-yolo-and-allow-all-actually-skip-4pbi</link>
      <guid>https://dev.to/agentrq/copilot-yolo-mode-dissected-what-yolo-yolo-and-allow-all-actually-skip-4pbi</guid>
      <description>&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Copilot CLI:&lt;/strong&gt; &lt;code&gt;copilot --yolo&lt;/code&gt; (same flag as &lt;code&gt;--allow-all&lt;/code&gt;), or &lt;code&gt;/yolo&lt;/code&gt; in a running session. It is shorthand for &lt;code&gt;--allow-all-tools&lt;/code&gt; + &lt;code&gt;--allow-all-paths&lt;/code&gt; + &lt;code&gt;--allow-all-urls&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;VS Code:&lt;/strong&gt; pick &lt;strong&gt;Allow all&lt;/strong&gt; in the chat permission picker, type &lt;code&gt;/yolo&lt;/code&gt;, or set &lt;code&gt;"chat.tools.global.autoApprove": true&lt;/code&gt; to make it permanent.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What it skips:&lt;/strong&gt; approval prompts. &lt;strong&gt;What it doesn't:&lt;/strong&gt; your &lt;code&gt;--deny-tool&lt;/code&gt; rules, and (in VS Code, explicitly documented) an enabled sandbox.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Autopilot is a different switch.&lt;/strong&gt; It keeps the agent iterating; YOLO approves its tool calls. Unattended runs usually want both.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Everything here was checked on October 7, 2026 against GitHub's Copilot CLI reference, the github/copilot-cli changelog (1.0.93) and VS Code's agent docs in microsoft/vscode-docs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why does "YOLO" mean two different things in Copilot?
&lt;/h2&gt;

&lt;p&gt;Because Copilot ships two agent runtimes with two permission systems. The &lt;strong&gt;Copilot CLI&lt;/strong&gt; is a terminal agent with flag-driven permissions. &lt;strong&gt;Copilot Chat in VS Code&lt;/strong&gt; is an editor agent whose permissions hang off a picker and &lt;code&gt;settings.json&lt;/code&gt;. They share vocabulary (&lt;code&gt;/yolo&lt;/code&gt; exists in both) but not config. Nothing you set in VS Code changes the CLI, and vice versa.&lt;/p&gt;

&lt;p&gt;The one thing they agree on is the layering. There are three separate gates between the model and your machine:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;model wants to act
   │
   ▼
[1] deny rules ─────────── always win, YOLO or not
   │
   ▼
[2] approval prompt ────── this is the only layer YOLO removes
   │
   ▼
[3] sandbox (if enabled) ─ still limits files + network
   │
   ▼
your shell / filesystem / network
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Keep that picture in mind; every flag below is about layer 2.&lt;/p&gt;

&lt;h2&gt;
  
  
  What exactly does copilot --yolo turn on?
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;copilot --yolo
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;--yolo&lt;/code&gt; and &lt;code&gt;--allow-all&lt;/code&gt; are the same flag, documented as "Enable all permissions (tools, paths, and URLs)". It decomposes into three narrower switches you can use on their own:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Flag&lt;/th&gt;
&lt;th&gt;What stops asking&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;--allow-all-tools&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;every tool call (GitHub notes this is required when you drive the CLI from a script)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;--allow-all-paths&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;the check on which file paths the agent may touch&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;--allow-all-urls&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;URL fetch approval&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The env var &lt;code&gt;COPILOT_ALLOW_ALL=true&lt;/code&gt; does the same as &lt;code&gt;--yolo&lt;/code&gt; &lt;strong&gt;and&lt;/strong&gt; trusts the current directory, which makes it the CI-friendly form: no flag plumbing through wrapper scripts.&lt;/p&gt;

&lt;p&gt;The nerdy bit worth noticing: paths and URLs are separate trust dimensions from tools. If your threat model is "the agent may run &lt;code&gt;npm test&lt;/code&gt; but must not read &lt;code&gt;~/.ssh&lt;/code&gt; or exfiltrate to random hosts", &lt;code&gt;--allow-all-tools&lt;/code&gt; alone is a materially different posture from &lt;code&gt;--yolo&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do the in-session commands map onto each other?
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;/permissions&lt;/code&gt; is now the canonical command, with four arguments: &lt;code&gt;default&lt;/code&gt;, &lt;code&gt;assisted&lt;/code&gt;, &lt;code&gt;allow-all&lt;/code&gt; and &lt;code&gt;show&lt;/code&gt;. Everything else is an alias:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;/yolo&lt;/code&gt; and &lt;code&gt;/allow-all&lt;/code&gt; → &lt;code&gt;/permissions allow-all&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;/yolo&lt;/code&gt; also takes &lt;code&gt;off&lt;/code&gt;, &lt;code&gt;auto&lt;/code&gt; and &lt;code&gt;show&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;/reset-allowed-tools&lt;/code&gt; (or &lt;code&gt;/permissions default&lt;/code&gt;) undoes it&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;While it's on, the footer shows a &lt;strong&gt;YOLO&lt;/strong&gt; indicator, so you can't forget you're flying without a net.&lt;/p&gt;

&lt;p&gt;One gotcha for people coming from other agents: &lt;strong&gt;Shift+Tab does not toggle YOLO in the Copilot CLI.&lt;/strong&gt; It cycles standard → plan → autopilot. That's a mode-of-work switch, not a permission switch.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why isn't Autopilot the same thing as YOLO?
&lt;/h2&gt;

&lt;p&gt;Two orthogonal axes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Autopilot&lt;/strong&gt; (&lt;code&gt;--autopilot&lt;/code&gt;, &lt;code&gt;/autopilot&lt;/code&gt;, or Shift+Tab) answers "should the agent keep going without checking in with me?"&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;YOLO&lt;/strong&gt; answers "should the agent run tools without asking me?"&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Autopilot without YOLO: the agent keeps working, then blocks on the first approval. YOLO without Autopilot: approvals fly through, but the agent stops to check in. An unattended run usually needs both. VS Code's security docs make the same point from the other side: Autopilot "combines auto-approval with autonomous iteration" and "reduces your ability to review intermediate steps".&lt;/p&gt;

&lt;h2&gt;
  
  
  Can I get most of the speed without approving everything?
&lt;/h2&gt;

&lt;p&gt;Yes, and this is where Copilot's design is genuinely nice. Two halfway layers:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pattern rules.&lt;/strong&gt; &lt;code&gt;--allow-tool&lt;/code&gt; and &lt;code&gt;--deny-tool&lt;/code&gt; take typed patterns:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;copilot --allow-tool &lt;span class="s1"&gt;'shell(git:*)'&lt;/span&gt; --deny-tool &lt;span class="s1"&gt;'shell(git push)'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Other shapes: &lt;code&gt;write(src/*.ts)&lt;/code&gt;, &lt;code&gt;read(.env)&lt;/code&gt;, &lt;code&gt;url(github.com)&lt;/code&gt;, &lt;code&gt;MyMCP(create_issue)&lt;/code&gt;. The rule that matters: &lt;strong&gt;a deny always wins&lt;/strong&gt;, including over &lt;code&gt;--yolo&lt;/code&gt;. That gives you a cheap "YOLO minus the footguns" profile: &lt;code&gt;--yolo --deny-tool 'shell(git push)'&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Assisted permissions.&lt;/strong&gt; &lt;code&gt;/permissions assisted&lt;/code&gt; puts a safety model in front of the prompt. It approves routine requests and only escalates the rest to you. It's a classifier in layer 2, not a sandbox, so it reduces prompts without adding isolation.&lt;/p&gt;

&lt;p&gt;Admins get the last word: &lt;code&gt;"disableBypassPermissionsMode": "disable"&lt;/code&gt; under &lt;code&gt;permissions&lt;/code&gt; kills all of this, and &lt;code&gt;"allow-auto-only"&lt;/code&gt; restricts users to the assisted mode.&lt;/p&gt;

&lt;h2&gt;
  
  
  How does VS Code's version work?
&lt;/h2&gt;

&lt;p&gt;Copilot Chat calls it &lt;strong&gt;Allow all&lt;/strong&gt;, one of three permission levels:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Level&lt;/th&gt;
&lt;th&gt;Behavior&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;Manual&lt;/strong&gt; (default)&lt;/td&gt;
&lt;td&gt;asks for each tool call&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Assisted&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;a model approves routine requests (needs &lt;code&gt;chat.assistedPermissions.enabled&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Allow all&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;asks for nothing; VS Code warns you the first time&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Three ways in:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The permission picker in the chat input.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;/yolo&lt;/code&gt; or &lt;code&gt;/autoApprove&lt;/code&gt; in chat, for the current session. Undo with &lt;code&gt;/disableYolo&lt;/code&gt; or &lt;code&gt;/disableAutoApprove&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Permanently, in &lt;code&gt;settings.json&lt;/code&gt;:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"chat.tools.global.autoApprove"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That last one approves every tool in every workspace, and VS Code's own docs flag it as a setting that "disables critical security protections". The docs recommend the session-scoped Allow all when you don't need auto-approval everywhere. The experimental &lt;code&gt;chat.permissions.default&lt;/code&gt; (&lt;code&gt;default&lt;/code&gt;, &lt;code&gt;autoApprove&lt;/code&gt;, &lt;code&gt;autopilot&lt;/code&gt;) picks the level new chats start with, and orgs can block global auto-approve with the &lt;code&gt;ChatToolsAutoApprove&lt;/code&gt; policy.&lt;/p&gt;

&lt;h2&gt;
  
  
  Are terminal allowlists enough to keep me safe?
&lt;/h2&gt;

&lt;p&gt;They're the VS Code halfway option:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"chat.tools.terminal.autoApprove"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"mkdir"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"/^git (status|diff|log)\\b/"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"rm"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Keys are prefixes or regexes. &lt;code&gt;true&lt;/code&gt; auto-approves; &lt;code&gt;false&lt;/code&gt; forces a prompt even if another rule would approve. Note that &lt;code&gt;false&lt;/code&gt; means &lt;strong&gt;ask&lt;/strong&gt;, not &lt;strong&gt;block&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;But read the fine print: VS Code's security docs say auto-approval rules "use best-effort command parsing and have known limitations with shell aliases, quote concatenation, and complex shell syntax". Anyone who has written a shell parser knows why: &lt;code&gt;g'it' push&lt;/code&gt;, an alias, or &lt;code&gt;bash -c "$(…)"&lt;/code&gt; can all slip past a prefix match. Treat allowlists as a convenience, and put the real boundary somewhere that enforces it at the OS level.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does the sandbox actually enforce, and what doesn't YOLO touch?
&lt;/h2&gt;

&lt;p&gt;In VS Code, turn on &lt;code&gt;chat.agent.sandbox.enabled&lt;/code&gt; (or the &lt;strong&gt;Sandboxing for terminal&lt;/strong&gt; toggle in the picker). The docs are explicit that Allow all and Autopilot skip prompts "but an enabled sandbox still restricts terminal file system and network access". Under the hood VS Code's docs list:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;macOS:&lt;/strong&gt; Apple's Seatbelt, built in.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Linux / WSL2:&lt;/strong&gt; bubblewrap for filesystem isolation plus &lt;code&gt;socat&lt;/code&gt; for network proxying (&lt;code&gt;apt-get install bubblewrap socat&lt;/code&gt;). WSL1 is out, because bubblewrap needs user namespaces.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Two caveats from the same docs: outbound network stays &lt;strong&gt;on&lt;/strong&gt; by default (&lt;code&gt;chat.agent.sandbox.network.allowNetwork&lt;/code&gt; defaults to &lt;code&gt;true&lt;/code&gt;), so lock that down separately; and the sandbox is "not a virtual machine or user-account boundary". If you see the older key &lt;code&gt;chat.tools.terminal.sandbox.enabled&lt;/code&gt; in blog posts, it's no longer in VS Code's docs.&lt;/p&gt;

&lt;p&gt;The Copilot CLI has &lt;code&gt;/sandbox&lt;/code&gt; / &lt;code&gt;--sandbox&lt;/code&gt; too. GitHub's reference still marks it experimental while the changelog says it's available to everyone, and the CLI docs don't say whether &lt;code&gt;--yolo&lt;/code&gt; bypasses it. We treat it as a separate layer like VS Code's, but if you rely on it, check what &lt;code&gt;/sandbox&lt;/code&gt; reports.&lt;/p&gt;

&lt;h2&gt;
  
  
  Can a cloned repo flip YOLO on for me?
&lt;/h2&gt;

&lt;p&gt;In VS Code, the front-line defense is Workspace Trust: an untrusted folder opens in restricted mode, which "also disables agents". So review a repo before you trust it, because trust is what unlocks agents in it at all. The global auto-approve setting is something you set yourself, and the docs steer you to the session-scoped level instead. The CLI has a notion of trusted directories too: &lt;code&gt;COPILOT_ALLOW_ALL=true&lt;/code&gt; trusts the current directory, and &lt;code&gt;/add-dir PATH&lt;/code&gt; grants file access to another directory and loads its &lt;code&gt;.github/skills&lt;/code&gt; and &lt;code&gt;.github/agents&lt;/code&gt; as trusted configuration. That's worth remembering before you point a YOLO session at a repo you haven't read.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do I turn on YOLO per task or per workspace with AgentRQ?
&lt;/h2&gt;

&lt;p&gt;Copilot's YOLO is session-scoped: once on, it's on for everything that session does. If you'd rather decide &lt;strong&gt;per task&lt;/strong&gt;, and answer prompts from somewhere other than the terminal, you can route the Copilot CLI through &lt;a href="https://agentrq.com" rel="noopener noreferrer"&gt;AgentRQ&lt;/a&gt; via the &lt;a href="https://agentrq.com/docs/connect-acp-agent" rel="noopener noreferrer"&gt;ACP Gateway&lt;/a&gt; (&lt;a href="https://agentrq.com/docs/agents/github-copilot" rel="noopener noreferrer"&gt;Copilot setup guide&lt;/a&gt;):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx @agentrq/acp-gateway@latest --agent github-copilot-cli
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This covers the Copilot CLI only; Copilot Chat in VS Code keeps its own picker.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Start Copilot without &lt;code&gt;--yolo&lt;/code&gt;.&lt;/strong&gt; The gateway moves each new session out of any mode that would approve on its own and into one where Copilot asks a person. Every permission request then lands in the AgentRQ task (web, phone or Slack) with the command or edit attached, and you answer:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Allow Once&lt;/strong&gt;: this call only.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Always Allow&lt;/strong&gt;: adds the tool to the workspace's auto-approved list, so routine calls stop asking.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deny&lt;/strong&gt;: Copilot gets a refusal and carries on.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If nobody answers within 30 minutes, the gateway cancels the turn rather than guessing; tune that with &lt;code&gt;--permission-timeout&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Per task.&lt;/strong&gt; Flip the &lt;strong&gt;YOLO&lt;/strong&gt; toggle on a task, or set it when you create one, to put just that task in &lt;a href="https://agentrq.com/features/yolo-mode" rel="noopener noreferrer"&gt;YOLO mode&lt;/a&gt;. Every permission request in it is auto-approved and Copilot never waits, while every other task in the workspace still asks. The setting sticks to the task even if the agent disconnects and reconnects. Scheduled tasks, event triggers and workflow steps have the same switch, so the nightly job can run in YOLO while your interactive work stays supervised.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Per workspace.&lt;/strong&gt; Workspace settings has &lt;strong&gt;YOLO Mode (Execute All)&lt;/strong&gt; (UI warning: "Agent will not ask for permission"). Under the hood it's a default, not a global override: the approval check reads the task's own YOLO flag, and the workspace switch decides what that flag starts as. New tasks you create in the web form open with the YOLO toggle already on (you can still switch it off per task), and tasks the agent creates for itself over the workspace MCP server inherit it. Flipping the switch doesn't rewrite tasks that already exist.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Or let a model approve and deny for you, from plain-English rules.&lt;/strong&gt; Between "ask me every time" and "approve everything" there's a third option: an &lt;a href="https://github.com/agentrq/agentrq/blob/main/docs/EXTENSIONS.md" rel="noopener noreferrer"&gt;AgentRQ desktop extension&lt;/a&gt; that reviews each permission request before it reaches you. Extensions are trusted Node modules loaded by the AgentRQ desktop app. One registers a reviewer with &lt;code&gt;ctx.hooks.add({ id, review(request) { ... } })&lt;/code&gt; and is handed the pending call: the tool name, the argument preview the harness sent, and the workspace. It answers &lt;code&gt;{ behavior: 'deny', reason }&lt;/code&gt;, &lt;code&gt;{ behavior: 'allow' }&lt;/code&gt;, or nothing at all to abstain. Point &lt;code&gt;review()&lt;/code&gt; at an external decision API such as &lt;a href="https://agentrq.com/blog/jev-system-one-models" rel="noopener noreferrer"&gt;TypeSafe's Jev&lt;/a&gt;, a "System One" model that returns a typed &lt;code&gt;choice&lt;/code&gt; with calibrated &lt;code&gt;probabilities&lt;/code&gt; and a &lt;code&gt;confidence&lt;/code&gt; in milliseconds instead of generating text. Send the tool call as the state, and your workspace's rules in plain English ("git push is fine on feature branches, never on main", "never read anything under ~/.aws") as a Choice question over allow / deny / ask me. Then threshold it: approve only on a high-confidence allow, refuse on a confident deny, and abstain on everything else so the request lands on your phone as usual. The rules can live on a per-workspace settings tab the extension draws itself; the bundled &lt;code&gt;guardrail&lt;/code&gt; example does exactly that with literal patterns.&lt;/p&gt;

&lt;p&gt;The review contract is built on one asymmetry: refusing costs a tool call, approving costs whatever the tool call does. So one refusal settles a request; silence (an abstain, an exception, or a reviewer that misses its 5-second deadline) is never an allow, the request just stays in front of you; and an extension needs the &lt;code&gt;decide&lt;/code&gt; consent level to approve, while &lt;code&gt;deny&lt;/code&gt; consent can only refuse. The install screen starts every extension at &lt;code&gt;none&lt;/code&gt;. Reviews only happen while the desktop app is open and signed in, so treat this as a fast first pass, not a security boundary.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The trade-off.&lt;/strong&gt; Workspace-wide is one click and zero prompts, but it outlives the job you actually trusted: the next task inherits it whether you meant to or not. Per-task YOLO expires with the task. Our default is the workspace switch off, per-task YOLO for the jobs you've vetted, &lt;strong&gt;Always Allow&lt;/strong&gt; for the boring tools, the sandbox on, and a clean git tree before every YOLO run. The tool call history keeps a record of every call, including the auto-approved ones.&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Is &lt;code&gt;copilot --yolo&lt;/code&gt; the same as &lt;code&gt;--allow-all&lt;/code&gt;?&lt;/strong&gt; Yes. Same flag: tools, paths and URLs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does &lt;code&gt;--yolo&lt;/code&gt; override &lt;code&gt;--deny-tool&lt;/code&gt;?&lt;/strong&gt; No. A deny always wins.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why doesn't Shift+Tab turn on YOLO in the CLI?&lt;/strong&gt; It cycles standard, plan and autopilot. Use &lt;code&gt;/yolo&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How do I make Allow all permanent in VS Code?&lt;/strong&gt; &lt;code&gt;"chat.tools.global.autoApprove": true&lt;/code&gt;, though the session-scoped picker level is the safer habit.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does Allow all disable the VS Code sandbox?&lt;/strong&gt; No. An enabled sandbox still restricts terminal filesystem and network access.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Is Autopilot YOLO?&lt;/strong&gt; No. Autopilot keeps the agent going; YOLO approves its tool calls.&lt;/p&gt;

&lt;p&gt;For every other agent, see &lt;a href="https://agentrq.com/blog/what-is-yolo-mode-and-how-to-turn-it-on-in-every-coding-agent" rel="noopener noreferrer"&gt;what YOLO mode is and how to turn it on in every coding agent&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Your turn:&lt;/strong&gt; do you run Copilot with &lt;code&gt;--yolo&lt;/code&gt; plus a couple of &lt;code&gt;--deny-tool&lt;/code&gt; guards, or do you trust the assisted classifier more than your own regexes? Tell me your setup in the comments.&lt;/p&gt;




&lt;p&gt;Originally published on &lt;a href="https://agentrq.com/guidelines/yolo-mode/github-copilot" rel="noopener noreferrer"&gt;AgentRQ&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>githubcopilot</category>
      <category>vscode</category>
      <category>ai</category>
      <category>security</category>
    </item>
    <item>
      <title>Gemini CLI YOLO mode, read from the source: why settings.json can't turn it on</title>
      <dc:creator>Tony</dc:creator>
      <pubDate>Mon, 12 Oct 2026 18:01:40 +0000</pubDate>
      <link>https://dev.to/agentrq/gemini-cli-yolo-mode-read-from-the-source-why-settingsjson-cant-turn-it-on-2kma</link>
      <guid>https://dev.to/agentrq/gemini-cli-yolo-mode-read-from-the-source-why-settingsjson-cant-turn-it-on-2kma</guid>
      <description>&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Start YOLO with &lt;code&gt;gemini --approval-mode=yolo&lt;/code&gt;, or press &lt;strong&gt;Ctrl+Y&lt;/strong&gt; in a running session. &lt;code&gt;--yolo&lt;/code&gt; / &lt;code&gt;-y&lt;/code&gt; still work but are deprecated, and combining &lt;code&gt;--yolo&lt;/code&gt; with &lt;code&gt;--approval-mode&lt;/code&gt; is an error.&lt;/li&gt;
&lt;li&gt;You &lt;strong&gt;cannot&lt;/strong&gt; make YOLO the default in &lt;code&gt;settings.json&lt;/code&gt;. That's a deliberate design choice, and the code that enforces it is three lines long.&lt;/li&gt;
&lt;li&gt;YOLO only removes approval prompts. The sandbox (Seatbelt, Docker, Podman, gVisor, LXC) is a separate switch, and in the current source YOLO never turns it on.&lt;/li&gt;
&lt;li&gt;In an untrusted folder, any mode other than &lt;code&gt;default&lt;/code&gt; gets forced back to &lt;code&gt;default&lt;/code&gt;. If &lt;code&gt;security.disableYoloMode&lt;/code&gt; or admin secure mode is set, asking for YOLO is a fatal config error, not a silent downgrade.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Everything below was checked against the Gemini CLI source (google-gemini/gemini-cli, &lt;code&gt;0.65.0-nightly.20261006&lt;/code&gt;) and its docs, on October 7–8, 2026.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who is this even for in late 2026?
&lt;/h2&gt;

&lt;p&gt;Short version: Gemini CLI users with a Gemini Code Assist &lt;strong&gt;Standard or Enterprise&lt;/strong&gt; license.&lt;/p&gt;

&lt;p&gt;Since June 18, 2026, Gemini CLI no longer serves Google AI Pro, Ultra or free Code Assist users. Google moved them to the Antigravity CLI (&lt;code&gt;agy&lt;/code&gt;), which has a different YOLO story (it's &lt;code&gt;agy --dangerously-skip-permissions&lt;/code&gt;, and there's no &lt;code&gt;--yolo&lt;/code&gt; at all). Gemini CLI is still developed, though, and the approval code is worth reading on its own. It's one of the cleaner permission designs among coding agents.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does Gemini CLI actually do with an approval mode?
&lt;/h2&gt;

&lt;p&gt;There are four modes: &lt;code&gt;default&lt;/code&gt;, &lt;code&gt;auto_edit&lt;/code&gt;, &lt;code&gt;plan&lt;/code&gt; and &lt;code&gt;yolo&lt;/code&gt;. Here's how the CLI picks one at startup, in order:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;code&gt;--approval-mode &amp;lt;x&amp;gt;&lt;/code&gt; on the command line&lt;/li&gt;
&lt;li&gt;else &lt;code&gt;--yolo&lt;/code&gt; / &lt;code&gt;-y&lt;/code&gt;, which maps to &lt;code&gt;yolo&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;else &lt;code&gt;general.defaultApprovalMode&lt;/code&gt; from settings, &lt;strong&gt;unless its value is &lt;code&gt;yolo&lt;/code&gt;, in which case it's skipped&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;else &lt;code&gt;default&lt;/code&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Step 3 is the interesting one. The resolver doesn't reject a &lt;code&gt;"yolo"&lt;/code&gt; value in settings. It just reads past it, as if the key weren't there. The settings schema says it outright: YOLO "can only be enabled via command line".&lt;/p&gt;

&lt;p&gt;Two gates come after the mode is resolved:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Kill switch.&lt;/strong&gt; If &lt;code&gt;security.disableYoloMode&lt;/code&gt; or &lt;code&gt;admin.secureModeEnabled&lt;/code&gt; is set and the resolved mode is YOLO, startup throws a &lt;code&gt;FatalConfigError&lt;/code&gt;. It doesn't quietly drop you to &lt;code&gt;default&lt;/code&gt;. You asked for something that's banned, and the CLI tells you so.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Folder trust.&lt;/strong&gt; If the current folder isn't trusted, any mode other than &lt;code&gt;default&lt;/code&gt; gets forced back to &lt;code&gt;default&lt;/code&gt;, with a warning. This one applies to &lt;code&gt;auto_edit&lt;/code&gt; and &lt;code&gt;plan&lt;/code&gt; too, not just YOLO.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why can't I just put "yolo" in settings.json?
&lt;/h2&gt;

&lt;p&gt;The threat model is a cloned repo.&lt;/p&gt;

&lt;p&gt;Gemini CLI merges settings from several layers, and one of them is the workspace's own &lt;code&gt;.gemini/settings.json&lt;/code&gt;. If a project file could set &lt;code&gt;defaultApprovalMode: "yolo"&lt;/code&gt;, then &lt;code&gt;git clone evil-repo &amp;amp;&amp;amp; cd evil-repo &amp;amp;&amp;amp; gemini&lt;/code&gt; would hand an attacker-controlled &lt;code&gt;GEMINI.md&lt;/code&gt; an agent that never asks before running a shell command. Prompt injection plus auto-approval is the worst combination in agent security.&lt;/p&gt;

&lt;p&gt;So the rule is: YOLO has to come from a human typing a flag (or a key) in this process. Settings can make you &lt;strong&gt;more&lt;/strong&gt; cautious (&lt;code&gt;disableYoloMode&lt;/code&gt;, &lt;code&gt;secureModeEnabled&lt;/code&gt;, folder trust), but never less. If you want YOLO every time, the supported answer is a shell alias:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;alias&lt;/span&gt; gemini-yolo=&lt;span class="s1"&gt;'gemini --approval-mode=yolo --sandbox'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Compare that with Qwen Code, Gemini CLI's fork, which &lt;strong&gt;does&lt;/strong&gt; allow &lt;code&gt;tools.approvalMode: "yolo"&lt;/code&gt; in settings. It pushes the protection down to folder trust instead.&lt;/p&gt;

&lt;h2&gt;
  
  
  Does YOLO turn the sandbox on?
&lt;/h2&gt;

&lt;p&gt;Not in the current code, whatever one older config page says.&lt;/p&gt;

&lt;p&gt;Gemini CLI has two independent layers:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;What it gates&lt;/th&gt;
&lt;th&gt;Switch&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Approval mode&lt;/td&gt;
&lt;td&gt;Whether a human confirms each tool call&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;--approval-mode&lt;/code&gt;, Ctrl+Y, Shift+Tab&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sandbox&lt;/td&gt;
&lt;td&gt;What a tool call can touch once it runs&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;--sandbox&lt;/code&gt;, &lt;code&gt;GEMINI_SANDBOX&lt;/code&gt;, &lt;code&gt;tools.sandbox&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The sandbox resolver never reads the approval mode. With nothing set, it returns "no sandbox". Here's what you get when you turn it on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;macOS, &lt;code&gt;sandbox: true&lt;/code&gt;:&lt;/strong&gt; &lt;code&gt;sandbox-exec&lt;/code&gt; (Seatbelt) is picked first. The default profile is &lt;code&gt;permissive-open&lt;/code&gt;. Despite the name, it starts from &lt;code&gt;(deny default)&lt;/code&gt;, allows file reads anywhere, and allows writes only to the project dir, temp, cache, &lt;code&gt;~/.npm&lt;/code&gt;, &lt;code&gt;~/.cache&lt;/code&gt; and any &lt;code&gt;--include-directories&lt;/code&gt;. It also explicitly blocks the Docker socket and writes to &lt;code&gt;~/.gemini&lt;/code&gt; credential files (&lt;code&gt;oauth_creds.json&lt;/code&gt;, &lt;code&gt;mcp-oauth-tokens.json&lt;/code&gt;, …). Pick another built-in profile with &lt;code&gt;SEATBELT_PROFILE&lt;/code&gt;: &lt;code&gt;permissive-*&lt;/code&gt; and &lt;code&gt;restrictive-*&lt;/code&gt; come in &lt;code&gt;-open&lt;/code&gt;, &lt;code&gt;-closed&lt;/code&gt; and &lt;code&gt;-proxied&lt;/code&gt; network flavors, and &lt;code&gt;strict-*&lt;/code&gt; in &lt;code&gt;-open&lt;/code&gt; and &lt;code&gt;-proxied&lt;/code&gt;. Anything not on that list is rejected, which also stops path traversal through the variable.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Linux/other, &lt;code&gt;sandbox: true&lt;/code&gt;:&lt;/strong&gt; Docker, then Podman, whichever exists.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Explicit only:&lt;/strong&gt; &lt;code&gt;runsc&lt;/code&gt; (gVisor, Linux only, run via Docker's &lt;code&gt;--runtime=runsc&lt;/code&gt;), &lt;code&gt;lxc&lt;/code&gt; (needs a container you already have running, so it's never auto-detected) and &lt;code&gt;windows-native&lt;/code&gt; (Windows only).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A wrong value fails fast. &lt;code&gt;GEMINI_SANDBOX=runsc&lt;/code&gt; on a Mac, or &lt;code&gt;true&lt;/code&gt; with neither Docker nor Podman installed, is a fatal error, not a silent run without a sandbox.&lt;/p&gt;

&lt;p&gt;The point: YOLO plus a sandbox is a reasonable setup. YOLO without one means "run anything with my user's full privileges". Pass &lt;code&gt;--sandbox&lt;/code&gt; yourself.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do Ctrl+Y and Shift+Tab interact?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Ctrl+Y&lt;/strong&gt; toggles between YOLO and &lt;code&gt;default&lt;/code&gt;. This is the only in-session way &lt;strong&gt;into&lt;/strong&gt; YOLO.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Shift+Tab&lt;/strong&gt; cycles &lt;code&gt;default → auto_edit → plan&lt;/code&gt; (plan only if it's enabled). It never lands on YOLO. If you're in YOLO and press it, you drop to &lt;code&gt;auto_edit&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Small design choice, sensible result: the key you hit all the time can't take you to the dangerous mode by accident.&lt;/p&gt;

&lt;p&gt;One more thing: &lt;code&gt;--yolo&lt;/code&gt; together with &lt;code&gt;--approval-mode&lt;/code&gt; doesn't pick a winner. It's a validation error. Ambiguous intent fails at the door.&lt;/p&gt;

&lt;h2&gt;
  
  
  What happens in CI and headless runs?
&lt;/h2&gt;

&lt;p&gt;This edge case trips people up. In non-interactive mode (&lt;code&gt;gemini -p "…"&lt;/code&gt;) there's nobody to answer a prompt, and the policy engine handles that by &lt;strong&gt;translating &lt;code&gt;ask_user&lt;/code&gt; decisions into &lt;code&gt;deny&lt;/code&gt;&lt;/strong&gt;. So in headless &lt;code&gt;default&lt;/code&gt; mode, a tool call that would have asked simply doesn't run.&lt;/p&gt;

&lt;p&gt;Belt and braces: the CLI also removes &lt;code&gt;ask_user&lt;/code&gt;, the tool the model uses to ask you a question, from the toolset in headless and ACP modes. The source comment says why: so that "it can never be allowed via a high-priority policy rule when no human is present". In ACP mode the IDE or client does the asking instead.&lt;/p&gt;

&lt;p&gt;So headless, your options are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;--approval-mode=yolo&lt;/code&gt;, ideally with &lt;code&gt;--sandbox&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;--approval-mode=auto_edit&lt;/code&gt;, plus policy rules that allow the shell commands you need&lt;/li&gt;
&lt;li&gt;or a policy file that says &lt;code&gt;allow&lt;/code&gt; for exactly the tools the job uses&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What are the halfway options?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;auto_edit&lt;/code&gt;&lt;/strong&gt; approves file edits and still asks before shell commands.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;tools.allowed&lt;/code&gt;&lt;/strong&gt; lists tool patterns that skip the prompt, such as &lt;code&gt;run_shell_command(git)&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The policy engine&lt;/strong&gt; is the recommended route: TOML files in &lt;code&gt;~/.gemini/policies/&lt;/code&gt; with &lt;code&gt;allow&lt;/code&gt; / &lt;code&gt;deny&lt;/code&gt; / &lt;code&gt;ask_user&lt;/code&gt; rules, which can be scoped to a mode (including YOLO). &lt;code&gt;--allowed-tools&lt;/code&gt; on the command line is deprecated in its favour.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For the Gemini Code Assist extension in VS Code, set &lt;code&gt;"geminicodeassist.agentYoloMode": true&lt;/code&gt; in user settings and reload the window. Note the familiar rule again: it only works in a &lt;strong&gt;trusted&lt;/strong&gt; workspace. In IntelliJ, the matching option is &lt;strong&gt;Auto-approve changes&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do I turn on YOLO per task or per workspace with AgentRQ?
&lt;/h2&gt;

&lt;p&gt;Gemini CLI's switch is per process: you either started with &lt;code&gt;--approval-mode=yolo&lt;/code&gt; or you didn't. &lt;a href="https://agentrq.com" rel="noopener noreferrer"&gt;AgentRQ&lt;/a&gt; moves that decision onto the task.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Connect Gemini CLI.&lt;/strong&gt; It goes through the &lt;a href="https://agentrq.com/docs/connect-acp-agent" rel="noopener noreferrer"&gt;ACP Gateway&lt;/a&gt;. The &lt;a href="https://agentrq.com/docs/agents/gemini-cli" rel="noopener noreferrer"&gt;Gemini CLI setup guide&lt;/a&gt; and the &lt;a href="https://agentrq.com/blog/agentrq-acp-gateway-gemini-cli" rel="noopener noreferrer"&gt;step-by-step post&lt;/a&gt; have the details:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx @agentrq/acp-gateway@latest --agent gemini
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Start it &lt;strong&gt;without&lt;/strong&gt; &lt;code&gt;--approval-mode=yolo&lt;/code&gt;. The gateway also moves each new session out of any mode that would approve on its own and into one where Gemini CLI asks a person.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Answer from anywhere.&lt;/strong&gt; Each permission request shows up in the AgentRQ task, on the web, on your phone or in Slack, along with the command or edit it's asking about. You answer &lt;strong&gt;Allow Once&lt;/strong&gt;, &lt;strong&gt;Always Allow&lt;/strong&gt; (adds the tool to the workspace's auto-approved list) or &lt;strong&gt;Deny&lt;/strong&gt;. If nobody answers within 30 minutes, the gateway cancels the turn instead of guessing. &lt;code&gt;--permission-timeout&lt;/code&gt; changes that limit.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3a. YOLO for one task.&lt;/strong&gt; Flip the &lt;strong&gt;YOLO&lt;/strong&gt; toggle on a task, or when you create it. Every permission request in that task is approved automatically, while every other task in the workspace still asks. The flag lives on the task, so it persists across agent disconnects and reconnects. &lt;a href="https://agentrq.com/features/task-scheduling" rel="noopener noreferrer"&gt;Scheduled tasks&lt;/a&gt;, &lt;a href="https://agentrq.com/features/events" rel="noopener noreferrer"&gt;event triggers&lt;/a&gt; and &lt;a href="https://agentrq.com/features/workflows" rel="noopener noreferrer"&gt;workflow&lt;/a&gt; steps have the same switch.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3b. YOLO for the whole workspace.&lt;/strong&gt; Workspace settings has &lt;strong&gt;YOLO Mode (Execute All)&lt;/strong&gt; (UI warning: "Agent will not ask for permission"). Under the hood it's a default, not a global override: the approval check reads the task's own YOLO flag, and the workspace switch decides what that flag starts as. New tasks you create in the web form open with the YOLO toggle already on (you can still switch it off per task), and tasks the agent creates for itself over the workspace MCP server inherit it. Flipping the switch doesn't rewrite tasks that already exist.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Or let a model approve and deny for you, from plain-English rules.&lt;/strong&gt; Between "ask me every time" and "approve everything" there's a third option: an &lt;a href="https://github.com/agentrq/agentrq/blob/main/docs/EXTENSIONS.md" rel="noopener noreferrer"&gt;AgentRQ desktop extension&lt;/a&gt; that reviews each permission request before it reaches you. Extensions are trusted Node modules loaded by the AgentRQ desktop app. One registers a reviewer with &lt;code&gt;ctx.hooks.add({ id, review(request) { ... } })&lt;/code&gt; and is handed the pending call: the tool name, the argument preview the harness sent, and the workspace. It answers &lt;code&gt;{ behavior: 'deny', reason }&lt;/code&gt;, &lt;code&gt;{ behavior: 'allow' }&lt;/code&gt;, or nothing at all to abstain. Point &lt;code&gt;review()&lt;/code&gt; at an external decision API such as &lt;a href="https://agentrq.com/blog/jev-system-one-models" rel="noopener noreferrer"&gt;TypeSafe's Jev&lt;/a&gt;, a "System One" model that returns a typed &lt;code&gt;choice&lt;/code&gt; with calibrated &lt;code&gt;probabilities&lt;/code&gt; and a &lt;code&gt;confidence&lt;/code&gt; in milliseconds instead of generating text. Send the tool call as the state, and your workspace's rules in plain English ("git push is fine on feature branches, never on main", "never read anything under ~/.aws") as a Choice question over allow / deny / ask me. Then threshold it: approve only on a high-confidence allow, refuse on a confident deny, and abstain on everything else so the request lands on your phone as usual. The rules can live on a per-workspace settings tab the extension draws itself; the bundled &lt;code&gt;guardrail&lt;/code&gt; example does exactly that with literal patterns.&lt;/p&gt;

&lt;p&gt;The review contract is built on one asymmetry: refusing costs a tool call, approving costs whatever the tool call does. So one refusal settles a request; silence (an abstain, an exception, or a reviewer that misses its 5-second deadline) is never an allow, the request just stays in front of you; and an extension needs the &lt;code&gt;decide&lt;/code&gt; consent level to approve, while &lt;code&gt;deny&lt;/code&gt; consent can only refuse. The install screen starts every extension at &lt;code&gt;none&lt;/code&gt;. Reviews only happen while the desktop app is open and signed in, so treat this as a fast first pass, not a security boundary.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The trade-off.&lt;/strong&gt; Per-task YOLO is scoped trust: it ends when the job you vetted ends, and an unattended nightly job can run in YOLO while your interactive work stays supervised. Workspace-wide YOLO is easier, but it outlives any single decision you made, and every new task inherits it. The setup that holds up: leave the workspace switch off, use per-task YOLO, keep &lt;code&gt;GEMINI_SANDBOX=true&lt;/code&gt; (or &lt;code&gt;"tools": {"sandbox": true}&lt;/code&gt;) so the auto-approved commands still run in a container, start from a clean git tree, and read the &lt;a href="https://agentrq.com/features/tool-call-history" rel="noopener noreferrer"&gt;tool call history&lt;/a&gt; afterwards. More on the per-task model: &lt;a href="https://agentrq.com/features/yolo-mode" rel="noopener noreferrer"&gt;AgentRQ YOLO mode&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Is &lt;code&gt;gemini --yolo&lt;/code&gt; still a thing?&lt;/strong&gt; It works, but it's deprecated. Use &lt;code&gt;--approval-mode=yolo&lt;/code&gt;, and don't pass both.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can I make YOLO the default in settings.json?&lt;/strong&gt; No. The resolver skips &lt;code&gt;"yolo"&lt;/code&gt; in &lt;code&gt;defaultApprovalMode&lt;/code&gt;. Use a shell alias.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What does Ctrl+Y do?&lt;/strong&gt; It toggles YOLO ↔ default in the running session.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does YOLO enable the sandbox?&lt;/strong&gt; Not in the current source. Add &lt;code&gt;--sandbox&lt;/code&gt; or set &lt;code&gt;GEMINI_SANDBOX&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why does Gemini CLI refuse to start with &lt;code&gt;--yolo&lt;/code&gt;?&lt;/strong&gt; &lt;code&gt;security.disableYoloMode&lt;/code&gt; or &lt;code&gt;admin.secureModeEnabled&lt;/code&gt; is set. That's a fatal error by design. If it starts but drops you to &lt;code&gt;default&lt;/code&gt;, the folder isn't trusted.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why do my tool calls silently not run in &lt;code&gt;gemini -p&lt;/code&gt;?&lt;/strong&gt; Headless mode turns "ask" into "deny". Use YOLO (with a sandbox), &lt;code&gt;auto_edit&lt;/code&gt;, or allow rules in a policy file.&lt;/p&gt;

&lt;p&gt;For every other agent, see &lt;a href="https://agentrq.com/blog/what-is-yolo-mode-and-how-to-turn-it-on-in-every-coding-agent" rel="noopener noreferrer"&gt;what YOLO mode is and how to turn it on in every coding agent&lt;/a&gt;.&lt;/p&gt;




&lt;p&gt;Over to you: do you think "YOLO only from a flag, never from settings" is the right call, or should a tool trust your user-level config the way Qwen Code does? And if you run Gemini CLI in CI, which sandbox backend did you end up on? 👇&lt;/p&gt;

&lt;p&gt;Originally published on &lt;a href="https://agentrq.com/guidelines/yolo-mode/gemini-cli" rel="noopener noreferrer"&gt;AgentRQ&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>security</category>
      <category>cli</category>
      <category>gemini</category>
    </item>
    <item>
      <title>How to Enable Claude Code Channels for Team and Enterprise Plans (Step by Step)</title>
      <dc:creator>Mustafa Turan</dc:creator>
      <pubDate>Sat, 10 Oct 2026 19:18:49 +0000</pubDate>
      <link>https://dev.to/agentrq/how-to-enable-claude-code-channels-for-team-and-enterprise-plans-step-by-step-54a8</link>
      <guid>https://dev.to/agentrq/how-to-enable-claude-code-channels-for-team-and-enterprise-plans-step-by-step-54a8</guid>
      <description>&lt;p&gt;You connected Claude Code to a channel, maybe &lt;a href="https://agentrq.com" rel="noopener noreferrer"&gt;AgentRQ&lt;/a&gt;, a Telegram bot or a Discord bot, and sent it a message from your phone. Nothing happened. Claude Code started, the MCP server connected and its tools work, but the message never showed up in the session. A startup warning says to ask your admin.&lt;/p&gt;

&lt;p&gt;If you are on a &lt;strong&gt;claude.ai Team or Enterprise plan&lt;/strong&gt;, that is expected. Channels ship switched &lt;strong&gt;off&lt;/strong&gt; for organizations, and one person has to flip a switch before anyone can use them.&lt;/p&gt;

&lt;p&gt;This guide walks through that switch screen by screen, then covers the managed-settings route and how to limit which channel plugins your team can run.&lt;/p&gt;

&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Claude Code Channels are a research preview, and they are &lt;strong&gt;blocked by default on claude.ai Team and Enterprise&lt;/strong&gt; plans.&lt;/li&gt;
&lt;li&gt;An &lt;strong&gt;Owner&lt;/strong&gt; enables them at &lt;strong&gt;Organization settings → Claude Code → Channels&lt;/strong&gt; (&lt;a href="https://claude.ai/admin-settings/claude-code" rel="noopener noreferrer"&gt;claude.ai/admin-settings/claude-code&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;The alternative is to set &lt;code&gt;channelsEnabled: true&lt;/code&gt; in managed settings. Add &lt;code&gt;allowedChannelPlugins&lt;/code&gt; to pick which plugins can register.&lt;/li&gt;
&lt;li&gt;Once Channels are on, each developer still chooses channels per session. Step 4 shows how to set up AgentRQ, Telegram and Discord.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What are Claude Code Channels, and why are they off for my org?
&lt;/h2&gt;

&lt;p&gt;A &lt;strong&gt;channel&lt;/strong&gt; is an MCP server that &lt;strong&gt;pushes&lt;/strong&gt; events into a Claude Code session that is already running. Ordinary MCP tools only respond when Claude calls them. A channel can deliver a new task, a reply to a question the agent asked you, a CI failure or a monitoring alert into the session while you are away from the terminal. Claude reads the event, does the work against your real files and can reply through the same channel.&lt;/p&gt;

&lt;p&gt;That makes a channel an inbound path into a developer's machine, and Anthropic leaves it to organization admins to decide whether to allow it. The defaults depend on how you sign in:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Account type&lt;/th&gt;
&lt;th&gt;Channels by default&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Pro / Max (no organization)&lt;/td&gt;
&lt;td&gt;Available, opt in per session&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;claude.ai &lt;strong&gt;Team / Enterprise&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Blocked until an Owner enables them&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Console (API key)&lt;/td&gt;
&lt;td&gt;Allowed, unless your org deploys managed settings&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bedrock / Google Cloud / Foundry&lt;/td&gt;
&lt;td&gt;Not available&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;You also need Claude Code &lt;strong&gt;v2.1.80 or later&lt;/strong&gt;. The official channel plugins (Telegram, Discord, iMessage and the fakechat demo) need &lt;a href="https://bun.sh" rel="noopener noreferrer"&gt;Bun&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who can enable Channels?
&lt;/h2&gt;

&lt;p&gt;Only a user with the &lt;strong&gt;Owner&lt;/strong&gt; role on the claude.ai organization. Admins without the Owner role, and regular members, will not be able to change the toggle. If that isn't you, send this post to your Owner.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Open Organization settings
&lt;/h2&gt;

&lt;p&gt;Sign in to &lt;a href="https://claude.ai" rel="noopener noreferrer"&gt;claude.ai&lt;/a&gt; with your Team or Enterprise account. Click your name in the &lt;strong&gt;bottom-left corner&lt;/strong&gt; to open the account menu, make sure your organization (not your personal account) is selected at the top, and choose &lt;strong&gt;Organization settings&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F413pxzc22eddqjffmbgm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F413pxzc22eddqjffmbgm.png" alt="The claude.ai account menu open in the bottom-left corner, with Organization settings highlighted"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: Go to Products → Claude Code and find Channels
&lt;/h2&gt;

&lt;p&gt;In the left sidebar of Organization settings, scroll to the &lt;strong&gt;Products&lt;/strong&gt; group and click &lt;strong&gt;Claude Code&lt;/strong&gt; (1).&lt;/p&gt;

&lt;p&gt;The Claude Code page is long. The quickest way to the setting is your browser's find bar: press &lt;code&gt;Cmd+F&lt;/code&gt; on macOS or &lt;code&gt;Ctrl+F&lt;/code&gt; on Windows and Linux, and type &lt;code&gt;channels&lt;/code&gt; (2). It sits in the &lt;strong&gt;Capabilities&lt;/strong&gt; section, below Dynamic workflows.&lt;/p&gt;

&lt;p&gt;Turn on the &lt;strong&gt;Channels&lt;/strong&gt; toggle (3). It carries a &lt;strong&gt;Preview&lt;/strong&gt; badge, and its description reads: "Allow your team to receive inbound messages from MCP servers in Claude Code sessions."&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fepszshustshzvzxc7u7c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fepszshustshzvzxc7u7c.png" alt="Organization settings, Claude Code page: (1) Products → Claude Code in the sidebar, (2) the browser find bar searching for channels, (3) the Channels Preview toggle switched on"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can skip the menu clicks by opening the page directly: &lt;a href="https://claude.ai/admin-settings/claude-code" rel="noopener noreferrer"&gt;claude.ai/admin-settings/claude-code&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: Confirm it says "Set by admin"
&lt;/h2&gt;

&lt;p&gt;Once the toggle is on, the label next to it changes from &lt;strong&gt;Default&lt;/strong&gt; to &lt;strong&gt;Set by admin&lt;/strong&gt;. That label shows the setting is now enforced for the whole organization, and members cannot override it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fij9oou9xpe7fwje0e9cg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fij9oou9xpe7fwje0e9cg.png" alt="The Channels Preview setting switched on, labelled Set by admin"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That's the whole admin side.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4: Connect a channel (AgentRQ, Telegram or Discord)
&lt;/h2&gt;

&lt;p&gt;Turning the setting on doesn't start anything. Each developer still picks which channel servers their session will trust. Below are three common setups: AgentRQ, plus Anthropic's official Telegram and Discord plugins. Pick one, or run several at once.&lt;/p&gt;

&lt;h3&gt;
  
  
  Option A: AgentRQ
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://agentrq.com" rel="noopener noreferrer"&gt;AgentRQ&lt;/a&gt; lets you assign tasks, answer the agent's questions and approve its actions from your phone or desktop while Claude Code keeps running on your machine. You don't run a bot or a server.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Create a workspace.&lt;/strong&gt; Sign in at &lt;a href="https://app.agentrq.com" rel="noopener noreferrer"&gt;app.agentrq.com&lt;/a&gt;, create a workspace for your project and click &lt;strong&gt;Generate MCP Token&lt;/strong&gt;. The token is shown only once, so copy it. Note the workspace ID too.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Add the server to &lt;code&gt;.mcp.json&lt;/code&gt;&lt;/strong&gt; in the project root, where you run &lt;code&gt;claude&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"mcpServers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"agentrq-WORKSPACE_ID"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"http"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"https://WORKSPACE_ID.mcp.agentrq.com/mcp?token=YOUR_MCP_TOKEN"&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The server key has to include your workspace ID, because the next command refers to the server by that name.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Start Claude Code with the server as a channel:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude &lt;span class="nt"&gt;--dangerously-load-development-channels&lt;/span&gt; server:agentrq-WORKSPACE_ID &lt;span class="nt"&gt;--name&lt;/span&gt; my-api-project
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A server in &lt;code&gt;.mcp.json&lt;/code&gt; alone gives Claude the AgentRQ tools, but it can't push anything into the session. New tasks and your replies only arrive as they happen when the server is also named as a channel.&lt;/p&gt;

&lt;p&gt;AgentRQ is a custom channel. During the research preview, only the plugins on Anthropic's allowlist load through &lt;code&gt;--channels&lt;/code&gt;, so a custom channel like this one loads through &lt;code&gt;--dangerously-load-development-channels&lt;/code&gt;. That flag skips the plugin allowlist after a confirmation prompt. &lt;strong&gt;It does not get around an organization that has Channels turned off&lt;/strong&gt;, which is why the Owner toggle above comes first. &lt;code&gt;--name&lt;/code&gt; just labels the session.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Send it work.&lt;/strong&gt; Create a task in the AgentRQ app. It arrives in the running session as a &lt;code&gt;&amp;lt;channel&amp;gt;&lt;/code&gt; event, Claude starts on it, and its progress updates and questions come back to the app.&lt;/p&gt;

&lt;h3&gt;
  
  
  Option B: Telegram
&lt;/h3&gt;

&lt;p&gt;The official plugins run on &lt;a href="https://bun.sh" rel="noopener noreferrer"&gt;Bun&lt;/a&gt;, so install that first.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;In Telegram, open &lt;a href="https://t.me/BotFather" rel="noopener noreferrer"&gt;@BotFather&lt;/a&gt;, send &lt;code&gt;/newbot&lt;/code&gt;, choose a name and a username ending in &lt;code&gt;bot&lt;/code&gt;, and copy the token it returns.&lt;/li&gt;
&lt;li&gt;Install the plugin and save the token. Run these inside Claude Code:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/plugin install telegram@claude-plugins-official
/telegram:configure &amp;lt;token&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Exit Claude Code and restart it with the channel:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude &lt;span class="nt"&gt;--channels&lt;/span&gt; plugin:telegram@claude-plugins-official
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Send any message to your bot. It replies with a pairing code. Approve the code and lock access to your account:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/telegram:access pair &amp;lt;code&amp;gt;
/telegram:access policy allowlist
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Option C: Discord
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;In the &lt;a href="https://discord.com/developers/applications" rel="noopener noreferrer"&gt;Discord Developer Portal&lt;/a&gt;, create an application. In the &lt;strong&gt;Bot&lt;/strong&gt; section, click &lt;strong&gt;Reset Token&lt;/strong&gt; and copy it. Under &lt;strong&gt;Privileged Gateway Intents&lt;/strong&gt;, turn on &lt;strong&gt;Message Content Intent&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Under &lt;strong&gt;OAuth2 → URL Generator&lt;/strong&gt;, select the &lt;code&gt;bot&lt;/code&gt; scope with these permissions: View Channels, Send Messages, Send Messages in Threads, Read Message History, Attach Files and Add Reactions. Open the generated URL to add the bot to your server.&lt;/li&gt;
&lt;li&gt;Install the plugin, save the token, then restart with the channel:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/plugin install discord@claude-plugins-official
/discord:configure &amp;lt;token&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude &lt;span class="nt"&gt;--channels&lt;/span&gt; plugin:discord@claude-plugins-official
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Send the bot a DM. It replies with a pairing code. Approve it and lock access:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/discord:access pair &amp;lt;code&amp;gt;
/discord:access policy allowlist
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To run more than one channel in a session, list them all. &lt;code&gt;--channels&lt;/code&gt; takes several plugins separated by spaces, and you can use it together with &lt;code&gt;--dangerously-load-development-channels&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude &lt;span class="nt"&gt;--channels&lt;/span&gt; plugin:telegram@claude-plugins-official plugin:discord@claude-plugins-official &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--dangerously-load-development-channels&lt;/span&gt; server:agentrq-WORKSPACE_ID
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Neither flag shows up in &lt;code&gt;claude --help&lt;/code&gt; while Channels are in preview, but both work. If the org setting is still off, every server connects and its tools work, but no channel messages arrive, and a startup warning tells the user to ask an admin.&lt;/p&gt;

&lt;h2&gt;
  
  
  Can I enable Channels with managed settings instead?
&lt;/h2&gt;

&lt;p&gt;Yes. If you already roll out Claude Code &lt;a href="https://code.claude.com/docs/en/settings" rel="noopener noreferrer"&gt;managed settings&lt;/a&gt;, set the master switch there:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"channelsEnabled"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That is the same switch as the toggle above, and users cannot override it. Console organizations that deploy managed settings need this key too, because deploying managed settings blocks Channels until it is set.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do I restrict which channel plugins can run?
&lt;/h2&gt;

&lt;p&gt;By default, any plugin on Anthropic's channel allowlist can register, which means the ones in &lt;a href="https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins" rel="noopener noreferrer"&gt;claude-plugins-official&lt;/a&gt;. On Team and Enterprise you can &lt;strong&gt;replace&lt;/strong&gt; that list with &lt;code&gt;allowedChannelPlugins&lt;/code&gt;. Each entry names a plugin and the marketplace it comes from:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"channelsEnabled"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"allowedChannelPlugins"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"marketplace"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"claude-plugins-official"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"plugin"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"telegram"&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"marketplace"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"claude-plugins-official"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"plugin"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"discord"&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"marketplace"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"acme-corp-plugins"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"plugin"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"internal-alerts"&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A few rules worth knowing:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;allowedChannelPlugins&lt;/code&gt; only applies when &lt;code&gt;channelsEnabled&lt;/code&gt; is &lt;code&gt;true&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;If a plugin isn't on your list, Claude Code still starts, but the channel doesn't register. The startup notice says the plugin is not on the organization's approved list.&lt;/li&gt;
&lt;li&gt;Each entry has to match the &lt;strong&gt;plugin name&lt;/strong&gt; as well as the marketplace.&lt;/li&gt;
&lt;li&gt;An &lt;strong&gt;empty array&lt;/strong&gt; blocks every allowlisted plugin. Servers loaded with &lt;code&gt;--dangerously-load-development-channels&lt;/code&gt;, such as AgentRQ, can still run. To shut Channels off completely, development flag included, leave &lt;code&gt;channelsEnabled&lt;/code&gt; unset.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What should admins think about before turning it on?
&lt;/h2&gt;

&lt;p&gt;Channels are useful because they let outside events reach a session, and that is also the part to plan for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Who can reach the session.&lt;/strong&gt; Telegram and Discord keep a sender allowlist that you fill by pairing, and messages from anyone else are dropped silently. Always finish with &lt;code&gt;access policy allowlist&lt;/code&gt;. With AgentRQ, the workspace MCP token is the key. Anyone with the token can connect to the workspace, so keep &lt;code&gt;.mcp.json&lt;/code&gt; out of public repos and generate a new token if one leaks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Who can approve actions.&lt;/strong&gt; If a channel relays permission prompts, anyone who can answer through it can approve or deny tool use in that session. Only give that access to people you would trust at the keyboard.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unattended sessions.&lt;/strong&gt; People who pair Channels with &lt;code&gt;--dangerously-skip-permissions&lt;/code&gt; should do it only in environments they trust.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Do I need to restart Claude Code after the admin enables Channels?&lt;/strong&gt;&lt;br&gt;
Yes. The setting is checked when a session starts. Exit and relaunch with the channel flag.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The MCP server connects and its tools work, so why don't messages arrive?&lt;/strong&gt;&lt;br&gt;
That is the exact symptom of Channels being off at the org level. The server still connects, but channel messages are dropped. Check the startup warning, then ask your Owner to check &lt;strong&gt;Organization settings → Claude Code → Channels&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;I'm an Admin but the toggle doesn't change.&lt;/strong&gt;&lt;br&gt;
Enabling Channels requires the &lt;strong&gt;Owner&lt;/strong&gt; role.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does enabling Channels connect everyone to AgentRQ, Telegram or Discord automatically?&lt;/strong&gt;&lt;br&gt;
No. It only allows Channels. Each developer still sets up a channel and names it with &lt;code&gt;--channels&lt;/code&gt; or &lt;code&gt;--dangerously-load-development-channels&lt;/code&gt; when they start a session.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Are Channels available on Bedrock, Google Cloud or Microsoft Foundry?&lt;/strong&gt;&lt;br&gt;
No. They need Anthropic authentication, either a claude.ai login or a Console API key.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Is this stable?&lt;/strong&gt;&lt;br&gt;
Channels are still a &lt;strong&gt;research preview&lt;/strong&gt;. Anthropic says the flag syntax and the protocol may change, so check the &lt;a href="https://code.claude.com/docs/en/channels#enable-channels-for-your-organization" rel="noopener noreferrer"&gt;official Channels docs&lt;/a&gt; before you script it.&lt;/p&gt;




&lt;p&gt;Has your team turned Channels on yet? What's the first thing you'd hand to an agent you can reach from your phone? Tell us in the comments.&lt;/p&gt;

</description>
      <category>claude</category>
      <category>ai</category>
      <category>mcp</category>
      <category>devops</category>
    </item>
    <item>
      <title>Codex CLI YOLO mode: two knobs, one flag, and why --yolo also kills the sandbox</title>
      <dc:creator>Tony</dc:creator>
      <pubDate>Sat, 10 Oct 2026 15:30:53 +0000</pubDate>
      <link>https://dev.to/agentrq/codex-cli-yolo-mode-two-knobs-one-flag-and-why-yolo-also-kills-the-sandbox-13ja</link>
      <guid>https://dev.to/agentrq/codex-cli-yolo-mode-two-knobs-one-flag-and-why-yolo-also-kills-the-sandbox-13ja</guid>
      <description>&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;codex --yolo&lt;/code&gt; is a short alias of &lt;code&gt;--dangerously-bypass-approvals-and-sandbox&lt;/code&gt;. It sets &lt;strong&gt;approvals to &lt;code&gt;never&lt;/code&gt;&lt;/strong&gt; &lt;em&gt;and&lt;/em&gt; &lt;strong&gt;the sandbox to &lt;code&gt;danger-full-access&lt;/code&gt;&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;That second part is unusual. Claude Code's and Gemini CLI's YOLO modes skip prompts but leave sandboxing alone. Codex's removes both.&lt;/li&gt;
&lt;li&gt;The two knobs are orthogonal: &lt;code&gt;-a never -s workspace-write&lt;/code&gt; gives you "never ask, but stay fenced", which is what most people actually want.&lt;/li&gt;
&lt;li&gt;The sandbox is real OS isolation: &lt;strong&gt;Seatbelt&lt;/strong&gt; (&lt;code&gt;sandbox-exec&lt;/code&gt;) on macOS, &lt;strong&gt;bubblewrap + seccomp&lt;/strong&gt; on Linux/WSL2, a native sandbox on Windows, and &lt;strong&gt;nothing&lt;/strong&gt; on WSL1.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;codex exec&lt;/code&gt; never asks for approval, so in CI the sandbox is the &lt;em&gt;only&lt;/em&gt; knob that matters.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every flag below was checked against openai/codex at commit 72c9595 (release 0.161.0), &lt;code&gt;@agentclientprotocol/codex-acp&lt;/code&gt; 2.1.1 and OpenAI's Codex docs on October 7, 2026.&lt;/p&gt;




&lt;h2&gt;
  
  
  What are the two knobs?
&lt;/h2&gt;

&lt;p&gt;Codex models safety as two independent dimensions:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Knob&lt;/th&gt;
&lt;th&gt;Config key&lt;/th&gt;
&lt;th&gt;CLI flag&lt;/th&gt;
&lt;th&gt;Values&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;When to ask you&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;approval_policy&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;-a&lt;/code&gt; / &lt;code&gt;--ask-for-approval&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;on-request&lt;/code&gt; (default), &lt;code&gt;never&lt;/code&gt;, or a &lt;code&gt;granular&lt;/code&gt; table&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;What a command can reach&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;sandbox_mode&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;-s&lt;/code&gt; / &lt;code&gt;--sandbox&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;read-only&lt;/code&gt;, &lt;code&gt;workspace-write&lt;/code&gt;, &lt;code&gt;danger-full-access&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;code&gt;on-request&lt;/code&gt; means the model may stop and ask whenever it wants to do something the sandbox would block. The sandbox then decides, at the OS level, which files are writable and whether there's network.&lt;/p&gt;

&lt;p&gt;Because the knobs are independent, you get a 2×3 grid of behaviours. The interesting cells:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;codex -a never -s danger-full-access   &lt;span class="c"&gt;# == codex --yolo&lt;/span&gt;
codex -a never -s workspace-write      &lt;span class="c"&gt;# never asks, still fenced&lt;/span&gt;
codex -a on-request -s danger-full-access  &lt;span class="c"&gt;# no fence, may still ask (rarely does)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The middle one has a lovely failure mode: when a command needs more than the sandbox allows, it simply &lt;strong&gt;fails&lt;/strong&gt;, and the error goes back to the model to work around. No human in the loop, but no escape either.&lt;/p&gt;

&lt;p&gt;On the CLI, &lt;code&gt;-a&lt;/code&gt; only accepts &lt;code&gt;on-request&lt;/code&gt; and &lt;code&gt;never&lt;/code&gt;. Combining flags that both set a knob is rejected: &lt;code&gt;--yolo&lt;/code&gt; can't be combined with &lt;code&gt;-a&lt;/code&gt;, and &lt;code&gt;--approve-for-me&lt;/code&gt; can't be combined with &lt;code&gt;-a&lt;/code&gt;, &lt;code&gt;-s&lt;/code&gt; or &lt;code&gt;--yolo&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why does Codex's YOLO also drop the sandbox?
&lt;/h2&gt;

&lt;p&gt;Because the flag's own help text says it's meant for environments that are &lt;strong&gt;already sandboxed from the outside&lt;/strong&gt; (it calls itself "EXTREMELY DANGEROUS"). The design assumption is: if you're telling Codex "never ask", you're probably in a container, VM or CI runner where an inner sandbox is just friction. That assumption is great in CI and terrible on your laptop.&lt;/p&gt;

&lt;p&gt;Here's what &lt;code&gt;danger-full-access&lt;/code&gt; actually means. Not "the project". Everything &lt;strong&gt;your user account&lt;/strong&gt; can reach:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Every file you can read or write: &lt;code&gt;~/.ssh&lt;/code&gt;, &lt;code&gt;~/.aws&lt;/code&gt;, &lt;code&gt;~/.config/gcloud&lt;/code&gt;, browser profiles, other repos, dotfiles.&lt;/li&gt;
&lt;li&gt;Unrestricted network: download-and-run, call APIs with any token it finds, exfiltrate anything.&lt;/li&gt;
&lt;li&gt;Your git identity: &lt;code&gt;.git&lt;/code&gt; is no longer protected, so history rewrites and &lt;code&gt;git push --force&lt;/code&gt; go out as you.&lt;/li&gt;
&lt;li&gt;Every exported env var in the shell that started Codex.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Now add prompt injection. A malicious instruction in a README, an issue, or a fetched web page can steer the model, and with YOLO on nothing pauses to ask you.&lt;/p&gt;

&lt;h2&gt;
  
  
  How is the sandbox actually built?
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Platform&lt;/th&gt;
&lt;th&gt;Mechanism&lt;/th&gt;
&lt;th&gt;Notes&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;macOS&lt;/td&gt;
&lt;td&gt;Seatbelt via &lt;code&gt;sandbox-exec&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Built into the OS, nothing to install&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Linux&lt;/td&gt;
&lt;td&gt;bubblewrap + a seccomp network filter&lt;/td&gt;
&lt;td&gt;Uses &lt;code&gt;bwrap&lt;/code&gt; from &lt;code&gt;PATH&lt;/code&gt; or a bundled copy. The old Landlock backend is legacy and refused for filesystem-restricted policies&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;WSL2&lt;/td&gt;
&lt;td&gt;Same as Linux&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;WSL1&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;None&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;WSL1 can't create the user namespaces bubblewrap needs, so Codex refuses sandboxed commands&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Native Windows&lt;/td&gt;
&lt;td&gt;Codex's own sandbox&lt;/td&gt;
&lt;td&gt;Unelevated and elevated variants; &lt;code&gt;/setup-default-sandbox&lt;/code&gt; sets up the elevated one&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The Linux one is the gotcha. bubblewrap needs &lt;strong&gt;unprivileged user namespaces&lt;/strong&gt;. Inside an unprivileged container they're often unavailable, you get a startup warning, and the sandbox can't start. That's the one situation where running &lt;code&gt;--yolo&lt;/code&gt; inside a container is the normal setup rather than a shortcut: the container &lt;em&gt;is&lt;/em&gt; the sandbox.&lt;/p&gt;

&lt;p&gt;Even in &lt;code&gt;workspace-write&lt;/code&gt;, Codex keeps &lt;code&gt;.git&lt;/code&gt;, &lt;code&gt;.codex&lt;/code&gt; and &lt;code&gt;.agents&lt;/code&gt; &lt;strong&gt;read-only&lt;/strong&gt;, so it can't rewrite history or its own config without asking. That's a neat detail: the agent's own control plane is outside its write fence.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do I get most of YOLO without dropping the fence?
&lt;/h2&gt;

&lt;p&gt;Most YOLO cravings come from two &lt;code&gt;workspace-write&lt;/code&gt; limits: no network, and no writes outside the project. Open them individually:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight toml"&gt;&lt;code&gt;&lt;span class="na"&gt;sandbox_mode&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"workspace-write"&lt;/span&gt;
&lt;span class="na"&gt;approval_policy&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"never"&lt;/span&gt;

&lt;span class="k"&gt;[sandbox_workspace_write]&lt;/span&gt;
&lt;span class="na"&gt;network_access&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
&lt;span class="na"&gt;writable_roots&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"/Users/me/.cache/pip"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;network_access&lt;/code&gt; makes &lt;code&gt;npm install&lt;/code&gt;/&lt;code&gt;pip install&lt;/code&gt; work. &lt;code&gt;writable_roots&lt;/code&gt; (or &lt;code&gt;--add-dir &amp;lt;DIR&amp;gt;&lt;/code&gt; per run) adds folders. &lt;code&gt;exclude_tmpdir_env_var&lt;/code&gt; and &lt;code&gt;exclude_slash_tmp&lt;/code&gt; remove &lt;code&gt;$TMPDIR&lt;/code&gt; and &lt;code&gt;/tmp&lt;/code&gt; from the writable set if you want it tighter.&lt;/p&gt;

&lt;h2&gt;
  
  
  How does config precedence work, and where does project trust fit?
&lt;/h2&gt;

&lt;p&gt;Codex reads &lt;code&gt;~/.codex/config.toml&lt;/code&gt; (or &lt;code&gt;$CODEX_HOME/config.toml&lt;/code&gt;). The YOLO default is just:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight toml"&gt;&lt;code&gt;&lt;span class="na"&gt;approval_policy&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"never"&lt;/span&gt;
&lt;span class="na"&gt;sandbox_mode&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"danger-full-access"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A few precedence rules worth knowing:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;-c key=value&lt;/code&gt;&lt;/strong&gt; overrides any key for one run.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Permission profiles&lt;/strong&gt;: &lt;code&gt;default_permissions = ":danger-full-access"&lt;/code&gt; (also &lt;code&gt;:workspace&lt;/code&gt;, &lt;code&gt;:read-only&lt;/code&gt;) is the newer form, and &lt;strong&gt;wins over &lt;code&gt;sandbox_mode&lt;/code&gt;&lt;/strong&gt; when set.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Profiles&lt;/strong&gt;: &lt;code&gt;codex -p yolo&lt;/code&gt; layers &lt;code&gt;~/.codex/yolo.config.toml&lt;/code&gt; on top of your normal config. Keeping YOLO in a profile means it's opt-in per launch. (Old &lt;code&gt;[profiles.yolo]&lt;/code&gt; tables still load, but &lt;code&gt;-p&lt;/code&gt; now means the separate file.)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Managed &lt;code&gt;requirements.toml&lt;/code&gt;&lt;/strong&gt;: an admin can forbid &lt;code&gt;never&lt;/code&gt; or &lt;code&gt;danger-full-access&lt;/code&gt;, and Codex falls back to the allowed default.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Retired value&lt;/strong&gt;: &lt;code&gt;approval_policy = "untrusted"&lt;/code&gt; is now a hard error at startup. &lt;code&gt;on-failure&lt;/code&gt; is still accepted as another name for &lt;code&gt;on-request&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Project trust&lt;/strong&gt; is how Codex handles the "random cloned repo" problem. The first time you open a folder, Codex asks whether you trust it and records &lt;code&gt;trust_level = "trusted"&lt;/code&gt; under &lt;code&gt;[projects."/path"]&lt;/code&gt; in &lt;em&gt;your&lt;/em&gt; config. A trusted, version-controlled project starts in &lt;code&gt;workspace-write&lt;/code&gt; + &lt;code&gt;on-request&lt;/code&gt;; anything untrusted or not under version control starts &lt;strong&gt;read-only&lt;/strong&gt;. Trust only sets the &lt;em&gt;default&lt;/em&gt;: an explicit &lt;code&gt;--yolo&lt;/code&gt; or config key still wins. The point is that the decision lives in your home directory, not in the repo.&lt;/p&gt;

&lt;h2&gt;
  
  
  How does the in-session switch work?
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;/permissions&lt;/code&gt; opens a picker with three presets:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Preset&lt;/th&gt;
&lt;th&gt;Approvals&lt;/th&gt;
&lt;th&gt;Sandbox&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Read Only&lt;/td&gt;
&lt;td&gt;on-request&lt;/td&gt;
&lt;td&gt;&lt;code&gt;read-only&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Default&lt;/td&gt;
&lt;td&gt;on-request&lt;/td&gt;
&lt;td&gt;&lt;code&gt;workspace-write&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Full Access&lt;/td&gt;
&lt;td&gt;never&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;danger-full-access&lt;/code&gt; (the YOLO preset)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;With the Auto-review experiment on, there's also an Auto-review mode that routes approvals to an automatic reviewer (the CLI equivalent is &lt;code&gt;--approve-for-me&lt;/code&gt;, hidden alias &lt;code&gt;--not-so-yolo&lt;/code&gt;, which pairs that reviewer with &lt;code&gt;workspace-write&lt;/code&gt;). &lt;code&gt;/approvals&lt;/code&gt; is gone; &lt;code&gt;/approve&lt;/code&gt; only retries one action the reviewer rejected. There's no keyboard shortcut to Full Access, which is deliberate friction.&lt;/p&gt;

&lt;p&gt;Gotcha: config is read at session start. Edit &lt;code&gt;config.toml&lt;/code&gt; mid-session and nothing changes until you restart or use &lt;code&gt;/permissions&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What changes in CI with codex exec?
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;codex exec&lt;/code&gt; runs one task non-interactively. There's nobody to ask, so it &lt;strong&gt;never asks&lt;/strong&gt; and has no &lt;code&gt;-a&lt;/code&gt; flag. The sandbox is the only knob, and it &lt;strong&gt;defaults to read-only&lt;/strong&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;codex &lt;span class="nb"&gt;exec&lt;/span&gt; &lt;span class="s2"&gt;"summarize the open TODOs"&lt;/span&gt;                        &lt;span class="c"&gt;# read-only&lt;/span&gt;
codex &lt;span class="nb"&gt;exec&lt;/span&gt; --sandbox workspace-write &lt;span class="s2"&gt;"fix the failing tests"&lt;/span&gt;
codex &lt;span class="nb"&gt;exec&lt;/span&gt; --yolo &lt;span class="s2"&gt;"run the full release script"&lt;/span&gt;              &lt;span class="c"&gt;# no sandbox&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;exec&lt;/code&gt; refuses to run outside a git repo unless you pass &lt;code&gt;--skip-git-repo-check&lt;/code&gt; (or &lt;code&gt;--yolo&lt;/code&gt;, which skips it too). &lt;code&gt;--json&lt;/code&gt; streams JSON Lines events; &lt;code&gt;-o &amp;lt;file&amp;gt;&lt;/code&gt; writes the final message. Use &lt;code&gt;CODEX_API_KEY&lt;/code&gt; scoped to that one step, not job-wide, if the workflow checks out untrusted code.&lt;/p&gt;

&lt;p&gt;On GitHub, &lt;code&gt;openai/codex-action@v1&lt;/code&gt; keeps the key behind a proxy, drops &lt;code&gt;sudo&lt;/code&gt; by default (&lt;code&gt;safety-strategy: drop-sudo&lt;/code&gt;), and takes &lt;code&gt;permission-profile: ":workspace"&lt;/code&gt;. A hosted runner is exactly the "outer sandbox" &lt;code&gt;--yolo&lt;/code&gt; assumes, but the workspace profile is usually enough.&lt;/p&gt;

&lt;p&gt;Two more things YOLO does &lt;strong&gt;not&lt;/strong&gt; skip: hooks still need to be trusted once (&lt;code&gt;--dangerously-bypass-hook-trust&lt;/code&gt; exists for automation that vets them), and &lt;code&gt;--full-auto&lt;/code&gt; is simply gone (use &lt;code&gt;-s workspace-write&lt;/code&gt;).&lt;/p&gt;

&lt;h2&gt;
  
  
  How does YOLO map over ACP?
&lt;/h2&gt;

&lt;p&gt;Codex doesn't speak the Agent Client Protocol natively. &lt;code&gt;@agentclientprotocol/codex-acp&lt;/code&gt; is a stdio adapter that starts the Codex App Server and translates both ways. Over ACP there are no flags, just four session modes:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;ACP mode&lt;/th&gt;
&lt;th&gt;Approvals&lt;/th&gt;
&lt;th&gt;Sandbox&lt;/th&gt;
&lt;th&gt;CLI equivalent&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;read-only&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;asks you&lt;/td&gt;
&lt;td&gt;read-only&lt;/td&gt;
&lt;td&gt;&lt;code&gt;-s read-only&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;workspace-write&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;asks you&lt;/td&gt;
&lt;td&gt;workspace-write&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;/permissions&lt;/code&gt; Default&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;agent&lt;/code&gt; (default)&lt;/td&gt;
&lt;td&gt;automatic reviewer&lt;/td&gt;
&lt;td&gt;workspace-write&lt;/td&gt;
&lt;td&gt;&lt;code&gt;--approve-for-me&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;agent-full-access&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;never&lt;/td&gt;
&lt;td&gt;danger-full-access&lt;/td&gt;
&lt;td&gt;&lt;code&gt;--yolo&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Note the default is &lt;code&gt;agent&lt;/code&gt;, so Codex over ACP doesn't ask you about most things even before YOLO. &lt;code&gt;INITIAL_AGENT_MODE=agent-full-access&lt;/code&gt; starts it in YOLO; &lt;code&gt;CODEX_CONFIG&lt;/code&gt; merges a JSON object into session config.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do I turn on YOLO per task or per workspace with AgentRQ?
&lt;/h2&gt;

&lt;p&gt;Every Codex switch above is session-scoped. If you want YOLO for &lt;em&gt;one job&lt;/em&gt; and approvals for everything else, move the decision out of Codex and into a task.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Connect Codex through the &lt;a href="https://agentrq.com/docs/connect-acp-agent" rel="noopener noreferrer"&gt;ACP Gateway&lt;/a&gt;&lt;/strong&gt; (&lt;a href="https://agentrq.com/docs/agents/codex-cli" rel="noopener noreferrer"&gt;Codex CLI ACP setup guide&lt;/a&gt;):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx @agentrq/acp-gateway@latest --login --agent codex-acp   &lt;span class="c"&gt;# once&lt;/span&gt;
npx @agentrq/acp-gateway@latest --agent codex-acp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The gateway moves each new session out of any self-approving mode (Auto review, Full access) and into &lt;strong&gt;read-only&lt;/strong&gt;, so every edit and command comes to you as a permission request in the AgentRQ task, on the web, your phone or &lt;a href="https://agentrq.com/docs/integrations/slack" rel="noopener noreferrer"&gt;Slack&lt;/a&gt;. You answer:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Allow Once&lt;/strong&gt;: this call only.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Always Allow&lt;/strong&gt;: adds the tool to the workspace's auto-approved list.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deny&lt;/strong&gt;: Codex gets the rejection; you can reply with what to do instead.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If nobody answers within 30 minutes, the gateway cancels the turn instead of guessing (&lt;code&gt;--permission-timeout&lt;/code&gt; changes it).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2a. Per task.&lt;/strong&gt; Flip the &lt;strong&gt;YOLO&lt;/strong&gt; toggle on a task, or set it at creation. Every permission request in that task is auto-approved; every other task still asks. &lt;a href="https://agentrq.com/features/task-scheduling" rel="noopener noreferrer"&gt;Scheduled tasks&lt;/a&gt;, &lt;a href="https://agentrq.com/features/events" rel="noopener noreferrer"&gt;event triggers&lt;/a&gt; and &lt;a href="https://agentrq.com/features/workflows" rel="noopener noreferrer"&gt;workflow&lt;/a&gt; steps have the same switch. The per-task flag persists across agent disconnects and reconnects.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2b. Per workspace.&lt;/strong&gt; Workspace settings has &lt;strong&gt;YOLO Mode (Execute All)&lt;/strong&gt; (UI warning: "Agent will not ask for permission"). Under the hood it's a default, not a global override: the approval check reads the task's own YOLO flag, and the workspace switch decides what that flag starts as. New tasks you create in the web form open with the YOLO toggle already on (you can still switch it off per task), and tasks the agent creates for itself over the workspace MCP server inherit it. Flipping the switch doesn't rewrite tasks that already exist.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Or let a model approve and deny for you, from plain-English rules.&lt;/strong&gt; Between "ask me every time" and "approve everything" there's a third option: an &lt;a href="https://github.com/agentrq/agentrq/blob/main/docs/EXTENSIONS.md" rel="noopener noreferrer"&gt;AgentRQ desktop extension&lt;/a&gt; that reviews each permission request before it reaches you. Extensions are trusted Node modules loaded by the AgentRQ desktop app. One registers a reviewer with &lt;code&gt;ctx.hooks.add({ id, review(request) { ... } })&lt;/code&gt; and is handed the pending call: the tool name, the argument preview the harness sent, and the workspace. It answers &lt;code&gt;{ behavior: 'deny', reason }&lt;/code&gt;, &lt;code&gt;{ behavior: 'allow' }&lt;/code&gt;, or nothing at all to abstain. Point &lt;code&gt;review()&lt;/code&gt; at an external decision API such as &lt;a href="https://agentrq.com/blog/jev-system-one-models" rel="noopener noreferrer"&gt;TypeSafe's Jev&lt;/a&gt;, a "System One" model that returns a typed &lt;code&gt;choice&lt;/code&gt; with calibrated &lt;code&gt;probabilities&lt;/code&gt; and a &lt;code&gt;confidence&lt;/code&gt; in milliseconds instead of generating text. Send the tool call as the state, and your workspace's rules in plain English ("git push is fine on feature branches, never on main", "never read anything under ~/.aws") as a Choice question over allow / deny / ask me. Then threshold it: approve only on a high-confidence allow, refuse on a confident deny, and abstain on everything else so the request lands on your phone as usual. The rules can live on a per-workspace settings tab the extension draws itself; the bundled &lt;code&gt;guardrail&lt;/code&gt; example does exactly that with literal patterns.&lt;/p&gt;

&lt;p&gt;The review contract is built on one asymmetry: refusing costs a tool call, approving costs whatever the tool call does. So one refusal settles a request; silence (an abstain, an exception, or a reviewer that misses its 5-second deadline) is never an allow, the request just stays in front of you; and an extension needs the &lt;code&gt;decide&lt;/code&gt; consent level to approve, while &lt;code&gt;deny&lt;/code&gt; consent can only refuse. The install screen starts every extension at &lt;code&gt;none&lt;/code&gt;. Reviews only happen while the desktop app is open and signed in, so treat this as a fast first pass, not a security boundary.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The trade-off.&lt;/strong&gt; Workspace-wide is AgentRQ's version of putting &lt;code&gt;approval_policy = "never"&lt;/code&gt; in your global config: zero friction, but it outlives the job you trusted. Per-task YOLO scopes it to one unit of work. Crucially, YOLO in AgentRQ only removes the &lt;em&gt;questions&lt;/em&gt;: Codex keeps the sandbox of the mode it's in, so it never turns into &lt;code&gt;danger-full-access&lt;/code&gt;. Concrete example: task A ("upgrade test deps and fix what breaks", YOLO on) runs to the end unattended; task B ("clean up the staging deploy script", YOLO off) pings your phone for &lt;code&gt;./deploy.sh --dry-run&lt;/code&gt; (Allow Once) and later &lt;code&gt;git push --force origin staging&lt;/code&gt; (Deny, "open a PR instead"). Same Codex, same gateway. Start YOLO tasks from a clean git tree and check the &lt;a href="https://agentrq.com/features/tool-call-history" rel="noopener noreferrer"&gt;tool call history&lt;/a&gt; afterwards. More in the &lt;a href="https://agentrq.com/features/yolo-mode" rel="noopener noreferrer"&gt;YOLO mode feature page&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Is &lt;code&gt;--yolo&lt;/code&gt; the same as &lt;code&gt;--dangerously-bypass-approvals-and-sandbox&lt;/code&gt;?&lt;/strong&gt; Yes, identical.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How do I get no prompts but keep the sandbox?&lt;/strong&gt; &lt;code&gt;codex -a never -s workspace-write&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why "unexpected argument '--yolo'"?&lt;/strong&gt; Your Codex predates the alias. &lt;code&gt;npm install -g @openai/codex@latest&lt;/code&gt; or &lt;code&gt;brew upgrade --cask codex&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why does Codex still ask in YOLO?&lt;/strong&gt; Config changed mid-session, only one of the two keys is set, an admin &lt;code&gt;requirements.toml&lt;/code&gt; forbids it, a hook awaits trust, or you're on ACP where the client picks the mode.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does Codex sandbox work in WSL1?&lt;/strong&gt; No. Use WSL2.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Is &lt;code&gt;--full-auto&lt;/code&gt; YOLO?&lt;/strong&gt; It never was, and it's removed. Use &lt;code&gt;--sandbox workspace-write&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Comparing agents? Here's &lt;a href="https://agentrq.com/blog/what-is-yolo-mode-and-how-to-turn-it-on-in-every-coding-agent" rel="noopener noreferrer"&gt;YOLO mode in every coding agent&lt;/a&gt;, side by side.&lt;/p&gt;




&lt;p&gt;Where do you land: &lt;code&gt;--yolo&lt;/code&gt; only inside containers, or &lt;code&gt;-a never -s workspace-write&lt;/code&gt; with &lt;code&gt;network_access = true&lt;/code&gt; everywhere? And has anyone hit the bubblewrap user-namespace wall in their CI? Tell me in the comments.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://agentrq.com/guidelines/yolo-mode/codex-cli" rel="noopener noreferrer"&gt;AgentRQ&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>codex</category>
      <category>security</category>
      <category>cli</category>
    </item>
    <item>
      <title>Claude Code YOLO mode: what --dangerously-skip-permissions really turns off (and what it doesn't)</title>
      <dc:creator>Tony</dc:creator>
      <pubDate>Fri, 09 Oct 2026 15:35:38 +0000</pubDate>
      <link>https://dev.to/agentrq/claude-code-yolo-mode-what-dangerously-skip-permissions-really-turns-off-and-what-it-doesnt-46h1</link>
      <guid>https://dev.to/agentrq/claude-code-yolo-mode-what-dangerously-skip-permissions-really-turns-off-and-what-it-doesnt-46h1</guid>
      <description>&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Claude Code's YOLO mode is officially called &lt;strong&gt;bypass permissions&lt;/strong&gt;: &lt;code&gt;claude --dangerously-skip-permissions&lt;/code&gt;, which is exactly &lt;code&gt;claude --permission-mode bypassPermissions&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;It removes the &lt;strong&gt;permission prompts&lt;/strong&gt;. It does &lt;strong&gt;not&lt;/strong&gt; touch the &lt;strong&gt;Bash sandbox&lt;/strong&gt;, which is a separate, OS-enforced layer (Seatbelt on macOS, bubblewrap + socat on Linux/WSL2).&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;deny&lt;/code&gt; rules, explicit &lt;code&gt;ask&lt;/code&gt; rules and the critical-path &lt;code&gt;rm&lt;/code&gt; guard still fire in bypass mode.&lt;/li&gt;
&lt;li&gt;A repo's own &lt;code&gt;.claude/settings.json&lt;/code&gt; &lt;strong&gt;cannot&lt;/strong&gt; switch YOLO on. Only user settings, managed settings or &lt;code&gt;--settings&lt;/code&gt; can.&lt;/li&gt;
&lt;li&gt;For most people, &lt;strong&gt;auto mode&lt;/strong&gt; (a classifier reviews each action) is the better "YOLO, but not stupid".&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Everything here was checked against Anthropic's docs at code.claude.com and &lt;code&gt;claude --help&lt;/code&gt; from Claude Code 2.1.292 on October 7, 2026.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why does "skip permissions" not mean "no guardrails"?
&lt;/h2&gt;

&lt;p&gt;The first thing to internalize is that Claude Code has &lt;strong&gt;two independent safety layers&lt;/strong&gt;, and they're enforced in completely different places:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;Enforced by&lt;/th&gt;
&lt;th&gt;What it gates&lt;/th&gt;
&lt;th&gt;Does YOLO remove it?&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Permission prompts&lt;/td&gt;
&lt;td&gt;Claude Code itself, before a tool call runs&lt;/td&gt;
&lt;td&gt;Every tool call: Bash, Edit, Write, MCP tools…&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Yes&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bash sandbox&lt;/td&gt;
&lt;td&gt;The operating system, while a command runs&lt;/td&gt;
&lt;td&gt;Filesystem writes and network egress of shell commands and their children&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;No&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The permission layer is a policy check in the agent's process: "is this tool call allowed, denied, or do I ask the human?" Bypass mode short-circuits the "ask" branch to "allow". Allow rules become irrelevant, because everything is allowed anyway.&lt;/p&gt;

&lt;p&gt;The sandbox is a different beast. When it's on, Claude Code wraps each shell command in an OS-level boundary built on Anthropic's open source &lt;code&gt;@anthropic-ai/sandbox-runtime&lt;/code&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;macOS:&lt;/strong&gt; the built-in &lt;strong&gt;Seatbelt&lt;/strong&gt; framework. Nothing to install.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Linux and WSL2:&lt;/strong&gt; &lt;strong&gt;bubblewrap&lt;/strong&gt; for filesystem isolation and &lt;strong&gt;socat&lt;/strong&gt; to relay network traffic through the sandbox proxy (plus a seccomp filter; &lt;code&gt;/sandbox&lt;/code&gt; shows a Dependencies tab if any piece is missing).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Native Windows:&lt;/strong&gt; no sandbox. Use WSL2.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;By default a sandboxed command can write only to the working directory, a per-user temp dir and directories you've added. Network has &lt;em&gt;no direct route out&lt;/em&gt;: everything goes through a local proxy that checks each host against an allowlist that starts empty. That's why something like &lt;code&gt;curl --noproxy '*'&lt;/code&gt; just fails to resolve: there's no route around the proxy.&lt;/p&gt;

&lt;p&gt;So YOLO answers "should I ask?" and the sandbox answers "what can this process physically reach?". You can (and should) run them together.&lt;/p&gt;

&lt;h2&gt;
  
  
  What survives bypass mode?
&lt;/h2&gt;

&lt;p&gt;Even with every prompt gone, these still apply:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;deny&lt;/code&gt; rules&lt;/strong&gt; and &lt;strong&gt;explicit &lt;code&gt;ask&lt;/code&gt; rules&lt;/strong&gt; in your permission config.&lt;/li&gt;
&lt;li&gt;The guard against &lt;strong&gt;&lt;code&gt;rm&lt;/code&gt; on critical paths&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Questions Claude asks you directly&lt;/strong&gt; (it's still allowed to stop and ask).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The sandbox&lt;/strong&gt;, if you turned it on with &lt;code&gt;/sandbox&lt;/code&gt; or &lt;code&gt;"sandbox": {"enabled": true}&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There's one sharp edge in that last point. When a command fails inside the sandbox (say, a tool that's incompatible with it, or a blocked host), Claude can retry it with a &lt;code&gt;dangerouslyDisableSandbox&lt;/code&gt; parameter. In &lt;code&gt;bypassPermissions&lt;/code&gt; mode, that unsandboxed retry &lt;strong&gt;runs without a prompt&lt;/strong&gt;. Two ways to close the hatch:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"sandbox"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"enabled"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"allowUnsandboxedCommands"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;With that set, Claude Code ignores &lt;code&gt;dangerouslyDisableSandbox&lt;/code&gt; entirely (the &lt;code&gt;/sandbox&lt;/code&gt; Overrides tab calls this &lt;strong&gt;Strict sandbox mode&lt;/strong&gt;). Alternatively, add an ask rule for &lt;code&gt;Bash(dangerouslyDisableSandbox:true)&lt;/code&gt;; per the docs it prompts even in bypass mode and beats a matching allow rule.&lt;/p&gt;

&lt;p&gt;Also worth knowing: the sandbox covers &lt;strong&gt;shell commands only&lt;/strong&gt;. Read/Edit/Write/WebFetch, hooks, local MCP servers and your status line command run outside it, governed only by permission rules. In bypass mode that means they're governed by… your deny rules. If you want one boundary around everything, run the whole &lt;code&gt;claude&lt;/code&gt; process in a container or VM.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do you actually turn it on?
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Where&lt;/th&gt;
&lt;th&gt;Full YOLO&lt;/th&gt;
&lt;th&gt;Halfway&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;CLI&lt;/td&gt;
&lt;td&gt;&lt;code&gt;claude --dangerously-skip-permissions&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;claude --permission-mode auto&lt;/code&gt; or &lt;code&gt;acceptEdits&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;settings.json&lt;/td&gt;
&lt;td&gt;&lt;code&gt;"defaultMode": "bypassPermissions"&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;"defaultMode": "acceptEdits"&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;In a session&lt;/td&gt;
&lt;td&gt;Shift+Tab, if allowed at launch&lt;/td&gt;
&lt;td&gt;Shift+Tab&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;VS Code&lt;/td&gt;
&lt;td&gt;&lt;code&gt;claudeCode.allowDangerouslySkipPermissions&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;mode selector&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Rules&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;&lt;code&gt;"allow": ["Bash(npm test)"]&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The flag:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude --dangerously-skip-permissions
&lt;span class="c"&gt;# identical to:&lt;/span&gt;
claude --permission-mode bypassPermissions
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;--permission-mode&lt;/code&gt; takes &lt;code&gt;manual&lt;/code&gt; (the default, spelled &lt;code&gt;default&lt;/code&gt; in config files), &lt;code&gt;acceptEdits&lt;/code&gt;, &lt;code&gt;auto&lt;/code&gt;, &lt;code&gt;plan&lt;/code&gt;, &lt;code&gt;dontAsk&lt;/code&gt; and &lt;code&gt;bypassPermissions&lt;/code&gt;. The first interactive run shows a warning you have to accept.&lt;/p&gt;

&lt;p&gt;As a persistent default, in &lt;code&gt;~/.claude/settings.json&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"permissions"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"defaultMode"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"bypassPermissions"&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Why can't a cloned repo flip YOLO on for you?
&lt;/h2&gt;

&lt;p&gt;This is my favourite design decision in the whole permission system. &lt;code&gt;defaultMode: "bypassPermissions"&lt;/code&gt; is honoured in &lt;strong&gt;user settings&lt;/strong&gt;, &lt;strong&gt;managed settings&lt;/strong&gt; and a file passed with &lt;strong&gt;&lt;code&gt;--settings&lt;/code&gt;&lt;/strong&gt;. It is &lt;strong&gt;ignored&lt;/strong&gt; in a project's own &lt;code&gt;.claude/settings.json&lt;/code&gt; and &lt;code&gt;.claude/settings.local.json&lt;/code&gt;: Claude Code just starts in the default mode.&lt;/p&gt;

&lt;p&gt;Think about the threat model. Project settings ship &lt;em&gt;with the repo&lt;/em&gt;. If they could set bypass mode, then &lt;code&gt;git clone evil/repo &amp;amp;&amp;amp; cd repo &amp;amp;&amp;amp; claude&lt;/code&gt; would hand an attacker an agent that runs anything without asking, and the attacker's README or issue text is right there to prompt-inject it. The rule is simple: &lt;strong&gt;only scopes you control can lower your guard.&lt;/strong&gt; The same idea shows up elsewhere in the sandbox docs, where credential-masking settings are honoured only from user/managed/&lt;code&gt;--settings&lt;/code&gt; scopes and ignored in a repo's settings.&lt;/p&gt;

&lt;p&gt;Cloud sessions ignore &lt;code&gt;bypassPermissions&lt;/code&gt; from settings files too, and admins can kill the mode org-wide:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"permissions"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"disableBypassPermissionsMode"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"disable"&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Why won't --dangerously-skip-permissions run as root?
&lt;/h2&gt;

&lt;p&gt;On Linux and macOS, Claude Code &lt;strong&gt;refuses to start in bypass mode as root or under sudo&lt;/strong&gt;, unless it detects it's already inside a sandbox. That's the "no prompts &lt;em&gt;and&lt;/em&gt; unlimited privilege" combination it won't sign off on. If you hit this in a container, it's the container detection that matters; on a bare host, the fix is "don't be root", not "find a workaround".&lt;/p&gt;

&lt;h2&gt;
  
  
  Why isn't bypass in my Shift+Tab cycle?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Shift+Tab&lt;/strong&gt; cycles auto → default → acceptEdits → plan, then any optional modes. Bypass is only part of the cycle if the session was &lt;strong&gt;launched with permission&lt;/strong&gt; to use it. To have it available without starting in it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude --allow-dangerously-skip-permissions
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It's a nice two-step arm-then-fire design: the capability is granted at process start (a deliberate act), and only &lt;em&gt;then&lt;/em&gt; can a keystroke reach it. A stray Shift+Tab in a normal session can never land you in YOLO.&lt;/p&gt;

&lt;p&gt;In VS Code, &lt;code&gt;claudeCode.allowDangerouslySkipPermissions&lt;/code&gt; plays the same "arm" role: it adds &lt;strong&gt;Bypass permissions&lt;/strong&gt; to the mode selector. &lt;code&gt;claudeCode.initialPermissionMode&lt;/code&gt; sets what new conversations start in (&lt;code&gt;default&lt;/code&gt;, &lt;code&gt;acceptEdits&lt;/code&gt;, &lt;code&gt;plan&lt;/code&gt;, &lt;code&gt;bypassPermissions&lt;/code&gt;).&lt;/p&gt;

&lt;h2&gt;
  
  
  Is auto mode just YOLO with extra steps?
&lt;/h2&gt;

&lt;p&gt;No, and it's what I'd reach for first. In &lt;strong&gt;auto mode&lt;/strong&gt; a separate classifier model reviews each action and only stops you for the risky ones. Since 2.1.283 it's the default starting mode in the terminal and VS Code on supported models.&lt;/p&gt;

&lt;p&gt;The other halfway options compose nicely:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;acceptEdits&lt;/code&gt;&lt;/strong&gt;: file edits go through, shell commands still ask.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Allow rules&lt;/strong&gt;: &lt;code&gt;"Bash(npm test)"&lt;/code&gt;, &lt;code&gt;"Bash(git *)"&lt;/code&gt;, &lt;code&gt;"Read"&lt;/code&gt; in &lt;code&gt;permissions.allow&lt;/code&gt;, or &lt;code&gt;--allowedTools&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sandbox auto-allow&lt;/strong&gt;: with the sandbox on, sandboxed Bash commands can run without prompts because the OS, not you, limits what they can reach. Deny rules, critical-path &lt;code&gt;rm&lt;/code&gt; and content-scoped ask rules like &lt;code&gt;Bash(git push *)&lt;/code&gt; still prompt.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That last combo is, for me, the sweet spot: zero prompts for &lt;code&gt;npm test&lt;/code&gt; and friends, but a kernel-enforced fence around writes and egress.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do I turn on YOLO per task or per workspace with AgentRQ?
&lt;/h2&gt;

&lt;p&gt;Everything above is &lt;strong&gt;session-scoped&lt;/strong&gt;: you decide once, at launch or with Shift+Tab, and that decision covers every tool call until you exit. If you run Claude Code unattended (scheduled jobs, long refactors while you're away), you usually want something finer: YOLO for &lt;em&gt;this&lt;/em&gt; job, prompts for everything else. That's the gap &lt;a href="https://agentrq.com/features/yolo-mode" rel="noopener noreferrer"&gt;AgentRQ&lt;/a&gt; fills by moving the approval decision out of the terminal and into a task.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Connect Claude Code to a workspace.&lt;/strong&gt; Follow the &lt;a href="https://agentrq.com/docs/connect-claude-code" rel="noopener noreferrer"&gt;Claude Code setup guide&lt;/a&gt;, which adds the workspace as an MCP server and a notification channel. Alternatively, run it through the &lt;a href="https://agentrq.com/docs/connect-acp-agent" rel="noopener noreferrer"&gt;ACP Gateway&lt;/a&gt; with &lt;code&gt;--agent claude-acp&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Start Claude Code without bypass.&lt;/strong&gt; Use the default mode or &lt;code&gt;acceptEdits&lt;/code&gt;, for example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude --permission-mode acceptEdits
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Avoid auto mode here, otherwise the classifier answers the permission requests before they ever reach you. Each request now shows up in the AgentRQ task (web, phone or Slack) with the command or edit it's about, and you answer one of:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Allow Once&lt;/strong&gt;: this call only.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Always Allow&lt;/strong&gt;: adds the tool to the workspace's auto-approved list, so routine calls stop asking.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deny&lt;/strong&gt;: Claude Code gets a rejection and carries on with another approach.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;3a. YOLO for one task.&lt;/strong&gt; Flip the &lt;strong&gt;YOLO&lt;/strong&gt; toggle on a task, or set it when you create the task. Every permission request in that task is approved automatically and Claude Code never waits, while every other task in the workspace still asks. The flag is per task and persists across agent disconnects and reconnects. &lt;a href="https://agentrq.com/features/task-scheduling" rel="noopener noreferrer"&gt;Scheduled tasks&lt;/a&gt;, &lt;a href="https://agentrq.com/features/events" rel="noopener noreferrer"&gt;event triggers&lt;/a&gt; and &lt;a href="https://agentrq.com/features/workflows" rel="noopener noreferrer"&gt;workflow&lt;/a&gt; steps have the same switch, so a nightly job can run in YOLO while your interactive work stays supervised.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3b. YOLO for the whole workspace.&lt;/strong&gt; Workspace settings has &lt;strong&gt;YOLO Mode (Execute All)&lt;/strong&gt; (UI warning: "Agent will not ask for permission"). Under the hood it's a default, not a global override: the approval check reads the task's own YOLO flag, and the workspace switch decides what that flag starts as. New tasks you create in the web form open with the YOLO toggle already on (you can still switch it off per task), and tasks the agent creates for itself over the workspace MCP server inherit it. Flipping the switch doesn't rewrite tasks that already exist.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Or let a model approve and deny for you, from plain-English rules.&lt;/strong&gt; Between "ask me every time" and "approve everything" there's a third option: an &lt;a href="https://github.com/agentrq/agentrq/blob/main/docs/EXTENSIONS.md" rel="noopener noreferrer"&gt;AgentRQ desktop extension&lt;/a&gt; that reviews each permission request before it reaches you. Extensions are trusted Node modules loaded by the AgentRQ desktop app. One registers a reviewer with &lt;code&gt;ctx.hooks.add({ id, review(request) { ... } })&lt;/code&gt; and is handed the pending call: the tool name, the argument preview the harness sent, and the workspace. It answers &lt;code&gt;{ behavior: 'deny', reason }&lt;/code&gt;, &lt;code&gt;{ behavior: 'allow' }&lt;/code&gt;, or nothing at all to abstain. Point &lt;code&gt;review()&lt;/code&gt; at an external decision API such as &lt;a href="https://agentrq.com/blog/jev-system-one-models" rel="noopener noreferrer"&gt;TypeSafe's Jev&lt;/a&gt;, a "System One" model that returns a typed &lt;code&gt;choice&lt;/code&gt; with calibrated &lt;code&gt;probabilities&lt;/code&gt; and a &lt;code&gt;confidence&lt;/code&gt; in milliseconds instead of generating text. Send the tool call as the state, and your workspace's rules in plain English ("git push is fine on feature branches, never on main", "never read anything under ~/.aws") as a Choice question over allow / deny / ask me. Then threshold it: approve only on a high-confidence allow, refuse on a confident deny, and abstain on everything else so the request lands on your phone as usual. The rules can live on a per-workspace settings tab the extension draws itself; the bundled &lt;code&gt;guardrail&lt;/code&gt; example does exactly that with literal patterns.&lt;/p&gt;

&lt;p&gt;The review contract is built on one asymmetry: refusing costs a tool call, approving costs whatever the tool call does. So one refusal settles a request; silence (an abstain, an exception, or a reviewer that misses its 5-second deadline) is never an allow, the request just stays in front of you; and an extension needs the &lt;code&gt;decide&lt;/code&gt; consent level to approve, while &lt;code&gt;deny&lt;/code&gt; consent can only refuse. The install screen starts every extension at &lt;code&gt;none&lt;/code&gt;. Reviews only happen while the desktop app is open and signed in, so treat this as a fast first pass, not a security boundary.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Per task vs. workspace-wide, the trade-off:&lt;/strong&gt; the workspace switch is the AgentRQ equivalent of putting &lt;code&gt;bypassPermissions&lt;/code&gt; in your user settings: convenient, but it outlives the job you actually trusted, and it covers work you haven't seen yet. Per-task YOLO scopes the blast radius to one unit of work and expires with it. My rule: leave Execute All off, use per-task YOLO for jobs you'd happily &lt;code&gt;git reset&lt;/code&gt;, and lean on &lt;strong&gt;Always Allow&lt;/strong&gt; for boring tools (prune that list now and then). Either way, Claude Code's own layers still apply underneath:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Keep &lt;code&gt;/sandbox&lt;/code&gt; on, ideally with &lt;code&gt;allowUnsandboxedCommands: false&lt;/code&gt;. AgentRQ removes the questions; the sandbox still limits what an approved command can touch.&lt;/li&gt;
&lt;li&gt;Start every YOLO task from a clean git tree, so any change is one &lt;code&gt;git reset&lt;/code&gt; away.&lt;/li&gt;
&lt;li&gt;Read the &lt;a href="https://agentrq.com/features/tool-call-history" rel="noopener noreferrer"&gt;tool call history&lt;/a&gt; afterwards; it lists every call, including the auto-approved ones.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Is &lt;code&gt;--dangerously-skip-permissions&lt;/code&gt; the same as &lt;code&gt;--permission-mode bypassPermissions&lt;/code&gt;?&lt;/strong&gt; Yes, exactly the same.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does YOLO mode turn off the sandbox?&lt;/strong&gt; No. It only skips prompts. But unsandboxed &lt;em&gt;retries&lt;/em&gt; run without asking in bypass mode unless you set &lt;code&gt;allowUnsandboxedCommands: false&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can I put bypass mode in my repo's &lt;code&gt;.claude/settings.json&lt;/code&gt;?&lt;/strong&gt; You can write it, but Claude Code ignores it there. Use &lt;code&gt;~/.claude/settings.json&lt;/code&gt;, managed settings or &lt;code&gt;--settings&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why does it refuse to start as root?&lt;/strong&gt; Bypass mode is blocked as root/sudo on Linux and macOS unless Claude Code detects it's already sandboxed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why is bypass missing from Shift+Tab?&lt;/strong&gt; Start the session with &lt;code&gt;--dangerously-skip-permissions&lt;/code&gt; or &lt;code&gt;--allow-dangerously-skip-permissions&lt;/code&gt;, or set bypass in user settings.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does the sandbox cover MCP servers and hooks?&lt;/strong&gt; No. They run with your full access; only shell commands are sandboxed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can I approve Claude Code permissions from my phone?&lt;/strong&gt; Yes. Connect it to an AgentRQ workspace and answer Allow Once, Always Allow or Deny in the task.&lt;/p&gt;

&lt;p&gt;If you're comparing agents, here's how &lt;a href="https://agentrq.com/blog/what-is-yolo-mode-and-how-to-turn-it-on-in-every-coding-agent" rel="noopener noreferrer"&gt;YOLO mode works in every coding agent&lt;/a&gt;, side by side.&lt;/p&gt;




&lt;p&gt;So, what's your setup: full bypass inside a container, auto mode on the host, or sandbox auto-allow with a strict no-retry policy? And has the unsandboxed retry ever surprised you? Tell me in the comments.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://agentrq.com/guidelines/yolo-mode/claude-code" rel="noopener noreferrer"&gt;AgentRQ&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>claudecode</category>
      <category>security</category>
      <category>cli</category>
    </item>
  </channel>
</rss>
