HeadlinesBriefing favicon HeadlinesBriefing.com

Git Extension Tracks AI Coding Sessions

Hacker News •
×

git-memento emerges as a specialized Git extension designed to track AI coding sessions alongside regular commits. The tool stores cleaned markdown conversations as git notes, creating a record of AI assistance used during development. Built with F# and .NET SDK 10, it supports multiple AI providers including Codex and Claude, allowing developers to attach AI session traces to commits using familiar Git workflows.

Developers can initialize the tool per-repository with `git memento init`, then use commands like `git memento commit <session-id>` to associate AI sessions with commits. The extension handles sharing notes across team members through `git memento share-notes` and `git memento push`. It also includes audit capabilities via `git memento audit --range main..HEAD` to verify note coverage across commit ranges.

The project includes a GitHub Action that can either post commit comments containing AI session details or enforce note coverage as a CI gate. Installation happens via git tool discovery or a curl script that downloads pre-built NativeAOT executables for Linux, macOS, and Windows. This tool bridges the gap between traditional version control and modern AI-assisted development workflows.