Cyber attacks in November 2026: what they teach businesses about AI agents and secure software
Optimizely, Maileva, AI agents: what the cyber attacks of November 2026 teach about third-party scripts, suppliers and AI in production.
Published on Updated on 9 min read
Sébastien Nobour
Founder of DEVEDANOS
Trunk-based development fits in one sentence: everyone integrates their work into a single branch, several times a day. What makes it sustainable fits in another: a fast deployment pipeline whose verdict is final.
AI agents that write and commit code make these rules all the more necessary.
Trunk is the main branch, also called main or mainline. In trunk-based development, every developer merges their work into it at least once a day, sometimes several times. If they create branches, those usually last a few hours at most, and the team has no more than three active at once. A feature branch, by contrast, carries days or weeks of work, according to DORA, Google Cloud’s research programme on how software is developed and delivered.
MinimumCD.org, a site devoted to the core practices of continuous delivery, makes it a minimum condition of continuous integration: work is integrated into trunk at least once a day.
Dave Farley, co-author with Jez Humble of the book Continuous Delivery (2010), goes further. In his book Continuous Delivery Pipelines, his ideal branching strategy comes down to two words: “Don’t Branch!” If branches exist at all, they should be tiny, few in number and short-lived, merged at least once a day. When a team is working well, it merges every 10 or 15 minutes.
So the difference lies in how long a change stays apart from everyone else’s, whatever the tool.
A long-lived branch delays integration. While it lives, trunk moves on without it, and it moves on without trunk. The two drift apart. On merge day, everything that changed on both sides has to be reconciled.
Humble and Farley describe the promise and how it plays out. The promise: go faster by making big changes on a branch, then merge it all back at the end. In practice, merging back turns out to be the hard part, and the bigger the change, the harder the final merge. They sum it up in one line: the more compelling the reason for creating a branch seems, the less you should do it. They also note that an application whose work happens on branches is not being continuously integrated.
DORA links trunk-based development to better software delivery and operational performance, based on its 2016 and 2017 data. The same programme recommends having no code freeze and no integration phase.
A short-lived branch is also a small change.
Integrating several times a day only holds up if each integration is checked quickly. That is the job of the deployment pipeline.
The commit stage compiles the code, runs the fast tests, and gives the developer its verdict in under 5 minutes. If it passes, it produces the release candidate: the exact unit that will end up in production, if it gets that far.
This candidate is built only once. Humble and Farley explain why: rebuilding at each stage risks putting something into production other than what was tested.
The candidate is stored in an artifact repository. Farley calls it the version of truth: what it holds are the exact bits and bytes we intend to deploy into production. Environment-specific configuration is kept separate from it, and no version is built for a particular environment.
The acceptance stage takes this candidate and always follows the same four steps: configure the environment, deploy the candidate, check that it starts, run the acceptance tests. Manual tests are exploratory. They only cover candidates that have already passed acceptance, and they are not used for regression testing.
MinimumCD sums up these rules. The pipeline is the only way to deploy to any environment. The artifact is immutable: no human changes after the commit. The pipeline decides whether a change can go to production, and its verdict is final.
Here is the principle, written as pseudo-configuration, with no tool syntax:
# Pseudo-configuration written for this article: the principle, not a tool.
pipeline:
trigger: every commit to trunk
commit stage:
target duration: under 5 minutes
do:
- compile
- run the fast tests
- build the candidate, once only
- store the candidate in the artifact repository
on failure: stop the line
acceptance stage:
exclusive: the whole stage, from first step to last
candidate: the most recent one that passed the commit stage
do:
- configure the environment
- deploy the candidate
- check that it responds
- run the acceptance tests
- shut down the environment
on failure: stop the line
production:
candidate: the one that passed acceptance
release: decided by a person (Continuous Delivery)
or automatic (Continuous Deployment)
A red pipeline means one thing: trunk is no longer ready for production. Farley makes this the team’s priority: keeping the path to production clear. MinimumCD puts it more bluntly: when the main pipeline is red, all feature work stops.
Humble and Farley call this stopping the line: if any part of the pipeline fails, you stop.
Then there are only two options. Fix it within about ten minutes, or revert the change. And if the author of the change is not around, the team reverts it for them.
git switch main && git pull
git revert --no-edit <offending-commit>
git push
The revert is a commit in its own right. It goes through the pipeline like any other, and the history keeps a record of what happened.
The 2024 DORA report, based on a survey of technology professionals, measured something its authors did not expect. When AI adoption increases by 25%, delivery throughput, meaning how many changes reach production, drops by an estimated 1.5%. Delivery stability, in other words the share of those changes that cause no problem once live, drops by an estimated 7.2%. These are estimates drawn from a survey: a correlation, not proof of causation.
The authors put forward a hypothesis. AI makes it possible to produce far more code in the same amount of time. So it is possible, and in their view even likely, that change size goes up. And their data has shown for years that large changes are slower and more often a source of instability.
If the hypothesis holds, the answer is not a new tool. It is the discipline of small batches, applied to agents as to humans. DORA in fact describes working in small batches as a safety net for AI adoption.
MinimumCD draws concrete rules for agents from this:
So an agent has no more rights than a developer. The pipeline remains the only path to production.
That leaves code review. Bryan Finster, a developer who helped Walmart roll out continuous delivery to its teams and who now maintains MinimumCD, argues in “AI broke your code review, here’s how…” for reserving human judgement for what actually needs it: the behaviour the team defines before the code, the scenarios turned into acceptance tests, the team’s own knowledge, and compliance. In a LinkedIn post, he describes one of his best teams. No code review held up delivery: “Our pipelines reviewed the code.”
In our article on building an app with AI, we explain what AI does well on its own, and what it needs around it for an application that holds up in production.
More commits means more candidates. What happens when the acceptance stage is busy and new candidates keep arriving?
Humble and Farley answer with an example. The acceptance tests are running on candidate 1. Meanwhile, other changes arrive and pass the commit stage. The pipeline does not start a second run of the acceptance tests, since they are already running. Nor does it queue the candidates: if it tested them all, it would fall further and further behind what the developers are doing. When acceptance frees up, it takes the most recent candidate, here number 5. Candidate 2 is never tested on its own. On a single trunk, candidate 5 contains its changes.
Farley describes the same mechanism eleven years later, on a financial exchange whose development he led. Acceptance took under 40 minutes, and during that time the commit stage produced around ten candidates. When the acceptance stage freed up, the most recent candidate was deployed. Changes were batched together this way, and acceptance did not build up a backlog it would never have cleared.
Second rule: the acceptance stage is exclusive as a whole. Its four steps run back to back on the same candidate. Humble and Farley describe an instance of the system created fresh at the start of the acceptance test run, used by all those tests, then shut down at the end.
If you reserve only the deployment, and not the whole sequence, another candidate can be deployed between the first one’s deployment and its tests. The test results then carry one candidate’s name but validate another.
Integrating several times a day means committing code that is not finished. Humble and Farley give three ways to keep trunk ready for production despite that:
The feature toggle comes after these techniques, when none of them is enough. We go into when it is justified, and the mistakes that make it dangerous, in our article on feature toggles.
We work on a single trunk, with a pipeline that gives its verdict on every commit. AI is one of our tools, within an approach where every change is checked by automated tests.
For custom business software development, we work to a fixed budget, invoiced at the end of each month for the work done. Your application is usable within a month, with a few essential features: your users start working with it straight away, and how they use it determines which features come next. Once a feature has been signed off and released, it is judged on how your users respond, and we decide the next ones with you right away, for as long as you wish. An application is never finished.
And to make sure that what worked last month still works this month, we apply a zero-regression guarantee: every regression is fixed and covered by an automated test so that it does not come back, at no extra cost.
We also offer audits of your software delivery pipeline and training for technical teams. The audit checks whether your developers’ work is brought together every day into a single version of the software, so that it stays ready to ship at any time, and what remains to be put in place.
In our guide, you will find the questions to ask before signing a quote for developing your custom tool.
Do you need software built, and want it built this way? Shall we talk?
Optimizely, Maileva, AI agents: what the cyber attacks of November 2026 teach about third-party scripts, suppliers and AI in production.
Big bang software projects: months of development away from users, then “this is no use to me”. How to explore their needs and measure real use.
Quality code is code that is easy to change. Why that matters for your application, and how to measure code quality without reading the code.