Reversa:遺留系統轉AI規格

Computer Science > Software Engineering
arXiv:2605.18684 (cs)
[Submitted on 18 May 2026]
Title:Reversa: A Reverse Documentation Engineering Framework for Converting Legacy Software into Operational Specifications for AI Agents
Authors:Sanderson Oliveira de Macedo, Ronaldo Martins da Costa
View a PDF of the paper titled Reversa: A Reverse Documentation Engineering Framework for Converting Legacy Software into Operational Specifications for AI Agents, by Sanderson Oliveira de Macedo and Ronaldo Martins da Costa
View PDF
HTML (experimental)
Abstract:Legacy systems concentrate business rules, architectural decisions, and operational exceptions that often remain implicit in code, data, configuration, and
maintenance practices. At the same time, language-model-based coding agents depend on reliable context, correctness criteria, and behavioral contracts to
modify real systems with lower risk. This paper presents Reversa, a reverse documentation engineering framework for converting legacy software into
traceable operational specifications for AI agents. Reversa organizes this process as a multi-agent pipeline: specialized agents map the project surface,
analyze modules, extract implicit rules, synthesize architecture, write unit-level specifications, and review generated claims. The proposal emphasizes
three mechanisms: traceability between code and specification, explicit confidence marking, and preservation of gaps for human validation. The framework is
distributed as a this http URL CLI, installs skills across multiple agent engines, and uses a SHA-256 manifest to preserve modified files during update or
uninstall operations. In addition to the architectural description, we report an exploratory case study on migrating an ATM from COBOL to Go, in which the
pipeline produced 517 claims classified by an internal confidence index, 10 registered gaps, 53 Gherkin parity scenarios, and a reconstruction plan with 9
of 11 tasks completed at inventory time. Final parity validation and cutover were not completed in this study. We do not claim broad empirical superiority;
we position the contribution with respect to the literature on reverse engineering, LLM-based documentation, and software agents, and propose an evaluation
protocol with metrics for coverage, traceability, confidence, utility, and cost.
Comments:
Preprint. Includes a generative AI use statement
Subjects:
Software Engineering (cs.SE); Artificial Intelligence (cs.AI)
Cite as:
arXiv:2605.18684 [cs.SE]
(or
arXiv:2605.18684v1 [cs.SE] for this version)
https://doi.org/10.48550/arXiv.2605.18684
Focus to learn more
arXiv-issued DOI via DataCite
Submission history From: Sanderson Macedo Doc [view email]
[v1]
Mon, 18 May 2026 17:23:13 UTC (1,130 KB)
Full-text links:
Access Paper:
View a PDF of the paper titled Reversa: A Reverse Documentation Engineering Framework for Converting Legacy Software into Operational Specifications for AI Agents, by Sanderson Oliveira de Macedo and Ronaldo Martins da CostaView PDFHTML (experimental)TeX Source
view license
Current browse context:
cs.SE
< prev
|
next >
new
|
recent
| 2026-05
Change to browse by:
cs
cs.AI
References & Citations
NASA ADSGoogle Scholar
Semantic Scholar
export BibTeX citation
Loading...
BibTeX formatted citation
×
loading...
Data provided by:
Bookmark
Bibliographic Tools
Bibliographic and Citation Tools
Bibliographic Explorer Toggle
Bibliographic Explorer (What is the Explorer?)
Connected Papers Toggle
Connected Papers (What is Connected Papers?)
Litmaps Toggle
Litmaps (What is Litmaps?)
scite.ai Toggle
scite Smart Citations (What are Smart Citations?)
Code, Data, Media
Code, Data and Media Associated with this Article
alphaXiv Toggle
alphaXiv (What is alphaXiv?)
Links to Code Toggle
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub Toggle
DagsHub (What is DagsHub?)
GotitPub Toggle
Gotit.pub (What is GotitPub?)
Huggingface Toggle
Hugging Face (What is Huggingface?)
ScienceCast Toggle
ScienceCast (What is ScienceCast?)
Demos
Demos
Replicate Toggle
Replicate (What is Replicate?)
Spaces Toggle
Hugging Face Spaces (What is Spaces?)
Spaces Toggle
TXYZ.AI (What is TXYZ.AI?)
Related Papers
Recommenders and Search Tools
Link to Influence Flower
Influence Flower (What are Influence Flowers?)
Core recommender toggle
CORE Recommender (What is CORE?)
Author
Venue
Institution
Topic
About arXivLabs
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.
Which authors of this paper are endorsers? |
Disable MathJax (What is MathJax?)