When the Documentation Is Missing: Recovering Business Knowledge in Energy Applications
A practical guide to understanding legacy software before changing it
For an energy-sector application owner, modernization starts with a difficult question: What does this software know that your team no longer does?
When documentation is missing, a rewrite requires more than translating code into a newer language. Teams must establish which business rules matter, how the application depends on other systems and what evidence will demonstrate that a change preserves the right behavior.
RWE provides a relevant example. Using Sapient Slingshot, RWE modernized an aging application with no documentation in two days, restoring reliability and reducing operational risk. The work delivered approximately 40 percent time savings in automated code generation and approximately 35 percent efficiency gains in test creation and unit test setup.
The lesson is not that every undocumented application can be modernized in two days. It is that missing documentation need not prevent progress—provided recovered knowledge becomes something engineers and business specialists can examine, test and approve.
This guide focuses on enterprise applications. It does not address industrial control systems or imply that application-modernization capabilities extend to controlling physical energy infrastructure.
What can be recovered—and what still needs judgment
Slingshot reads existing code and recovers business rules embedded within it. It extracts logic, maps dependencies and makes that logic testable. It also supports automated testing and turns existing code into verified specifications, with traceability through the generation of modern software.
These capabilities address three connected needs:
- Recovering business rules: Bring implemented logic into a form that teams can review rather than leaving it buried in code.
- Mapping dependencies: Make relationships visible so teams can assess what a proposed change may affect.
- Supporting testing: Accelerate test creation and execution to help evaluate whether modernized software meets agreed expectations.
In RWE’s broader modernization work, business rules were surfaced, dependencies mapped and lifecycle automation activated. These are useful foundations for understanding an application before changing it.
However, identifying implemented behavior is different from deciding whether that behavior remains correct for the business. A recovered rule may need to be preserved, deliberately changed or investigated further. That decision requires accountable human review.
A proposed review process: recover, challenge, test, approve
The following process is a recommended approach for application owners—not a description of RWE’s internal approval procedures. Its purpose is to turn recovered knowledge into a defensible modernization decision.
1. Define the application boundary and review ownership
Start with a bounded application or workflow, rather than approving a portfolio-wide rewrite on the strength of an initial discovery exercise.
Name an engineering lead, an application owner, a testing lead and domain specialists who can explain the business outcomes the software must support. Identify owners of connected enterprise systems where their input is needed.
Before recovery begins, ask:
- What business outcome does this application support?
- Which workflows and interfaces are included in the proposed change?
- What must remain unchanged, and what improvement is explicitly authorized?
- Who can approve technical findings, business meaning and residual risk?
Record these boundaries so that recovered knowledge is not mistaken for a complete understanding of systems outside the review.
2. Build a reviewable inventory of rules and dependencies
Use recovered logic and dependency mappings as inputs to a structured knowledge inventory. For each rule, ask reviewers to record its plain-language meaning, the code or specification supporting it, relevant inputs and outputs, connected components and business owner.
Give each rule an identifier that can be carried into specifications, tests and change decisions. Mark findings as awaiting review until the appropriate people have examined them.
To identify critical rules, ask:
- Which rules determine calculations, approvals, exceptions or business records?
- Which incorrect outcomes would have the greatest business impact?
- Which rules have unusual thresholds, dates, defaults or overrides?
- Which dependencies could transmit an incorrect result to another enterprise application?
- Which behaviors can only a small number of specialists explain?
Prioritize review by business impact and uncertainty, not simply by the amount of code involved.
3. Separate observed behavior from approved business intent
Bring engineers and domain specialists together to challenge each critical finding.
Engineers should verify that the recovered description accurately represents the implementation within the agreed scope. Domain specialists should assess whether the described behavior matches the business requirement. Neither review substitutes for the other.
For each rule, ask:
- Does this describe what the application actually does?
- Is that what the business still needs it to do?
- Is an apparent exception intentional, obsolete or unexplained?
- What evidence supports the interpretation?
- If implementation and business expectations conflict, who decides the resolution?
Assign a disposition: preserve, change with approval, retire with approval or investigate. Do not let a modernization exercise silently turn an unexplained behavior into an accepted requirement—or silently remove it.
4. Keep unresolved assumptions explicit
Create an assumption register alongside the rule inventory. For every unresolved issue, record the affected rule or dependency, competing interpretations, available evidence, potential consequence, accountable owner and next review date.
Include a clear statement of what would resolve the uncertainty: additional code analysis, a business decision or a targeted test, for example.
Ask:
- What are we assuming rather than demonstrating?
- What happens if this assumption is wrong?
- Does it affect the proposed change or a connected workflow?
- Must it be resolved before work proceeds, or can the affected scope be excluded?
An unresolved assumption should never disappear merely because a specification has been generated. Keep it visible until it is resolved or explicitly accepted through the organization’s governance process.
5. Turn validated knowledge into test evidence
Use Slingshot’s testing capabilities to support the review—not replace it. Ask engineers and testing specialists to connect critical rules to test scenarios, while domain specialists approve expected business outcomes.
Include normal behavior, boundary conditions, exceptions and relevant interactions with connected applications. Where comparisons with the existing application are possible, use them to investigate differences. Do not assume that matching the old application proves business correctness; the old behavior may itself require an approved change.
Before accepting the evidence, ask:
- Does every critical rule have an agreed expected result and a corresponding test?
- Have relevant dependencies and exception paths been exercised?
- Are differences explained and approved?
- Were expected outcomes reviewed independently of the generated implementation?
Is the application ready for modernization?
Make readiness a decision about a defined scope, not a declaration that all institutional knowledge has been recovered.
Approve that scope when critical rules have technical and business validation, relevant dependencies have been reviewed, unresolved assumptions have clear dispositions and tests provide evidence against approved expectations. Require named sign-off from engineering and the accountable business owner, supported by the testing lead.
Narrow the scope when a well-understood portion can proceed without relying on unresolved behavior. Pause when critical rules remain disputed, consequential dependencies lack ownership or expected outcomes cannot yet be defined.
Finally, assign ownership for maintaining the recovered specifications, rule inventory, dependency map and test links as changes are delivered. Recovery should create a usable knowledge base—not another document set that becomes detached from the software.
Modernize from knowledge, not assumptions
RWE’s experience shows that an undocumented enterprise application can become a viable modernization candidate with Slingshot. For other energy application owners, the transferable principle is disciplined knowledge recovery, not a promised delivery timeline.
Use AI to surface logic, expose dependencies and accelerate testing. Use engineers and domain specialists to establish meaning, resolve uncertainty and authorize change. The goal is not simply newer software. It is software whose critical business behavior your organization can explain and verify.
Talk to Publicis Sapient about recovering the knowledge inside your enterprise applications and defining a modernization scope your teams can confidently approve.