MemGovern: Enhancing Code Agents through Learning from Governed Human Experiences
Qihao Wang, Ziming Cheng, Shuo Zhang, Fan Liu, Rui Xu, Heng Lian, Kunyi Wang, Xiaoming Yu, Jianghao Yin, Sen Hu, Yue Hu, Shaolei Zhang, Yanbing Liu, Ronghao Chen, Huacan Wang
TL;DR
MemGovern addresses the open-world challenge in autonomous software engineering by transforming cross-repository GitHub repair history into a structured, agent-friendly experiential memory. It introduces an Experience Governance pipeline (selection, standardization, quality control) and a dual-primitive, agentic memory search (searching and browsing) to enable progressive, analogical repair reasoning. The framework yields 135K governed experience cards and achieves an average improvement of 4.65% in SWE-bench Verified bug-resolution rates across multiple LLM backbones, validating cross-repository open-world learning for code agents. Key contributions include the decoupled Index/Resolution layers, a check-list quality loop, and the agentic search workflow that robustly filters retrieval noise. The work demonstrates practical integration as a plug-in module and highlights the potential to scale agent performance by leveraging curated human repair knowledge from GitHub.
Abstract
While autonomous software engineering (SWE) agents are reshaping programming paradigms, they currently suffer from a "closed-world" limitation: they attempt to fix bugs from scratch or solely using local context, ignoring the immense historical human experience available on platforms like GitHub. Accessing this open-world experience is hindered by the unstructured and fragmented nature of real-world issue-tracking data. In this paper, we introduce MemGovern, a framework designed to govern and transform raw GitHub data into actionable experiential memory for agents. MemGovern employs experience governance to convert human experience into agent-friendly experience cards and introduces an agentic experience search strategy that enables logic-driven retrieval of human expertise. By producing 135K governed experience cards, MemGovern achieves a significant performance boost, improving resolution rates on the SWE-bench Verified by 4.65%. As a plug-in approach, MemGovern provides a solution for agent-friendly memory infrastructure.
