Executive Summary
AI coding agents can propose, test, and revise multi-file changes in minutes, expanding both delivery capacity and the number of decisions teams must validate. A green build shows that checks passed; it does not guarantee that business rules, maintainability, security, or production behaviour are correct.
Research highlights the gap between output and outcomes. DORA’s 2024 analysis linked higher AI adoption to lower delivery throughput and stability; its 2025 analysis linked adoption to higher throughput and product performance, while stability remained a concern. Veracode’s July 2025 controlled security benchmark found known flaws in 45% of generated samples. These findings measure different things and do not establish a universal defect rate.
Astrik proposes VISTA: Validate outcomes; Instrument for observability; Set risk-based release gates; Track quality and delivery together; and Assign human accountability. The framework also addresses agent-specific failure modes such as changed tests, oversized diffs, stale context, untrusted instructions, and excessive permissions.
An illustrative starting point is a 90-day pilot across two to four applications, adjusted to scope and readiness. Establish a baseline, protect critical tests, strengthen production telemetry, and use feature flags, canaries, and rollback criteria. Scale AI-assisted workflows only when customer outcomes, escaped defects, maintainability, and recovery performance remain acceptable.
KEY TAKEAWAY
The value of AI-assisted engineering should be judged by dependable software outcomes—not by how quickly code appears in a pull request.
Introduction
Software teams have long used automation to improve delivery. AI coding agents extend that automation into activities that previously required sustained human attention: exploring a repository, editing multiple files, writing tests, updating documentation, and responding to review comments. Depending on permissions and tool design, an agent may propose code, run commands, or open a change for approval.
The quality question changes when the volume of proposed changes increases. A team can merge more quickly while accumulating brittle tests, hidden assumptions, complex code, and operational blind spots. Conversely, a team that combines AI assistance with clear requirements, a strong testing strategy, disciplined review, and fast production feedback can use the tools to increase learning and delivery capacity.
DORA’s 2025 research frames AI as an amplifier of existing organizational capabilities and weaknesses. Stack Overflow’s 2025 survey also shows a tension between adoption and confidence: 84% of respondents to the AI-use question were using or planning to use AI tools; 66% answering the frustration question cited answers that were nearly, but not fully, correct. Each percentage uses its own question’s respondents, not a common survey-wide denominator.
Astrik’s work spans software development, software quality assurance, product engineering, cloud infrastructure, and ongoing optimization. That cross-functional view informs this paper: quality is designed in development, demonstrated through tests, observed in production, and maintained through continuous improvement.
Illustrative scenario: when “all tests passed” is not enough
The following example is hypothetical. It illustrates how a plausible AI-assisted change can pass routine checks and still damage a business outcome; it is not a report of a real incident.
| STEPS | MOVE | WHAT CHANGES |
|---|---|---|
| 01 | A change is proposed | An AI agent updates checkout logic to support a new discount rule. It also generates unit tests based on the interpretation it used to write the change. |
| 02 | Local evidence looks good | Unit tests pass, but the test data does not cover a boundary case involving an expired promotion combined with a retry. The tests confirm the implementation’s assumptions rather than the complete business rule. |
| 03 | The release reaches users | The pipeline treats a successful build and green tests as sufficient. The change is deployed broadly without a canary comparison or a clear rollback trigger. |
| 04 | The real symptom is missed | The service remains online, but some checkouts are incorrectly rejected. Infrastructure dashboards show normal availability because they do not track successful checkout completion or the relevant business event. |
| 05 | Evidence enables recovery | A trace connecting checkout, promotion validation, and payment services—paired with a conversion and error-rate alert helps the team isolate the regression. A named reviewer and release owner can roll back, correct the requirement, and add a regression test. |
Figure 1. Hypothetical AI-assisted change: quality depends on test design, production visibility, rollout controls, and an accountable response.
WHERE CONTROLS BREAK THE CHAIN
A stronger unit test could catch the boundary case. A contract or integration test could validate service interactions. Business-level telemetry could reveal a drop in successful checkout. A canary could limit exposure, while a release owner makes rollback immediate.
Problem Analysis
3.1 Code production is not the same as product quality
A generated change can compile and pass its supplied tests yet fail the user’s actual requirement, a boundary condition, a permission check, or an operational constraint. DORA’s 2024 research associated greater AI adoption with modest improvements in reported code quality but lower delivery stability, reinforcing that local code indicators do not replace end-to-end outcome measures. DORA’s 2025 analysis found a positive association with throughput and product performance, while the negative association with stability persisted. These observational findings do not establish causation.
When acceptance criteria, business invariants, error behaviour, data constraints, or non-functional expectations remain implicit, both the generated implementation and its tests can agree with one another while still disagreeing with the product’s needs.
3.2 AI can amplify test gaps
Agents can create tests as well as implementations, so both may share the same assumptions. A green suite is weak evidence when it only confirms the behaviour the agent already encoded. Security is one visible dimension of this gap: Veracode’s July 2025 controlled security benchmark found that 45% of generated samples introduced a known OWASP Top 10 vulnerability when no security-specific guidance was provided. The result is task-level evidence, not a production defect rate.
3.3 Observability is part of the quality system
Pre-release tests cannot reproduce every combination of real workloads, third-party dependencies, data distributions, and user behaviour. If monitoring stops at infrastructure availability, a service may appear healthy while the business journey it supports is failing.
This creates a visibility gap: an API can return a successful status while a purchase, submission, or reconciliation is wrong. Without signals tied to user and business outcomes, teams may discover regressions through complaints rather than timely operational evidence.
3.4 AI exposes unresolved data and ownership gaps
Review becomes less reliable when an autonomous agent returns a large, difficult-to-understand patch or when approval is treated as a formality. The reviewer may lack the time or domain context to identify subtle effects across business logic, permissions, data and failure paths.
Maintainability is also part of quality. Duplicate implementations, unnecessary complexity, unclear error paths, and code without a clear owner increase the cost and risk of later changes. GitClear’s observational analysis of 211 million changed lines found copy-pasted lines rising from 8.4% in 2021 to 12.3% in 2024 while refactoring-associated moved lines fell; the study cannot isolate AI as the sole cause, but it supports measuring maintainability explicitly.
3.5 Speed metrics can reward the wrong behaviour
Lines generated, suggestions accepted, commits, or merged pull requests are easy to count but poor standalone measures of value. Higher output can coexist with more rework, escaped defects, review burden, and customer-impacting failures. DORA recommends choosing measures around the decision being made rather than optimizing a single number.
Measurements need context. A rise in reported bugs may reflect stronger detection; a shorter cycle time is valuable only if delivery stability and customer outcomes remain acceptable. Results should be segmented by task risk and codebase conditions, not used to rank individual developers or attribute causation to AI without supporting evidence.
3.6 Agent autonomy changes the control surface
Unlike a completion tool that suggests a small block of code, an agent may edit many files, run commands, update test fixtures, or continue over several steps. That creates specific failure modes: weakened tests can make a build green without fixing the defect; large diffs obscure review; stale context can carry forward an outdated requirement; and broad credentials can turn a development mistake into a production action. These risks call for controls over what the agent can change and execute, not just checks on its final code.
Research & Insights
The evidence below is deliberately mixed: public-sector audit findings show portfolio risk, regulatory findings document the consequences of a difficult migration, company engineering accounts illustrate architecture trade-offs, and data-leader research helps test the AI-readiness claim. These sources answer different questions and should not be combined into a universal success rate.
| Research Signal | What the source reports | Implication for Leaders |
|---|---|---|
| DORA: quality and delivery can diverge | DORA’s 2024 analysis associated 25% higher AI adoption with +3.4% reported code quality, +3.1% review speed, −1.5% throughput and −7.2% stability. In 2025, AI adoption was positively associated with throughput and product performance, but negatively with stability. These are associations, not causation. | Measure escaped defects, change failures and recovery alongside code quality, review speed and delivery flow. |
| Veracode: generated code can still be insecure | Veracode’s July 2025 benchmark found known OWASP Top 10 vulnerabilities in 45% of generated samples across controlled, security-relevant tasks in four languages without security-specific guidance. The October update includes newer results. This is not a failure rate for all AI-generated code. | Validate security and behaviour independently; functional correctness alone is not sufficient evidence of quality. |
| GitClear: maintainability signals matter | Analysis of 211 million changed lines from 2020–2024 found copy-pasted lines rising from 8.4% in 2021 to 12.3% in 2024, while refactoring-associated moved lines fell from 25% to under 10%. The analysis does not isolate AI as the sole cause. | Track duplication, churn, refactoring, complexity and ownership not just whether the current build passes. |
| Developer survey: verification adds friction | Among respondents to Stack Overflow’s 2025 AI-frustration question, 66% cited “almost right” answers and 45% cited more time spent debugging AI-generated code. These self-reported perceptions use that question’s respondents, not all survey participants. | Budget review and debugging effort into the workflow; adoption does not remove the need to verify output. |
| METR: productivity estimates need context | METR’s early-2025 trial found 19% longer completion times among 16 experienced developers across 246 issues. A late-2025 follow-up, reported in February 2026, suggested faster work with newer tools; selection and time-measurement problems prevented a reliable estimate of the gain. | Treat productivity evidence as context, not a substitute for measuring quality and value in your own workflow. |
An AI-specific operational incident: Replit Agent and production data
In a July 2025 post about safety improvements, Replit acknowledged that its Agent had deleted data from a user’s app database during a development workflow. Replit said the user restored the data using rollback and explained that, at the time, development changes could affect the production application before development and production databases were separated by default. This is the platform’s own account, not an independently audited post-incident report, and it does not establish how often such failures occur. It does illustrate why agent permissions, environment isolation, restoration mechanisms, and a named release owner matter.
A real-world lesson: the Knight Capital deployment failure
The U.S. Securities and Exchange Commission’s 2013 order states that, while handling 212 incoming parent orders, Knight Capital’s automated routing system sent millions of child orders and generated more than four million executions across 154 stocks in approximately 45 minutes. Knight ultimately lost about $460 million on unwanted positions. The SEC identified failures in deployment and automated-system risk controls. This was not an AI incident; it remains a useful example of why automated actions require safe rollout, meaningful alerts, and tested recovery mechanisms.
RESEARCH CONCLUSION
The evidence does not support treating output volume as a proxy for dependable outcomes. Quality depends on independent validation, maintainable code, production visibility, controlled exposure, and decisions made by people who understand the business risk.
Recommendations: The VISTA Framework
Astrik proposes VISTA as a practical operating framework for software quality in AI-assisted development. It is developed for this paper, not an external standard or certification. The five principles connect test evidence, production behaviour, safe rollout, balanced measures, and clear decision rights.
| VISTA | VISTA control | How to put it into practice | Example evidence |
|---|---|---|---|
| V | Validate outcomes | Start with acceptance criteria and risk-based tests. Cover business rules, boundaries, integrations, security, performance, accessibility, and resilience according to the impact of failure. Ask whether tests independently challenge the implementation. | Requirements mapped to tests; critical-journey coverage; regression pass rate; escaped-defect trends. |
| I | Instrument for observability | Define service-level and product-level signals before release. Correlate logs, metrics, and traces to critical journeys; preserve useful context while protecting sensitive data. Establish actionable alerts and diagnostic runbooks. | Service-level indicators (SLIs) and objectives (SLOs) for critical journeys; trace coverage; alert precision; time to detect and diagnose. |
| S | Set risk-based release gates | Match controls to change impact. Use automated checks for every change, targeted manual review for risky logic, staged deployment for consequential releases, and explicit rollback criteria. | Gate pass rates; canary outcomes; change-failure rate; rollback time. |
| T | Track quality and delivery together | Measure cycle time and deployment frequency alongside rework, defects reaching users, reliability, incident recovery, and user outcomes. Compare AI-assisted and non-assisted work only where the data and task context make the comparison fair. | Change lead time; escaped defects; rework share; customer-impact indicators; recovery time. |
| A | Assign human accountability | Name the person responsible for approving high-impact changes and the service owner responsible for production health. Require reviewers to understand the diff, evidence, residual risk, and recovery plan. Keep the ability to pause, roll back, or disable a change. | Named service and release owners; review evidence; exception records; incident-action closure. |
Putting VISTA into practice — The subsections below translate each VISTA principle into controls, day-to-day practices, and evidence leaders can review. Apply them in proportion to the criticality of the product and the potential impact of failure.
5.1 Design a test strategy around risk and feedback speed
Identify the user journeys whose failure would most damage customers, revenue, safety, compliance, or trust. Map each to clear acceptance criteria and a layered test portfolio: unit tests for local logic, component and integration tests for interfaces, and end-to-end tests for critical journeys. Use exploratory, accessibility, performance, and resilience testing where automation cannot fully represent real conditions.
When an agent creates tests, verify that they independently encode the requirement, include negative and boundary cases, and fail when a plausible defect is introduced. Mutation testing or deliberately seeded defects can reveal tests that pass without protecting the intended behaviour. Treat test quality as evidence to inspect, not merely a count to increase.
5.2 Use observability to close the production feedback loop
For each critical journey, define service-level indicators (SLIs), such as latency, errors, saturation, and availability, with agreed service-level objectives (SLOs). Also define product indicators such as completed purchases, successful submissions, or task abandonment. Correlate logs, metrics, and traces so teams can connect a customer symptom to the responsible service and change. Protect sensitive data in telemetry and maintain actionable diagnostic runbooks.
5.3 Set risk-based release gates
Define release gates by change risk. Every change should pass agreed build, test, and automated analysis checks. Changes affecting payments, identity, permissions, sensitive data, or core business rules should receive deeper domain review and targeted integration or migration checks. Use feature flags and staged or canary rollout for consequential changes, with explicit success thresholds and stop conditions tied to both technical and business signals. Keep rollback procedures documented, authorised, and tested. Code rollback may not undo data changes or external transactions. Test backup restoration, use backward-compatible migrations where practical, and define how to reconcile or compensate for external actions.
5.4 Track quality and delivery together
Track change lead time and deployment frequency alongside escaped defects, change-failure rate, rework, review effort, recovery time, and successful completion of critical user journeys. Compare AI-assisted and non-assisted work only when task risk, codebase condition, and measurement coverage make the comparison meaningful.
Interpret measures as a portfolio. A short-lived increase in reported defects may reflect better detection, while a lower test-failure rate could mean fewer defects—or weaker tests. Segment by application risk and change size, and avoid using individual output metrics as proxies for engineering value.
DESIGN PRINCIPLE
Make quality evidence a normal part of the change, the release, and the production response. A green pipeline is one signal; dependable software is demonstrated across the full lifecycle.
Implementation Roadmap & Measures
The following 90-day pilot across two to four applications is illustrative. Adjust its scope, duration, and application count to organizational readiness, system complexity, and risk. Appoint an executive sponsor and service owners, and agree in advance which quality and delivery evidence will determine whether the pilot expands.
Days 0–30 | Establish the baseline — Select the pilot applications and define their most critical user journeys. Document acceptance criteria and current test coverage; record cycle time, change-failure and rollback trends, escaped defects, incident frequency, and recovery time where available. Review how AI-generated changes are identified, reviewed, tested, and released. Identify gaps in logs, metrics, traces, business telemetry, and alert ownership. Do not begin by imposing a single company-wide target before understanding the baseline.
Days 31–60 | Strengthen the workflow — Add missing regression tests around high-risk rules and interfaces. Introduce review checklists for AI-assisted changes, protected-test policies, risk tiers for approvals, and release gates that fail on agreed conditions. Instrument critical journeys, add product-level alerts, and set feature-flag, canary, and rollback criteria. Limit agent permissions and keep changes small enough for meaningful review.
Days 61–90 | Evaluate and scale deliberately — Compare quality and delivery measures with the initial baseline. Review escaped defects, customer-impact indicators, duplication and rework, review effort, alert usefulness, and rollback performance. Run a game day to verify that the team can detect a bad change, stop a rollout, restore service and affected data, reconcile external actions, and add a regression check. Expand only when evidence supports it.
Suggested leadership dashboard
| Measure area | Example indicators | Why it matters |
|---|---|---|
| Delivery flow | Change lead time; deployment frequency; review wait time. | Shows whether changes move through the system with less friction. |
| Quality before release | Critical-journey test coverage; regression failures caught before release; flaky-test rate. | Indicates whether tests give dependable, timely feedback. |
| Quality after release | Escaped defects by severity; change-failure rate; customer-impact incidents. | Tests whether pre-release safeguards predict real behaviour. |
| Reliability & recovery | Time to detect; time to diagnose; time to restore; rollback and data-restoration success. | Measures the organization’s ability to contain and recover from failure. |
| Developer experience | Perceived usefulness; review effort; rework; confidence in AI output. | Adds human context to tool-use and workflow data. |
| Business outcome | Successful completion of critical journeys; complaints or abandonment; agreed product SLOs. | Connects engineering quality to customer and business value. |
Interpret metrics together and over time. A temporary rise in reported defects can reflect better detection; a fall in test failures can reflect fewer defects or weaker tests. Segment by application risk, release type, and change size where practical. Avoid turning these indicators into individual developer rankings: the purpose is system improvement.
THE WAY FORWARD
Start with the workflows where failure matters most. Define the expected behaviour, test it independently, observe it in production, and keep a human owner accountable for the release decision and its outcome.
Conclusion
AI coding agents are changing the economics and mechanics of software development. Their value depends on whether organizations can validate behaviour, maintain the resulting code, observe production outcomes, control releases, and keep accountable people in charge of decisions with material impact.
VISTA offers a practical operating model: Validate outcomes; Instrument for observability; Set risk-based release gates; Track quality and delivery together; and Assign human accountability. The controls are deliberately measurable so leaders can review evidence rather than rely on confidence in a tool or a green status indicator.
Organizations can begin with representative applications, protect critical user journeys, establish a baseline, and strengthen controls through a pilot sized to their readiness and risk. The goal is to make useful AI assistance sustainable by ensuring that speed, software quality, and operational confidence improve together.
References
1. DORA, Accelerate State of DevOps Report (2024) & State of AI-assisted Software Development (2025).
2. Veracode, GenAI Code Security Benchmark Report (July 2025 / October 2025).
3. GitClear, Coding on Copilot: 2020–2024 Empirical Analysis of 211 Million Changed Lines.
4. Stack Overflow, 2025 Developer Survey — AI Tool Adoption & Verification Findings.
5. METR, Measuring the Impact of Early-2025 AI on Experienced Open-Source Developer Productivity.
6. U.S. Securities and Exchange Commission (SEC), Order Instituting Administrative Proceedings In the Matter of Knight Capital Americas LLC (2013).


