I have been trying to keep repository context useful for AI coding agents without turning it into a large prompt file or depending on a specific vendor index.

The pattern I ended up with is deliberately boring: Markdown plus text search.

AI assistance disclosure: I used an AI assistant to help draft this post, then reviewed and edited it before publishing.

The problem

When a coding agent starts working in a repository, it needs at least two kinds of context: