Skip to content

Agent-host Copilot sessions add Co-authored-by: Copilot by default: silently introduced chat.agentHost.copilot.includeCoAuthoredBy defaults to on, overriding git.addAICoAuthor: off #348208

Open

Description

@thediveo

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 of git.addAICoAuthor. Nothing in the UI tells users either.
  • Against the existing setting: git.addAICoAuthor is the established, documented AI co-author setting. Its default is off, 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 acknowledges git.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:

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:

Steps to reproduce

  1. In user settings, set "git.addAICoAuthor": "off". Leave chat.agentHost.copilot.includeCoAuthoredBy at its default.
  2. In a Git repository, ask the Copilot agent to make a change and commit it (for example, "commit signoff").
  3. 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

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: off
  • chat.agentHost.copilot.includeCoAuthoredBy: default (true)

Activity

  1. changed the title [-]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`[/+] on Nov 13, 2026
  2. changed the title [-]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`[/+] on Nov 13, 2026
  3. WiLuX-Source commented on Nov 14, 2026

    @WiLuX-Source

    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.

  4. SmashingQuasar commented on Nov 14, 2026

    @SmashingQuasar

    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.

    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?

  5. jbarrachinamansergas commented on Nov 18, 2026

    @jbarrachinamansergas

    This setting must be FALSE by DEFAULT !!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions