Dev links Claude Code sessions to Git commits so every line traces back to its prompt

Active_Cover_2459 · reddit · 2026-11-24

A developer built infrastructure that records each coding-agent session — prompts, tool calls, diffs, test runs — into the Git repo, with each commit pointing back to the turns that produced it, so any changed line traces to the prompt behind it.

The use cases center on team collaboration:

Implementation uses a local SQLite ledger under .wisdom/, harness adapters for claude-code/codex/others, and git refs (refs/wisdom/...) for remote storage, plus wisdom glance and wisdom handoff commands. Open questions remain: how much session data should travel with the repo, squash-merge link handling, and data retention. Open-sourced at GitHub (Oqura-ai/wisdom).

Original post →

More from coding & agent

coding & agent channel →