HeadlinesBriefing favicon HeadlinesBriefing.com

Git-Annex Bans LLM Code in Dependencies

Hacker News •
×

Developer Joey Hess spent over 100 hours ensuring the git-annex build process excludes dependencies containing LLM-generated code. This effort stems from discovering significant, unexplained code changes in dependencies, some appearing to skirt copyright infringement. Hess views this as a necessary, albeit uphill, battle against declining code quality.

One alarming incident involved a 1489-line commit message accompanying 10,000 lines of changes to a 26,000-line codebase. Hess also noted an LLM prompt to copy code from another project, which narrowly avoided copyright issues. These findings directly impact Hess's future dependency decisions, aiming to maintain project integrity.

Hess acknowledges this stance is difficult, suggesting it contributed to the Software Freedom Conservancy's (SFC) withdrawal from certain efforts. He expresses concern over the broader implications of easily generated, low-quality code contributions impacting community collaboration and software freedom. The work continues despite these challenges.