Safe Steps in Modernization

Modernization in Banking, Education, HealthTech, FinTech and Tax Returns rarely means a big bang rewrite. It means moving a live, regulated system forward without breaking the audit trail, the patient record, the loan ledger or the filing deadline. The safe way is bounded: pick one component, understand its constraints, and change only what you can verify.
Assessing Legacy Applications
Assessment starts with evidence, not assumptions. In regulated domains the risk is not just technical obsolescence but loss of traceability. For a tax returns platform the concern is preserving calculation history; for HealthTech it is preserving immutable audit logs; for Banking and FinTech it is preserving transaction integrity and compliance evidence.
A practical first pass is to identify end-of-life frameworks and dependencies, with evidence that the application still uses them [1]. That means finding the dependency in the manifest, build logs or runtime, not just in documentation.
The average age of a COBOL/mainframe engineer is about 55 and rapidly increasing [2]. Current “AI for code” tools focus on codebases and repositories, so they miss the unwritten rules, historical context, and architectural reasoning that live in human minds [2]. Modernization projects fail not because no one can parse COBOL, but because no one can answer “why was this billing edge case added in 1995 and what breaks if we remove it” [2].
A feasibility check should be run to determine if the component can run well enough to produce evidence, even if the legacy CI pipeline is not green [1]. The check is time-boxed: install dependencies, build on an available toolchain, start the component, and execute at least one meaningful test. The goal is not green builds everywhere, it is enough signal to decide what is safe to touch.
Decision to remove a capability should be made separately from the decision to modernize it, and should be verified with its owner [1]. In Banking this often means confirming with product and compliance that a reporting format is truly superseded; in Education it may mean confirming with registrar staff that an export is no longer required.
Choosing Bounded Modernization Steps
Once you understand the application, make the decision per component. A single system can contain code that should stay, dependencies that should be swapped, and one subsystem that genuinely needs a rewrite [1].
A bounded step has three properties: it is scoped to a component, it has a clear rollback, and it preserves the external contract. Examples in the sector:
- FinTech payment adapter: Replace an end-of-life TLS library in the outbound adapter only, keep the core ledger untouched.
- HealthTech patient portal: Swap the authentication library while keeping the FHIR read model unchanged.
- Tax Returns calculation engine: Wrap the legacy calculator behind an interface and run new and old in parallel for one tax year, compare outputs.
Trade-offs differ by domain:
| Option | When it fits | Risk in regulated sector |
|---|---|---|
| Keep in place | Core logic with proven audit history | Accumulating security debt |
| Swap dependency | Isolated library with clear API | Hidden coupling to platform |
| Rewrite subsystem | High change frequency, poor test coverage | Loss of historical reasoning |
The decision to modernize a component should be made per component, considering the least disruptive treatment that works [1].
A useful assessment flow:
Reusing the Method with GitHub Copilot
The bounded method is repeatable. A GitHub Copilot agent skill can encode the checklist so developers do not reinvent it per service.
A skill can prompt the agent to:
- List dependencies and flag end-of-life items with evidence that the application still uses them [1].
- Run a time-boxed feasibility check: try to install dependencies, build on an available toolchain, start the component, and execute at least one meaningful test [1].
- Propose per-component treatment options, with the least disruptive treatment that works [1].
- Flag any capability removal and require owner confirmation [1].
The skill does not replace human judgment about unwritten rules, but it enforces the structure and reduces drift. In Banking, the skill can be configured to require a compliance reviewer for any change touching ledger writes. In HealthTech, it can enforce audit log preservation checks.
A minimal skill prompt example:
name: bounded-modernization
instructions: |
For the target component:
1. Identify end-of-life frameworks and dependencies with evidence.
2. Run time-boxed feasibility check.
3. Propose per-component treatment: keep, swap, rewrite.
4. If removal proposed, require owner verification.
Reusing the method means the same safety bar applies to a student information system in Education and a payment orchestration service in FinTech, with domain-specific owners and data constraints.
Addressing Tech Debt and Dependencies
Highly coupled platforms can have negative effects on each other, and may not happen right away [3]. Ignoring tech debt can lead to poor software quality, system health, and speed of development [3].
Aligning tech debt with product strategy can help address technical issues [3]. Untangling system dependencies can be a part of addressing tech debt [3].
In practice this means naming the coupling. A common pattern in Tax Returns is a monolith that mixes calculation, filing submission and customer notification. Untangling system 1 from 2 and 3 as part of the effort lets you modernize notification via component orchestration without touching calculation.
Modernization reality is hybrid. While 98% of respondents today said that their applications are hosted in the public cloud, 43% indicated that they also host in off-premises private clouds [4]. Companies Expect a Shift to Hybrid in the Next 2 Years [4]. Moving an application to the cloud can take time and effort. That’s money, when it comes to developer time being monopolized. But in our survey, 20% of respondents indicated that intend to repurchase software or tools for migration purposes [4].
The bounded approach limits repurchase risk: you only buy or build tooling for the component you are moving, not the whole estate.
Coordinating Components with AWS Step Functions
After bounded changes, components often need reliable orchestration. AWS Step Functions allows you to coordinate the components of your application as a series of steps in a visual workflow [5].
States can be activated sequentially or in parallel, and Step Functions will make sure that all parallel states run to completion before moving forward [5]. Multiple copies of each state machine can be running independently at the same time, and Step Functions will let you run thousands of executions concurrently [5]. You can specify error handling behavior and retry logic as part of your state machine [5].
For a HealthTech claims flow, Step Functions can run eligibility check and benefits check in parallel, wait for both, then call the legacy adjudication service. If the legacy service fails, retry logic is defined in the state machine, not in ad-hoc client code.
A typical pattern:
This keeps the legacy service behind a thin adapter and gives you observable, retryable, auditable execution history — valuable in Banking and Tax Returns where you must explain what happened and when.
Safe modernization is not about speed. It is about choosing the next step you can prove is safe, document, and repeat.
References
- How to choose the next safe step in application modernization — github.blog
- Launch HN: Hypercubic (YC F25) – AI for COBOL and Mainframes | Hacker News — news.ycombinator.com (10 November 2025)
- Ask HN: Drowning in technical debt and legacy systems — news.ycombinator.com (14 December 2018)
- The State of Application Modernization, 2022 — thenewstack.io (20 May 2022)
- New – AWS Step Functions – Build Distributed Applications Using Visual Workflows | Amazon Web Services — aws.amazon.com (1 December 2016)