Sessions and provenance
Keeping the why next to the what. Entire, git-ai, Agent Trace, re_gent and the vendor trailers that link commits to the agent sessions behind them.
The first and most mature layer answers one question: for this commit, or this line, which agent wrote it, from which prompt, and what was it thinking? All the tools here keep git as it is and attach the session somewhere git can find it. They differ in where that session lives, and that decides who can read it, whether it survives a rebase and whether it leaves your infrastructure.
Four places to keep a session
From least to most git-native:
| Where the session lives | How the commit points to it | Example | Survives the vendor going away? |
|---|---|---|---|
| The vendor's cloud | A URL in a commit trailer | GitHub Agent-Logs-Url:, Claude Code Claude-Session:, Cursor cloud agent links | No |
| A local or private store | Session ID in a trailer, transcript on disk or in SQLite | Claude Code JSONL, re_gent .regent/, git-ai's prompt store | Yes, if you back it up |
| Git notes | Notes attached to the commit under a dedicated ref | git-ai (refs/notes/ai) | Yes, travels with the repo |
| Git refs or a side branch | A trailer plus refs pushed alongside the code | Entire Checkpoints (refs/entire/checkpoints/…) | Yes, travels with the repo |
Rule of thumb
If a session explains why the code is the way it is, it belongs in the repository (notes or refs), not only in a vendor's dashboard. A URL in a trailer is a good index. It is a poor archive.
Entire
Entire is the company Thomas Dohmke founded after leaving his job as GitHub's CEO. It launched in February 2026 with a $60M seed round and one open-source tool, and by November it had grown into a full forge (launch post, funding). primary source It's the most complete answer to "store the reasoning with the code" available today.
The CLI (open source, MIT)
The Entire CLI, first called Checkpoints, hooks into both your agent and git. It's at v0.13.4 as of 13 November 2026 (releases).
- What it captures: the prompts, transcript, tool calls, changed files and token usage of each agent session.
- How it links: a git hook adds an
Entire-Checkpoint:trailer to each commit. The checkpoint data is stored in the same repository and pushed with a pre-push hook. Entire "never adds commits to your branch." You can send checkpoints to a separate private repo instead, or keep them local. - Storage, version 1: a single orphan branch,
entire/checkpoints/v1, which works as an append-only audit log. - Storage, version 2 (default since 0.10): one git ref per checkpoint under
refs/entire/checkpoints/<shard>/<id>. Entire moved to refs so that many concurrent agents don't fight over one branch and pushes stay fast (Entire blog, storage docs). - Reading it back:
entire checkpoint explainandsearch,entire blame(git blame plus the session behind each line),entire session resume <branch>to pick up where an agent left off, and an MCP server so other agents can query the history. - Redaction: recent versions blank injected system prompts, CLAUDE.md contents and memory notes from stored transcripts. Read the redaction settings before you push sessions to a shared remote.
- Agents: Claude Code (the default), Codex, Cursor, Copilot CLI, Antigravity, Factory Droid, OpenCode, Pi and more. Support for import and resume varies by agent, and any
entire-agent-<name>executable can plug in a new one (agents).
The forge (hosted)
On 26 October 2026 Entire launched a git-compatible forge "available to every developer today" (announcement). primary source
- Trails replace pull requests. A trail spans repos, sessions and reviews, and runs agent-scored evals on every push. The pitch: once the evals pass, you can merge without reading every line.
- Continuous Memory syncs agent sessions into the repository and builds a codebase graph and an "agentic brain" from them that later agents can query, "to stop repeating mistakes."
- Regional git hosting (US, EU, India, Australia and more), with CI gates through Buildkite, Depot, Dagger and RWX.
- Pricing (early access, November 2026): hosting, Trails, session storage and memory are free. Agent runs are billed at model-provider token rates after a promotional credit (pricing).
- Self-hosting: not yet. Self-hosted git nodes are "upcoming." The CLI and its in-repo checkpoints work with any git host today.
For loops: Entire maps neatly onto a goal loop. Every iteration's session lands next to its commit, a Trail plays the role of the judge, and Continuous Memory turns past runs into context for the next one. The open-source CLI is a low-risk start because the data stays in your repo.
Critics call the design a "clever abuse of git internals" and expect plain git plus hooks to be enough for years (Danjou). contested
git-ai
git-ai (Apache-2.0) records line-level AI authorship reported by the agents themselves, rather than guessed after the fact.
- Mechanism: git notes under
refs/notes/ai, following an open specification (Git AI Standard v3.0.0). Each note maps line ranges to the session and prompt that produced them. Notes survive rebase, squash and amend (spec, how it works). - Tools:
git ai blameis a drop-in forgit blame. It supports more than a dozen agents, including Claude Code, Codex, Cursor, Copilot, OpenCode and Gemini. - Transcripts are kept outside git, locally or in a prompt store. A paid "Teams" tier adds cross-repo stats and cost tracking, self-hosted or cloud.
For loops: the lightest-weight option. It answers "how much of this codebase did the loop write, and from which prompts?" without changing your workflow.
Agent Trace
Agent Trace is an open data spec that Cursor published in January 2026 (v0.1.0, an RFC, CC BY 4.0). A trace record is JSON that maps file line ranges to a contributor (human, AI, mixed or unknown), the model and the conversation. It works with git, Jujutsu, Mercurial or SVN, and deliberately doesn't say where traces are stored (GitHub, InfoQ).
Partners include Cloudflare, Cognition, Vercel, Amp, Cline, OpenCode and git-ai. Thoughtworks put it at "Assess" in April 2026. secondary reporting We found no update since v0.1, and couldn't confirm that Cursor's own product writes Agent Trace records. Treat it as a schema to align with, not yet a standard.
re_gent
re_gent (rgt, Apache-2.0) is the most "version control" of the bunch: a separate, content-addressed store (.regent/) next to git. Every tool-using agent turn becomes a step that records the workspace tree, the tool call and its result. Steps form a DAG with one ref per session, and rgt blame traces a line back to the prompt that wrote it. Hooks exist for Claude Code, Codex and OpenCode, and rewind and fork are on the roadmap. It's young (around 800 stars), but its model of history as a log of agent steps is where loops seem to be heading.
What the big vendors do
Since March 2026, commits from the Copilot coding agent show Copilot as author and the human as co-author, and carry an Agent-Logs-Url: trailer linking to the session log (changelog). The log is hosted by GitHub, not stored in git. Third-party agents (Claude, Codex) run through Agent HQ and show up in a repository's Agents tab. primary source
Trailers: no standard yet
There's no cross-vendor convention for marking agent commits. Claude Code writes Co-Authored-By and Claude-Session, Entire writes Entire-Checkpoint, GitHub writes Agent-Logs-Url, and projects like Fedora and LLVM ask for Assisted-by:. The Linux kernel's guidance says agents must not add Signed-off-by and sets no format of its own (kernel docs). primary source
The cheapest useful habit, whatever tools you choose: have your harness add a session ID trailer to every commit it makes, and keep the transcripts somewhere durable. That's what Danjou does with a single Claude Code hook (Danjou), and every richer tool on this page builds on the same link.
Why git stops being enough
Git was designed for humans who commit a few times a day and explain themselves in a message. Goal loops break six of its assumptions.
Local history
Operation logs, undo for anything, branches without clones and copy-on-write workspaces: Jujutsu, GitButler, Sapling, worktrees, AgentFS and Zed Delta.