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:
- PR review: open the session behind a commit to see intent, not just diffs.
- Multi-agent work: when several engineers use agents on the same feature, see who asked for what and why.
- Progress sharing: share sessions directly and let other agents read and summarize them.
- Handoff: another agent can load a session and continue where it left off.
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).
More from coding & agent
- Misraj proposes FGL: train a code localizer from a frozen fixer's likelihood, 27.5% less code read — Misraj · 2026-11-24
- Terminal coding agent CCode doubles usage credits and shares habits to stretch agent usage — CCodeSI · 2026-11-24
- Reverse-engineering Grok Bot, Muse and Instinct: a full tool stack for building your own openbot — ghumare64 · 2026-11-24
- v0 MCP Server generates web app prototypes from natural language via the v0 API — modelcontextprotocol · 2026-11-24
- Unofficial WooCommerce MCP Pack wraps the e-commerce REST API v3 for agents — modelcontextprotocol · 2026-11-24
- Open-source signafAIde signs and vets every MCP tool call with an independent witness — Accurate-Yellow4332 · 2026-11-24