AI Legacy Modernization

Specification from code

Share your source code and get an interactive specification atlas in 2 weeks. Understand how your system works before you decide what to do with it.

  • ✓Secure code sharing
  • ✓AI never trains on your code
  • ✓Consistency checked automatically
  • ✓Validated with your team

Recover the knowledge of your legacy system

Without up-to-date knowledge of a system, decisions about modernisation, switching vendors or adopting AI stall. The only reliable source of truth is the code, so we recover the technical specification directly from it — from architecture and dependency maps to detailed behaviour scenarios.

01

Share the code

You give us secure access to your source code repository. We need no documentation and no interviews with your team to recover the specification.

02

Recover the specification

In 2 weeks we rebuild the HLD and functional-technical design from the code: architecture, data model, use cases and scenarios. Their consistency is checked automatically.

03

Understand your system

You receive an interactive specification atlas that your team validates at handover. Use it to evolve the system or decide its future.

An interactive specification
recovered from source code

2 weeks
from code access to a finished specification
6
artefacts in one atlas
12
automated consistency checks
Specification atlas

Everything about your system in one place

The atlas is an interactive specification of your system that you browse through diagrams and dependency graphs. It consists of six artefacts linked by references: from an entity you jump to the use cases that rely on it, from an interface to the component that implements it. Unlike traditional documentation, every diagram and list is generated from one formal source, so chapters never contradict each other and the consistency of the whole is checked automatically.

Pick an artefact to see what’s inside.

The numbers next to the tabs come from a PoC: an HR portal in PHP/Symfony, recovered in 8 working days.

Specification atlas — view: Use cases Specification atlas — view: Scenarios and flows Specification atlas — view: Architecture and interfaces Specification atlas — view: Domain model Specification atlas — view: Dependency map Specification atlas — view: Consistency checks
Architecture

Rebuild the system architecture and integration map

System componentsExternal systemsInterfaces with endpoints
✓Plan migration on facts, not guesswork
✓Switch vendors without losing system knowledge
✓Get evidence for asset inventories and dependency mapping (DORA, NIS2)
Architecture diagram: components, external systems and interfaces

A repeatable engineering process,
not a chat with AI

We recover the specification with PractIQ, our own platform. AI agents analyse the code following a defined practice and write the specification in a formal language; the platform then generates diagrams from it and checks its consistency automatically. Every project follows the same path, so the result is predictable and verifiable.

Input · source code →

PractIQ reads your system:

▤Code repository
◆Java · PHP · .NET · JS / TS
01Code analysis
02Specification in a formal language
PractIQ
03Diagram generation
04Consistency checks
ValidationAutomated · Your team
Output · specification atlas →
Use cases and scenarios
Architecture and interfaces
Domain model
Dependency map
Data and logic

Understand how the system works, step by step

The domain model and scenarios show what the system works on and what it does in every situation.

Without the atlasWith the atlas
A new analyst spends weeks quizzing developers
✓Reads the scenarios step by step
The logic lives in two people’s heads
✓Every use case has its exceptions and outcome documented
Nobody knows what a change will break
✓The data model shows what is connected to what
Use case sequence diagram
Consistency check report
passEvery reference points to an existing element1627/1627
passEvery interface is implemented by a component40/40
passEvery use case has a main scenario66/66
passEvery use case has postconditions66/66
+ 8 more checks · 12/12 passed
Consistency

Three levels of specification verification

01
Machine checks

The specification is written in a formal language, so 12 automated checks verify that it is complete and consistent.

02
Comparison with the running application

An AI agent runs the application, walks through the recovered scenarios and reports any gaps between the specification and how the system actually behaves.

03
Validated with your team

At handover, the people who know the system confirm that the specification describes it.

The checks catch what the AI left out or contradicted. The comparison with the application surfaces gaps with real behaviour, and your team has the final say.

How is our approach different
from an AI assistant or a wiki generator?

