docs: Make commit and PR attribution agent-agnostic#16597
docs: Make commit and PR attribution agent-agnostic#16597
Conversation
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
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
sergical
left a comment
There was a problem hiding this comment.
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!
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
|
I have managed to make some changes to make Cursor actually follow a procedure. |
sergical
left a comment
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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 😅
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