You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: support git notes as attribution storage backend #2
Add support for storing attribution data in git notes instead of (or in addition to) ledger.jsonl.
Why: Git notes attach metadata to commits without modifying the working tree or requiring an auto-amend. They're first-class git objects, pushable via git push origin refs/notes/*, and don't pollute git log.
What this would look like:
agentdiff init --backend notes # store attribution in git notes
git log --notes=agentdiff # see attribution inline with commits
agentdiff log # reads from notes instead of ledger.jsonl
Each note would be a JSON blob matching the current ledger entry schema, attached to the corresponding commit SHA.
Trade-offs vs ledger.jsonl:
Notes require explicit push/fetch (git fetch origin refs/notes/*) — less portable for new cloners
Notes can't be amended after the fact without force-pushing the notes ref
Notes are better for clean working trees and no auto-amend noise
Activity