Premise Recovery in Software Design: What Does This Decision Rest On?
Priyabanta Sandulua, Islam Mesabaha, Sebastian J. Vollmer
Key points
From the paper's conclusion- We frame this as premise recovery: given an ADR with identifiers masked, find its premises among earlier records.
Abstract
Design decisions shape software architecture, and writing them down preserves the reasons behind it. Architecture decision records (ADRs) capture them, each with its context, choice, and consequences. A decision can depend on earlier ones: reversing one of them would force its review. We call these its premises. Yet ADRs do not always name their premises. When a decision is reversed, engineers supersede its ADR and search by hand for what it affects. That search can miss ADRs resting on an unnamed premise. We frame this as premise recovery: given an ADR with identifiers masked, find its premises among earlier records. We collect 1,060 ADRs from 36 repositories and label 1,529 candidate pairs for 60 target ADRs. Two LLM annotators agree at \k{appa} = 0.859. An independent human annotator, blind to their labels, agrees with the stated/implicit tag on 30 of 32 premises (\k{appa} = 0.875). We compare 7 open-weight models with 2 baselines that use no LLM. Qwen3.8-27B reaches F1 0.756, against 0.466 for word overlap; 2 models added post hoc score similarly. On the 11 premises whose titles barely overlap the target, it finds 0.758, while word overlap finds none. Reasoning raises its recall of implicit premises but not its F1. Word overlap with as many predictions gains 69% as much. We find only 2 to 3 stale dependents, though we searched for unlinked ones in only 30 of 66 supersessions. Open models could thus suggest unwritten premises when a decision is reversed, with precision between 0.68 and 0.78.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Using LLMs in Generating Design Rationale for Software Architecture DecisionsACM Transactions on Software Engineering and Methodology · 2025
- Can LLMs Extract Architectural Design Decisions from Source Code Commits? - A Preliminary Exploratory StudyarXiv · 2026
- The Code of Theseus: Can Agents Rebuild Software from Recovered Design Documents?arXiv · 2026
- Asking but Missing: Decision Coverage in Natural-Language Data QueryingarXiv · 2026
- CompLit: Scientific Literature Search Benchmarks Must Cover Implicit, Cumulative, and Unmet NeedsarXiv · 2026
- Reconstruction: A Blind Benchmark for Recovering Research Ideas from Pre-Publication BibliographiesarXiv · 2026