Recovering the Software Knowledge Behind Power Plant Infrastructure

How coordinated AI-assisted modernization can turn an opaque application into an understandable, maintainable asset

For an application owner responsible for aging energy-sector software, the hardest modernization question may come before architecture or code: What does this application actually do—and what must not change?

When a mission-critical system is poorly documented, replacing its code is only part of the task. Teams must recover its business rules, investigate dependencies and establish a trustworthy basis for testing. Otherwise, a cleaner implementation can still lose behavior the business depends on.

A large European energy producer faced precisely this challenge. Its application for managing power plant infrastructure was more than two decades old, undocumented and impossible to maintain safely. Using Sapient Slingshot, Publicis Sapient’s enterprise AI software development platform, the team coordinated decompilation, business-logic extraction, refactoring, documentation generation, testing and validation. The application was revived in two days with clean, modern code and full documentation.

That two-day result was a specific case outcome, not a standard delivery promise. The more transferable lesson is how coordinated knowledge recovery made an opaque application understandable—and created a foundation for controlled change.

A two-day revival, with understanding at the center

The energy producer’s problem was not simply slow development. It was the inability to understand, govern and reproduce changes across similar assets.

Slingshot brought specialized agents together in a single workflow rather than treating recovery, code transformation and quality assurance as separate assignments. Decompilation supported recovery of the existing implementation. Business-logic extraction made embedded rules explicit. Refactoring produced modern code, while documentation, testing and validation helped turn the recovered knowledge into a usable application asset.

The outcome included documented time savings through automated code generation, test creation and validation. More importantly, the application became clear and understandable, with the potential to connect to additional applications and sites.

This was software modernization for an application used to manage power plant infrastructure. It was not an example of autonomous plant control.

For leaders considering comparable work, the useful question is not, “Can our application also be modernized in two days?” It is, “Which decisions and evidence would allow us to trust the recovered knowledge and the resulting software?”

Decision one: Define the behavior that must survive

Recovery should establish more than what the old implementation contains. It should help application owners distinguish required business behavior from implementation choices that can change.

A specification-led approach makes that distinction reviewable. Recovered business rules, process flows, validation logic and data structures become explicit specifications before they guide modern code generation.

Application owners and domain experts should use those specifications to answer:
The objective is not to preserve every line of old code. It is to preserve the business meaning that still matters, while making changes deliberate and traceable.

An unresolved rule should remain an open question—not become an apparently authoritative specification merely because AI has described it fluently.

Decision two: Investigate dependencies before setting the change boundary

An application can be understandable internally and still be risky to change if its relationships with other systems remain unclear.

Dependency discovery should therefore accompany business-logic extraction. Teams should map applications, interfaces and data flows, then connect those relationships to the behavior being preserved.

For an infrastructure-management application, useful investigation questions include:
These are investigation priorities, not claims about the European producer’s particular integrations.

The resulting dependency map should inform modernization scope, test coverage and release decisions. It should also shape any later extension to another site: similar assets are a reason to investigate reuse, not a reason to assume identical requirements.

Decision three: Put domain validation before downstream generation

Decompilation and extraction can help reveal how software behaves. Domain experts must determine whether the recovered description represents the behavior the organization needs to retain.

That review belongs before specifications become the basis for architecture, code and tests. Otherwise, one incorrect interpretation can propagate consistently through every generated artifact.

A practical human-in-the-loop model assigns distinct responsibilities:
Human oversight should continue as the implementation evolves. Specifications may need refinement when testing exposes an ambiguity or dependency analysis reveals a missing relationship.

The benefit of AI is not removing expert judgment. It is reducing manual reconstruction so experts can focus on the decisions that require their knowledge.

Decision four: Accept the application on evidence, not code volume

Modern code and complete documentation are valuable recovery outcomes. Neither, by itself, establishes release readiness.

For a comparable modernization effort, acceptance should be supported by a connected body of evidence:
  1. Reviewed specifications: Business rules, process flows, validations and data structures have been checked by accountable experts.
  2. Traceability: Teams can follow preserved behavior from the recovered system through specifications, implementation and tests.
  3. Executed tests: Results demonstrate behavior against agreed acceptance criteria, including relevant exception scenarios and integration paths.
  4. Technical review: Engineers have evaluated the generated and refactored code against architecture, maintainability and enterprise standards.
  5. Release-readiness assessment: Quality findings, unresolved questions and required approvals are visible to the people accountable for acceptance.
Functional, security and performance testing should be included according to the application’s requirements and risk. Automated test creation can expand verification effort, but generated tests still need review against validated business intent.

These are acceptance practices for leaders to establish—not additional claims about the specific evidence collected in the two-day energy engagement. Elapsed time is an outcome measure, not an acceptance criterion.

Make recovered knowledge useful beyond the rescue

The lasting value of the European energy example was not simply that an old application ran in modern code. A black box became a documented, understandable asset.

That is the industrial relevance of a digital factory: a repeatable, governed way to recover intent, transform software and validate change. Specifications, dependency maps, tests and decisions become reusable knowledge rather than temporary project outputs.

Slingshot supports this continuity by carrying enterprise context across discovery, specification, development, testing and release. Experienced people remain accountable for business meaning, technical quality and readiness to proceed.

For energy application owners, the next step is to frame modernization around four deliverables: agreed behavior, investigated dependencies, expert-validated specifications and acceptance evidence. The delivery timeline should follow that scope—not substitute for it.

Talk to Publicis Sapient about making an aging infrastructure-management application understandable, maintainable and ready for controlled modernization.