ACP + Zed: attribution opt-out ignored (`attributeCommitsToAgent` / `attributePRsToAgent` `false`)

Where does the bug appear (feature/product)?

Cursor CLI

Describe the Bug

When using Cursor through Zed via ACP, commit and PR attribution is still applied even though attribution is explicitly disabled in ~/.cursor/cli-config.json.
Affected behavior:
Commits: Co-authored-by: Cursor [email protected] is added (appears to be injected programmatically via --trailer, not from the agent’s git commit command).
PRs: Footer such as “Created with Cursor” / “Made with Cursor” is appended to PR bodies when the agent runs gh pr create.
The same attribution settings work correctly in Cursor IDE (Settings → Git & PRs → Attribution turned off). The issue is specific to the Zed + ACP path.

Steps to Reproduce

Steps to reproduce
In ~/.cursor/cli-config.json, set:

"attribution": {
  "attributeCommitsToAgent": false,
  "attributePRsToAgent": false
}

Connect Zed to Cursor via ACP (agent acp or equivalent Zed Cursor integration).
Ask the agent to create a commit (e.g. git add + git commit).
Ask the agent to create a PR (e.g. gh pr create).

Actual behavior

Commits include Co-authored-by: Cursor [email protected].
PR bodies include a Cursor attribution footer.

Expected Behavior

No Co-authored-by: Cursor trailer on commits.
No Cursor branding/footer in PR descriptions.
Same as when attribution is disabled in Cursor IDE.

Operating System

MacOS

Version Information

Cursor CLI: 2026.10.01-e373342

For AI issues: which model did you use?

All models are impacted

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @Hugo_Drelon, thanks for the report!

You’re right, the attribution settings in cli-config.json aren’t being applied when the agent runs over ACP (Zed or any other ACP client). They’re honored when you run agent directly in a terminal. I’ve flagged this to the team.

In the meantime, two workarounds:

  1. Commits: add a commit-msg hook that strips the trailer. Save this as .git/hooks/commit-msg and make it executable (chmod +x .git/hooks/commit-msg):
#!/bin/sh
sed -i.bak '/^Co-authored-by: Cursor <[email protected]>$/d' "$1" && rm -f "$1.bak"
  1. PRs: the footer is only added when the PR description is passed inline with --body. If you ask the agent (or add a rule) to write the description to a file and run gh pr create --body-file <file>, no footer is added.

Thanks for the answer @Colin!

I already added a git hook, it works fine. I’ll try the PR description file trick.