potentialpaper

Remember Your Trace: Memory-Guided Long-Horizon Agentic Framework for Consistent and Hierarchical Repository-Level Code Documentation

Import NeurIPS 2026 submission Ae5q87uyOE: 7 notes

@openreview[bot] · 2026-11-22 17:54 UTC · 68e8ef422159

Evidence

.gitattributes added

+++ b/.gitattributes
@@ -0,0 +1,10 @@
+# PDFs and pictures are kept with Git LFS (https://git-lfs.com). With it installed (`git lfs install`),
+# a clone has the files, and `git add` of one stores a pointer. This file is the same on every page.
+/.potentialpaper/*.pdf filter=lfs diff=lfs merge=lfs -text
+/versions/*.pdf filter=lfs diff=lfs merge=lfs -text
+/thumbnail.png filter=lfs diff=lfs merge=lfs -text
+/thumbnail.jpg filter=lfs diff=lfs merge=lfs -text
+/thumbnail.jpeg filter=lfs diff=lfs merge=lfs -text
+/thumbnail.gif filter=lfs diff=lfs merge=lfs -text
+/thumbnail.webp filter=lfs diff=lfs merge=lfs -text
+/thumbnail.avif filter=lfs diff=lfs merge=lfs -text

.potentialpaper/metadata.json added

+++ b/.potentialpaper/metadata.json
@@ -0,0 +1,25 @@
+{
+ "layout": 5,
+ "identifiers": [
+ {
+ "scheme": "openreview",
+ "value": "Ae5q87uyOE"
+ }
+ ],
+ "title": "Remember Your Trace: Memory-Guided Long-Horizon Agentic Framework for Consistent and Hierarchical Repository-Level Code Documentation",
+ "authors": [
+ "Suyoung Bae",
+ "Jaehoon Lee",
+ "Changkyu Choi",
+ "YunSeok Choi",
+ "Jee-Hyong Lee"
+ ],
+ "abstract": "Automated code documentation is essential for modern software development, providing the contextual grounding that both human developers and coding agents rely on to navigate large codebases. Existing repository-level approaches process components independently, causing redundant retrieval and conflicting descriptions across documents while producing outputs that lack hierarchical structure. Therefore, we propose MemDocAgent, a long-horizon agentic framework that generates documentation within a single, integrated context spanning the entire repository. It combines two components: (i) Dependency-Aware Traversal Guiding that predetermines a traversal order respecting dependency and granularity hierarchies; (ii) Memory-Guided Agentic Interaction, in which the agent interacts with RepoMemory, a shared memory accumulating prior work traces through read, write, and verify operations. Through an in-depth multi-criteria evaluation, MemDocAgent achieves the best performance over both open- and closed-source baselines and demonstrates practical applicability in real software development workflows.",
+ "year": 2026,
+ "venue": "NeurIPS 2026",
+ "source": "openreview",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}

community/10-tl-dr.md added

+++ b/community/10-tl-dr.md

community/20-summary.md added

+++ b/community/20-summary.md

community/30-why-it-matters.md added

+++ b/community/30-why-it-matters.md

community/40-critique.md added

+++ b/community/40-critique.md

community/50-errata.md added

+++ b/community/50-errata.md

community/60-reproductions.md added

+++ b/community/60-reproductions.md

community/70-follow-ups.md added

+++ b/community/70-follow-ups.md

owners/10-tl-dr.md added

+++ b/owners/10-tl-dr.md

owners/20-overview.md added

+++ b/owners/20-overview.md

owners/30-results.md added

+++ b/owners/30-results.md

owners/40-demos.md added

+++ b/owners/40-demos.md

owners/50-code-and-data.md added

+++ b/owners/50-code-and-data.md

owners/60-talks.md added

+++ b/owners/60-talks.md

prek.toml added

+++ b/prek.toml
@@ -0,0 +1,36 @@
+# Checks run before each commit, with prek (https://prek.j178.dev): `prek install` once in this clone.
+# The site checks every push again; these catch mistakes before you commit. The same on every page.
+
+[[repos]]
+repo = "builtin"
+hooks = [
+ { id = "check-json" },
+ { id = "pretty-format-json", args = ["--autofix", "--no-sort-keys", "--no-ensure-ascii"], exclude = '^demos/' },
+ { id = "end-of-file-fixer", exclude = '^demos/' },
+ { id = "trailing-whitespace", args = ["--markdown-linebreak-ext=md"], exclude = '^demos/' },
+ { id = "check-case-conflict" },
+ { id = "check-illegal-windows-names" },
+ { id = "check-added-large-files", args = ["--maxkb=256"], exclude = '^demos/' },
+]
+
+# Each JSON file against its schema (https://papers.potentialhedge.com/schemas/).
+[[repos]]
+repo = "https://github.com/python-jsonschema/check-jsonschema"
+rev = "0.39.0"
+hooks = [
+ { id = "check-jsonschema", name = "author section plugins files", files = '^owners/plugins\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/authorPlugins.json"] },
+ { id = "check-jsonschema", name = "venue files", files = '^venue\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/venue.json"] },
+ { id = "check-jsonschema", name = "topic files", files = '^topic\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/topic.json"] },
+ { id = "check-jsonschema", name = "organisation files", files = '^org\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/org.json"] },
+ { id = "check-jsonschema", name = "link files", files = '^links/[^/]+\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/link.json"] },
+ { id = "check-jsonschema", name = "version files", files = '^versions/[^/]+\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/version.json"] },
+ { id = "check-jsonschema", name = "picture files", files = '^thumbnail\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/thumbnail.json"] },
+]
+
+# Sections formatted the way the web editor formats them.
+[[repos]]
+repo = "https://github.com/rbubley/mirrors-prettier"
+rev = "v3.9.9"
+hooks = [
+ { id = "prettier", files = '^(owners|community)/.*\.md$' },
+]

reviews/openreview/ae5q87uyoe/forms.json added

+++ b/reviews/openreview/ae5q87uyoe/forms.json
@@ -0,0 +1,227 @@
+{
+ "schema": "forms/1",
+ "forms": {
+ "Meta_Review": {
+ "label": "Meta-review",
+ "fields": [
+ {
+ "key": "metareview",
+ "label": "Meta-review",
+ "type": "text"
+ }
+ ]
+ },
+ "Decision": {
+ "label": "Decision",
+ "fields": [
+ {
+ "key": "title",
+ "label": "Title",
+ "hidden": true
+ },
+ {
+ "key": "decision",
+ "label": "Decision",
+ "type": "choice"
+ },
+ {
+ "key": "comment",
+ "label": "Comment",
+ "type": "text"
+ },
+ {
+ "key": "metareview",
+ "label": "Meta-review",
+ "type": "text"
+ },
+ {
+ "key": "final_justification",
+ "label": "Final justification",
+ "type": "text"
+ }
+ ]
+ },
+ "Official_Comment": {
+ "label": "Comment",
+ "fields": [
+ {
+ "key": "title",
+ "label": "Title",
+ "type": "choice"
+ },
+ {
+ "key": "comment",
+ "label": "Comment",
+ "type": "text"
+ }
+ ]
+ },
+ "Public_Comment": {
+ "label": "Public comment",
+ "fields": [
+ {
+ "key": "title",
+ "label": "Title",
+ "type": "choice"
+ },
+ {
+ "key": "comment",
+ "label": "Comment",
+ "type": "text"
+ }
+ ]
+ },
+ "Withdrawal": {
+ "label": "Withdrawal",
+ "fields": [
+ {
+ "key": "withdrawal_confirmation",
+ "label": "Confirmation",
+ "hidden": true
+ }
+ ]
+ },
+ "Desk_Rejection": {
+ "label": "Desk rejection",
+ "fields": [
+ {
+ "key": "desk_reject_comments",
+ "label": "Reason",
+ "type": "text"
+ }
+ ]
+ },
+ "Official_Review": {
+ "label": "Official review",
+ "summary": [
+ "rating",
+ "confidence",
+ "quality",
+ "clarity",
+ "significance",
+ "originality"
+ ],
+ "fields": [
+ {
+ "key": "rating",
+ "label": "Rating",
+ "type": "score",
+ "min": 1,
+ "max": 6
+ },
+ {
+ "key": "confidence",
+ "label": "Confidence",
+ "type": "score",
+ "min": 1,
+ "max": 5
+ },
+ {
+ "key": "quality",
+ "label": "Quality",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "clarity",
+ "label": "Clarity",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "significance",
+ "label": "Significance",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "originality",
+ "label": "Originality",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "contribution_type",
+ "label": "Contribution type",
+ "type": "choice"
+ },
+ {
+ "key": "summary",
+ "label": "Summary",
+ "type": "text"
+ },
+ {
+ "key": "strengths_and_weaknesses",
+ "label": "Strengths and weaknesses",
+ "type": "text"
+ },
+ {
+ "key": "questions",
+ "label": "Questions",
+ "type": "text"
+ },
+ {
+ "key": "limitations",
+ "label": "Limitations",
+ "type": "text"
+ },
+ {
+ "key": "final_justification",
+ "label": "Final justification",
+ "type": "text"
+ },
+ {
+ "key": "paper_formatting_concerns",
+ "label": "Formatting concerns",
+ "type": "text"
+ },
+ {
+ "key": "ethical_concerns",
+ "label": "Ethical concerns",
+ "type": "choice"
+ },
+ {
+ "key": "code_of_conduct_acknowledgement",
+ "label": "Code of conduct",
+ "hidden": true
+ },
+ {
+ "key": "responsible_reviewing_acknowledgement",
+ "label": "Responsible reviewing",
+ "hidden": true
+ }
+ ]
+ },
+ "Rebuttal": {
+ "label": "Rebuttal",
+ "fields": [
+ {
+ "key": "rebuttal",
+ "label": "Rebuttal",
+ "type": "text"
+ }
+ ]
+ },
+ "Ethics_Review": {
+ "label": "Ethics review",
+ "fields": [
+ {
+ "key": "scope_of_ethics_concerns",
+ "label": "Scope",
+ "type": "choice"
+ },
+ {
+ "key": "ethics_review",
+ "label": "Ethics review",
+ "type": "text"
+ }
+ ]
+ }
+ },
+ "url": "https://openreview.net/group?id=NeurIPS.cc%2F2026%2FConference",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/ae5q87uyoe/notes/5k3jrk3mep.json added

+++ b/reviews/openreview/ae5q87uyoe/notes/5k3jrk3mep.json
@@ -0,0 +1,32 @@
+{
+ "schema": "review/1",
+ "id": "5k3jrK3mEp",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer 8jeK",
+ "content": {
+ "summary": "This paper focuses on repository-level code documentation, arguing that existing systems (RepoAgent, DocAgent, CodeWiki, DeepWiki) document each component in isolation, which causes redundant source-file retrieval, cross-document inconsistency, and a lack of hierarchical structure. The authors propose MemDocAgent, which reframes the task as a long-horizon agentic problem where a single agent documents the entire repository in one trajectory with persistent shared memory.\n\nThe method has two components: (1) Dependency-Aware Traversal Guiding, which precomputes a traversal order respecting both dependency relations and the component-module-repository granularity hierarchy and (2) Memory-Guided Agentic Interaction, where the agent interacts with RepoMemory via READ/WRITE/VERIFY/FINISH actions.\n\nBeyond completeness, truthfulness, and helpfulness, the paper introduces information sufficiency—measuring whether documentation alone lets a model regenerate the original code.",
+ "contribution_type": "general",
+ "strengths_and_weaknesses": "Strength:\n1. Sound and self-consistent method design. Reframing repository documentation as a single long-horizon trajectory with persistent memory is a natural and useful shift. \n2. Information sufficiency is a genuine contribution. It captures a dimension, implementation-level reconstructability, that prior metrics overlook.\n3. Broad and transparent evaluation involving 20 repositories across 10 domains.\n\nWeakness:\n1. Evaluation circularity. Several of the metrics appear coupled to the method itself, which inflates the apparent margin. For example, Section Presence checks whether documents conform to a prescribed template, but MemDocAgent is prompted with templates that match this metric exactly, while baselines use different formats. Helpfulness seems to have the same issue, giving credits to what is emphasized in the prompt of MemDocAgent. Also, if the Figure 1 inconsistency metric reuses the same NLI mechanism as the internal VERIFY, the method is being evaluated on a criterion entangled with its own verification module.\n\n2. No statistical significance. Checklist Q7 is answered [Yes], but the justification (\"fixed test set, same seed\") is not an error bar. There are no variance estimates or multiple runs, despite most metrics depending on temperature-driven LLMs. For a paper whose claims rest on judge scores, single-run results are a real limitation.\n\n3. Selective efficiency narrative. The \"41% read-time reduction\" is relative to DocAgent, the slowest strong baseline. Efficiency claims should be framed against the full spectrum of baselines.",
+ "quality": 3,
+ "clarity": 3,
+ "significance": 3,
+ "originality": 3,
+ "questions": "1. How is the cross-document inconsistency rate in Figure 1 computed, and what is its relationship (if there is any) to the NLI conflict score defined in Appendix A.3?",
+ "limitations": "See weaknesses.",
+ "rating": 5,
+ "confidence": 3,
+ "ethical_concerns": [
+ "NO or VERY MINOR ethics concerns only"
+ ],
+ "paper_formatting_concerns": "None.",
+ "code_of_conduct_acknowledgement": "Yes",
+ "responsible_reviewing_acknowledgement": "Yes",
+ "final_justification": "The insight provided by the paper, as well as its numerical demonstrations, are sound.\nOne reservation I would like to record: documentation generation is a highly practical problem, and the effectiveness of any such method plausibly depends a great deal on the properties of the target repository and on the downstream task. In practice, the generated documentation is often not meant to be read by humans at all, but instead serves as an intermediate artifact in service of some other purpose. That said, I recognize this is a consideration that may not be fully addressable within the scope of an academic paper."
+ },
+ "createdAt": "2026-06-24T07:49:47.496Z",
+ "modifiedAt": "2026-11-18T13:41:41.681Z",
+ "url": "https://openreview.net/forum?id=Ae5q87uyOE&noteId=5k3jrK3mEp",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/ae5q87uyoe/notes/dcqdbbanqc.json added

+++ b/reviews/openreview/ae5q87uyoe/notes/dcqdbbanqc.json
@@ -0,0 +1,32 @@
+{
+ "schema": "review/1",
+ "id": "dcQDbBAnQC",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer Dp3t",
+ "content": {
+ "summary": "This paper proposes MemDocAgent, a long-horizon agentic framework for repository-level code documentation. The key idea is to treat documentation generation as a single cumulative trajectory over the whole repository rather than as independent per-component tasks. The framework combines dependency-aware traversal, which orders documentation units according to both code dependencies and the component/module/repository hierarchy, with memory-guided agentic interaction, where a shared RepoMemory stores retrieved context, generated documents, claims, and verification scores.",
+ "contribution_type": "general",
+ "strengths_and_weaknesses": "* **Innovative Framing and Problem Identification**: The paper accurately points out that treating code components as isolated tasks leads to redundant retrieval and logical inconsistencies, and innovatively reframes this as a long-horizon agentic task with a shared memory state, intuitively and effectively solving this major pain point.\n* **Novel \"Information Sufficiency\" Metric**: Introducing a quantitative \"information sufficiency\" metric that measures code regeneration capability via Pass@k and CodeBLEU provides an objective utility evaluation standard that surpasses subjective \"LLM-as-a-judge\" approaches.\n* **Comprehensive Evaluation and Ablations**: Robust empirical results demonstrate the framework's superior performance across both open-source and closed-source models, and ablation studies successfully verify the indispensability of the three core components: ReAct-style reasoning, RepoMemory, and conflict verification.\n* **Scope Limitation of Information Sufficiency Evaluation**: Although the framework advocates for hierarchical documentation generation, \"information sufficiency\" is only evaluated on component-level function regeneration, lacking quantitative data to prove how module-level or repository-level documentation functions in broader architectural tasks.\n* **Hyperparameter Sensitivity**: The system relies on strict hardcoded thresholds, such as the number of revisions and verification passing scores, but lacks a sensitivity analysis to show the impact of altering these thresholds on the trade-offs among documentation quality, computational cost, and execution time.",
+ "quality": 4,
+ "clarity": 4,
+ "significance": 3,
+ "originality": 4,
+ "questions": "1. When a component reaches the maximum revision limit (2 revisions) but still fails to meet the 0.90 verification threshold, is the flawed documentation forcibly committed to RepoMemory, or is it discarded entirely? Regardless of the outcome, how does this affect the NLI-based conflict verification process for downstream components that depend on it?\n\n2. Given the framework's reliance on specific hardcoded thresholds (e.g., a maximum of 2 revisions, a maximum of 10 steps per sub-trajectory, and a 0.90 verification passing score), how sensitive is the overall system performance to these hyperparameter choices? Could the authors provide a sensitivity analysis to demonstrate the trade-offs between documentation quality, token cost, and execution time when these thresholds are relaxed or tightened?",
+ "limitations": "See weaknesses",
+ "rating": 5,
+ "confidence": 4,
+ "ethical_concerns": [
+ "NO or VERY MINOR ethics concerns only"
+ ],
+ "paper_formatting_concerns": "None",
+ "code_of_conduct_acknowledgement": "Yes",
+ "responsible_reviewing_acknowledgement": "Yes",
+ "final_justification": "The author's response has addressed most of my concerns."
+ },
+ "createdAt": "2026-06-22T05:22:28.902Z",
+ "modifiedAt": "2026-11-18T13:41:43.048Z",
+ "url": "https://openreview.net/forum?id=Ae5q87uyOE&noteId=dcQDbBAnQC",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/ae5q87uyoe/notes/gfty4jul0i.json added

+++ b/reviews/openreview/ae5q87uyoe/notes/gfty4jul0i.json
@@ -0,0 +1,19 @@
+{
+ "schema": "review/1",
+ "id": "gfty4jul0i",
+ "replyTo": null,
+ "kind": "decision",
+ "invitation": "Decision",
+ "signature": "Program Chairs",
+ "content": {
+ "title": "Paper Decision",
+ "decision": "Accept (poster)",
+ "comment": "",
+ "metareview": "The paper proposes MemDocAgent, which reframes repository-level documentation as a single cumulative trajectory and combines dependency-aware traversal with a structured shared memory supporting READ/WRITE/VERIFY/FINISH operations to produce mutually consistent component-, module-, and repository-level documentation. The paper’s main strengths are the practical importance of the problem, the coherent memory-and-verification design, and an unusually broad evaluation that includes conventional documentation metrics, efficiency, and an execution-based information-sufficiency metric based on code regeneration. The initial concerns centered on conceptual novelty, fairness and circularity of the evaluation, statistical support, error propagation through memory, scalability, and whether information sufficiency measures documentation quality rather than length or generator capability. The rebuttal addressed these concerns particularly well. The authors added a generic vector-memory control and shuffled-order ablation to isolate the contribution of the documentation-specific memory and cumulative traversal; template-matched baseline comparisons and clarification that the post-hoc inconsistency metric is independent of the internal NLI verifier; paired significance tests and multi-seed results; manual verification-failure analysis and trusted-reference gating showing that below-threshold documents do not propagate as verification references; length-controlled and multi-generator information-sufficiency analyses; threshold sensitivity studies; and large-scale Java/C++ experiments with repositories containing thousands of components. Reviewers mH8C, 8jeK, and Dp3t explicitly stated that their concerns were addressed and raised or maintained their assessments at Accept, while kK9H remained positively inclined and retained a Borderline Accept score. In my view, the rebuttal materially changes the balance of the paper: the work is no longer supported merely by an effective integration of known components, but by controlled evidence that the structured, verification-gated RepoMemory and dependency-aware cumulative trajectory provide benefits beyond generic memory, formatting, or additional context. I therefore recommend Accept (Spotlight). The paper stands out because it introduces a clear formulation of repository documentation as a stateful cross-document consistency problem, provides a practical and reproducible system for addressing it, and supports the design with unusually comprehensive controls spanning quality, consistency, utility, scalability, and robustness.",
+ "final_justification": "I recommend Accept (Spotlight). The rebuttal directly addressed the major concerns in the initial meta-review with strong controlled experiments, significance analysis, error-propagation checks, metric-validity studies, and large-scale cross-language evaluation. The resulting evidence convincingly supports the documentation-specific memory and cumulative-trajectory design rather than generic memory or formatting effects. The combination of a practically important problem, a clear system contribution, and unusually thorough empirical validation makes the paper stand out beyond a standard poster acceptance."
+ },
+ "createdAt": "2026-09-24T11:23:18.255Z",
+ "modifiedAt": "2026-11-18T14:56:43.924Z",
+ "url": "https://openreview.net/forum?id=Ae5q87uyOE&noteId=gfty4jul0i",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/ae5q87uyoe/notes/hjc0gpw616.json added

+++ b/reviews/openreview/ae5q87uyoe/notes/hjc0gpw616.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "hjc0gPW616",
+ "replyTo": "iPJxPquOOV",
+ "kind": "comment",
+ "invitation": "Rebuttal",
+ "signature": "Authors",
+ "content": {
+ "rebuttal": "Dear Reviewer, kK9H \nThank you for your thorough and insightful review! We greatly appreciate your recognition of our method's contributions. Your constructive critiques and suggestions are valuable and have helped us significantly strengthen the paper. We have carefully considered each of your comments and provide detailed responses below. \n\n---\n# Responses to W1 and Q4 : Language and scale generalizability\nWe thank the reviewer for this valuable question. MemDocAgent satisfies generalizability along three axes, **language, size, and domain**, which we clarify below with existing results and additional experiments.\n\n**1. Language-agnostic:** As shown in our anonymous code link, MemDocAgent's dependency parser is built on **tree-sitter**, which natively supports JavaScript, TypeScript, Java, C++, C, C#, PHP, and Kotlin in addition to Python. The framework can therefore generate comprehensive documentation for repositories written in languages beyond Python.\n\n**2. Stability across software size:** In **Appendix C.2 (Table 24)**, we already report a scalability analysis showing consistent performance on large repositories, including very large ones such as *mingus* and *ydata-profiling* (194+ files, 600+ components). \nTo further demonstrate language-agnosticism and size stability, we collected additional large-scale GitHub repositories in **Java** and **C++** during the rebuttal period and report the results below.\n\n- Repositories: \n - Java: elastic/logstash (395 files, 4,134 components) \n - C++: electron/electron (835 files, 9,190 components) \n\n**[Table: Performance on other language, large-scaled repositories (backbone: Qwen3-Coder)]**\n\n| Repo | Method | Completeness | Truthfulness | Helpfulness | Time/Doc (s) | \n|------|--------|:---:|:---:|:---:|:---:| \n| Java | DocAgent | 0.835 | 0.730 | 0.600 | 72.80 |\n| | **Ours** | **0.978** | **0.957** | **0.703** | **60.21** |\n | C++ | DocAgent | 0.820 | 0.810 | 0.550 | 69.10 |\n | | **Ours** | **0.988** | **0.930** | **0.695** | **58.39** |\n\n\nThese repositories are **2~4× larger in file count and 6–14× larger in component count** than the largest repository used in our paper. In such large-scale settings, per-document time increases slightly due to reading dependency-related documents at the module and repository levels, yet MemDocAgent remains more efficient than the SOTA baseline DocAgent in both quality and time cost.\n\n**3. Domain generalizability:** As shown in **Appendix B.4 (Table 20)**, the 20 repositories in our evaluation span **10 distinct domains** (Communication, Internet, Utilities, etc.), differing substantially in code style and repository structure. Tables 21, 22, and 23 show that MemDocAgent performs consistently well across all of these domains.\n\nIn conclusion, MemDocAgent satisfies **language, size, and domain generalizability**. We will explain this more clearly in the revised version.\n\n---\n\n# Responses to W2 : Regarding important details in appendix\nWe appreciate this suggestion. Due to the page limit, several important details were placed in the appendix. **In the revised version, we will move the following into the main text:**\n1. The dependency graph construction algorithm and the NLI-based conflict-checking procedure, to be added to the method section.\n2. The evaluation metric details from Appendix B.1, to expand Section 5.1.\n---\n\n# Response to W3: Fairness of Experimental Comparisons\nWe thank the reviewer for this comment. We would like to clarify how our comparison is designed.\n\n- **\"Different pipelines\" is precisely what we measure.** The contribution of MemDocAgent is not a particular prompt or backbone choice, but a **new pipeline design for repository-level code documentation**. Prior methods such as DocAgent[1] and RepoAgent[2] likewise propose their own pipeline designs as methods, and this line of work compares different pipelines at the method level. What we measure is therefore **which pipeline design produces better documentation**.\n- **Output shapes are already compared under matched granularity.** To compare fairly across output formats, **Table 2b in Section 6** reports results separated by granularity. In particular, at the component level all systems generate the same unit (a single function, class, or method), enabling a directly aligned, apples-to-apples comparison. MemDocAgent leads on all three metrics under this matched setting.\n- **All conditions other than the pipeline are held fixed.** To isolate the effect of the pipeline design, we control every other factor across all methods, **(a) Backbone:** the same agent models and hyperparameters, **(b) Evaluation:** the same evaluation framework and metric definitions, and **(c) the same LLM judge model**, deliberately chosen not to overlap with any backbone (line 244).\n\nTherefore, any observed performance difference stems solely from the pipeline design, and is not driven by confounds in the model or evaluation setup.\n\n--- \n# Response to Q1: Dependency Graph Construction and Ordering\nThank you for this question. We clarify the three parts (construction, ordering, and cycles) below.\n- **Construction : pure static analysis, no LLM.** The dependency graph is built entirely via AST-based static analysis, a standard approach in the code domain; the LLM is **not** involved in graph construction or ordering at all. Specifically, we traverse the abstract syntax tree (AST) of each file to collect code entities (functions, methods, classes) as nodes, and connect them with directed edges representing their relations (function calls, class inheritance, attribute access, imports). Each node stores its AST type and code context, and each edge stores the dependency relation as metadata. **This procedure is given in Algorithm 1 (Appendix A.1).**\n- **Ordering.** The traversal order is computed by **Algorithm 2** to jointly satisfy two constraints: (1) each unit is processed after the units it depends on; and (2) a module is processed only after all of its components, and the repository only after all modules. This guarantees that every unit is documented with all of its dependencies and child units already available.\n- **Cycles.** Since code dependencies may contain cycles (e.g., mutual recursion, circular imports), we collapse each strongly connected component into a single super-node using **Tarjan's SCC algorithm** before topological ordering **(Algorithm 2, line 1)**. This converts the graph into a DAG so that a valid order always exists, and entities within a collapsed super-node are processed together in the same traversal step. Cycles therefore never cause the ordering to fail or any unit to be skipped.\n\nWe acknowledge that compressing this into algorithms makes it harder to follow, and we will describe this step-by-step procedure more explicitly in the main text of the revised version.\n\n---\n# Response to Q3: Stronger Generator and Human-Docstring Baseline\n- The ranking across systems is preserved. **We re-evaluated information sufficiency using a stronger code-generation model (Claude Sonnet)**. MemDocAgent remains best by a clear margin, confirming that the metric is robust to the downstream generator.\n\n**[Table: Information sufficiency with Claude Sonnet as the generator (backbone: Qwen3-Coder)]**\n\n| Method | Pass@1 | Pass@3 | CodeBLEU |\n|--------|:---:|:---:|:---:|\n| No docs | 0.180 | 0.205 | 0.270 |\n| Ground-truth | 0.221 | 0.353 | 0.298 |\n| Prompting | 0.262 | 0.345 | 0.347 |\n| RepoAgent | 0.352 | 0.390 | 0.325 |\n| DocAgent | 0.305 | 0.355 | 0.308 |\n| **Ours (C+M+R)** | **0.573** | **0.608** | **0.501** |\n\n- The human docstring (Ground-truth) baseline was placed in the appendix rather than the main table due to the page limit during writing, and we agree that in Figure 3 this reference is not visually distinct. **In the revised version, we will (1) add the human-docstring baseline values to the main table, and (2) render it with a dashed line and a separate label in Figure 3, clearly marking it as our reference baseline.**\n---\n# Response to Q5: Analysis of Verification-Failure Cases\nWe thank the reviewer for this important question. We manually inspected **29 cases** that never passed verification. As a result, **None of them contain critical factual errors that could mislead a user**. The 29 cases mostly fall into two mechanisms.\n\n### Case 1 : Unresolved cross-component NLI conflict (18/29)\nThe document is factually correct, but a phrasing mismatch with a neighboring component's document keeps the cross-NLI conflict score high enough to block the final score.\n\n### Case 2 — Self-consistency score plateaus just below threshold (11/29)\nThe document is correct, but the self-evaluation score creeps up without quite reaching 0.90 before the revision budget is exhausted.\n\nAcross all 29 cases, no failure stems from a misleading factual error. The common cause is that the **strict 0.90 threshold** rejects documents whose cross-NLI penalty or helpfulness sub-score falls marginally short. This is also why such documents are never used as trusted references for downstream verification **(Appendix A.3, Step 1)**, so they cannot propagate errors even when committed for coverage. We will add this failure-case analysis to the revised version with clear explanations.\n\n---\n\n**References**\n\n[1] DocAgent: An Agentic Framework for Multi-Modal Long-Context Document Understanding (Sun et al., EMNLP 2025)\n\n[2] Repoagent: An llm-powered open-source framework for repository-level code documentation generation. (Luo, Qinyu, et al., EMNLP 2024)\n\n---\n\n## Our final comments :\nWe have conducted and presented all additional experiments and analyses about all weaknesses and reviewer’s questions. We believe that most of the raised concerns have been adequately addressed. If there are still concerns that need to be addressed, please let us know, and we would be glad to provide further clarification or additional analysis."
+ },
+ "createdAt": "2026-07-28T10:40:20.700Z",
+ "modifiedAt": "2026-11-18T17:18:29.762Z",
+ "url": "https://openreview.net/forum?id=Ae5q87uyOE&noteId=hjc0gPW616",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/ae5q87uyoe/notes/ipjxpquoov.json added

+++ b/reviews/openreview/ae5q87uyoe/notes/ipjxpquoov.json
@@ -0,0 +1,32 @@
+{
+ "schema": "review/1",
+ "id": "iPJxPquOOV",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer kK9H",
+ "content": {
+ "summary": "This paper treats repo-level documentation as one long agent run that builds docs bottom-up (component → module → repo). Two main ideas: a dependency-aware traversal so things get documented in a sensible order, and a shared memory the agent can read/write/verify/commit against, so it doesn’t keep re-fetching the same files or writing inconsistent docs. Results look solid against both open- and closed-source baselines, with a nice extra check that the docs are actually enough to regenerate code. Motivation is clear and the problem is real.",
+ "contribution_type": "general",
+ "strengths_and_weaknesses": "Strengths\n- This paper feels like a real long-horizon agent setup, not just “doc each file in isolation.” Memory + structured actions is a clean way to cut redundant retrieval and keep docs consistent.\n- Evaluation is thoughtful, which considers whether the docs carry enough info to regenerate code\n- Good practical story: useful both for human developers and for other coding agents.\n\nWeaknesses\n- Only Python, only one benchmark, modest set of repos, but it's hard to know how far this generalizes.\n- A lot of the important how-it-works detail lives in the appendix - i personally suggest the authors moving part of them to the main text.\n- The experimental comparisons are a bit apples-to-oranges (different pipelines, different output shapes).",
+ "quality": 3,
+ "clarity": 3,
+ "significance": 2,
+ "originality": 2,
+ "questions": "- How exactly is the dependency graph built and ordered? Static analysis, LLM, or both? What about cycles?\n- Which NLI model for conflict checks, and how do you break a draft into atomic claims? A small example would help.\n- Does the ranking on the code-regen metric still hold with a stronger generator? Also, why isn’t the human docstring baseline more visible in the main results?\n- Any plans for non-Python or much larger repos? How does cost/time scale?\n- For the few cases that never pass verification, what do those look like? Any human checking yet?",
+ "limitations": "Yes",
+ "rating": 4,
+ "confidence": 3,
+ "ethical_concerns": [
+ "NO or VERY MINOR ethics concerns only"
+ ],
+ "paper_formatting_concerns": "No",
+ "code_of_conduct_acknowledgement": "Yes",
+ "responsible_reviewing_acknowledgement": "Yes",
+ "final_justification": "I have read the author response and want to keep my decision."
+ },
+ "createdAt": "2026-07-02T08:41:26.666Z",
+ "modifiedAt": "2026-11-18T13:41:38.571Z",
+ "url": "https://openreview.net/forum?id=Ae5q87uyOE&noteId=iPJxPquOOV",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/ae5q87uyoe/notes/pogye1agjk.json added

+++ b/reviews/openreview/ae5q87uyoe/notes/pogye1agjk.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "POgYE1aGjK",
+ "replyTo": null,
+ "kind": "meta_review",
+ "invitation": "Meta_Review",
+ "signature": "Area Chair tX4x",
+ "content": {
+ "metareview": "The paper proposes MemDocAgent, which reframes repository-level documentation as a single cumulative trajectory and combines dependency-aware traversal with a structured shared memory supporting READ/WRITE/VERIFY/FINISH operations to produce mutually consistent component-, module-, and repository-level documentation. The paper’s main strengths are the practical importance of the problem, the coherent memory-and-verification design, and an unusually broad evaluation that includes conventional documentation metrics, efficiency, and an execution-based information-sufficiency metric based on code regeneration. The initial concerns centered on conceptual novelty, fairness and circularity of the evaluation, statistical support, error propagation through memory, scalability, and whether information sufficiency measures documentation quality rather than length or generator capability. The rebuttal addressed these concerns particularly well. The authors added a generic vector-memory control and shuffled-order ablation to isolate the contribution of the documentation-specific memory and cumulative traversal; template-matched baseline comparisons and clarification that the post-hoc inconsistency metric is independent of the internal NLI verifier; paired significance tests and multi-seed results; manual verification-failure analysis and trusted-reference gating showing that below-threshold documents do not propagate as verification references; length-controlled and multi-generator information-sufficiency analyses; threshold sensitivity studies; and large-scale Java/C++ experiments with repositories containing thousands of components. Reviewers mH8C, 8jeK, and Dp3t explicitly stated that their concerns were addressed and raised or maintained their assessments at Accept, while kK9H remained positively inclined and retained a Borderline Accept score. In my view, the rebuttal materially changes the balance of the paper: the work is no longer supported merely by an effective integration of known components, but by controlled evidence that the structured, verification-gated RepoMemory and dependency-aware cumulative trajectory provide benefits beyond generic memory, formatting, or additional context. I therefore recommend Accept (Spotlight). The paper stands out because it introduces a clear formulation of repository documentation as a stateful cross-document consistency problem, provides a practical and reproducible system for addressing it, and supports the design with unusually comprehensive controls spanning quality, consistency, utility, scalability, and robustness."
+ },
+ "createdAt": "2026-07-22T14:22:58.368Z",
+ "modifiedAt": "2026-11-18T15:23:02.617Z",
+ "url": "https://openreview.net/forum?id=Ae5q87uyOE&noteId=POgYE1aGjK",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/ae5q87uyoe/notes/uny9xtdzhc.json added

+++ b/reviews/openreview/ae5q87uyoe/notes/uny9xtdzhc.json
@@ -0,0 +1,32 @@
+{
+ "schema": "review/1",
+ "id": "uNY9XtdZhc",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer mH8C",
+ "content": {
+ "summary": "This paper proposes MemDocAgent, a framework for repository-level code documentation. The method generates hierarchical documentation at the component, module, and repository levels. It combines dependency-aware traversal with a shared memory store that records previously generated documentation and retrieved context. During generation, the agent follows a structured READ/WRITE/VERIFY/FINISH workflow, where the VERIFY step combines self-evaluation with cross-document consistency checking.\n\nThe authors evaluate the system on 20 Python repositories and compare it with several open-source and closed-source documentation baselines. The evaluation covers completeness, truthfulness, helpfulness, efficiency, and an information sufficiency metric based on whether generated documentation helps an LLM reconstruct source code.",
+ "contribution_type": "general",
+ "strengths_and_weaknesses": "**Strengths**\n\n1. The paper studies a practically important problem. Repository-level documentation is useful for human developers and may also help coding agents understand large codebases.\n2. The proposed system is clearly structured. The combination of dependency-aware traversal, hierarchical documentation, memory reuse, and verification is easy to understand and well presented.\n\n**Weaknesses**\n1. The technical novelty seems limited. The main components of the system are largely combinations of existing ideas: dependency-aware traversal, external memory, iterative agent workflows, and NLI-based inconsistency detection. The integration is useful, but the paper does not clearly establish which part of the method constitutes a substantially new algorithmic contribution. As a result, the contribution appears more like a well-engineered system than a conceptually new method.\n2. The motivation for treating this as a long-horizon agent problem could be stronger. The documentation process is mostly organized by a predetermined traversal order, and each unit follows a relatively fixed read-write-verify pattern. While the trajectory may be long in terms of the number of processed components, it is less clear whether the task requires long-horizon planning or complex sequential decision making. The paper would be stronger if it more clearly distinguished long sequential processing from genuinely long-horizon reasoning.\n3. The verification mechanism may be less reliable than the paper suggests. The cross-document verification relies on decomposing documentation into claims and checking them against previously generated documentation using an NLI model. This may help catch explicit contradictions, but it is less likely to detect missing information, vague descriptions, wrong emphasis, or subtle code-level inaccuracies. In addition, previously verified documents are treated as trusted references, so errors introduced early in the trajectory may propagate to later documentation.\n4. The information sufficiency metric is interesting but difficult to interpret. The metric evaluates whether an LLM can regenerate code from documentation. However, this result depends not only on the documentation but also on the capabilities and biases of the downstream code-generation model. It may also favor longer or more implementation-heavy documentation, which is not always equivalent to better documentation for human developers. More analysis is needed to clarify what this metric measures beyond information density.\n5. Some baseline comparisons are not fully apples-to-apples. Several baselines operate at different documentation granularities. For example, some systems focus on component-level documentation, while others generate higher-level repository summaries. Since MemDocAgent explicitly generates documentation at all three levels, some improvements may partly come from the broader task formulation rather than the proposed memory and verification mechanisms alone.\n6. The evidence for scalability is still limited. The evaluation covers 20 repositories, which is useful, but it is not clear how well the method would scale to much larger industrial repositories with deeper dependency graphs, many more files, and more complex build or runtime environments. The reported per-document runtime also suggests that the method may still be expensive in large-scale deployment.",
+ "quality": 3,
+ "clarity": 3,
+ "significance": 3,
+ "originality": 3,
+ "questions": "1. Can the authors provide a clearer comparison between MemDocAgent and prior memory-augmented agent frameworks? Which part of the proposed memory design is specific to repository-level documentation rather than a direct adaptation of existing memory mechanisms?\n2. How often does the verification module fail to detect incorrect or incomplete documentation? A qualitative analysis of false positives and false negatives would make the verification results more convincing.\n3. What happens when an early generated document is incorrect but still passes verification? Does the error propagate to later module- or repository-level documentation?\n4. Can the authors disentangle the effect of documentation length from documentation quality in the information sufficiency evaluation? For example, would a longer but poorly organized document also improve code regeneration performance?\n5. Since several baselines generate documentation at different granularities, can the authors provide more controlled comparisons where all methods are evaluated under the same documentation scope?\n6. The paper reports consistent improvements across repositories, but I did not find a detailed statistical significance analysis with confidence intervals or hypothesis tests. Can the authors clarify whether the improvements are statistically significant across repositories?",
+ "limitations": "yes",
+ "rating": 5,
+ "confidence": 4,
+ "ethical_concerns": [
+ "NO or VERY MINOR ethics concerns only"
+ ],
+ "paper_formatting_concerns": "none",
+ "code_of_conduct_acknowledgement": "Yes",
+ "responsible_reviewing_acknowledgement": "Yes",
+ "final_justification": "The paper presents a well-executed and practically meaningful framework for repository-level code documentation. The rebuttal addressed all concerns with concrete additional results, including a manual failure analysis for VERIFY, length-controlled information sufficiency results, controlled template-based baseline comparisons, large-scale Java/C++ repository experiments, and Wilcoxon significance tests. These additions make the empirical evidence substantially stronger and resolve most of my major concerns. Therefore, I recommend increasing my score to 5."
+ },
+ "createdAt": "2026-06-25T00:07:08.558Z",
+ "modifiedAt": "2026-11-18T13:41:39.943Z",
+ "url": "https://openreview.net/forum?id=Ae5q87uyOE&noteId=uNY9XtdZhc",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/ae5q87uyoe/submission.json added

+++ b/reviews/openreview/ae5q87uyoe/submission.json
@@ -0,0 +1,12 @@
+{
+ "schema": "submission/1",
+ "id": "Ae5q87uyOE",
+ "venue": {
+ "id": "NeurIPS.cc/2026/Conference",
+ "name": "NeurIPS 2026",
+ "url": "https://openreview.net/group?id=NeurIPS.cc%2F2026%2FConference"
+ },
+ "number": 21257,
+ "url": "https://openreview.net/forum?id=Ae5q87uyOE",
+ "license": "CC-BY-4.0"
+}

versions/v_x4jtarvx.json added

+++ b/versions/v_x4jtarvx.json
@@ -0,0 +1,22 @@
+{
+ "date": "2026-05-04",
+ "kind": "submitted",
+ "label": "NeurIPS 2026",
+ "submissions": [
+ {
+ "venue": "NeurIPS 2026",
+ "status": "accepted",
+ "decision": "Accept (poster)",
+ "number": 21257,
+ "url": "https://openreview.net/forum?id=Ae5q87uyOE",
+ "reviews": "openreview/ae5q87uyoe",
+ "evidence": [
+ "https://openreview.net/forum?id=Ae5q87uyOE"
+ ]
+ }
+ ],
+ "url": "https://openreview.net/forum?id=Ae5q87uyOE",
+ "evidence": [
+ "https://openreview.net/forum?id=Ae5q87uyOE"
+ ]
+}