SpecPath: Testing Coding Agents Across Contract-Equivalent Specification Histories
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Modern coding agents increasingly appear capable of following complex software requirements, yet their success leaves a critical ambiguity: do they resolve the active specification, or merely follow the most salient path by which it was stated? We identify specification-path sensitivity, a failure mode in which requirement histories that are equivalent in their final meaning lead the same agent system to produce behaviorally different programs. This reframes evolving-requirement evaluation as active-contract resolution: before writing code, an agent must determine which requirements still count. Building on this view, we introduce SpecPath, a diagnostic evaluation that holds the repository, final contract, verifier, agent system, and execution budget fixed while changing only the revision path that leads to the contract. Rather than treating each patch as an isolated pass or failure, SpecPath uses paired executable outcomes to reveal whether an agent realizes the same tested behavior across contract-equivalent histories. Across five calibrated software tasks and fourteen coding-agent configurations, aggregate direct and revision-history accuracy is nearly unchanged; nevertheless, 35 of 100 complete blocks that succeed on the direct specification fail on at least one equivalent history. These results show that implementation success on a consolidated request does not guarantee specification-path invariance. Evaluating evolving requirements therefore calls for controlled tests of whether agents are robust to the path by which a specification becomes final.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 25 of its 37 references that are in the map. First posted on arXiv 10 Aug 2026.
Builds on
25 of 37 references.
Closest ancestors · 4
Same direction, newest first
- 2026SWE-INTERACT: Reimagining SWE Benchmarks as User-Driven Long-Horizon Coding Sessions29 Jun
- 2026EvoCode-Bench: Evaluating Coding Agents in Multi-Turn Iterative Interactions22 May
- 2026SWE-Chain: Benchmarking Coding Agents on Chained Release-Level Package Upgrades14 May
- 2026When the Specification Emerges: Benchmarking Faithfulness Loss in Long-Horizon Coding Agents17 Mar
Other references · 21
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
- 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 979
- 2025LLMs Get Lost In Multi-Turn Conversationcited by 400
- 2025Are "Solved Issues" in SWE-bench Really Solved Correctly? An Empirical Studycited by 47
- 2025Reverse-Engineered Reasoning for Open-Ended Generationcited by 32
- 2025To Code or not to Code? Adaptive Tool Integration for Math Language Models via Expectation-Maximizationcited by 25
- 2024LLM Task Interference: An Initial Study on the Impact of Task-Switch in Conversational Historycited by 19
- 2025Can Language Models Follow Multiple Turns of Entangled Instructions?cited by 14
- 2025MaintainCoder: Maintainable Code Generation Under Dynamic Requirementscited by 13
- 2026RationalRewards: Reasoning Rewards Scale Visual Generation Both Training and Test Timecited by 11
9 more
- 2025From Tools to Teammates: Evaluating LLMs in Multi-Session Coding Interactionscited by 7
- 2026Your Agents Are Aging Too: Agent Lifespan Engineering for Deployed Systemscited by 7
- 2024Validating LLM-Generated Programs with Metamorphic Prompt Testingcited by 6
- 2026Bad Seeing or Bad Thinking? Rewarding Perception for Multimodal Reasoningcited by 6
- 2026Search Beyond What Can Be Taught: Evolving the Knowledge Boundary in Agentic Visual Generationcited by 6
- 2026Revisable by Design: A Theory of Streaming LLM Agent Executioncited by 5
- 2025Benchmarking Correctness and Security in Multi-Turn Code Generationcited by 4
- 2026RIFT: Reordered Instruction Following Testbed To Evaluate Instruction Following in Singular Multistep Prompt Structurescited by 1
- 2026Regression Accumulation in Multi-Turn LLM Programming Conversationscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Grounding AI Agents in Contracts: An Empirical Evaluation of Spec-Driven Test Generation
- 2026SpecFirst: Behavioral Specification Elicitation as a First-Class Step in Agent-Based Program Synthesis from Scratch
- 2026A Unified Issue Resolution Benchmark for Requirement Clarification, Planning, and Code Generation for Coding Agents
- 2026The Specification Gap: Coordination Failure Under Partial Knowledge in Code Agents
- 2026SpecBench: Evaluating Specification-Level Reasoning for Software Engineering LLM Agents
- 2026Verus-SpecGym: An Agentic Environment for Evaluating Specification Autoformalization
- 2026SWE Refactor Bench: Can Coding Agents Complete a Long-Horizon, Whole-Repository Stack Migration?
- 2026Requirements After the First Edit: Mining Late Requirement Emergence and Rework in Real-World Coding-Agent Sessions