Capability Sheaves for Compositional Agent-Harness Repair: Controlled Quotients and a Real-Repository Stress Test
Not on the map. Why?
Abstract (arXiv)
Agent harnesses combine retrieval, routing, state, provenance, and verification, but locally successful components may disagree on shared state. We model this failure with a finite capability sheaf: stalks encode typed behavior signatures, restriction maps retain shared fields, and accepted runs are useful global sections. An exact finite constraint-satisfaction problem (CSP) defines acceptance, while a linearized relative cohomology class provides a diagnostic and search feature. A controlled experiment over 20 task clusters introduces hidden interior mediators whose raw states are nuisance variables. Quotienting their coboundaries reduces the candidate budget from 2,000 to 1,000 per cluster; aligning the hidden state removes the gap. Exact CSP matches the quotient, so the result demonstrates invariance to stale representatives, not superiority over exact reasoning. We then test the method on a discovery split from the SWE-bench Multilingual pool of PatchFuseBench: 160 issues from 20 repositories, 875 real candidate patches, 2,579 source-aware edit atoms, and 153 newly executed patches. A first pool-level construction is constant because [b-Dx]=[b] in operatornamecokerD and therefore cannot rank configurations. A candidate-indexed repair is nontrivial on 848/875 candidates and varies within 120/160 issues. It resolves 118 issues versus 116 for a matched noncohomological selector, but the difference is not supported across repositories (exact sign-flip p=0.75). A leave-one-repository-out abstention gate reaches 127/160, tying the strong anchor and exceeding its matched gate by one issue (p=1.0). The discovery gate therefore fails and the confirmatory split remains sealed. The study supports the controlled invariance mechanism and an identifiability correction, but not a real-world cohomological advantage.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 17 of its 33 references that are in the map. First posted on arXiv 13 Aug 2026.
Builds on
17 of 33 references.
References · 17
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 832
- 2024AFlow: Automating Agentic Workflow Generationcited by 432
- 2024Automated Design of Agentic Systemscited by 407
- 2026Meta-Harness: End-to-End Optimization of Model Harnessescited by 309
- 2015Persistence Images: A Stable Vector Representation of Persistent Homologycited by 236
- 2022Neural Sheaf Diffusion: A Topological Perspective on Heterophily and Oversmoothing in GNNscited by 214
- 2022Sheaf Neural Networks with Connection Laplacianscited by 65
- 2026From Failed Trajectories to Reliable LLM Agents: Diagnosing and Repairing Harness Flawscited by 29
- 2021Knowledge Sheaves: A Sheaf-Theoretic Framework for Knowledge Graph Embeddingcited by 11
- 2025Sheaf theory: from deep geometry to deep learningcited by 10
- 2015Contextuality, Cohomology and Paradoxcited by 4
5 more
- 2022Cohomology in Constraint Satisfaction and Structure Isomorphismcited by 2
- 2025A Sheaf-Theoretic Characterization of Tasks in Distributed Systemscited by 2
- 2026Sheaf-Theoretic Transport and Obstruction for Detecting Scientific Theory Shift in AI Agentscited by 2
- 2017On the Cohomology of Contextualitycited by 1
- 2026A Single Patch Is Not Enough: Deterministic Fusion of Repair Candidatescited by 1
Built on by
Not cited yet.