mlsanityData to 14 Oct 2026

Reversa: A Reverse Documentation Engineering Framework for Converting Legacy Software into Operational Specifications for AI Agents

arXiv 2605.18684 ↗First posted 18 May 2026cs.SE cs.AIcited by 1

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

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 Node.js 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.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 19 of its 39 references that are in the map. First posted on arXiv 18 May 2026.

Builds on

19 of 39 references.

Closest ancestors · 5

Same direction, newest first

  1. 2026Reproducible, Explainable, and Effective Evaluations of Agentic AI for Software Engineering1 Apr
  2. 2025ReqInOne: A Large Language Model-Based Agent for Software Requirements Specification Generation13 Aug
  3. 2024Large Language Model-Based Agents for Software Engineering: A Survey4 Sep
  4. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
  5. 2023ChatDev: Communicative Agents for Software Development16 Jul

Other references · 14

  1. 2021Program Synthesis with Large Language Modelscited by 3,637
  2. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  3. 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 399
  4. 2024RepoAgent: An LLM-Powered Open-Source Framework for Repository-level Code Documentation Generationcited by 70
  5. 2024Learning From Failure: Integrating Negative Examples when Fine-tuning Large Language Models as Agentscited by 50
  6. 2023Advancing Requirements Engineering through Generative AI: Assessing the Role of LLMscited by 42
  7. 2024Using LLMs in Software Requirements Specifications: An Empirical Evaluationcited by 20
  8. 2023How Effective are Large Language Models in Generating Software Specifications?cited by 12
  9. 2025Hierarchical Repository-Level Code Summarization for Business Applications Using Local LLMscited by 6
  10. 2023Software Architecture in Practice: Challenges and Opportunitiescited by 4
  11. 2024Testing the Effect of Code Documentation on Large Language Model Code Understandingcited by 4
  12. 2025Knowledge Graph Based Repository-Level Code Generationcited by 4
2 more
  1. 2026AutoReSpec: A Framework for Generating Specification using Large Language Modelscited by 3
  2. 2025Leveraging Large Language Models for Use Case Model Generation from Software Requirementscited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026From Dead Code and Static Requirements to Working Engines: Software Revival with Coding Agents
  2. 2026From Code to Requirements: Agentic Reverse Engineering of Business Rules at Enterprise Scale
  3. 2026Humans vs. Machines: A Comparison With AI Agents in Software Reverse Engineering
  4. 2026Revibing Code from Papers: Reimplementing HCI Artifacts ↗
  5. 2026Challenges and Future Directions in Agentic Reverse Engineering Systems
  6. 2026CrackMeBench: Binary Reverse Engineering for Agents
  7. 2026Rebuild Dossier: Mechanically-Enforced Specs for Agentic App Rebuilds, and What Model-Tier Failures Reveal
  8. 2026AI-Generated Smells: An Analysis of Code and Architecture in LLM and Agent-Driven Development