Before writing any of this pipeline I read how AutoRAG and three components around it solve retrieval: MinSync for incremental indexing, Jikji for pre-built lookups, and Jev for judging a claim against evidence. The output of that reading was not a summary. It was a table with one row per mechanism and one of three decisions in each row.

The problem

Retrieval systems are designed for a job, and most published ones are designed for conversational search: a person asks, the system finds passages, a model answers. My job was different. A generator is about to write an article for a brand, and it must have the brand’s facts in front of it, including the ones nobody thought to ask for. A missing mandatory rule is a worse failure here than a mediocre passage ranking.

Copying a well-built system for the wrong job imports its costs without its benefits. So each mechanism was judged against one sentence, which is written at the top of the survey in the design document. Translated: our goal is not conversational search but making brand knowledge actually get into generated output.

What was read

For AutoRAG: the README, the setup and retrieval-memory documents, the decision records for its judge component, the reranking notes, the source listing and three source files. For MinSync: the README and the document on its incremental core. For Jikji: the opening of its README. Inside the product repository there was also a note on the AutoRAG paper and three internal reviews of the existing onboarding flow, which is where the ten failures listed on the status page came from.

The table

A summary with four numbers: 28 mechanisms weighed, 16 adopted as they are, 7 adapted to web pages and one server, 5 excluded with the reason kept. Below is a table with columns mechanism, from, decision and reason. Deterministic chunk id from MinSync: adopt, because the same content keeps the same id so citations and caches survive re-indexing. Content-defined chunking by line from MinSync: adapt, cut at headings first because on a web page the heading is the unit of evidence. Unreadable entry is not a deletion from MinSync: adopt, a failed fetch keeps the chunks it already had. Learned sparse retriever from AutoRAG: exclude, memory on a shared server and exact strings such as model names favour BM25. Approximate nearest-neighbour index from MinSync: exclude, a brand has hundreds of chunks so brute force is exact and cheap. Per-field lookup built ahead of time from Jikji: adapt, settled fields are read directly with no search step. One claim judged against one evidence from Jev: adopt, the unit is a claim and a chunk, not built yet. The judge model itself from Jev: exclude, customer text would go to a new vendor. Memory shared across a workspace from Jev: exclude, one missed filter would leak one customer's facts into another's output.
Figure 1. Nine of the twenty-eight rows. The decision column has three values, and the last column is the reason as recorded in the design document.

The full table has 28 rows: 16 adopted, 7 adapted and 5 excluded. The rows below are the ones that shaped the code or the specification the most.

MechanismFromDecisionReasonIn code today
Deterministic chunk idMinSyncadoptthe same content keeps the same id, so evidence references survive a re-readyes
Chunking by line hashMinSyncadaptheadings first, then line hash: a heading is the evidence unit on a web pageyes
Heading path with each chunkMinSyncadoptthe heading is context the text alone does not carrystored
Unreadable entry keeps its chunksMinSyncadopta failed fetch is not proof that the content is goneyes
Idempotent upsert by idMinSyncadopta crashed run can be repeatedyes
Pre-built per-field lookupJikjiadaptsettled fields are read directly, with no searchyes
Several paths, one decisionJikjiadaptmust-have facts and evidence chunks go into one prompt, with no online model pickingyes
Hybrid search with rank fusionMinSyncadoptfuse sparse and dense rankings; the final config is chosen on our own QA setspecified
Queries generated from the corpus for evaluationAutoRAGadoptone natural and one keyword query per chunk, with a human-checked samplespecified
Start without a rerankerAutoRAGadapta reranker can lower quality; add one only if it wins offlinespecified
One claim against one chunkJevadoptthe judging unit is small enough to checkspecified
Citation ids come from the harness, not the modelJevadoptcode re-checks that a cited quote is in the chunkpartly: the quote check
Learned sparse retrieverAutoRAGexclude for nowmemory on a shared server; exact strings favour a lexical indexn/a
Approximate nearest-neighbour indexMinSyncexcludehundreds of chunks per brand, so exact search is cheapn/a
LLM-written summaries per sourceAutoRAGexcludea second copy of the same fact, free to driftn/a
The judge model itselfJevexcludecustomer text would be sent to a new vendorn/a
Memory shared across a workspaceJevexcludekeys start at workspace and brand; one missed filter leaks across customersn/a

Three decisions worth explaining

Adopt the id, adapt the chunker. MinSync derives a chunk’s id from its content, so re-indexing unchanged content produces the same ids. I took that as it is, because everything downstream depends on it: an evidence reference that points at a chunk id stays valid across readings. The chunker itself I changed. MinSync cuts purely by a rolling line hash. On a web page the heading is the unit a reader would cite, so the adapted chunker closes a span at every heading first and uses the line hash only inside a section.

def chunk_id(source_key: str, text_hash: str, dup_index: int) -> str:
    raw = "\x1f".join((source_key, CHUNKER_VERSION, text_hash, str(dup_index)))
    return "ch_" + hashlib.sha256(raw.encode("utf-8")).hexdigest()[:24]

Exclude the learned sparse retriever, for now. The upstream documentation reports roughly a gigabyte of resident memory for the learned sparse model, and its own comparison on exact identifiers has the learned model finding the right item first in 26% of cases against 100% for a plain lexical index, over 300 items. Those are their measurements on their data. They matter to this decision for two reasons that are mine: the product runs on one server whose memory is shared, and brand content is full of exact strings such as model names and certification numbers. The specification therefore uses a lexical index tuned for Korean, with stems and syllable bigrams.

Exclude shared memory. Jev keeps a memory of earlier judgements that is shared across a workspace and filtered per run. In a multi-tenant product every storage key begins with the workspace and the brand, and a design that relies on remembering to filter is one forgotten filter away from putting one customer’s facts in another customer’s article. This was the easiest decision in the table.

Two alternatives that were rejected whole

Adopting the AutoRAG agent itself was considered and rejected. It is a librarian for local files and chat data on a personal machine, and it does not fit the generation path of a multi-tenant web service.

One vector per brand was also rejected. A single embedding cannot promise that a mandatory rule, such as a phrase the brand must never use, lands among the nearest results. Rules like that are read directly from their field.

Failure modes of a survey

RiskWhat I did about it
Adopting a mechanism because it is eleganteach row had to name what it does for generation, not for search
Quoting someone else’s numbers as resultsupstream measurements are marked as theirs in the design and on these pages
A decision nobody can revisitexcluded rows keep their reason, so a changed constraint, such as more memory, points at the rows to reopen
Specifying more than gets builtthe status of every row is tracked: 16 adopted on paper is not 16 in code

The last row is the honest one. Of the adopted mechanisms, the ones about reading, identity and storage are implemented. The ones about embeddings, fusion and claim judging are specified and waiting on two decisions described in the hybrid retrieval article.

Limits I know about

The reading was of documentation and a handful of source files, not a full audit of each codebase. A mechanism I marked as excluded might behave differently in practice from how its documentation describes it.

The table records a decision at one date. The projects it draws on keep changing, and nothing re-checks the table against their current state.