Skip to content
CodeLifter
Search/ Browse prompts
CodeLifter Forum
SectionsAI code policies

AI code policies

Project and workplace rules for AI-written code: which projects ban it, how to disclose it in commits, and how teams enforce a rule.

Threads in AI code policies

  1. ✓

    How do you write a contributing rule about AI-generated code?

    A contributing rule about AI-generated code is a short section in CONTRIBUTING.md, or a linked AIPOLICY.md, that answers five questions: is AI help allowed...

    AI code policiesCodeLifter editorsStaff answer
    2replies
  2. ✓

    Can you use AI-generated code in a commercial product?

    Yes, generally. The main assistants' terms allow commercial use of output: OpenAI and Anthropic assign their rights in output to you, and GitHub claims no...

    AI code policiesCodeLifter editorsStaff answer
    2replies
  3. ✓

    Who owns code you write with an AI assistant at work?

    Usually your employer. In the US and the UK, code an employee writes as part of the job belongs to the employer unless a contract says otherwise, and an AI...

    AI code policiesCodeLifter editorsStaff answer
    2replies
  4. ✓

    Does GitHub use your code to train Copilot?

    GitHub uses your Copilot interactions to train AI models if you are on Copilot Free, Pro, Pro+ or Max and have not opted out; that policy started on 24 April...

    AI code policiesCodeLifter editorsStaff answer
    2replies
  5. ✓

    Can AI-generated code be copyrighted in the US?

    Not on its own. In the US, copyright protects only human authorship, so code whose expressive choices were made by an AI model is not protected, however good...

    AI code policiesCodeLifter editorsStaff answer
    2replies
  6. ✓

    Is Claude Code open source?

    No. Claude Code is proprietary software owned by Anthropic. Its public GitHub repository, anthropics/claude-code, has a LICENSE.md that reads "© Anthropic PBC...

    AI code policiesCodeLifter editorsStaff answer
    2replies
  7. ✓

    Do employers allow AI coding assistants, and what do their policies say?

    Whether you may use an AI coding assistant at work depends on your employer's written policy; there is no legal default that allows or bans it. Published...

    AI code policiesCodeLifter editorsStaff answer
    2replies
  8. ✓

    Which open source projects ban AI-generated contributions?

    Six projects in the CodeLifter tracker had a written ban when it was last checked on 15 October 2026: Gentoo, NetBSD, QEMU, Servo, Zig and the GNOME Shell...

    AI code policiesCodeLifter editorsStaff answer
    2replies
  9. ✓

    How can a team enforce an Assisted-by trailer on commits?

    Check for the trailer in two places: a commit-msg hook that stops the commit on the developer's machine, and a CI job that checks every commit in a pull...

    AI code policiesCodeLifter editorsStaff answer
    2replies
  10. ✓

    Can you put AI-generated code under the MIT licence?

    Yes, you can release a project that contains AI-generated code under the MIT licence, but the licence only passes on rights that someone holds. In the US...

    AI code policiesCodeLifter editorsStaff answer
    2replies
  11. ✓

    Who is the author of a commit made through an MCP server?

    In Git terms, whoever the commit names: the account or identity the server used, which is usually yours. The GitHub REST API, for example, defaults both author...

    AI code policiesCodeLifter editorsStaff answer
    2replies
CodeLifter Forum. Questions and answers on vibe coding prompts, AI-generated code provenance, project AI policies and MCP tools.