Rescuing Undocumented Applications in European Energy
An application recovery playbook: understand behavior, recover business logic and validate change before scaling
When an aging application manages power plant infrastructure, the first modernization question should not be “How quickly can we rewrite it?” It should be “Can we explain what it does—and demonstrate that changes preserve what matters?”
For European energy technology leaders facing undocumented software, recovery should restore more than readable code. It should establish an understandable, maintainable application, supported by evidence that engineers and operational experts can review.
A large European energy producer illustrates the opportunity. Its mission-critical infrastructure management application was more than two decades old, undocumented and impossible to maintain safely. Sapient Slingshot, Publicis Sapient’s enterprise AI software development platform, coordinated agents across decompilation, business logic extraction, documentation generation, refactoring, testing and validation. The application was revived in two days, with clean, modern code and full documentation. Time savings were documented across automated code generation, test creation and validation.
That two-day recovery is a case-specific result—not a delivery commitment for other applications. It also should not be interpreted as confirmation of a production rollout or completed replication across power plants. Recovering an application, approving its operational use and extending it to additional sites are distinct decisions.
The following playbook sets out recommended artifacts and expert reviews for those decisions. These are leadership checkpoints, not a claim that every listed artifact was produced in that engagement.
1. Understand existing behavior before changing it
Start by establishing what the application actually does, rather than assuming that its intended purpose fully describes its behavior. Bring together available code, application artifacts, dependencies, historical decisions and the knowledge held by engineers and operational users.
Where decompilation forms part of the recovery, treat its output as material to investigate—not an approved specification. The goal is to create an evidence-based picture of the existing system and make uncertainty visible.
Request these technical artifacts:
- An inventory of available code, recovered code, configurations and dependencies, identifying missing information.
- A system and data-flow map showing application boundaries, inputs, outputs and connected systems.
- A behavior baseline containing representative scenarios and observed results where these can be obtained.
- An uncertainty register separating confirmed observations from inferred behavior and unresolved questions.
Request these expert reviews: A legacy engineer or architect should challenge the technical reconstruction. An application owner and operational subject matter expert should confirm that the scenarios reflect how the software is used, including informal workarounds.
Decision checkpoint: Can the team explain the application's boundaries and known behavior clearly enough to investigate its rules without silently inventing missing requirements?
2. Extract business logic—and distinguish it from business intent
Readable code is not the same as understood business logic. The recovery team should identify the rules, decisions, dependencies and exceptions embedded in the application, then connect them to their operational meaning.
This is where persistent enterprise context matters. Knowledge discovered during analysis needs to remain available when documentation, code and tests are generated. Otherwise, each stage risks reconstructing a different version of the application.
Request these technical artifacts:
- A business-rule catalog describing conditions, calculations, decisions and exceptions.
- Traceability from each rule to supporting code, observed behavior or expert confirmation.
- A dependency map showing which data and connected functions each rule relies on.
- A decision log recording ambiguities, conflicting interpretations and proposed resolutions.
Request these expert reviews: Pair engineering review with operational subject matter expertise. Engineers should explain what the implementation does; business and application owners should establish whether that behavior remains required.
Decision checkpoint: Have reviewers separated behavior to preserve from suspected defects or obsolete rules? Any intentional behavior change should be explicit, rather than hidden inside a technical cleanup.
3. Generate documentation that supports the next change
Documentation should make the recovered application usable by people who did not perform the rescue. It should explain both how the software functions and why important rules exist, while retaining visibility of unresolved questions.
AI can accelerate document generation, but a polished explanation is not evidence of correctness. Review documentation against the recovered application and the agreed business-rule catalog.
Request these technical artifacts:
- An application overview and architecture diagrams.
- Functional specifications covering business rules, interfaces and dependencies.
- Build, configuration and maintenance instructions.
- A traceability index linking specifications, code and validation scenarios.
- Named documentation owners and a process for updating material as changes are approved.
Request these expert reviews: Ask a maintainer who was not involved in the reconstruction to assess whether the documentation supports understanding and change. Operational experts should review terminology and rule explanations; the architect should check consistency with the system map.
Decision checkpoint: Could another qualified engineer explain and investigate a change without relying on the recovery team's memory?
4. Refactor within an agreed behavioral boundary
Once behavior and business logic are understood, refactoring can focus on maintainability without quietly redefining the application.
Slingshot supports coordinated modernization workflows rather than code generation alone. Its context continuity can carry recovered rules and architectural decisions into implementation and testing. Engineers still need to direct the work, inspect outputs and resolve trade-offs.
Request these technical artifacts:
- A refactoring plan linking proposed changes to maintainability objectives and affected rules.
- Reviewable code changes with explanations of structural decisions.
- An updated dependency and interface assessment.
- Static analysis findings and a record of unresolved issues.
- Updated documentation reflecting the revised implementation.
Request these expert reviews: Senior engineers should inspect code quality and maintainability. Architecture and security specialists should assess relevant design and security implications. Application owners should approve any proposed functional departure separately from behavior-preserving work.
Decision checkpoint: Can reviewers account for the changes and identify which require additional validation? Code generation volume alone is not an acceptance measure.
5. Validate the recovered application—not just the generated code
Testing should begin with the behavior baseline and extracted rules, then evolve alongside the refactoring. It should not become a final exercise in proving that the new implementation agrees with its own assumptions.
Use AI-assisted test creation to expand the evidence available to reviewers, while retaining human accountability for coverage, expected results and release readiness.
Request these technical artifacts:
- A test plan mapped to business rules, dependencies and operational scenarios.
- Unit, integration and regression test results, including relevant exceptions and boundary conditions.
- Comparisons between baseline and recovered behavior, with discrepancies explained.
- Evidence of validation in the intended execution environment.
- A consolidated record of defects, remaining risks, approvals and limitations.
Request these expert reviews: Quality engineers should challenge coverage and expected outcomes. Operational experts should validate business behavior. Engineering, security and application owners should review the evidence within their responsibilities.
Decision checkpoint: What has been demonstrated, what remains uncertain and who accepts the remaining risk? Technical recovery should not automatically authorize production use.
Consider production rollout and broader reuse separately
The European producer's recovery made an opaque application understandable and documented, creating the possibility of connecting it to additional applications and sites. That is a foundation for repeatable modernization—not evidence that those subsequent connections or site deployments were completed.
Before production rollout, leaders should request a separate readiness assessment covering deployment, operational support, monitoring, recovery arrangements and accountable approval. Before reuse elsewhere, request a comparison of site-specific rules, configurations, dependencies and interfaces, followed by validation appropriate to the receiving environment.
The reusable asset should be more than code: preserve the discovery workflow, reviewed rules, documentation, test assets and decision history. A repeatable delivery model becomes credible when it reproduces evidence and control—not merely when it reproduces an application.
Make recovery measurable
Track time spent across discovery, documentation, engineering and validation alongside unresolved rules, defects, review findings and readiness decisions. This provides a more useful view of progress than generated lines of code or a headline recovery time.
Publicis Sapient combines Slingshot's context-aware workflows with engineering and domain expertise to help organizations recover and modernize legacy software. For European energy application owners, the starting point is a bounded recovery scope, explicit evidence requirements and named reviewers at every stage.
Start with one application. Restore understanding. Validate change. Then decide what is ready to run—and what is genuinely ready to reuse.