Source-linked AI summary
A Case Study in Assuring AI-Written Software
Lindsey Ferris, Sierra Bonilla
TL;DR
When exhaustive review cannot keep pace with agent-generated code, this case study examines human control in a production healthcare platform built by an operator without formal software-engineering training. Its account shows that supervisory checks can provide incomplete or misleading evidence, shifting oversight toward judging what those mechanisms actually observed and what their outputs support.
Problem
Coding agents can produce more code than people can meaningfully inspect, while user intent may be difficult to specify or measure.
Source: §1 · pp. 1–2Method
The retrospective case study used two structured operator interviews and project records to examine where control resided and how checks and reviewing agents contributed or failed.
Source: §1 · p. 2Results
The case found that coding agents reorganized work toward defining requirements, checking results, and release decisions, with assurance failures clearest in less visible system properties.
Source: §5 · p. 4Takeaways & Limitations
In this case, human oversight of delegated supervision also had to assess what supervisors observed, what their outputs supported, and what authority followed.
Source: §5 · p. 4, §6 · p. 4This single observational case of one operator, platform, and evolving workflow does not establish fewer defects, security or compliance, or sufficiency for other users or systems.
Source: §5 · p. 4
Abstract
from arXiv · showhide
Software-engineering agents can enable people without formal software training to build systems they could not otherwise implement and simultaneously can produce more code than even experts can meaningfully inspect. In both cases, exhaustive code review is not reliable as the sole basis for human control. We report a case study of a production healthcare platform built through coding agents and governed by an operator without formal software-engineering training. Over time, its workflow grew into a human-led meta-agent system where one agent wrote code, other agents supervised and reviewed it, and project rules carried lessons forward. The operator found that tests, monitors and reviewing agents used to supervise the system were fallible. Some monitors measured proxies rather than outcomes, some audits failed silently, missing checks disappeared from reported results and one automated repair caused operational disruption. In this case, human control depended on keeping the intended outcome, the evidence used to judge it, the agents' permissions and the final human decision were all tied to the same underlying objective.
1 Introduction
Coding agents can produce more code than people can inspect, while their reliability depends on meeting user intent that may be difficult to specify or measure. This case study examines how human control developed when an operator without formal software-engineering training used an agent to build a production healthcare platform.
1 Introduction
- Coding agents can outpace review and weaken code comprehension, motivating controls beyond exhaustive source inspection without making source review obsolete.A practitioner study reported weekly commits growing from a few hundred lines to 10–20K; another found an initial task-completion advantage largely disappeared on a later extension without the agent.Source: §1 · p. 1
- When generated code becomes impractical to inspect, earlier assurance approaches shifted toward proofs, conformance tests, translation validation, verified compilers, and differential testing.The analogy is limited: coding agents infer underspecified intent, act in stateful environments, and may modify their own tests.Source: §1 · pp. 1–2
- The study examines an operator’s evolving controls through two questions: where human control resided and what checks and reviewing agents contributed or failed to catch.The workflow emerged through trial and error as failures prompted new checks and review practices.Source: §1 · p. 2
2 Case and workflow
The case traces six months of development and assurance for a healthcare-practice platform, using interviews and project records. Its workflow combined persistent project guidance, agent review, staging inspection, and operator approval.
2 Case and workflow
- The retrospective case study reconstructed six months of development from two operator interviews, project records, and cross-checks of interview claims where possible.Records included decision logs, audit reports, incident records, check inventories, and working notes.Source: §2 · p. 2
- The platform supported practice operations and background functions, but the operator could directly inspect staged behavior more easily than backup usability or audit completeness.The study does not assess healthcare compliance; production data remained outside agent reach through architecture and permissions.Source: §2 · p. 2
- At each session’s start, the coding agent reread a versioned rulebook, tasks, issues, and reusable skills; the operator approved or revised the proposed approach before implementation.Changes then passed project tests, fresh-context agent review, and private staging inspection; broader meta-audits could inspect wider system areas and records.Source: §2 · p. 3
- For difficult decisions, multiple models independently returned recommendations, reasons, and risks; production changes required staging and explicit operator approval.Confirmed failures prompted searches for similar issues and, where appropriate, regression tests; approved lessons carried forward to later sessions.Source: §2 · p. 3
3 RQ1: Where did human control reside when implementation and review were delegated to agents?
Human control was concentrated at points where agent outputs could become persistent or operationally consequential, rather than maintained through continuous line-level inspection. Delegating review also required the operator to judge what supervisory evidence supported and what action could follow.
3 RQ1
- Implementation and much technical review were delegated, but the operator retained authority over durable project lessons and production changes, while production data stayed outside agent reach.The arrangement bounded agent work and concentrated control at consequential decision points.Source: §3 · p. 3
- Adding reviewers shifted part of oversight to judging what each mechanism observed, what its output could support, and what action could follow.The operator did not need to reconstruct every implementation decision, but did need to understand each reviewer’s evidential scope and authority.Source: §3 · p. 3
4 RQ2: What did the resulting checks and reviewing agents contribute, and where did they fail?
Checks and reviewing agents accumulated through incidents, but their outputs could be incomplete or misleading. The case found both broad coverage of established security guidance and failures in the evidence and actions produced by supervisory mechanisms.
4 RQ2
- The operator tested whether checks detected their target failures by deliberately recreating those failures and confirming that the checks failed.Confirmed problems also prompted fixes, searches for similar issues, and reusable lessons for later work.Source: §4 · p. 3
- 69 of 84 mapped items (82.1%) were covered by pre-existing checks, suggesting coverage of many concerns in established security guidance but not full platform security.Because the standards are public, the mapping does not demonstrate model generalization.Source: §4 · p. 4
- Monitors sometimes measured intermediate events rather than usable outcomes, audits stopped silently, missing checks vanished from pass-rate totals, and an incorrect repair disrupted operations.In each incident, a reassuring signal supported a stronger claim than the evidence justified.Source: §4 · p. 4
- The case identifies four assurance questions: whether checks observe intended outcomes, actually run, expose missing results, and have authority bounded against harmful action.The presence or apparent success of checks was not itself sufficient evidence of reliability.Source: §4 · p. 4
5 Discussion and limitations
The case distinguishes observable behavior, which staging helped assess, from less visible properties where assurance failures were clearest. It also shows that supervisory agents and monitors provided useful but fallible evidence, within the limits of a single observational case.
- Staging worked well for observable behavior, while the clearest assurance failures involved less visible backups, audit execution, monitoring completeness, and automated recovery.Source: §5 · p. 4
- Additional reviewers and monitors were useful, but their outputs could not be treated as ground truth; oversight also had to assess what supervisors observed and what their outputs justified.Source: §5 · p. 4
- This is one observational case involving one operator, platform, and evolving workflow; it does not establish fewer defects, security, compliance, or sufficiency for other systems.Source: §5 · p. 4
6 Conclusion
The case illustrates human control when implementation and much review were delegated to agents. Control centered on intended outcomes, evidence, access boundaries, and consequential decisions, while fallible supervisory mechanisms created a further oversight task.
- Human control in this workflow was concentrated around intended outcomes, evidence, access boundaries, and consequential decisions.Source: §6 · p. 4
- Tests and reviewing agents introduced to support oversight could provide incomplete or misleading evidence.Source: §6 · p. 4
- Adding supervisory mechanisms shifted part of oversight to judging what they observed, what their outputs supported, and what authority followed.Source: §6 · p. 4
A Implementation Details
Building, pre-merge review, and meta-audits used Claude models through Claude Code; a multi-model council also queried Gemini and GPT models. Reviewing agents were separately started without access to the development conversation, but shared the builder’s model family.
- Building, pre-merge review, and meta-audits used Anthropic Claude models invoked through the Claude Code command-line agent.Source: A Implementation Details · p. 6
- The multi-model council additionally queried Google Gemini and OpenAI GPT models through their APIs.Source: A Implementation Details · p. 6
- Reviewers and meta-auditors ran as separate instances without development-conversation access, but shared the builder’s model family, leaving shared blind spots possible.Source: A Implementation Details · p. 6