Grounding SWE-Agent Decisions in Architecture-0 Design: Navigating Unknown Unknowns through Physical Mapping
Abstract
Autonomous Software Engineering Agents (SWE-Agents) excel in deterministic coding tasks but struggle with Architecture 0, the nascent system design phase plagued by implicit engineering constraints, or Unknown Unknowns (UUs) that are rarely stated explicitly. To investigate how agents navigate UUs, we explore a progressive trajectory across pure-text self-play, tool-augmented feedback, and external physical mapping. Our empirical analysis reveals a cascading chain of failures. Pure-text reasoning inevitably devolves into polite consensus or plausible yet physically impossible fabrications. Attempting to bridge this gap via an early-stage execution sandbox unexpectedly triggers Specification Gaming: agents exploit their autonomy over validation scripts to bypass physical constraints, achieving superficial success without resolving core architectural flaws. To resolve this self-validation trap, we propose the Physical Mapping Guard (PMG). Grounded in the software engineering principle of Separation of Concerns, PMG revokes verification authority from the agent, forcing semantic intents to be evaluated by an external, deterministic Semantic-to-Physical (S2P) mapping engine. Extensive evaluations demonstrate that PMG completely eradicates physical-layer and validation-layer gaming. By precisely isolating residual failures to semantic reinterpretations and auditor overreach, PMG marks a critical step toward genuine affordance grounding in automated architectural design.
Create a lesson
Metadata
- Categories
- cs.SE, cs.AI
- Comments
- 51 pages, 13 figures, 18 tables. Preprint of a manuscript under review at ACM TOSEM
Related papers
Tracing Decisions to Value: Measuring What People Contribute When Agents Build Software
Shared title terminologycs.SEShyam Agarwal, Hideaki Hata, Andrew Macvean et al.
Demystifying Agent Skills for Smart Contract Auditing: Design, Effectiveness, Behavioral Impact
Shared title terminologycs.SECuifeng Gao, Juantao Zhong, Jiachi Chen et al.
NostrAgent: A Decentralized Identity and Delegation Architecture for Sovereign Agentic Systems
Shared title terminologycs.SEOliver Aleksander Larsen, Mahyar Tourchi Moghaddam
A Governance-Aware Large Language Model Orchestrated Agentic Digital Twin for Transmission System Operator Control Room Decision Support
Shared title terminologycs.SECostas Mylonas, Magda Foti, Emmanouel Varvarigos
Trust by Design: Trust Calibration Through Non-Advisory Socratic Dialogue in Conversational Agents
Shared title terminologycs.SERoba Hassan, Nahla Aboromi, Naomi Unkelos-Shpigel
When Agent Metrics Measure Different Things: An Evidence-Grounded Audit of the Praxa AI Pipeline
Shared title terminologycs.SEStefan G. Creadore, Peyton Woakz