Does an AI agent investigating pipeline failures need human approval before deploying a fix? A per-domain autonomy dial
Approval is a setting per domain, not a yes-or-no policy for the whole platform
Not always. For the first rollout, yes: an agent that diagnoses a failed pipeline should propose a fix and wait for a human to approve it before it deploys. Over time the answer should differ by domain. The MCP specification says clients should keep a human able to deny tool invocations, and that is a sound default for anything that writes. Low-risk, reversible fixes can then be promoted to autonomous deploys one domain at a time, as the agent earns trust. This post is our opinion on how to set that dial, based on how we build Data Workers.
Key Takeaways
- •Approval is not one policy. It is a per-domain setting, and a retry on a staging table does not carry the same risk as a schema change on a revenue table.
- •Start in propose mode: the agent investigates, explains root cause and drafts the fix, and a human clicks approve.
- •Promote a domain to autonomous deploys only when the fix is reversible, the blast radius is mapped and an audit trail exists.
- •Approval gates fix the wrong problem if the human is the integration layer. The agent should hand the reviewer a finished diagnosis, not a raw alert.
- •In our early pilot testing, 60% of incidents auto-resolve before a human is notified. That figure is our own pilot data, not an industry benchmark.
Does an AI agent investigating pipeline failures need human approval before deploying a fix?
The question is framed as a binary, and that is why debates about it stall. One camp says an agent that can write to production without review is reckless. The other says an agent that always waits for review is a slower alert. Both are right about their own failure mode.
Investigating and deploying are different actions with different risk. Investigation is read-only: query logs, trace lineage, compare schemas, inspect recent commits. There is no reason to gate it. Deployment writes to a system someone else depends on, and that is where approval belongs. Orchestration vendors have started shipping agents that investigate failures and propose fixes for a human to review before deploy. We think that is the correct first step. We also think it is a starting point rather than an end state.
The cost of the gate is real. Our working figure from customer conversations is two to four hours per incident from alert to fix. Much of that time is a person re-deriving context an agent already has. If the human still has to rediscover what broke, the gate adds a review step on top of the old manual work.
What a good approval request looks like
An approval gate is only useful if the reviewer can decide in a minute or two. That means the agent hands over a package, not a notification. We think a reviewable fix should contain four things.
- •Root cause: the specific change, such as a column type change upstream, that produced the failure, with links to the logs and queries that show it.
- •Blast radius: every downstream table, dashboard and consumer the fix or the failure touches. The reviewer should not have to ask what happens if this column is dropped.
- •The exact change: a diff, not a description, plus how to roll it back.
- •Policy status: whether the change touches PII columns, a governed table or a contract, and who owns it.
Our Incidents Agent (see Data Workers) traces root cause across lineage, logs and queries. The Schema Agent maps blast radius, and the Pipeline Agent drafts the fix. Because the agents share context, the approval request arrives complete. We covered how agents share that context in our posts on the context layer for data teams, and it matters here: a reviewer approves faster when the evidence is attached.
The per-domain autonomy dial
The Autonomous Data Conductor is how we run data operations across the platform, and its main control is an autonomy dial set per domain. A domain is a slice of the platform with its own owner and risk profile: ingestion, transformation, quality checks, schema management, governance, cost. Each gets its own setting. The table shows the four levels we use.
| Level | What the agent does | Who approves | Where it fits |
|---|---|---|---|
| Observe | Investigates and reports root cause. Writes nothing. | Not applicable | Day one, any domain. This is the default for our open-source edition, which is read-only. |
| Propose | Drafts the fix and the rollback. Waits. | A human reviews every change | Production transformations, schema changes, anything touching PII. |
| Approve by exception | Deploys fixes that match pre-agreed patterns. Escalates the rest. | A human reviews only the escalations | Repeatable failures such as retries, backfills and known late-arriving data. |
| Autonomous | Deploys, verifies and rolls back on its own. Notifies after the fact. | Owner reviews the audit trail | Reversible fixes in non-critical domains with a mapped blast radius. |
The point of the dial is that the setting follows evidence. A domain moves up a level when the agent's proposals have been approved without edits for long enough that the review has become a formality. A domain moves down after a bad deploy. The setting is a configuration, not a rewrite, and we think it is the honest answer to the approval debate: the right amount of oversight is the amount your own track record justifies.
When we think approval should stay on
Some changes should keep a human in the loop for a long time, possibly permanently. In our view these include any change that touches personally identifiable data or access controls, schema changes that alter a contract with an external consumer, destructive operations such as dropping columns or deleting partitions, and cost-affecting changes such as resizing a warehouse. The question we ask is whether the fix can be undone cleanly and whether we have mapped who is affected. If either answer is no, the gate stays.
This lines up with how coding agents already work. Anthropic's Claude Code documentation describes a permission model where actions that modify files or run commands ask before they proceed unless you have allowed them. Our agents are MCP servers, so the same pattern applies in Claude Code, Cursor or any MCP-compatible client: reads run freely, and writes follow the permission and approval rules you set.
When we think approval slows teams down for no gain
There is a failure mode on the other side. A team that requires sign-off on every retry teaches its reviewers to click approve without reading. At that point the gate gives you latency and a false sense of control, and the audit trail records a rubber stamp. A cleaner design reserves human attention for the changes that deserve it.
This is why we report auto-resolution separately from approvals. In early pilot testing, 60% of incidents auto-resolve before a human is notified. Those are mostly the repeatable, reversible class of failure. The remaining 40% reach a person with the diagnosis already attached. We present these as our pilot numbers, not a promise for your environment, since the split depends on how many of your failures are routine.
How to set up approvals in four steps
- •Start every domain at Observe. Run the agents read-only and compare their root-cause calls with what your on-call engineers found.
- •Move write-capable domains to Propose. This requires writes, which our Pro edition adds along with approval workflows and audit trails.
- •Track the approval log. If a class of fix is approved unchanged repeatedly, define it as a pattern and move it to Approve by exception.
- •Promote to Autonomous only where rollback is tested. Keep PII, access and destructive changes at Propose.
Every approval, denial and autonomous deploy should land in a tamper-evident audit trail. That is how you can show, later, why a change went out and who or what authorized it. Our posts on agent governance and audit trails go into the controls in more detail.
Frequently Asked Questions
Does an AI agent need human approval to investigate a pipeline failure?
No. Investigation is read-only, so there is nothing to approve. Approval matters when the agent writes: deploying a fix, changing a schema or altering access.
Should a human approve every fix an agent proposes?
At first, yes. Once a class of fix has been approved unchanged many times and is reversible, you can move it to approve-by-exception. Fixes touching PII, contracts or destructive operations should keep review.
What is a per-domain autonomy dial?
It is a setting that controls how much an agent can do on its own in each domain of the platform. Ingestion might be autonomous while governance stays at propose, because the risk differs. The Autonomous Data Conductor applies the setting across agents.
Is the open-source edition able to deploy fixes?
No. The open-source edition (dw-claw) is Apache 2.0, runs locally and is read-only by default. It investigates and recommends. Writes, approval workflows and audit trails come with Pro.
What happens if an autonomous fix goes wrong?
The agent verifies the result after deploying and rolls back if the check fails. Every action is recorded in the audit trail, and the domain can be moved back to propose mode.