Skip to content

Selvedge vs. Git AI

Git AI stores attribution metadata in git notes under its own Git AI standard. Selvedge is complementary: it adds live reasoning capture, a query layer, and changesets, and can also emit the Agent Trace v0.1.0 record format.

SelvedgeGit AI
Reasoning sourceCaptured live, by the agent in the same context that produced the changeAttribution metadata
GranularityEntity — DB column, table, env var, dep, API route, functionLine
MechanismMCP server — the agent calls it as work happensAgent-invoked checkpoint → Git notes at commit
GroupingChangesets — named feature/task slugs across many entitiesNone
Prior attemptsYesprior_attempts surfaces tried-and-rejected pathsNone
StorageSQLite, zero depsGit notes
  • Reasoning, not just attribution. Git AI records who/what touched a line. Selvedge records why, in the agent’s own words, captured live.
  • A query layer. selvedge blame, diff, history, changeset, and search are first-class. Git-notes attribution has no equivalent CLI you can pipe.
  • Continuous vs. cooperative. Git AI’s own README states it does not rely on git hooks: the agent calls git-ai checkpoint, and attribution lands in git notes at commit time. That is cooperative snapshotting — it records what the agent chose to check point, when it chose to. Selvedge captures at the moment of each change.
  • Agent Trace interop. Selvedge also emits Agent Trace v0.1.0 records — see the Agent Trace interop page. (Git AI itself has since moved to its own Git AI standard rather than Agent Trace.)
  • Entity-level + changesets for querying the history of a column or a whole feature, not a line.

If all you need is line-level attribution metadata living in git notes under Git AI’s own standard — and you don’t need captured reasoning or a query layer — Git AI is a focused fit.