How and why I attribute LLM-derived code

300 · Jamie Tanna · Feb. 25, 2026, 11:12 a.m.
Summary
In this post, Jamie Tanna discusses his cautious approach to using AI-generated code, focusing on the importance of documenting LLM-derived contributions at the commit level for legal and ethical reasons. He details his personal workflow for attributing AI usage in code, highlighting methods like inline comments and co-authorship annotations in Git commits. Tanna emphasizes the potential legal implications of AI code usage and advocates for transparency in code reviews, ultimately reflecting on how this practice can protect both the developer and the integrity of the codebase.