Connecting sessions/interactions with commits or be included when extracting a transcription
Question
I've been exploring a lot of coding tools/methods over the last three years, specifically related to GenAI. So far, most tools have some functions in common and/or methodologies on how to solve a specific problems and/or workflows. However, something I've been thinking more and more about is accountability but also traceability over time.
By this, I mean the possibility of identifying what's been written by a tool and what's actually been written by a human (or both). This becomes even more apparent if you lend your self to use Github Speckit.
So my question here is: would it be possible to somehow link a session, but more importantly interactions taken in which commit? I think it would make the most sense to extend the transcription metadata then anything else. But also if others have had the same question. E.g: How do you track changes made by tools over time in a repository?
This issue might be a duplicate of existing issues. Please check:
- #6279: Feature: Pass session identifier to MCP servers - Addresses session tracking and maintaining session context across interactions
- #4152: [FEATURE]: Integrate /undo with Git for Better Change Tracking - Proposes tracking LLM-generated changes through Git for visibility and accountability
- #5102: [FEATURE]: Session or Per-chat File Diff Viewer - Discusses tracking and auditing code changes made during sessions
- #558: Add configuration option to control commit/PR footer - Addresses identifying AI vs human contributions in commits (related accountability concern)
Feel free to ignore if none of these address your specific case about linking OpenCode sessions to commits and tracking interactions over time.