Recover, Replace or Retire? A Decision Guide for Undocumented Energy Applications

Make the next investment depend on evidence—not the age of the application

When a business-critical application has no usable source code or documentation, the first decision should not be which technology will replace it. It should be what the organization needs to preserve, what evidence remains and whether recovery can produce a system engineers can understand and maintain.
For energy and utilities application owners, operational-risk leaders and enterprise architects, this calls for two separate judgments: Does the capability still matter? And can the application be recovered with sufficient confidence?
AI-assisted recovery deserves consideration, but not automatic approval. A successful recovery elsewhere is a reason to investigate feasibility—not proof that every binary or application can be recovered.

The recovery example: RWE revived an application in two days

RWE faced operational risk from aging, undocumented applications running on outdated technology stacks. Sapient Slingshot, paired with human oversight, helped revive a 24-year-old application with no source code or documentation in two days.
The Java-based application became more maintainable and reusable. Reported outcomes included 35–45 percent time savings in code generation, a 40 percent improvement in test efficiency and reduced code size.
The important lesson is not simply speed. The example combines AI acceleration with human control and an outcome beyond getting old software to run: making the application easier to maintain and evolve.
Those results apply to that specific application. They do not establish a two-day recovery benchmark, demonstrate universal binary recoverability or remove the need for application-specific validation.

A proposed decision framework—not a reconstruction of RWE’s process

The following framework is a proposed way to evaluate undocumented applications. It is not a description of the assessment or approval process used at RWE.
Use five dimensions to decide whether to fund a bounded recovery attempt, pursue replacement or prepare for retirement.

1. Business criticality: What must continue?

Start with the business capability rather than the executable. Ask the application owner and operational-risk leader to agree:
Record both the consequence of failure and the uncertainty surrounding it. An application should not qualify for retirement merely because few people understand it. Equally, age and historical importance should not automatically justify recovery.
Decision implication: High criticality strengthens the case for investigation and continuity planning. It does not, by itself, establish technical recoverability.

2. Available artifacts: What evidence survives?

Treat “no documentation” as the beginning of an inventory, not the end of the assessment. Establish what is actually available for inspection and validation.
The proposed inventory should cover executable or binary files, any remaining source fragments, runtime components, configuration, data structures, interfaces, observable inputs and outputs, test assets and knowledge held by engineers or business specialists.
For each artifact, record what it can demonstrate and what remains unknown. A running application may provide behavioral evidence; an isolated binary may offer a different and more limited starting point. Neither should be assumed sufficient without technical assessment.
Decision implication: Approve investigation against identified artifacts—not a general promise that AI can recreate missing information.

3. Recoverability: Can the result become understandable and maintainable?

Define recovery as more than successful execution. The target should be inspectable logic, reviewable specifications, testable behavior and a codebase that an engineering team can maintain.
A documented black-box recovery example demonstrates that binary files can, in a specific case, be converted into readable Java source, with the runtime rebuilt, code refactored and documentation generated. That is a demonstrated possibility, not a universal capability across binaries, languages or runtime environments.
Ask engineers to identify what a small feasibility exercise must prove: whether available artifacts yield useful logic, whether the environment can be reconstructed and whether recovered behavior can be independently checked.
Decision implication: Favor recovery when evidence supports both behavioral validation and a maintainable outcome. Favor replacement when the capability remains necessary but those conditions cannot be demonstrated.

4. Dependency visibility: What else could change or fail?

Do not judge the application in isolation. Require a dependency view covering its data, interfaces, workflows and upstream and downstream systems.
Separate confirmed connections from suspected ones. Ask which dependencies can be tested and which remain unresolved. Include the people responsible for connected systems in the review rather than relying solely on the application team’s understanding.
Slingshot’s specification-led approach supports mapping logic, data, dependencies and workflows before transformation. Its enterprise context graph provides a way to retain that understanding across delivery stages. For an undocumented application, however, the completeness of the resulting map still needs human validation.
Decision implication: Material dependency gaps should constrain the scope of an attempt and block unsupported claims of production readiness.

5. Approval evidence: What must be known before recovery starts?

Distinguish permission to investigate from permission to change production. Before approving a recovery attempt, require a concise evidence pack containing:
Where the evidence is insufficient, approve discovery only—or defer the recovery attempt. Do not convert uncertainty into an implied commitment to recover.

Choose the path—and state the conditions

Recover when the capability remains important, available artifacts support a credible feasibility hypothesis and engineers have a practical route to validating logic, dependencies and maintainability.
Replace when the capability is still needed but recovery cannot produce enough trustworthy evidence or a supportable result within the agreed limits. Preserve validated business rules and dependency knowledge as inputs to replacement.
Retire when the capability is no longer required or has an accepted alternative, and dependency review supports withdrawal. Require business-owner agreement and a controlled transition rather than treating missing documentation as evidence of redundancy.
Recovery and replacement need not be mutually exclusive. A bounded recovery exercise may clarify requirements for a later replacement. Define that purpose before funding the work.

Engineers turn recovered outputs into a supportable system

AI-generated code and documentation are reviewable outputs—not self-validating evidence. Engineers should inspect recovered logic, resolve inconsistencies with domain experts and trace important rules into specifications and tests.
Before release, require evidence that goes beyond compilation or a successful demonstration. Review behavioral parity, reconciliation results, integration behavior and unresolved exceptions. Assess whether another engineer can build, test, understand and change the application using the delivered code and documentation.
Production approval should remain a separate gate, supported by validated dependencies, appropriate testing, rollback planning and a controlled cutover approach. Slingshot can accelerate analysis, specification generation, code creation and testing; people remain accountable for architecture, validation and readiness.

Start with a decision, not a recovery promise

RWE’s two-day revival shows why undocumented applications should not automatically be written off. It does not mean they should automatically be recovered.
Bring application ownership, operational risk and enterprise architecture together around one question: What evidence would justify the next investment?
Publicis Sapient combines Slingshot with engineering expertise to assess modernization feasibility, make business logic reviewable and support human-governed delivery. Start with one application, a bounded assessment and explicit criteria for recovering, replacing or retiring it.