When the Application Outlives Its Documentation: Recovering Knowledge in Energy IT
Before deciding how to modernize, establish what the software does—and what must not be lost.
An application can remain essential long after its documentation stops being useful. For energy-sector application owners and engineering leaders, that creates a difficult starting point: how do you change software when its business rules are buried in code and its dependencies are not clearly understood?
The first modernization decision should not be which technology to adopt. It should be how to recover enough knowledge to make that choice responsibly.
That means turning existing code into an explicit, reviewable understanding of the application: its rules, connections, expected behavior and remaining uncertainties. AI can accelerate this work. Domain experts and engineering teams must determine whether the recovered understanding is sufficient to support change.
RWE: recovering knowledge as part of modernization
RWE used Sapient Slingshot to modernize an aging application that had no documentation. The application modernization was completed in two days. Reported results included approximately 40 percent time savings in automated code generation and approximately 35 percent efficiency gains in test creation and unit test setup.
The work surfaced buried business rules, mapped dependencies and activated lifecycle automation to help reduce modernization risk while preserving operational stability.
The lesson is not that every undocumented application can be modernized in two days. It is that recovering application knowledge belongs inside the modernization process—not outside it as an optional preliminary exercise.
This example concerns enterprise application modernization. It does not establish capabilities in autonomous plant operations or industrial control systems.
For other application owners, the following sequence provides a practical way to organize discovery and validation before changing code. It is a recommended assessment approach, not a claim that every step was performed in the RWE engagement.
1. Recover business rules before selecting a modernization path
Start with a bounded application or business workflow. Name its business owner, technical owner and the domain experts who can explain what its outputs mean.
Then extract the decisions embedded in the existing software. Aim to answer:
- What inputs drive each decision or calculation?
- What conditions change the outcome?
- Which exceptions receive different treatment?
- What outputs or data changes result?
- Where in the code is that behavior implemented?
Write recovered rules in language that both engineers and business reviewers can understand. Link each rule to its implementation and identify assumptions separately from confirmed findings.
Do not equate a description of existing code with an approved business requirement. The assessment should distinguish what the application currently does from what the business needs it to do next.
Suggested deliverable: A rule register with identifiers, code references, business descriptions, owners and review status.
2. Map dependencies and make uncertainty visible
Understanding one application in isolation is not enough to define a safe change boundary. Map the systems, data exchanges and workflows on which its behavior depends—and those that depend on its outputs.
For each connection, record its purpose, direction, owner and the evidence supporting the description. Identify which recovered rules depend on information supplied elsewhere.
Use explicit dependency statuses, such as:
- Identified: A connection has been found but not fully explained.
- Understood: Its purpose and expected behavior are documented.
- Validated: The responsible teams have confirmed the description.
- Unresolved: A material question remains open.
Keep unresolved dependencies in the assessment rather than removing them from the diagram. A map should show the limits of current knowledge, not just the connections that are easy to explain.
Suggested deliverable: A dependency map and an issue register showing unanswered questions, accountable owners and potential effects on the proposed change.
3. Validate findings with domain experts
Bring the recovered rules and dependency map to the people who understand the business workflow. Structure reviews around specific decisions and outcomes rather than asking experts to approve a large technical document.
For each important rule, ask:
- Does this description match the intended business behavior?
- Under what conditions should it behave differently?
- Is this an active requirement, a historical exception or behavior that needs further investigation?
- Who has authority to approve its preservation or alteration?
Record disagreements. If code behavior and expert expectations differ, investigate the difference before choosing either as the future requirement.
Give each finding a visible status: awaiting review, confirmed, disputed or approved for intentional change. This keeps an AI-generated interpretation from being mistaken for business approval.
Suggested deliverable: A reviewed specification that separates confirmed behavior, approved changes and unresolved questions.
4. Establish tests before changing implementation
Turn validated understanding into tests before altering the code that implements it.
Start with the rules and connections most important to the proposed change. Include ordinary outcomes, exceptions and boundary conditions identified during expert review. Link tests back to rule identifiers so reviewers can see which requirements they protect.
Establish a baseline against the existing application where feasible. Treat unexpected results as questions to resolve—not automatically as behavior to preserve or defects to remove.
Before proceeding, agree which tests must pass, which differences are intentional and who can approve exceptions. Automated test creation can accelerate preparation, but generated tests still need review against the validated business understanding.
Suggested deliverable: A repeatable test baseline, traceable to reviewed rules, with documented gaps and approved expected differences.
Where Sapient Slingshot supports the work
Sapient Slingshot supports knowledge recovery by extracting logic from legacy code, mapping dependencies and helping turn existing implementations into documented specifications. It also automates testing and supports software development lifecycle activities, including code generation.
These capabilities connect discovery with delivery: recovered rules can inform specifications, specifications can guide modernization, and tests can help validate behavior as implementation changes.
The division of responsibility should remain explicit. Use Slingshot to accelerate extraction, documentation and testing. Assign engineers and domain experts responsibility for reviewing findings, resolving ambiguity and approving intended behavior. Do not use the volume of generated documentation as a substitute for validation.
Application assessment checklist
Before approving implementation changes, confirm that:
- [ ] The application boundary and proposed change are clearly defined.
- [ ] Business, technical and dependency owners are named.
- [ ] Recovered business rules have identifiable code references.
- [ ] Assumptions are distinguishable from confirmed findings.
- [ ] Upstream and downstream dependencies are mapped.
- [ ] Unresolved dependencies have owners and documented implications.
- [ ] Domain experts have reviewed the rules affected by the change.
- [ ] Disputed behavior is resolved or explicitly blocks the affected work.
- [ ] Tests cover agreed critical rules and relevant interfaces.
- [ ] Baseline results, intentional differences and test gaps are recorded.
- [ ] Ownership is assigned for keeping specifications and tests current.
Measure confidence, not document volume
Use a small assessment scorecard. Define the scope and denominators at the outset, and revise them transparently when discovery reveals additional work.
Suggested measure | How to calculate or report it | What it helps assess
- Documentation coverage | In-scope components with reviewed rule and dependency documentation ÷ total inventoried in-scope components | How much of the assessed application has a reviewed explanation
- Rule validation progress | Domain-confirmed rules ÷ total recovered rules requiring review | How much extracted knowledge has business confirmation
- Unresolved dependencies | Open dependency questions, grouped by criticality, owner and age | Where uncertainty could block a proposed change
- Test traceability coverage | Validated rules linked to reviewed tests ÷ total validated rules | How much confirmed behavior has an explicit test
- Baseline execution progress | Agreed baseline tests executed ÷ total agreed baseline tests, with pass, fail and blocked results shown separately | Whether the test baseline is usable
These are suggested management measures, not reported RWE results or guaranteed platform outcomes. High coverage does not prove completeness: undiscovered rules and dependencies remain outside the denominator. Review the scorecard alongside unresolved issues and expert judgment.
Make the modernization decision with evidence
The assessment should end with a decision-ready understanding of the application—not simply more documentation.
Application owners should be able to explain what must be preserved, what can intentionally change, which dependencies constrain the work and how the team will validate results. Where critical questions remain unanswered, narrow or defer the affected change.
Publicis Sapient combines engineering expertise with Sapient Slingshot to help recover that understanding. Start with a bounded application assessment, establish a reviewed baseline and use the findings to decide how to modernize.