Modernizing Undocumented Energy Applications Without Losing Business Knowledge

An aging application can be difficult to replace for a reason that has little to do with its technology: the code may be the clearest remaining record of how the business works.
For energy-sector application owners and engineering leaders, modernization therefore starts with a knowledge question, not a language or platform choice. Which rules must survive, what depends on them and how will the team demonstrate that replacement software behaves correctly?
RWE’s experience shows what AI-assisted modernization can achieve. Using Sapient Slingshot, RWE modernized an aging application with no documentation in two days, restoring reliability and reducing operational risk. The engagement also achieved approximately 40 percent time savings in automated code generation and approximately 35 percent efficiency gains in test creation and unit test setup.
Two days was a result for that application—not a delivery promise for other systems. The practical starting point is to make buried knowledge visible, connect it to system dependencies and establish evidence for what must be preserved.
The following framework helps teams prepare a bounded investigation before committing to a broader modernization effort.

1. Recover business rules before deciding what to rebuild

When documentation is missing, begin with the existing implementation. Slingshot uses AI to read and interpret legacy code, extract business rules and turn existing code into specifications that can be verified. This supports modernization without treating the application as an unexplained block of functionality.
For an initial investigation, ask the team to organize recovered knowledge around business behavior rather than code structure alone:
The objective should be a reviewable account of what the application does, with traceability back to its implementation—not simply a larger collection of technical descriptions.
Keep observed behavior separate from intended behavior. A rule’s presence in old code establishes that it was implemented; it does not, by itself, establish that the business still wants it. Record questions explicitly so that modernization does not silently preserve an obsolete decision or remove a necessary exception.
Recommended output: A business-rule inventory that identifies supporting code, unresolved questions and the people responsible for reviewing each area.

2. Map dependencies around the behavior

A recovered rule is only part of the picture. Teams also need to understand the systems, data and operational relationships that give it meaning.
Slingshot extracts logic and maps dependencies. In RWE’s modernization work, business rules were surfaced, dependencies mapped and lifecycle automation activated. For application owners preparing a similar investigation, dependency discovery should help establish where the proposed modernization boundary is credible—and where it needs adjustment.
Review each important behavior alongside its relationships:
Avoid assuming that a small codebase is necessarily a small modernization task. Select the investigation boundary by considering both the application and the relationships needed to understand and test it.

How the Enterprise Context Graph connects the knowledge

Slingshot’s Enterprise Context Graph is a dynamic, living map of an organization’s software estate. It connects code, architecture and data to business rules, tribal knowledge and operational dependencies.
Its role is to bring these forms of context together rather than leave them as disconnected technical and business artifacts. Combined with human input, this connected context supports more informed decisions, continuity and traceability across the software development lifecycle.
For an application owner, the practical implication is to investigate more than what a piece of code says. Connect that implementation to the rule it expresses, the data it uses, the architecture around it and the operational knowledge needed to interpret it. The graph supports that connected understanding; it does not remove the need for expert review.
Recommended output: A dependency view with named owners, explicit scope boundaries and unresolved relationships marked for investigation.

3. Review extracted knowledge with domain experts

Knowledge extraction should create a basis for discussion—not bypass it. Slingshot combines enterprise context with human input, making domain specialists essential participants in deciding what the replacement should preserve.
Bring application owners, engineers, domain experts and operational representatives into focused reviews. Structure those discussions around recovered rules and representative behavior, rather than asking experts to review code in isolation.
For each significant rule, ask reviewers to distinguish among three decisions:
Capture the reasoning, not just the approval. If a specialist explains why an exception exists or why an output matters, retain that explanation alongside the relevant rule and dependency. This makes the review a knowledge-preservation activity as well as a delivery checkpoint.
Do not let unanswered questions disappear into generated specifications. Assign an owner and a resolution path, especially when a question affects acceptance of the replacement.
Recommended output: Reviewed specifications with recorded decisions, supporting explanations and visible uncertainties.

4. Validate replacement behavior through testing

Generated software is not, on its own, evidence that business knowledge has survived. Validation should connect the reviewed rules to observable replacement behavior.
Slingshot supports automated testing as part of modernization, including test generation. RWE’s efficiency gains in test creation and unit test setup illustrate the potential to accelerate this work. They should not be interpreted as a reason to reduce validation or assume equivalent results elsewhere.
Prepare a testing approach that answers four questions:
  1. Does the replacement implement the reviewed rules? Connect important rules to test scenarios and expected results.
  2. Does it maintain required interactions? Test the dependencies within the agreed modernization boundary.
  3. Are differences intentional? Compare relevant existing and replacement behavior, investigating discrepancies rather than accepting them automatically.
  4. Who accepts the evidence? Define business and engineering review responsibilities before treating the application as ready.
Include both routine behavior and the exceptions identified during knowledge recovery. Where the business has approved a change, test against the agreed requirement rather than reproduce legacy behavior uncritically.
Recommended output: Test evidence traceable to reviewed specifications, with discrepancies resolved or explicitly recorded for an acceptance decision.

Readiness checklist: Select a bounded application to investigate

Use this checklist to choose an initial candidate. The aim is an application whose behavior can be understood and evaluated—not simply the oldest system or the one with the least documentation.