Should AI-Generated Code Be Labeled in Your Git History? Lessons from the Linux Kernel's 'Assisted-by' Mandate The Linux Kernel's adoption of an 'Assisted-by' attribution tag for AI-generated code in 2024 has set a precedent for engineering teams. The policy, championed by Linus Torvalds, requires contributors to acknowledge AI assistance in commit metadata, balancing transparency with practical workflow. The approach offers technical benefits such as improved debugging, compliance, and code review, though it also introduces workflow friction. Originally published on tamiz.pro. When Linus Torvalds and the Linux Kernel maintainers adopted a formal Assisted-by attribution tag for AI-generated code in 2024, it sent ripples through the engineering world. This wasn't a whimsical policy decision — it was a deliberate stance on code provenance, accountability, and the evolving relationship between human developers and AI assistance tools. For engineering teams building their own policies, the Linux Kernel's approach offers a masterclass in balancing transparency with practical workflow realities. The Linux Kernel's Assisted-by tag emerged from a simple observation: contributors were increasingly using tools like GitHub Copilot, OpenAI Codex, and Cursor to generate or refactor code. The community needed a mechanism to acknowledge this assistance without stigmatizing it or obscuring the human authorship of the final patch. The tag works like this — if an AI tool substantially contributed to a piece of code, the contributor adds a trailer line: Assisted-by: GPT-4