{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2608-20400","title":"When Retrieval Fails Before It Begins: Structurally Indirect Prerequisite Eviction as a Retention Failure in Agentic Memory","arxiv_id":"2608.20400","date":"2026-07-05","proceeding":null,"authors":["Minkyu Song"],"abstract":"Agentic memory under a fixed budget involves two stages: retention and retrieval. Existing retrieval-centered paradigms implicitly assume necessary evidence survives eviction, but we challenge this by isolating a pre-retrieval failure mode: structurally indirect prerequisite eviction, in which upstream blocks weakly aligned with the query are discarded under budget pressure. We provide an operational definition of this failure, a reproducible deterministic benchmark, and per-seed trace diagnostics. Finally, we evaluate Dependency-aware Semantic Garbage Collection (DSGC), a one-hop graph-aware rule. In our main suite, DSGC improves full-chain retention from 0.03 to 0.90 under a lexical encoder and from 0.23 to 1.00 under a sentence encoder. Robustness checks then identify the budget and scaling regimes where the one-hop rule holds or degrades. Our released pipeline and failure postmortem support mechanistic analysis of retention before retrieval as a distinct failure boundary.","url_abs":"https://arxiv.org/abs/2608.20400","url_pdf":"https://arxiv.org/pdf/2608.20400","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2608.20400","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2608.20400"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/smkgenesis/dsgc","reach":null}],"summary":{"ran":4,"ran_fixture":2,"unverified":7},"by_repo_kind":{"found_in_text":{"samples":13,"ran":6,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"b3f8239f3c36bbdb","entry":"DependencyGraph","repo":"smkgenesis/dsgc","repo_kind":"found_in_text","path":"src/benchmarking/policy.py","file_url":"https://github.com/smkgenesis/dsgc/blob/HEAD/src/benchmarking/policy.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b3f8239f3c36bbdb"}},{"code_sha256_prefix":"40820423c54b4f0a","entry":"FrozenEncoder","repo":"smkgenesis/dsgc","repo_kind":"found_in_text","path":"src/benchmarking/policy.py","file_url":"https://github.com/smkgenesis/dsgc/blob/HEAD/src/benchmarking/policy.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"40820423c54b4f0a"}},{"code_sha256_prefix":"bc2571798fbe41b1","entry":"SentenceEncoder","repo":"smkgenesis/dsgc","repo_kind":"found_in_text","path":"src/benchmarking/policy.py","file_url":"https://github.com/smkgenesis/dsgc/blob/HEAD/src/benchmarking/policy.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"bc2571798fbe41b1"}},{"code_sha256_prefix":"b0e689fc61be3b1f","entry":"dot","repo":"smkgenesis/dsgc","repo_kind":"found_in_text","path":"src/benchmarking/policy.py","file_url":"https://github.com/smkgenesis/dsgc/blob/HEAD/src/benchmarking/policy.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b0e689fc61be3b1f"}},{"code_sha256_prefix":"547b9712bd0ef152","entry":"make_encoder","repo":"smkgenesis/dsgc","repo_kind":"found_in_text","path":"src/benchmarking/policy.py","file_url":"https://github.com/smkgenesis/dsgc/blob/HEAD/src/benchmarking/policy.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"DEP_MISSING","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"547b9712bd0ef152"}},{"code_sha256_prefix":"ca9816c0c550df1a","entry":"softmax","repo":"smkgenesis/dsgc","repo_kind":"found_in_text","path":"src/benchmarking/policy.py","file_url":"https://github.com/smkgenesis/dsgc/blob/HEAD/src/benchmarking/policy.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ca9816c0c550df1a"}},{"code_sha256_prefix":"2094b5f3b0d327ca","entry":"BaseMemoryPolicy","repo":"smkgenesis/dsgc","repo_kind":"found_in_text","path":"src/benchmarking/policy.py","file_url":"https://github.com/smkgenesis/dsgc/blob/HEAD/src/benchmarking/policy.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2094b5f3b0d327ca"}},{"code_sha256_prefix":"41b0f12b6f26f50e","entry":"DSGCConfig","repo":"smkgenesis/dsgc","repo_kind":"found_in_text","path":"src/benchmarking/policy.py","file_url":"https://github.com/smkgenesis/dsgc/blob/HEAD/src/benchmarking/policy.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"41b0f12b6f26f50e"}},{"code_sha256_prefix":"4ec60cb092eea309","entry":"Fact","repo":"smkgenesis/dsgc","repo_kind":"found_in_text","path":"src/benchmarking/policy.py","file_url":"https://github.com/smkgenesis/dsgc/blob/HEAD/src/benchmarking/policy.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4ec60cb092eea309"}},{"code_sha256_prefix":"6e9bf9ac624a9067","entry":"MemoryBlock","repo":"smkgenesis/dsgc","repo_kind":"found_in_text","path":"src/benchmarking/policy.py","file_url":"https://github.com/smkgenesis/dsgc/blob/HEAD/src/benchmarking/policy.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6e9bf9ac624a9067"}},{"code_sha256_prefix":"f05d4440f2c96ee6","entry":"MemoryTier","repo":"smkgenesis/dsgc","repo_kind":"found_in_text","path":"src/benchmarking/policy.py","file_url":"https://github.com/smkgenesis/dsgc/blob/HEAD/src/benchmarking/policy.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f05d4440f2c96ee6"}},{"code_sha256_prefix":"a0f55068488b949e","entry":"Metadata","repo":"smkgenesis/dsgc","repo_kind":"found_in_text","path":"src/benchmarking/policy.py","file_url":"https://github.com/smkgenesis/dsgc/blob/HEAD/src/benchmarking/policy.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a0f55068488b949e"}},{"code_sha256_prefix":"efb41616219700b6","entry":"MinimalDSGCPolicy","repo":"smkgenesis/dsgc","repo_kind":"found_in_text","path":"src/benchmarking/policy.py","file_url":"https://github.com/smkgenesis/dsgc/blob/HEAD/src/benchmarking/policy.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"efb41616219700b6"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}