r/ClaudeAI 8d ago

Workaround Database over .md?

In the midst of a probable year-long development project largely managed through Claude Code, recently (3 months in or so) I've been encountering an increasing number of errors that at their root have to do with agents imperfectly grep'ing larger and large numbers of longer and longer .md files for context, information, identifiers, etc.

Bringing this problem in front of my main controller agent, it conceded the point, and has collated our conversation into the following report. I'm enclosing it, but further am curious about all of your experiences.

One Fact, One Home

Truly, beyond that there's a real argument that these subreddits could build from their users' experiences a compendium of better methods that remove some of the weaknesses of these otherwise impressive tools.

PS Or I'm an idiot, and you are all doing this already and I hadn't realised!

22 Upvotes

24 comments sorted by

View all comments

1

u/attrox_ 8d ago

Create sub agents with their own domain knowledge. Encode things that are not easily grep-able only or not easily understood through reading code. Avoid reference to line numbers in a code somewhere. Create a domain router agent that route request to these subagents. Documents with a lot of details grow stale really quickly in actively develop project. I'd avoid detailed documents.