Skip to content

docs: Make commit and PR attribution agent-agnostic#16597

Open
armenzg wants to merge 4 commits intomasterfrom
docs/agent-agnostic-attribution
Open

docs: Make commit and PR attribution agent-agnostic#16597
armenzg wants to merge 4 commits intomasterfrom
docs/agent-agnostic-attribution

Conversation

@armenzg
Copy link
Member

@armenzg armenzg commented Feb 26, 2026

Update AGENTS.md so AI agents are instructed to use whatever Co-Authored-By line their tool provides (e.g. Cursor, Claude Code) instead of mandating Claude attribution. This avoids incorrect attribution when using other AI coding assistants.

Made with Cursor

Update AGENTS.md so AI agents are instructed to use whatever
Co-Authored-By line their tool provides (e.g. Cursor, Claude Code)
instead of mandating Claude attribution. This avoids incorrect
attribution when using other AI coding assistants.

Made-with: Cursor
@vercel
Copy link

vercel bot commented Feb 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
develop-docs Ready Ready Preview, Comment Feb 26, 2026 4:40pm
sentry-docs Ready Ready Preview, Comment Feb 26, 2026 4:40pm

Request Review

Copy link
Member

@sergical sergical left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a note on Cursor deciding to not use "Co-Authored by" and use "Made with" which doesn't do commit attribution, nor did it specify which model in Cursor was used, it just decided to add a link to itself😅

but otherwise lgtm!

armenzg and others added 2 commits February 26, 2026 10:44
Replace declarative rule with procedural workflow that includes
Co-Authored-By as mandatory step 3. This addresses issue where
agents may execute git procedures without checking workspace rules.

Co-Authored-By: Cursor AI <cursor@cursor.sh>
Made-with: Cursor
…-attribution' into docs/agent-agnostic-attribution
@armenzg armenzg requested a review from sergical February 26, 2026 16:32
@armenzg
Copy link
Member Author

armenzg commented Feb 26, 2026

I have managed to make some changes to make Cursor actually follow a procedure.

Copy link
Member

@sergical sergical left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small nit, but also maybe we can bring in https://github.com/getsentry/skills/blob/main/plugins/sentry-skills/skills/commit/SKILL.md in into the repo and just reference that from AGENTS.md?

I dont think we landed on any standard yet which means a lot of repos are doing their own things, i dont have any strong opinions here though

2. **Draft message**: Write commit message following conventional commits format
3. **⚠️ ADD CO-AUTHOR**: Append to commit body:
```
Co-Authored-By: Cursor AI <cursor@cursor.sh>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

id leave this one generic since the example below has the explicit one and we dont wanna do what was happening with claude code before 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants