Gde05 commited on
Commit
f8be768
·
verified ·
1 Parent(s): 1ea5dea

Mirror of the benchmark site, board empty by construction

Browse files
Files changed (9) hide show
  1. README.md +48 -3
  2. data/leaderboard.config.json +4 -0
  3. data/leaderboard.js +98 -0
  4. index.html +268 -17
  5. leaderboard.html +175 -0
  6. method.html +529 -0
  7. site.js +160 -0
  8. styles.css +661 -0
  9. submit.html +241 -0
README.md CHANGED
@@ -1,10 +1,55 @@
1
  ---
2
  title: Agent Memory Bench
3
- emoji: 🔥
4
- colorFrom: purple
5
  colorTo: gray
6
  sdk: static
 
7
  pinned: false
 
 
 
 
 
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  title: Agent Memory Bench
3
+ emoji: 🧠
4
+ colorFrom: indigo
5
  colorTo: gray
6
  sdk: static
7
+ app_file: index.html
8
  pinned: false
9
+ license: apache-2.0
10
+ short_description: Execution-graded benchmark of memory for coding agents
11
+ tags:
12
+ - leaderboard
13
+ - agents
14
+ - agent-memory
15
+ - benchmark
16
  ---
17
 
18
+ # agent-memory-bench
19
+
20
+ A preregistered, execution-graded benchmark of **memory layers for coding agents**, measured by
21
+ task success on real coding tasks executed by Claude Code. Tests pass or they do not; no LLM judge
22
+ appears anywhere in the primary endpoint.
23
+
24
+ - Canonical site: **https://giulioder.github.io/agent-memory-bench/**
25
+ - Repository: **https://github.com/GiulioDER/agent-memory-bench**
26
+ - Corpus: **https://huggingface.co/datasets/Gde05/agent-memory-bench-corpus**
27
+
28
+ This Space is a mirror. The canonical site is the GitHub Pages deployment above, and the two are
29
+ built from the same `site/` directory, so if they ever disagree the Pages copy is the one to
30
+ trust.
31
+
32
+ ## The board is empty on purpose
33
+
34
+ `site/data/leaderboard.config.json` carries `"official_run": null`, and a number reaches the page
35
+ only through a run's `leaderboard_summary.json`. No multi-product run has happened, so there is
36
+ nothing to show and the page says so rather than filling itself with pilots.
37
+
38
+ Two rules the page enforces in code rather than promising in prose:
39
+
40
+ - **No third-party product is named before it has been told.** A vendor is invited to review its
41
+ own adapter and frozen configuration before any measured run. Undisclosed arms appear as
42
+ `product_a`, `product_b` and so on, with the integration type withheld as well, because "SaaS
43
+ API" against a short field of candidates is most of an identification on its own.
44
+ - **No multi-product ranking ships while the write path is unmeasured**, or it ships titled for
45
+ what it actually measured: `Retrieval over a bulk-ingested corpus`. The corpus is bulk ingested
46
+ once before the grid and never written to again, so a ranking built from it ranks retrieval and
47
+ gives no credit to extraction or consolidation.
48
+
49
+ ## What this Space is
50
+
51
+ The repository's `site/` directory, deployed verbatim with no build step. It is the same set of
52
+ static pages served from GitHub Pages, mirrored here so that the benchmark is reachable from where
53
+ people look for benchmarks. `method.html` states the design, `submit.html` states how a product
54
+ gets an arm, and `docs/STATUS.md` in the repository states the dated truth about what has actually
55
+ been measured.
data/leaderboard.config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "official_run": null,
3
+ "updated": "2026-08-31"
4
+ }
data/leaderboard.js ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* GENERATED by scripts/build_leaderboard.py. Do not edit by hand:
2
+ tests/test_leaderboard_generated.py fails CI when this file differs from its
3
+ regeneration. The pointer lives in site/data/leaderboard.config.json; numbers enter
4
+ only through results/<run_id>/leaderboard_summary.json. */
5
+ window.AMB_LEADERBOARD = {
6
+ "updated": "2026-08-31",
7
+ "baseline": "claude_md",
8
+ "scope": {
9
+ "writePathMeasured": false,
10
+ "title": "Retrieval over a bulk-ingested corpus",
11
+ "qualification": "The write path is not measured. Every arm was handed the same corpus before the grid and never wrote to its own store, so this ranks retrieval, not memory formation, and it gives no credit to extraction or consolidation at write time.",
12
+ "longitudinalRun": null
13
+ },
14
+ "run": null,
15
+ "arms": [
16
+ {
17
+ "name": "recall",
18
+ "type": "MCP server",
19
+ "success": null,
20
+ "delta": null,
21
+ "ci": null,
22
+ "discarded": null,
23
+ "tokensPerTask": null,
24
+ "costPerTask": null
25
+ },
26
+ {
27
+ "name": "mempalace",
28
+ "type": "MCP server",
29
+ "success": null,
30
+ "delta": null,
31
+ "ci": null,
32
+ "discarded": null,
33
+ "tokensPerTask": null,
34
+ "costPerTask": null,
35
+ "held": "held for vendor review",
36
+ "heldUntil": "2026-09-15",
37
+ "heldIssue": "https://github.com/MemPalace/mempalace/issues/2414"
38
+ },
39
+ {
40
+ "name": "fs_grep",
41
+ "type": "transcripts on disk plus grep",
42
+ "role": "control",
43
+ "success": null,
44
+ "delta": null,
45
+ "ci": null,
46
+ "discarded": null,
47
+ "tokensPerTask": null,
48
+ "costPerTask": null
49
+ },
50
+ {
51
+ "name": "placebo",
52
+ "type": "inert prose, no memory content",
53
+ "role": "control",
54
+ "success": null,
55
+ "delta": null,
56
+ "ci": null,
57
+ "discarded": null,
58
+ "tokensPerTask": null,
59
+ "costPerTask": null
60
+ },
61
+ {
62
+ "name": "claude_md",
63
+ "type": "CLAUDE.md bundle",
64
+ "role": "baseline",
65
+ "success": null,
66
+ "delta": 0,
67
+ "ci": null,
68
+ "discarded": null,
69
+ "tokensPerTask": null,
70
+ "costPerTask": null
71
+ },
72
+ {
73
+ "name": "bare",
74
+ "type": "no memory",
75
+ "role": "floor",
76
+ "success": null,
77
+ "delta": null,
78
+ "ci": null,
79
+ "discarded": null,
80
+ "tokensPerTask": null,
81
+ "costPerTask": null
82
+ }
83
+ ],
84
+ "reference": [
85
+ {
86
+ "name": "recall_prefetch",
87
+ "what": "harness-side retrieval with the exact task prompt",
88
+ "success": null,
89
+ "delta": null
90
+ },
91
+ {
92
+ "name": "protocol",
93
+ "what": "the shared memory instruction, with no memory behind it",
94
+ "success": null,
95
+ "delta": null
96
+ }
97
+ ]
98
+ };
index.html CHANGED
@@ -1,19 +1,270 @@
1
  <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
