Modernize the Code, Preserve the Rules: A Banking CIO’s Guide to Legacy Discovery
Before changing a core banking system, establish what its code makes the business do—and which behaviors must survive the change.
For North American banking CIOs and engineering leaders, legacy discovery should be more than a technical inventory. It should create a shared, evidence-backed understanding of embedded business rules so teams can distinguish an architectural improvement from an unintended change in banking behavior.
The objective is not to preserve every historical implementation choice. It is to make decisions about business behavior explicit: what to retain, what to change and who has authority to approve the difference.
Three million lines. Eight weeks. A discovery milestone—not a completed modernization.
A large global bank faced a discovery challenge: traditional code-to-specification work was slow, inconsistent and difficult to scale because it depended heavily on manual human analysis. Three million lines of code were tightly coupled with mainframe logic. Modernizing through manual interpretation risked unintended rule changes and increased compliance exposure.
Using Sapient Slingshot, the bank turned those three million lines of code into verified specifications in eight weeks.
That result establishes a concrete discovery milestone. It should not be interpreted as evidence that the bank completed a core replacement, migrated its data, deployed modern software or achieved a particular operating-cost reduction within that period. Nor should eight weeks become a universal delivery promise for other estates.
Sapient Slingshot is designed to turn existing code into verified specifications and generate modern software with full traceability. For a banking CIO, the architectural opportunity is to connect understanding with implementation. The management responsibility is to define the evidence required at each stage.
The following guide proposes four decision gates for doing that. These are recommended practices, not a description of the global bank’s delivery methodology.
1. Identify critical rules before selecting what to change
Start with a bounded business capability, not simply a convenient collection of programs. Define the business outcome in scope, then identify the code and dependencies that influence it.
Ask engineering and business owners to build a rule inventory together. For each candidate rule, record:
- Business purpose: What decision or behavior does it control?
- Technical location: Which source components implement or influence it?
- Conditions and exceptions: When does it apply, and when does behavior differ?
- Dependencies: Which inputs, upstream decisions and downstream processes matter?
- Accountability: Who can explain the rule and approve its future behavior?
- Criticality: What would be the consequence of changing it incorrectly?
Prioritize discovery according to business impact, compliance relevance and dependency complexity. Do not treat code volume as a substitute for importance.
Unknowns should remain visible. If ownership is unclear or a dependency has not been examined, record that uncertainty rather than presenting the inventory as complete.
Decision gate: Is the proposed change boundary understood well enough to identify critical rules, their owners and the unresolved dependencies that could affect them?
2. Create specifications that can be verified—not just read
A useful specification must do more than summarize a program in plain language. It should express behavior precisely enough for a business owner to challenge it and an engineering team to test it.
Define the bank’s acceptance criteria for verified specifications before assessing discovery progress. Recommended fields include a unique rule identifier, source-code references, triggering conditions, inputs, outputs, exceptions, dependencies and verification status.
Keep two views distinct:
- Current-state specification: What the existing implementation does.
- Proposed-state specification: What the bank intends the modernized implementation to do.
This separation prevents a discovery exercise from silently becoming a redesign. A rule may be implemented consistently yet no longer reflect the business’s intended policy. Conversely, an unfamiliar exception may be intentional and important.
Record ambiguity and disagreement explicitly. A specification should not appear accepted merely because the system produced a fluent explanation.
Decision gate: Can reviewers connect each critical specification to its source behavior, understand its exceptions and identify what remains unverified?
3. Validate proposed changes with accountable business owners
Technical verification and business approval answer different questions. One asks whether the specification faithfully represents the implementation. The other asks whether the proposed future behavior is appropriate.
Bring both questions into structured reviews involving engineering, relevant business owners and, where appropriate, operations, risk and compliance stakeholders.
For each rule, propose one of three dispositions:
- Preserve: Retain the business behavior while changing its implementation.
- Change: Approve a deliberate behavioral difference, with rationale and acceptance criteria.
- Retire: Remove the behavior through an explicit, owned decision.
Review scenarios, not descriptions alone. Include ordinary processing, boundary conditions and exceptions relevant to the rule. Ask owners to confirm expected outcomes and identify any differences between current behavior and intended policy.
Keep unresolved decisions out of the approved implementation baseline. Where stakeholders disagree, assign an owner and a resolution path rather than allowing engineering to infer the answer.
Decision gate: Has an accountable business owner approved the intended behavior, including every deliberate departure from the current state?
4. Maintain traceability through implementation
Discovery should produce a working baseline for delivery, not a document that becomes detached from the code.
Require a traceable chain from source logic to current-state specification, approved decision, proposed-state specification, implementation and test evidence. Give rules stable identifiers so that reviews and changes remain connected as software evolves.
For each implementation increment, ask:
- Which approved rules does this change implement?
- Which dependencies could it affect?
- Which tests demonstrate preserved behavior or an approved difference?
- Have the specifications and approvals changed alongside the code?
Slingshot’s full-traceability capability supports this objective. Banks should still define the ownership, review practices and release criteria that make traceability usable in their delivery environment.
Decision gate: Can the team explain each behavioral difference and show the approval and evidence behind it?
Measure confidence as well as speed
The global bank’s eight-week result demonstrates progress in producing verified specifications at scale. A CIO’s scorecard should also show what the organization understands, how much validation remains and whether implementation preserves approved behavior.
Use measures such as:
Proposed measure | Practical definition
- Specification coverage | Percentage of identified in-scope rules with verified specifications, reported separately for critical rules.
- Validation effort | Business and engineering review hours per accepted rule or specification, alongside elapsed approval time and rework.
- Unresolved discovery items | Number, severity and age of ambiguous rules, missing owners and unexplained dependencies.
- Traceability completeness | Percentage of implemented rules connected to source evidence, approved specifications and test results.
- Unintended rule changes | Count and severity of confirmed behavioral differences without approval, separated by detection before or after release.
Agree on scope and denominators before reporting percentages. High coverage of a narrow boundary should not imply understanding of the entire core. Likewise, low validation effort should not be celebrated if reviews are incomplete.
These are proposed management measures—not reported outcomes from the global bank example.
Make discovery the foundation for an architectural decision
Verified specifications should inform whether to retain, decouple, replace or redesign a capability. They should not predetermine that choice.
Publicis Sapient combines Strategy, Product, Experience, Engineering, and Data & AI capabilities with enterprise AI platforms to connect modernization to business priorities. For banking leaders, that means treating legacy understanding as a joint business and engineering responsibility.
Before authorizing the next core-system change, ask for four things: an inventory of critical rules, verified current-state specifications, business-approved future behavior and traceable implementation evidence.
Modernize the code. Preserve the rules that matter. Change the rest deliberately.
Connect with Publicis Sapient to discuss a discovery-first approach to your banking modernization priorities.