[KC]

Corpus Retrieval System

AUG 2026–PRESENT · PYTHON / BM25 / EMBEDDINGS / OBSIDIAN · SOLE DEVELOPER · research · software

A retrieval system over my own corpus: three years of notes, captures, specs and git observations, kept as Markdown in one vault. The record layer is frozen by design — append-only sources, versioned models, disposable derived data — so that everything built above it can be reckless. Interpretation happens at read time, not write time: the index has to keep working after my framing of my own past changes, which rules out the usual fix of tagging things as you go.

I am building it from the ranking function up rather than from a library down. BM25 first, written without dependencies and scored against a bank of threads I had already judged by hand; then local embeddings, where the open design problem is a per-type strategy for a heterogeneous corpus — a lyric, a commit-day observation and a twenty-thousand-word deliberation should not embed the same way. Evaluation is blind: banked truths, anti-contamination rules, and one documented case where the human overruled the machine. This is the fourth attempt at the problem and the first built on a substrate designed to survive me changing my mind.

Where it is going: hybrid retrieval that fuses dense, sparse and structured priors (tier, recency, confirmation, authorship) into one ranking; an Obsidian plugin that answers with citations into my own notes; and a research question about whether a thread's centroid drifts, splits or dissipates over time — pillar-emergence detection as signal processing over meaning instead of audio.