Two defects I found in widely used Claude Code tools, and the fixes I sent upstream
When I depend on someone else’s code, I read it closely enough to find where it is wrong, reproduce the defect on a public case, and send the fix to the project. Here are two of those cases, in codebase-memory-mcp (43,259 GitHub stars) and claude-mem (93,881 GitHub stars)1. Neither fix is merged yet; each status below is the one the GitHub record shows on 15 September 2026.
Fan-in queries were blind to markdown and shell references
Defect
codebase-memory-mcp turns a repository into a graph of which file references which. References written in Markdown documents and shell scripts never became edges, so a question such as “which file has the highest fan-in” ignored them. I reported it on 25 August 2026 as issue #1831, “Fan-in queries are blind to markdown and shell references”.
Reproduction
On the public repository cdeust/zetetic-team-subagents, the two most-referenced files are rules/coding-standards.md (173 references from other files) and tools/memory-tool.sh (171), counted by exact grep. Both had zero inbound edges in the graph, so the answer named a Python file instead, an undershoot of roughly 17× (issue #1831).
Fix
Pull request #1832, “feat(pipeline): link markdown file references into the graph”, opened the same day. It adds REFERENCES_FILE edges between files already in the graph and drops any target it cannot resolve. It covers the markdown half; the shell half is a second change stacked on it (issue #1831).
Maintainer
On 1 September 2026 the maintainer wrote “Maintainer decision:
REFERENCES_FILE is accepted.” and asked for a rebase, which I pushed on 2 September as one commit, 844a36b7.
Observation search results carried no date
Defect
claude-mem’s observation search listed each result with a clock time and no date, while its combined and file search paths already group results by day, so a result’s age was not visible (PR #3693; maintainer comment).
Fix
Pull request #3693, “fix(search): group observation search results under day headers”, opened 22 August 2026. It groups observation search results under day headers with the same groupByDate helper the other search paths use.
Maintainer
On 11 September 2026 the maintainer triaged it as a presentation change. On 12 September the maintainer routed it to issue #3982, the master issue of the maintainer’s plan for the search read path, as “a rendering defect” on that path. It is now part of that search roadmap.
What a client gets: someone who reads other people’s code closely enough to find real defects, and fixes them upstream. The same reading goes into a pilot on your own code.
The method and the offers · Start a pilot
1Star counts, dates and statuses read from the GitHub API on 15 September 2026.