Update CLAUDE.md to explicitly forbid Claude Code attribution

Add specific prohibition against 'Generated with Claude Code' lines in commits.

Updated policies now explicitly forbid:
- Co-Authored-By lines (unless added by project owner)
- Generated with Claude Code attribution
- Any automated attribution lines

This ensures completely clean commit history with no tool attribution.
This commit is contained in:
Vijay Janapa Reddi
2025-09-18 16:53:06 -04:00
parent cf0a7e54a9
commit e77ace6f8e

View File

@@ -8,6 +8,7 @@
- ✅ Always work on feature branches (never `dev`/`main` directly)
- ✅ Always test before committing
- 🚨 **NEVER add Co-Authored-By or automated attribution to commits**
- 🚨 **NEVER add "Generated with Claude Code" to commits**
- 🚨 **Only project owner adds Co-Authored-By when explicitly needed**
**These policies ensure clean history, professional development practices, and project integrity.**
@@ -90,6 +91,7 @@ Use descriptive branch names that indicate the type of work:
**NEVER add Co-Authored-By or any automated attribution to commits.**
- **Co-Authored-By**: Only added by project owner when explicitly needed
- **Generated with Claude Code**: FORBIDDEN - do not add this line to commits
- **Automated attribution**: Forbidden - keep commits clean and professional
- **Commit ownership**: All commits should reflect actual authorship, not tool usage
- **History integrity**: Clean commit history is essential for project maintenance