Enabling ai co author by default by cwebster-99 · Pull Request #310226 · microsoft/vscode

· GitHub

8 min read Original article ↗

@cwebster-99

eveeifyeve and anematode reacted with thumbs up emoji towfiqi, jamiejcole, SiJei, edenchazard, MDUK0001, avonbirgelen, kevouellet, Basssiiie, BayooSoft-kfw, i-ky, and 362 more reacted with thumbs down emoji omentic, yzqzss, ndepaola, leana8959, pozylon, and ilyas409 reacted with laugh emoji towfiqi, SiJei, aiguofer, wheelsbot7, thinkpad3, JesFEREM, clarkcox3, fffooofoooo, mildsunrise, ninjahawk, and 20 more reacted with confused emoji

@cwebster-99

@cwebster-99

@cwebster-99

@vs-code-engineering

📬 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

Choose a reason for hiding this comment

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

Pull request overview

This PR changes the Git extension’s git.addAICoAuthor setting so that AI co-author trailers are enabled by default, making the default behavior automatically add a Co-authored-by trailer when AI-generated code contributions are detected.

Changes:

  • Updates git.addAICoAuthor configuration default from "off" to "all".
Show a summary per file
File Description
extensions/git/package.json Switches the default value of git.addAICoAuthor to enable AI co-author trailers by default.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 1
],
"scope": "resource",
"default": "off",
"default": "all",

Choose a reason for hiding this comment

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

The configuration schema default was changed to "all", but the runtime fallback in extensions/git/src/repository.ts still calls config.get('addAICoAuthor', 'off'). This is now out of sync and can lead to unexpected behavior in contexts where the contributed configuration defaults aren't loaded (e.g., some tests/hosts), and it makes the intended default unclear. Update the runtime fallback to match the schema default (or omit the fallback so the contributed default is used).

"default": "all",
"default": "off",
joel-loycom, laphlaw, n11sar, berezovskyi, kinow, MichaelErmer, davwheat, PhotonQuantum, opticaldrive, Jaxelr, and 38 more reacted with laugh emoji

Copilot uses AI. Check for mistakes.

@github-actions

@cwebster-99

dmitrivMS

@dmitrivMS

@dmitrivMS

@rgs2151

Why in the world would you default this! 😡

lorepieri8, towfiqi, SiJei, apollo17m, whatdoimakeup, avonbirgelen, kynex7510, BayooSoft-kfw, sadboy, serramatutu, and 109 more reacted with thumbs up emoji

@anonymni-hlasatel

Wth.. makeing this default behaviour and not notifying users is crazy

lorepieri8, towfiqi, rshin7, SiJei, apollo17m, whatdoimakeup, avonbirgelen, kynex7510, cyberaxon, BayooSoft-kfw, and 78 more reacted with thumbs up emoji

@flying-sheep

please revert until it actually works.

I have "chat.disableAIFeatures": true and co-authored by copilot still gets inserted into most commits. This is absolutely unacceptable.

Malix-Labs, towfiqi, jamiejcole, SiJei, avonbirgelen, kynex7510, BayooSoft-kfw, vcprocles, rshin7, ringoz, and 93 more reacted with thumbs up emoji Malix-Labs, avonbirgelen, brianpetro, 0xku, nightlark, sarbazx, quat1024, deadpanmuesli, and ihabadham reacted with eyes emoji

@edenchazard

Any explanation for the choice to make this default?

Now I know why random commits of mine were suddenly being "co-authored by copilot" despite not using copilot with that commit. I just don't get the point of this at all.

flying-sheep, towfiqi, jamiejcole, SiJei, apollo17m, avonbirgelen, kynex7510, bkodaj-zimperium, rshin7, serramatutu, and 47 more reacted with thumbs up emoji

@jamiejcole

This is absolutely ridiculous and should not at all be defaulted. Especially when not using Copilot whatsoever.

JesFEREM, clarkcox3, Lamarcke, jstromergalley, brianpetro, d3n972, Coops0, andrew-t, mikeMoreno, tjkirch, and 15 more reacted with thumbs up emoji

@marxoffice

So the logic here was: "Let's inject our own name into every commit, even for users who never used Copilot, and ship it as a silent default." Who thought that was okay? It's vandalism. Shameful.

Update: I can personally confirm this: on multiple recent commits I hand-wrote every commit message and never touched Copilot while coding, yet there it is — Co-authored-by: Copilot copilot@github.com — injected anyway. At the very least, people who write their own commit messages in the vscode git UI deserve WYSIWYG. That's the bare minimum of respect for the user.

pezholio, letanloc1998, IndyV, dmitriy-ssh, wrosko, JesFEREM, clarkcox3, RibShark, Lamarcke, cjhelloletsgo, and 64 more reacted with thumbs up emoji

@ringoz

I am not using copilot, I have "chat.disableAIFeatures" and co-authored by copilot still gets inserted into commits.

JesFEREM, clarkcox3, Lamarcke, jstromergalley, mgolebiowski, brianpetro, d3n972, 0xku, phuongtran7, Coops0, and 26 more reacted with thumbs up emoji

Brice (NoiceBroice) referenced this pull request in ThomasSnowden37/Harmoniq-Charts

Apr 29, 2026
Co-authored-by: Copilot <copilot@github.com>

@cloudyluna

brianpetro, 0xku, andrew-t, mikeMoreno, davepermen, SpyC0der77, declark1, vii1, ClementNerma, cjhelloletsgo, and 18 more reacted with thumbs up emoji

