On February 23, 2026, Anthropic published a post saying that with AI, teams can modernize their COBOL "in quarters instead of years" (Anthropic). IBM's shares fell 13% that day (The Register). Three days later, AWS published its own lessons from COBOL modernization (AWS). By May it was reporting that customers were completing "full transformation and testing of 250,000-line mainframe applications in six weeks" (AWS, May 2026).
In June, Gartner predicted that more than 70% of mainframe exit projects started in 2026 will fail to deliver their intended benefits, because buyers overestimate what generative AI can do (Gartner, Jun 2026).
Both things can be true. The tools got much faster at reading and rewriting code. What they don't do, and aren't designed to do, is decide which of the old system's rules should survive.
Faster, but not solved
The speed claims are big, and they all come from the vendors. AWS says Fiserv finished a project estimated at more than 29 months in 17. Even AWS is careful about the limits. Its February post says the first half of a mainframe project, working out what the system actually does, "is where mainframe projects live or die". It says AI on its own "isn't enough to extract business logic and generate documentation that regulators will accept". And in financial systems, "a rounding difference isn't a cosmetic issue. It's a material error."
A practitioner test shows why. Swimm's CTO ran Claude Code against two Medicare COBOL pricing programs. On the larger one, the output mentioned only 24% to 35% of the program's paragraphs, rule counts ranged from 140 to 226 across three runs, and the main payment-calculation paragraph produced zero rules each time. One dropped condition would have caused overpayments on zero-unit claims (TechChannel, Feb 2026). The author sells a code-understanding product, so read it as a practitioner test, not a neutral benchmark.
Purpose-built pipelines report better results. An ACL 2026 paper pairing deterministic code analysis with an LLM reports 93% agreement with expert-written business rules, judged on a sample of rules from a 3.4-million-line financial codebase. The same paper describes the extracted rules as "review candidates, not approved policies", and warns that extracted requirements "may reflect outdated or inequitable legacy policies" (ACL Anthology, Jul 2026).
That sentence is the heart of the problem.
Faithful reproduction is the goal, and the trap
Every safeguard that makes AI migration trustworthy is built to reproduce the old system: deterministic extraction, traceability back to the line, parity with production output. That is good engineering. It also means no tool in the chain asks whether a rule should still exist.
Thoughtworks put it plainly after an AI-assisted migration: "A spec can be complete but still carry forward a legacy bug or outdated rule" (Thoughtworks, Jul 2026).
There is a credible counter-position. Mechanical Orchard argues teams shouldn't try to infer intent from source code at all, and should instead capture production inputs and outputs and match them workload by workload (CIO.com, sponsored, Mar 2026). For regulated calculations, where exact parity is the point, that is the right call. Applied to everything, it means paying to preserve rules that should have been retired.
The cost of skipping that decision shows up later. Grape Up describes analyzing a COBOL back-office system that a previous vendor had mechanically translated to Java: 654,273 lines with no automated tests. In its business-logic layer, roughly 45% to 55% of the code "carried no semantic weight". Grape Up stresses the ratios are specific to that project, but the lesson travels: "Auto-translation defers cost; it does not eliminate it." (Grape Up, May 2026).
The shortage is people who know why
The usual story is a COBOL skills shortage. The data points somewhere slightly different. In Kyndryl's 2025 survey of 500 senior leaders at mainframe-using organizations, only 23% named legacy programming languages as a skills gap. And 39% said retirements were taking mainframe skills with them (Kyndryl).
AI can read COBOL syntax. What is scarce is the person who remembers why a rule exists, and who has the authority to retire it.
The one published engagement we found with per-unit timings shows where the time goes. In the Thoughtworks migration, AI extraction took about 4 to 6 hours per unit and expert review took 6 to 8. Limited SME availability was "the most critical blocker to migration speed," and the author warns that undocumented logic gets missed "until it surfaces as production bugs after the migration." That was a single project on legacy logic at a sports data company, a legacy Java codebase, not a COBOL estate, so treat it as a signal rather than an industry ratio.
An illustrative example. Picture a claims system with a rule that holds claims from one postal region for an extra ten days. The AI extracts it accurately and points to the exact lines. Nobody on the project can say whether it is a regulatory requirement, a fraud workaround from the 1990s, or a leftover from a branch that closed. The AI did its job. If nobody owns the decision, the rule gets faithfully rebuilt in the new system, and so do the thousands like it.
Fund the decisions before the translation
If you are planning a mainframe or legacy modernization in 2027, these are the things we would put in the plan before the translation budget:
- Run a rule-disposition pass. Classify each extracted rule as current policy, regulatory requirement, workaround or dead. Only the first two need faithful reproduction.
- Name an accountable business owner for each domain, with the authority to sign off on keeping, changing or retiring rules.
- Treat expert hours as the critical path. If two people near retirement hold the knowledge, the AI's speed can't make the project shorter than their calendars.
- Separate "reproduce exactly" from "re-decide". Use production parity for regulated calculations. Use the migration to retire what no longer earns its place.
- Triage extraction output by confidence. Thoughtworks tagged extracted facts green, amber or red with file and line references, so experts reviewed only the ambiguous ones.
- Measure parity against real production data, not "percent converted" or tests the same AI wrote for itself. We covered why yesterday, in The AI Wrote the Tests Too.
- Discount speed claims to scope. Vendor timelines come from bounded applications. Most organizations in Kyndryl's survey are moving part of their estate, not all of it: only 1 of 500 plans to leave the mainframe entirely, and on average they plan to move 28% of their applications.
AI is starting to take the translation off the critical path. That is good news, as long as you put the decision-making there on purpose. If you are weighing a modernization and want an honest read on where the real work sits, talk to us at midrasolutions.com.