CentrailYancy Collective LLC
Sign inGet started
How it works / Git commit attribution

Git commit attribution

How Centrail maps tokens to the commits they produced — on your machine.

Centrail maps the tokens an agent spent to the commits they helped produce — entirely on your machine.

The idea

Every usage event has a timestamp. Every commit has one too. Centrail attributes each event to the earliest commit at or after it — the change that work landed in. Events newer than your latest commit are treated as work-in-progress and left unattributed.

How it runs

  • The CLI reads git log --numstat for each repo.
  • Events are matched to commits by timestamp.
  • Only the attribution rows are sent — never diffs or messages.
git log --numstat --pretty=format:%H%x1f%cI

Re-syncing the same history changes nothing — attribution is idempotent. Your git history never leaves your machine.