# ADR-Control: Do LLM Coding Agents Follow Architectural Decisions? An Evaluation of ADR-Grounded Code Generation

> Source: <https://aclanthology.org/2026.inlg-long.15/>
> Published: 2026-11-20 00:00:00+00:00

**Recommendation:** When checking whether LLM coding agents follow architectural decisions, supply ADRs as normalized structured constraints rather than prose; the pilot measured F1 0.746 versus 0.675 for prose.
More in the playbook "Evals and testing for LLM apps": <https://wpnews.pro/playbooks/evals-testing>

##### Abstract

Large language models can generate code at repository scale, but they frequently violate architectural intent even when relevant design decisions are available as context. This gap mirrors a broader faithfulness problem in natural language generation: models retrieve correct evidence yet fail to apply it faithfully in their outputs. We propose ADR-Control, a framework that elevates Architecture Decision Records (ADRs) from passive documentation to active control artifacts through retrieval, constraint normalization, verification, and typed trace emission. We evaluate one bounded component of this framework: canonical ADR-constraint violation identification on fixed candidate patches under four reviewer-context conditions across five tasks from one .NET repository. Across two canonical repetitions, Structured-ADR context achieves mean canonical identification F1 of 0.746 ± 0.145, compared with 0.675 ± 0.194 for ADR-prose context. This result provides pilot evidence for bounded ADR-grounded constraint identification; it does not establish end-to-end generation superiority, verifier-gated repair success, executable correctness, or generalization beyond the pilot.

- Anthology ID:
- 2026.inlg-long.15
- Volume:
- [Proceedings of the 19th International Natural Language Generation Conference: Long Papers](https://aclanthology.org/volumes/2026.inlg-long/)
- Month:
- October
- Year:
- 2026
- Address:
- Utrecht, The Netherlands
- Editors:
- [Guanyi Chen](https://aclanthology.org/people/guanyi-chen/) ,[Laura Perez-Beltrachini](https://aclanthology.org/people/laura-perez-beltrachini/unverified/) ,[Emiel van Miltenburg](https://aclanthology.org/people/emiel-van-miltenburg/)
- Venue:
- [INLG](https://aclanthology.org/venues/inlg/)
- SIG:
- [SIGGEN](https://aclanthology.org/sigs/siggen/)
- Publisher:
- Association for Computational Linguistics
- Note:
- Pages:
- 301–309
- Language:
- URL:
- [https://aclanthology.org/2026.inlg-long.15/](https://aclanthology.org/2026.inlg-long.15/)
- DOI:
- Cite (ACL):
- Pham The Phong and Phan Duy Hung. 2026. [ADR-Control: Do LLM Coding Agents Follow Architectural Decisions? An Evaluation of ADR-Grounded Code Generation](https://aclanthology.org/2026.inlg-long.15/) . In*Proceedings of the 19th International Natural Language Generation Conference: Long Papers* , pages 301–309, Utrecht, The Netherlands. Association for Computational Linguistics.
- Cite (Informal):
- [ADR-Control: Do LLM Coding Agents Follow Architectural Decisions? An Evaluation of ADR-Grounded Code Generation](https://aclanthology.org/2026.inlg-long.15/) (Phong & Hung, INLG 2026)
- PDF:
- [https://aclanthology.org/2026.inlg-long.15.pdf](https://aclanthology.org/2026.inlg-long.15.pdf)
