← Back to news
Coding agents: delegate work, not accountability

Photo: ProjectManhattan / Wikimedia Commons (CC BY-SA 3.0)

14/10/2026

Coding agents: delegate work, not accountability

A new case study changes the oversight question

A recent arXiv case study, A Case Study in Assuring AI-Written Software, is useful because it does not treat coding agents as a laboratory curiosity. It describes a production healthcare platform built with coding agents and operated by a person without formal software engineering training. That boundary case matters for every software team. It shows both sides of the new reality: agents can make software creation accessible and fast, but they can also produce more code, more decisions, and more hidden system behavior than a human can inspect line by line.

The tempting answer is to demand more review. Review remains essential, but the case study makes a sharper point: exhaustive source-code review cannot be the only mechanism of human control when agents are allowed to plan, edit, run checks, and suggest fixes across a system. If the agent writes a large patch, another agent reviews it, and a monitor summarizes the result, the human is no longer simply approving lines of code. The human is supervising a chain of evidence. That chain can be helpful, but it can also be wrong, incomplete, or too indirect.

This is exactly the kind of situation OrkestrAI is designed to address. The practical question is not whether AI should be allowed into development workflows. It already is. The question is how to turn agentic help into accountable work: scoped, observable, reversible, and finally validated by a person who understands the intended outcome.

Why review alone does not scale

Software organizations have always relied on layered controls: requirements, architecture, tests, code review, CI, staging, monitoring, incident response, and release governance. AI-assisted development increases pressure on all of those layers because the cheapest part of the pipeline becomes generation. A developer or product owner can ask for a feature and receive a plausible implementation quickly. The bottleneck moves downstream, to proving that the change is correct, maintainable, secure, and aligned with the business need.

The case study gives concrete examples of that bottleneck. The operator could visually inspect some behavior in staging, but other properties were harder to see: whether a backup was actually restorable, whether an audit ran completely, whether a monitor measured the right outcome rather than a proxy, or whether a repair changed something operationally important. Those are not failures of syntax. They are failures of assurance.

That distinction is critical. Many agent mistakes do not look like broken code at first glance. They look like clean code attached to the wrong assumption. They look like a test that verifies an implementation detail but not the user outcome. They look like a report that says checks passed while omitting a check that silently disappeared. A line-by-line reviewer may catch some of this, but only if the reviewer also reconstructs the system intent, the risk model, and the evidence trail.

The real unit of work is no longer a patch

In a traditional workflow, a pull request often becomes the natural unit of discussion. With agents, that is too small. The useful unit is a production-qualified change: a change that has crossed the right gates for its risk level. That includes the patch, but also the test evidence, security checks, deployment plan, rollback path, ownership, and operational signal that says the intended outcome was achieved.

This reframing prevents a common management error. Counting generated code, merged pull requests, or accepted agent suggestions can make an AI program look successful while masking a growing verification debt. If teams celebrate throughput before qualification, they may simply be moving uncertainty from development into production. The result is not acceleration; it is deferred risk.

A better metric asks: how many changes reached production with enough evidence, without excessive rework, incidents, or reviewer overload? That question keeps the human in command because it ties autonomy to consequences. The agent is not rewarded for producing more text. It is useful when it helps produce a change that survives meaningful validation.

Human control lives at decision points

The most important lesson from the case study is that human control does not require the human to personally perform every technical action. It requires the human to own the consequential decisions. The operator delegated implementation and some review, but kept control over durable project context, production access, and final approval. That is a practical model for professional teams too.

For software teams, the decision points are easy to name. Who defines the goal? Who decides which files, tools, credentials, and environments the agent may touch? Who approves the plan before a broad refactor starts? Who decides which tests are mandatory? Who can change CI policy? Who can merge? Who can deploy? Who can modify production data? Each answer should be explicit before the agent begins work.

This is where human-in-the-loop must become more than a slogan. A human who clicks approve after a long, opaque agent run is not meaningfully in control. A human who sets scope, reviews the plan, watches intermediate evidence, interrupts bad direction, and decides when the proof is sufficient is in control. The difference is workflow design.

Use agents to review agents, but do not confuse that with governance

One useful pattern in the case study is the use of multiple agents: one to build, others to review, audit, or generate tests. This can improve coverage because reviewers can look for contradictions, missing tests, security issues, or inconsistencies with project rules. It also turns some quality work into a repeatable process rather than a heroic manual effort.

