Feature Request
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
Related to #1.
Feature Request
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 pollutegit log.What this would look like:
Each note would be a JSON blob matching the current ledger entry schema, attached to the corresponding commit SHA.
Trade-offs vs ledger.jsonl:
git fetch origin refs/notes/*) — less portable for new clonersRelated to #1.