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.
Rust agent-memoryai-agentsbm25claude-codeclicode-searchcursordatabaseelasticsearchfull-text-searchhybrid-searchjsonllocal-firstmcpmcp-servermodel-context-protocolragrustsearch-enginevector-search
docs(site): publish the three case studies as a value-first web section
xerj-orgafcb3a763599
diff --git a/landing/agent-search/index.html b/landing/agent-search/index.htmlindex ab377bf48..65ae4a6fe 100644--- a/landing/agent-search/index.html+++ b/landing/agent-search/index.html@@ -119,6 +119,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html">DOCS</a>diff --git a/landing/architecture/index.html b/landing/architecture/index.htmlindex a3a588ba8..765e07643 100644--- a/landing/architecture/index.html+++ b/landing/architecture/index.html@@ -17,6 +17,7 @@<a href="/index.html" class="brand">XERJ.AI</a><a href="/index.html">HOME</a><a href="/product.html">PRODUCT</a>+ <a href="/case-studies.html">CASE STUDIES</a><a href="/solutions/index.html">SOLUTIONS</a><a href="/industries/index.html">INDUSTRIES</a><a href="/security/index.html">SECURITY</a>diff --git a/landing/benchmarks/index.html b/landing/benchmarks/index.htmlindex 1e6839822..d4b75d72c 100644--- a/landing/benchmarks/index.html+++ b/landing/benchmarks/index.html@@ -134,6 +134,7 @@<span class="nav-drop"><a href="/use-cases.html" class="">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html">DOCS</a>diff --git a/landing/brand.html b/landing/brand.htmlindex db1c21c3e..bd68b1737 100644--- a/landing/brand.html+++ b/landing/brand.html@@ -20,6 +20,7 @@<a href="index.html" class="brand">XERJ.AI</a><a href="index.html">HOME</a><a href="product.html">PRODUCT</a>+ <a href="/case-studies.html">CASE STUDIES</a><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html">DOCS</a><a href="/docs/recipes/index.html">RECIPES</a>diff --git a/landing/brandbook/index.html b/landing/brandbook/index.htmlindex 16f58b83b..38c279cb9 100644--- a/landing/brandbook/index.html+++ b/landing/brandbook/index.html@@ -166,6 +166,7 @@<a href="/index.html" class="brand">XERJ.AI</a><a href="/index.html">HOME</a><a href="/product.html">PRODUCT</a>+ <a href="/case-studies.html">CASE STUDIES</a><a href="/solutions/index.html">SOLUTIONS</a><a href="/industries/index.html">INDUSTRIES</a><a href="/security/index.html">SECURITY</a>diff --git a/landing/case-studies.html b/landing/case-studies.htmlnew file mode 100644index 000000000..162c9b4ff--- /dev/null+++ b/landing/case-studies.html@@ -0,0 +1,256 @@+<!DOCTYPE html>+<html lang="en" data-theme="night">+<head>+<meta charset="UTF-8">+<meta name="viewport" content="width=device-width, initial-scale=1.0">+<title>XERJ.ai — Case studies</title>+<meta name="description" content="Three engineering questions answered end to end: a measured WordPress-core security audit, plus two functional proofs on synthetic corpora — semantic analytics in one request and Postgres CDC + hybrid search.">+<meta property="og:title" content="XERJ.ai — Case studies">+<meta property="og:description" content="Real questions, runnable answers. One study measured on real code; two functional proofs on synthetic corpora. Every number traces to a published walkthrough.">+<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=cs0728">+<style>+ /* page-local: comparison series wears the validated --z-cmp token, never gray */+ .cmp-b .cmp-bar { background: var(--z-cmp); opacity: 1; }+ .cmp-bars-head .cmp-b { color: var(--z-cmp); font-weight: 700; }+ /* page-local: "one response carries" rows (copied with the calltree hero chart) */+ .carry { max-width: 720px; margin-top: var(--sp-8); }+ .carry .c-row { display: flex; gap: var(--sp-4); align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--z-faint); font-family: var(--font-data); font-size: var(--fs-13); letter-spacing: var(--track-label); }+ .carry .c-row:first-child { border-top: 1px solid var(--z-line); }+ .carry .c-n { color: var(--z-accent); font-family: var(--font-mono); }+ .carry .c-what { color: var(--z-ink); }+ .carry .c-det { color: var(--z-mute); margin-left: auto; text-align: right; font-family: var(--font-mono); font-size: var(--fs-11); }+ /* the CDC bar labels are words, not ms figures — let them wrap instead of clip */+ @media (max-width: 720px) {+ .cmp-num { white-space: normal; overflow-wrap: break-word; text-align: left; flex-shrink: 1; min-width: 0; }+ .cmp-label { white-space: normal; }+ }+</style>+</head>+<body>++<!-- nav -->+<nav class="nav" aria-label="Primary">+ <a href="/index.html" class="brand">XERJ.AI</a>+ <a href="/index.html">HOME</a>+ <a href="/product.html">PRODUCT</a>+ <span class="nav-drop">+ <a href="/use-cases.html">USE CASES</a>+ </span>+ <a href="/case-studies.html" class="active">CASE STUDIES</a>+ <span class="spacer"></span>+ <a href="/for-agents.html">FOR AGENTS</a>+ <a href="/docs/index.html">DOCS</a>+ <a href="/docs/recipes/index.html">RECIPES</a>+ <a href="/playground.html">DASHBOARDS</a>+ <a href="https://github.com/xerj-org/xerj" rel="external">GITHUB</a>+ <span class="theme">+ <button type="button" data-theme="day">DAY</button>+ <span class="dash">·</span>+ <button type="button" data-theme="night" class="active">NIGHT</button>+ </span>+</nav>++<nav class="uc-subnav" aria-label="Case studies">+ <a href="/case-studies.html" class="active">ALL CASE STUDIES</a>+ <a href="/case-studies/wordpress-security-audit.html">WORDPRESS SECURITY AUDIT</a>+ <a href="/case-studies/calltree-analytics.html">SEMANTIC ANALYTICS</a>+ <a href="/case-studies/daily-dev-postgres-cdc.html">POSTGRES CDC + HYBRID</a>+</nav>++<section class="scene-section" style="border-top:0; padding-top:0;">+ <div class="kicker"><span>CASE STUDIES</span><span class="dash">·</span><span>REPRODUCIBLE WALKTHROUGHS</span></div>+ <h1 class="hero">REAL QUESTIONS.<br><span class="accent">RUNNABLE ANSWERS.</span></h1>+ <p class="lead" style="max-width:720px;">+ WordPress core — ~619k lines — security-audited by an AI agent for ~26,000+ tokens: that is the one study measured on real code. The other two are+ functional proofs on small synthetic corpora — they show the shape works,+ not how fast.+ Three engineering questions, answered end to end with published code and+ recorded output. The questions came from calltree.ai and daily.dev; neither+ is a customer. Every number traces to a walkthrough in the repo.+ </p>+</section>++<!-- 01 WORDPRESS SECURITY AUDIT -->+<div class="uc-showcase">+ <div class="uc-copy">+ <span class="uc-num">01</span>+ <div class="uc-title">WORDPRESS<br>SECURITY<br><span class="accent">AUDIT.</span></div>+ <p class="uc-pitch">WordPress core is ~619k lines — ~26× a 200k-token context window. An agent indexed it as a queryable code graph and read only what queries surfaced. Yellow is the whole audit's token bill; blue is what it costs just to load the code once.</p>+ <div class="uc-metric">~26K TOKENS INSTEAD OF ~5.2M</div>+ <div class="uc-persona">SECURITY ENGINEERS · AI-AGENT BUILDERS · PLATFORM TEAMS</div>+ <a href="/case-studies/wordpress-security-audit.html" class="uc-cta">FULL CASE STUDY →</a>+ </div>+ <div class="uc-viz">+ <div class="kicker"><span>MEASURED · WORDPRESS CORE · 1,492 FILES / ~619K LINES</span></div>+ <div class="cmp-bars">+ <div class="cmp-bars-head">+ <span></span>+ <span class="cmp-a">XERJ-ASSISTED AUDIT</span>+ <span class="cmp-b">READ EVERY FILE</span>+ </div>+ <div class="cmp-bars-row">+ <span class="cmp-label">Tokens, entire audit</span>+ <span class="cmp-val cmp-a">+ <span class="cmp-bar" style="width:0.45%;"></span>+ <span class="cmp-num">~26,000</span>+ </span>+ <span class="cmp-val cmp-b">+ <span class="cmp-bar" style="width:90.0%;"></span>+ <span class="cmp-num">~5,200,000 <span class="cmp-ratio">~199×</span></span>+ </span>+ </div>+ </div>+ <p style="margin-top:14px; font-size:12px; letter-spacing:.04em; color:var(--z-mute); font-family:var(--font-data);">TOKEN ACCOUNTING, NOT A LATENCY BENCHMARK · SOURCES IN <a href="https://github.com/xerj-org/xerj/tree/main/docs/case-studies/wordpress-security-audit" rel="external">docs/case-studies/wordpress-security-audit →</a></p>+ </div>+</div>++<!-- 02 SEMANTIC ANALYTICS -->+<div class="uc-showcase">+ <div class="uc-copy">+ <span class="uc-num">02</span>+ <div class="uc-title">SEMANTIC<br>ANALYTICS IN<br><span class="accent">ONE REQUEST.</span></div>+ <p class="uc-pitch">"Of calls about wifi issues, how many are 2.4GHz vs 5GHz, and what are the key issues?" — asked by calltree.ai. Half retrieval, half analytics: normally two stores and an ETL. One XERJ <code class="inline">POST /_search</code> returns the slice, the breakdown, the metrics, and the evidence.</p>+ <div class="uc-metric">1 REQUEST · 1 STORE — WAS 2 + ETL</div>+ <div class="uc-persona">AI-OVER-SUPPORT TEAMS · DATA PLATFORM ENGINEERS</div>+ <a href="/case-studies/calltree-analytics.html" class="uc-cta">FULL CASE STUDY →</a>+ </div>+ <div class="uc-viz">+ <div class="kicker"><span>GENERATED CORPUS · NOT A BENCHMARK · 130 SYNTHETIC CONVERSATIONS</span></div>+ <div class="cmp-bars">+ <div class="cmp-bars-head">+ <span></span>+ <span class="cmp-a">XERJ</span>+ <span class="cmp-b">SPLIT STACK</span>+ </div>+ <div class="cmp-bars-row">+ <span class="cmp-label">Requests per question</span>+ <span class="cmp-val cmp-a">+ <span class="cmp-bar" style="width:45%;"></span>+ <span class="cmp-num">1</span>+ </span>+ <span class="cmp-val cmp-b">+ <span class="cmp-bar" style="width:90%;"></span>+ <span class="cmp-num">2</span>+ </span>+ </div>+ <div class="cmp-bars-row">+ <span class="cmp-label">Stores to operate</span>+ <span class="cmp-val cmp-a">+ <span class="cmp-bar" style="width:45%;"></span>+ <span class="cmp-num">1</span>+ </span>+ <span class="cmp-val cmp-b">+ <span class="cmp-bar" style="width:90%;"></span>+ <span class="cmp-num">2</span>+ </span>+ </div>+ </div>+ <div class="kicker" style="margin-top:var(--sp-6);"><span>ONE RESPONSE CARRIES</span></div>+ <div class="carry">+ <div class="c-row"><span class="c-n">01</span><span class="c-what">SEMANTIC SLICE</span><span class="c-det">k=80 nearest conversations</span></div>+ <div class="c-row"><span class="c-n">02</span><span class="c-what">BREAKDOWN</span><span class="c-det">terms buckets: band, key issues</span></div>+ <div class="c-row"><span class="c-n">03</span><span class="c-what">METRICS</span><span class="c-det">csat p50 · handle-time avg, per bucket</span></div>+ <div class="c-row"><span class="c-n">04</span><span class="c-what">EVIDENCE</span><span class="c-det">3 example hits → LLM narrative</span></div>+ </div>+ <p style="margin-top:14px; font-size:12px; letter-spacing:.04em; color:var(--z-mute); font-family:var(--font-data);">SPLIT STACK = OLAP + VECTOR STORE + ETL, OR TWO ROUND TRIPS IN ONE ENGINE · AGGS-BEARING kNN RUNS THE EXACT SCAN, NO SPEED CLAIM · BUCKETS COUNT THE RETRIEVED SLICE · k=80 IS THE REQUEST PARAMETER, NOT A MATCH COUNT · SOURCES IN <a href="https://github.com/xerj-org/xerj/tree/main/docs/case-studies/calltree-analytics" rel="external">docs/case-studies/calltree-analytics →</a></p>+ </div>+</div>++<!-- 03 POSTGRES CDC + HYBRID SEARCH -->+<div class="uc-showcase">+ <div class="uc-copy">+ <span class="uc-num">03</span>+ <div class="uc-title">POSTGRES CDC +<br><span class="accent">HYBRID SEARCH.</span></div>+ <p class="uc-pitch">daily.dev's founder asked: can XERJ replicate automatically from Postgres? A logical-replication slot streams every INSERT, UPDATE, and DELETE into XERJ — no reindex jobs — and one hybrid query fuses BM25 + vector rankings server-side, replacing the tsvector + pgvector two-query app merge.</p>+ <div class="uc-metric">3/3 MUTATION TYPES REPLICATED · 0 CHANGES LOST</div>+ <div class="uc-persona">POSTGRES TEAMS · SEARCH ENGINEERS · PLATFORM TEAMS</div>+ <a href="/case-studies/daily-dev-postgres-cdc.html" class="uc-cta">FULL CASE STUDY →</a>+ </div>+ <div class="uc-viz">+ <div class="kicker"><span>FUNCTIONAL PROOF</span><span class="dash">·</span><span>SYNTHETIC 8-ROW CORPUS</span><span class="dash">·</span><span>NOT A BENCHMARK</span></div>+ <div class="cmp-bars">+ <div class="cmp-bars-head">+ <span></span>+ <span class="cmp-a">XERJ</span>+ <span class="cmp-b">POSTGRES TSVECTOR + PGVECTOR</span>+ </div>+ <div class="cmp-bars-row">+ <span class="cmp-label">Queries per hybrid search</span>+ <span class="cmp-val cmp-a">+ <span class="cmp-bar" style="width:45%;"></span>+ <span class="cmp-num">1 fused query</span>+ </span>+ <span class="cmp-val cmp-b">+ <span class="cmp-bar" style="width:90%;"></span>+ <span class="cmp-num">2 queries + app-side merge</span>+ </span>+ </div>+ <div class="cmp-bars-row">+ <span class="cmp-label">App-side score merges</span>+ <span class="cmp-val cmp-a">+ <span class="cmp-bar" style="width:0; min-width:0;"></span>+ <span class="cmp-num">0 · RRF fuses server-side</span>+ </span>+ <span class="cmp-val cmp-b">+ <span class="cmp-bar" style="width:45%;"></span>+ <span class="cmp-num">1 · across two score scales</span>+ </span>+ </div>+ </div>+ <p style="margin-top:14px; font-size:12px; letter-spacing:.04em; color:var(--z-mute); font-family:var(--font-data);">ARCHITECTURAL COUNT FROM THE RECORDED RUN · SOURCES IN <a href="https://github.com/xerj-org/xerj/tree/main/docs/case-studies/daily-dev-postgres-cdc" rel="external">docs/case-studies/daily-dev-postgres-cdc →</a></p>+ </div>+</div>++<section class="lead-capture" id="demo">+ <div class="kicker"><span>READY?</span><span class="dash">·</span><span>REQUEST ACCESS</span></div>+ <h3>RUN ONE ON<br><span class="accent">YOUR DATA.</span></h3>+ <p>Every walkthrough reproduces from the repo. Want it run against your codebase, your conversations, or your Postgres? Leave a work email and we'll set it up with you.</p>+ <form class="lead-form" id="leadForm" action="#" method="post" novalidate>+ <div class="lead-form-input">+ <input type="email" name="email" placeholder="[email protected]" required aria-label="Work email" autocomplete="email" />+ </div>+ <button type="submit" class="demo">SEE THE DEMO <span class="arrow">→</span></button>+ <span class="note">We only use this email to send you the binary. Ever.</span>+ <span class="ok">✓ THANKS. CHECK YOUR INBOX WITHIN 24 HOURS.</span>+ </form>+</section>++<footer class="footer">+ <span>XERJ.AI · CASE STUDIES · V0.1</span>+ <span>STORAGE FOR THE AGENT ERA</span>+ <span><a href="/index.html">HOME</a> · <a href="/case-studies.html">ALL CASE STUDIES</a> · <a href="/docs/index.html">DOCS</a> · <a href="/playground.html">DASHBOARDS</a> · <a href="/llms.txt">LLMS.TXT</a></span>+</footer>++<script>+ (function () {+ const root = document.documentElement;+ for (const btn of document.querySelectorAll('[data-theme]')) {+ btn.addEventListener('click', () => {+ const t = btn.getAttribute('data-theme');+ root.setAttribute('data-theme', t);+ for (const b of document.querySelectorAll('[data-theme]')) {+ b.classList.toggle('active', b.getAttribute('data-theme') === t);+ }+ });+ }+ const form = document.getElementById('leadForm');+ if (form) {+ form.addEventListener('submit', (e) => {+ e.preventDefault();+ const email = form.querySelector('input[type=email]').value.trim();+ if (!email || !email.includes('@')) return;+ console.log('[xerj lead]', email);+ try { fetch('/lead', { method: 'POST', headers: { 'content-type': 'application/json' }, body: JSON.stringify({ email: email, source: 'case-studies' }), keepalive: true }).catch(function () {}); } catch (_) {}+ form.classList.add('sent');+ });+ }+ })();+</script>++</body>+</html>diff --git a/landing/case-studies/calltree-analytics.html b/landing/case-studies/calltree-analytics.htmlnew file mode 100644index 000000000..30a91e547--- /dev/null+++ b/landing/case-studies/calltree-analytics.html@@ -0,0 +1,259 @@+<!DOCTYPE html>+<html lang="en" data-theme="night">+<head>+<meta charset="UTF-8">+<meta name="viewport" content="width=device-width, initial-scale=1.0">+<title>XERJ.ai — Case study: semantic analytics in one request</title>+<meta name="description" content="kNN + aggregations in a single request (rc.6): a deep-research question over 130 synthetic support conversations answered by one POST /_search. A correctness demo, not a benchmark.">+<meta property="og:title" content="XERJ.ai — Case study: semantic analytics in one request">+<meta property="og:description" content="One POST /_search returns the semantic slice, the breakdown, the metrics, and the evidence. Demonstrated live on a generated corpus — not a benchmark.">+<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=cs0728">+<style>+ /* page-local: comparison series uses the validated --z-cmp token, not gray */+ .cmp-b .cmp-bar { background: var(--z-cmp); opacity: 1; }+ .cmp-bars-head .cmp-b { color: var(--z-cmp); font-weight: 700; }+ /* page-local: "one response carries" rows */+ .carry { max-width: 720px; margin-top: var(--sp-8); }+ .carry .c-row { display: flex; gap: var(--sp-4); align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--z-faint); font-family: var(--font-data); font-size: var(--fs-13); letter-spacing: var(--track-label); }+ .carry .c-row:first-child { border-top: 1px solid var(--z-line); }+ .carry .c-n { color: var(--z-accent); font-family: var(--font-mono); }+ .carry .c-what { color: var(--z-ink); }+ .carry .c-det { color: var(--z-mute); margin-left: auto; text-align: right; font-family: var(--font-mono); font-size: var(--fs-11); }+</style>+</head>+<body>++<!-- nav -->+<nav class="nav" aria-label="Primary">+ <a href="/index.html" class="brand">XERJ.AI</a>+ <a href="/index.html">HOME</a>+ <a href="/product.html">PRODUCT</a>+ <span class="nav-drop">+ <a href="/use-cases.html">USE CASES</a>+ </span>+ <a href="/case-studies.html" class="active">CASE STUDIES</a>+ <span class="spacer"></span>+ <a href="/for-agents.html">FOR AGENTS</a>+ <a href="/docs/index.html">DOCS</a>+ <a href="/docs/recipes/index.html">RECIPES</a>+ <a href="/playground.html">DASHBOARDS</a>+ <a href="https://github.com/xerj-org/xerj" rel="external">GITHUB</a>+ <span class="theme">+ <button type="button" data-theme="day">DAY</button>+ <span class="dash">·</span>+ <button type="button" data-theme="night" class="active">NIGHT</button>+ </span>+</nav>+++<nav class="uc-subnav" aria-label="Case studies">+ <a href="/case-studies.html">ALL CASE STUDIES</a>+ <a href="/case-studies/wordpress-security-audit.html">WORDPRESS SECURITY AUDIT</a>+ <a href="/case-studies/calltree-analytics.html" class="active">SEMANTIC ANALYTICS</a>+ <a href="/case-studies/daily-dev-postgres-cdc.html">POSTGRES CDC + HYBRID</a>+</nav>++<div class="uc-hero">+ <div class="uc-eyebrow">CASE STUDY · SEMANTIC ANALYTICS</div>+ <h1>DEEP RESEARCH.<br><span class="accent">ONE REQUEST.</span></h1>+ <p class="uc-lead">"Of calls about wifi issues, how many are 2.4GHz vs 5GHz, and what are the key issues?" One question bundles retrieval, aggregation, labeling and evidence — normally an OLAP engine plus a vector store, with ETL between them. In XERJ it is one <code class="inline">POST /_search</code>: slice, breakdown, metrics and evidence come back together.</p>+ <div class="kicker"><span>FOR</span><span class="dash">·</span><span>AI-OVER-SUPPORT TEAMS</span><span class="dash">·</span><span>DATA PLATFORM ENGINEERS</span></div>+</div>++<!-- Hero visual: the architecture collapse -->+<section class="scene-section" style="border-top:0; padding-top:0;">+ <div class="viz-block">+ <div class="kicker"><span>GENERATED CORPUS · NOT A BENCHMARK · 130 SYNTHETIC CONVERSATIONS</span></div>+ <div class="cmp-bars">+ <div class="cmp-bars-head">+ <span></span>+ <span class="cmp-a">XERJ</span>+ <span class="cmp-b">SPLIT STACK</span>+ </div>+ <div class="cmp-bars-row">+ <span class="cmp-label">Requests per question</span>+ <span class="cmp-val cmp-a">+ <span class="cmp-bar" style="width:45%;"></span>+ <span class="cmp-num">1</span>+ </span>+ <span class="cmp-val cmp-b">+ <span class="cmp-bar" style="width:90%;"></span>+ <span class="cmp-num">2</span>+ </span>+ </div>+ <div class="cmp-bars-row">+ <span class="cmp-label">Stores to operate</span>+ <span class="cmp-val cmp-a">+ <span class="cmp-bar" style="width:45%;"></span>+ <span class="cmp-num">1</span>+ </span>+ <span class="cmp-val cmp-b">+ <span class="cmp-bar" style="width:90%;"></span>+ <span class="cmp-num">2</span>+ </span>+ </div>+ </div>+ <div class="kicker" style="margin-top:var(--sp-6);"><span>ONE RESPONSE CARRIES</span></div>+ <div class="carry">+ <div class="c-row"><span class="c-n">01</span><span class="c-what">SEMANTIC SLICE</span><span class="c-det">k=80 nearest conversations</span></div>+ <div class="c-row"><span class="c-n">02</span><span class="c-what">BREAKDOWN</span><span class="c-det">terms buckets: band, key issues</span></div>+ <div class="c-row"><span class="c-n">03</span><span class="c-what">METRICS</span><span class="c-det">csat p50 · handle-time avg, per bucket</span></div>+ <div class="c-row"><span class="c-n">04</span><span class="c-what">EVIDENCE</span><span class="c-det">3 example hits → LLM narrative</span></div>+ </div>+ <p style="margin-top:14px; font-size:12px; letter-spacing:.04em; color:var(--z-mute); font-family:var(--font-data);">SPLIT STACK = OLAP + VECTOR STORE + ETL, OR TWO ROUND TRIPS IN ONE ENGINE · SOURCES IN <a href="https://github.com/xerj-org/xerj/tree/main/docs/case-studies/calltree-analytics" rel="external">docs/case-studies/calltree-analytics →</a></p>+ </div>+</section>++<div class="pain-solve">+ <div class="pain">+ <h3>THE SPLIT-STACK TAX</h3>+ <ul><li><strong>Two systems before one answer.</strong> An OLAP engine for the columns, a vector store for the embeddings, ETL between them.</li><li><strong>No cross-system join.</strong> The semantic slice lives in one store, the metrics in the other.</li><li><strong>Two round trips even inside one engine.</strong> Run the kNN, ship the ids back to the client, aggregate with a filter.</li><li><strong>Evidence arrives separately.</strong> The example conversations the LLM narrative needs are yet another query.</li></ul>+ </div>+ <div class="solve">+ <h3>THE XERJ ANSWER</h3>+ <ul><li><strong>One index holds everything.</strong> Keyword columns, full text, and the 768-dim vector are fields of the same document.</li><li><strong>Aggregations run on the kNN slice.</strong> rc.6 computes the buckets over the retrieved top-k neighbour set, in-request.</li><li><strong>Exact buckets by design.</strong> An aggs-bearing kNN routes to the exact scan, so counts are never approximate.</li><li><strong>Evidence rides along.</strong> Example hits return in the same response; one LLM call turns them into the narrative.</li></ul>+ </div>+</div>++<div class="proof-row">++ <div class="stat">+ <div class="num">1</div>+ <div class="label">REQUEST PER QUESTION</div>+ <div class="ctx">was 2: kNN, ship ids client-side, filtered aggregation</div>+ </div>++ <div class="stat">+ <div class="num">768-D</div>+ <div class="label">VECTORS BESIDE THE COLUMNS</div>+ <div class="ctx">EmbeddingGemma via Ollama · same document as the columns you aggregate</div>+ </div>++ <div class="stat">+ <div class="num">0</div>+ <div class="label">ETL JOBS</div>+ <div class="ctx">columns, text and vectors live in one store — nothing to sync</div>+ </div>++</div>+++<section class="scene-section">+ <h2 class="scene" style="font-size:var(--fs-56);">ONE REQUEST, <span class="accent">WHOLE ANSWER.</span></h2>+ <p class="wide"><code class="inline">query.knn</code> retrieves the semantic slice; the <code class="inline">aggs</code> block computes the band split, key issues, CSAT percentile and handle-time average over that slice; <code class="inline">size: 3</code> returns the evidence hits. Demonstrated live with real 768-dim vectors — XERJ stores and searches them, it does not embed, so retrieval quality is your embedding model's job (EmbeddingGemma is a stand-in for yours).</p>++ <pre class="code">curl -s localhost:9200/conversations/_search -H 'Content-Type: application/json' -d '{+ "query": { "<span class="k">knn</span>": { "field": "vec", "query_vector": [<span class="comment">/* embed("wifi issues...") */</span>],+ "k": 80, "num_candidates": 130 } },+ "size": 3, "_source": ["band","issue","body"],+ "<span class="k">aggs</span>": { "by_band": { "terms": { "field": "band" }, "aggs": {+ "key_issues": { "terms": { "field": "issue", "size": 4 } },+ "csat": { "percentiles": { "field": "csat", "percents": [50] } },+ "aht": { "avg": { "field": "handle_time_s" } } } } }+}'</pre>+ <p style="margin-top:14px; font-size:12px; letter-spacing:.04em; color:var(--z-mute); font-family:var(--font-data);">ONE POST /_search · RC.6</p>++ <pre class="code">"of calls about wifi issues, how many 2.4 vs 5GHz, and what are the key issues?"++retrieved 80 nearest wifi calls; aggregated in the same request:+ 2.4GHz 29 (54%) csat_p50=4.0 aht=897s issues: channel-overlap, congestion, disconnects, legacy-device+ 5GHz 25 (46%) csat_p50=4.0 aht=924s issues: range, disconnects, congestion++deep-research narrative (LLM over the retrieved examples):+ The key issue is that the 5GHz signal is weak in a nearby room, dropping to 2.4GHz+ and resulting in slower speeds.</pre>+ <p style="margin-top:14px; font-size:12px; letter-spacing:.04em; color:var(--z-mute); font-family:var(--font-data);">RECORDED RUN · SEEDED-GENERATOR OUTPUT · 54 OF THE 80 CARRIED A WIFI BAND; THE 26 N/A ARE FILTERED CLIENT-SIDE · 03_deep_research.py</p>+</section>++<section class="scene-section">+ <h2 class="scene" style="font-size:var(--fs-56);">WHAT THIS <span class="accent">DOES NOT SHOW.</span></h2>+ <div class="laws">+ <div class="n">01</div>+ <div class="law">+ <div class="t">EXACT SCAN, <span class="accent">NO SPEED CLAIM.</span></div>+ <div class="b">An aggs-bearing kNN always runs the exact brute-force scan: <code class="inline">num_candidates</code> is ignored, HNSW never serves it, and cost scales with corpus size × dims. Nothing here was timed.</div>+ </div>+ <div class="n">02</div>+ <div class="law">+ <div class="t">BUCKETS COUNT <span class="accent">THE SLICE.</span></div>+ <div class="b">Aggregations count only the retrieved top-k neighbour set, and <code class="inline">hits.total.value</code> echoes k — the 80 is the request parameter coming back, not a corpus match count.</div>+ </div>+ <div class="n">03</div>+ <div class="law">+ <div class="t">KNOWN <span class="accent">GAPS.</span></div>+ <div class="b"><code class="inline">significant_terms</code> over a kNN slice returns empty, hybrid (RRF) + aggs is rejected with a 400, and kNN inside <code class="inline">bool.filter</code> returns no buckets. Use <code class="inline">terms</code> in-slice, or the two-step pattern.</div>+ </div>+ <div class="n">04</div>+ <div class="law">+ <div class="t">SYNTHETIC, <span class="accent">NOT EXCLUSIVE.</span></div>+ <div class="b">The numbers are artifacts, not findings. ES/OpenSearch or Postgres + pgvector can express this shape too — what differs is cost model and operational weight, not possibility.</div>+ </div>+ </div>+</section>++<section class="scene-section">+ <h2 class="scene" style="font-size:var(--fs-56);">READ THE <span class="accent">WALKTHROUGH.</span></h2>+ <p class="wide">The question came from calltree.ai, who run AI over support interactions — a motivating party, not a customer. The walkthrough has the three runnable scripts, the recorded output and the scaling guide. XERJ on :9200 plus Ollama is the whole stack.</p>+ <div style="display:flex; gap:var(--sp-6); margin-top:var(--sp-6); flex-wrap:wrap;">+ <a href="https://github.com/xerj-org/xerj/tree/main/docs/case-studies/calltree-analytics" rel="external" class="cta" style="font-size:var(--fs-20); padding:var(--sp-4) 0; border-bottom:0; flex:1; min-width:280px;">+ <span>OPEN THE WALKTHROUGH</span>+ <span class="arrow">→</span>+ </a>+ <a href="/case-studies.html" class="cta" style="font-size:var(--fs-20); padding:var(--sp-4) 0; border-bottom:0; flex:1; min-width:280px;">+ <span>ALL CASE STUDIES</span>+ <span class="arrow">→</span>+ </a>+ </div>+</section>++<section class="lead-capture" id="demo">+ <div class="kicker"><span>READY?</span><span class="dash">·</span><span>REQUEST ACCESS</span></div>+ <h3>RUN IT ON<br><span class="accent">YOUR CONVERSATIONS.</span></h3>+ <p>Send us your mapping and one deep-research question. We'll send back the single-request version — kNN + aggs over your schema — with the scripts to reproduce it.</p>+ <form class="lead-form" id="leadForm" action="#" method="post" novalidate>+ <div class="lead-form-input">+ <input type="email" name="email" placeholder="[email protected]" required aria-label="Work email" autocomplete="email" />+ </div>+ <button type="submit" class="demo">SEE THE DEMO <span class="arrow">→</span></button>+ <span class="note">We only use this email to send you the binary. Ever.</span>+ <span class="ok">✓ THANKS. CHECK YOUR INBOX WITHIN 24 HOURS.</span>+ </form>+</section>++<footer class="footer">+ <span>XERJ.AI · CASE STUDIES · V0.1</span>+ <span>STORAGE FOR THE AGENT ERA</span>+ <span><a href="/index.html">HOME</a> · <a href="/case-studies.html">ALL CASE STUDIES</a> · <a href="/docs/index.html">DOCS</a> · <a href="/playground.html">DASHBOARDS</a> · <a href="/llms.txt">LLMS.TXT</a></span>+</footer>++<script>+ (function () {+ const root = document.documentElement;+ for (const btn of document.querySelectorAll('[data-theme]')) {+ btn.addEventListener('click', () => {+ const t = btn.getAttribute('data-theme');+ root.setAttribute('data-theme', t);+ for (const b of document.querySelectorAll('[data-theme]')) {+ b.classList.toggle('active', b.getAttribute('data-theme') === t);+ }+ });+ }+ const form = document.getElementById('leadForm');+ if (form) {+ form.addEventListener('submit', (e) => {+ e.preventDefault();+ const email = form.querySelector('input[type=email]').value.trim();+ if (!email || !email.includes('@')) return;+ try { fetch('/lead', { method: 'POST', headers: { 'content-type': 'application/json' }, body: JSON.stringify({ email: email, source: 'calltree-analytics' }), keepalive: true }).catch(function () {}); } catch (_) {}+ form.classList.add('sent');+ });+ }+ })();+</script>++</body>+</html>diff --git a/landing/case-studies/daily-dev-postgres-cdc.html b/landing/case-studies/daily-dev-postgres-cdc.htmlnew file mode 100644index 000000000..31f52c8ad--- /dev/null+++ b/landing/case-studies/daily-dev-postgres-cdc.html@@ -0,0 +1,250 @@+<!DOCTYPE html>+<html lang="en" data-theme="night">+<head>+<meta charset="UTF-8">+<meta name="viewport" content="width=device-width, initial-scale=1.0">+<title>XERJ.ai — Case study: Postgres CDC + hybrid search</title>+<meta name="description" content="Logical-replication CDC keeps XERJ in sync with Postgres — INSERT/UPDATE/DELETE flow in, and one hybrid RRF query replaces the tsvector+pgvector two-query app merge. Functional proof on a synthetic 8-row corpus, not a benchmark.">+<meta property="og:title" content="XERJ.ai — Case study: Postgres CDC + hybrid search">+<meta property="og:description" content="Point XERJ at Postgres: changes replicate in via a logical-replication slot, and one fused BM25+vector query replaces two queries plus an app-side merge. Functional end-to-end proof.">+<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=cs0728">+<style>+ /* page-local: comparison-series color + 4-up proof tiles */+ .cmp-b .cmp-bar { background: var(--z-cmp); opacity: 1; }+ .cmp-bars-head .cmp-b { color: var(--z-cmp); font-weight: 700; }+ .proof-row.cdc { grid-template-columns: repeat(4, 1fr); }+ @media (max-width: 960px) { .proof-row.cdc { grid-template-columns: repeat(2, 1fr); } }+ @media (max-width: 620px) { .proof-row.cdc { grid-template-columns: 1fr; } }+ /* the bar labels here are words, not ms figures — let them wrap instead of clip */+ @media (max-width: 720px) {+ .cmp-num { white-space: normal; overflow-wrap: break-word; text-align: left; flex-shrink: 1; min-width: 0; }+ .cmp-label { white-space: normal; }+ }+</style>+</head>+<body>++<!-- nav -->+<nav class="nav" aria-label="Primary">+ <a href="/index.html" class="brand">XERJ.AI</a>+ <a href="/index.html">HOME</a>+ <a href="/product.html">PRODUCT</a>+ <span class="nav-drop">+ <a href="/use-cases.html">USE CASES</a>+ </span>+ <a href="/case-studies.html" class="active">CASE STUDIES</a>+ <span class="spacer"></span>+ <a href="/for-agents.html">FOR AGENTS</a>+ <a href="/docs/index.html">DOCS</a>+ <a href="/docs/recipes/index.html">RECIPES</a>+ <a href="/playground.html">DASHBOARDS</a>+ <a href="https://github.com/xerj-org/xerj" rel="external">GITHUB</a>+ <span class="theme">+ <button type="button" data-theme="day">DAY</button>+ <span class="dash">·</span>+ <button type="button" data-theme="night" class="active">NIGHT</button>+ </span>+</nav>+++<nav class="uc-subnav" aria-label="Case studies">+ <a href="/case-studies.html">ALL CASE STUDIES</a>+ <a href="/case-studies/wordpress-security-audit.html">WORDPRESS SECURITY AUDIT</a>+ <a href="/case-studies/calltree-analytics.html">SEMANTIC ANALYTICS</a>+ <a href="/case-studies/daily-dev-postgres-cdc.html" class="active">POSTGRES CDC + HYBRID</a>+</nav>++<div class="uc-hero">+ <div class="uc-eyebrow">CASE STUDY · POSTGRES CDC + HYBRID SEARCH</div>+ <h1>POINT IT AT POSTGRES.<br><span class="accent">SEARCH SYNCS ITSELF.</span></h1>+ <p class="uc-lead">The founder of daily.dev asked a public question: can XERJ replicate automatically from Postgres? Yes. A small CDC consumer reads the WAL through a logical-replication slot, and every INSERT, UPDATE, and DELETE flows into XERJ by itself — no reindex jobs. One hybrid query then fuses BM25 and vector rankings server-side.</p>+ <div class="kicker"><span>FOR</span><span class="dash">·</span><span>POSTGRES TEAMS</span><span class="dash">·</span><span>SEARCH ENGINEERS</span><span class="dash">·</span><span>PLATFORM TEAMS</span></div>+</div>++<!-- Hero chart -->+<section class="scene-section" style="border-top:0; padding-top:0;">+ <div class="viz-block">+ <div class="kicker"><span>FUNCTIONAL PROOF</span><span class="dash">·</span><span>SYNTHETIC 8-ROW CORPUS</span><span class="dash">·</span><span>NOT A BENCHMARK</span></div>+ <div class="cmp-bars">+ <div class="cmp-bars-head">+ <span></span>+ <span class="cmp-a">XERJ</span>+ <span class="cmp-b">POSTGRES TSVECTOR + PGVECTOR</span>+ </div>+ <div class="cmp-bars-row">+ <span class="cmp-label">Queries per hybrid search</span>+ <span class="cmp-val cmp-a">+ <span class="cmp-bar" style="width:45%;"></span>+ <span class="cmp-num">1 fused query</span>+ </span>+ <span class="cmp-val cmp-b">+ <span class="cmp-bar" style="width:90%;"></span>+ <span class="cmp-num">2 queries + app-side merge</span>+ </span>+ </div>+ <div class="cmp-bars-row">+ <span class="cmp-label">App-side score merges</span>+ <span class="cmp-val cmp-a">+ <span class="cmp-bar" style="width:0; min-width:0;"></span>+ <span class="cmp-num">0 · RRF fuses server-side</span>+ </span>+ <span class="cmp-val cmp-b">+ <span class="cmp-bar" style="width:45%;"></span>+ <span class="cmp-num">1 · across two score scales</span>+ </span>+ </div>+ </div>+ <p style="margin-top:14px; font-size:12px; letter-spacing:.04em; color:var(--z-mute); font-family:var(--font-data);">ARCHITECTURAL COUNT FROM THE RECORDED RUN · SOURCES IN <a href="https://github.com/xerj-org/xerj/tree/main/docs/case-studies/daily-dev-postgres-cdc" rel="external">docs/case-studies/daily-dev-postgres-cdc →</a></p>+ </div>+</section>++<div class="pain-solve">+ <div class="pain">+ <h3>SEARCH ON THE PRIMARY</h3>+ <ul><li><strong>tsvector and pgvector don't fuse.</strong> two ranked lists, merged in app code across incompatible score scales.</li><li><strong>Search load hits OLTP.</strong> ranking queries and business writes fight for the same primary.</li><li><strong>A dedicated engine means a sync pipeline.</strong> you build it, run it, and babysit its reindex jobs.</li><li><strong>Deletes are the trap.</strong> miss one and search keeps serving rows Postgres removed.</li></ul>+ </div>+ <div class="solve">+ <h3>THE XERJ ANSWER</h3>+ <ul><li><strong>Replication is the pipeline.</strong> a logical-replication slot streams every INSERT/UPDATE/DELETE into XERJ.</li><li><strong>One fused query.</strong> first-class hybrid search — BM25 + kNN merged server-side by reciprocal-rank fusion.</li><li><strong>Crash-safe by LSN.</strong> a restarted consumer resumes from the confirmed LSN, replaying only what it missed.</li><li><strong>Zero manual reindexes.</strong> upsert and delete-by-id converge XERJ to Postgres state.</li></ul>+ </div>+</div>++<section class="scene-section" style="border-top:0; padding-top:0;">+ <div class="viz-block">+ <div class="kicker"><span>RECORDED RUN</span><span class="dash">·</span><span>POSTGRES 16 + PGVECTOR 0.8.2</span><span class="dash">·</span><span>LOGICAL REPLICATION</span></div>+ <div class="proof-row cdc" style="padding-top:var(--sp-4);">+ <div class="stat">+ <div class="num">3/3</div>+ <div class="label">MUTATION TYPES REPLICATED</div>+ <div class="ctx">INSERT + UPDATE + DELETE reflected in one slot drain</div>+ </div>+ <div class="stat">+ <div class="num">0</div>+ <div class="label">CHANGES LOST IN DOWNTIME</div>+ <div class="ctx">consumer down while Postgres kept writing</div>+ </div>+ <div class="stat">+ <div class="num">2</div>+ <div class="label">CHANGES REPLAYED ON RESTART</div>+ <div class="ctx">exactly the missed ones, from the confirmed LSN</div>+ </div>+ <div class="stat">+ <div class="num">0</div>+ <div class="label">MANUAL REINDEXES</div>+ <div class="ctx">every mutation applied by upsert or delete-by-id</div>+ </div>+ </div>+ </div>+</section>++<section class="scene-section">+ <h2 class="scene" style="font-size:var(--fs-56);">HOW IT <span class="accent">WORKS.</span></h2>+ <p class="wide">A ~20-line SQL bootstrap turns on logical replication; a small Python consumer drains the slot, re-embeds changed rows (EmbeddingGemma via Ollama, 768-dim cosine), and bulk-writes XERJ. Search is one request: XERJ's hybrid query fuses the BM25 ranking and the kNN ranking with reciprocal-rank fusion — no score normalization, no merge code.</p>++ <p style="font-size:12px; letter-spacing:.04em; color:var(--z-mute); font-family:var(--font-data); margin-bottom:0;">THE ONE REQUEST — BM25 + VECTOR, FUSED SERVER-SIDE</p>+ <pre class="code"><span class="prompt">$</span> curl -s localhost:9200/posts/_search -H <span class="s">'Content-Type: application/json'</span> -d <span class="s">'{+ "query": { "<span class="k">hybrid</span>": {+ "queries": [+ { "query": { "match": { "summary": "ditching the JVM search stack for something cheaper" } } },+ { "query": { "<span class="k">knn</span>": { "field": "vec", "query_vector": [<span class="comment">/* 768-dim */</span>], "num_candidates": 9 } } }+ ],+ "<span class="k">fusion</span>": { "type": "<span class="k">rrf</span>", "k": 60 }+ } }+}'</span></pre>++ <p class="wide">Recorded top-3 for that query — RRF rank-fusion scores, shown as the fused order:</p>+ <ol style="margin:0 0 var(--sp-6); padding-left:var(--sp-6); font-size:var(--fs-16); line-height:1.8;">+ <li>Why we moved off Elasticsearch <span style="font-family:var(--font-mono); font-size:var(--fs-13); color:var(--z-mute);">RRF 0.03279</span></li>+ <li>The cost of microservices <span style="font-family:var(--font-mono); font-size:var(--fs-13); color:var(--z-mute);">RRF 0.03175</span></li>+ <li>Building a vector search engine from scratch <span style="font-family:var(--font-mono); font-size:var(--fs-13); color:var(--z-mute);">RRF 0.03151</span></li>+ </ol>++ <p style="font-size:12px; letter-spacing:.04em; color:var(--z-mute); font-family:var(--font-data); margin-bottom:0;">CHANGE POSTGRES, WATCH XERJ FOLLOW — THEN A CRASH-RECOVERY REPLAY</p>+ <pre class="code"><span class="comment">-- in Postgres: UPDATE p7 · INSERT p9 · DELETE p5</span>+<span class="prompt">$</span> python3 cdc_sync.py+<span class="k">[cdc]</span> synced 2 upserts, 1 deletes to XERJ <span class="s">[('p7','UPDATE'),('p9','INSERT'),('p5','DELETE')]</span>++<span class="comment"># consumer killed; UPDATE p1 + INSERT p11 happen while it is down</span>+<span class="prompt">$</span> python3 cdc_stream.py+<span class="k">[stream]</span> consuming WAL from confirmed LSN (push, no polling)+<span class="k">[stream]</span> UPDATE p1 -> XERJ <span class="s">LSN=27863424</span> [checkpointing]+<span class="k">[stream]</span> INSERT p11 -> XERJ <span class="s">LSN=27863976</span> [checkpointing]</pre>+</section>++<section class="scene-section">+ <h2 class="scene" style="font-size:var(--fs-56);">WHAT THIS <span class="accent">DOES NOT SHOW.</span></h2>+ <div class="laws">+ <div class="n">01</div><div class="law"><div class="t">TINY <span class="accent">SYNTHETIC CORPUS.</span></div><div class="b">Eight seed posts (~11 after live changes), modeled on the open-source daily-api Post schema — not daily.dev's data. A functional proof: no latency, throughput, or cost numbers exist, and "within seconds" is qualitative.</div></div>+ <div class="n">02</div><div class="law"><div class="t">DEMO SLOT, NOT <span class="accent">PRODUCTION SHAPE.</span></div><div class="b">The consumer reads Postgres' built-in test_decoding slot. The production shape is a pgoutput slot, wal2json, or Debezium in front of the same upsert/delete path.</div></div>+ <div class="n">03</div><div class="law"><div class="t">AT-LEAST-ONCE, <span class="accent">CONVERGENT.</span></div><div class="b">Delivery is at-least-once, converging to Postgres state through idempotent upsert/delete-by-id plus LSN checkpointing — exactly-once-convergent, not bare exactly-once.</div></div>+ <div class="n">04</div><div class="law"><div class="t">BRING YOUR OWN <span class="accent">EMBEDDINGS.</span></div><div class="b">XERJ stores and searches vectors; it does not embed. Quality is your model's job (EmbeddingGemma via Ollama here). RRF k and weights need per-corpus tuning; fusion:'learned' does not exist — only rrf and linear.</div></div>+ </div>+</section>++<section class="scene-section">+ <h2 class="scene" style="font-size:var(--fs-56);">READ THE <span class="accent">WALKTHROUGH.</span></h2>+ <p class="wide">daily.dev is a motivating party, not a customer. Every output above is recorded from the scripts in the walkthrough — setup.sql, cdc_sync.py, cdc_stream.py — against Postgres 16 + pgvector 0.8.2 in Docker. Four commands reproduce it end to end.</p>+ <div style="display:flex; gap:var(--sp-6); margin-top:var(--sp-6); flex-wrap:wrap;">+ <a href="https://github.com/xerj-org/xerj/tree/main/docs/case-studies/daily-dev-postgres-cdc" rel="external" class="cta" style="font-size:var(--fs-20); padding:var(--sp-4) 0; border-bottom:0; flex:1; min-width:280px;">+ <span>OPEN THE WALKTHROUGH</span>+ <span class="arrow">→</span>+ </a>+ <a href="/case-studies.html" class="cta" style="font-size:var(--fs-20); padding:var(--sp-4) 0; border-bottom:0; flex:1; min-width:280px;">+ <span>ALL CASE STUDIES</span>+ <span class="arrow">→</span>+ </a>+ </div>+</section>++<section class="lead-capture" id="demo">+ <div class="kicker"><span>READY?</span><span class="dash">·</span><span>REQUEST ACCESS</span></div>+ <h3>RUN IT ON<br><span class="accent">YOUR POSTGRES.</span></h3>+ <p>Tell us your table shape and change rate. We'll wire the CDC consumer against a copy of your schema and send you the scripts and the binary.</p>+ <form class="lead-form" id="leadForm" action="#" method="post" novalidate>+ <div class="lead-form-input">+ <input type="email" name="email" placeholder="[email protected]" required aria-label="Work email" autocomplete="email" />+ </div>+ <button type="submit" class="demo">SEE THE DEMO <span class="arrow">→</span></button>+ <span class="note">We only use this email to send you the binary. Ever.</span>+ <span class="ok">✓ THANKS. CHECK YOUR INBOX WITHIN 24 HOURS.</span>+ </form>+</section>++<footer class="footer">+ <span>XERJ.AI · CASE STUDIES · V0.1</span>+ <span>STORAGE FOR THE AGENT ERA</span>+ <span><a href="/index.html">HOME</a> · <a href="/case-studies.html">ALL CASE STUDIES</a> · <a href="/docs/index.html">DOCS</a> · <a href="/playground.html">DASHBOARDS</a> · <a href="/llms.txt">LLMS.TXT</a></span>+</footer>++<script>+ (function () {+ const root = document.documentElement;+ for (const btn of document.querySelectorAll('[data-theme]')) {+ btn.addEventListener('click', () => {+ const t = btn.getAttribute('data-theme');+ root.setAttribute('data-theme', t);+ for (const b of document.querySelectorAll('[data-theme]')) {+ b.classList.toggle('active', b.getAttribute('data-theme') === t);+ }+ });+ }+ const form = document.getElementById('leadForm');+ if (form) {+ form.addEventListener('submit', (e) => {+ e.preventDefault();+ const email = form.querySelector('input[type=email]').value.trim();+ if (!email || !email.includes('@')) return;+ console.log('[xerj lead]', email);+ try { fetch('/lead', { method: 'POST', headers: { 'content-type': 'application/json' }, body: JSON.stringify({ email: email, source: 'daily-dev-postgres-cdc' }), keepalive: true }).catch(function () {}); } catch (_) {}+ form.classList.add('sent');+ });+ }+ })();+</script>++</body>+</html>diff --git a/landing/case-studies/wordpress-security-audit.html b/landing/case-studies/wordpress-security-audit.htmlnew file mode 100644index 000000000..40a64b965--- /dev/null+++ b/landing/case-studies/wordpress-security-audit.html@@ -0,0 +1,248 @@+<!DOCTYPE html>+<html lang="en" data-theme="night">+<head>+<meta charset="UTF-8">+<meta name="viewport" content="width=device-width, initial-scale=1.0">+<title>XERJ.ai — WordPress security audit case study</title>+<meta name="description" content="An AI agent audited real WordPress core — 1,492 files, ~619k lines — for ~26,000 tokens instead of ~5,200,000. Per-phase measured costs; walkthrough and copyable skill on GitHub.">+<meta property="og:title" content="XERJ.ai — WordPress security audit case study">+<meta property="og:description" content="619k lines audited for ~26k tokens (~199× fewer than loading the code once). A queryable code graph decides what the agent reads. Every number traces to the published walkthrough.">+<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=cs0728">+<style>+ /* page-local: comparison series wears the validated --z-cmp token, never gray */+ .cmp-b .cmp-bar { background: var(--z-cmp); opacity: 1; }+ .cmp-bars-head .cmp-b { color: var(--z-cmp); font-weight: 700; }+ /* phone: let long bar labels/values wrap instead of clipping */+ @media (max-width: 720px) {+ .cmp-num { white-space: normal; overflow-wrap: break-word; text-align: left; flex-shrink: 1; min-width: 0; }+ .cmp-label { white-space: normal; }+ }+</style>+</head>+<body>++<!-- nav -->+<nav class="nav" aria-label="Primary">+ <a href="/index.html" class="brand">XERJ.AI</a>+ <a href="/index.html">HOME</a>+ <a href="/product.html">PRODUCT</a>+ <span class="nav-drop">+ <a href="/use-cases.html">USE CASES</a>+ </span>+ <a href="/case-studies.html" class="active">CASE STUDIES</a>+ <span class="spacer"></span>+ <a href="/for-agents.html">FOR AGENTS</a>+ <a href="/docs/index.html">DOCS</a>+ <a href="/docs/recipes/index.html">RECIPES</a>+ <a href="/playground.html">DASHBOARDS</a>+ <a href="https://github.com/xerj-org/xerj" rel="external">GITHUB</a>+ <span class="theme">+ <button type="button" data-theme="day">DAY</button>+ <span class="dash">·</span>+ <button type="button" data-theme="night" class="active">NIGHT</button>+ </span>+</nav>++<nav class="uc-subnav" aria-label="Case studies">+ <a href="/case-studies.html">ALL CASE STUDIES</a>+ <a href="/case-studies/wordpress-security-audit.html" class="active">WORDPRESS SECURITY AUDIT</a>+ <a href="/case-studies/calltree-analytics.html">SEMANTIC ANALYTICS</a>+ <a href="/case-studies/daily-dev-postgres-cdc.html">POSTGRES CDC + HYBRID</a>+</nav>++<div class="uc-hero">+ <div class="uc-eyebrow">CASE STUDY · WORDPRESS SECURITY AUDIT</div>+ <h1>619K LINES AUDITED.<br><span class="accent">~26K TOKENS SPENT.</span></h1>+ <p class="uc-lead">An AI agent security-audited real WordPress core — 1,492 PHP files, ~619k lines — for ~26,000 tokens instead of the ~5,200,000 it costs just to load the code once. A queryable code graph in XERJ decided what deserved reading; the agent read only candidates. Per-phase measured costs, published end to end.</p>+ <div class="kicker"><span>FOR</span><span class="dash">·</span><span>SECURITY ENGINEERS</span><span class="dash">·</span><span>AI-AGENT BUILDERS</span><span class="dash">·</span><span>PLATFORM TEAMS</span></div>+</div>++<!-- Hero chart -->+<section class="scene-section" style="border-top:0; padding-top:0;">+ <div class="viz-block">+ <div class="kicker"><span>MEASURED · WORDPRESS CORE · 1,492 FILES / ~619K LINES</span></div>+ <div class="cmp-bars">+ <div class="cmp-bars-head">+ <span></span>+ <span class="cmp-a">XERJ-ASSISTED AUDIT</span>+ <span class="cmp-b">READ EVERY FILE</span>+ </div>+ <div class="cmp-bars-row">+ <span class="cmp-label">Tokens, entire audit</span>+ <span class="cmp-val cmp-a">+ <span class="cmp-bar" style="width:0.45%;"></span>+ <span class="cmp-num">~26,000</span>+ </span>+ <span class="cmp-val cmp-b">+ <span class="cmp-bar" style="width:90.0%;"></span>+ <span class="cmp-num">~5,200,000 <span class="cmp-ratio">~199×</span></span>+ </span>+ </div>+ </div>+ <p style="margin-top:14px; font-size:12px; letter-spacing:.04em; color:var(--z-mute); font-family:var(--font-data);">TOKEN ACCOUNTING: SUMMED PER-PHASE MEASURED COSTS VS THE READ-EVERYTHING BASELINE · NOT A LATENCY BENCHMARK · SOURCES IN <a href="https://github.com/xerj-org/xerj/tree/main/docs/case-studies/wordpress-security-audit" rel="external">docs/case-studies/wordpress-security-audit →</a></p>+ </div>+</section>++<div class="pain-solve">+ <div class="pain">+ <h3>THE CONTEXT-WINDOW WALL</h3>+ <ul><li><strong>The code does not fit.</strong> ~619k lines is ~26× a 200k-token window — "read everything" is not an option.</li><li><strong>Chunking kills the reach.</strong> Security bugs are interprocedural: source in one file, sink in another.</li><li><strong>grep cannot say the shape.</strong> "Source and SQL sink in one function, no sanitizer between" is not a literal string.</li></ul>+ </div>+ <div class="solve">+ <h3>THE XERJ ANSWER</h3>+ <ul><li><strong>Index once as facts.</strong> 11,990 functions, 1,343 hooks, call edges, capability checks, sanitizer fingerprints — built in ~3.6 s.</li><li><strong>Query the bug shape.</strong> One bool filter narrows 11,990 functions to 4 candidates worth reading.</li><li><strong>Scope before reading.</strong> One request returns the whole unauthenticated entry surface: 2 of 1,343 hooks.</li></ul>+ </div>+</div>++<div class="proof-row">++ <div class="stat">+ <div class="num">~3.6 s</div>+ <div class="label">TO INDEX THE CODEBASE</div>+ <div class="ctx">11,990 functions + 1,343 hooks · 100% tree-sitter-php parse rate</div>+ </div>++ <div class="stat">+ <div class="num">2 / 1,343</div>+ <div class="label">HOOKS UNAUTHENTICATED</div>+ <div class="ctx">the entire unauth entry surface, answered by one query</div>+ </div>++ <div class="stat">+ <div class="num">0</div>+ <div class="label">MISSING-CAPABILITY IDOR</div>+ <div class="ctx">226 handlers swept: 95 AJAX + 90 REST + 41 wp-admin</div>+ </div>++</div>++<section class="scene-section">+ <div class="viz-block">+ <div class="kicker"><span>MEASURED · SQL-INJECTION TRIAGE · REPRODUCE.md STEP 2</span></div>+ <div class="cmp-bars">+ <div class="cmp-bars-head">+ <span></span>+ <span class="cmp-a">XERJ QUERY</span>+ <span class="cmp-b">GREP</span>+ </div>+ <div class="cmp-bars-row">+ <span class="cmp-label">Must read after triage</span>+ <span class="cmp-val cmp-a">+ <span class="cmp-bar" style="width:7.1%;"></span>+ <span class="cmp-num">4 functions</span>+ </span>+ <span class="cmp-val cmp-b">+ <span class="cmp-bar" style="width:90.0%;"></span>+ <span class="cmp-num">51 whole files</span>+ </span>+ </div>+ </div>+ <p style="margin-top:14px; font-size:12px; letter-spacing:.04em; color:var(--z-mute); font-family:var(--font-data);">ONE BOOL-FILTER QUERY VS grep · UNITS DIFFER: FUNCTION-LEVEL CANDIDATES VS WHOLE FILES · GREP'S LITERAL RECALL IS PERFECT</p>+ </div>+</section>++<section class="scene-section">+ <h2 class="scene" style="font-size:var(--fs-56);">ASK FOR THE <span class="accent">BUG SHAPE.</span></h2>+ <p class="wide">Locate the gatekeepers, read their real implementations, compile the correct-vs-buggy shape into a query, and pull back only the violators. Precision comes from reading; scale comes from the index.</p>++ <div class="kicker" style="margin-top:var(--sp-6);"><span>INDEX ONCE · ~3.6 S · 100% PARSE RATE</span></div>+ <pre class="code">$ python3 wp_audit_index.py ./wordpress <span class="comment"># 11,990 functions + 1,343 hooks</span>+$ python3 wp_authz_graph.py ./wordpress <span class="comment"># capability/nonce shapes + call edges</span>+$ python3 wp_compose_index.py ./wordpress <span class="comment"># sanitizer-sequence fingerprints</span></pre>++ <div class="kicker" style="margin-top:var(--sp-6);"><span>ONE QUERY · 11,990 FUNCTIONS → 4 CANDIDATES</span></div>+ <pre class="code">$ curl -s "$XERJ/wpaudit/_search" -H 'Content-Type: application/json' \+ -d '{"query":{"bool":{"filter":[+ {"term":{"has_source":"true"}},+ {"term":{"sinks":"sql"}},+ {"term":{"sanit":"false"}}]}}}'+<span class="comment"># a request source + SQL sink in the same function, no sanitizer between</span></pre>++ <div class="kicker" style="margin-top:var(--sp-6);"><span>THE UNAUTH SURFACE · ONE REQUEST</span></div>+ <pre class="code">$ curl -s "$XERJ/wphooks/_search" -H 'Content-Type: application/json' \+ -d '{"query":{"term":{"unauth":true}},"_source":["hook","callback"]}'+<span class="comment"># 2 of 1,343 hooks</span></pre>+</section>++<section class="scene-section">+ <h2 class="scene" style="font-size:var(--fs-56);">THE CLEAN RESULT <span class="accent">IS THE RESULT.</span></h2>+ <p class="wide">Core came back hardened: 0 missing-capability IDOR across 226 handlers, 0 auto-triggered deserialization gadgets. The one real weakness: <code class="inline">wp_http_validate_url</code> does not block 169.254.169.254 (cloud metadata), reachable unauthenticated via <code class="inline">pingback_ping</code>. A known-class limitation, not a novel 0-day.</p>+</section>++<section class="scene-section">+ <h2 class="scene" style="font-size:var(--fs-56);">WHAT THIS <span class="accent">DOES NOT SHOW.</span></h2>+ <div class="laws">+ <div class="n">01</div><div class="law"><div class="t">XERJ DOES NOT <span class="accent">FIND BUGS.</span></div><div class="b">The AST taint/authz model produces the candidates; XERJ stores and queries them. Pointed at raw file chunks instead of facts, the security value largely evaporates.</div></div>+ <div class="n">02</div><div class="law"><div class="t">RECALL IS <span class="accent">MODEL-BOUNDED.</span></div><div class="b">A source at file scope, or laundered through $GLOBALS, is invisible to the graph. The trade is recall for precision and tokens — grep counter-examples are published in the walkthrough.</div></div>+ <div class="n">03</div><div class="law"><div class="t">EVERY CANDIDATE STILL <span class="accent">NEEDS A READ.</span></div><div class="b">The detectors have known false-positive drivers — receiver-typed sinks, self-scoped writes, polymorphic capabilities. The value is that survivors are few enough to read them all.</div></div>+ <div class="n">04</div><div class="law"><div class="t">THE AUDIT AUDITED <span class="accent">XERJ TOO.</span></div><div class="b">Two real engine bugs surfaced mid-run — term over keyword arrays, boolean term matching. Conclusions were recomputed over pulled _source, so they hold; both are published, and the keyword-array fix landed as a PR.</div></div>+ </div>+</section>++<section class="scene-section">+ <h2 class="scene" style="font-size:var(--fs-56);">READ THE <span class="accent">WALKTHROUGH.</span></h2>+ <p class="wide">The research journals, reproduction scripts, and verification harness are all published. The method ships as a copyable Claude Code skill — the taint model is data, not code, so it retargets to your stack.</p>+ <div style="display:flex; gap:var(--sp-6); margin-top:var(--sp-6); flex-wrap:wrap;">+ <a href="https://github.com/xerj-org/xerj/tree/main/docs/case-studies/wordpress-security-audit" rel="external" class="cta" style="font-size:var(--fs-20); padding:var(--sp-4) 0; border-bottom:0; flex:1; min-width:280px;">+ <span>OPEN THE WALKTHROUGH</span>+ <span class="arrow">→</span>+ </a>+ <a href="https://github.com/xerj-org/xerj/tree/main/docs/case-studies/wordpress-security-audit/skill" rel="external" class="cta" style="font-size:var(--fs-20); padding:var(--sp-4) 0; border-bottom:0; flex:1; min-width:280px;">+ <span>GET THE SKILL</span>+ <span class="arrow">→</span>+ </a>+ </div>+</section>++<section class="lead-capture" id="demo">+ <div class="kicker"><span>READY?</span><span class="dash">·</span><span>REQUEST ACCESS</span></div>+ <h3>AUDIT YOUR<br><span class="accent">OWN CODE.</span></h3>+ <p>The skill runs the same audit — index, triage queries, verification prompts — on your codebase. Want a walkthrough with your team? Leave an email.</p>+ <form class="lead-form" id="leadForm" action="#" method="post" novalidate>+ <div class="lead-form-input">+ <input type="email" name="email" placeholder="[email protected]" required aria-label="Work email" autocomplete="email" />+ </div>+ <button type="submit" class="demo">SEE THE DEMO <span class="arrow">→</span></button>+ <span class="note">We only use this email to send you the binary. Ever.</span>+ <span class="ok">✓ THANKS. CHECK YOUR INBOX WITHIN 24 HOURS.</span>+ </form>+</section>++<footer class="footer">+ <span>XERJ.AI · CASE STUDIES · V0.1</span>+ <span>STORAGE FOR THE AGENT ERA</span>+ <span><a href="/index.html">HOME</a> · <a href="/case-studies.html">ALL CASE STUDIES</a> · <a href="/docs/index.html">DOCS</a> · <a href="/playground.html">DASHBOARDS</a> · <a href="/llms.txt">LLMS.TXT</a></span>+</footer>++<script>+ (function () {+ const root = document.documentElement;+ for (const btn of document.querySelectorAll('[data-theme]')) {+ btn.addEventListener('click', () => {+ const t = btn.getAttribute('data-theme');+ root.setAttribute('data-theme', t);+ for (const b of document.querySelectorAll('[data-theme]')) {+ b.classList.toggle('active', b.getAttribute('data-theme') === t);+ }+ });+ }+ const form = document.getElementById('leadForm');+ if (form) {+ form.addEventListener('submit', (e) => {+ e.preventDefault();+ const email = form.querySelector('input[type=email]').value.trim();+ if (!email || !email.includes('@')) return;+ console.log('[xerj lead]', email);+ try { fetch('/lead', { method: 'POST', headers: { 'content-type': 'application/json' }, body: JSON.stringify({ email: email, source: 'wordpress-security-audit' }), keepalive: true }).catch(function () {}); } catch (_) {}+ form.classList.add('sent');+ });+ }+ })();+</script>++</body>+</html>diff --git a/landing/docs/agents/endpoints.html b/landing/docs/agents/endpoints.htmlindex d6275e95e..ed63f77ab 100644--- a/landing/docs/agents/endpoints.html+++ b/landing/docs/agents/endpoints.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html" class="active">DOCS</a>diff --git a/landing/docs/agents/index.html b/landing/docs/agents/index.htmlindex 9322642ec..08738ada3 100644--- a/landing/docs/agents/index.html+++ b/landing/docs/agents/index.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html" class="active">DOCS</a>diff --git a/landing/docs/agents/quickstart.html b/landing/docs/agents/quickstart.htmlindex bd4baf4dc..98bbcdc83 100644--- a/landing/docs/agents/quickstart.html+++ b/landing/docs/agents/quickstart.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html" class="active">DOCS</a>diff --git a/landing/docs/aggregations.html b/landing/docs/aggregations.htmlindex 13997b46d..8b2315a88 100644--- a/landing/docs/aggregations.html+++ b/landing/docs/aggregations.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html" class="active">DOCS</a>diff --git a/landing/docs/analyzers.html b/landing/docs/analyzers.htmlindex 4d2d7e62b..52f6dab87 100644--- a/landing/docs/analyzers.html+++ b/landing/docs/analyzers.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html" class="active">DOCS</a>diff --git a/landing/docs/api-es-compat.html b/landing/docs/api-es-compat.htmlindex ab81033c8..d66f038ed 100644--- a/landing/docs/api-es-compat.html+++ b/landing/docs/api-es-compat.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html" class="active">DOCS</a>diff --git a/landing/docs/api-native.html b/landing/docs/api-native.htmlindex 07f76dd8d..71aede70e 100644--- a/landing/docs/api-native.html+++ b/landing/docs/api-native.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html" class="active">DOCS</a>diff --git a/landing/docs/backup-restore.html b/landing/docs/backup-restore.htmlindex 6d1ccb709..4df92af5a 100644--- a/landing/docs/backup-restore.html+++ b/landing/docs/backup-restore.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html" class="active">DOCS</a>diff --git a/landing/docs/cli.html b/landing/docs/cli.htmlindex 30ef5ebe4..d2e51af2f 100644--- a/landing/docs/cli.html+++ b/landing/docs/cli.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html" class="active">DOCS</a>diff --git a/landing/docs/clustering.html b/landing/docs/clustering.htmlindex c0ce39788..660d0c733 100644--- a/landing/docs/clustering.html+++ b/landing/docs/clustering.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html" class="active">DOCS</a>diff --git a/landing/docs/compression.html b/landing/docs/compression.htmlindex 32dc76a4e..738c8e4ad 100644--- a/landing/docs/compression.html+++ b/landing/docs/compression.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html" class="active">DOCS</a>diff --git a/landing/docs/config.html b/landing/docs/config.htmlindex 39f5b7d9f..603fc67eb 100644--- a/landing/docs/config.html+++ b/landing/docs/config.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html" class="active">DOCS</a>diff --git a/landing/docs/env.html b/landing/docs/env.htmlindex b43530240..9e54b6ac9 100644--- a/landing/docs/env.html+++ b/landing/docs/env.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html" class="active">DOCS</a>diff --git a/landing/docs/index.html b/landing/docs/index.htmlindex 652fb1381..c30d04782 100644--- a/landing/docs/index.html+++ b/landing/docs/index.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html" class="active">DOCS</a>diff --git a/landing/docs/ingest.html b/landing/docs/ingest.htmlindex 25ed7ade5..29ddd7dbd 100644--- a/landing/docs/ingest.html+++ b/landing/docs/ingest.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html" class="active">DOCS</a>diff --git a/landing/docs/install.html b/landing/docs/install.htmlindex e4ba0d919..54fb1fd74 100644--- a/landing/docs/install.html+++ b/landing/docs/install.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html" class="active">DOCS</a>diff --git a/landing/docs/metrics.html b/landing/docs/metrics.htmlindex 3f2aa0492..7e50cddd6 100644--- a/landing/docs/metrics.html+++ b/landing/docs/metrics.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html" class="active">DOCS</a>diff --git a/landing/docs/migration-from-es.html b/landing/docs/migration-from-es.htmlindex 48bc5d19f..481d19f82 100644--- a/landing/docs/migration-from-es.html+++ b/landing/docs/migration-from-es.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html" class="active">DOCS</a>diff --git a/landing/docs/operations.html b/landing/docs/operations.htmlindex 8b25474f2..66677acde 100644--- a/landing/docs/operations.html+++ b/landing/docs/operations.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html" class="active">DOCS</a>diff --git a/landing/docs/playbooks/full-text.html b/landing/docs/playbooks/full-text.htmlindex f8b8e5d21..86de3c577 100644--- a/landing/docs/playbooks/full-text.html+++ b/landing/docs/playbooks/full-text.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html" class="active">DOCS</a>diff --git a/landing/docs/playbooks/log-analytics.html b/landing/docs/playbooks/log-analytics.htmlindex 82cb7c996..9db33c80e 100644--- a/landing/docs/playbooks/log-analytics.html+++ b/landing/docs/playbooks/log-analytics.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html" class="active">DOCS</a>diff --git a/landing/docs/playbooks/observability.html b/landing/docs/playbooks/observability.htmlindex 508e6e514..b96c4e20f 100644--- a/landing/docs/playbooks/observability.html+++ b/landing/docs/playbooks/observability.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html" class="active">DOCS</a>diff --git a/landing/docs/playbooks/siem.html b/landing/docs/playbooks/siem.htmlindex 803337071..89e5856f2 100644--- a/landing/docs/playbooks/siem.html+++ b/landing/docs/playbooks/siem.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html" class="active">DOCS</a>diff --git a/landing/docs/playbooks/vector-search.html b/landing/docs/playbooks/vector-search.htmlindex c14da2abe..18ffd346e 100644--- a/landing/docs/playbooks/vector-search.html+++ b/landing/docs/playbooks/vector-search.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html" class="active">DOCS</a>diff --git a/landing/docs/queries.html b/landing/docs/queries.htmlindex 701dbf215..3e701f659 100644--- a/landing/docs/queries.html+++ b/landing/docs/queries.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html" class="active">DOCS</a>diff --git a/landing/docs/quickstart.html b/landing/docs/quickstart.htmlindex 7c56b82a1..3125f91cc 100644--- a/landing/docs/quickstart.html+++ b/landing/docs/quickstart.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html" class="active">DOCS</a>diff --git a/landing/docs/recipes/agentic-memory.html b/landing/docs/recipes/agentic-memory.htmlindex 253bf4356..15c61e53f 100644--- a/landing/docs/recipes/agentic-memory.html+++ b/landing/docs/recipes/agentic-memory.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html">DOCS</a>diff --git a/landing/docs/recipes/anomaly-detection.html b/landing/docs/recipes/anomaly-detection.htmlindex 37b68f6df..4d2df6785 100644--- a/landing/docs/recipes/anomaly-detection.html+++ b/landing/docs/recipes/anomaly-detection.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html">DOCS</a>diff --git a/landing/docs/recipes/continuous-anomaly-datafeeds.html b/landing/docs/recipes/continuous-anomaly-datafeeds.htmlindex ab1f80681..b07fb55b3 100644--- a/landing/docs/recipes/continuous-anomaly-datafeeds.html+++ b/landing/docs/recipes/continuous-anomaly-datafeeds.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html">DOCS</a>diff --git a/landing/docs/recipes/document-folder-index.html b/landing/docs/recipes/document-folder-index.htmlindex db5a2e433..7ed86bc66 100644--- a/landing/docs/recipes/document-folder-index.html+++ b/landing/docs/recipes/document-folder-index.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html">DOCS</a>diff --git a/landing/docs/recipes/hybrid-search.html b/landing/docs/recipes/hybrid-search.htmlindex c53edefa7..3f97b7861 100644--- a/landing/docs/recipes/hybrid-search.html+++ b/landing/docs/recipes/hybrid-search.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html">DOCS</a>diff --git a/landing/docs/recipes/index.html b/landing/docs/recipes/index.htmlindex 312e2bb49..f4c6f7ca6 100644--- a/landing/docs/recipes/index.html+++ b/landing/docs/recipes/index.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html">DOCS</a>diff --git a/landing/docs/recipes/log-analytics.html b/landing/docs/recipes/log-analytics.htmlindex 801666894..b94129c5b 100644--- a/landing/docs/recipes/log-analytics.html+++ b/landing/docs/recipes/log-analytics.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html">DOCS</a>diff --git a/landing/docs/recipes/migrate-from-elasticsearch.html b/landing/docs/recipes/migrate-from-elasticsearch.htmlindex a3164ba61..efd246bab 100644--- a/landing/docs/recipes/migrate-from-elasticsearch.html+++ b/landing/docs/recipes/migrate-from-elasticsearch.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html">DOCS</a>diff --git a/landing/docs/recipes/passage-retrieval.html b/landing/docs/recipes/passage-retrieval.htmlindex 0ab2c9896..a9477f6d4 100644--- a/landing/docs/recipes/passage-retrieval.html+++ b/landing/docs/recipes/passage-retrieval.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html">DOCS</a>diff --git a/landing/docs/recipes/semantic-search-rag.html b/landing/docs/recipes/semantic-search-rag.htmlindex 6694874be..50a6de9c1 100644--- a/landing/docs/recipes/semantic-search-rag.html+++ b/landing/docs/recipes/semantic-search-rag.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html">DOCS</a>diff --git a/landing/docs/recipes/vector-quantization.html b/landing/docs/recipes/vector-quantization.htmlindex 00edd32c0..ab3cfab8a 100644--- a/landing/docs/recipes/vector-quantization.html+++ b/landing/docs/recipes/vector-quantization.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html">DOCS</a>diff --git a/landing/docs/recipes/vector-search-knn.html b/landing/docs/recipes/vector-search-knn.htmlindex eddde1bcb..7cf6d8ec7 100644--- a/landing/docs/recipes/vector-search-knn.html+++ b/landing/docs/recipes/vector-search-knn.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html">DOCS</a>diff --git a/landing/docs/recipes/zero-config-autoindex.html b/landing/docs/recipes/zero-config-autoindex.htmlindex 3f4e97320..714637638 100644--- a/landing/docs/recipes/zero-config-autoindex.html+++ b/landing/docs/recipes/zero-config-autoindex.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html">DOCS</a>diff --git a/landing/docs/security.html b/landing/docs/security.htmlindex da69b5192..2a81a3e92 100644--- a/landing/docs/security.html+++ b/landing/docs/security.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html" class="active">DOCS</a>diff --git a/landing/docs/storage.html b/landing/docs/storage.htmlindex fd976646c..5f13d7ae5 100644--- a/landing/docs/storage.html+++ b/landing/docs/storage.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html" class="active">DOCS</a>diff --git a/landing/docs/troubleshooting.html b/landing/docs/troubleshooting.htmlindex df871a42c..66240dca6 100644--- a/landing/docs/troubleshooting.html+++ b/landing/docs/troubleshooting.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html" class="active">DOCS</a>diff --git a/landing/docs/upgrades.html b/landing/docs/upgrades.htmlindex 6a520f02f..c0e9851d1 100644--- a/landing/docs/upgrades.html+++ b/landing/docs/upgrades.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html" class="active">DOCS</a>diff --git a/landing/docs/vectors.html b/landing/docs/vectors.htmlindex 3627a8e38..dd3e6b22e 100644--- a/landing/docs/vectors.html+++ b/landing/docs/vectors.html@@ -21,6 +21,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html" class="active">DOCS</a>diff --git a/landing/for-agents.html b/landing/for-agents.htmlindex 4d70bbe89..287d053a7 100644--- a/landing/for-agents.html+++ b/landing/for-agents.html@@ -25,6 +25,7 @@<span class="nav-drop"><a href="/use-cases.html">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html" class="active">FOR AGENTS</a><a href="/docs/index.html">DOCS</a>diff --git a/landing/index.html b/landing/index.htmlindex 5f3b68dfd..b2d8e5e29 100644--- a/landing/index.html+++ b/landing/index.html@@ -25,6 +25,7 @@<span class="nav-drop"><a href="/use-cases.html" class="">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html">DOCS</a>diff --git a/landing/industries/finserv.html b/landing/industries/finserv.htmlindex f8975a741..fa88ba90a 100644--- a/landing/industries/finserv.html+++ b/landing/industries/finserv.html@@ -17,6 +17,7 @@<a href="/index.html" class="brand">XERJ.AI</a><a href="/index.html">HOME</a><a href="/product.html">PRODUCT</a>+ <a href="/case-studies.html">CASE STUDIES</a><a href="/solutions/index.html">SOLUTIONS</a><a href="/industries/index.html" class="active">INDUSTRIES</a><a href="/security/index.html">SECURITY</a>diff --git a/landing/industries/healthcare.html b/landing/industries/healthcare.htmlindex cabf98053..a42141b0d 100644--- a/landing/industries/healthcare.html+++ b/landing/industries/healthcare.html@@ -17,6 +17,7 @@<a href="/index.html" class="brand">XERJ.AI</a><a href="/index.html">HOME</a><a href="/product.html">PRODUCT</a>+ <a href="/case-studies.html">CASE STUDIES</a><a href="/solutions/index.html">SOLUTIONS</a><a href="/industries/index.html" class="active">INDUSTRIES</a><a href="/security/index.html">SECURITY</a>diff --git a/landing/industries/index.html b/landing/industries/index.htmlindex 3163b288e..cbded5b62 100644--- a/landing/industries/index.html+++ b/landing/industries/index.html@@ -17,6 +17,7 @@<a href="/index.html" class="brand">XERJ.AI</a><a href="/index.html">HOME</a><a href="/product.html">PRODUCT</a>+ <a href="/case-studies.html">CASE STUDIES</a><a href="/solutions/index.html">SOLUTIONS</a><a href="/industries/index.html" class="active">INDUSTRIES</a><a href="/security/index.html">SECURITY</a>diff --git a/landing/industries/public-sector.html b/landing/industries/public-sector.htmlindex 851cb332c..6cd703286 100644--- a/landing/industries/public-sector.html+++ b/landing/industries/public-sector.html@@ -17,6 +17,7 @@<a href="/index.html" class="brand">XERJ.AI</a><a href="/index.html">HOME</a><a href="/product.html">PRODUCT</a>+ <a href="/case-studies.html">CASE STUDIES</a><a href="/solutions/index.html">SOLUTIONS</a><a href="/industries/index.html" class="active">INDUSTRIES</a><a href="/security/index.html">SECURITY</a>diff --git a/landing/industries/retail.html b/landing/industries/retail.htmlindex 274c2f2f9..e3c795710 100644--- a/landing/industries/retail.html+++ b/landing/industries/retail.html@@ -17,6 +17,7 @@<a href="/index.html" class="brand">XERJ.AI</a><a href="/index.html">HOME</a><a href="/product.html">PRODUCT</a>+ <a href="/case-studies.html">CASE STUDIES</a><a href="/solutions/index.html">SOLUTIONS</a><a href="/industries/index.html" class="active">INDUSTRIES</a><a href="/security/index.html">SECURITY</a>diff --git a/landing/llms-full.txt b/landing/llms-full.txtindex 30d6b76b5..73d04f0e9 100644--- a/landing/llms-full.txt+++ b/landing/llms-full.txt@@ -306,6 +306,7 @@ Document-folder indexing (prior use case):AI security review of a codebase too big to read:https://github.com/xerj-org/xerj/tree/main/docs/case-studies/wordpress-security-audit+ https://xerj.org/case-studies/wordpress-security-audit.htmlAn agent audits real WordPress core — 1,492 PHP files, ~619k lines, ~26× a 200kcontext window — by indexing the tree as queryable facts (call graph + taintfacts, cap/nonce shapes, hook registrations, sanitizer-order fingerprints —@@ -327,6 +328,7 @@ AI security review of a codebase too big to read:Aggregate a semantic slice in one request (kNN + aggregations, rc.6):https://github.com/xerj-org/xerj/tree/main/docs/case-studies/calltree-analyticshttps://xerj.org/use-cases/semantic-analytics.html+ https://xerj.org/case-studies/calltree-analytics.htmlThe deep-research shape, where one question is half retrieval and halfanalytics — "of calls about wifi issues, how many are 2.4GHz vs 5GHz, and whatare the key issues?" — answered in a single POST /_search, because the@@ -366,6 +368,29 @@ Aggregate a semantic slice in one request (kNN + aggregations, rc.6):express this question in one request — what differs is the cost model and theoperational weight, not whether the shape is possible.+Postgres CDC + hybrid search (daily.dev question):+ https://github.com/xerj-org/xerj/tree/main/docs/case-studies/daily-dev-postgres-cdc+ https://xerj.org/case-studies/daily-dev-postgres-cdc.html+ Functional proof on a synthetic 8-row corpus modeled on the open-source+ daily-api Post schema — NOT daily.dev's data; daily.dev's founder asked the+ question publicly and daily.dev is not a customer. A small consumer drains a+ Postgres logical-replication slot into XERJ: 3/3 mutation types+ (INSERT/UPDATE/DELETE) reflected in one drain; a consumer killed mid-stream+ lost 0 changes and replayed exactly the 2 missed ones from the confirmed LSN+ (at-least-once delivery, converging via idempotent upsert/delete-by-id plus+ LSN checkpointing — exactly-once-convergent, not bare exactly-once). One+ hybrid rrf query replaces the tsvector+pgvector two-query app-side merge.+ Caveats: the demo reads the built-in test_decoding slot (the production shape+ is pgoutput, wal2json, or Debezium in front of the same upsert/delete path);+ no latency, throughput, or cost numbers exist — "within seconds" is+ qualitative; embeddings are external (EmbeddingGemma via Ollama — XERJ stores+ and searches vectors, it does not embed them here); fusion is rrf or linear+ only, fusion:"learned" does not exist.++All three case studies are collected at https://xerj.org/case-studies.html —+one measured on real code (WordPress), two functional proofs on synthetic+corpora (semantic analytics, Postgres CDC); the named parties are not customers.+Also validated end-to-end: semantic search & RAG, passage retrieval, vector search(kNN), vector quantization (SQ8), hybrid search, log analytics, anomaly detection,continuous anomaly datafeeds, migrate-from-Elasticsearch — all linked from the@@ -546,4 +571,6 @@ POST /_memory/agent-42/_recall { "query": "what did they ask about security", "Autoindex evaluation .... https://github.com/xerj-org/xerj/tree/main/demo/usecases/autoindexSecurity-audit study .... https://github.com/xerj-org/xerj/tree/main/docs/case-studies/wordpress-security-auditSemantic-analytics ...... https://github.com/xerj-org/xerj/tree/main/docs/case-studies/calltree-analytics+ Postgres CDC study ...... https://github.com/xerj-org/xerj/tree/main/docs/case-studies/daily-dev-postgres-cdc+ Case-studies hub (web) .. https://xerj.org/case-studies.htmlFront door (short) ...... https://xerj.org/llms.txtdiff --git a/landing/llms.txt b/landing/llms.txtindex aec0f1d8f..30d44507d 100644--- a/landing/llms.txt+++ b/landing/llms.txt@@ -66,6 +66,14 @@ Copy-pasteable, live-validated guides — this is first-class documentation, notSupporting evidence, not the headline: in a closed-loop, cache-off benchmark vs live Elasticsearch 8.13.4, XERJ scored 55 wins / 26 ties / 4 losses (3 N/A) across the full matrix, with a 1.72× bulk-ingest win (191k vs 111k docs/s), a 1.61× smaller on-disk footprint, and kNN recall@10 1.00 (unfiltered kNN is now HNSW-served with exact rescoring; k=10 latency ties ES at ~1.8 ms). All 4 losses are the same architectural gap — read p99 under a concurrent write flood (mixed read-under-write); they are published, not hidden. Acked deletes survive SIGTERM/SIGKILL restarts (11/11 adversarial crash cells). Measure on your own workload.+## Case studies++Web hub: [xerj.org/case-studies.html](https://xerj.org/case-studies.html). Each is a real public question answered end to end with runnable scripts and recorded output. The named parties (calltree.ai, daily.dev) asked the questions and are NOT customers. One study is measured on real code; the other two are functional proofs on small synthetic corpora — no performance numbers exist for those two.++- **WordPress security audit** — [walkthrough](https://github.com/xerj-org/xerj/tree/main/docs/case-studies/wordpress-security-audit) ([web page](https://xerj.org/case-studies/wordpress-security-audit.html)): MEASURED on real code — an agent security-audited WordPress core (1,492 PHP files, ~619k lines, ~26× a 200k context window) for ~26k tokens vs the ~5.2M it costs just to load core once, by querying an indexed code graph (built in ≈3.6 s, 100% tree-sitter-php parse rate; 11,990 functions narrowed to 4 candidates in one query) and reading only the survivors. The honest result: core came back hardened — the negative result is the result; the headline `wp_http_validate_url` cloud-metadata (169.254.0.0/16) gap is a known-class limitation, explicitly not a novel 0-day; grep counter-examples are published; recall is bounded by the AST taint/authz model. Full findings detail in the Use cases entry above.+- **Semantic analytics in one request (calltree.ai question)** — [walkthrough](https://github.com/xerj-org/xerj/tree/main/docs/case-studies/calltree-analytics) ([web page](https://xerj.org/case-studies/calltree-analytics.html)): FUNCTIONAL PROOF on a GENERATED 130-conversation seeded corpus — one `POST /_search` bundles kNN retrieval + aggregations over the retrieved top-k slice (rc.6) + evidence hits. Its numbers (29/25 band split, 4.0 CSAT median, 897/924 s handle times) are generator artifacts, not findings; nothing was timed; `hits.total.value` echoes k, not a match count; an aggs-bearing kNN always runs the exact brute-force scan, so no performance claim exists for this path; ES/OpenSearch and Postgres+pgvector can express the same shape — the difference is cost model and operational weight. calltree.ai posed the question; it is not a customer. Full limits in the Use cases entry above.+- **Postgres CDC + hybrid search (daily.dev question)** — [walkthrough](https://github.com/xerj-org/xerj/tree/main/docs/case-studies/daily-dev-postgres-cdc) ([web page](https://xerj.org/case-studies/daily-dev-postgres-cdc.html)): FUNCTIONAL PROOF on a synthetic 8-row corpus modeled on the open-source daily-api Post schema — NOT daily.dev's data; daily.dev's founder asked the question publicly and daily.dev is not a customer. A small consumer drains a Postgres logical-replication slot into XERJ: 3/3 mutation types (INSERT/UPDATE/DELETE) reflected in one drain; a consumer killed mid-stream lost 0 changes and replayed exactly the 2 missed ones from the confirmed LSN (at-least-once delivery, converging via idempotent upsert/delete-by-id + LSN checkpointing — not bare exactly-once). One hybrid `rrf` query replaces the tsvector+pgvector two-query app-side merge. Caveats: the demo reads the built-in test_decoding slot (production shape: pgoutput, wal2json, or Debezium in front of the same upsert/delete path); no latency, throughput, or cost numbers exist; embeddings are external (EmbeddingGemma via Ollama — XERJ stores and searches vectors, it does not embed them here); fusion is `rrf` or `linear` only.+## Endpoint map (Elasticsearch-compatible, :9200)- `GET /` — node/version handshake (tagline "You Know, for Search").diff --git a/landing/playground.html b/landing/playground.htmlindex 42c7fe81a..62bb68811 100644--- a/landing/playground.html+++ b/landing/playground.html@@ -20,6 +20,7 @@<a href="index.html" class="brand">XERJ.AI</a><a href="index.html">HOME</a><a href="product.html">PRODUCT</a>+ <a href="/case-studies.html">CASE STUDIES</a><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html">DOCS</a><a href="/docs/recipes/index.html">RECIPES</a>diff --git a/landing/pricing/index.html b/landing/pricing/index.htmlindex e4c4ee160..bf6fc443e 100644--- a/landing/pricing/index.html+++ b/landing/pricing/index.html@@ -17,6 +17,7 @@<a href="/index.html" class="brand">XERJ.AI</a><a href="/index.html">HOME</a><a href="/product.html">PRODUCT</a>+ <a href="/case-studies.html">CASE STUDIES</a><a href="/solutions/index.html">SOLUTIONS</a><a href="/industries/index.html">INDUSTRIES</a><a href="/security/index.html">SECURITY</a>diff --git a/landing/product.html b/landing/product.htmlindex 5c80dbf01..338b20607 100644--- a/landing/product.html+++ b/landing/product.html@@ -23,6 +23,7 @@<span class="nav-drop"><a href="/use-cases.html" class="">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html">DOCS</a>diff --git a/landing/resources/index.html b/landing/resources/index.htmlindex 610f3db9f..1b284562e 100644--- a/landing/resources/index.html+++ b/landing/resources/index.html@@ -17,6 +17,7 @@<a href="/index.html" class="brand">XERJ.AI</a><a href="/index.html">HOME</a><a href="/product.html">PRODUCT</a>+ <a href="/case-studies.html">CASE STUDIES</a><a href="/solutions/index.html">SOLUTIONS</a><a href="/industries/index.html">INDUSTRIES</a><a href="/security/index.html">SECURITY</a>diff --git a/landing/security/index.html b/landing/security/index.htmlindex 1563a09fa..74892cf12 100644--- a/landing/security/index.html+++ b/landing/security/index.html@@ -17,6 +17,7 @@<a href="/index.html" class="brand">XERJ.AI</a><a href="/index.html">HOME</a><a href="/product.html">PRODUCT</a>+ <a href="/case-studies.html">CASE STUDIES</a><a href="/solutions/index.html">SOLUTIONS</a><a href="/industries/index.html">INDUSTRIES</a><a href="/security/index.html" class="active">SECURITY</a>diff --git a/landing/sitemap.xml b/landing/sitemap.xmlindex c01642cf9..aca07fce9 100644--- a/landing/sitemap.xml+++ b/landing/sitemap.xml@@ -70,6 +70,26 @@<lastmod>2026-07-27</lastmod><priority>0.7</priority></url>+ <url>+ <loc>https://xerj.org/case-studies.html</loc>+ <lastmod>2026-07-28</lastmod>+ <priority>0.8</priority>+ </url>+ <url>+ <loc>https://xerj.org/case-studies/wordpress-security-audit.html</loc>+ <lastmod>2026-07-28</lastmod>+ <priority>0.7</priority>+ </url>+ <url>+ <loc>https://xerj.org/case-studies/calltree-analytics.html</loc>+ <lastmod>2026-07-28</lastmod>+ <priority>0.7</priority>+ </url>+ <url>+ <loc>https://xerj.org/case-studies/daily-dev-postgres-cdc.html</loc>+ <lastmod>2026-07-28</lastmod>+ <priority>0.7</priority>+ </url><url><loc>https://xerj.org/brand.html</loc><lastmod>2026-04-14</lastmod>diff --git a/landing/solutions/index.html b/landing/solutions/index.htmlindex bfb362e28..3e7e5742c 100644--- a/landing/solutions/index.html+++ b/landing/solutions/index.html@@ -17,6 +17,7 @@<a href="/index.html" class="brand">XERJ.AI</a><a href="/index.html">HOME</a><a href="/product.html">PRODUCT</a>+ <a href="/case-studies.html">CASE STUDIES</a><a href="/solutions/index.html" class="active">SOLUTIONS</a><a href="/industries/index.html">INDUSTRIES</a><a href="/security/index.html">SECURITY</a>diff --git a/landing/style.css b/landing/style.cssindex 922c24c8e..d2f37efe8 100644--- a/landing/style.css+++ b/landing/style.css@@ -14,6 +14,7 @@--z-faint: #2b2a28;--z-line: #3a3836;--z-accent: #ffc400; /* solid, not neon */+ --z-cmp: #7f93aa; /* comparison series in charts — never XERJ */--font-display: 'Big Shoulders Display', 'Inter', system-ui, sans-serif;--font-prose: 'Inter', system-ui, sans-serif;@@ -53,6 +54,7 @@ html[data-theme='day'] {#ffc400 on cream is 1.7:1 (unreadable). #a06800 is 5.7:1 (AA body).Still reads as "XERJ yellow", just at a different luminance. */--z-accent: #a06800;+ --z-cmp: #6f8aa8;}/* ---------- base ---------- */diff --git a/landing/use-cases.html b/landing/use-cases.htmlindex 6f5fbd9af..d2bcb04d0 100644--- a/landing/use-cases.html+++ b/landing/use-cases.html@@ -23,6 +23,7 @@<span class="nav-drop active"><a href="/use-cases.html" class="active">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html">DOCS</a>diff --git a/landing/use-cases/ai-search-retrieval.html b/landing/use-cases/ai-search-retrieval.htmlindex 6b0bbc104..5e2ac7338 100644--- a/landing/use-cases/ai-search-retrieval.html+++ b/landing/use-cases/ai-search-retrieval.html@@ -23,6 +23,7 @@<span class="nav-drop active"><a href="/use-cases.html" class="active">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html">DOCS</a>diff --git a/landing/use-cases/code-security-audit.html b/landing/use-cases/code-security-audit.htmlindex a124f9e57..57d92c485 100644--- a/landing/use-cases/code-security-audit.html+++ b/landing/use-cases/code-security-audit.html@@ -23,6 +23,7 @@<span class="nav-drop active"><a href="/use-cases.html" class="active">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html">DOCS</a>diff --git a/landing/use-cases/elasticsearch-replacement.html b/landing/use-cases/elasticsearch-replacement.htmlindex 51f8f15a8..fc9145512 100644--- a/landing/use-cases/elasticsearch-replacement.html+++ b/landing/use-cases/elasticsearch-replacement.html@@ -23,6 +23,7 @@<span class="nav-drop active"><a href="/use-cases.html" class="active">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html">DOCS</a>diff --git a/landing/use-cases/operational-intelligence.html b/landing/use-cases/operational-intelligence.htmlindex f10ee531f..61c3512ad 100644--- a/landing/use-cases/operational-intelligence.html+++ b/landing/use-cases/operational-intelligence.html@@ -23,6 +23,7 @@<span class="nav-drop active"><a href="/use-cases.html" class="active">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html">DOCS</a>diff --git a/landing/use-cases/security-analytics.html b/landing/use-cases/security-analytics.htmlindex f11b1f9e7..fa00deb3a 100644--- a/landing/use-cases/security-analytics.html+++ b/landing/use-cases/security-analytics.html@@ -23,6 +23,7 @@<span class="nav-drop active"><a href="/use-cases.html" class="active">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html">DOCS</a>diff --git a/landing/use-cases/semantic-analytics.html b/landing/use-cases/semantic-analytics.htmlindex 01dc22a0e..e93c5f990 100644--- a/landing/use-cases/semantic-analytics.html+++ b/landing/use-cases/semantic-analytics.html@@ -23,6 +23,7 @@<span class="nav-drop active"><a href="/use-cases.html" class="active">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html">DOCS</a>diff --git a/landing/use-cases/unified-observability.html b/landing/use-cases/unified-observability.htmlindex 2c99351fd..101672214 100644--- a/landing/use-cases/unified-observability.html+++ b/landing/use-cases/unified-observability.html@@ -23,6 +23,7 @@<span class="nav-drop active"><a href="/use-cases.html" class="active">USE CASES</a></span>+ <a href="/case-studies.html">CASE STUDIES</a><span class="spacer"></span><a href="/for-agents.html">FOR AGENTS</a><a href="/docs/index.html">DOCS</a>