Pham The Phong
Author directory2026
Pham The Phong | Phan Duy Hung
Proceedings of the 19th International Natural Language Generation Conference: Long Papers
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.