Microsoft Reverses VS Code Change That Automatically Attributed Code to Copilot
#AI

Microsoft Reverses VS Code Change That Automatically Attributed Code to Copilot

Regulation Reporter
4 min read

Microsoft has reversed a default setting in VS Code that automatically added 'Co-authored-by: Copilot' to commits, following developer complaints that the AI assistant was improperly claiming credit for human-authored code. The change, initially implemented in VS Code 1.110 in March, has been modified to make the attribution opt-in rather than automatic in the upcoming 1.119 release.

Microsoft has reversed course on a controversial change to its Visual Studio Code editor that automatically attributed code contributions to its AI assistant Copilot, even when human developers had written the code without AI assistance. The issue highlights growing concerns about proper attribution in AI-assisted development environments.

The Initial Change and Developer Backlash

In early March 2026, Microsoft introduced a change in VS Code version 1.110 that automatically added "Co-authored-by: Copilot" to commit messages whenever any level of AI assistance was detected. This modification to the Git extension was intended to "add the trailer for all AI-generated code, including inline completions" according to the pull request documentation.

However, developers quickly reported that the attribution was being added indiscriminately. Many noted that the AI authorship line appeared even when they weren't using Microsoft's Copilot AI assistant or when AI features had been disabled.

"The most concerning part is that I had already checked the commit message before committing," wrote one developer in a GitHub community discussion. "I deleted Copilot's generated English commit message and manually wrote my own commit message instead. However, after the commit was created, the final Git history still contained the Copilot co-author line."

This raised serious concerns about version control integrity and professional development workflows, as developers could no longer trust that the commit message they reviewed before committing would remain unchanged.

Microsoft's Response and Fix

Over the weekend of May 2-3, 2026, Dmitriy Vasyura, the VS Code reviewer who initially approved the pull request, publicly apologized for approving the change without adequately considering how it would be received.

"There was no ill intent by [an] evil corporation, but rather a desire to support functionality that some customers expect of VS Code [with regard to] AI-generated code," Vasyura wrote in a forum post. He acknowledged that the implementation should respect when AI features have been disabled and should not misreport commit authorship.

The fix, authored on May 3, 2026, is scheduled to appear in VS Code's upcoming 1.119 release. It changes the default setting for appending the Copilot authorship trailer back to opt-in, meaning developers must explicitly choose to have their AI-assisted work attributed to Copilot.

Broader Context of AI Attribution

VS Code's approach to AI attribution is part of a larger trend in development tools, with varying approaches across different platforms:

  • Anthropic's Claude Code: Automatically adds "Co-Authored-By: Claude" to commits by default, with several open issues requesting this be made optional
  • OpenAI's Codex: Offers attribution by default but allows disabling it through the commit_attribution flag in config.toml
  • Linux Project: Requires humans to sign off on contributions and mandates recording AI assistance in attribution notices
  • Zig Project: Forbids AI-assisted code submissions entirely

The automatic attribution of AI-generated code raises several complex legal and practical questions:

  1. Copyright Protection: Purely AI-generated content may not qualify for copyright protection. Having an AI attribution notice could complicate commercial usage of AI tools by questioning whether there was sufficient human involvement to qualify for intellectual property protection.

  2. Liability Concerns: In software-related disputes, AI attribution notifications could complicate liability determinations. Some insurers have reportedly been reluctant to provide business liability insurance where AI is involved, potentially giving them leverage to deny claims.

  3. Vague Attribution: Generic AI attribution notices don't clarify whether the AI wrote 100% of the code or performed only minor autocompletions, potentially misleading stakeholders about the nature of the contribution.

  4. Social Considerations: In some development communities, AI involvement in creative work is viewed negatively, potentially affecting a developer's reputation.

Compliance Recommendations for Development Teams

For organizations using AI-assisted development tools, this situation offers several important compliance considerations:

  1. Review AI Tool Settings: Audit your development environment settings to understand how AI attribution is handled by default in your tools of choice.

  2. Establish Clear Policies: Develop organizational policies regarding AI-assisted code development, including when and how AI contributions should be acknowledged.

  3. Educate Development Teams: Ensure developers understand how AI tools handle attribution and the potential implications of automatic attribution in version control systems.

  4. Document AI Involvement: Maintain clear documentation of AI involvement in code development processes, particularly for mission-critical or commercial applications.

  5. Consider Legal Implications: Consult with legal counsel about the implications of AI attribution on intellectual property rights and potential liability exposure.

Microsoft's reversal of the automatic attribution setting demonstrates the importance of community feedback in shaping development tool policies. As AI becomes increasingly integrated into development workflows, establishing clear standards for attribution and compliance will remain a critical challenge for the software development industry.

For more information about VS Code's Git extension settings, refer to the official VS Code documentation.

The broader conversation about AI attribution continues to evolve, with different projects and organizations adopting varying approaches to this complex issue. Developers should stay informed about these developments as they may impact workflows, legal compliance, and professional reputation in the coming years.

Comments

Loading comments...