PUBLIC SECTOR INSIGHTS

The Real Bottleneck in Legacy Modernization Isn't the Rewrite — It's Proving the Rewrite Works

By Will Carbajal • September 29, 2026 • 8 minute read

The Part of Modernization Nobody Talks About

Most conversations about legacy modernization focus on the glamorous part: migrating a 30-year-old mainframe system to a modern cloud-native stack. But having run a U.S. system integrator practice for seven and a half years, I can tell you the part that actually determines whether a program survives isn't the rewrite. It's proving that the rewrite behaves exactly like the system it's replacing.

This step has a name — baseline and validation testing — and in large government modernization programs, it is almost always the binding constraint on schedule, cost, and risk. Not because the technology is hard. Because the traditional way of doing it depends on two things that are chronically in short supply: accurate documentation and available subject matter experts.

Why the Traditional Approach Stalls

In a typical mainframe modernization, decades of business logic are embedded directly in legacy code — often in proprietary 4th-generation languages that predate most of the people currently maintaining the system. To validate that a converted application behaves identically to the original, teams traditionally have to:

  • Reconstruct expected behavior from documentation that is usually incomplete, because the system has been patched, extended, and reinterpreted by different vendors over different contract cycles for years.

  • Rely on subject matter experts to fill the gaps — except those SMEs are typically split across multiple competing initiatives, with limited hours to give any one validation effort, and their availability becomes the actual rate-limiter on the program.

  • Chase a moving target, because in regulated environments — Medicaid systems are a good example — policy changes at the federal level revise what the “correct” answer is supposed to be. Behavior that was validated six months ago may need to be re-validated against a new baseline, sending demand right back to the same overstretched people.

This is why validation testing quietly becomes the thing that blows up schedules. It's not a technology problem. It's a staffing and knowledge-availability problem wearing a technology disguise.

The Shift: Derive the Baseline From What the System Does, Not From What People Remember

The alternative approach — and the one Rackspace and Palantir have built around Palantir Foundry — starts from a simple but consequential reframe: the legacy system itself is the authoritative record of its own behavior. Every input it has ever processed and the output it produced is a verifiable fact. Those input/output pairs describe the system completely, whether or not anyone left on staff can still read the underlying code.

That reframe changes the role of human experts in three important ways:

  • The mainframe becomes the source of truth, not the documentation or the interview transcript. A controlled set of transactions is executed and captured directly from the legacy system as the authoritative baseline.

  • The refactored system is run against the same inputs, and outputs are compared field by field rather than spot-checked through a sampled pass/fail review.

  • Staff shift from reconstructing behavior to adjudicating exceptions. Instead of spending months trying to recall how the system is supposed to work, subject matter experts are used only where they're genuinely needed — resolving real edge cases the comparison surfaces, not rebuilding institutional memory from scratch.

And critically, this approach is repeatable by design. When policy changes revise the expected answer, the comparison is re-run against the new baseline rather than rebuilt from the ground up — which matters enormously in any environment where the rules keep changing out from under the validation effort.

How the Comparison Layer Actually Works

This is where Palantir Foundry's ontology model does the heavy lifting, deployed and operated by Rackspace as a governed layer between the legacy environment and the modernized target:

  • Data lineage mapping. Every field is traced from its legacy source through to its destination in the modernized target. When outputs diverge, the lineage identifies exactly where the transformation broke down, which sharply shortens root-cause analysis compared to manual debugging.

  • One definition per business object. Rather than comparing raw record layouts, an ontology models each business concept once — a claim, a member record, an eligibility determination — and maps both the legacy record structure and the modern schema to that single definition. Comparison happens at the level of the business object, not at the level of arbitrary field positions, which makes the results interpretable by people who aren't mainframe engineers.

  • Automated variance detection at scale. Differential comparison runs field by field across full transaction volumes, producing a ranked variance report instead of a sampled pass/fail — surfacing the issues that matter most first.

  • An audit trail built for oversight, not just delivery. Every comparison, every exception, and every disposition is recorded with lineage intact — evidence in a form suited to independent verification and validation (IV&V) reviewers and program oversight bodies, not just internal QA.

Importantly, this operates on data, not source code. The actual code conversion work stays with whatever delivery team already owns it. This is a validation and evidence layer, not a replacement for the modernization effort itself — and it requires no new tooling for agency or client staff to learn.

What a First Engagement Looks Like

The value of this approach only means something if it can be proven quickly, on real data, with a defined exit point. A representative first engagement is structured as a bounded, measured assessment rather than an open-ended discovery phase:

  • Scope: One high-volume subsystem with clear input and output boundaries — something like claims adjudication or eligibility verification, not the entire application estate.

  • Duration: Roughly four weeks from the point data access is granted.

  • Staff time required: A hard ceiling — often as low as 16 hours total — because the approach is explicitly designed to run without sustained SME availability.

  • Inputs: Legacy transaction extracts for the chosen slice, plus the corresponding output from the refactored system. The method works from transaction data alone.

  • Deliverables: A field-level lineage map, a ranked variance report, and a measured throughput and detection-rate comparison against the current validation method — a real number, not an estimate.

  • Exit criteria: If the measurement doesn't materially outperform the current approach, that's stated plainly in the report and the engagement ends. The pitch is proven with data, not asserted with confidence.

That last point matters more than it might seem. Most modernization vendors sell acceleration as a promise. This model is built to produce a measured number on the client's own data before anyone is asked to commit to anything larger.

Why This Matters Most in Regulated, Public Sector Environments

Government modernization programs carry three characteristics that make this shift especially valuable:

•      Thin institutional memory. Many legacy government systems predate most of the staff currently responsible for them, so documentation and personal recollection are both weaker than in most private-sector environments.

•      Heavy compliance and audit burden. Programs typically answer to multiple layers of oversight — state technology authorization boards, independent verification and validation auditors, and federal funding agencies — all of whom need evidence, not assurances. A lineage-backed, field-level comparison produces exactly that kind of evidence.

•      Data sovereignty and security constraints. Because this validation layer can run inside governed private cloud or sovereign data center environments, the sensitive data involved never has to leave a controlled, compliant boundary — a non-negotiable requirement for most regulated government workloads.

A Different Kind of Proof

The single largest driver of cost and schedule overruns on large modernization programs isn't a bad design decision made on day one. It's the rework that surfaces months later, when validation testing finally reveals that the “requirements” everyone signed off on didn't actually match how the legacy system behaved.

Deriving the baseline from the system's own transaction history — instead of from documentation that's usually incomplete and people who are usually stretched too thin — doesn't just make validation faster. It changes where risk gets discovered: early, against real data, on a bounded and measured first engagement, instead of late, in production, after the budget is already spent.

ABOUT THE AUTHOR

Will Carbajal

Co-Founder • Public Sector Practice Lead