Modernizing MENA Banking Without Losing the Rules in Legacy Code

Recover the logic. Validate the decisions. Then replace the application.

For CIOs and modernization leaders at established MENA banks, a core application replacement should begin with a question more fundamental than platform selection: Which business rules must survive the change?

Legacy modernization is not simply a code translation exercise. It requires making existing behavior understandable, deciding what should remain and proving that replacement software delivers the approved outcomes without compromising service continuity.

Sapient Slingshot supports this work by extracting business logic from existing code, mapping dependencies and making that logic testable. It turns existing code into verified specifications and generates modern software with full traceability. The practical opportunity is to make rule recovery and validation an explicit stage of modernization—not an assumption buried inside the delivery plan.

A digital bank launch is not a legacy conversion

Publicis Sapient’s work with AGTB illustrates the opportunity to build banking differently. In 2019, we helped build the first fully digital trade finance bank in months, combining adaptive architecture with agile delivery.

That was a digital bank launch, not a legacy core conversion. It should not be treated as evidence that an established bank can replace its existing applications on the same timetable or with the same migration approach.

For an incumbent, the starting point is different: understand the systems already supporting the business, recover their embedded rules and establish which behaviors the replacement must preserve. Launch experience informs how to build; legacy discovery establishes what must not be lost.

1. Inventory dependencies around a business capability

Start with a bounded business capability rather than an arbitrary volume of code. Give it a named business owner, a technical owner and a clear operational boundary.

Build an inventory that connects applications to the processes they support. For each component, record:
Use Slingshot’s dependency-mapping capabilities to support discovery, then have architecture and operations teams review the map. Do not assume that every important dependency can be established from application code alone.

The output should answer two questions: What could change if this component is replaced, and who must validate that change? Record unresolved dependencies explicitly. An unknown dependency is a discovery task—not permission to proceed.

2. Turn undocumented code into reviewable specifications

Slingshot reads existing code and recovers the business rules embedded within it. Use that capability to establish a specification baseline before committing to replacement behavior.

The specification should explain decisions in language business owners can review, while retaining a traceable connection to the technical implementation. A useful review template includes:
This is a suggested governance structure, not a claim that every field is automatically produced by the platform.

Separate descriptions of current behavior from proposed future requirements. Recovering a rule accurately does not establish that the bank should retain it unchanged. Equally, redesign should not erase the evidence of what the existing application does.

Maintain a versioned baseline so subsequent code changes can be assessed against the specifications already reviewed.

3. Make business validation a delivery gate

Engineering teams should validate whether a specification reflects the code. Business owners should validate whether that behavior represents the intended business outcome. Risk and control stakeholders should review the decisions relevant to their responsibilities.

Organize reviews around decision scenarios, not lengthy code walkthroughs. Ask reviewers to examine normal processing, boundary conditions, exceptions and cases where the expected outcome is unclear. Convert approved scenarios into acceptance tests.

Classify each recovered rule as:
Record the owner, decision, supporting evidence and associated tests. Do not silently reproduce suspected defects, and do not silently correct them during conversion. Both choices require an accountable decision.

Traceability should connect the recovered logic, approved specification, implementation and test evidence. Slingshot’s code-to-specification and software-generation capabilities provide a foundation; the bank’s review process must determine who can approve each transition.

What a global banking example demonstrates

A global retail and commercial bank used Sapient Slingshot to turn nearly three million lines of legacy COBOL into audit-ready specifications in eight weeks. Reported results included:
These results demonstrate the potential to accelerate recovery of legacy logic at scale. They describe specification work—not completion of a core migration—and are not a forecast for a MENA bank’s program.

The reported accuracy figure should not become a default acceptance threshold. Each bank should define its own measurement method, review coverage and release criteria. An aggregate score must not obscure an unresolved error in a critical rule.

4. Sequence migration around operational continuity

Use the validated dependency map to define migration waves. Select an initial scope with clear boundaries, available reviewers and observable outcomes—not simply the smallest application or the easiest code to convert.

For each wave, establish four gates:
  1. Discovery complete: Dependencies are understood sufficiently for the proposed change, with remaining uncertainties explicitly managed.
  2. Behavior approved: Specifications, intentional changes and acceptance scenarios have accountable sign-off.
  3. Replacement proven: Tests demonstrate approved behavior and required interactions with surrounding systems.
  4. Operations ready: Monitoring, support ownership, cutover procedures and recovery arrangements have been rehearsed.
Where appropriate, compare existing and replacement outputs through controlled parallel or shadow processing. Define how differences will be reconciled, who can accept them and what triggers a pause or rollback. Plan data reconciliation and recovery alongside application deployment.

Avoid retiring the old component merely because the new one is live. Make retirement conditional on agreed evidence that required behavior and service performance are sustained, dependencies have been addressed and operational ownership has transferred.

Measure confidence as well as speed

Agree definitions and baselines before the first pilot. Suggested measures include:

Measure | Suggested definition | Management use
Specification accuracy | Reviewed rules found to represent existing behavior correctly, divided by reviewed rules | Assess extraction quality; report critical errors separately
Review coverage | Rules reviewed and approved, divided by identified rules in scope | Expose unvalidated areas rather than relying on sample accuracy alone
Manual review effort | Human hours spent reviewing, correcting and approving specifications for comparable scope | Assess effort reduction without hiding rework or business-owner time
Traceability coverage | Approved rules linked to source evidence, implementation and acceptance tests | Identify breaks in the evidence chain
Service continuity | Availability, transaction success, processing timeliness and migration-related incidents against agreed baselines | Determine whether migration is preserving operations
Reconciliation exceptions | Unexplained differences between existing and replacement outputs | Inform release, pause and recovery decisions

Set targets appropriate to each migration wave. Faster specification production is useful only when review quality and operational outcomes remain visible.

Readiness checklist: before replacing a core application

Start with evidence, not a replacement deadline

For established MENA banks, the next modernization milestone should be a bounded capability whose dependencies are understood, rules are reviewable and behavior is approved.

Publicis Sapient combines banking and engineering expertise with Sapient Slingshot to help make that foundation actionable. Start by recovering what the bank already knows through its code—then use validated specifications and traceability to decide what to preserve, what to improve and when it is safe to move.