Repository navigation
Description
Description
Copilot sessions in the VS Code agent host (Copilot SDK) add this trailer to every commit the agent creates:
Co-authored-by: Copilot <[email protected]>
They do this by default, even when the user has set "git.addAICoAuthor": "off".
chat.agentHost.copilot.includeCoAuthoredBy was introduced silently, and it works against the existing setting.
- Silently: it was added in 1.145.0 (Allow disabling Copilot's Co-authored-by trailer in agent-host sessions #342213 / agentHost: add setting to turn off Copilot's Co-authored-by trailer #339437) without a release-notes entry. The 1.145 release notes only list the PR title, "agentHost: add setting to turn off Copilot's Co-authored-by trailer", in the generated PR list. They don't name the setting, mention that it defaults to
true, or say that it applies regardless ofgit.addAICoAuthor. Nothing in the UI tells users either. - Against the existing setting:
git.addAICoAuthoris the established, documented AI co-author setting. Its default isoff, restored in 1.119 after Update on "Co-authored-by: Copilot" in commit messages #314311. The new setting ignores it and defaults to the opposite (true). Its PR acknowledgesgit.addAICoAuthor, yet it doesn't use that setting's value. The result: a user who explicitly chose"git.addAICoAuthor": "off"still gets AI co-author trailers on agent commits because of a second setting they were never told about. - Effect: turning off AI co-author attribution now takes a second, separate setting that isn't announced anywhere. Without it, commits are silently attributed to Copilot until the user notices and amends them.
This repeats the default change that #314311 reverted:
git.addAICoAuthorwas changed fromofftoall(1.117), then tochatAndAgent(1.118).- After strong community pushback, the default was reverted to
offin 1.119 (Change default for git.addAICoAuthor to off #313931). - Update on "Co-authored-by: Copilot" in commit messages #314311 committed that "Before adding a commit trailer, the user will have to give consent, no matter the default value of the setting." It also committed that attribution is disabled when
disableAIFeaturesis set.
The agent-host setting does neither. It is on by default, asks for no consent, and doesn't follow git.addAICoAuthor. The PR that added it says "The default is true, so attribution works the same as today unless you opt out."
This matters for projects that require a DCO sign-off or limit who may appear as a co-author. Users end up with commit metadata they explicitly opted out of, through a setting they reasonably expected to cover this.
Related:
- Update on "Co-authored-by: Copilot" in commit messages #314311: reverting the
git.addAICoAuthordefault tooffand committing to user consent - Allow disabling Copilot's Co-authored-by trailer in agent-host sessions #342213: added
chat.agentHost.copilot.includeCoAuthoredBywith defaulttrue - should git.addAICoAuthor setting specify which commits it supports? #297415:
git.addAICoAuthoronly applies to commits made through the Git UI includeCoAuthoredBy: falseis ignored in VS Code Agent Host —Co-authored-by: Copilotis still injected into commits #340038:includeCoAuthoredBy: falsefrom~/.copilot/settings.jsonis ignored in the agent host- includeCoAuthoredBy: false is not inherited by task subagents; their commits still get the Co-authored-by trailer github/copilot-cli#4576: the opt-out is not inherited by
tasksubagents
Steps to reproduce
- In user settings, set
"git.addAICoAuthor": "off". Leavechat.agentHost.copilot.includeCoAuthoredByat its default. - In a Git repository, ask the Copilot agent to make a change and commit it (for example, "commit signoff").
- Run
git log -1 --format=%B.
Expected
No Co-authored-by: Copilot trailer. AI co-author attribution is off by default, as with git.addAICoAuthor since 1.119, and the user explicitly turned it off.
Actual
The commit contains Co-authored-by: Copilot <[email protected]>. Telling the agent not to add it only lasts for the current session.
Requested fix
- Change the default of
chat.agentHost.copilot.includeCoAuthoredBytofalse, matching thegit.addAICoAuthordefault ofoff. - Never let the new setting override an explicit
git.addAICoAuthor: off. Ideally, retire the separate setting so one setting controls AI co-author attribution. - Document the setting and its default in the release notes, and in the
git.addAICoAuthordescription, so users can find it. - Never add the trailer to agent commits while
git.addAICoAuthorisoffordisableAIFeaturesis set. Ideally, have one setting cover every commit path (see should git.addAICoAuthor setting specify which commits it supports? #297415). - Apply the consent requirement promised in Update on "Co-authored-by: Copilot" in commit messages #314311 to agent commits too: don't add a trailer without the user's consent, whatever the default.
- Make sure the opt-out applies to new, resumed, and restored sessions and to subagents (includeCoAuthoredBy: false is not inherited by task subagents; their commits still get the Co-authored-by trailer github/copilot-cli#4576).
Environment
- VS Code: 1.146.0 (user setup), commit
69047191fc427f2f92828279aae1d90d8eeda7ab, 2026-11-10T19:27:51Z - Electron 43.8.6, Chromium 150.0.7871.250, Node.js 24.22.1
@github/copilot: 1.0.108-0@github/copilot-sdk: 1.0.30-preview.0- OS: Windows_NT x64 10.0.26200 (host); workspace in a Linux dev container
git.addAICoAuthor:offchat.agentHost.copilot.includeCoAuthoredBy: default (true)
Activity
[-]Copilot agent adds `Co-authored-by: Copilot` trailer to commits even though `chat.agentHost.copilot.includeCoAuthoredBy` is `false` (and `git.addAICoAuthor` is `off`)[/-][+]Agent-host Copilot sessions add `Co-authored-by: Copilot` by default: `chat.agentHost.copilot.includeCoAuthoredBy` should default to off like `git.addAICoAuthor`[/+][-]Agent-host Copilot sessions add `Co-authored-by: Copilot` by default: `chat.agentHost.copilot.includeCoAuthoredBy` should default to off like `git.addAICoAuthor`[/-][+]Agent-host Copilot sessions add `Co-authored-by: Copilot` by default: silently introduced `chat.agentHost.copilot.includeCoAuthoredBy` defaults to on, overriding `git.addAICoAuthor: off`[/+]WiLuX-Source commentedon Nov 14, 2026
I still don't understand what is the need of co-author AI agents... I know you guys go heavy in AI and want to show some numbers to people.
Could you at least do it in a way that not will annoy the devs around the world? Thanks.
SmashingQuasar commentedon Nov 14, 2026
LLMs are built on the stolen work of millions of engineers, artists, authors, and so many other professions. Why stop here, when you can actively steal newly produced code by competent people that don't want to use vibe coding?
jbarrachinamansergas commentedon Nov 18, 2026
This setting must be FALSE by DEFAULT !!!