# Disable auto Co-authored-by: Cursor on agent commits (or make it opt-in)

**URL:** <https://forum.cursor.com/t/disable-auto-co-authored-by-cursor-on-agent-commits-or-make-it-opt-in/168258>\
**Category:** Feature Requests\
**Tags:** terminal, rules\
**Created:** [August 13, 2026, 7:44am UTC](https://forum.cursor.com/t/disable-auto-co-authored-by-cursor-on-agent-commits-or-make-it-opt-in/168258 "2026-08-13T07:44:53Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [August 21, 2026, 11:35am UTC](https://forum.cursor.com/t/disable-auto-co-authored-by-cursor-on-agent-commits-or-make-it-opt-in/168258/8 "2026-08-21T11:35:53Z")

</div>

Hey, you’re right that rules won’t disable this. The trailer is added by Cursor at the tooling level, not by the model, so the rule won’t catch it.

There’s a built-in setting for this. In Cursor Settings \> Git & Pull Requests \> turn off Commit Attribution and PR Attribution if needed. If you’re working via CLI, set `attribution.attributeCommitsToAgent` to `false` in `~/.cursor/cli-config.json`.

Can you tell me which surface you’re using, IDE agent, CLI, SDK, or ACP? If you already turned off attribution but the trailer still shows up, that’s a known issue on some non-IDE paths that we’re tracking. Let me know and I’ll link your case to it.

As a temporary Gerrit workaround, the injection happens before hooks run, so a `commit-msg` hook on your side can automatically strip the trailer.

---

_[View the full topic](https://forum.cursor.com/t/disable-auto-co-authored-by-cursor-on-agent-commits-or-make-it-opt-in/168258)._
