RAG engineer checklist: before launch and after
By Abdul Asim ·
The short answer
A RAG system is ready to go live when you can show, not assume, six things: the data is clean and current, retrieval finds the right passage, answers stay inside the retrieved evidence, a test set proves it, users only see documents they are allowed to see, and someone gets alerted when it breaks. This retrieval augmented generation checklist turns each of those into items you can tick off with a test or a log line.
I run a version of this list on every retrieval system I ship. It is grouped the way failures show up in practice: data first, then retrieval, generation, evaluation, security and operations. If you want the architecture behind each stage first, read the components of a RAG pipeline.
Data and ingestion checklist
Most bad answers I have traced started here, long before the model saw a prompt. On the Applied Optoelectronics RFP workflow, PDFs and scanned material had to go through extraction and OCR before any of it could be retrieved, and that step decided what the drafts could ever say.
- Source inventory signed off. A written list of every source the system may use, with an owner for each. Anything not on the list is not indexed.
- Extraction checked by eye. Open 20 extracted documents, including scans and tables, and compare them to the originals. Broken tables and missing pages are caught here or not at all.
- Chunking rule written down. Chunk size, overlap and split boundaries are recorded and versioned, so a change can be tied to a score change later.
- Metadata on every chunk. Source, document date, version, section and access group. A chunk with no source cannot be cited.
- Duplicates and stale versions removed. Only the current version of a policy or spec is searchable, or older ones are tagged and filtered.
- Refresh schedule set. You know how often each source is re-indexed and how a deleted document leaves the index.
- Failed documents logged. Ingestion reports files that failed to parse instead of skipping them silently.
Structured data needs the same care. For Permit Signal, permit and property records had to be normalized, geocoded and joined in PostGIS before a combined search made sense.
Retrieval checklist
Retrieval is where you decide whether the model even has a chance. On Permit Signal one search method was not enough: users asked semantic questions, typed exact addresses and filtered by location, so the system combined vector search, BM25, SQL and spatial lookup.
- Query types listed. You have sorted real or expected questions into types (concept, exact term, number, filter, location) and each type has a retrieval path.
- Keyword search alongside vectors. Product codes, names and IDs are found by exact match, not left to embeddings.
- Metadata filters applied before ranking. Date, region, product line or tenant filters run in the query, not as an afterthought in the prompt.
- Top-k chosen by test. The number of passages passed to the model is set from measured hit rate, not a default.
- Recall measured per query type. For each test question you know whether the right passage appeared in the top results.
- Empty results handled. When nothing scores above your threshold, the system says so rather than passing weak matches to the model.
If you are still choosing a store and index type, the vector database guide covers the trade-offs.
Generation and grounding checklist
The model's job is to answer from what retrieval found and nothing else. On the Mavenit quoting workflow, cases without a suitable historical match went to a person for a decision instead of a fabricated substitute, and prices came from defined rules rather than model estimates. That pattern generalizes: when evidence is missing, the system should stop, not improvise.
- Answer-from-context instruction. The prompt tells the model to answer only from the supplied passages and to say when they do not contain the answer.
- Citations that resolve. Every answer links to the chunk or document it used, and a test confirms the cited passage actually contains the claim.
- Refusal path tested. At least 10 test questions have no answer in the corpus, and the expected result is a clear "I could not find this".
- Calculations outside the model. Prices, totals and dates are computed by code or rules, then shown by the model.
- Context order checked. The most relevant passages are placed where the model uses them best. Research on how models use long contexts found accuracy drops when the key information sits in the middle of a long input.
- Output format validated. If downstream code reads the answer, it is checked against a schema before use.
The AI hallucination guide goes deeper on why confident wrong answers happen and which controls reduce them.
Evaluation checklist
You cannot tick the boxes above by reading a few chats. You need a fixed test set you rerun on every change. The method is covered in the LLM evaluation guide; this is the minimum I want in place before launch.
- Test set of real questions. At least 50 cases drawn from real users, tickets or documents, tagged by topic and risk.
- Expected outcome per case. A testable pass rule such as "retrieves the 2024 install guide and gives the correct torque value", not "good answer".
- Retrieval and answer scored separately. A failure points to either the index or the prompt, not just "the bot is wrong".
- Baseline recorded. The score of the version you are launching is saved, so the next change has something to beat.
- Release gate agreed. A written rule for what score drop blocks a release.
- Human review where stakes are high. On the Applied Optoelectronics workflow, generated drafts went through a defined review step before export. Decide which outputs need that and enforce it in the workflow, not in a policy document.
Security and permissions checklist
A retrieval system is a search engine over your private documents with a model attached, so permissions and injection are launch blockers, not later work. OWASP added vector and embedding weaknesses to its 2025 list of LLM application risks, including data leaking across users through a shared index.
- Permissions enforced at retrieval. Each chunk carries an access group and the query filters on the user's identity. The model never receives a passage the user could not open directly.
- Cross-user test passed. Log in as two users with different access and confirm neither can retrieve the other's documents, including by asking for them by name.
- Injection test cases in the set. Documents and questions that try to override instructions are part of the test set. See the prompt injection guide for the layers that hold.
- Tools scoped. Any action the system can take (create a ticket, send an email) has the narrowest permissions it needs, and risky actions need a person to approve. On the Odva security testing workflow, risky proposed tests went through a human review step before they ran.
- Sensitive data handled. You know which fields must not be indexed or logged, and the pipeline removes them.
- Audit trail on. Access and key actions are recorded, as they were on the Mavenit workflow.
Operations checklist: monitoring, cost, rollback, escalation
Launch is when real questions start arriving, and they will not match your test set. On the McKissock sales assistant, requests were logged to New Relic for visibility outside the chat window, and unresolved requests triggered a tool that created a HubSpot ticket so the learner reached a person.
- Every request logged. Question, retrieved chunk IDs, answer, latency and token counts, with user identity handled per your privacy rules.
- Dashboards and alerts. Error rate, latency, empty-retrieval rate and refusal rate are charted, with an alert threshold for each.
- Cost per request known. You can state the average and worst-case cost of one answer, and there is a spend alert. The AI development cost guide breaks down where that money goes.
- Rollback tested. Prompt, model, index and chunking config are versioned, and you have actually rolled one back in staging.
- Escalation path live. When the system cannot answer, the user gets a route to a person: a ticket, a handoff or a contact form.
- Feedback loop running. Thumbs down, escalations and new failure cases are reviewed on a schedule and the useful ones added to the test set.
- Owner named. One person is responsible for the system after launch, including index refreshes.
How to use this RAG checklist
Run it twice: once before launch as a gate, and again two to four weeks after launch, when real traffic has shown you which assumptions were wrong.
- Copy the list into your tracker and assign each item an owner.
- Attach evidence to each tick. A test result, a screenshot of a dashboard, a log query. An item with no evidence is not done.
- Mark items N/A with a reason. A single-tenant internal tool may not need cross-user tests. Write down why.
- Treat security and grounding gaps as blockers. Missing dashboards can ship with a date attached. Leaking documents cannot.
- Rerun the evaluation items on every change to prompts, models, chunking or sources.
For the build steps that come before this list, see how to build a RAG pipeline. If you already have a system live or close to it and want a second pair of eyes on these items, an AI app review walks through retrieval, grounding, security and operations against your own data and gives you a prioritized fix list.
Key takeaways
- Most wrong answers start in ingestion, so check extraction and metadata before tuning prompts.
- Match retrieval methods to query types; exact terms need keyword search.
- When evidence is missing, the system should refuse or hand off, not guess.
- Enforce permissions in the retrieval query, and test them with two real accounts.
- Log every request, know your cost per answer, and rehearse a rollback before launch.