1
  <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <script>try{var t=localStorage.getItem("amb-theme")||(matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light");document.documentElement.setAttribute("data-theme",t)}catch(e){}</script>
7
+ <title>agent-memory-bench — memory for coding agents, graded by execution</title>
8
+ <meta name="description" content="A preregistered, execution-graded benchmark of pluggable memory layers for coding agents. Real tasks, real repositories, no LLM judge in the primary endpoint.">
9
+ <link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect width='16' height='16' fill='%23131311'/%3E%3Crect x='3' y='3' width='4' height='4' fill='%23fbfbf9'/%3E%3C/svg%3E">
10
+ <link rel="preconnect" href="https://fonts.googleapis.com">
11
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
12
+ <link href="https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400..700;1,6..72,400..700&family=Spline+Sans+Mono:wght@400..700&display=swap" rel="stylesheet">
13
+ <link rel="stylesheet" href="styles.css">
14
+ </head>
15
+ <body>
16
+
17
+ <header class="masthead">
18
+ <div class="masthead-inner">
19
+ <a class="wordmark" href="index.html" aria-label="agent-memory-bench home">
20
+ <span class="tick" aria-hidden="true"></span>
21
+ <span><strong class="long">agent-memory-bench</strong><strong class="short">AMB</strong><span class="full"> / AMB</span></span>
22
+ </a>
23
+ <nav aria-label="Primary">
24
+ <a href="index.html" aria-current="page">Overview</a>
25
+ <a href="method.html">Method</a>
26
+ <a href="leaderboard.html">Leaderboard</a>
27
+ <a href="submit.html">Submit</a>
28
+ <a href="https://github.com/GiulioDER/agent-memory-bench">GitHub&nbsp;&#8599;</a>
29
+ <button class="theme-toggle" type="button" aria-label="Switch between light and dark"><span class="sw" aria-hidden="true"></span></button>
30
+ </nav>
31
+ </div>
32
+ </header>
33
+
34
+ <main class="sheet">
35
+
36
+ <section class="hero">
37
+ <span class="kicker reveal">A preregistered, execution-graded benchmark</span>
38
+ <h1 class="reveal r2">Memory for coding agents, graded by <em>execution.</em></h1>
39
+ <p class="dek reveal r3">Existing memory benchmarks ask a model questions about synthetic
40
+ conversations and let an LLM judge the answers. This one gives a real agent real work in a
41
+ real repository, where success depends on something learned in earlier sessions, and grades
42
+ the artifact by execution: <strong>tests pass or they do not.</strong> No judge anywhere in
43
+ the primary endpoint.</p>
44
+ <div class="hero-cta reveal r4">
45
+ <a class="btn btn-solid" href="method.html">Read the method</a>
46
+ <a class="btn btn-ghost" href="leaderboard.html">Leaderboard</a>
47
+ </div>
48
+ </section>
49
+
50
+ <section class="stat-band" aria-label="Benchmark at a glance">
51
+ <div class="stat-grid">
52
+ <div><div class="n">6</div><div class="l">arms in the official run</div></div>
53
+ <div><div class="n">34</div><div class="l">executable tasks</div></div>
54
+ <div><div class="n">5</div><div class="l">corpus conditions</div></div>
55
+ <div><div class="n">0</div><div class="l">LLM judges in the endpoint</div></div>
56
+ </div>
57
+ </section>
58
+
59
+ <div class="status-line" role="status">
60
+ <span class="live">Phase 0 · instrument bring-up</span>
61
+ <span>Retrieval was saturated on the feed every earlier run used: hit@10 was 1.000, so every
62
+ memory arm found the governing session every time and the grid measured judgement rather than
63
+ memory. The official run moves to a 4,900-document corpus where it does not.</span>
64
+ <span>The leaderboard stays empty until a preregistered run publishes a summary.</span>
65
+ <span><a href="#progress">What has been built, and what has not &#8594;</a></span>
66
+ </div>
67
+
68
+ <section class="pad-y" id="decisions">
69
+ <div class="section-head">
70
+ <span class="no">01</span>
71
+ <h2>Design in six decisions</h2>
72
+ <span class="aside">the whole benchmark, compressed</span>
73
+ </div>
74
+
75
+ <div class="decisions">
76
+ <div class="decision">
77
+ <span class="idx">D1</span>
78
+ <div>
79
+ <h3>Official integrations, frozen and vendor-reviewed</h3>
80
+ <p>Every product enters through its own published Claude Code integration: plugin, MCP
81
+ server, or lifecycle hooks. Each adapter's config is hash-pinned in
82
+ <code>config.frozen.json</code>, and each vendor is publicly invited to review it before
83
+ the run. The invitation, the response, or the documented silence is committed to the
84
+ repository.</p>
85
+ </div>
86
+ </div>
87
+ <div class="decision">
88
+ <span class="idx">D2</span>
89
+ <div>
90
+ <h3>Each product carries its own shipped integration</h3>
91
+ <p>Every memory arm is the same CLAUDE.md bundle plus that product, wired exactly as
92
+ its vendor ships it: its own skills, its own MCP server, its own instruction text. The
93
+ baseline is <code>claude_md</code>, not <code>bare</code>: nobody runs a coding agent
94
+ memory-free, so nothing is measured against a strawman.</p>
95
+ <p>The instruction is a treatment, not scaffolding. Equalising it across arms measures
96
+ a denominator no vendor ships; letting each carry its own measures what a user installs.
97
+ The official run does the second and publishes every arm's instruction size beside its
98
+ result. The equalised variant exists as a separate, labelled ablation.</p>
99
+ </div>
100
+ </div>
101
+ <div class="decision">
102
+ <span class="idx">D3</span>
103
+ <div>
104
+ <h3>One neutral experience feed, each product's own write path</h3>
105
+ <p>The corpus is verbatim recorded agent session transcripts. Every adapter ingests
106
+ identical bytes; what its extraction pipeline keeps is part of what is measured.</p>
107
+ </div>
108
+ </div>
109
+ <div class="decision">
110
+ <span class="idx">D4</span>
111
+ <div>
112
+ <h3>Executable endpoints only</h3>
113
+ <p>Checkers run the artifact against oracles the sandbox never contained. A do-nothing
114
+ session scores zero. Every task ships a naive reference solution that must fail and an
115
+ informed one that must pass, asserted in CI.</p>
116
+ </div>
117
+ </div>
118
+ <div class="decision">
119
+ <span class="idx">D5</span>
120
+ <div>
121
+ <h3>The admission gate</h3>
122
+ <p>A grid cell is discarded, not scored, unless every arm can prove its treatment was
123
+ applied: MCP tools listed at session init, lifecycle hooks demonstrably fired with
124
+ output, sandbox files digest-verified, and no arm holding another arm's tools. Discard
125
+ counts are published per arm.</p>
126
+ <p>Only an arm with a memory surface can fail to wire, so the rule protects one class
127
+ of arm's worst outcome and no other's. Every headline is published beside an
128
+ intention-to-treat column. A timeout is an outcome, not a wiring fault, and is never
129
+ retried.</p>
130
+ </div>
131
+ </div>
132
+ <div class="decision">
133
+ <span class="idx">D6</span>
134
+ <div>
135
+ <h3>Costs are end-to-end</h3>
136
+ <p>Ingestion tokens and session tokens land in one per-arm ledger, alongside wall time
137
+ and negative-transfer counts. Deltas below the preregistered minimum effect are
138
+ reported as noise, not as findings.</p>
139
+ </div>
140
+ </div>
141
+ </div>
142
+ </section>
143
+
144
+ <section class="pad-y-s" id="arms">
145
+ <div class="section-head">
146
+ <span class="no">02</span>
147
+ <h2>The arms</h2>
148
+ <span class="aside">same feed, same tasks, same gate</span>
149
+ </div>
150
+
151
+ <div class="arm-strip mt-s">
152
+ <div class="arm-cell"><div class="arm-name">bare</div><div class="arm-type">no memory, no CLAUDE.md</div><span class="badge">floor</span></div>
153
+ <div class="arm-cell"><div class="arm-name">placebo</div><div class="arm-type">inert prose, no memory content</div><span class="badge">control</span></div>
154
+ <div class="arm-cell"><div class="arm-name">claude_md</div><div class="arm-type">curated CLAUDE.md bundle</div><span class="badge">baseline</span></div>
155
+ <div class="arm-cell"><div class="arm-name">fs_grep</div><div class="arm-type">transcripts on disk plus grep</div><span class="badge">control</span></div>
156
+ <div class="arm-cell"><div class="arm-name">recall</div><div class="arm-type">MCP server</div><span class="badge">product</span></div>
157
+ <div class="arm-cell"><div class="arm-name">mempalace</div><div class="arm-type">MCP server</div><span class="badge">product</span></div>
158
+ <div class="arm-cell"><div class="arm-name">protocol</div><div class="arm-type">the instruction, no memory behind it</div><span class="badge">reference</span></div>
159
+ <div class="arm-cell"><div class="arm-name">recall_prefetch</div><div class="arm-type">harness-side retrieval</div><span class="badge">reference</span></div>
160
+ </div>
161
+
162
+ <p class="prose mt-m">Each arm exists to remove one explanation for a result.
163
+ <code>bare</code> is the reference damage is defined against. <code>placebo</code> is
164
+ project-shaped prose with no memory content, matched to the baseline bundle on line count and
165
+ whitespace tokens, and it separates "memory helped" from "any extra context helped".
166
+ <code>claude_md</code> is the honest competitor: a well-written static instruction file costs
167
+ nothing per query and is what most teams actually have. A memory product that cannot beat it
168
+ has not earned its tokens.
169
+ <a href="method.html#arms">What each arm isolates, in full&nbsp;&#8594;</a></p>
170
+
171
+ <p class="prose mt-m"><code>protocol</code> is the control two readers asked for, and it is
172
+ the one that changed the question. It carries the complete memory instruction and no memory,
173
+ so it separates <em>the memory</em> from <em>the telling</em>. Because every memory product
174
+ requires that instruction, "does memory beat no memory" is not directly answerable; what is
175
+ answerable is whether a product earns back the cost of asking for it.</p>
176
+
177
+ <p class="prose mt-m dim"><code>fs_grep</code> and <code>recall_prefetch</code> bracket the
178
+ product. The first is the cheap answer, the whole corpus on disk with grep over it; the second
179
+ runs retrieval in the harness with the task prompt already in hand, which is the ceiling the
180
+ live arm is trying to reach. Neither is ranked as a competitor.
181
+ <a href="method.html#diagnostic">How they decompose the problem&nbsp;&#8594;</a></p>
182
+
183
+ <p class="prose mt-m dim">One arm is <strong>not</strong> running, and its absence is a
184
+ recorded choice: <code>oracle_memory</code> injects the exact evidence, so under the
185
+ <code>absent</code> condition it would hand over an answer the corpus is defined not to
186
+ contain. It returns when its bundles are condition-aware.</p>
187
+ </section>
188
+
189
+ <section class="pad-y-s" id="progress">
190
+ <div class="section-head">
191
+ <span class="no">03</span>
192
+ <h2>Where this actually stands</h2>
193
+ <span class="aside">2026-08-31</span>
194
+ </div>
195
+
196
+ <div class="table-scroll mt-s">
197
+ <table>
198
+ <thead><tr><th>piece</th><th>state</th></tr></thead>
199
+ <tbody>
200
+ <tr><td><span class="m">harness</span></td>
201
+ <td>runs; sandbox, admission gate, paired statistics, cost ledger, MCP preflight and bounded retry</td></tr>
202
+ <tr><td><span class="m">tasks</span></td>
203
+ <td><strong>34</strong> executable tasks, each with a naive and an informed reference asserted in CI. Three of them need two sessions combined, which single-fact retrieval cannot do</td></tr>
204
+ <tr><td><span class="m">harm suite</span></td>
205
+ <td>five corpus conditions across <strong>73 task-conditions</strong>; eleven tasks carry all four damage conditions, above the threshold of eight for reporting one as a result</td></tr>
206
+ <tr><td><span class="m">arms</span></td>
207
+ <td><strong>eight in the approved run:</strong> <code>bare</code>, <code>placebo</code>, <code>claude_md</code>, <code>protocol</code>, <code>fs_grep</code>, <code>recall</code>, <code>mempalace</code>, <code>recall_prefetch</code>. Two products, each wired through its own published integration and pinned to a released version, and each handed the same instruction byte for byte</td></tr>
208
+ <tr><td><span class="m">corpus</span></td>
209
+ <td>4,900 documents per condition, up from 196. It was rebuilt because the old feed was too easy: <code>bm25</code> hit@1 fell 0.485 to 0.182 and <code>voyage</code> hit@10 fell 1.000 to 0.879 on the new one</td></tr>
210
+ <tr><td><span class="m">runs</span></td>
211
+ <td>every run so far is <strong>bring-up, not result</strong>: five pilots, a harm-suite first pass, a calibration, a diagnostic and one full grid. The grid is treated as calibration because it showed the feed could not separate the arms. No arm-level number from any of them is quoted</td></tr>
212
+ <tr><td><span class="m">leaderboard</span></td>
213
+ <td>empty by construction: a number reaches it only from a published run summary</td></tr>
214
+ <tr><td><span class="m">reproducibility</span></td>
215
+ <td><strong>checkable, not yet re-runnable.</strong> <code>python -m scripts.verify_run --all</code> re-derives the ledger, the endpoints and the discard set from the published sessions with no credentials and no money. Re-running is the gap: <code>bare</code>, <code>placebo</code>, <code>claude_md</code> and <code>fs_grep</code> need only the CLI and a model key, while <code>recall</code> needs a database, an embedding key and a built index that the compose stack does not start</td></tr>
216
+ </tbody>
217
+ </table>
218
+ </div>
219
+
220
+ <div class="callout mt-l">
221
+ <span class="kicker">The long version</span>
222
+ <div class="prose">
223
+ <p>The dated status page in the repository carries the run-by-run table, the open
224
+ blockers in the order they have to be cleared, and the command that re-derives every
225
+ claim on this page:
226
+ <a href="https://github.com/GiulioDER/agent-memory-bench/blob/master/docs/STATUS.md">docs/STATUS.md</a>.
227
+ Every change to the instrument that moves a published number is recorded in
228
+ <a href="https://github.com/GiulioDER/agent-memory-bench/tree/master/docs/audit">docs/audit/</a>.</p>
229
+ </div>
230
+ </div>
231
+ </section>
232
+
233
+ <section class="pad-y-s" id="disclosure">
234
+ <div class="callout callout-invert">
235
+ <span class="kicker">Disclosure</span>
236
+ <p>This benchmark is built by the authors of <strong>recall</strong>, which competes in it.
237
+ That is exactly why the methodology is preregistered, the harness is open, every adapter
238
+ config is vendor-reviewable before any run, and all results are published, including the
239
+ ones recall loses. The full run's protocol is committed under
240
+ <code>preregistration/</code> before a single session starts.</p>
241
+ </div>
242
+ </section>
243
+
244
+ </main>
245
+
246
+ <footer>
247
+ <div class="footer-inner">
248
+ <div>
249
+ <div class="foot-title">agent-memory-bench</div>
250
+ <div class="dim">A preregistered, execution-graded benchmark of pluggable memory layers
251
+ for coding agents. Apache-2.0. Built in the open; results published win or lose.</div>
252
+ </div>
253
+ <div>
254
+ <div class="foot-title">Pages</div>
255
+ <a href="method.html">Method</a><br>
256
+ <a href="leaderboard.html">Leaderboard</a><br>
257
+ <a href="submit.html">Submit &amp; reproduce</a>
258
+ </div>
259
+ <div>
260
+ <div class="foot-title">Source</div>
261
+ <a href="https://github.com/GiulioDER/agent-memory-bench">Repository</a><br>
262
+ <a href="https://github.com/GiulioDER/agent-memory-bench/tree/master/preregistration">Preregistrations</a><br>
263
+ <a href="https://github.com/GiulioDER/agent-memory-bench/blob/master/adapters/VENDOR_REVIEW_TEMPLATE.md">Vendor review</a>
264
+ </div>
265
+ </div>
266
+ </footer>
267
+
268
+ <script src="site.js"></script>
269
+ </body>
270
  </html>
leaderboard.html ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <script>try{var t=localStorage.getItem("amb-theme")||(matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light");document.documentElement.setAttribute("data-theme",t)}catch(e){}</script>
7
+ <title>Leaderboard — agent-memory-bench</title>
8
+ <meta name="description" content="Ranked results of memory layers for coding agents, measured by execution-graded task success against the claude_md baseline. Costs and discarded cells published per arm.">
9
+ <link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect width='16' height='16' fill='%23131311'/%3E%3Crect x='3' y='3' width='4' height='4' fill='%23fbfbf9'/%3E%3C/svg%3E">
10
+ <link rel="preconnect" href="https://fonts.googleapis.com">
11
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
12
+ <link href="https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400..700;1,6..72,400..700&family=Spline+Sans+Mono:wght@400..700&display=swap" rel="stylesheet">
13
+ <link rel="stylesheet" href="styles.css">
14
+ </head>
15
+ <body>
16
+
17
+ <header class="masthead">
18
+ <div class="masthead-inner">
19
+ <a class="wordmark" href="index.html" aria-label="agent-memory-bench home">
20
+ <span class="tick" aria-hidden="true"></span>
21
+ <span><strong class="long">agent-memory-bench</strong><strong class="short">AMB</strong><span class="full"> / AMB</span></span>
22
+ </a>
23
+ <nav aria-label="Primary">
24
+ <a href="index.html">Overview</a>
25
+ <a href="method.html">Method</a>
26
+ <a href="leaderboard.html" aria-current="page">Leaderboard</a>
27
+ <a href="submit.html">Submit</a>
28
+ <a href="https://github.com/GiulioDER/agent-memory-bench">GitHub&nbsp;&#8599;</a>
29
+ <button class="theme-toggle" type="button" aria-label="Switch between light and dark"><span class="sw" aria-hidden="true"></span></button>
30
+ </nav>
31
+ </div>
32
+ </header>
33
+
34
+ <main class="sheet">
35
+
36
+ <section class="page-head">
37
+ <span class="kicker reveal">Leaderboard</span>
38
+ <h1 class="reveal r2">Ranked by what <em>ran.</em></h1>
39
+ <p class="dek reveal r3">Task success on executable checkers, paired per task against the
40
+ <code>claude_md</code> baseline. Every number on this page traces to a published run
41
+ directory; nothing is typed in by hand.</p>
42
+ </section>
43
+
44
+ <div class="status-line" id="run-meta" role="status"></div>
45
+
46
+ <!-- What this ranking is a ranking OF. Written by scripts/build_leaderboard.py from
47
+ leaderboard.config.json, never by hand: while the write path is unmeasured the page
48
+ must say so here, beside the table rather than in a footnote. -->
49
+ <aside class="scope-note" id="scope-note"></aside>
50
+
51
+ <section class="pad-y-s" id="products">
52
+ <div class="section-head">
53
+ <span class="no">01</span>
54
+ <h2>Products and controls</h2>
55
+ <span class="aside">ranked when a run is official</span>
56
+ </div>
57
+
58
+ <div class="table-scroll mt-s">
59
+ <table>
60
+ <thead>
61
+ <tr>
62
+ <th class="num">rank</th>
63
+ <th>arm</th>
64
+ <th>integration</th>
65
+ <th class="num">task success</th>
66
+ <th class="num">&Delta; vs baseline</th>
67
+ <th class="num">95% CI</th>
68
+ <th class="num">discarded cells</th>
69
+ <th class="num">cost / task</th>
70
+ </tr>
71
+ </thead>
72
+ <tbody id="board-body"></tbody>
73
+ </table>
74
+ </div>
75
+
76
+ <p class="prose mt-m dim">Deltas below the preregistered minimum effect are noise and are
77
+ labeled as noise. Discarded cells are sessions that failed the
78
+ <a href="method.html#gate">admission gate</a>: the treatment could not be proven applied, so
79
+ the cell is thrown out rather than scored. Cost is end-to-end, ingestion included.</p>
80
+ </section>
81
+
82
+ <section class="pad-y-s" id="reference">
83
+ <div class="section-head">
84
+ <span class="no">02</span>
85
+ <h2>Reference tracks</h2>
86
+ <span class="aside">diagnostics, never ranked</span>
87
+ </div>
88
+
89
+ <p class="prose mt-s"><code>protocol</code> is the one to read first, because it prices the
90
+ question rather than any product. It carries the shared memory instruction with
91
+ <strong>no memory behind it</strong>. Asking an agent to consult a memory it does not have is
92
+ itself a treatment with its own effect, and it is an effect every memory product pays before
93
+ it retrieves a single document. Read its &Delta; as the <em>entry fee</em>, and read each
94
+ product's distance from it as what the product earned back.</p>
95
+
96
+ <div class="table-scroll mt-s">
97
+ <table>
98
+ <thead>
99
+ <tr>
100
+ <th>track</th>
101
+ <th>what it isolates</th>
102
+ <th class="num">task success</th>
103
+ <th class="num">&Delta; vs baseline</th>
104
+ </tr>
105
+ </thead>
106
+ <tbody id="reference-body"></tbody>
107
+ </table>
108
+ </div>
109
+
110
+ <p class="prose mt-m dim">A reference track answers <em>where</em> the memory path breaks,
111
+ not which product wins, so it runs in the grid and is never ranked in the table above. The
112
+ decomposition is on the <a href="method.html#diagnostic">method page</a>.</p>
113
+ </section>
114
+
115
+ <section class="pad-y-s" id="official">
116
+ <div class="section-head">
117
+ <span class="no">03</span>
118
+ <h2>What makes a result official</h2>
119
+ <span class="aside">or it does not appear here</span>
120
+ </div>
121
+
122
+ <div class="prose mt-s">
123
+ <p>A run appears on this page only when all of the following hold, in this order:</p>
124
+ </div>
125
+ <div class="table-scroll mt-s">
126
+ <table>
127
+ <thead><tr><th>gate</th><th>requirement</th></tr></thead>
128
+ <tbody>
129
+ <tr><td><span class="m">1 · preregistered</span></td>
130
+ <td>protocol committed under <code>preregistration/</code> before the first session; the harness refuses to start while that directory is dirty</td></tr>
131
+ <tr><td><span class="m">2 · announced</span></td>
132
+ <td>the run is announced before it happens, not after it succeeds</td></tr>
133
+ <tr><td><span class="m">3 · gated</span></td>
134
+ <td>every scored cell passed the admission gate; discard counts published per arm</td></tr>
135
+ <tr><td><span class="m">4 · published in full</span></td>
136
+ <td>per-session logs, streams, admission verdicts and costs land in <code>results/&lt;run_id&gt;/</code>, wins and losses alike</td></tr>
137
+ </tbody>
138
+ </table>
139
+ </div>
140
+
141
+ <p class="prose mt-l dim">The <code>results/</code> tree holds smoke tests, pilots and
142
+ diagnostics. They are bring-up, they are not previews of a ranking, and no number from them
143
+ is quoted here. Where the benchmark stands is in
144
+ <a href="https://github.com/GiulioDER/agent-memory-bench/blob/master/docs/STATUS.md">docs/STATUS.md</a>.</p>
145
+
146
+ </section>
147
+
148
+ </main>
149
+
150
+ <footer>
151
+ <div class="footer-inner">
152
+ <div>
153
+ <div class="foot-title">agent-memory-bench</div>
154
+ <div class="dim">A preregistered, execution-graded benchmark of pluggable memory layers
155
+ for coding agents. Apache-2.0. Built in the open; results published win or lose.</div>
156
+ </div>
157
+ <div>
158
+ <div class="foot-title">Pages</div>
159
+ <a href="method.html">Method</a><br>
160
+ <a href="leaderboard.html">Leaderboard</a><br>
161
+ <a href="submit.html">Submit &amp; reproduce</a>
162
+ </div>
163
+ <div>
164
+ <div class="foot-title">Source</div>
165
+ <a href="https://github.com/GiulioDER/agent-memory-bench">Repository</a><br>
166
+ <a href="https://github.com/GiulioDER/agent-memory-bench/tree/master/preregistration">Preregistrations</a><br>
167
+ <a href="https://github.com/GiulioDER/agent-memory-bench/blob/master/adapters/VENDOR_REVIEW_TEMPLATE.md">Vendor review</a>
168
+ </div>
169
+ </div>
170
+ </footer>
171
+
172
+ <script src="data/leaderboard.js"></script>
173
+ <script src="site.js"></script>
174
+ </body>
175
+ </html>
method.html ADDED
@@ -0,0 +1,529 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <script>try{var t=localStorage.getItem("amb-theme")||(matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light");document.documentElement.setAttribute("data-theme",t)}catch(e){}</script>
7
+ <title>Method — agent-memory-bench</title>
8
+ <meta name="description" content="How agent-memory-bench works: neutral corpus, per-arm ingestion, sandboxed Claude Code sessions, an admission gate, execution grading, and preregistered analysis.">
9
+ <link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect width='16' height='16' fill='%23131311'/%3E%3Crect x='3' y='3' width='4' height='4' fill='%23fbfbf9'/%3E%3C/svg%3E">
10
+ <link rel="preconnect" href="https://fonts.googleapis.com">
11
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
12
+ <link href="https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400..700;1,6..72,400..700&family=Spline+Sans+Mono:wght@400..700&display=swap" rel="stylesheet">
13
+ <link rel="stylesheet" href="styles.css">
14
+ </head>
15
+ <body>
16
+
17
+ <header class="masthead">
18
+ <div class="masthead-inner">
19
+ <a class="wordmark" href="index.html" aria-label="agent-memory-bench home">
20
+ <span class="tick" aria-hidden="true"></span>
21
+ <span><strong class="long">agent-memory-bench</strong><strong class="short">AMB</strong><span class="full"> / AMB</span></span>
22
+ </a>
23
+ <nav aria-label="Primary">
24
+ <a href="index.html">Overview</a>
25
+ <a href="method.html" aria-current="page">Method</a>
26
+ <a href="leaderboard.html">Leaderboard</a>
27
+ <a href="submit.html">Submit</a>
28
+ <a href="https://github.com/GiulioDER/agent-memory-bench">GitHub&nbsp;&#8599;</a>
29
+ <button class="theme-toggle" type="button" aria-label="Switch between light and dark"><span class="sw" aria-hidden="true"></span></button>
30
+ </nav>
31
+ </div>
32
+ </header>
33
+
34
+ <main class="sheet">
35
+
36
+ <section class="page-head">
37
+ <span class="kicker reveal">Method</span>
38
+ <h1 class="reveal r2">One neutral feed in.<br>One <em>executed</em> artifact out.</h1>
39
+ <p class="dek reveal r3">Every arm receives the same recorded experience, works the same
40
+ tasks in the same sandbox, and is graded by the same checkers. The only variable is the
41
+ memory layer. Everything below is enforced by the harness, not by convention.</p>
42
+ </section>
43
+
44
+ <section class="pad-y-s" id="pipeline">
45
+ <div class="section-head">
46
+ <span class="no">01</span>
47
+ <h2>The pipeline</h2>
48
+ <span class="aside">harness/</span>
49
+ </div>
50
+
51
+ <div class="pipeline mt-s" role="img" aria-label="Pipeline diagram: corpus feeds per-arm ingestion, then a sandboxed session, then the admission gate which either discards the cell or passes it to execution grading, and results land in the ledger.">
52
+ <svg viewBox="0 0 1040 176" xmlns="http://www.w3.org/2000/svg" fill="none">
53
+ <style>
54
+ .bx { stroke: var(--ink); fill: var(--paper); }
55
+ .tt { font: 600 13px "Spline Sans Mono", monospace; fill: var(--ink); }
56
+ .ts { font: 400 9.5px "Spline Sans Mono", monospace; fill: var(--ink-faint); }
57
+ .ln { stroke: var(--ink); }
58
+ .dsh { stroke: var(--ink); stroke-dasharray: 3 4; }
59
+ rect.dsh { fill: var(--paper); }
60
+ </style>
61
+ <rect class="bx" x="4" y="24" width="148" height="52"/>
62
+ <rect class="bx" x="180" y="24" width="148" height="52"/>
63
+ <rect class="bx" x="356" y="24" width="148" height="52"/>
64
+ <rect class="bx" x="532" y="24" width="148" height="52"/>
65
+ <rect class="bx" x="708" y="24" width="148" height="52"/>
66
+ <rect class="bx" x="884" y="24" width="152" height="52"/>
67
+
68
+ <text class="tt" x="18" y="46">CORPUS</text> <text class="ts" x="18" y="63">verbatim transcripts</text>
69
+ <text class="tt" x="194" y="46">INGEST</text> <text class="ts" x="194" y="63">each arm's write path</text>
70
+ <text class="tt" x="370" y="46">SESSION</text> <text class="ts" x="370" y="63">Claude Code, sandboxed</text>
71
+ <text class="tt" x="546" y="46">GATE</text> <text class="ts" x="546" y="63">proof of treatment</text>
72
+ <text class="tt" x="722" y="46">EXECUTE</text> <text class="ts" x="722" y="63">checker vs oracle</text>
73
+ <text class="tt" x="898" y="46">LEDGER</text> <text class="ts" x="898" y="63">score + full costs</text>
74
+
75
+ <line class="ln" x1="152" y1="50" x2="180" y2="50"/>
76
+ <line class="ln" x1="328" y1="50" x2="356" y2="50"/>
77
+ <line class="ln" x1="504" y1="50" x2="532" y2="50"/>
78
+ <line class="ln" x1="680" y1="50" x2="708" y2="50"/>
79
+ <line class="ln" x1="856" y1="50" x2="884" y2="50"/>
80
+ <path d="M175 46 L180 50 L175 54" class="ln"/>
81
+ <path d="M351 46 L356 50 L351 54" class="ln"/>
82
+ <path d="M527 46 L532 50 L527 54" class="ln"/>
83
+ <path d="M703 46 L708 50 L703 54" class="ln"/>
84
+ <path d="M879 46 L884 50 L879 54" class="ln"/>
85
+
86
+ <line class="dsh" x1="606" y1="76" x2="606" y2="122"/>
87
+ <path d="M602 117 L606 122 L610 117" class="ln"/>
88
+ <rect class="dsh" x="516" y="122" width="180" height="42"/>
89
+ <text class="tt" x="530" y="140">DISCARDED</text>
90
+ <text class="ts" x="530" y="156">counts published per arm</text>
91
+ </svg>
92
+ </div>
93
+
94
+ <div class="prose mt-m">
95
+ <p>The corpus is fed to every adapter as identical bytes. Each product ingests it through
96
+ its own published write path, so what its extraction pipeline keeps, and what it throws
97
+ away, is part of what is measured. The agent then works each task in a fresh sandbox with
98
+ that arm's integration installed and nothing else.</p>
99
+ <p>Before a session is scored it must pass the admission gate. After it, the artifact the
100
+ agent left behind is run against an executable checker whose oracle inputs the sandbox
101
+ never contained. The result, with every token spent on both ingestion and the session,
102
+ lands in one per-arm ledger.</p>
103
+ </div>
104
+ </section>
105
+
106
+ <section class="pad-y-s" id="arms">
107
+ <div class="section-head">
108
+ <span class="no">02</span>
109
+ <h2>The arms</h2>
110
+ <span class="aside">what each one removes</span>
111
+ </div>
112
+ <div class="prose mt-s">
113
+ <p>An arm is not a contestant. Each one exists to <strong>remove a competing
114
+ explanation</strong> for what the product does, so that a difference at the end has one
115
+ story left that fits it. Read down the table and the design is the argument: by the last
116
+ row, "the memory layer did it" is the only surviving account.</p>
117
+ </div>
118
+ <div class="table-scroll mt-s">
119
+ <table>
120
+ <thead>
121
+ <tr><th>arm</th><th>what it is</th><th>the explanation it removes</th></tr>
122
+ </thead>
123
+ <tbody>
124
+ <tr>
125
+ <td><span class="m">bare</span></td>
126
+ <td>no memory layer, no CLAUDE.md, nothing but the repository and the prompt</td>
127
+ <td>"the task was solvable anyway." It is the floor, it runs in every cell, and
128
+ <strong>damage is defined against it</strong>: an arm damaged a cell when it failed
129
+ what <code>bare</code> solved. Without it, harm has no referent</td>
130
+ </tr>
131
+ <tr>
132
+ <td><span class="m">placebo</span></td>
133
+ <td>project-shaped prose with no memory content, matched to the baseline bundle on
134
+ line count and whitespace tokens</td>
135
+ <td>"any extra context would have helped." If <code>placebo</code> moves the number,
136
+ the treatment was <em>volume of plausible text</em>, not retrieval. This is the
137
+ control most memory benchmarks omit, and omitting it is how context stuffing gets
138
+ reported as memory</td>
139
+ </tr>
140
+ <tr>
141
+ <td><span class="m">claude_md</span></td>
142
+ <td>a curated static instruction bundle, the file a careful team already maintains</td>
143
+ <td>"a memory product beats having nothing." The honest competitor is not nothing, it
144
+ is a good README. It costs zero tokens per query and never goes stale mid-session, so
145
+ <strong>a memory layer that cannot beat it has not earned its retrieval
146
+ budget.</strong> It is the baseline, and every delta is quoted against it</td>
147
+ </tr>
148
+ <tr>
149
+ <td><span class="m">fs_grep</span></td>
150
+ <td>the whole corpus on disk, and grep</td>
151
+ <td>"a memory product beats searching the transcripts." The cheap answer costs no
152
+ index, no embedding and no server. A product is worth its infrastructure only if it
153
+ beats this, and it is a <em>non-memory</em> retrieval baseline, so a gap here is
154
+ about the memory layer rather than about having the text at all</td>
155
+ </tr>
156
+ <tr>
157
+ <td><span class="m">recall</span></td>
158
+ <td>MCP server, 8 read and navigation tools including its reasoning and graph surface</td>
159
+ <td>product under test</td>
160
+ </tr>
161
+ <tr>
162
+ <td><span class="m">recall_prefetch</span></td>
163
+ <td>the same retrieval, run in the harness with the task prompt already in hand</td>
164
+ <td>"the product cannot find it." Query formulation is removed, so this is the
165
+ ceiling the live arm is reaching for. It is a reference track, never ranked</td>
166
+ </tr>
167
+ </tbody>
168
+ </table>
169
+ </div>
170
+ <div class="prose mt-m">
171
+ <p><strong>Write tools and write-side hooks are withheld.</strong> The product ships them
172
+ and would use them, but the corpus has to be frozen across arms and cells: a session that
173
+ wrote would change what the next seed reads, and one that solved a task could write its
174
+ answer where the next cell retrieves it. That limitation is stated in the scope line above
175
+ every ranking rather than in a footnote: <strong>this measures retrieval, not memory
176
+ formation</strong>, and gives no credit for extraction or consolidation at write time.</p>
177
+ <p>Each product carries <strong>its own shipped instruction</strong>. Equalising the text
178
+ measures a denominator no vendor ships; this measures what a user installs. Per-arm
179
+ instruction sizes are published with every run so the asymmetry is visible.</p>
180
+ </div>
181
+ </section>
182
+
183
+ <section class="pad-y-s" id="tasks">
184
+ <div class="section-head">
185
+ <span class="no">03</span>
186
+ <h2>Tasks</h2>
187
+ <span class="aside">tasks/&lt;id&gt;/ · oracles/&lt;id&gt;/</span>
188
+ </div>
189
+ <div class="prose mt-s">
190
+ <p>A task is a fixture repository, a task spec, and an executable checker. Success depends
191
+ on something learned in earlier sessions: a recorded decision, a convention, a constraint
192
+ that lives in the corpus and not in the prompt. The suite holds <strong>34 tasks</strong>
193
+ (identifiers like <code>ts-tz-utc</code>, <code>ts-stable-sort</code>,
194
+ <code>ts-log-mask</code>). Three of them, the <code>xs-</code> set, state their governing
195
+ rule across two sessions rather than one, so no single document answers them: a suite where
196
+ combining sessions is never necessary cannot detect a product that combines them.</p>
197
+ <p>Every task ships two reference solutions, asserted in CI on every commit:</p>
198
+ </div>
199
+ <div class="table-scroll mt-s">
200
+ <table>
201
+ <thead>
202
+ <tr><th>reference</th><th>encodes</th><th>must</th></tr>
203
+ </thead>
204
+ <tbody>
205
+ <tr>
206
+ <td><span class="m">naive/</span></td>
207
+ <td>the plausible solution an agent produces <em>without</em> the recorded knowledge</td>
208
+ <td><strong>fail</strong> the checker</td>
209
+ </tr>
210
+ <tr>
211
+ <td><span class="m">informed/</span></td>
212
+ <td>the solution that uses what the corpus knows</td>
213
+ <td><strong>pass</strong> the checker</td>
214
+ </tr>
215
+ </tbody>
216
+ </table>
217
+ </div>
218
+ <p class="prose mt-s dim">If the naive solution passes, the task is not measuring memory and
219
+ is rejected. A do-nothing session scores zero by construction: there is no partial credit
220
+ from a judge, because there is no judge.</p>
221
+ <div class="prose mt-m">
222
+ <p><strong>How one cell actually runs.</strong> A cell is one task at one seed, and every
223
+ arm runs it. Take <code>ts-tz-utc</code>, whose governing fact is a timezone convention
224
+ this project settled months ago and wrote down nowhere in the code.</p>
225
+ <ol>
226
+ <li>The corpus is ingested once per condition, before any session, through each
227
+ product's own write path. It is then <strong>frozen</strong>: no arm writes to its store
228
+ again for the rest of the run.</li>
229
+ <li>A fresh sandbox is built from the task's fixture repository. It contains the code and
230
+ nothing else: no oracle, no reference solution, no corpus on disk. The sandbox cannot
231
+ reach the benchmark repository, because a single <code>cd ..</code> would otherwise reach
232
+ the answers.</li>
233
+ <li>The agent gets the prompt and that arm's integration, and only that arm's. The
234
+ prompt never states the governing fact. It is answerable from the corpus, or from
235
+ nothing.</li>
236
+ <li>The session ends. Before it can be scored it passes the <a href="#gate">admission
237
+ gate</a>, which checks that the arm's tools were actually listed at session init and
238
+ that no arm held another arm's tools.</li>
239
+ <li>The checker runs the artifact against oracle inputs the sandbox never contained. For
240
+ <code>ts-tz-utc</code> that means feeding timestamps whose correct handling depends on
241
+ the convention, and comparing output. Pass or fail. That is the score.</li>
242
+ </ol>
243
+ <p>The two reference solutions are what make the task <em>about memory</em> rather than
244
+ about competence. <code>naive/</code> is the good-faith answer an able engineer writes
245
+ without the recorded knowledge, and CI asserts it <strong>fails</strong>. <code>informed/</code>
246
+ uses the recorded fact and CI asserts it <strong>passes</strong>. If the naive solution ever
247
+ starts passing, the task has stopped measuring memory and is rejected rather than kept.</p>
248
+ <p>The official run works the subset that carries planted corpus conditions: <strong>73
249
+ task-conditions</strong> in all. One task cannot express <code>contradictory</code>
250
+ observably and says so in its own directory rather than being quietly dropped.</p>
251
+ </div>
252
+
253
+ </section>
254
+
255
+ <section class="pad-y-s" id="corpus">
256
+ <div class="section-head">
257
+ <span class="no">04</span>
258
+ <h2>The corpus</h2>
259
+ <span class="aside">corpus/ · sha256 manifest</span>
260
+ </div>
261
+ <div class="prose mt-s">
262
+ <p>The experience feed is <strong>verbatim recorded agent session transcripts</strong>,
263
+ pinned by a sha256 manifest. It is deliberately not a curated fact list: it carries the
264
+ noise, the dead ends and the distractor sessions real agent history carries. No arm gets a
265
+ different feed, and the only asymmetry a product can gain is what it extracts.</p>
266
+ <p><strong>It is 4,900 documents per condition, and it was made harder on purpose.</strong>
267
+ The 196-document feed every earlier run used was saturated: hit@10 was 1.000, so every
268
+ memory arm found the governing session every time and the grid could not separate "the
269
+ product retrieved badly" from "the agent never searched". On the current corpus
270
+ <code>bm25</code> hit@1 is 0.182 against 0.485, and <code>voyage</code> hit@10 is 0.879
271
+ against 1.000. Containment is checked against the built corpus rather than trusted: no fact
272
+ term of any task appears in any synthetic document, or the <code>absent</code> condition
273
+ would be silently broken for that task.</p>
274
+ <p class="dim">That change breaks comparability. No number measured on this corpus may be
275
+ differenced against a number from any earlier run.</p>
276
+ </div>
277
+ </section>
278
+
279
+ <section class="pad-y-s" id="harm">
280
+ <div class="section-head">
281
+ <span class="no">05</span>
282
+ <h2>The harm suite</h2>
283
+ <span class="aside">does memory ever make it worse?</span>
284
+ </div>
285
+ <div class="prose mt-s">
286
+ <p>Every task described above places its governing fact <em>in</em> the corpus, so that
287
+ suite can only ask whether memory helps. It is structurally incapable of detecting harm,
288
+ and a layer that helps 20% of cells while harming 15% publishes the same headline as one
289
+ that helps 20% and harms 2%.</p>
290
+ <p>So a second suite varies <strong>what the corpus contains</strong>, never what a product
291
+ does about it. Every arm ingests identical bytes under each condition. Whether a
292
+ system copes through supersession metadata, recency weighting, reranking, a refusal
293
+ threshold, or not at all, is the thing being measured rather than the thing assumed. Damage
294
+ is defined against the memory-free arm: failing a cell that <code>bare</code> solved.</p>
295
+ </div>
296
+ <div class="table-scroll mt-s">
297
+ <table>
298
+ <thead>
299
+ <tr><th>condition</th><th>the corpus holds</th><th>correct behaviour</th><th>damage signature</th></tr>
300
+ </thead>
301
+ <tbody>
302
+ <tr><td><span class="m">absent</span></td>
303
+ <td>no governing fact for this task</td>
304
+ <td>solve from the repository, or say it is unknown</td>
305
+ <td>invents a convention and applies it</td></tr>
306
+ <tr><td><span class="m">superseded</span></td>
307
+ <td>the old fact and the newer one, both dated</td>
308
+ <td>apply the current fact</td>
309
+ <td>ships the stale convention</td></tr>
310
+ <tr><td><span class="m">contradictory</span></td>
311
+ <td>two undated memos that disagree, neither marked</td>
312
+ <td>surface the conflict rather than choose</td>
313
+ <td>chooses silently</td></tr>
314
+ <tr><td><span class="m">adjacent</span></td>
315
+ <td>a confident, high-similarity memo governing a <em>different</em> subsystem</td>
316
+ <td>recognise that it does not apply here</td>
317
+ <td>applies the other subsystem's rule</td></tr>
318
+ <tr><td><span class="m">present</span></td>
319
+ <td>the governing fact, plainly, with nothing done to it</td>
320
+ <td>find it and apply it</td>
321
+ <td>none; this is the condition memory should win</td></tr>
322
+ </tbody>
323
+ </table>
324
+ </div>
325
+ <p class="prose mt-m dim">The fifth condition exists because the other four all vary how the
326
+ evidence is <em>bad</em>, which made never searching a dominant strategy: an arm that ignored
327
+ its memory entirely forfeited nothing. <code>present</code> is the identity transform, and it
328
+ is what a degenerate strategy loses. A plant is measurable only if every reading of it gives a
329
+ different observable outcome, which is why one task carries two damage conditions rather than
330
+ four: its <code>adjacent</code> damage would be byte-identical to the factless answer. Eleven
331
+ tasks carry all four.</p>
332
+ </section>
333
+
334
+ <section class="pad-y-s" id="gate">
335
+ <div class="section-head">
336
+ <span class="no">06</span>
337
+ <h2>The admission gate</h2>
338
+ <span class="aside">discard, never score</span>
339
+ </div>
340
+ <div class="prose mt-s">
341
+ <p>Silent failure is the standing hazard of agent benchmarks: an MCP server that never
342
+ attached, a hook that never fired, a sandbox missing its files. A session in that state
343
+ measures nothing, and scoring it poisons the average in whichever direction luck chooses.</p>
344
+ <p>So a grid cell is <strong>discarded, not scored</strong>, unless every arm proves its
345
+ treatment was applied:</p>
346
+ </div>
347
+ <div class="table-scroll mt-s">
348
+ <table>
349
+ <thead><tr><th>integration</th><th>required proof</th></tr></thead>
350
+ <tbody>
351
+ <tr><td><span class="m">MCP server</span></td><td>tools listed at session init, in the session's own record</td></tr>
352
+ <tr><td><span class="m">lifecycle hooks</span></td><td>hooks demonstrably fired, with output</td></tr>
353
+ <tr><td><span class="m">sandbox files</span></td><td>digest-verified against the frozen bundle</td></tr>
354
+ <tr><td><span class="m">isolation</span></td><td>no arm holding another arm's tools</td></tr>
355
+ </tbody>
356
+ </table>
357
+ </div>
358
+ <p class="prose mt-s dim">Discard counts are published per arm, so a product that only runs
359
+ cleanly half the time cannot hide it in a smaller denominator.</p>
360
+
361
+ <p class="prose mt-s dim">Two consequences the gate cannot state for itself. Only an arm
362
+ with a memory surface can fail to wire, so the rule protects one class of arm's worst outcome
363
+ and no other's, and every headline is published beside an intention-to-treat column over all
364
+ complete cells. And a startup failure is a transient, not an outcome: a preflight speaks the
365
+ protocol to the server before a session is paid for, and a session whose treatment failed to
366
+ wire is retried under a rule that reads the admission surface and never reads
367
+ <code>success</code>, the checker verdict, or anything the model did.</p>
368
+
369
+ </section>
370
+
371
+ <section class="pad-y-s" id="scoring">
372
+ <div class="section-head">
373
+ <span class="no">07</span>
374
+ <h2>Scoring and costs</h2>
375
+ <span class="aside">harness/costs.py</span>
376
+ </div>
377
+ <div class="prose mt-s">
378
+ <p>The primary endpoint is <strong>task success</strong>: the checker passes or it does
379
+ not. Analysis is paired per task, arms are contrasted against the
380
+ <code>claude_md</code> baseline, and deltas below the preregistered minimum effect are
381
+ reported as noise rather than dressed up as findings.</p>
382
+ <p>Costs are end-to-end. Ingestion tokens, session tokens, wall time and negative-transfer
383
+ counts land in one per-arm ledger beside the success rate, because a layer that buys two
384
+ points for triple the tokens is a different product than its headline suggests. No arm has
385
+ been run at a matched budget, so the ledger carries success per million tokens and reports
386
+ the asymmetry rather than smoothing it.</p>
387
+ <p>Two details that sound like bookkeeping and are not. <strong>Input is not one
388
+ price:</strong> fresh input, cache reads and cache creation are metered separately, because
389
+ one arm's input can be two-thirds cache reads while a baseline's is under half, and a single
390
+ rate then overstates spend unevenly between exactly the two arms being compared.
391
+ <strong>Prices are stated, never defaulted:</strong> a live run refuses to start without
392
+ them. Compare runs on tokens.</p>
393
+ <p>An arm that ingests with a model on the benchmark host reports zero hosted tokens and
394
+ names the model, so its zero is never read as zero cost.</p>
395
+ </div>
396
+ </section>
397
+
398
+ <section class="pad-y-s" id="diagnostic">
399
+ <div class="section-head">
400
+ <span class="no">08</span>
401
+ <h2>Diagnostic reference tracks</h2>
402
+ <span class="aside">unranked, by design</span>
403
+ </div>
404
+ <div class="prose mt-s">
405
+ <p>Task success says whether the memory path worked, not which part failed. A memory arm can
406
+ lose three ways: the agent never searched, it searched badly, or the store did not hold the
407
+ answer. <code>recall_prefetch</code> separates the first from the rest by running retrieval
408
+ in the harness with the exact task prompt and injecting what comes back. It <strong>is</strong>
409
+ in the official run, as an upper bound; it is never ranked against the products, because an
410
+ arm that cannot lose does not belong in a ranking.</p>
411
+ <p class="dim"><code>oracle_memory</code>, which injects the exact evidence and removes
412
+ retrieval altogether, is <strong>not</strong> in the run. Its bundles are keyed by task and
413
+ carry no corpus condition, so under <code>absent</code> it would supply an answer that
414
+ condition is defined not to contain. It returns when its bundles are condition-aware. The
415
+ contrasts below are the decomposition it belongs to, stated so its absence is a recorded
416
+ choice.</p>
417
+ </div>
418
+ <div class="mt-m">
419
+ <div class="contrast">
420
+ <span class="expr">oracle_memory − claude_md</span>
421
+ <p>Oracle headroom: how much this task set can reward correct evidence at all.</p>
422
+ </div>
423
+ <div class="contrast">
424
+ <span class="expr">recall − claude_md</span>
425
+ <p>Natural memory lift: the product as an agent actually experiences it.</p>
426
+ </div>
427
+ <div class="contrast">
428
+ <span class="expr">recall_prefetch − claude_md</span>
429
+ <p>Prefetch memory lift: retrieval quality with query formulation removed.</p>
430
+ </div>
431
+ <div class="contrast">
432
+ <span class="expr">oracle_memory − recall</span>
433
+ <p>Access gap: everything lost between perfect evidence and the live memory path.</p>
434
+ </div>
435
+ <div class="contrast">
436
+ <span class="expr">recall_prefetch − recall</span>
437
+ <p>Prefetch gap: how much is lost to the agent's own decision to search, and its query.</p>
438
+ </div>
439
+ </div>
440
+ <p class="prose mt-m dim">A gap is evidence about a causal path, not a claim that a product
441
+ is first or unique. Diagnostic arms never enter the product ranking.</p>
442
+ </section>
443
+
444
+ <section class="pad-y-s" id="why">
445
+ <div class="section-head">
446
+ <span class="no">09</span>
447
+ <h2>Why this is a test of memory</h2>
448
+ <span class="aside">and not of retrieval prose</span>
449
+ </div>
450
+ <div class="prose mt-s">
451
+ <p>Most memory benchmarks ask a model questions about synthetic conversations and score
452
+ the answers with another model: a needle someone planted, found under a judge whose failure
453
+ modes correlate with the thing being judged. Five properties here are chosen against
454
+ that.</p>
455
+ <p><strong>The grade is execution.</strong> A checker runs the artifact against oracle
456
+ inputs the sandbox never contained. No partial credit, no rubric, no judge in the primary
457
+ endpoint, so a fluent wrong answer scores what a silent one does: zero.</p>
458
+ <p><strong>The corpus is raw.</strong> Verbatim recorded sessions, dead ends and noise
459
+ included. Distilling signal from that stream is what a memory product claims to do, so the
460
+ benchmark refuses to do it for anyone. The only asymmetry available is what a product
461
+ keeps.</p>
462
+ <p><strong>Harm is measured.</strong> A suite where every governing fact sits in the corpus
463
+ can only ask whether memory helps, and a layer that helps 20% of cells while harming 15%
464
+ publishes the same headline as one that helps 20% and harms 2%. The corpus conditions ask
465
+ whether the product notices stale, contradictory and off-subsystem evidence.</p>
466
+ <p><strong>The comparison is paired.</strong> Every arm meets the same task, seed and
467
+ fixture, so a cell is a within-subject comparison rather than a difference of averages
468
+ across arms that met different work. Arm order is randomised per cell and recorded.</p>
469
+ <p><strong>Treatment is proved.</strong> A stdio server that fails to start is invisible in
470
+ a transcript: no memory tool calls, which looks exactly like a model that chose not to
471
+ search. The gate discards any cell where an arm cannot prove its treatment applied.</p>
472
+ <p>The result is a benchmark that can return a null and survive it. If memory layers do not
473
+ beat a good static instruction file on real coding work, that is the finding, and it is
474
+ published as readily as the opposite.</p>
475
+ </div>
476
+ </section>
477
+
478
+ <section class="pad-y-s" id="prereg">
479
+ <div class="section-head">
480
+ <span class="no">10</span>
481
+ <h2>Preregistration</h2>
482
+ <span class="aside">preregistration/</span>
483
+ </div>
484
+ <div class="prose mt-s">
485
+ <p>Every measured run is preregistered: the question, the predictions, the endpoints, the
486
+ contrast families, the exclusion rules and the sizing are committed <strong>before the
487
+ first session starts</strong>. The run scripts enforce the mechanical half: they refuse to
488
+ start while the preregistration directory is dirty.</p>
489
+ </div>
490
+ <div class="callout mt-m">
491
+ <span class="kicker">The honest half, by convention</span>
492
+ <div class="prose">
493
+ <p><strong>Never edit a number in a committed preregistration.</strong> Not a
494
+ prediction, not a measured value, not a date. Append a correction underneath.</p>
495
+ <p><strong>Results are appended below the frozen prediction</strong>, under a marked
496
+ line, in the same file, so prediction and outcome are read together.</p>
497
+ <p><strong>Falsified predictions stay.</strong> The gap between expected and measured is
498
+ the only part of a result that teaches anything.</p>
499
+ </div>
500
+ </div>
501
+ </section>
502
+
503
+ </main>
504
+
505
+ <footer>
506
+ <div class="footer-inner">
507
+ <div>
508
+ <div class="foot-title">agent-memory-bench</div>
509
+ <div class="dim">A preregistered, execution-graded benchmark of pluggable memory layers
510
+ for coding agents. Apache-2.0. Built in the open; results published win or lose.</div>
511
+ </div>
512
+ <div>
513
+ <div class="foot-title">Pages</div>
514
+ <a href="method.html">Method</a><br>
515
+ <a href="leaderboard.html">Leaderboard</a><br>
516
+ <a href="submit.html">Submit &amp; reproduce</a>
517
+ </div>
518
+ <div>
519
+ <div class="foot-title">Source</div>
520
+ <a href="https://github.com/GiulioDER/agent-memory-bench">Repository</a><br>
521
+ <a href="https://github.com/GiulioDER/agent-memory-bench/tree/master/preregistration">Preregistrations</a><br>
522
+ <a href="https://github.com/GiulioDER/agent-memory-bench/blob/master/adapters/VENDOR_REVIEW_TEMPLATE.md">Vendor review</a>
523
+ </div>
524
+ </div>
525
+ </footer>
526
+
527
+ <script src="site.js"></script>
528
+ </body>
529
+ </html>
site.js ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Theme switch. The pre-paint snippet in each page's head has already stamped
2
+ data-theme on <html>; this wires the masthead button and persists the choice. */
3
+
4
+ (function () {
5
+ var btn = document.querySelector(".theme-toggle");
6
+ if (!btn) return;
7
+
8
+ function current() {
9
+ return document.documentElement.getAttribute("data-theme") === "dark" ? "dark" : "light";
10
+ }
11
+ function apply(theme) {
12
+ document.documentElement.setAttribute("data-theme", theme);
13
+ btn.setAttribute("aria-pressed", theme === "dark" ? "true" : "false");
14
+ try { localStorage.setItem("amb-theme", theme); } catch (e) { /* private mode etc. */ }
15
+ }
16
+
17
+ btn.setAttribute("aria-pressed", current() === "dark" ? "true" : "false");
18
+ btn.addEventListener("click", function () {
19
+ apply(current() === "dark" ? "light" : "dark");
20
+ });
21
+ })();
22
+
23
+ /* Renders the leaderboard tables from window.AMB_LEADERBOARD (data/leaderboard.js).
24
+ No frameworks, no fetch, no innerHTML: the data ships as a script so file:// works,
25
+ and every node is built with DOM methods. */
26
+
27
+ (function () {
28
+ var D = window.AMB_LEADERBOARD;
29
+ var board = document.getElementById("board-body");
30
+ if (!D || !board) return;
31
+
32
+ var official = !!D.run;
33
+
34
+ function pct(x) { return x == null ? null : (100 * x).toFixed(1) + "%"; }
35
+ function pts(x) {
36
+ if (x == null) return null;
37
+ return (x > 0 ? "+" : "") + (100 * x).toFixed(1) + " pts";
38
+ }
39
+ function ciTxt(c) {
40
+ return c ? "[" + (100 * c[0]).toFixed(1) + ", " + (100 * c[1]).toFixed(1) + "]" : null;
41
+ }
42
+
43
+ function span(cls, text, bold) {
44
+ var s = document.createElement(bold ? "strong" : "span");
45
+ if (cls) s.className = cls;
46
+ s.textContent = text;
47
+ return s;
48
+ }
49
+
50
+ function cell(cls) {
51
+ var td = document.createElement("td");
52
+ if (cls) td.className = cls;
53
+ for (var i = 1; i < arguments.length; i++) {
54
+ if (arguments[i]) td.appendChild(arguments[i]);
55
+ }
56
+ if (!td.firstChild) td.appendChild(span("m-dim", "pending"));
57
+ return td;
58
+ }
59
+
60
+ /* Rank only when official: by success desc; list order otherwise. */
61
+ var arms = D.arms.slice();
62
+ if (official) {
63
+ arms.sort(function (a, b) { return (b.success || 0) - (a.success || 0); });
64
+ }
65
+
66
+ arms.forEach(function (a, i) {
67
+ var tr = document.createElement("tr");
68
+
69
+ /* A held arm is NOT ranked. Its numbers exist and are withheld while its vendor's review
70
+ window is open, so it must not carry a rank that implies it placed there. */
71
+ tr.appendChild(cell("num",
72
+ (official && !a.held) ? span("m", String(i + 1)) : span("m-dim", "·")));
73
+
74
+ var nameTd = cell(null, span("m", "", false));
75
+ nameTd.firstChild.appendChild(span(null, a.name, true));
76
+ if (a.role) nameTd.appendChild(span("m-dim", " · " + a.role));
77
+ /* Say WHY the row is blank. A blank row with no reason reads as "measured nothing", which is
78
+ the opposite of what a hold means. */
79
+ if (a.held) {
80
+ nameTd.appendChild(span("m-dim", " · " + a.held +
81
+ (a.heldUntil ? " until " + a.heldUntil : "")));
82
+ /* The thread is the evidence for the promise, so a reader can check it against the
83
+ vendor's own repository rather than taking this page's word for it. */
84
+ if (a.heldIssue) {
85
+ var hi = document.createElement("a");
86
+ hi.href = a.heldIssue;
87
+ hi.rel = "noopener";
88
+ hi.className = "m-dim";
89
+ hi.appendChild(document.createTextNode(" · thread"));
90
+ nameTd.appendChild(hi);
91
+ }
92
+ }
93
+ tr.appendChild(nameTd);
94
+
95
+ tr.appendChild(cell(null, span("dim", a.type)));
96
+ tr.appendChild(cell("num", pct(a.success) && span("m", pct(a.success))));
97
+ tr.appendChild(cell("num",
98
+ a.delta === 0 ? span("m-dim", "baseline") : (pts(a.delta) && span("m", pts(a.delta)))));
99
+ tr.appendChild(cell("num", ciTxt(a.ci) && span("m", ciTxt(a.ci))));
100
+ tr.appendChild(cell("num", a.discarded == null ? null : span("m", String(a.discarded))));
101
+ tr.appendChild(cell("num",
102
+ a.costPerTask == null ? null : span("m", "$" + a.costPerTask.toFixed(2))));
103
+
104
+ board.appendChild(tr);
105
+ });
106
+
107
+ var ref = document.getElementById("reference-body");
108
+ if (ref) {
109
+ D.reference.forEach(function (r) {
110
+ var tr = document.createElement("tr");
111
+ var nameTd = cell(null, span("m", ""));
112
+ nameTd.firstChild.appendChild(span(null, r.name, true));
113
+ tr.appendChild(nameTd);
114
+ tr.appendChild(cell(null, span("dim", r.what)));
115
+ tr.appendChild(cell("num", pct(r.success) && span("m", pct(r.success))));
116
+ tr.appendChild(cell("num", pts(r.delta) && span("m", pts(r.delta))));
117
+ ref.appendChild(tr);
118
+ });
119
+ }
120
+
121
+ /* What the ranking is a ranking OF. The generator decides the wording; the page only
122
+ places it, so a launch cannot quietly drop the qualification from the copy. */
123
+ var scopeBox = document.getElementById("scope-note");
124
+ if (scopeBox && D.scope) {
125
+ var h = document.createElement("strong");
126
+ h.textContent = D.scope.title;
127
+ scopeBox.appendChild(h);
128
+ var p = document.createElement("p");
129
+ p.textContent = D.scope.qualification;
130
+ scopeBox.appendChild(p);
131
+ }
132
+
133
+ /* Run banner */
134
+ var meta = document.getElementById("run-meta");
135
+ if (meta) {
136
+ function item(text, live) {
137
+ var s = document.createElement("span");
138
+ if (live) s.className = "live";
139
+ s.textContent = text;
140
+ return s;
141
+ }
142
+ if (official) {
143
+ meta.appendChild(item("run " + D.run.id + " · " + D.run.date, true));
144
+ meta.appendChild(item("model " + D.run.model));
145
+ meta.appendChild(item("CLI " + D.run.cli));
146
+ meta.appendChild(item(D.run.tasks + " tasks"));
147
+ var link = document.createElement("span");
148
+ var a = document.createElement("a");
149
+ a.href = "https://github.com/GiulioDER/agent-memory-bench/tree/master/" + D.run.prereg;
150
+ a.textContent = "preregistration";
151
+ link.appendChild(a);
152
+ meta.appendChild(link);
153
+ } else {
154
+ meta.appendChild(item("no official run yet", true));
155
+ meta.appendChild(item("Phase 0 · harness bring-up and internal pilots"));
156
+ meta.appendChild(item("the first preregistered run is announced before it happens"));
157
+ meta.appendChild(item("page data updated " + D.updated));
158
+ }
159
+ }
160
+ })();
styles.css ADDED
@@ -0,0 +1,661 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* agent-memory-bench — site styles
2
+ One aesthetic: ink on paper. Serif prose (Newsreader), mono data (Spline Sans Mono).
3
+ No color. Information is the decoration. */
4
+
5
+ :root {
6
+ --paper: #fbfbf9;
7
+ --ink: #131311;
8
+ --ink-soft: #4a4a46;
9
+ --ink-faint: #8b8b85;
10
+ --rule: #dcdcd6;
11
+ --rule-dark: #131311;
12
+ --code-bg: #f0f0ec;
13
+ --serif: "Newsreader", "Georgia", serif;
14
+ --mono: "Spline Sans Mono", "Courier New", monospace;
15
+ --max: 1120px;
16
+ --pad: clamp(20px, 4vw, 48px);
17
+ color-scheme: light;
18
+ }
19
+
20
+ /* Dark mode: the same page, inverted. Paper becomes ink, ink becomes paper,
21
+ and the blocks that were already inverted (pre, footer, dark callouts)
22
+ invert back to light, keeping the two-tone language intact. */
23
+ :root[data-theme="dark"] {
24
+ --paper: #131311;
25
+ --ink: #f4f4f0;
26
+ --ink-soft: #b3b3ab;
27
+ --ink-faint: #7a7a72;
28
+ --rule: #32322e;
29
+ --rule-dark: #f4f4f0;
30
+ --code-bg: #232320;
31
+ color-scheme: dark;
32
+ }
33
+
34
+ * { margin: 0; padding: 0; box-sizing: border-box; }
35
+
36
+ html { scroll-behavior: smooth; }
37
+
38
+ body {
39
+ background: var(--paper);
40
+ color: var(--ink);
41
+ transition: background 200ms ease, color 200ms ease;
42
+ font-family: var(--serif);
43
+ font-optical-sizing: auto;
44
+ font-size: 17px;
45
+ line-height: 1.55;
46
+ -webkit-font-smoothing: antialiased;
47
+ text-rendering: optimizeLegibility;
48
+ }
49
+
50
+ ::selection { background: var(--ink); color: var(--paper); }
51
+
52
+ a { color: inherit; }
53
+
54
+ /* ---------- masthead ---------- */
55
+
56
+ .masthead {
57
+ position: sticky;
58
+ top: 0;
59
+ z-index: 10;
60
+ background: var(--paper);
61
+ border-bottom: 1px solid var(--rule-dark);
62
+ }
63
+
64
+ .masthead-inner {
65
+ max-width: var(--max);
66
+ margin: 0 auto;
67
+ padding: 0 var(--pad);
68
+ display: flex;
69
+ align-items: stretch;
70
+ justify-content: space-between;
71
+ gap: 16px;
72
+ height: 56px;
73
+ }
74
+
75
+ .wordmark {
76
+ display: flex;
77
+ align-items: center;
78
+ gap: 10px;
79
+ text-decoration: none;
80
+ font-family: var(--mono);
81
+ font-size: 13px;
82
+ letter-spacing: 0.02em;
83
+ }
84
+
85
+ .wordmark .tick {
86
+ display: inline-block;
87
+ width: 9px;
88
+ height: 9px;
89
+ background: var(--ink);
90
+ }
91
+
92
+ .wordmark strong { font-weight: 600; }
93
+ .wordmark .short { display: none; }
94
+
95
+ .masthead nav {
96
+ display: flex;
97
+ align-items: stretch;
98
+ }
99
+
100
+ .masthead nav a {
101
+ display: flex;
102
+ align-items: center;
103
+ padding: 0 clamp(8px, 1.6vw, 18px);
104
+ font-family: var(--mono);
105
+ font-size: 12px;
106
+ letter-spacing: 0.04em;
107
+ text-transform: uppercase;
108
+ text-decoration: none;
109
+ color: var(--ink-soft);
110
+ border-left: 1px solid var(--rule);
111
+ transition: background 120ms ease, color 120ms ease;
112
+ }
113
+
114
+ .masthead nav a:last-child { border-right: 1px solid var(--rule); }
115
+
116
+ .masthead nav a:hover { background: var(--ink); color: var(--paper); }
117
+
118
+ .masthead nav a[aria-current="page"] {
119
+ color: var(--ink);
120
+ font-weight: 600;
121
+ box-shadow: inset 0 -3px 0 var(--ink);
122
+ }
123
+
124
+ .theme-toggle {
125
+ display: flex;
126
+ align-items: center;
127
+ padding: 0 clamp(10px, 1.6vw, 18px);
128
+ background: none;
129
+ border: 0;
130
+ border-left: 1px solid var(--rule);
131
+ border-right: 1px solid var(--rule);
132
+ cursor: pointer;
133
+ color: var(--ink-soft);
134
+ transition: background 120ms ease, color 120ms ease;
135
+ }
136
+
137
+ .theme-toggle:hover { background: var(--ink); color: var(--paper); }
138
+
139
+ .theme-toggle .sw {
140
+ display: block;
141
+ width: 10px;
142
+ height: 10px;
143
+ border: 1px solid currentColor;
144
+ background: currentColor;
145
+ transition: background 120ms ease;
146
+ }
147
+
148
+ :root[data-theme="dark"] .theme-toggle .sw { background: transparent; }
149
+
150
+ /* ---------- shared layout ---------- */
151
+
152
+ .sheet {
153
+ max-width: var(--max);
154
+ margin: 0 auto;
155
+ padding: 0 var(--pad);
156
+ }
157
+
158
+ .rule { border: 0; border-top: 1px solid var(--rule); }
159
+ .rule-dark { border: 0; border-top: 1px solid var(--rule-dark); }
160
+
161
+ .kicker {
162
+ font-family: var(--mono);
163
+ font-size: 12px;
164
+ letter-spacing: 0.14em;
165
+ text-transform: uppercase;
166
+ color: var(--ink-soft);
167
+ }
168
+
169
+ .section-head {
170
+ display: flex;
171
+ align-items: baseline;
172
+ gap: 18px;
173
+ padding: 14px 0 12px;
174
+ border-top: 1px solid var(--rule-dark);
175
+ }
176
+
177
+ .section-head .no {
178
+ font-family: var(--mono);
179
+ font-size: 12px;
180
+ color: var(--ink-faint);
181
+ }
182
+
183
+ .section-head h2 {
184
+ font-size: clamp(22px, 2.6vw, 30px);
185
+ font-weight: 500;
186
+ letter-spacing: -0.01em;
187
+ }
188
+
189
+ .section-head .aside {
190
+ margin-left: auto;
191
+ font-family: var(--mono);
192
+ font-size: 12px;
193
+ color: var(--ink-faint);
194
+ text-align: right;
195
+ }
196
+
197
+ /* ---------- hero ---------- */
198
+
199
+ .hero { padding: clamp(48px, 8vh, 104px) 0 clamp(36px, 6vh, 72px); }
200
+
201
+ .hero .kicker { display: block; margin-bottom: 22px; }
202
+
203
+ .hero h1 {
204
+ font-size: clamp(42px, 7.2vw, 96px);
205
+ line-height: 1.02;
206
+ font-weight: 400;
207
+ letter-spacing: -0.022em;
208
+ max-width: 15ch;
209
+ }
210
+
211
+ .hero h1 em {
212
+ font-style: italic;
213
+ font-weight: 400;
214
+ }
215
+
216
+ .hero .dek {
217
+ margin-top: 28px;
218
+ max-width: 62ch;
219
+ font-size: clamp(17px, 1.6vw, 20px);
220
+ color: var(--ink-soft);
221
+ }
222
+
223
+ .hero .dek strong { color: var(--ink); font-weight: 600; }
224
+
225
+ .hero-cta {
226
+ margin-top: 36px;
227
+ display: flex;
228
+ flex-wrap: wrap;
229
+ gap: 12px;
230
+ }
231
+
232
+ .btn {
233
+ display: inline-flex;
234
+ align-items: center;
235
+ gap: 10px;
236
+ padding: 11px 20px;
237
+ font-family: var(--mono);
238
+ font-size: 13px;
239
+ letter-spacing: 0.03em;
240
+ text-transform: uppercase;
241
+ text-decoration: none;
242
+ border: 1px solid var(--ink);
243
+ transition: background 120ms ease, color 120ms ease;
244
+ }
245
+
246
+ .btn-solid { background: var(--ink); color: var(--paper); }
247
+ .btn-solid:hover { background: var(--paper); color: var(--ink); }
248
+ .btn-ghost:hover { background: var(--ink); color: var(--paper); }
249
+
250
+ /* ---------- stat band ---------- */
251
+
252
+ .stat-band {
253
+ border-top: 1px solid var(--rule-dark);
254
+ border-bottom: 1px solid var(--rule-dark);
255
+ }
256
+
257
+ .stat-grid {
258
+ display: grid;
259
+ grid-template-columns: repeat(4, 1fr);
260
+ }
261
+
262
+ .stat-grid > div {
263
+ padding: 18px 20px 20px;
264
+ border-left: 1px solid var(--rule);
265
+ }
266
+
267
+ .stat-grid > div:first-child { border-left: 0; padding-left: 0; }
268
+
269
+ .stat-grid .n {
270
+ font-family: var(--mono);
271
+ font-size: clamp(26px, 3vw, 38px);
272
+ font-weight: 500;
273
+ line-height: 1.1;
274
+ }
275
+
276
+ .stat-grid .l {
277
+ margin-top: 6px;
278
+ font-family: var(--mono);
279
+ font-size: 11.5px;
280
+ letter-spacing: 0.06em;
281
+ text-transform: uppercase;
282
+ color: var(--ink-soft);
283
+ }
284
+
285
+ /* ---------- prose ---------- */
286
+
287
+ .prose { max-width: 68ch; }
288
+ .prose p { margin: 0 0 1.1em; }
289
+ .prose p:last-child { margin-bottom: 0; }
290
+ .prose strong { font-weight: 600; }
291
+ .prose em { font-style: italic; }
292
+
293
+ .prose a {
294
+ text-decoration: underline;
295
+ text-decoration-thickness: 1px;
296
+ text-underline-offset: 3px;
297
+ text-decoration-color: var(--ink-faint);
298
+ transition: text-decoration-color 120ms ease;
299
+ }
300
+ .prose a:hover { text-decoration-color: var(--ink); }
301
+
302
+ code, .m {
303
+ font-family: var(--mono);
304
+ font-size: 0.86em;
305
+ }
306
+
307
+ .prose code {
308
+ background: var(--code-bg);
309
+ padding: 1px 5px;
310
+ border: 1px solid var(--rule);
311
+ }
312
+
313
+ pre {
314
+ font-family: var(--mono);
315
+ font-size: 13px;
316
+ line-height: 1.6;
317
+ background: var(--ink);
318
+ color: var(--paper);
319
+ padding: 18px 22px;
320
+ overflow-x: auto;
321
+ margin: 18px 0;
322
+ }
323
+
324
+ pre .c { color: #9a9a92; }
325
+
326
+ /* ---------- decision list (index) ---------- */
327
+
328
+ .decisions { counter-reset: dec; }
329
+
330
+ .decision {
331
+ display: grid;
332
+ grid-template-columns: 72px 1fr;
333
+ gap: 20px;
334
+ padding: 26px 0;
335
+ border-top: 1px solid var(--rule);
336
+ }
337
+
338
+ .decision:first-of-type { border-top: 0; }
339
+
340
+ .decision .idx {
341
+ font-family: var(--mono);
342
+ font-size: 13px;
343
+ color: var(--ink-faint);
344
+ padding-top: 5px;
345
+ }
346
+
347
+ .decision h3 {
348
+ font-size: 21px;
349
+ font-weight: 600;
350
+ letter-spacing: -0.01em;
351
+ margin-bottom: 8px;
352
+ }
353
+
354
+ .decision p {
355
+ color: var(--ink-soft);
356
+ max-width: 66ch;
357
+ }
358
+
359
+ /* ---------- arms strip ---------- */
360
+
361
+ .arm-strip {
362
+ display: grid;
363
+ grid-template-columns: repeat(4, 1fr);
364
+ border-left: 1px solid var(--rule);
365
+ border-top: 1px solid var(--rule);
366
+ }
367
+
368
+ .arm-cell {
369
+ border-right: 1px solid var(--rule);
370
+ border-bottom: 1px solid var(--rule);
371
+ padding: 16px 18px 18px;
372
+ transition: background 120ms ease, color 120ms ease;
373
+ }
374
+
375
+ .arm-cell:hover { background: var(--ink); color: var(--paper); }
376
+ .arm-cell:hover .arm-type { color: var(--paper); opacity: 0.7; }
377
+
378
+ .arm-cell .arm-name {
379
+ font-family: var(--mono);
380
+ font-size: 15px;
381
+ font-weight: 600;
382
+ }
383
+
384
+ .arm-cell .arm-type {
385
+ margin-top: 6px;
386
+ font-family: var(--mono);
387
+ font-size: 11.5px;
388
+ letter-spacing: 0.04em;
389
+ color: var(--ink-faint);
390
+ }
391
+
392
+ .arm-cell .badge {
393
+ display: inline-block;
394
+ margin-top: 10px;
395
+ font-family: var(--mono);
396
+ font-size: 10.5px;
397
+ letter-spacing: 0.08em;
398
+ text-transform: uppercase;
399
+ border: 1px solid currentColor;
400
+ padding: 2px 7px;
401
+ }
402
+
403
+ /* ---------- pipeline diagram ---------- */
404
+
405
+ .pipeline { padding: 8px 0 4px; }
406
+ .pipeline svg { width: 100%; height: auto; display: block; }
407
+
408
+ /* ---------- tables ---------- */
409
+
410
+ table {
411
+ width: 100%;
412
+ border-collapse: collapse;
413
+ font-size: 15px;
414
+ }
415
+
416
+ thead th {
417
+ font-family: var(--mono);
418
+ font-size: 11px;
419
+ letter-spacing: 0.09em;
420
+ text-transform: uppercase;
421
+ font-weight: 500;
422
+ color: var(--ink-soft);
423
+ text-align: left;
424
+ padding: 10px 14px;
425
+ border-bottom: 1px solid var(--rule-dark);
426
+ white-space: nowrap;
427
+ }
428
+
429
+ tbody td {
430
+ padding: 12px 14px;
431
+ border-bottom: 1px solid var(--rule);
432
+ vertical-align: top;
433
+ }
434
+
435
+ tbody tr { transition: background 100ms ease, color 100ms ease; }
436
+ tbody tr:hover { background: var(--ink); color: var(--paper); }
437
+ tbody tr:hover .dim, tbody tr:hover .m-dim { color: var(--paper); opacity: 0.65; }
438
+
439
+ td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
440
+ td .m, th .m { font-size: 13px; }
441
+
442
+ .dim { color: var(--ink-soft); }
443
+ .m-dim { font-family: var(--mono); font-size: 12.5px; color: var(--ink-faint); }
444
+
445
+ .table-scroll { overflow-x: auto; }
446
+
447
+ /* ---------- callout ---------- */
448
+
449
+ .callout {
450
+ border: 1px solid var(--ink);
451
+ padding: 20px 24px;
452
+ max-width: 74ch;
453
+ }
454
+
455
+ .callout .kicker { display: block; margin-bottom: 10px; }
456
+
457
+ .callout-invert {
458
+ background: var(--ink);
459
+ color: var(--paper);
460
+ }
461
+
462
+ .callout-invert .kicker { color: var(--paper); opacity: 0.7; }
463
+ .callout-invert code { background: transparent; border-color: #4a4a46; color: var(--paper); }
464
+
465
+ /* ---------- contrast ledger (method) ---------- */
466
+
467
+ .contrast {
468
+ display: grid;
469
+ grid-template-columns: minmax(180px, 260px) 1fr;
470
+ gap: 18px;
471
+ padding: 14px 0;
472
+ border-top: 1px solid var(--rule);
473
+ align-items: baseline;
474
+ }
475
+
476
+ .contrast:first-of-type { border-top: 0; }
477
+
478
+ .contrast .expr {
479
+ font-family: var(--mono);
480
+ font-size: 13px;
481
+ font-weight: 500;
482
+ }
483
+
484
+ .contrast p { color: var(--ink-soft); font-size: 15.5px; }
485
+
486
+ /* ---------- rule list (submit) ---------- */
487
+
488
+ .rulebook { counter-reset: rulen; list-style: none; }
489
+
490
+ .rulebook > li {
491
+ counter-increment: rulen;
492
+ display: grid;
493
+ grid-template-columns: 56px 1fr;
494
+ gap: 18px;
495
+ padding: 20px 0;
496
+ border-top: 1px solid var(--rule);
497
+ }
498
+
499
+ .rulebook > li:first-child { border-top: 0; }
500
+
501
+ .rulebook > li::before {
502
+ content: "R" counter(rulen, decimal-leading-zero);
503
+ font-family: var(--mono);
504
+ font-size: 13px;
505
+ color: var(--ink-faint);
506
+ padding-top: 3px;
507
+ }
508
+
509
+ .rulebook h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
510
+ .rulebook p { color: var(--ink-soft); max-width: 68ch; }
511
+ .rulebook p + p { margin-top: 8px; }
512
+
513
+ /* ---------- spacing helpers ---------- */
514
+
515
+ .pad-y { padding: clamp(36px, 6vh, 72px) 0; }
516
+ .pad-y-s { padding: clamp(22px, 4vh, 40px) 0; }
517
+ .mt-s { margin-top: 16px; }
518
+ .mt-m { margin-top: 28px; }
519
+ .mt-l { margin-top: 44px; }
520
+
521
+ /* ---------- page head (inner pages) ---------- */
522
+
523
+ .page-head { padding: clamp(40px, 7vh, 80px) 0 clamp(26px, 4vh, 44px); }
524
+
525
+ .page-head h1 {
526
+ font-size: clamp(36px, 5.4vw, 64px);
527
+ font-weight: 400;
528
+ letter-spacing: -0.02em;
529
+ line-height: 1.05;
530
+ }
531
+
532
+ .page-head h1 em { font-style: italic; }
533
+
534
+ .page-head .dek {
535
+ margin-top: 18px;
536
+ max-width: 64ch;
537
+ font-size: 18px;
538
+ color: var(--ink-soft);
539
+ }
540
+
541
+ /* ---------- status line ---------- */
542
+
543
+ .status-line {
544
+ display: flex;
545
+ flex-wrap: wrap;
546
+ gap: 8px 26px;
547
+ font-family: var(--mono);
548
+ font-size: 12px;
549
+ color: var(--ink-soft);
550
+ padding: 10px 0;
551
+ border-top: 1px solid var(--rule-dark);
552
+ border-bottom: 1px solid var(--rule);
553
+ }
554
+
555
+ .status-line .live::before {
556
+ content: "";
557
+ display: inline-block;
558
+ width: 8px;
559
+ height: 8px;
560
+ background: var(--ink);
561
+ margin-right: 8px;
562
+ animation: blink 2.4s step-end infinite;
563
+ }
564
+
565
+ @keyframes blink { 50% { opacity: 0.15; } }
566
+
567
+ /* What the ranking is a ranking OF. Filled by site.js from the generated data; it sits above
568
+ the table on purpose, because a qualification a reader has to scroll for is a footnote. */
569
+ .scope-note:empty { display: none; }
570
+
571
+ .scope-note {
572
+ display: block;
573
+ margin-top: 18px;
574
+ padding: 14px 16px;
575
+ border-left: 3px solid var(--ink);
576
+ background: var(--paper-soft, transparent);
577
+ font-size: 14px;
578
+ }
579
+
580
+ .scope-note strong {
581
+ font-family: var(--mono);
582
+ font-size: 12px;
583
+ letter-spacing: 0.04em;
584
+ text-transform: uppercase;
585
+ }
586
+
587
+ .scope-note p {
588
+ margin: 6px 0 0;
589
+ color: var(--ink-soft);
590
+ }
591
+
592
+ /* ---------- footer ---------- */
593
+
594
+ footer {
595
+ margin-top: clamp(48px, 9vh, 110px);
596
+ border-top: 1px solid var(--rule-dark);
597
+ background: var(--ink);
598
+ color: var(--paper);
599
+ }
600
+
601
+ .footer-inner {
602
+ max-width: var(--max);
603
+ margin: 0 auto;
604
+ padding: 34px var(--pad) 40px;
605
+ display: grid;
606
+ grid-template-columns: 2fr 1fr 1fr;
607
+ gap: 32px;
608
+ font-family: var(--mono);
609
+ font-size: 12.5px;
610
+ line-height: 1.9;
611
+ }
612
+
613
+ footer a { color: var(--paper); text-decoration: none; border-bottom: 1px solid #4a4a46; }
614
+ footer a:hover { border-bottom-color: var(--paper); }
615
+
616
+ footer .foot-title {
617
+ font-size: 13px;
618
+ font-weight: 600;
619
+ letter-spacing: 0.04em;
620
+ margin-bottom: 8px;
621
+ }
622
+
623
+ footer .dim { color: #9a9a92; }
624
+
625
+ /* ---------- reveal on load ---------- */
626
+
627
+ @media (prefers-reduced-motion: no-preference) {
628
+ .reveal {
629
+ opacity: 0;
630
+ transform: translateY(10px);
631
+ animation: reveal 640ms cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
632
+ }
633
+ .reveal:nth-child(2), .r2 { animation-delay: 90ms; }
634
+ .r3 { animation-delay: 180ms; }
635
+ .r4 { animation-delay: 270ms; }
636
+ @keyframes reveal { to { opacity: 1; transform: none; } }
637
+ }
638
+
639
+ /* ---------- responsive ---------- */
640
+
641
+ @media (max-width: 860px) {
642
+ .stat-grid { grid-template-columns: repeat(2, 1fr); }
643
+ .stat-grid > div { border-left: 0; padding-left: 0; }
644
+ .stat-grid > div:nth-child(even) { border-left: 1px solid var(--rule); padding-left: 20px; }
645
+ .stat-grid > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
646
+ .arm-strip { grid-template-columns: repeat(2, 1fr); }
647
+ .footer-inner { grid-template-columns: 1fr; gap: 22px; }
648
+ .masthead nav a { padding: 0 10px; }
649
+ }
650
+
651
+ @media (max-width: 700px) {
652
+ .wordmark .long, .wordmark .full { display: none; }
653
+ .wordmark .short { display: inline; }
654
+ .masthead-inner { gap: 8px; height: 48px; }
655
+ .masthead nav { overflow-x: auto; }
656
+ }
657
+
658
+ @media (max-width: 560px) {
659
+ .decision, .rulebook > li { grid-template-columns: 1fr; gap: 6px; }
660
+ .contrast { grid-template-columns: 1fr; gap: 6px; }
661
+ }
submit.html ADDED
@@ -0,0 +1,241 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <script>try{var t=localStorage.getItem("amb-theme")||(matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light");document.documentElement.setAttribute("data-theme",t)}catch(e){}</script>
7
+ <title>Submit &amp; reproduce — agent-memory-bench</title>
8
+ <meta name="description" content="How to enter a memory product into agent-memory-bench, the rules every arm plays by, and how to re-run and verify the benchmark yourself.">
9
+ <link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect width='16' height='16' fill='%23131311'/%3E%3Crect x='3' y='3' width='4' height='4' fill='%23fbfbf9'/%3E%3C/svg%3E">
10
+ <link rel="preconnect" href="https://fonts.googleapis.com">
11
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
12
+ <link href="https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400..700;1,6..72,400..700&family=Spline+Sans+Mono:wght@400..700&display=swap" rel="stylesheet">
13
+ <link rel="stylesheet" href="styles.css">
14
+ </head>
15
+ <body>
16
+
17
+ <header class="masthead">
18
+ <div class="masthead-inner">
19
+ <a class="wordmark" href="index.html" aria-label="agent-memory-bench home">
20
+ <span class="tick" aria-hidden="true"></span>
21
+ <span><strong class="long">agent-memory-bench</strong><strong class="short">AMB</strong><span class="full"> / AMB</span></span>
22
+ </a>
23
+ <nav aria-label="Primary">
24
+ <a href="index.html">Overview</a>
25
+ <a href="method.html">Method</a>
26
+ <a href="leaderboard.html">Leaderboard</a>
27
+ <a href="submit.html" aria-current="page">Submit</a>
28
+ <a href="https://github.com/GiulioDER/agent-memory-bench">GitHub&nbsp;&#8599;</a>
29
+ <button class="theme-toggle" type="button" aria-label="Switch between light and dark"><span class="sw" aria-hidden="true"></span></button>
30
+ </nav>
31
+ </div>
32
+ </header>
33
+
34
+ <main class="sheet">
35
+
36
+ <section class="page-head">
37
+ <span class="kicker reveal">Submit &amp; reproduce</span>
38
+ <h1 class="reveal r2">Same feed. Same gate.<br><em>Your</em> write path.</h1>
39
+ <p class="dek reveal r3">Any memory product with a published Claude Code integration can
40
+ enter. The eight rules below are the ones every existing arm plays by, and the harness
41
+ enforces most of them mechanically.</p>
42
+ </section>
43
+
44
+ <section class="pad-y-s" id="rules">
45
+ <div class="section-head">
46
+ <span class="no">01</span>
47
+ <h2>The rules</h2>
48
+ <span class="aside">enforced by the harness where possible</span>
49
+ </div>
50
+
51
+ <ol class="rulebook mt-s">
52
+ <li>
53
+ <div>
54
+ <h3>Enter through your published integration</h3>
55
+ <p>A product competes as its own shipped Claude Code integration: a plugin, an MCP
56
+ server, or lifecycle hooks. No bespoke benchmark builds, no unreleased branches. If
57
+ your users cannot install it, the benchmark does not run it.</p>
58
+ </div>
59
+ </li>
60
+ <li>
61
+ <div>
62
+ <h3>One adapter directory, hash-pinned</h3>
63
+ <p>Everything an arm is lives in <code>adapters/&lt;name&gt;/</code>: the adapter
64
+ implementing the <code>MemoryAdapter</code> contract, version pins, and
65
+ <code>config.frozen.json</code> whose hash is recorded before the run. A config change
66
+ after the freeze means a new run, not an amended one.</p>
67
+ </div>
68
+ </li>
69
+ <li>
70
+ <div>
71
+ <h3>Ingest the neutral feed as it is</h3>
72
+ <p>Every adapter receives identical bytes: verbatim recorded session transcripts,
73
+ pinned by a sha256 manifest. Your extraction pipeline decides what to keep, and that
74
+ decision is part of what is measured. No task-specific tuning, no peeking at the task
75
+ suite.</p>
76
+ </div>
77
+ </li>
78
+ <li>
79
+ <div>
80
+ <h3>Prove the treatment or lose the cell</h3>
81
+ <p>The <a href="method.html#gate">admission gate</a> discards any cell where the arm
82
+ cannot prove it was actually applied: MCP tools listed at session init, hooks fired
83
+ with output, sandbox files digest-verified, no cross-arm contamination. Discard counts
84
+ are published per arm.</p>
85
+ </div>
86
+ </li>
87
+ <li>
88
+ <div>
89
+ <h3>Real credentials or an honest refusal</h3>
90
+ <p>Arm credentials come from <code>.env</code>, never from the repository. An absent
91
+ key makes the harness refuse the arm at startup rather than fake it. Local arms run
92
+ via docker compose, with their extraction LLM traffic metered through the harness
93
+ proxy so ingestion tokens are counted.</p>
94
+ </div>
95
+ </li>
96
+ <li>
97
+ <div>
98
+ <h3>Vendor review before the run</h3>
99
+ <p>Every vendor is publicly invited to review their adapter and frozen config before
100
+ any measured run. The invitation, the response, or the documented silence is committed
101
+ in <code>adapters/&lt;name&gt;/VENDOR_REVIEW.md</code>. Silence does not block the
102
+ run; it is simply on the record.</p>
103
+ </div>
104
+ </li>
105
+ <li>
106
+ <div>
107
+ <h3>Preregistration binds the run</h3>
108
+ <p>The question, predictions, endpoints, exclusion rules and sizing are committed
109
+ under <code>preregistration/</code> before the first session. The run scripts refuse
110
+ to start while that directory is dirty. Numbers in a committed preregistration are
111
+ never edited; corrections are appended.</p>
112
+ </div>
113
+ </li>
114
+ <li>
115
+ <div>
116
+ <h3>Results publish in full, win or lose</h3>
117
+ <p>Per-session logs, streams, admission verdicts and the complete cost ledger land in
118
+ <code>results/&lt;run_id&gt;/</code>. There is no private preview and no retraction
119
+ path: a preregistered run that embarrasses an arm, including the authors' own, is
120
+ published like any other.</p>
121
+ </div>
122
+ </li>
123
+ </ol>
124
+ </section>
125
+
126
+ <section class="pad-y-s" id="add">
127
+ <div class="section-head">
128
+ <span class="no">02</span>
129
+ <h2>Adding your product</h2>
130
+ <span class="aside">a pull request, not a form</span>
131
+ </div>
132
+
133
+ <div class="prose mt-s">
134
+ <p>Submission is a pull request against the repository. It should contain, and review
135
+ will check for, exactly four things:</p>
136
+ </div>
137
+
138
+ <div class="table-scroll mt-s">
139
+ <table>
140
+ <thead><tr><th>file</th><th>contents</th></tr></thead>
141
+ <tbody>
142
+ <tr><td><span class="m">adapters/&lt;name&gt;/adapter.py</span></td>
143
+ <td>implements the <code>MemoryAdapter</code> contract in <code>harness/adapters/base.py</code>: ingest the feed, install the integration, tear down cleanly</td></tr>
144
+ <tr><td><span class="m">adapters/&lt;name&gt;/config.frozen.json</span></td>
145
+ <td>the exact configuration the run uses, hash-pinned; defaults your users would get, not a tuned special</td></tr>
146
+ <tr><td><span class="m">adapters/&lt;name&gt;/VENDOR_REVIEW.md</span></td>
147
+ <td>from the template; records the review invitation and its outcome</td></tr>
148
+ <tr><td><span class="m">adapters/&lt;name&gt;/pins</span></td>
149
+ <td>package and image versions, exact; the run must be reconstructible from them</td></tr>
150
+ </tbody>
151
+ </table>
152
+ </div>
153
+
154
+ </section>
155
+
156
+ <section class="pad-y-s" id="rerun">
157
+ <div class="section-head">
158
+ <span class="no">03</span>
159
+ <h2>Re-run and test</h2>
160
+ <span class="aside">trust nothing, execute everything</span>
161
+ </div>
162
+
163
+ <div class="prose mt-s">
164
+ <p>The harness, the tasks, the checkers and both reference solutions are in the open
165
+ repository. Verifying the benchmark's own claims takes one command:</p>
166
+ </div>
167
+
168
+ <pre><code><span class="c"># clone, then: harness self-tests, task validation,</span>
169
+ <span class="c"># and the CI assertion that every naive reference fails</span>
170
+ <span class="c"># and every informed reference passes</span>
171
+ python -m pytest tests/ -q</code></pre>
172
+
173
+ <div class="prose">
174
+ <p>A real measured run additionally needs:</p>
175
+ </div>
176
+
177
+ <div class="table-scroll mt-s">
178
+ <table>
179
+ <thead><tr><th>requirement</th><th>why</th></tr></thead>
180
+ <tbody>
181
+ <tr><td><span class="m">Claude Code CLI ≥ 2.1.221</span></td>
182
+ <td>below that, a pending MCP server runs the session without its tools while reporting success; the admission gate exists because that happened</td></tr>
183
+ <tr><td><span class="m">.env credentials</span></td>
184
+ <td>per-arm keys from <code>.env.example</code>; a missing key refuses that arm rather than faking it</td></tr>
185
+ <tr><td><span class="m">clean preregistration/</span></td>
186
+ <td>the run scripts refuse to start while the preregistration directory is dirty</td></tr>
187
+ <tr><td><span class="m">explicit prices</span></td>
188
+ <td><code>--price-in</code>, <code>--price-out</code> and <code>--price-as-of</code> are required for a live run and have no defaults anywhere, because three runners once carried three different ones and none matched the frozen rates. Dry runs need none</td></tr>
189
+ <tr><td><span class="m">docker</span></td>
190
+ <td>for the self-hosted arms. <code>docker/compose.yaml</code> brings up the vector database and the harness image, and starts no memory server, so one-command full reproduction is not there yet</td></tr>
191
+ </tbody>
192
+ </table>
193
+ </div>
194
+
195
+ <div class="callout callout-invert mt-l">
196
+ <span class="kicker">Reproduction is the product</span>
197
+ <div class="prose">
198
+ <p>If a published result cannot be regenerated from the pinned versions, the frozen
199
+ configs, the sha256-pinned corpus and the committed preregistration, that is a bug in
200
+ the benchmark and should be filed as one. Disagreement with a result starts with
201
+ <code>results/&lt;run_id&gt;/</code>, which contains every session's logs, admission
202
+ verdicts and costs.</p>
203
+ <p>By that standard the benchmark half fails its own rule, and says so here rather than
204
+ in a footnote. The product arm is now pinned to a released package and its frozen config
205
+ names environment variables instead of one machine's paths, so it no longer has to be
206
+ edited to run elsewhere. What is still missing: the published runs resolved that package
207
+ from a local checkout, there is no <code>versions.lock</code>, and the compose stack
208
+ starts a database but no memory server, so a reader must still supply Postgres, an
209
+ embedding key and a built index. Tracked in
210
+ <a href="https://github.com/GiulioDER/agent-memory-bench/blob/master/docs/STATUS.md">docs/STATUS.md</a>.</p>
211
+ </div>
212
+ </div>
213
+ </section>
214
+
215
+ </main>
216
+
217
+ <footer>
218
+ <div class="footer-inner">
219
+ <div>
220
+ <div class="foot-title">agent-memory-bench</div>
221
+ <div class="dim">A preregistered, execution-graded benchmark of pluggable memory layers
222
+ for coding agents. Apache-2.0. Built in the open; results published win or lose.</div>
223
+ </div>
224
+ <div>
225
+ <div class="foot-title">Pages</div>
226
+ <a href="method.html">Method</a><br>
227
+ <a href="leaderboard.html">Leaderboard</a><br>
228
+ <a href="submit.html">Submit &amp; reproduce</a>
229
+ </div>
230
+ <div>
231
+ <div class="foot-title">Source</div>
232
+ <a href="https://github.com/GiulioDER/agent-memory-bench">Repository</a><br>
233
+ <a href="https://github.com/GiulioDER/agent-memory-bench/tree/master/preregistration">Preregistrations</a><br>
234
+ <a href="https://github.com/GiulioDER/agent-memory-bench/blob/master/adapters/VENDOR_REVIEW_TEMPLATE.md">Vendor review</a>
235
+ </div>
236
+ </div>
237
+ </footer>
238
+
239
+ <script src="site.js"></script>
240
+ </body>
241
+ </html>