But agent-to-agent review is not a substitute for governance. Agents can share blind spots, optimize for the same proxy, overlook missing context, or produce confident summaries that hide uncertainty. A reviewing agent can make the evidence richer, but it cannot become the authority that defines acceptable risk. The organization still needs rules about permissions, escalation, and final approval.

The safest mental model is therefore not “one autonomous developer” but “a supervised workcell.” Inside the workcell, agents may propose code, write tests, run analysis, summarize findings, and suggest remediations. Outside the workcell, humans and policy decide the allowed scope, the required evidence, and the production consequences.

Turn intent into executable guardrails

If the human remains the only place where intent exists, agentic development will not scale safely. Teams need to externalize intent into artifacts that tools can check: architecture decision records, service contracts, threat models, coding standards, ownership maps, migration rules, and test strategies. These artifacts should not be documentation theater. They should feed prompts, CI checks, code owners, policy-as-code, and release gates.

For example, an agent asked to change a billing workflow should be shown the business invariant it must preserve, not only the files that mention billing. A change across services should trigger contract tests. A change that touches authentication should trigger security review. A database migration should require rollback instructions and staging evidence. A generated test suite should be judged not by the number of tests but by the risk it actually reduces.

This is the practical bridge between human expertise and machine speed. The human defines the intent and the boundaries. The system converts part of that intent into checks the agent cannot simply negotiate away. The final human decision then rests on evidence instead of trust.

Keep production data and high-impact actions fenced

The healthcare case is especially instructive because production data was kept outside agent reach. That design choice matters. It recognizes that even a helpful agent should not automatically inherit all of a developer’s authority. Access should be proportional to the task and reversible when possible.

In ordinary teams, the same principle applies to secrets, customer data, deployment credentials, infrastructure changes, and irreversible migrations. Agents should work in sandboxes, staging environments, temporary branches, and least-privilege tool contexts. They should be allowed to propose dangerous actions long before they are allowed to execute them. The more consequential the action, the stronger the human gate should be.

This does not slow adoption; it makes adoption durable. Teams will use agents more confidently when they know the blast radius is controlled. Developers can delegate exploration and implementation without wondering whether a generated command might rewrite history, leak a secret, or touch production unexpectedly.

Design the evidence trail before the incident

Many teams discover their missing evidence only after a failure. An agent says it ran the checks, but logs are incomplete. A monitor says the system is healthy, but it tracks a proxy. A remediation appears to fix the symptom, but creates an operational disruption. These are avoidable design problems.

Every agentic workflow should leave an evidence trail that a human can inspect later: the initial task, approved plan, files changed, commands run, tests added, tests failed, retries attempted, permissions used, review comments, accepted risk, and deployment outcome. This trail is not bureaucracy. It is the memory that lets the team improve the control system after each task.

For Paye ta com and similar organizations, that evidence trail is also a management tool. It helps explain why one task can be delegated broadly while another requires a senior reviewer. It makes AI usage auditable without requiring every manager to become a prompt engineer.

What teams can change this week

  • Classify agent tasks by risk. Separate low-risk refactors, test generation, documentation, feature changes, security-sensitive changes, and production-impacting operations.
  • Require a plan before broad edits. The agent should state intended files, assumptions, tests, and rollback considerations before making a large change.
  • Bind autonomy to evidence. More autonomy should require stronger proof: unit tests, integration tests, contract tests, security scans, staging validation, or human domain review.
  • Protect durable context. Project rules, memory, CI policy, and deployment configuration should not be silently rewritten by the same agent that benefits from them.
  • Measure qualified outcomes. Track rework, escaped defects, review time, rollback rate, and production success, not only generated lines or accepted suggestions.

The conclusion: delegate work, not accountability

The lesson from current research is not that coding agents are too risky to use. It is that they are becoming useful enough to deserve serious operating models. The more they can implement, inspect, and iterate, the more important it becomes to define who is allowed to decide and what counts as proof.

Human-in-the-loop development should therefore evolve from manual review of every line toward supervised delegation. Let the agent do the repetitive work. Let it propose, test, summarize, and challenge. But keep the human responsible for the objective, the boundary, the evidence standard, and the final release decision.

That is the balanced path: not fear of AI, not blind autonomy, but orchestration. The organizations that win with coding agents will not be the ones that remove humans from the loop. They will be the ones that put humans at the right control points and give them better evidence.