arrow_back All posts
Our Journey to AI-Driven Development · Part 1

From TFVC to Git to Agents: Why a Twenty-Year-Old Platform Went AI-First

We did not start with a strategy. We started with a version-control migration, a pipeline nobody liked, and a Friday-afternoon experiment that posted a review comment on a pull request.

Daniel Wiedenhofer · Healy Hudson Portugal
· 8 min read

Nobody at Healy Hudson Portugal sat down in 2025 and wrote an AI strategy. What we had was a Source-to-Pay platform with two decades of history, a few hundred thousand users around the world who expected it to keep working, and a development process that was slower than any of us wanted. This series is about how that platform, and the team in Lisbon that looks after it, ended up with an agentic development workflow. We are writing it down because we could not find anyone else describing the messy middle.

Where we started

The platform is called open ordering. It is C# on the .NET Framework, ASP.NET MVC with a long tail of WebForms pages from an earlier era, NHibernate for persistence, SQL Server, Apache Solr for search. Counted generously, with generated code and legacy, it is well over a million lines of C#, nearly two thousand Razor views, more than a thousand WebForms pages and some nine thousand SQL files. Thirteen projects in the main solution, over eighty project files in total.

Until October 2025 all of it lived in Team Foundation Version Control. The history went back to 2014, when the team project was created, and the product itself is older still. Branching was painful, pull requests did not really exist as a practice, and the build was something you ran on a particular machine. If you have worked on enterprise software of that age you know the picture. It was not bad software. It was software that had been shipping for a very long time, and it carried the habits of every year it had shipped.

Step one was not AI

The first thing we did had nothing to do with agents. We migrated the repository from TFVC to Git. Some fourteen and a half thousand changesets came across with their history intact, and around six thousand of them were imported in one go at the end of October 2025. Native Git work started in November.

That migration mattered more than anything that came later, for a simple reason: every tool we now rely on assumes Git. Pull requests, branch policies, YAML pipelines, pre-merge quality gates, a reviewer that reads a diff. None of it is possible on a system without cheap branches and a diff that a machine can read. If you are reading this with a codebase still on TFVC, this is the step. Everything else waits for it.

Right behind the migration came the pipelines. Builds moved to Azure Pipelines with YAML definitions in the repository. Deployments moved to Docker images and HashiCorp Nomad. It took a few months, and it was unglamorous, and it is the reason the rest of this story was possible.

The Friday-afternoon experiment

In March 2026 one of us added a step to the pull-request pipeline. It installed Claude Code on the build agent, ran it headless against the diff with a review prompt, and posted the result as a comment on the pull request. The commit message was "add Claude Code Review". That was the whole plan. Today that review runs on OpenAI Codex, deliberately a different model from the one that writes our code, so the reviewer does not share the author's blind spots.

It was not very good at first. It commented on things that did not matter and missed things that did, because it knew C# but it did not know us. It did not know that we register repositories in Castle Windsor and never instantiate them with new in business logic. It did not know that every data change needs an activity log entry. It had no idea what an .hbm.xml mapper was for or why ours look the way they do.

But it was consistent, it never got tired, and it read every line. Within a few weeks the comments were useful often enough that people started reading them before the human review. In April we added Trivy to the same pipeline for dependency and image scanning, and a little later Semgrep for static analysis against C# and OWASP rule sets. The pattern was set: an automated reviewer in the pull request, posting findings, with a person deciding what to do about them.

The first file that changed everything

At the end of April 2026 the first CLAUDE.md landed in the repository root. If you have not used Claude Code: it is a Markdown file the agent reads at the start of every session, and it is where you tell it how your codebase works. Ours started small. It grew to twenty kilobytes. Then it split into one file per module, because the rules for the data layer have nothing to do with the rules for Razor views, and an agent that reads all of them at once reads none of them properly.

That is the subject of part two. The point for now is what it did to us. Writing down how the codebase works forced us to find out how the codebase works. A lot of it had never been written anywhere. It was in the heads of people who had been here for years, and in the muscle memory of people who had learned it by being corrected in code review. Putting it in a file the agent could read also put it in a file a new colleague could read. That was not the goal. It was the best side effect we have had.

Why we kept going

By May we had plans: short Markdown documents, one per ticket, that listed the tests before the code. By the end of May we had the first skills, reusable procedures the agent could follow for things like opening a pull request or writing a commit message the way we write them. By June the share of commits that carried a Claude co-author trailer was about one in five. By August it was more than half, and it has stayed there.

We kept going for a reason that is easy to state and hard to fake: the work got better. Not just faster. The plans were more complete, because the agent does not forget the negative test case. The reviews caught more, because the agent reads the whole diff. The documentation existed, because the agent needs it to exist.

It also got harder in ways we did not expect, and we will be honest about those too. An agent that is fast and confident will suppress a warning rather than fix it if you let it. It will report a number that is wrong. It will approve its own work. Every rule in our process exists because one of those things happened. That is what the rest of this series is about.

Next in the series: how we taught the agent our codebase, one module at a time, and the nine architectural laws that came out of it.

Sound like your kind of engineering?