Skip to content

Default git.addAICoAuthor to off - #313725

Closed
Typed SIGTERM (typed-sigterm) wants to merge 2 commits into
microsoft:mainfrom
typed-sigterm:patch-1
Closed

Typed SIGTERM (typed-sigterm) wants to merge 2 commits into
microsoft:mainfrom
typed-sigterm:patch-1

Conversation

@typed-sigterm

@typed-sigterm Typed SIGTERM (typed-sigterm) commented May 1, 2026 •

Copy link
Copy Markdown

The unauthorized addition of product advertisements without notifying users has drawn widespread criticism:

I personally don't care much about this, but you can't assume that everyone accepts it.

The unauthorized addition of product advertisements without notifying users has drawn widespread criticism:
- https://github.com/orgs/community/discussions/194075
- https://news.ycombinator.com/item?id=47966278
Copilot AI review requested due to automatic review settings May 1, 2026 14:10
@vs-code-engineering

vs-code-engineering Bot commented May 1, 2026 •

Copy link
Copy Markdown
Contributor

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

Ladislau Szomoru (@lszomoru)

Matched files:

  • extensions/git/package.json
  • extensions/git/src/repository.ts

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the built-in Git extension’s configuration to disable automatic AI co-author trailer insertion by default, addressing concerns about adding “Co-authored-by” trailers without explicit user opt-in.

Changes:

  • Change the default value of git.addAICoAuthor from chatAndAgent to off.

Comment thread extensions/git/package.json
@typed-sigterm

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

@edenchazard

Copy link
Copy Markdown

+1

The original change (#310226) of off to all was honestly mind-boggling. Like, who thought that would go over well? There's been much discussion about that, so I'll avoid bringing it up again, but I feel this really should be opt-in for plenty of reasons. I'm not comfortable having my commits silently altered. There's not even anything in the UI when committing, to indicate that copilot will be added as a co-author.

The second change (#312880), after feedback, of all to chatAndAgent is... somewhat better. It feels a little more balanced, but it's still unwanted. It's not great that this was snuck in, and I've not seen any response from MS about it.

On a somewhat adjacent point: In my experience - and from what I've read from others - this "feature" doesn't always honour the setting anyway. That wants investigating.

@typed-sigterm

Copy link
Copy Markdown
Author

There're also some legal considerations: https://byteiota.com/vs-code-copilot-co-author-default-copyright-chaos-ensues/

@Wren6991

Copy link
Copy Markdown

Consider this counterargument: NUMBER 👏 GO 👏 UP 👏

@dmitrivMS

Copy link
Copy Markdown
Collaborator

Thanks for this, I may have to make a new PR to check this in though since our engineering system prevents package.json changes. Will do that shortly.

@dmitrivMS

Copy link
Copy Markdown
Collaborator

Here you go: #313931
It includes a little more to make sure the feature does not run when AI is disabled.
Closing this one, feel free to comment there instead.

@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Jun 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants