The lessons
34 synthetic lessons from four invented repositories: a Go billing API, a React console, infrastructure and a React Native app. Bugs, gotchas, diagnoses and decisions, all ratified. No real team data.
Research · 4 December 2026
We compared Cove's recall with a top-3 vector store and top-3 keyword search on the same 34 lessons and 69 prompts. Cove added about a quarter of the context, never showed only wrong lessons, and left 9 of 10 unrelated prompts alone. It paid for that with a few silences.
Why it matters
A coding agent reads everything added to its prompt. A lesson that applies saves it from rediscovering a fix. A lesson that doesn't is noise the agent has to read past, and it can pull the agent toward the wrong fix.
Most memory tools retrieve the top few matches for every prompt, so the agent always gets something, related or not. The alternative most teams use, pasting every lesson into CLAUDE.md, costs the whole file on every prompt: for this set, about 1,333 tokens, and it grows with every lesson the team learns.
Cove is built to add a lesson only when one clearly stands out. This benchmark measures whether that works: does it still find the right lesson, and how often does it stay quiet when it should?
How Cove decides
Recall runs in Go on the server, the same way locally and in the cloud. Before every prompt:
The prompt is embedded and compared with every lesson's embedding.
Full-text search (BM25) finds lessons that share the prompt's words.
The two rankings are fused. Lessons from the current repo rank higher; unreviewed ones a little lower.
A lesson is shown only when it stands clearly above the near matches. A shared keyword alone never gets one in.
Method
34 synthetic lessons from four invented repositories: a Go billing API, a React console, infrastructure and a React Native app. Bugs, gotchas, diagnoses and decisions, all ratified. No real team data.
69 prompts, each asked from a repository, written the way an agent describes a symptom and avoiding the lesson's own wording where practical.
Each scored on the same candidates: Cove's recall exactly as the server runs it (at most 3 lessons), the 3 nearest lessons by embedding, and the 3 best full-text matches.
One lesson applies.
the page is bright white for a split second before the dark theme kicks in
Shares words with a lesson, but no lesson covers it.
add a dark mode toggle to the settings page
Nothing applies.
ok push
Embeddings: nomic-embed-text through a local Ollama. The hosted service uses OpenAI text-embedding-3-small. Tokens are estimated as characters ÷ 4 of the lessons shown.
Results
Unrelated prompts (10)
Trap prompts (14)
| Cove | Vector store, top 3 | Keyword search, top 3 | |
|---|---|---|---|
| Right lesson first (45 prompts) | 87% | 93% | 87% |
| Right lesson among those shown | 89% | 96% | 93% |
| Only wrong lessons shown | 0% | 4% | 7% |
| Nothing shown when a lesson applied | 11% | 0% | 0% |
| Quiet on traps (14 prompts) | 43% | 0% | 0% |
| Quiet on unrelated prompts (10) | 90% | 0% | 20% |
| Lessons added per prompt | 0.81 | 3.00 | 2.62 |
| Tokens added per prompt (≈) | 32 | 119 | 104 |
Cove's recall took a median 28 ms per prompt (p95 35 ms) on a desktop, embedding the prompt included.
Every prompt
All 69 prompts with the lesson that applies, if any, and what each approach added. Open a row to read the lessons.
What it shows
It found the right lesson for 89% of prompts that had one, against 96% for a top-3 vector store. It added nothing to 9 of 10 unrelated prompts, where the vector store added 3 lessons every time.
It never showed only wrong lessons on a find prompt. Its misses are silences: for 5 prompts nothing cleared the bar, including two about duplicate Stripe charges where the right lesson was the vector store's first pick.
Cove stayed quiet on 6 of 14. Some answers are defensible: "add a currency selector" brought up the decision that money is stored as integer cents. Others are noise: "add a grafana panel" brought up a lesson about nightly metric gaps.
Many prompts share words with their lesson, which favours keyword search. It still added lessons to 8 of 10 unrelated prompts.
Limits
Next
text-embedding-3-small, the hosted default.Free for teams of up to 5. Set up in a few minutes.