@gabereiser

I guess when no one uses your service, you have to pretend people are by adding it to commit messages without their knowledge. Whether they used it or not. This is exactly why Microsoft can’t be trusted with your code, your commits, or your SDLC.

0xku, ryanthomas-org, ethmarks, andrew-t, davepermen, gastmaier, SpyC0der77, mostvexingparse, vii1, oneHoopoe, and 23 more reacted with thumbs up emoji dmitrivMS reacted with eyes emoji

@0xku

I was warming up to zed. Stuff like this leaves me no choice but switch completely.

snehesht, ethmarks, mariogmarq, imReallyUnoriginal, davepermen, FlykeSpice, SpyC0der77, LouisVallat, cisene, eggbit, and 16 more reacted with thumbs up emoji WhereAreTheBaboons, jacobleesinger, and n-saraseka reacted with rocket emoji dmitrivMS reacted with eyes emoji

@gokaygurcan

sigh.. lemme add "git.addAICoAuthor": "off" in my config file and get it done with.

thank you micros~1.

alex-nunn, davepermen, SpyC0der77, LouisVallat, keshavsaharia, maurycy, felipelube, notque, n-saraseka, predakanga, and 3 more reacted with thumbs up emoji

@GerardoSuarezRamos

Cursor handles this differently — there's no automatic attribution because the workflow assumes you're reviewing every diff before commit. The author is whoever ran git commit, full stop. The Microsoft approach feels off because it conflates "I used the editor" with "I co-authored this," which devalues the signal that Co-Authored-by is supposed to carry.
The deeper issue: if every commit made in any IDE with AI features carries a Co-Authored-by tag, the metadata becomes noise. We already have a hard time tracking real authorship in PR-heavy workflows; auto-tagging makes it worse.

Kai-Richardson, felix-gohla, SpyC0der77, turadg, rajayonin, felipelube, and Sorrien reacted with thumbs up emoji ethmarks, jarrodlombardo, DiegoEnriquezSerrano, gjohnston9, dawnerd, and Ernesto905 reacted with thumbs down emoji

@snehesht

felix-gohla, davepermen, FlykeSpice, berezovskyi, ven, SpyC0der77, LouisVallat, tudordaian, jcampuza, icopp, and 13 more reacted with thumbs up emoji ven, SpyC0der77, vii1, U-C-S, and scottj reacted with laugh emoji WhereAreTheBaboons, scottj, and dropwhile reacted with rocket emoji dmitrivMS reacted with eyes emoji

@whitequark

Quick question: what the fuck is wrong with you?

ven, gastmaier, cmeyer, SpyC0der77, CobaltCause, LouisVallat, nicolasmaia, davwheat, arpachuilo, dboyraz, and 78 more reacted with thumbs up emoji nelsonic reacted with confused emoji dmitrivMS reacted with eyes emoji

@woctezuma

@ArmanJR

back in 2009 I used windows to buy a software engineering book from amazon. go ahead add Co-Authored-by Bill Gates to my PRs. come on i'm waiting.

@mateolafalce

@yzqzss

Uninstalling, good bye, I'll never switch back to the M$ slop editor.

@ikidd

Do they give you the lobotomy before your initial job orientation at Microsoft, or after? I wonder if you have to use up vacation days for the recovery time.

@alxndr42

Slopya Nadella likes this.

@Atulin

@lisanna-dettwyler

@ImKventis

@ItsMrCube

This is insanity, please revert

@gkgoat1

@toby5box

@MrDiamondDog

Leave it to Microsoft to take credit for things they had nothing to do with.

@Atulin

Microslop be Microsloppin'

They add Copilot to everything and their mother, so that they can boast 17 morbillion Copilot users to shareholders. A surprisingly simple strategy, but apparently works lmao

@amadaluzia

Pro-tip: You can achieve the same power as Visual Studio Code by just using Emacs with a framework like Doom Emacs or Spacemacs. If you want an editor truly without AI, use Gram or something :P

@olejsc

Frankly, its quite invasive, and isn't something any IDE should do by default, at all, and definitively not HIDDEN.

I challenge any product manager, to have auto-inserted "With regards, co-authored by Copilot" in any email they send with outlook. But, they should not see that text until AFTER they've sent the email. Courtney Webster (@cwebster-99) , do you take the challenge?

@Siphonay

I suspect this is a move to artificially inflate the metric of copilot-authored commits across all of GitHub.

@dylanmtaylor

This is actually a terrible change. Please consider reverting it.

@HenrickTheBull

So that's why I have commits with Copilot on it.

I'm not asking nicely, I demand that you revert this extremely dumb PR.

@berzanorg

i guess it is time to use other editors

@FrozenDroid

@skylarkblue1

To whoever forced this: Are you stupid?

@asukaminato0721

@dmitrivMS

Thank you all for your feedback, professional or otherwise.
Sorry about the regression. I will work on fixing this in 1.119.

There is a number of issues with the Co-Author functionality:

  • It should never have been enabled when disableAIFeatures is on.
  • It should not add attribution to changes that were not done by AI.
  • We need to make sure it receives a more test coverage before change the default.

If you have additional (constructive) feedback, please ping me directly or open an issue.

@Vzor-

This borders on fraud. Claiming co-authorship is a legal statement, with legal implications for re-licensing code.

@dmitrivMS

FYI - a follow up PR is here:
#313931

@dmitrivMS

FYI - we have posted update on the subject with more details and analysis here:
#314311