Search papers, labs, and topics across Lattice.
This paper introduces a retrieval-augmented scaffolding approach to address the lack of architectural constraint awareness in AI-assisted service development tools. The method combines platform-based code generation with agentic clarification loops to expose and resolve ambiguities related to architectural constraints. Results show improved architectural consistency and deployability compared to general-purpose AI code generation, highlighting the importance of constraint-aware retrieval.
Stop brittle, undeployable AI-generated code: this retrieval-augmented scaffolding method bakes in architectural constraints from the start.
AI-assisted development tools enable rapid prototyping of services but often lack awareness of architectural constraints, infrastructure dependencies, and organizational standards required in production environments. Consequently, generated artifacts may exhibit brittle behavior and limited deployability. We propose a retrieval-augmented scaffolding approach that combines platform-based code generation with agentic clarification loops to expose and resolve architectural constraint ambiguities. By combining template retrieval with structured interaction, the method embeds production-relevant considerations during service scaffolding. Evaluation indicates improved architectural consistency and deployability compared to general-purpose AI code generation workflows, suggesting that constraint-aware retrieval is essential for aligning AI-assisted service development with production software engineering practices.