SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2608.24876 · 2026

Recursive Experiential-Working Memory Evolution for Long-Horizon Agent Harnesses

Zhe Zhao, Mengdi Wang, Shuicheng Yan, Ling Yang, Zhenfei Yin, Zhaochen Yu, Yingcheng Wu, Kaiyuan Chen

arXiv · PDF · Open in the Atlas

Code that ran

4 of 5 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 3 failures of our instrument; 1 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2608.24876.json · badge: /api/ran/2608.24876.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
Gen-Verse/Recuris canonical (classifier label)
classifier basis: census
4 ran · 1 no recorded run
FunctionStatusWhere it lives
aggregate Ran
ran; our contract draft was wrong, not the code
Gen-Verse/Recuris/src/recuris/fingerprint.py
code served (permissive licence) · get_code("bc6e12863e45a0d8")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import json
import tempfile
import os
from collections import Counter

# Create a temporary JSONL file with sample data
temp_dir = tempfile.mkdtemp()
jsonl_path = os.path.join(temp_dir, "test.jsonl")

# Write sample JSONL data
with open(jsonl_path, 'w', encoding='utf-8') as f:
    # First record with counters
    f.write(json.dumps({"counters": {"metric_a": 5, "metric_b": 3}}) + "\n")
    # Second record with counters
    f.write(json.dumps({"counters": {"metric_a": 2, "metric_c": 1}}) + "\n")
    # Empty line (should be skipped)
    f.write("\n")
    # Third record with counters
    f.write(json.dumps({"counters": {"metric_b": 4}}) + "\n")
    # Record with missing counters (None)
    f.write(json.dumps({"data": "something"}) + "\n")

ARGS = {
    "jsonl_path": jsonl_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
is_synthetic_content Ran
ran, violated the contract we drafted
Gen-Verse/Recuris/src/recuris/grounding.py
code served (permissive licence) · get_code("4d8f2bb90e19b159")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

# Analyze the function:
# - is_synthetic_content takes a single parameter: content (str)
# - It checks if content starts with markers from SYNTHETIC_CONTENT_MARKERS
# - It checks if any substring from SYNTHETIC_CONTENT_SUBSTRINGS is in content
# - Returns bool

# Test case 1: content that starts with a marker
test_content_1 = '[WRITE REVIEW This is a test'

# Test case 2: content that contains a synthetic substring
test_content_2 = 'Some text with Not executed in this round in it'

# Test case 3: normal content that is not synthetic
test_content_3 = 'This is normal user content'

# Test case 4: empty/None-like content
test_content_4 = ''

# For the function, we only need to provide a single string argument
ARGS = {
    'content': '[WRITE REVIEW Test content'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
path_prefix Ran
ran; our contract draft was wrong, not the code
Gen-Verse/Recuris/src/recuris/paths.py
code served (permissive licence) · get_code("a0d000c8eeda8ae0")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

from pathlib import Path

# Construct valid arguments for path_prefix function
# The function takes two Path objects: target and base
# It resolves them, tries to make target relative to base,
# and returns a POSIX-separated string representation

ARGS = {
    "target": Path("/tmp/workspace/subdir/file.txt"),
    "base": Path("/tmp/workspace"),
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
resolve_skill_memory Ran
ran; our contract draft was wrong, not the code
Gen-Verse/Recuris/src/recuris/paths.py
code served (permissive licence) · get_code("b2756c88a757b9ce")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned PosixPath. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os
import tempfile
from pathlib import Path

# Create a temporary directory structure that mimics the repository layout
temp_dir = tempfile.mkdtemp()
repo_dir = Path(temp_dir) / "test_repo"
repo_dir.mkdir(exist_ok=True)

# Create the required marker directories
(repo_dir / "skill_memories").mkdir(exist_ok=True)
(repo_dir / "splits").mkdir(exist_ok=True)
(repo_dir / "third_party").mkdir(exist_ok=True)

# Create a test skill memory package with manifest.yaml
skill_mem_dir = repo_dir / "skill_memories" / "retail"
skill_mem_dir.mkdir(exist_ok=True)
(skill_mem_dir / "manifest.yaml").touch()

# Set the environment variable to point to our test repo
os.environ['RECURIS_REPO_ROOT'] = str(repo_dir)

ARGS = {
    "spec": "retail"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type PosixPath — a PosixPath output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a PosixPath output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
validate Not yet run
unverified (harvested, no recorded run)
Gen-Verse/Recuris/src/recuris/config.py
code served (permissive licence) · get_code("bccb7989d9057a72")
How it ran

no invocation recorded.

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 5 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

https://github.com/Gen-Verse/Recuris Recursive self-improvement (RSI) remains hard in long-horizon tasks, where growing histories obscure the task state and misalign skill invocation. We introduce Recuris, a recursive Experiential-Working Memory architecture for long-horizon agent harnesses, in which Working Memory tracks task progress and guides skill selection from Experiential Memory, grounding skill use in current needs rather than the full history. This coupling also turns execution into structured evidence that localizes failures to specific memory components. Across tasks, a fixed Meta-Agent turns that evidence into localized, validation-gated updates to Skill Memory that reshape execution and yield new evidence, forming a bounded recursive memory-evolution loop. Across four long-horizon benchmarks and ten models, Recuris improves task success in 35 of the 37 completed model-benchmark pairs, carrying frontier models to SOTA-level task success: on 𝜏 2 -Bench it adds +17.8 points to GPT-5.6 Sol and +15.6 to Claude Opus 5, taking Opus 5 to 87.9%, and +16.6/+13.5 points on Qwen3.6-27B/35B on SkillFlow. The advantage widens as the interaction horizon grows, to +32.2 points on the longest tasks, and common long-horizon failures fall by up to 80%. These results position recursively evolving memory as a scalable foundation for RSI, enabling agents to continuously transform accumulated experience into increasingly effective long-horizon behavior. 0 25 50 75 100 Task success on that row's benchmark (%) FRONTIER MODELS τ 2 -Retail Doubao-2.0-Pro GPT-5.6 Sol Claude Opus 5 SkillFlow Doubao-2.0-Pro τ 2 -Airline

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2608.24876")
get_code_for_paper("2608.24876")
have("2608.24876")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2608.24876.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2608.24876.svg)](https://syntology.ai/paper/2608.24876)

Connect an agent — have() is free.