AI coding assistants and code-to-wiki generators can turn a repository into a description with diagrams within an hour. That’s a good start — but not a specification you can base a decision about your system on.

AI assistant / wiki generatorPractIQ Spec Recovery
OutputFree text and file summariesA formal model: use cases, scenarios, architecture and data
ScopeIndividual files and modulesThe whole system, with links between functions and data
VerificationNone — you can’t tell what’s true12 machine checks and a comparison with the running application
AccountabilityWhoever ran the toolAn Inteca team that owns the result and validates it with you
What’s nextNotes to readA model your team and AI agents can build the new solution on

Code security at every stage

Code is one of a company’s most valuable assets. That is why we take security seriously — from signing the agreement and sharing the code to the end of the analysis.

Agreement

NDA before access

Before we see a single line of code, we sign a non-disclosure agreement.

Access

Secure repository

You share the code through controlled repository access — you decide what and for how long.

Analysis

Inteca environment

We analyse the code in our own environment. AI model providers do not train on your data.

Completion

No code retention

Once the atlas is delivered, we don’t keep your code. It stays with you — together with the specification.

Need more?

On request, we run a dedicated model on isolated infrastructure — only for the duration of your analysis.

Let’s talk→

A PoC on a live application

A company in the energy sector wanted to see how much system knowledge can be recovered from code alone, and in what form, before applying the approach to the systems it runs every day.

Challenge

Assess whether a specification can be recovered from code and how good it would be. An internal PHP/Symfony application was chosen for the test.

What we did

In 8 working days we recovered the full specification: architecture, domain model, use cases and scenarios. An AI agent ran the application and walked through the recovered use cases, comparing the specification with how the app actually behaves.

Outcome

The client rated the results as promising and is preparing the next stage: recovering specifications of production systems, including a legacy solution.

8 working days
from kick-off to a finished specification
66
use cases
313
scenarios
40
interfaces
12/12
consistency checks

A free PoC on an application of your choice

1
Discovery call30 minutes: your systems, technology and goal
2
Pick an applicationA small app in Java, PHP, .NET or JS / TS
3
Atlas and reviewYour application’s specification and a joint validation session

No commitment — after the PoC you judge how the specification helps your team and decide what’s next.

Let’s talk about your challenges

We’ll get back to you within one business day and set up a 30-minute call about your system.

By submitting this form, I confirm that I have read and understood the Privacy Policy.

Frequently asked questions

Do we have to share our code externally?

The analysis runs on Inteca’s side under an NDA, and we delete the code once it is finished. AI model providers do not train on your data. If your security policy requires it, we run a dedicated model on isolated infrastructure — only for the duration of the analysis.

How do we know the AI didn’t make anything up?

The specification is written in a formal language, Specs as Code, so every reference, interface and scenario is checked automatically for completeness and consistency. We then run the application and compare the recovered scenarios with how it actually behaves. Finally, your team validates the result at handover.

Which technologies do you support?

Java, PHP, .NET, JavaScript and TypeScript — including front-end applications and Node.js services. Other technologies, mainframe included, we can discuss on the discovery call.

How big a system can you handle in 2 weeks?

Most systems we see fit in two weeks. Very large or multi-system estates are scoped on the discovery call. AI agents do the reading, so the schedule is set mainly by the time your team spends on validation.

How much of our team’s time does it take?

Very little: a kick-off, access to the code, a runnable instance of the application (e.g. in Docker) to compare the specification with the system’s behaviour, and one validation session at handover.

What do we get at the end?

Your system’s specification in the formal Specs as Code language: use cases, scenarios, architecture with interfaces, domain model, dependency map, plus the consistency check and application comparison reports. You browse it on interactive diagrams, and the files stay with you, in an open, documented format. It is the starting point for modernisation: your team or AI agents can build the new solution from a verified model.

How much does it cost?

We start with a free PoC on an application of your choice. We quote the full service after the discovery call — it depends on the size and number of systems.