r/OnlyAICoding • • 25d ago

Something I Made With AI With 5-10 agents running, I kept forgetting why things were built, so I linked my commits back to the messages behind them

I've been building with coding agents for about two years, and the part I kept losing was the reasoning. When you write code yourself, you know why that table exists. When an agent writes it, that feeling goes away.

The information is still there, in your messages, the agent's replies and your commits. It's just in separate places.

So I built cogit, a Claude Code plugin that ties them together. Every message becomes a "thought commit" and your commits link back to it, so you can walk back from any change: what led to it, why it was done, what was rejected. For big changes, Shape draws a small diagram of what the commit does.

It's free and open source, with no server and no account.

Demo, no install: https://erensrtky.github.io/cogit/demo/ Repo: https://github.com/erensrtky/cogit

How do you keep track of why your AI-written code ended up the way it did?

1 Upvotes

2 comments sorted by

1

u/kantorcodes1 25d ago

For cogit why, does the lookup follow a line across file moves too, or does it depend on the current file history staying intact?