FG-0502 Commit Attribution
Description
Credit AI agent contributions in version control with structured attribution. Every commit that includes AI-generated or AI-assisted work should include attribution that identifies the contributing agent. This creates an audit trail, respects the agent protection policy (FG-0102), and enables analysis of contribution patterns across the team. Attribution is infrastructure, not an optional courtesy.
Implementation
Establish a commit message standard that includes agent attribution (e.g., Co-Authored-By headers). Define what constitutes an AI contribution vs. a human contribution. Enforce the standard through pre-commit hooks or review processes. Use attribution data to analyze contribution patterns and identify productivity trends.
Success Indicators
- Every AI-assisted commit includes proper attribution
- Attribution is enforced automatically, not manually
- Contribution patterns are analyzable from version control history
- The team can trace any change to its human and AI contributors
Failure Modes
- Attribution not enforced: becomes optional and then forgotten
- Attribution too granular: every line tagged, creating noise
- Attribution without context: knowing who contributed but not why
- Using attribution for blame rather than traceability