Hey, thanks for the report. There are two separate issues here:
- About the
--trailerflag
This is an Attribution feature - you can turn it off:
Cursor Settings > Agents > Attribution - just toggle it off.
- About ignoring edited commands
This is a known bug - when you edit a suggested command before running it, the agent still executes the original version. That’s why your commit messages ended up with the wrong text.
Duplicate: Agent Mode Ignores User-Modified Commands in Terminal
The team is aware. For now, the workaround is to not edit the command, but to cancel and ask the agent to suggest the needed command directly (for example: “commit with message X, no trailer”).
Let me know if adjusting the Attribution setting resolves at least the first part of the issue.