I made an app that does this. I’d like to introduce GX.
GX replaces git commit with gx commit to save your session data. Think of it like version control for agents. It works exactly as you’d expect git commit to work, except it saves data you're currently throwing away.
GX also simplifies your code review.
There will be PRs you don’t need to review at all, and GX will tell you that you can merge those right away. There will also be PRs that you should glance at. For those PRs, you get the most important changes in diffs and the ability to chat with GX directly and ask any questions you have.
It also provides attribution for any suggestions, so you know whether it identified a bug based on conflicts with your codebase or flagged a broken best practice based on 92 different sources of independent research.
You can now store all of your team's tribal knowledge just by updating your git commit command.