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

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.
| Mechanism | From | Decision | Reason | In code today |
|---|---|---|---|---|
| Deterministic chunk id | MinSync | adopt | the same content keeps the same id, so evidence references survive a re-read | yes |
| Chunking by line hash | MinSync | adapt | headings first, then line hash: a heading is the evidence unit on a web page | yes |
| Heading path with each chunk | MinSync | adopt | the heading is context the text alone does not carry | stored |
| Unreadable entry keeps its chunks | MinSync | adopt | a failed fetch is not proof that the content is gone | yes |
| Idempotent upsert by id | MinSync | adopt | a crashed run can be repeated | yes |
| Pre-built per-field lookup | Jikji | adapt | settled fields are read directly, with no search | yes |
| Several paths, one decision | Jikji | adapt | must-have facts and evidence chunks go into one prompt, with no online model picking | yes |
| Hybrid search with rank fusion | MinSync | adopt | fuse sparse and dense rankings; the final config is chosen on our own QA set | specified |
| Queries generated from the corpus for evaluation | AutoRAG | adopt | one natural and one keyword query per chunk, with a human-checked sample | specified |
| Start without a reranker | AutoRAG | adapt | a reranker can lower quality; add one only if it wins offline | specified |
| One claim against one chunk | Jev | adopt | the judging unit is small enough to check | specified |
| Citation ids come from the harness, not the model | Jev | adopt | code re-checks that a cited quote is in the chunk | partly: the quote check |
| Learned sparse retriever | AutoRAG | exclude for now | memory on a shared server; exact strings favour a lexical index | n/a |
| Approximate nearest-neighbour index | MinSync | exclude | hundreds of chunks per brand, so exact search is cheap | n/a |
| LLM-written summaries per source | AutoRAG | exclude | a second copy of the same fact, free to drift | n/a |
| The judge model itself | Jev | exclude | customer text would be sent to a new vendor | n/a |
| Memory shared across a workspace | Jev | exclude | keys start at workspace and brand; one missed filter leaks across customers | n/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
| Risk | What I did about it |
|---|---|
| Adopting a mechanism because it is elegant | each row had to name what it does for generation, not for search |
| Quoting someone else’s numbers as results | upstream measurements are marked as theirs in the design and on these pages |
| A decision nobody can revisit | excluded rows keep their reason, so a changed constraint, such as more memory, points at the rows to reopen |
| Specifying more than gets built | the 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.
