Skip to content

armgit / xerj

Public Imported from GitHub
0

AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.

blog: guest post, six eval scars from a production agent-memory system

xerj-org47944e069bec
diff --git a/landing/blog/eval-scars-from-agent-memory.html b/landing/blog/eval-scars-from-agent-memory.html
new file mode 100644
index 000000000..702f0a83c
--- /dev/null
+++ b/landing/blog/eval-scars-from-agent-memory.html
@@ -0,0 +1,319 @@
+<!DOCTYPE html>
+<html lang="en" data-theme="day">
+<head>
+<meta charset="UTF-8">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<title>Six eval scars from a production agent-memory system</title>
+<meta name="description" content="Guest recipes from Chunxiao Wang (Assay): topic slicing beat token windows on recall@1 by double digits, a 0.87 classifier nearly matched by a 0.78 always-yes baseline, and the mask bug that scored every query zero. Plus the corpus gap we checked and confirmed.">
+<link rel="preconnect" href="https://fonts.googleapis.com">
+<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
+<link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet">
+<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">
+<link rel="stylesheet" href="/style.css?v=if9">
+<link rel="stylesheet" href="/blog.css?v=1">
+<!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit -->
+<link rel="canonical" href="https://xerj.org/blog/eval-scars-from-agent-memory">
+<meta property="og:site_name" content="XERJ.ai">
+<meta property="og:type" content="article">
+<meta property="og:title" content="Six eval scars from a production agent-memory system">
+<meta property="og:description" content="Guest recipes from Chunxiao Wang (Assay): topic slicing beat token windows on recall@1 by double digits, a 0.87 classifier nearly matched by a 0.78 always-yes baseline, and the mask bug that scored every query zero. Plus the corpus gap we checked and confirmed.">
+<meta property="og:url" content="https://xerj.org/blog/eval-scars-from-agent-memory">
+<meta property="og:image" content="https://xerj.org/og/xerj-card.png">
+<meta property="og:image:width" content="1200">
+<meta property="og:image:height" content="630">
+<meta property="og:image:alt" content="XERJ.ai — the search engine built for AI agents">
+<meta property="og:locale" content="en_US">
+<meta name="twitter:card" content="summary_large_image">
+<meta name="twitter:title" content="Six eval scars from a production agent-memory system">
+<meta name="twitter:description" content="Guest recipes from Chunxiao Wang (Assay): topic slicing beat token windows on recall@1 by double digits, a 0.87 classifier nearly matched by a 0.78 always-yes baseline, and the mask bug that scored every query zero. Plus the corpus gap we checked and confirmed.">
+<meta name="twitter:image" content="https://xerj.org/og/xerj-card.png">
+<script type="application/ld+json">
+{
+ "@context": "https://schema.org",
+ "@type": "Organization",
+ "@id": "https://xerj.org/#organization",
+ "name": "XERJ",
+ "alternateName": "XERJ.ai",
+ "url": "https://xerj.org/",
+ "logo": "https://xerj.org/brandbook/xerj-mark.svg",
+ "sameAs": [
+ "https://github.com/xerj-org/xerj"
+ ]
+}
+</script>
+<script type="application/ld+json">
+{
+ "@context": "https://schema.org",
+ "@type": "WebSite",
+ "@id": "https://xerj.org/#website",
+ "name": "XERJ.ai",
+ "url": "https://xerj.org/",
+ "inLanguage": "en",
+ "publisher": {
+ "@id": "https://xerj.org/#organization"
+ }
+}
+</script>
+<script type="application/ld+json">
+{
+ "@context": "https://schema.org",
+ "@type": "Article",
+ "headline": "Six eval scars from a production agent-memory system",
+ "description": "Guest recipes from Chunxiao Wang (Assay): topic slicing beat token windows on recall@1 by double digits, a 0.87 classifier nearly matched by a 0.78 always-yes baseline, and the mask bug that scored every query zero. Plus the corpus gap we checked and confirmed.",
+ "url": "https://xerj.org/blog/eval-scars-from-agent-memory",
+ "image": "https://xerj.org/og/xerj-card.png",
+ "inLanguage": "en",
+ "datePublished": "2026-10-07",
+ "dateModified": "2026-10-07",
+ "author": {
+ "@id": "https://xerj.org/#organization"
+ },
+ "publisher": {
+ "@id": "https://xerj.org/#organization"
+ },
+ "isPartOf": {
+ "@id": "https://xerj.org/#website"
+ },
+ "mainEntityOfPage": {
+ "@type": "WebPage",
+ "@id": "https://xerj.org/blog/eval-scars-from-agent-memory"
+ }
+}
+</script>
+<script type="application/ld+json">
+{
+ "@context": "https://schema.org",
+ "@type": "BreadcrumbList",
+ "itemListElement": [
+ {
+ "@type": "ListItem",
+ "position": 1,
+ "name": "Home",
+ "item": "https://xerj.org/"
+ },
+ {
+ "@type": "ListItem",
+ "position": 2,
+ "name": "Blog",
+ "item": "https://xerj.org/blog/"
+ },
+ {
+ "@type": "ListItem",
+ "position": 3,
+ "name": "Guest eval scars"
+ }
+ ]
+}
+</script>
+<!-- seo:end -->
+</head>
+<body>
+
+<nav class="nav" aria-label="Primary">
+ <a href="/" class="brand">XERJ</a>
+ <a href="/">HOME</a>
+ <a href="/product">PRODUCT</a>
+ <span class="nav-drop"><a href="/use-cases">USE CASES</a></span>
+ <a href="/case-studies">CASE STUDIES</a>
+ <a href="/benchmarks/">BENCHMARKS</a>
+ <a href="/blog/" class="active">BLOG</a>
+ <span class="spacer"></span>
+ <a href="/for-agents">FOR AGENTS</a>
+ <a href="/docs/">DOCS</a>
+ <a href="/docs/recipes/">RECIPES</a>
+ <a href="/playground">DASHBOARDS</a>
+ <a href="https://github.com/xerj-org/xerj" rel="external">GITHUB</a>
+ <span class="theme"><button type="button" data-theme="day" class="active">DAY</button><span class="dash">·</span><button type="button" data-theme="night">NIGHT</button></span>
+</nav>
+
+<main>
+<div class="uc-hero">
+ <p class="blog-crumb"><a href="/blog/">&larr; ALL POSTS · /BLOG</a></p>
+ <div class="uc-eyebrow">GUEST CONTRIBUTION · AGENT MEMORY · RETRIEVAL EVAL · ISSUES #1118 + #1138</div>
+ <h1>SIX SCARS FROM PRODUCTION<br><span class="accent">AGENT-MEMORY EVAL, FROM SOMEONE BLEEDING THERE.</span></h1>
+ <p class="blog-byline">GUEST · CHUNXIAO WANG, ASSAY / NAUTILUS-COMPASS · EDITED AND PUBLISHED BY XERJ ENGINEERING · 2026-10-07</p>
+
+ <!-- All measurements below are Chunxiao's, from their production system,
+ quoted from issues #1118 and #1138 with light editing. The registry
+ counts in §05 are ours, verified 2026-10-07 against the corpus-hub
+ branch (validate_hub.py: 98 manifests, backlog 132 rows, 99 live). -->
+ <section class="verdict-panel" id="verdict">
+ <div class="vh"><span class="wn">WHY THIS POST EXISTS</span>
+ <span class="wm">a guest answered our invitation with receipts</span></div>
+ <p>We asked practitioners what a search engine built for agents is still missing. Chunxiao Wang of Assay (<a href="https://github.com/chunxiaoxx/nautilus-compass" rel="external">nautilus-compass</a>) answered twice, in <a href="https://github.com/xerj-org/xerj/issues/1118" rel="external">#1118</a> and <a href="https://github.com/xerj-org/xerj/issues/1138" rel="external">#1138</a>, with six patterns from a production agent-memory system. Each one cost a real failure, which is the only currency eval advice should trade in. This post is their material, credited, with two additions from our side: where their patterns rhyme with how this repo already gates itself, and the honest answer to the question they asked back, namely where our corpus registry is thin against their workload. It is thin in exactly the way they guessed, and we checked before saying so.</p>
+ </section>
+
+ <p class="uc-lead">Six patterns, three themes: what changes when the corpus is the agent's own history, what an eval must freeze before anyone runs anything, and the arithmetic mistakes that make weak systems look strong. Every number in §01 through §04 is theirs. §05 is ours.</p>
+</div>
+
+<section class="scene-section" style="border-top:0; padding-top:0;">
+ <h2 class="scene">01 · THE CORPUS IS THE AGENT'S OWN HISTORY</h2>
+ <p class="wide">Retrieving from a reference corpus and retrieving from session memory are different problems, and standard benchmarks cannot see the difference. Three of Chunxiao's observations carry it:</p>
+
+ <div class="vt-wrap">
+ <table class="vt">
+ <thead><tr><th>The observation</th><th>Their measurement</th></tr></thead>
+ <tbody>
+ <tr>
+ <td>the query is a situation, not a question</td>
+ <td>session-memory queries arrive as imperatives shaped by task state ("deploy failed again with 401"), not information needs ("how do 401s work?"). Hybrid dense+sparse retrieval handled these better than dense-only in their runs, but the bigger effect was chunking</td>
+ </tr>
+ <tr>
+ <td>topic slicing beat token-window slicing</td>
+ <td>chunking session memory by semantic topic instead of token window moved <strong>recall@1 by double digits</strong> in Chinese, and <strong>reversed the ranking</strong> of two embedding models relative to their MTEB scores. Benchmark-ledger performance did not predict in-distribution behavior on their session data</td>
+ </tr>
+ <tr>
+ <td>a failure hit is worth more than a manual hit</td>
+ <td>when the corpus is the agent's own memory, a hit that surfaces <em>that you already tried this and it failed</em> beats a hit that surfaces the manual page. Nobody scores that today, in their words</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+
+ <p class="wide">And the failure mode that hides from every dashboard: a <code class="inline">fill_diagonal</code>-style masking bug that excludes gold pairs from the candidate pool turns a retrieval eval into a constant-zero or constant-pass exercise. They shipped one. The test costs nothing: <strong>if every query scores zero hits, suspect your mask, not your model.</strong></p>
+</section>
+
+<section class="scene-section">
+ <h2 class="scene">02 · FOUR EVAL PATTERNS, EACH PAID FOR</h2>
+ <p class="wide">The second contribution (#1118) is four patterns from building a verified-memory system. We keep them in their original order because the order is the story: distribution, leakage, calibration, variance.</p>
+
+ <div class="vt-wrap">
+ <table class="vt">
+ <thead><tr><th>Pattern</th><th>Their measurement</th><th>The recipe</th></tr></thead>
+ <tbody>
+ <tr>
+ <td>benchmark scores do not transfer to your traffic</td>
+ <td>bakeoff of bge-m3 vs Qwen3-embedding-0.6B on their own corpus (agent session memory, mixed zh/en): the MTEB-favored model gained <strong>+0.46pt recall@5</strong> overall, under their transfer threshold, while the incumbent <strong>won recall@1 and the Chinese slices by +2.75pt</strong></td>
+ <td>re-rank embedders on a frozen sample of your own traffic before switching; public benchmarks are priors, not verdicts</td>
+ </tr>
+ <tr>
+ <td>group by qid or your eval leaks</td>
+ <td>cross-item contamination (train items from the same task family appearing in eval retrieval context) silently inflated their early numbers</td>
+ <td>every eval split is grouped by question or task id, never by row</td>
+ </tr>
+ <tr>
+ <td>three-valued retrieval beats binary</td>
+ <td>their judge emits an <code class="inline">unclear</code> state with a confidence: <strong>Brier 0.069</strong> with honest abstention, and the 2/27 abstentions in their latest public measurement were exactly the boundary rows</td>
+ <td>let the retriever say don't know; score abstention as part of calibration (ECE), not as failure</td>
+ </tr>
+ <tr>
+ <td>to measure system drift, cache the inputs</td>
+ <td>same-day score swings of 0.93 &rarr; 0.30 &rarr; 0.90 looked like model drift; replaying cached inputs through the judge K times showed <strong>0.0pp judge-side variance</strong>, all of it in the generated side</td>
+ <td>two-stage variance attribution, replay-cached-input vs regenerate-then-judge, before blaming retrieval or judging</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+</section>
+
+<section class="scene-section">
+ <h2 class="scene">03 · PREREGISTER, LABEL, BASELINE, PAIR</h2>
+ <p class="wide">The third theme (#1138, recipe 2) is the discipline around the run itself, stated in four rules:</p>
+
+ <div class="vt-wrap">
+ <table class="vt">
+ <thead><tr><th>The rule</th><th>The scar behind it</th></tr></thead>
+ <tbody>
+ <tr>
+ <td>freeze criteria before running: metric, threshold, stop-loss, and the exact verifiable artifact each claim points to. Criteria may only move stricter mid-stream; loosening needs a fresh preregistration</td>
+ <td>every rule here is a re-learned lesson from a run that was allowed to move its own goalposts</td>
+ </tr>
+ <tr>
+ <td>label every claim measured, inferred, or unverifiable. Inferred claims carry an upgrade path</td>
+ <td>the most useful eval artifact they ever published was a self-report reading <strong>"2 of 4 gates FAIL on recompute"</strong>. The visible FAILs are what made the green credible afterwards</td>
+ </tr>
+ <tr>
+ <td>compute the majority-class baseline before claiming accuracy</td>
+ <td>a <strong>0.87</strong> binary classifier that a <strong>0.78 always-yes baseline</strong> nearly matched, n=60, confidence intervals overlapping. Below n=100 the CI belongs next to every headline number, or the number is not a claim, it is a mood</td>
+ </tr>
+ <tr>
+ <td>paired designs beat unpaired by an order of magnitude of information</td>
+ <td>same frames, two checkpoints, McNemar. Their unpaired reading overstated an effect by roughly <strong>4&times;</strong> versus the paired one</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+
+ <p class="wide">The affinity is not an accident. This repo gates its own releases the same way: bars written before the work, FAILs kept visible in the notes, and a CI job that re-checks every claim in a release section against the tree it describes. The <a href="/blog/the-rc80-gates">rc.80 gates post</a> is the same philosophy with our numbers in it: three gates passed, three failed, one split, all published. When Chunxiao writes that visible FAILs are what made the green credible, that is the operating manual we already live by, arriving independently from a different domain. That convergence is worth more than either set of numbers alone.</p>
+</section>
+
+<section class="scene-section">
+ <h2 class="scene">04 · THE QUESTION THEY ASKED BACK, ANSWERED HONESTLY</h2>
+ <p class="wide">Their price for the recipes was not a star. It was this: <em>an honest issue pointing at where the index is thin against these patterns, especially session-memory slicing and failure-turn retention.</em> We checked the registry rather than answering from memory. The answer, posted in full in <a href="https://github.com/xerj-org/xerj/issues/1138#issuecomment-6033735286" rel="external">#1138</a>:</p>
+
+ <div class="stat-band">
+ <div class="stat"><div class="v">0</div><div class="k">agent-trajectory corpora at the hub, of 99 live</div></div>
+ <div class="stat"><div class="v">0</div><div class="k">session or trajectory entries in the backlog, of 132</div></div>
+ <div class="stat"><div class="v">file / section</div><div class="k">our chunk unit, not the semantic topic their recall@1 needs</div></div>
+ </div>
+
+ <p class="wide">Three thin spots, stated plainly. First, the corpus they described, real multi-session agent trajectories with timestamps and failure turns kept verbatim, does not exist at our hub: zero of the 99 live manifests and none of the other 131 backlog entries are session or trajectory data. Nobody using our reference corpora can score what they score. Second, our indexer chunks at file and section boundaries and keeps a locator back to the source span; for session logs that is the wrong shape, and we have no semantic-topic slicer to offer instead. Third, our memory features store curated facts an agent chose to keep, with BM25 recall by default; there is no native tried-and-failed marker and no retention of turns that went nowhere.</p>
+
+ <p class="wide">What we did about it: the wanted corpus now has a named slot in the hub backlog (<strong>agent-session-trajectories</strong>, status planned, demand-anchored to their issue), and if Assay can donate sanitized multi-session trajectories with failure turns intact, the contribution path is <a href="https://github.com/xerj-org/xerj/blob/corpus-hub/tools/xerj-code/hub/CONTRIBUTING.md" rel="external">open by pull request</a>. It would be a first-of-kind corpus at the hub. Their offer to recompute our benchmarks independently stands unaccepted for now, and it should not: an independent recompute of any number we publish is always welcome.</p>
+
+ <div class="loss">
+ <strong>What is claimed here, and by whom.</strong> Claimed by our guest, from their production system, with artifacts public in their repository: every measurement in §01 through §03, quoted from issues #1118 and #1138 with light editing and linked at each section. Claimed by us: the registry counts in §04 (98 manifests, backlog 132 rows after the wishlist entry, 99 live, zero matching a session, trajectory, chat or conversation query), verified 2026-10-07 by running the hub's own validator against the corpus-hub branch; the description of our chunking and memory features, which is a description of the code as it ships. Not claimed: that we have independently reproduced any of their numbers, that our engine today serves their workload well, or that the planned corpus exists in any form. It does not. That is the point of the backlog entry.
+ </div>
+
+ <p class="wide">If you have production scars of your own: the same invitation stands. <a href="https://github.com/xerj-org/xerj/issues" rel="external">Open an issue</a> with what it cost you and what you measured, and if it survives our check against reality, it gets the same treatment, your name on it. The engine itself is <a href="/docs/install">one binary</a> with a <a href="/docs/quickstart">quickstart</a>, and the <a href="/docs/recipes/agentic-memory">agent-memory recipe</a> is the closest thing we ship today to what §01 describes wanting.</p>
+ <p class="src">Guest material verbatim in issues <a href="https://github.com/xerj-org/xerj/issues/1118" rel="external">#1118</a> and <a href="https://github.com/xerj-org/xerj/issues/1138" rel="external">#1138</a> ·
+ their repository: <a href="https://github.com/chunxiaoxx/nautilus-compass" rel="external">nautilus-compass</a> ·
+ the honest-gap comment: <a href="https://github.com/xerj-org/xerj/issues/1138#issuecomment-6033735286" rel="external">#1138 comment</a> ·
+ backlog entry PR <a href="https://github.com/xerj-org/xerj/pull/1210" rel="external">#1210</a> ·
+ related: <a href="/blog/the-rc80-gates">the rc.80 gates</a> · <a href="/blog/the-corpus-hub">the Corpus Hub</a> · <a href="/docs/recipes/agentic-memory">the agent-memory recipe</a>.</p>
+</section>
+
+</main>
+
+<!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit -->
+<nav class="footer-map" aria-label="Site map">
+ <div class="fm-col">
+ <span class="fm-h">PRODUCT</span>
+ <a href="/product">PRODUCT</a>
+ <a href="/architecture/">ARCHITECTURE</a>
+ <a href="/benchmarks/">BENCHMARKS</a>
+ <a href="/pricing/">PRICING</a>
+ <a href="/security/">SECURITY</a>
+ <a href="/playground">DASHBOARDS</a>
+ <a href="/demo/">REAL-DATA DEMO</a>
+ <a href="/aise-demo">PRODUCT TOUR</a>
+ </div>
+ <div class="fm-col">
+ <span class="fm-h">SOLUTIONS</span>
+ <a href="/solutions/">SOLUTIONS</a>
+ <a href="/use-cases">USE CASES</a>
+ <a href="/case-studies">CASE STUDIES</a>
+ <a href="/industries/">INDUSTRIES</a>
+ <a href="/industries/finserv">FINANCIAL SERVICES</a>
+ <a href="/industries/public-sector">PUBLIC SECTOR</a>
+ <a href="/industries/healthcare">HEALTHCARE</a>
+ <a href="/industries/retail">RETAIL</a>
+ <a href="/use-cases/code-security-audit">AI CODE-SECURITY AUDIT</a>
+ <a href="/use-cases/semantic-analytics">SEMANTIC ANALYTICS</a>
+ </div>
+ <div class="fm-col">
+ <span class="fm-h">DOCS</span>
+ <a href="/docs/">DOCUMENTATION</a>
+ <a href="/docs/quickstart">QUICKSTART</a>
+ <a href="/docs/install">INSTALL</a>
+ <a href="/docs/migration-from-es">MIGRATE FROM ELASTICSEARCH</a>
+ <a href="/docs/recipes/">RECIPES</a>
+ <a href="/docs/agents/">DOCS FOR AI</a>
+ <a href="/for-agents">FOR AI AGENTS</a>
+ <a href="/agent-search/">AGENTIC SEARCH DEMO</a>
+ <a href="/answers/">ANSWERS</a>
+ <a href="/compare/">COMPARISONS</a>
+ </div>
+ <div class="fm-col">
+ <span class="fm-h">RESOURCES</span>
+ <a href="/resources/">SALES KIT</a>
+ <a href="/blog/">BLOG</a>
+ <a href="/brand">BRAND</a>
+ <a href="/brandbook/">BRAND BOOK</a>
+ <a href="/llms.txt">LLMS.TXT</a>
+ <a href="https://github.com/xerj-org/xerj" rel="external">GITHUB</a>
+ </div>
+</nav>
+<!-- seo:footer-end -->
+</body>
+</html>
diff --git a/landing/blog/index.html b/landing/blog/index.html
index 9758c1518..dc5429890 100644
--- a/landing/blog/index.html
+++ b/landing/blog/index.html
@@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>XERJ.ai — Blog: the engineering log</title>
-<meta name="description" content="Measured results with the losses left in: the Corpus Hub launch, the rc.80 gates post, the Jev decisions study, the JEV rerank verdict, the storage formats that cut the index 28%, and the signed rust-vulns corpus pack.">
+<meta name="description" content="Measured results with the losses left in: guest eval scars from a production agent-memory system, the Corpus Hub launch, the rc.80 gates post, the Jev decisions study, the JEV rerank verdict, the storage formats that cut the index 28%, and the signed rust-vulns corpus pack.">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet">
@@ -16,7 +16,7 @@
<meta property="og:site_name" content="XERJ.ai">
<meta property="og:type" content="website">
<meta property="og:title" content="XERJ.ai — Blog: the engineering log">
-<meta property="og:description" content="Measured results with the losses left in: the Corpus Hub launch, the rc.80 gates post, the Jev decisions study, the JEV rerank verdict, the storage formats that cut the index 28%, and the signed rust-vulns corpus pack.">
+<meta property="og:description" content="Measured results with the losses left in: guest eval scars from a production agent-memory system, the Corpus Hub launch, the rc.80 gates post, the Jev decisions study, the JEV rerank verdict, the storage formats that cut the index 28%, and the signed rust-vulns corpus pack.">
<meta property="og:url" content="https://xerj.org/blog/">
<meta property="og:image" content="https://xerj.org/og/xerj-card.png">
<meta property="og:image:width" content="1200">
@@ -25,7 +25,7 @@
<meta property="og:locale" content="en_US">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="XERJ.ai — Blog: the engineering log">
-<meta name="twitter:description" content="Measured results with the losses left in: the Corpus Hub launch, the rc.80 gates post, the Jev decisions study, the JEV rerank verdict, the storage formats that cut the index 28%, and the signed rust-vulns corpus pack.">
+<meta name="twitter:description" content="Measured results with the losses left in: guest eval scars from a production agent-memory system, the Corpus Hub launch, the rc.80 gates post, the Jev decisions study, the JEV rerank verdict, the storage formats that cut the index 28%, and the signed rust-vulns corpus pack.">
<meta name="twitter:image" content="https://xerj.org/og/xerj-card.png">
<script type="application/ld+json">
{
@@ -59,7 +59,7 @@
"@context": "https://schema.org",
"@type": "CollectionPage",
"name": "XERJ.ai — Blog: the engineering log",
- "description": "Measured results with the losses left in: the Corpus Hub launch, the rc.80 gates post, the Jev decisions study, the JEV rerank verdict, the storage formats that cut the index 28%, and the signed rust-vulns corpus pack.",
+ "description": "Measured results with the losses left in: guest eval scars from a production agent-memory system, the Corpus Hub launch, the rc.80 gates post, the Jev decisions study, the JEV rerank verdict, the storage formats that cut the index 28%, and the signed rust-vulns corpus pack.",
"url": "https://xerj.org/blog/",
"image": "https://xerj.org/og/xerj-card.png",
"inLanguage": "en",
@@ -126,6 +126,54 @@
<!-- Reverse-chronological by hand while there is one post; new posts PREPEND.
Move to a generator only past ~10 posts. -->
<ol class="blog-list">
+ <li>
+ <a class="bl-card" href="/blog/eval-scars-from-agent-memory">
+ <!-- Guest post: every figure is Chunxiao Wang's, from issues
+ #1118/#1138; the only XERJ-side number is the §05 registry
+ count (0 of 99 live + 0 of 132 backlog, validate_hub.py
+ 2026-10-07). Bars share one denominator per row. -->
+ <div class="bl-preview" aria-hidden="true">
+ <div class="blp-kicker">GUEST · AGENT MEMORY · RETRIEVAL EVAL · ISSUES #1118 + #1138</div>
+ <div class="blp-row">
+ <div class="blp-ds">EMBEDDER BAKEOFF</div>
+ <div class="blp-pair">
+ <span class="blp-num">+0.46pt <i>MTEB pick, r@5</i></span><span class="blp-bar b" style="width:14.4%"></span>
+ <span class="blp-num">+2.75pt <i>incumbent, r@1 zh</i></span><span class="blp-bar a" style="width:85.7%"></span>
+ </div>
+ </div>
+ <div class="blp-row">
+ <div class="blp-ds">THE BASELINE</div>
+ <div class="blp-pair">
+ <span class="blp-num">0.87 <i>classifier</i></span><span class="blp-bar a" style="width:100%"></span>
+ <span class="blp-num">0.78 <i>always-yes, n=60</i></span><span class="blp-bar b" style="width:89.7%"></span>
+ </div>
+ </div>
+ <div class="blp-row">
+ <div class="blp-ds">UNPAIRED VS PAIRED</div>
+ <div class="blp-pair">
+ <span class="blp-num">4&times; <i>overstated</i></span><span class="blp-bar b" style="width:100%"></span>
+ <span class="blp-num">1&times; <i>McNemar</i></span><span class="blp-bar a" style="width:25%"></span>
+ </div>
+ </div>
+ <p class="blp-foot">0 of 99 live corpora are agent trajectories · the gap, checked and confirmed</p>
+ </div>
+ <div class="bl-meta">
+ <p class="bl-date"><time datetime="2026-10-07">2026-10-07</time> · GUEST · AGENT MEMORY · EVAL</p>
+ <h2 class="bl-title">Six eval scars from a production agent-memory system</h2>
+ <p class="bl-excerpt">We asked practitioners what agents still miss. Chunxiao Wang (Assay /
+ nautilus-compass) answered with six patterns that each cost a real failure: topic slicing that beat
+ token windows on <strong>recall@1 by double digits</strong> and reversed two embedders' MTEB ranking;
+ a <strong>0.87</strong> classifier a <strong>0.78 always-yes</strong> baseline nearly matched at n=60;
+ the masking bug that scores every query zero; and the paired-vs-unpaired read that overstated an
+ effect <strong>4&times;</strong>. Their price was an honest answer to where our corpus registry is
+ thin against their workload. We checked: <strong>zero</strong> of 99 live corpora are agent
+ trajectories, and our chunking is the wrong shape for topic-sliced session memory. The want now has
+ a named backlog slot.</p>
+ <p class="bl-byline">GUEST · CHUNXIAO WANG, ASSAY / NAUTILUS-COMPASS · PUBLISHED · 2026-10-07</p>
+ <span class="bl-read">READ THE POST &rarr;</span>
+ </div>
+ </a>
+ </li>
<li>
<a class="bl-card" href="/blog/the-corpus-hub">
<!-- Bars share one denominator per row (that row's max). Neutral bar =
diff --git a/landing/sitemap.xml b/landing/sitemap.xml
index 587f0b892..fd77d6725 100644
--- a/landing/sitemap.xml
+++ b/landing/sitemap.xml
@@ -344,6 +344,10 @@
<loc>https://xerj.org/blog/does-xerj-beat-jev</loc>
<lastmod>2026-10-07</lastmod>
</url>
+ <url>
+ <loc>https://xerj.org/blog/eval-scars-from-agent-memory</loc>
+ <lastmod>2026-10-07</lastmod>
+ </url>
<url>
<loc>https://xerj.org/blog/jev-vs-a-bm25-vote</loc>
<lastmod>2026-10-07</lastmod>
diff --git a/scripts/seo/pagedata.py b/scripts/seo/pagedata.py
index 15aa2924c..95eac0499 100755
--- a/scripts/seo/pagedata.py
+++ b/scripts/seo/pagedata.py
@@ -157,11 +157,23 @@ PAGES: dict[str, dict[str, str]] = {
description="A public registry of corpora for AI agents: reference code pinned to SHAs, record packs ed25519-signed, every source licence-reviewed by a human. The measured use case (2.7× fewer output tokens), the tie we published anyway, and how to contribute yours by PR.",
published="2026-10-01", updated="2026-10-01",
),
+ # Guest post, 2026-10-07: Chunxiao Wang (Assay / nautilus-compass)
+ # answered our practitioner invitation in #1118 + #1138. Every measurement
+ # in the post is theirs, quoted from the issues; the only XERJ-side claims
+ # are the §05 registry counts (validate_hub.py run 2026-10-07: 98
+ # manifests, backlog 132 rows after PR #1210, 99 live, zero session/
+ # trajectory corpora).
+ "blog/eval-scars-from-agent-memory.html": dict(
+ label="Guest eval scars", kind="article",
+ title="Six eval scars from a production agent-memory system",
+ description="Guest recipes from Chunxiao Wang (Assay): topic slicing beat token windows on recall@1 by double digits, a 0.87 classifier nearly matched by a 0.78 always-yes baseline, and the mask bug that scored every query zero. Plus the corpus gap we checked and confirmed.",
+ published="2026-10-07", updated="2026-10-07",
+ ),
"blog/index.html": dict(
label="Blog", kind="collection",
title="XERJ.ai — Blog: the engineering log",
- description="Measured results with the losses left in: the Corpus Hub launch, the rc.80 gates post, the Jev decisions study, the JEV rerank verdict, the storage formats that cut the index 28%, and the signed rust-vulns corpus pack.",
- updated="2026-09-30",
+ description="Measured results with the losses left in: guest eval scars from a production agent-memory system, the Corpus Hub launch, the rc.80 gates post, the Jev decisions study, the JEV rerank verdict, the storage formats that cut the index 28%, and the signed rust-vulns corpus pack.",
+ updated="2026-10-07",
),
"demo/index.html": dict(
label="Real-data demo", kind="software",