18 points · by evansjp · 4mo ago · 44 comments
The reasoning was in a transcript on my laptop. Claude Code deletes those after 30 days by default. Two of my projects lost their whole history that way.
Grepathy distills transcripts locally into markdown committed with the code. Decisions only, never your messages, no server.
List every decision nobody approved:
grep -rn "agent-initiated" .ai/why/
Ran a blind eval before shipping, published it including the misses (REPORT.md). Agents with Grepathy answered the "why" questions right. Baseline agents made up confident wrong answers.How did the CTO respond to "Claude did it and I didn't catch it"? Did the AI PR summary mention it? Or did the CTO just read the code?
Thanks for today's dose of impostor syndrome cure.
This is not just Claude’s behaviour :)
It could be used for every agentic coding as well, because I have experienced such mess so many times in last three years.
One issue repaired, another one touched and changed…
The whole point of the agent is to make decisions for you. If you want to make every little detailed decision, just write the code.
The whole art of this problem is figuring out which decisions matter to you, and how to surface them.
(Disclosure: we're working on this too. https://tern.sh)
edit:
To me it looks like yours has the following negative qualities:
- closed source
- requires signup for some service
- says code doesnt leave my machine but this connects to your servers
- requires Goose AI as a dependency
- Baseline it. We mine previous logs, github comments, etc. for "what you care about." That helps pull out decisions that you actually care to read.
- Anchor to code. "The code enshrines this decision" is more interesting than "the agent self-talked this." Agents don't always self-talk decisions, and the thing that ultimately matters is the behavior in code.
to your edit (and all totally fair):
- Yes, closed source and signup required. A lot of what we're driving towards is easy team sharing, so we're taking the bath early instead of building an OSS thing and rug-pulling later.
- Code doesn't leave your machine. There's an agent that runs locally. I know "trust me" isn't the strongest stance, but this comes from the multi-player future.
- Honestly, Goose AI is a remnant of a previous product. It's inert and we'll clean it up once we've gotten the last couple folks off the previous iteration.
I agree agents don't always self-talk decisions, that's why we distill the whole transcript after the fact instead of asking them to log anything. Your baselining idea is good!
For comparison the whole git log body on that branch is 3KB; the pack holds 33x the reasoning.
I would encourage you to treat AI outputs with substantially more skepticism than you're giving them.
For me this is basically the opposite of how it would need to be, the decisions are all in my messages to the agent, almost never directly in the agent's replies, sometimes indirectly though I suppose.
Interesting to see that apparently some people use these tools and are the ones listening and doing what the LLM decide and says, rather than the opposite.
> Ran a blind eval before shipping, published it including the misses (REPORT.md). Agents with Grepathy answered the "why" questions right. Baseline agents made up confident wrong answers.
Is this eval public anywhere? The whole ecosystem severely lacks transparency, and people continue making strong claims without any sort of data or results that backs these up. Is there any public somewhere backing up the idea that it's more accurate that just using whatever agent harness?
> Claude made a decision nobody approved
It irks me a tiny bit that this is essentially clickbait, you don't know for sure Claude "made a decision nobody approved" as you've lost the data because you never thought sufficiently about storing these things in the first place. Most likely it misunderstood you at one point, you didn't carefully read the reply and approved it all, so most surely what you've done lead to that being done. These big models hardly ever just randomly do whatever, you can more often than not trace it to something you did wrong.
- eval is public here: https://github.com/evansjp/grepathy/blob/main/docs/REPORT.md
- fair point on the last one too. For the original Clerk incident the transcript is deleted, so I can't prove nobody approved it. Maybe I even waved it through. That's kind of the point though. Right now there's no record either way. I'd rather have some sort of receipt.
Wait what? Claude Code (and Codex) transcripts are auto-deleted??
That's a treasure trove of information for all my projects and I had built some tooling and workflows tahat deal with extracting insights from them -- withut ever realizing I mightbe losing old chats. Thanks for this -- I may need to include an archival step for retention.
Throw that in ~/.claude/settings.json
Codex apparently does not do auto delete presently.
Need to watch.
Amazing to me how little these companies respect the historic value of the transcripts. Most of my work is captured in them now.
I will still try and include archival -- storage is cheap. A reinstall of Claude Code or buggy upgrade might still wipe history. I also ocassionally use multiple PCs -- so there is some small value in consolidating them all for analytics and insights.
(When I have a weekly quota unused and about to expire -- i task Opus with churning through these archives and surfacing learining, best practices, what's not working etc)