Topic: RAG (Retrieval-Augmented Generation)

topic

Topic: RAG (Retrieval-Augmented Generation)

emerging (5 sources - S8 "LLM Wiki", Andrej Karpathy, 2026-04-04; S10 "Tool search",

About this note

Status: emerging (5 sources - S8 "LLM Wiki", Andrej Karpathy, 2026-04-04; S10 "Tool search", Microsoft, 2026-07-29; S11 "agent-first data stack", LangChain, 2026-07-27; S16 "AgentPoison", 2026-08-04 - the topic's first T3 academic source and its first adversarial one, contributing retrieval geometry as a control surface an attacker can write into; S26 "LLM Knowledge Bases", Ben Holmes, 2026-08-15 - the first independent instantiation of S8). Still emerging: S16 corroborates none of the other three, chunking, embeddings, vector stores, hybrid search and grounding evals remain at zero, and S26 raises the source count without raising the evidence - see the warning immediately below.

⚠️ S26 is a talk about S8, and the two must never be counted as two votes for the pattern. Ben Holmes builds on Karpathy's gist, names it on stage and displays it in full. Under the independence rule that display is the same leg wearing a different hat - same author, same document, same revision - so no S8 node moved and no S8 claim's confidence rose. What S26 independently supplies is that somebody other than the author built the pattern and ran it on a real corpus, which is evidence about instantiability, not efficacy: like S8, it measures nothing at all (S26 n16). This is the exact trap ADR-0012 was written for, arriving from a new direction - not a passing mention this time, but a faithful and enthusiastic re-display, which is harder to spot and pulls in the same wrong direction. Basis: the topic's first source arrived from an unexpected direction - it is an argument against query-time retrieval, not a description of how to do it. That is still the right home for it: a claim about what to build instead of RAG belongs in the note that owns RAG, and splitting it into a knowledge-bases note would put two halves of one argument in two places (architect call, see "Scope" below).

Why a third source still does not make this established. The three sources describe a maintained knowledge layer, a tool-schema index, and a hand-written business-context layer - and no two of them corroborate each other on the topic's core machinery. S11 in particular is silent on S8's central question (can an LLM maintain its own store?), having chosen the opposite answer - every write in S11's loop is a human's - without arguing for it. Chunking, embeddings, vector stores and grounding evaluation remain at zero sources. What S11 does add is the topic's first production deployment of the compiled-layer pattern, and its first externally corroborated claims (95, 96, 98). Coverage improved; corroboration did not. That is emerging with better coverage, per ADR-0012 run in the honest direction.

The original two-source reasoning, retained. S10 brings what S8 could not - real retrieval mechanics, on a public benchmark, with numbers - but it retrieves over tool schemas, not over a document corpus. Chunking, embeddings, vector stores and grounding evaluation still have zero sources. The two sources also barely touch: they agree only that heavyweight retrieval infrastructure is often avoidable, and reach that from opposite ends. Two sources that do not corroborate each other on the topic's core machinery is emerging with better coverage, not established - the same call ADR-0012 asks for, run in the honest direction.

Read the evidence limit first. S8 is T4 - one practitioner describing his own workflow - with no measurement of any kind: no eval, no baseline, no comparison against the retrieval systems it opens by dismissing, no cost figure, no reported failure. Every claim below is single-leg, needs-check. The source has no figures, no code and no data, so it cannot produce an internally corroborated claim, and none is marked as one. Two things count in its favour and neither is evidence: nothing is being sold, and the document declares its own abstractness rather than blurring pattern into result.

Living, cross-source synthesis on RAG. Many sources feed this note; merge and de-duplicate as they arrive (architect persona). Every claim cited.

On this pageWhat this coversSynthesisThe diagnosis: retrieval is stateless across queriesThe alternative: compile once, then maintainLayer the store by write access, not by contentThree operations, and two of them are not obviousNavigation: a catalog and a log, deliberately not one fileThe claim that would matter most, if it were measuredWhy the pattern is only now buildable: the constraint is labourShip the pattern as prose, let the agent instantiate itS26: the pattern instantiated, and the four parts it turned out to needS10: what happens when the retrieved corpus is the tool catalogThe finding that transfers: retrieval quality is an editorial problem before it is an algorithmic oneWhere S8 and S10 actually meet, and where they do notS11: the maintained layer, built and staffed - and the trust signal nobody has measuredRetrieval geometry is a control surface, and an adversary can write into itKey claimsKey visualsOpen questions / conflictsSources feeding this topic

What this covers#

Retrieval-augmented generation: chunking, embeddings, vector stores, retrieval strategies (semantic / hybrid / reranking), and grounding generations in retrieved context.

Widened on S8's arrival to cover the other answer to the same question: maintained knowledge layers - compiling sources once into a persistent artifact that is kept current, instead of re-retrieving and re-synthesizing per query. The two are alternatives to one problem (how does a model answer from a corpus it was not trained on?), so they belong in one note.

Boundary with the neighbours:

Synthesis#

The diagnosis: retrieval is stateless across queries#

S8's opening is not the usual complaint about RAG. The usual complaint is that retrieval returns the wrong chunks. This one holds even when retrieval is perfect: "the LLM is rediscovering knowledge from scratch on every question. There's no accumulation." The named failure case is the synthesis question - "Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time" [S8 §The core idea, n1].

💡 Query-time synthesis - relating documents to each other when the question arrives. Cheap to build, because nothing must be maintained; paid for on every question, while the user waits; and the result is discarded.

The cost being described is not retrieval, it is synthesis - and it is paid at the worst possible moment, repeatedly, for the same answer.

The alternative: compile once, then maintain#

"The knowledge is compiled once and then kept current, not re-derived on every query" [S8 §The core idea, n2]. Take "compiled" literally: this is a build step versus an interpreter. Do the expensive relating early and hand the reader an artifact where "the cross-references are already there. The contradictions have already been flagged."

Every other property of the design falls out of that one choice:

Because synthesis moves to ingest time... ...you gain ...and you owe
the artifact exists before the question answering is a read, not a computation the artifact can be stale - a failure mode a retrieval result structurally cannot have
one source is integrated across many pages connections persist between sessions an ingest is a wide write: "10-15 wiki pages" per source [n17]
the store is written, not derived on demand it is greppable, diffable, reviewable somebody must maintain it - the constraint the whole pattern turns on

The right column is where the third operation comes from, and it is the half of the trade that retrieval-based designs get for free.

Layer the store by write access, not by content#

The architecture is an ownership diagram [S8 §Architecture, n4]:

Layer Contents Who writes
Raw sources articles, papers, images, data Nobody. "the LLM reads from them but never modifies them. This is your source of truth."
The wiki summaries, entity/concept pages, comparisons, synthesis LLM only. "You read it; the LLM writes it."
The schema the contract document (AGENTS.md / CLAUDE.md) Both. "You and the LLM co-evolve this over time."

The immutable raw layer is the quiet load-bearing rule. Because the LLM can never edit it, every derived page can be walked back to something that did not move under it. Remove that constraint and the knowledge base becomes its own only witness - it can drift with nothing left to check it against.

Refined by S26, which implemented this table and broke exactly this row (S26 d1). The first independent instance enriches notes by writing titles, frontmatter and backlinks into the raw files, while the same talk displays the immutability rule and encodes it as a hard constraint in its own scheduled job (S26 n7, n11). The reconciliation is in that job's wording and is never said aloud: the constraint it actually enforces is "do not edit original notes outside wikis/ unless explicitly instructed by that wiki's AGENTS.md", which is a different and weaker rule. What survives is "one declared writer per layer", not "nobody writes to raw" - enrichment owns raw's metadata, the wiki job owns the wiki, and neither crosses. The reason the strict version fails is structural rather than sloppy: capture has to be frictionless, so notes arrive with no title and no tags (S26 n2, n3), and the metadata has to land somewhere. The cost of the weaker rule is real and is exactly what this paragraph warns about - the audit trail moves from "the agent could not have edited this" to "git will tell you what it did". (The refinement is this brain's reading; S26 never notices the contradiction.)

And the schema document, not the retrieval stack, is where the engineering goes: it is "the key configuration file - it's what makes the LLM a disciplined wiki maintainer rather than a generic chatbot" [n5]. That is an unusual answer to where does the difficulty live, and it is the claim most at risk of being self-serving, since the author is describing a workflow he already likes.

Three operations, and two of them are not obvious#

Ingest integrates; it does not index [n3]. The pass updates entity pages, revises topic summaries, and notes where new data contradicts old claims - which commits you to something a document store never does: an ingest may weaken the existing synthesis.

Query writes back [n7]. "good answers can be filed back into the wiki as new pages... these are valuable and shouldn't disappear into chat history." This is the half most designs skip. The obvious input to a knowledge base is the sources; this says the questions are an input of equal standing, and an analysis dying in a chat log is a loss of the same kind as an uningested source. It also makes the store reflect what its owner cared about, not merely what crossed his desk.

Lint is a periodic pass over the whole store [n8], enumerated as six defects: contradictions between pages, stale claims superseded by newer sources, orphan pages with no inbound links, important concepts lacking their own page, missing cross-references, and data gaps a web search could fill. Two words carry the design - "Periodically" and "ask": it is neither a step of ingest nor a daemon, but a separately invoked operation on its own clock. See memory.md, where this converges with two other sources.

Two files with two different jobs [S8 §Indexing and logging, n9]:

index.md log.md
Oriented by content - what exists time - what happened
Shape a catalog: link, one-line summary, optional metadata append-only entries
Written rewritten on every ingest appended, never edited
Read first, on every query, to find the right pages before drilling in for history and recent activity

The tip attached to the log is small and good: a consistent entry prefix (## [2026-04-02] ingest | Article Title) makes it parseable with grep "^## \[" log.md | tail -5 - structure cheap enough that plain unix tools are the query engine.

Collapse the two and you get a file that is either useless as an index or lying as a log. An index must be rewritten to stay accurate; a log must never be rewritten to stay trustworthy. Those are opposite requirements on the same bytes.

The claim that would matter most, if it were measured#

"This works surprisingly well at moderate scale (~100 sources, ~hundreds of pages) and avoids the need for embedding-based RAG infrastructure" [S8 §Indexing and logging, n10].

This is the topic's headline open question, not its headline finding. It is the source's one falsifiable, quantified claim, and it arrives with no eval set, no comparison against the infrastructure it says you can skip, no definition of "works well", no account of what breaks past the ceiling, and no derivation of the ~100. The word "surprisingly" is doing the work a measurement should.

The staged position is the defensible part regardless: defer the search infrastructure until the index stops working [n11], then reach for a real engine - qmd is named (local, hybrid BM25/vector, LLM re-ranking, on-device, shipping both a CLI and an MCP server, so an agent can shell out to it or bind it as a native tool).

Why the pattern is only now buildable: the constraint is labour#

"The tedious part of maintaining a knowledge base is not the reading or the thinking - it's the bookkeeping... Humans abandon wikis because the maintenance burden grows faster than the value" [S8 §Why this works, n13]. The lineage makes it land: this is Vannevar Bush's Memex (1945), "private, actively curated, with the connections between documents as valuable as the documents themselves", and "the part he couldn't solve was who does the maintenance" [n15].

💡 Memex - Bush's 1945 personal document store with associative trails between documents. Blocked for eighty years on maintenance labour rather than on storage, retrieval or linking - which reframes what an LLM contributes here as economic rather than intellectual.

But do not carry the sentence that follows it. "The wiki stays maintained because the cost of maintenance is near zero" is unmeasured and false on its face for anyone paying per token - the cost moved and shrank, it did not vanish. And the claim that "LLMs... don't forget to update a cross-reference" is contradicted by the document's own §Lint, which instructs you to go hunting for missing cross-references [d1].

Believe §Lint. It is the operational section, written by someone who evidently found those defects; §Why this works is a closing argument. The six-item list is an admission that integrate-on-ingest leaves defects behind.

The honest version, and the one worth promoting: LLM bookkeeping is cheap enough to be worth doing repeatedly, not so reliable that doing it once is enough. Weaker, and far more useful - it is the version that actually implies the third operation.

Ship the pattern as prose, let the agent instantiate it#

"This document is intentionally abstract... The right way to use this is to share it with your LLM agent and work together to instantiate a version that fits your needs" [S8 §Note, n16].

Read as a claim about distribution format, this is the interesting one: the unit shipped is neither a library nor a specification but prose sized for an agent's context window, deliberately underspecified so the agent fills in the particulars for its own harness and domain - with the schema document [n5] as where that instantiation lands and persists. It is also conveniently unfalsifiable: a document that specifies nothing cannot be wrong about an implementation.

S26: the pattern instantiated, and the four parts it turned out to need#

S8 ships prose and tells you to hand it to your agent [n16]. S26 is the first record in this brain of someone doing that and living with the result, and the useful content is not the agreement - it is the residue. Four mechanisms appear in the instance that appear nowhere in the pattern, and each one exists because something broke without it.

An idempotence stamp, which is what makes maintenance affordable at all [S26 n5]. Every enriched note gets an enrichedAt timestamp in its frontmatter, and the enrichment skill's third line is "if the frontmatter already has enrichedAt, the note is done - skip it". The instance's own framing is about agents coordinating across passes, and the larger consequence is economic: without the stamp, maintenance is an operation over the whole corpus whose cost grows with everything ever written, so it gets more expensive precisely as the knowledge base gets more valuable. With it, cost tracks the writing rate rather than the archive size. This is the missing precondition for S8's own third operation - "periodically, ask the LLM to health-check the wiki" [n8] assumes a human choosing when, and it assumes that because an unbounded pass over everything is not something you would put on a timer.

A controlled vocabulary with an explicit reluctance instruction [S26 n6]. Tags live in a references/tags.md registry the agent must read before tagging; reuse is mandated, coinage requires appending a one-line definition, and the skill says in bold to be reluctant to add new tags. The stated reason is that the model otherwise invents - and the structural version of that is worth keeping, because it is not about model temperament. Each enrichment call sees one note, and a tag that is locally perfect is globally useless, since a taxonomy's whole value is that two notes land under one label. An agent with no view of the corpus produces one term per document, which is not a taxonomy but a restatement of the filenames. The registry is the mechanism that gives a per-note operation a corpus-wide memory. The quieter idea beside it is faceting - a separate source-medium axis (book, podcast, video, article) kept out of the topic vocabulary so the two cannot compete for one slot.

Unattended scheduling, which is the answer to this note's own standing question about "periodically" [S26 n10]. The loop is deliberately unclever: sync the markdown into a cloud sandbox, run the skill, sync it back. Two schedules run, one weekly for wiki refresh and one daily for enrichment, and the human meets the output as a morning diff rather than triggering it. Efficacy is unmeasured and the review step that carries the entire safety argument is one sentence [n13] - nothing reports how often a run produces a bad edit or whether one has ever been rejected.

A plural schema layer [S26 n12, figure-only]. S8 describes a schema document; the instance gives each wiki directory its own AGENTS.md, discovered with find, and instructs the scheduled job to "follow that wiki's local schema over any generic instruction here". One maintainer serves many knowledge bases none of which it knows anything about, and a new wiki becomes maintained by creating a directory with a schema file in it. The generic instructions become a fallback rather than a specification.

One more thing transfers, and it is about trust rather than mechanism. The generated entity pages carry per-claim citations - every bullet under "What the sources say" terminates in a link to the specific dated note behind it, not a source list at the foot of the page [S26 n9]. The difference shows up when a claim is wrong: page-level sourcing means re-reading four notes to find the error, claim-level means following one link. It makes a derived page debuggable one assertion at a time, and a generated artifact that cannot be debugged is one you eventually stop trusting wholesale. Note that this brain reached the same rule independently, which is a convergence rather than a corroboration, and both instances are single-author.

S10: what happens when the retrieved corpus is the tool catalog#

The topic's second source retrieves over something this note did not anticipate, and the shift is worth stating plainly: the corpus is 44,000 tool schemas and the consumer is the model itself, mid-turn. That changes the economics in one specific way - a retrieval miss does not return a worse answer, it removes a capability, and the model may not know the capability existed.

The first retrieval mechanics in this note, and the first numbers. Recall@10 on ToolRet, three slices [S10 Figure 3, n11]:

Method Web Code Customized
Tool search (enhanced sparse, lexical similarity) 45.99% 39.56% 41.36%
BM25s 24.62% 28.23% 32.39%
BGE-reranker-v2-gemma (GPU cross-encoder) 45.94% 38.23% 49.43%

💡 Recall@k - the share of queries where the correct item appears anywhere in the top k. Silent about rank within those k, and silent about the rest.

💡 Cross-encoder reranker - a model that scores query and candidate together rather than comparing precomputed vectors. More accurate and far more expensive, because nothing can be indexed ahead of time: every candidate needs a forward pass at query time.

The claim S10 draws is defensible and useful: a tuned sparse lexical pipeline matched a GPU cross-encoder in two of three categories without paying for the GPU at serving time [n12]. That is a genuine data point against the reflex that quality retrieval requires neural reranking.

Two things weaken it, and the first is stated by the source itself:

  1. It is not one experiment [d2]. The BM25s and BGE columns are "from [1]" - lifted from another paper - while the tool-search column is a self-run that deliberately "left out the benchmark's instruction string" to avoid an extra LLM call at serving time. Whether the borrowed baselines also omitted it is never said, so the columns may not be like-for-like and the direction of the bias is unknown.
  2. The absolute level goes undiscussed. Recall@10 in the low forties means the right tool is outside the top ten for more than half of queries, while the shortlist default is five. S10's closing line - "Smaller is not better if the right capability disappears. The shortlist has to be good" - is never placed beside its own table.

The finding that transfers: retrieval quality is an editorial problem before it is an algorithmic one#

The most reusable thing in S10 is what happened when the benchmark failed. The failures were not in the ranker: descriptions "capturing implementation detail instead of user intent vocabulary", and generic verbs - "get", "create", "manage", "REST API" - that cannot distinguish a tool from its neighbours [S10 §Tuning the search space, n13]. Their example is exact: execute_query, described truthfully as "runs a query against the configured database", must be found by users typing "analytics", "dashboard", "SQL", "reporting", "warehouse". Accurate and unsearchable are perfectly compatible.

The fix is an index-only alias field (additional_search_text): indexed for retrieval, invisible to the model in MCP responses, and leaving the upstream schema untouched [n14]. So retrieval vocabulary and consumer-facing schema become independently tunable, and a third-party corpus can be tuned for local vocabulary without forking it.

Self-reported gain: retrieval hit rate "+about 56%", end-to-end accuracy "+about 55%", "within about 4% of the full-catalog baseline" [n15]. Do not quote these - no dataset, no absolute baselines, no statement of relative-versus-points, and it is not the ToolRet run above. Two evaluation regimes are blended in one argument.

The generalisation, which is not about tools: the moment an item is retrieved rather than enumerated, its description stops being documentation and becomes an index entry - and it must be written in the vocabulary of whoever is searching. The first tuning pass on any retrieval system is therefore editorial, and S10 says so outright: "The first useful tuning pass probably won't be algorithmic. It will be editorial."

Where S8 and S10 actually meet, and where they do not#

They agree on one thing, arrived at from opposite ends: heavyweight retrieval infrastructure is more avoidable than the field assumes. S8 defers it entirely at moderate scale [n10, n11]; S10 keeps a real index but shows an enhanced sparse lexical pipeline holding its own against a GPU cross-encoder [n12].

But S10 does not corroborate n10, and it would be an easy mistake to record that it does. S8's claim is that a hand-maintained index file read by the model substitutes for embedding retrieval at ~100 sources. S10 runs a real search engine over 44,000 items. The shared word is "you may not need embeddings"; the designs have nothing else in common, and S10's scale is three orders of magnitude past S8's stated ceiling. Recorded as refines at most: sparse lexical retrieval is more competitive than expected, which makes S8's instinct more plausible without testing his design.

They disagree, usefully, on where synthesis happens. S8 moves work to ingest time because query-time synthesis is repeated and discarded. S10 does the opposite - the index is built ahead of time, but the selection happens per query, and it must, because which tools a task needs is not knowable at ingest. The dividing question is whether the query set is predictable. For a document corpus answering repeated synthesis questions, S8's compile-once wins. For a tool catalog serving one agent across many workflows, nothing can be compiled and the per-query cost is unavoidable. That is a sharper boundary than either source states alone.

S11: the maintained layer, built and staffed - and the trust signal nobody has measured#

S8 argued for a compiled knowledge layer and shipped no implementation. S10 built a retrieval index over tool schemas. S11 is the first source here that is a maintained knowledge layer in production for a year, over a business domain, with named people paying for it - which makes it the closest thing this note has to evidence that the pattern is livable, and no evidence at all that it works.

The layer is five stores split by the question each answers (claim 92, and the detail lives in context-engineering.md). Two of them belong to this note specifically:

Endorsements are a retrieval-ranking signal wearing an organisational hat (claim 95). The problem is rag's oldest: a company has four tables, two dashboards and a graveyard of ad-hoc queries all touching "ARR", and nothing tells the retriever which to prefer - "without a trust signal, the agent may choose an asset that looks relevant but is not the best source" [S11 §Endorsements, n6]. The answer is a flag, and the design rule attached to it is the transferable part:

"If everything is endorsed, the signal stops being useful." A trust signal carries information only in proportion to what it excludes, so it needs a writer restriction - here, only the data team may set it, and endorsed assets need review before changes ship.

This is prior art, and the prior art is better (S11 R1 F4). Power BI has shipped endorsement for years - labels, attribution, and priority in search results - with two tiers where S11 has one: Promotion, applicable by anyone with workspace write access, and Certification, restricted to an admin-defined reviewer group and disabled by default (T1, Microsoft Learn). The two-tier split is the better answer to S11's own saturation worry, because the cheap tier absorbs the volume of "this is good, use it" and keeps the scarce tier scarce without making its gatekeepers a bottleneck. That a hyperscaler's governance feature and a three-person data team arrived at the same primitive independently, years apart, is a better argument for trust signals being structurally necessary than either instance alone.

⚠️ The open question underneath it is embarrassing and cheap to answer. Power BI documents endorsement's effects on human discovery - badges, sort order, search priority. Nobody has measured whether a trust flag changes an agent's source selection. The transfer is assumed by everyone and demonstrated by no one, and the experiment is an ablation: remove the flags, hold everything else fixed, measure source choice. See "Open questions" below.

The query log is the demand signal for what to document (claim 96). S11 runs it as an operational routine with a symptom-to-layer triage rule [S11 §How we improve the system, n7]; independently, MotherDuck mined descriptions from query history - "how frequently an identifier appears, in which SQL clauses, with which other identifiers" - for ~$0.50 per warehouse, and a third group found "Common Queries" the highest-yield metadata component of all (T2 / T4, R1 F2). Two unrelated teams found usage to be the highest-yield context source. This is claim 69 (queries are an input to a knowledge base, not just a load on it) arriving with a price tag attached.

And the labour claim finally has a second precedent. Claim 72 held that the binding constraint on a maintained knowledge base is maintenance labour, on S8 and Bush's Memex (1945). S11 adds a second, from a different literature: Feigenbaum's knowledge acquisition bottleneck (1977) found expert systems limited not by inference but by eliciting and encoding expertise from humans (R1 F5). Claim 98 refines which half the LLM removed: prose is a far cheaper target formalism than production rules, so the encoding cost collapsed - and the elicitation cost did not move at all. Someone still has to sit with the GTM team and find out what they mean by "pipeline". That is why S11's layer costs three permanent people rather than one project.

💡 Knowledge acquisition bottleneck - the limiting factor in a knowledge-based system is the human labour of extracting expert knowledge and encoding it usably, not the system's reasoning power. Identified by Feigenbaum in 1977 and never solved, only made cheaper.

What S11 does not do is corroborate S8. Both describe a maintained layer, but S8's is LLM-written and self-maintaining by design, while S11's is human-written throughout - the agent consumes the layer and never edits it, and every write in the loop is a person's. On the question S8 actually raises (can an LLM maintain its own knowledge store?) S11 is silent, having chosen the other answer without arguing for it. That is why this note stays emerging - see the status line.

Retrieval geometry is a control surface, and an adversary can write into it#

The first source here to treat the embedding space as something someone shapes on purpose rather than as a property of the encoder. S16 optimises a trigger phrase so that any query containing it lands in a region of the retriever's embedding space that is unique - far from where benign queries fall - and compact, meaning all triggered queries land together. Poison placed at those coordinates is then retrieved by construction rather than by winning a similarity contest (S16 n3, claim 137). Full synthesis in agent-security.md; recorded here because it changes how to read two things this note already holds.

The first is retrieval quality as an editorial problem (claim 91, from S10). This note records that tuning what gets retrieved is a matter of writing better names and descriptions before it is a matter of better algorithms. S16 is the adversarial form of exactly that observation, and the symmetry is uncomfortable: if editorial control over indexed text steers retrieval, then editorial control is a privilege, and nothing in S10 or S11 treats it as one.

The second is claim 95, that a trust signal needs a writer restriction to mean anything. S11 reached that from a quality argument, since a store where everything is endorsed carries no signal. S16 supplies the security argument for the same control, and it is the stronger one. A writer restriction is structural, where every defence S16 defeats is detective - volume anomaly detection, perplexity filtering and embedder privacy each fail against an attacker who needs one record and a fluent trigger (claims 138 through 140). Two independent arguments now point at the same mechanism from opposite directions, which is the most useful thing this note can say about it.

Worth carrying into any retrieval design: the property that makes the attack effective is the same one that makes it quiet. A region no benign query visits is never retrieved for benign traffic, so poisoned records sitting there cost nothing in ordinary accuracy. A retrieval store can be compromised without its quality metrics moving, which is the opposite of how corpus poisoning behaved and the reason detection strategies built for it do not transfer.

Key claims#

Claim Sources (cited) Confidence
Retrieval is stateless across queries. Query-time synthesis re-pieces the same fragments for every question, at the moment the user waits, and keeps none of it. The complaint holds even when retrieval is perfect. S8 §The core idea (n1) emerging (single-leg)
Compile once and keep current, rather than re-deriving per query - moving synthesis from query time to ingest time, the same trade as a build step versus an interpreter. The cost is that the artifact can now be stale. S8 §The core idea (n2) emerging (single-leg)
Layer a knowledge base by who may write to it: immutable raw sources, an LLM-owned derived layer, a co-evolved schema. The immutable layer is what keeps every derived claim auditable. S8 §Architecture (n4) emerging (single-leg)
Queries are an input to the knowledge base, not just sources - file good answers back as pages, so exploration compounds like ingestion. S8 §Operations - Query (n7) emerging (single-leg)
Split the catalog from the log. An index must be rewritten to stay accurate; a log must never be rewritten to stay trustworthy. One file cannot do both. S8 §Indexing and logging (n9) emerging (single-leg)
The binding constraint on a knowledge base is maintenance labour - not storage, retrieval or linking. Bush's Memex was blocked on exactly this in 1945. S8 §Why this works (n13, n15) emerging (single-leg)
An index file may substitute for embedding-retrieval infrastructure at moderate scale (~100 sources). S8 §Indexing and logging (n10) needs-check - unmeasured, and researched 2026-08-15 (R4), verdict refines. Do not cite as a result; cite the refined version below instead
The ceiling on a no-embeddings knowledge store is a token budget, not a source count, and what fails first is cost rather than correctness. Two independent measurements agree: long-context retrieval matches RAG at 128k tokens and degrades positionally at 1M, and an agentic filesystem approach beats hybrid RAG on quality at 5 papers (correctness 8.4 vs 6.4) then crosses over at ~100 papers, where RAG becomes faster with quality converging. At ~15k tokens per paper those two land in the same neighbourhood, ~1.5M tokens. So n10's "~100 sources" is roughly right for paper-sized documents and wrong in both directions elsewhere - thousands of short notes should be fine, dozens of books should not. LOFT, arXiv:2406.13121 (T3, Google DeepMind) + LlamaIndex filesystem-vs-vector benchmark (T2) via R4 needs-check. Both legs independent of S8 and of each other, and the T2 leg's commercial interest points toward RAG, which is the safe direction. But the LlamaIndex arm is 5 questions per scale, and the token convergence is this brain's arithmetic, not a reported result
Nobody has measured a summary-index design, which is the one S8 actually describes. LOFT places the whole corpus in context and the filesystem benchmark greps raw documents; an index.md of one-line summaries attends to ~2k tokens rather than ~1.5M, so both studies bound n10's neighbours. Its likely failure mode is therefore not attention but whether a one-line summary discriminates well enough to pick the right page - a catalog precision problem, which is the failure human directory editors actually had. R4 (no-evidence), reasoning from LOFT's positional mechanism no-evidence - the sharpest result of the research pass. The experiment is cheap and does not appear to exist
Defer search infrastructure until the index stops working, then use a real engine; prefer one shipping both a CLI and an MCP server, so the harness chooses how to call it. S8 §Optional: CLI tools (n11) emerging (single-leg)
Corpus-wide maintenance needs an idempotence stamp, and the stamp is what makes it schedulable. A per-item completion marker checked before work and written after turns an O(corpus) pass into an O(new) one, so cost tracks the writing rate rather than the archive size. S26 n5, visuals/frame_404.jpg corroborated internally, unmeasured. Mechanism is plain; nothing measures what it saves
A generated taxonomy needs a registry the agent reads first plus an explicit instruction to resist extending it - otherwise each per-item call coins a locally perfect, globally useless label, and the vocabulary degenerates to one term per document. Coinages must ship a definition into the registry. S26 n6, visuals/frame_425.jpg, frame_404.jpg corroborated internally, unmeasured. The structural argument is this brain's; the source gives a behavioural one ("Claude loves to get creative")
Cite a derived page per claim, not per page - every assertion links to the one input behind it, so a wrong claim is traced by following one link rather than re-reading the whole provenance list. S26 n9, visuals/frame_776.jpg corroborated internally, unmeasured. Convergent with this kit's own rule, which is not corroboration - both instances are single-author
Immutability of a raw layer is scoped per job, not per layer: "one declared writer per layer, with the exception written down" is the rule that survives implementation, where "nobody writes to raw" does not. S26 d1 (n7 + n11 vs S8 n4) needs-check - this brain's reading. The source never notices the contradiction it resolves. The most reusable claim from S26 and the least corroborated
The schema layer can be plural: a per-directory schema file that overrides the generic instruction lets one scheduled maintainer serve many knowledge bases it knows nothing about. S26 n12, visuals/frame_980.jpg needs-check - single-leg, figure-only. Visible in a screenshot of a saved prompt, never spoken
A tuned sparse lexical pipeline was competitive with a GPU cross-encoder reranker on two of three ToolRet categories (Recall@10 45.99 / 39.56 vs 45.94 / 38.23; behind by 8pp on the third), without serving-time GPU cost. S10 Figure 3 (n11, n12) needs-check despite being measured - the baselines are borrowed from another paper and the self-run used a different protocol (d2)
Retrieval quality is an editorial problem before it is an algorithmic one. The dominant failure is descriptions written in implementer vocabulary; the first useful tuning pass is rewriting them, not changing the ranker. S10 §Tuning the search space + §Try it (n13, n19) emerging (single-leg, but it is an experience report about their own benchmark run)
Separate the indexed surface from the consumer-facing one. An index-only alias field makes retrieval vocabulary and exposed schema independently tunable, and lets a third-party corpus be tuned for local vocabulary without forking it. S10 §Tuning the search space (n14, prose vs code) emerging
When the retrieved items are capabilities, a miss removes an option rather than degrading an answer - and the consumer may never learn the option existed. Recall@10 of 39-46% against a default shortlist of 5 is the unexamined half of S10's result. S10 Figure 3 (n11) + §When we would use tool search needs-check - this brain's reading of the source's own numbers, not a claim S10 makes
A trust signal carries information only in proportion to what it excludes, so it needs a writer restriction - "if everything is endorsed, the signal stops being useful". Two tiers beat one: a cheap self-serve tier absorbs volume so the restricted tier stays scarce without becoming a bottleneck. S11 §Endorsements (n6) + Power BI endorsement (T1, independent prior art) via R2 F4 corroborated (independent re-derivation) on the design; no-evidence on whether it changes an agent's choices
The query log is the demand signal for what to document, and the first draft can be mined from it for ~$0.50 per warehouse. Two unrelated teams found usage the highest-yield context source. S11 §How we improve the system (n7) + MotherDuck (T2) + CorralData (T4/T5) via R2 F2 corroborated (2 independent sources) on the signal; needs-check on the automation
The LLM collapsed the encoding cost of expert knowledge and left the elicitation cost untouched. Prose is a cheaper target formalism than production rules; sitting with the domain expert still is not. Second historical precedent for the labour claim, after Memex. Feigenbaum, Knowledge Acquisition: The Bottleneck (1977/1982, T1) via R2 F5; applied to S11 (n8) emerging - the historical claim is solid, the application to S11 is this brain's synthesis
Context interventions measured on public benchmarks systematically understate their production effect, because benchmark schemas are unambiguous and real ones are not: the same intervention bought +2.0pp on BIRD-Dev and +16pp on a real warehouse. MotherDuck, Query-Log-Informed Schema Descriptions (T2, private benchmark) via R2 F1 needs-check - one team, one warehouse, not reproducible

Key visuals#

Tokens saved using tool search: baseline context climbing to 541k tokens at 1,180 tools while the tool-search series stays roughly flat near 15k
Tokens saved using tool search: baseline context climbing to 541k tokens at 1,180 tools while the tool-search series stays roughly flat near 15k

The topic's first measurement of anything. Retrieval instead of enumeration, priced: 541k tokens to 15k at 1,180 items, and the retrieved series stays roughly flat as the corpus grows 24x. The curve is the argument - retrieval turns corpus size from a per-query cost into an indexing cost. Note the unexplained step in the baseline between ~500 and ~550 items, recorded in the source's nodes.md. S10 fig_tokens-chart, n9/n10; full walkthrough in the source note.

A generated wiki entity page for Craig Blomberg, structured Who / What the sources say / Related / Sources, with every claim bullet ending in a link to a specific dated source note
A generated wiki entity page for Craig Blomberg, structured Who / What the sources say / Related / Sources, with every claim bullet ending in a link to a specific dated source note

What a derived page looks like when it can be audited. Four claim bullets, each terminating in a link to the one dated note behind it - sourcing at the granularity of the assertion rather than the page. Note also what the page is: an entity assembled from four sources ingested separately that never mention each other, so the page existed in none of its inputs. That is the accumulation the pattern promises, made concrete. S26 n9; full walkthrough in the source note.

S8 contains no figures, diagrams, images or data of any kind - which is why every S8 claim above is single-leg. The two generated diagrams for that source live in its LEARNING.md and are labelled as synthesized, not sourced. S26 supplies the pictures S8 never had, and they are pictures of a different system - one instance's artifacts, not evidence about the pattern.

Open questions / conflicts#

Sources feeding this topic#