-
151
Projects submitted
-
112
Published projects
-
70
Comments left
-
116
Number of votes
-
42
days until voting ends
AI-Driven Reverse Engineering and Specification Generation for Legacy
-
Project manager on customer side
-
Category
-
Nomination
-
Goals
The project aims to transform the modernization of legacy systems by using Generative AI to reverse-engineer source code, databases, interfaces, integrations, configuration files and technical dependencies, converting fragmented legacy knowledge into structured, traceable documentation and business specifications.
The objective is to significantly reduce the time, cost and human dependency involved in understanding legacy platforms while preserving critical business rules and system behavior. The resulting specifications become the foundation for designing modern architectures and generating new software with AI-assisted engineering, creating a controlled bridge from legacy code to modern platforms.
The approach seeks to make legacy modernization faster, more scalable, auditable and less dependent on undocumented institutional knowledge.
-
Timeline
november, 2025 — november, 2026 -
Project completion year
2026
-
Project scale
49000 human-hours -
Results
The project established a repeatable AI-driven methodology for understanding and modernizing legacy systems, transforming source code and fragmented technical artifacts into structured architecture documentation, data models, business rules and validated functional and technical specifications.
It significantly accelerated the discovery and documentation phase, reducing dependence on scarce legacy-system experts and converting previously undocumented knowledge into reusable engineering assets. The approach also created traceability between legacy behavior, business requirements, specifications and future implementations.
By separating AI-driven analysis from human validation and governance, the project established a controlled foundation for AI-assisted modernization, reducing the risk of losing critical business logic during migration.
Most importantly, the project created a scalable modernization model that can be reused across different legacy applications.
-
Project uniqueness
The innovation is not simply using AI to generate code; it is using AI to create a controlled knowledge and engineering layer between legacy systems and their modernization.
The solution establishes a continuous chain: Legacy Code → AI Reverse Engineering → Architecture & Dependency Model → Business Rules → Data Model → Functional & Technical Specifications → Modern Architecture → AI-Assisted Development.
AI analyzes heterogeneous artifacts and correlates source code, database structures, stored procedures, interfaces, configurations and dependencies to reconstruct how the system actually works. Human architects and business experts validate the resulting knowledge, creating governance and traceability before any new code is generated.
This approach converts undocumented legacy complexity into reusable engineering assets and creates a repeatable modernization factory rather than a one-time migration exercise.
-
Software used
Generative AI / LLM platforms; AI coding assistants; source-code repositories; VB6 and modern development environments; SQL Server and database analysis tools; static code analysis; AST/code parsing; Git; API analysis; documentation and knowledge repositories; vector databases/RAG; Python; REST APIs; CI/CD and DevSecOps tools; cloud infrastructure.
-
Solution from the Global CIO catalog
The project does not use solutions from the Global CIO catalog
-
Project implementation complexity
The principal complexity was not Generative AI itself, but establishing reliability, traceability and governance when analyzing mission-critical legacy systems.
Legacy applications contain inconsistent coding practices, undocumented dependencies, duplicated logic, obsolete technologies and business rules embedded in databases and code. AI therefore cannot be treated as an autonomous source of truth.
The project combined code analysis, AI reasoning, contextual retrieval, structured knowledge models and human validation. Every conclusion had to be traceable to its source artifact, with contradictions and uncertainty explicitly identified.
The solution also had to preserve business continuity by understanding undocumented legacy behavior before modernization. The resulting architecture combines AI acceleration with engineering governance, enabling scalable modernization without compromising control, security or accountability.
-
Description
Legacy modernization frequently begins with a fundamental problem: organizations do not fully understand the systems they need to replace. Over years of modifications, documentation becomes obsolete, business rules remain embedded in source code, database logic becomes distributed across applications and stored procedures, and critical knowledge becomes dependent on a small number of experienced developers.
This project introduces an AI-driven engineering methodology to address that problem.
The first stage ingests and analyzes legacy artifacts, including source code, database schemas, stored procedures, configuration files, interfaces, APIs, batch processes and technical documentation. Generative AI is used to identify application components, dependencies, data flows, architectural patterns and hidden relationships across these artifacts.
The second stage converts the technical analysis into structured knowledge. The platform reconstructs application architecture, identifies functional modules, documents data entities and relationships, maps integrations and extracts business rules embedded in legacy logic.
The third stage transforms this knowledge into formal specifications. Instead of asking AI to directly rewrite legacy code, the process generates functional requirements, technical requirements, use cases, process descriptions, data specifications, API definitions, acceptance criteria and modernization recommendations.
Human validation is incorporated as a governance layer. Architects, developers and business experts review critical findings, resolve ambiguities and approve specifications before they become inputs to development.
The fourth stage uses the validated specifications as the foundation for modern architecture and AI-assisted development. This creates a traceable relationship between the original legacy behavior, the documented business rule, the new specification and the resulting modern implementation.
The methodology can be applied to different legacy technologies and architectures and is particularly valuable for systems where documentation is incomplete and business knowledge is embedded in decades of accumulated code.
The project therefore changes the modernization paradigm from “rewrite what we think the legacy system does” to “discover, document, validate, specify and then modernize what the business actually depends on.”
The expected outcome is a repeatable AI-enabled modernization capability capable of reducing analysis effort, accelerating specification creation, preserving institutional knowledge and improving confidence in legacy transformation decisions.
-
Project geography
It's implemented only in México
-
Additional presentations
-
Customer
Grupo GarLo
Only authorized users can comment.
We suggest you log in or register.
Emilio Patricio
Grupo GarLo
CIO / CDTO
Emilio Patricio
Grupo GarLo
CIO / CDTO
Emilio Patricio
Grupo GarLo
CIO / CDTO
Luis Angel Rodríguez Alemán
Clinical Data Ingestion Engine
CIO
Emilio Patricio
Grupo GarLo
CIO / CDTO
AI should not replace sound software engineering principles; it should amplify them. Modernizing legacy systems is not simply about translating old code into new technologies, but about recovering business knowledge, understanding requirements, and building better, more sustainable software.
The real ROI of AI comes from applying it where it creates measurable business value, reduces risk, accelerates execution, and improves quality.
Technology evolves, but the fundamentals of good engineering remain relevant. Combining AI capabilities with proven methodologies, human expertise, and common sense is, in my view, the foundation of successful digital transformation.
Thank you again for recognizing our team's work and vision!
Carlos Ramirez
Executive Technology & Digital Transformation
CIO & CTO
It also involves improving processes, working on technology adoption, creating an investment plan, and establishing technology governance.
Excellent project, Emilio, for transforming a company through technology.
Emilio Patricio
Grupo GarLo
CIO / CDTO
Enrique Alonso Rodriguez
CEN del PAN
IT Director
Emilio Patricio
Grupo GarLo
CIO / CDTO
Prasad Tripurari
Ramoji Group IT
CTO
Emilio Patricio
Grupo GarLo
CIO / CDTO
Farhan Tufail
Invictus Solutions Pvt Ltd
CEO and CITO
I particularly appreciate:
- The structured four-stage approach
- The human validation governance layer
- The focus on traceability from legacy behavior to modern implementation
- The practical stance that AI should generate specifications, not directly rewrite code
The paradigm shift from assumption-based rewriting to discovery-and-validation-based modernization is exactly the right direction. This has the potential to significantly reduce risk and effort in legacy transformation projects.Would love to see some real-world case studies and measurable outcomes as this evolves. Congratulations to the team!
Emilio Patricio
Grupo GarLo
CIO / CDTO
I agree that the next step is a case study with measurable outcomes. I’d start with one business process and report three things: how long it took to produce a validated specification, how many undocumented rules the team confirmed, and how many of those rules have passing acceptance tests in the new system. That would give us a concrete basis for judging where the approach saves effort and reduces risk.
RUBEN ROSETE
Televisa Univision Inc
Depury Director of the Content Creation Engineering
Sin embargo, el éxito de este enfoque exige rigor técnico y supervisión humana para evitar alucinaciones en las que la IA confunda errores históricos del código con reglas de negocio válidas. Debido al tamaño masivo de los sistemas empresariales y a la sensibilidad de su código fuente, la mejor estrategia consiste en implementar arquitecturas híbridas (herramientas deterministas + LLMs) en entornos privados, aplicando una validación constante por expertos del dominio y avanzando de forma incremental módulo por módulo.
Felicidades Emilio que gran proyecto.
Emilio Patricio
Grupo GarLo
CIO / CDTO
Coincido plenamente: el verdadero valor de la IA en la modernización de sistemas heredados no está en generar código nuevo, sino en recuperar el conocimiento del negocio que quedó atrapado durante décadas en el código existente. El gran desafío no es tecnológico, sino de gobernanza y entendimiento.
No todo lo que hace un sistema legado es una regla de negocio; muchas veces simplemente perpetúa errores históricos.
Por eso, nuestra propuesta parte de un principio fundamental: la IA descubre y documenta, las herramientas deterministas verifican y los expertos del negocio validan.
Modernizar no significa reescribir lo que existe, sino comprender qué debemos preservar, qué debemos corregir y qué debemos transformar.
¡Muchas gracias por tus palabras y por aportar a esta conversación!
Alexandro Brito
Grupo Nichos
CIO
Emilio Patricio
Grupo GarLo
CIO / CDTO
We firmly believe that AI should amplify human expertise, not replace engineering judgment. Combining artificial intelligence, software engineering, and governance allows us to transform decades of technical debt into strategic digital assets.
Equally important, this initiative demonstrates that Mexico has the talent, expertise, and technological leadership to develop world-class solutions, rather than merely consume them.
The real transformation is not in generating new code, but in understanding, preserving, and evolving the business intelligence embedded within it.
Technology is the enabler. Human intelligence, governance, and business value are the driving forces.