Skip to content

Allow disabling Copilot's Co-authored-by trailer in agent-host sessions #342213

Closed

Description

Feature Request

Provide a setting to disable the Co-authored-by: Copilot trailer for commits made by Copilot sessions running in the agent host, including the Agents window.

Currently, the Copilot runtime instructs these sessions to add the trailer by default. Neither git.addAICoAuthor (which controls commits through the Git UI) nor the CLI app setting includeCoAuthoredBy controls SDK-hosted agent-host sessions, so users must ask the agent to omit the trailer in each session.

Add chat.agentHost.copilot.includeCoAuthoredBy, defaulting to true to preserve existing behavior, and apply it when Copilot sessions are created or resumed. Setting it to false should disable the runtime’s co-author instruction. Existing open chats and other providers are outside the scope of this change.

Sub-agent inheritance depends on the upstream runtime fix in github/copilot-cli#4576.

Fixed by #339437.

Related: #314311.

Activity

  1. added
    feature-request
    agent-host
    git-provenance
    on Oct 16, 2026
  2. added
    unreleased
    on Oct 29, 2026
  3. added this to the 1.145.0 milestone on Oct 29, 2026
  4. added
    insiders-released
    verification-needed
    and removed
    unreleased
    on Oct 29, 2026
  5. dmitrivMS commented on Oct 30, 2026

    @dmitrivMS
    CollaboratorAuthor

    Note: the Copilot runtime side is also fixed, should be included next time we pick it up into VS Code.

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

Metadata

Metadata

Labels

agent-hostfeature-requestgit-provenanceinsiders-releasedverification-neededverified

Type

No type

Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions