Git Memento Tracks AI Sessions

Git Memento Tracks AI Sessions

2 March 2026

What happened

A new Git extension, git-memento, now records AI coding sessions and attaches them as Git notes to commits, providing a verifiable audit trail for AI-assisted development. Developed by mandel-macaque (Manuel de la Peña), the tool integrates directly into existing Git workflows, supporting AI providers like Codex and Claude. It captures cleaned markdown conversations, including prompts and model usage, and offers commands for initialisation, committing, amending, auditing, and synchronising notes across remotes.

Why it matters

This development establishes a critical mechanism for code provenance, directly impacting security architects, compliance officers, and platform engineers. As AI increasingly contributes to codebases, the ability to audit and trace the origin of AI-generated code becomes essential for regulatory compliance and risk management. This follows a broader industry trend towards enhanced AI code security, exemplified by Anthropic's recent launch of an AI code security tool.

Source:github.com

AI generated content may differ from the original.

Published on 2 March 2026

Subscribe for Weekly Updates

Stay ahead with our weekly AI and tech briefings, delivered every Tuesday.

Git Memento Tracks AI Sessions