Blog
Pin the Page,
or Don't Cite It
I built a Colorado-first legal research stack—roughly 142,000 documents and 1.28 million pages—that searches like a lawyer, fetches like a librarian, and refuses to invent a citation.
Most “AI for lawyers” demos are fluent. They quote cases with confidence. They invent page numbers with equal confidence. That is not a research product. That is a liability generator with good manners.
I needed the opposite: a system that can scour a large Colorado legal corpus, surface the right authorities and record materials, and then force me—agent or human—to open the actual page before anyone is allowed to claim support. If the page is not there, the answer is not a paraphrase. The answer is insufficient data.
That stack is what I call LEXIS RAG. It is not a chatbot bolted onto a PDF folder. It is the research engine behind the Case-a-Day investigations, the Colorado filings work, and the same tool-building habit that produced the discovery catalogue on this site.
Origin: litigation first, demos never
The project did not start as a product pitch. It started because Colorado civil practice is dense, the authorities are unevenly digitized, and commercial tools are expensive when what you actually need is pin-citable text for this proposition in this posture.
I was already doing deep plaintiff-side investigation work—docket reconstruction, forensic metadata review, theory development—under Case-a-Day. The writing on this site (Sun Loan audit trails, Mariner live checks, naming conventions that make a filesystem behave like a docket) is the public face of that habit. The RAG is the private engine: retrieve, fetch, verify, then argue.
So the design brief was blunt. Colorado authorities control for Colorado questions. Federal materials stay labeled federal. Snippets are navigation, not proof. Missing authorities get staged and indexed, not hallucinated. And no agent gets to declare a filing “court-ready” because a model felt persuasive.
Depth: a working corpus, not a brochure
As of mid-September 2026, the indexed stack holds on the order of 141,948 documents and 1,279,082 pages. The full-text search database alone is about 7.9 GB. The semantic layer sits on 213 FAISS shards covering roughly 139,000 vectorized documents—about 97% document coverage against the metadata catalog, which is the gate I require before hybrid retrieval is treated as production-ready.
Those numbers matter only because they change the kind of question you can ask. You can chase a Colorado procedural concept across rules, rule-change PDFs, annotated materials, and opinions without pretending a single vendor headnote is the law. You can also refuse answers when the corpus does not yet contain the primary source—and then go get it.
How it actually works
Retrieval is hybrid by design. Keyword search (SQLite FTS5) is the default spine: concept-expanded lexical queries that behave like a careful Boolean searcher who still remembers synonyms and Colorado citation forms. Vector search (FAISS) is available for semantic concept scour once integrity and coverage gates pass. The system is fail-closed about pretending semantic mode is ready when it is not.
The tools agents use are deliberately boring and strict:
Search / scour — shortlist candidates across the corpus (including comprehensive concept scour when the question demands it).
Fetch — pull exact page text from a source path and page number. This is the pin. Without it, there is no cite.
Validate — for authority-dependent work, currentness and negative-treatment checks are mandatory, not optional flavor text. Local RAG is not a citator. Live sources still decide whether a case is good for the proposition.
Ranking is tuned for litigation hygiene, not clickbait. Official Colorado materials get a boost. Secondary wrappers and rule compilations that are useful for navigation get demoted relative to primary text. Citation expanders understand forms like C.R.C.P. and route them toward the rule text you actually need. Ingest strips markdown wrappers that would otherwise pollute keyword hits. Metadata enrichment (court, citation, document type) makes filters real instead of decorative.
Expertise is the refusal to overclaim
The feature I am proudest of is not a leaderboard score. It is the discipline encoded into the workflow:
Unsupported when a proposition lacks located support.
Insufficient data when the record set is incomplete.
Insufficient legal support when authorities do not carry the conclusion.
Not filing-ready as the default until pins and validation records exist.
That sounds austere. It is. Litigation is austere when it is done correctly. The system also knows how to grow: if a needed opinion or statute is missing, the path is fetch primary PDF or HTML, stage it, keyword-index it, verify retrievability, then rely on it. Open-web snippets and secondary summaries are leads. They are never the last word.
What it is for
In practice, this is how Case-a-Day and related Colorado work stay fast without getting sloppy. Need every usable pin on a discovery standard, a fee-shifting theory, or a Colorado rule-change that still trips commercial databases that ship stale rule text? Scour, shortlist, fetch, validate. Need to keep an appellate record map honest? The same retrieve-and-pin discipline applies to record pages as to case law.
It also sits next to the other tool on this site: the discovery catalogue. That demo is about productions—Bates inventory, metadata anomalies, findings tied to files. The RAG is about authorities and the litigation record once those files become a corpus. One interrogates the production. The other interrogates the law and the pinned text. Both exist because volume without structure is theater.
What I am claiming—and what I am not
I am claiming a working, Colorado-weighted research stack with hybrid retrieval, page-level fetching, corpus ops that do not require pretending every PDF is equal, and agent workflows that treat fabrication as a hard failure. I am claiming scale large enough to matter and gates strict enough that “hybrid ready” means something measurable.
I am not claiming a consumer SaaS, a replacement for licensed citators, or a machine that “wins cases.” Counsel still owns strategy. The machine owns the habit of opening the page.
If you want the public face of the same mindset applied to productions, start with the discovery catalogue. If you want the research engine behind the investigations, this is it: search like it matters, fetch like it is evidence, and cite only what you can pin.