Build your own product brain, part 2: how AI knows which entries to read
Give your AI agents a short read-first file, an index and one rule, so they open only the entries that apply to the task in front of them.
An AI agent finds the right entries when you give it a small map: a short file it reads first, an index with one line per entry, and a rule to open only the confirmed entries that apply to the task. Loading everything buries the few that matter. This is part 2 of a five-part series on building your own product brain.
Why not load every entry?
Part 1 covered the base layer: decisions, rules, ways of working and lessons, one entry each in plain text. As the entries pile up, the next question is how an agent finds the few that matter for today's task.
Loading everything buries them. In a 2025 study that gave 20 leading models up to 500 instructions at once, the best followed about 68% (IFScale, Distyl AI (opens in a new tab)). Anthropic's own advice is to keep the CLAUDE.md file short (opens in a new tab). When the right rule is buried, the agent guesses instead.
How would we set it up today?
Four levels, read from the top down:
- A short file every AI reads first: what the product is, the rules that apply everywhere, and a map of where each kind of fact lives. An AGENTS.md file works with most AI tools; point Claude Code's CLAUDE.md to it.
- An index: one line per entry, with its type, where it applies and its status. The agent reads the index before it opens any entry.
- Scope before search: it opens only confirmed entries for this product area or client, then looks for what's relevant.
- Sources on demand: transcripts and tickets are opened only to check a claim.
What does that look like for one task?
The task: add paper invoices for legacy-plan customers to the billing export.
- The agent reads the short file first. It says billing facts live in the brain folder, and to read the index first.
- It reads the index and keeps two lines: a confirmed billing decision for the legacy plan, and a locked billing rule for every plan. It skips four: one replaced, one not confirmed yet, and two from other areas.
- It opens just those two entries: legacy-plan customers keep paper invoices until June 2027, and every invoice shows GST on each line.
- It checks the one source the decision points to, and its plan cites both entries.
Read: one short file, one index, two entries, one source. Skipped: everything else.
What we learnt
When we first set up our product brain, the file every agent reads first held version numbers, counts and IDs. As the brain grew, they kept going stale. So we cut it to a short file that points to where each fact lives. It's 116 lines today, and when a fact changes, we change one file and every agent picks it up.
How do you start yours?
Direct your AI to write a short read-first file and an index of your entries. Then have it add this to the read-first file:
Read the index. Open only confirmed entries that apply to this work. Cite the entries you rely on. Ask rather than assume. Keep version numbers, counts and client names out of this file.
The context file builder writes a first version of that short file for you.
Where Rivora fits
Rivora Connect is an AI product brain for product teams on established software. Building it yourself works while it's small and someone champions it. Without that person, it drifts. When the stakes get high, you need to see who confirmed what, where it applies and what your AI used, rather than hope it captured everything right. Rivora shows that for every part of every feature. See how it gives coding agents the context, or how it compares with coding-agent context files.
Next in the series: nine steps before anyone builds.
Adapted from my LinkedIn post of 24 November 2026, with help from AI. The task is example data.