William Idoine on LinkedIn (opens in new tab)
Agents can write a great deal of the code. The question a business should ask is not how much, but what has to be true of the workflow around them before their output is allowed near customers.
Authorship is a process fact, not a result.
It is now practical for a large share of a codebase’s changes to be drafted by AI agents. On the Trailer Spec Pro platform, 96% of pull requests were authored by agents. That is a fact about how the work was produced. It says nothing on its own about whether the product is correct, secure or reliable.
Those qualities come from the workflow the changes pass through, and that workflow has to be in place before assisted delivery reaches production. Below are the conditions we hold to. Each one is something a technology leader can check for in their own environment.
Every change passes the same gates, whoever wrote it.
An agent authored change must clear exactly the checks a human authored change clears, with no separate lane and no relaxed threshold. On Trailer Spec Pro every agent pull request went through the same pre-commit hook, the same continuous integration (CI) gate and the same automated merge job as a human one.
If a change can reach the main branch by a route that skips a check, the check is not a control.
Coverage is a floor with a defined scope, not a guarantee.
Automated tests are the first line of evidence that a change does what it claims. Trailer Spec Pro enforces 100% across all four Jest coverage gates on every commit, checked locally by the pre-commit hook and again in CI. FlowAML, a compliance platform Vectorise took to production for a statutory go-live, raised backend line coverage from 25% to 97% and enforces that figure as a floor in CI that only moves upward.
Be precise about what such a figure covers. Coverage measures which lines or branches the tests executed. It is not a guarantee of correctness, security or production reliability. Its value is that a change cannot lower it, so the evidence base grows with the product instead of eroding.
Staging behaves like production and is watched like it.
A change that passes its tests still has to prove itself in an environment that looks like the real one. Trailer Spec Pro’s staging environment runs with the same telemetry, configuration and data shapes as the live system, and over 100 Grafana monitors, synthetic checks and service level objectives watch both environments. Reliability regressions surface in staging before a customer sees them.
Without that, automatic merging only moves the risk closer to the customer.
Production promotion is a separate, deliberate step.
Merging to staging and releasing to production are different decisions. On Trailer Spec Pro, 363 pull requests were auto merged to staging between September 2025 and May 2026 once their checks were green. Promotion to production is a separate step, taken by a person with one click.
Describing the whole flow as having no human involvement would be wrong, and the distinction is the point. Automation carries the change to the threshold. A person decides whether it crosses. Alongside that decision the workflow needs a rollback path that has been exercised, so a bad release is a short incident rather than a long one.
Ownership, access and evidence are explicit.
Someone owns the workflow: the credentials the agents run with, the scope of what they may change, the review that happens before a merge and the record that shows what was checked. Access is limited to what the work needs. Evaluation criteria are written down before the workflow runs, not inferred afterwards. And the evidence of each check is kept in a form that a reviewer, an auditor or a customer can inspect.
Those controls do not make a regulator’s decision for you and they do not guarantee compliance approval. They make it possible to demonstrate what the workflow does, which is what an approval process asks for.
Conclusion.
An assisted workflow is ready for production when the controls around it would satisfy you for a human authored change under pressure: one set of gates, a coverage floor whose scope is understood, a staging environment that behaves and is observed like production, a deliberate promotion step with a rollback path, and clear ownership with evidence to show.
The share of code the agents wrote is a detail. The workflow is the result.
Summarised (for your agent)
- Principle: The share of code agents write is a fact about the process. Correctness, security and reliability come from the workflow the changes pass through.
- Gates: Every change clears the same gates, whoever wrote it: if a change can reach the main branch by a route that skips a check, the check is not a control.
- Coverage: A floor with a defined scope that no change can lower. It is not a guarantee of correctness.
- Staging and release: Staging behaves and is watched like production, and promotion to production is a separate, deliberate step with an exercised rollback path.
- Accountability: Ownership, access and evidence are explicit, so the workflow can be demonstrated to a reviewer, an auditor or a customer.
