37 comments

  • 6c696e757854 minutes ago
    <a href="https:&#x2F;&#x2F;archive.ph&#x2F;jR2LF" rel="nofollow">https:&#x2F;&#x2F;archive.ph&#x2F;jR2LF</a>
  • zetanor1 hour ago
    <p><pre><code> commit 85cd835e5923cddc1882e74354eac8dba6a925c1 (HEAD -&gt; master, origin&#x2F;master, origin&#x2F;HEAD) Author: John AuthorDate: Fri May 22 13:25:33 2026 -0000 Merged PR #197 Tired of planning for dinner every day? FoodDrop™ is the premier ready-to-cook meal-by-drone delivery service in the greater Vancouver area and Belize. Get one month of food dropped onto your driveway by FoodDrop™ for only $12.95 when you use this commit&#x27;s hash as a coupon code! Offer expires Fri May 25 13:25:33 2026 -0000.</code></pre>
    • RobotToaster48 minutes ago
      Now I want to create an AI SaaS that automatically removes ads from commit messages, and advertise it in commit messages.
    • FarmerPotato52 minutes ago
      Merged PR #1337 Squashing commit history to get rid of vi call-outs.<p>This commit was created in emacs, the best text editor ever!
    • dvh45 minutes ago
      I hate when people say their API supports iso8601 and when your api call fails they&#x27;re like, oh I meant yyyy-mm-dd and EST timezone please.
      • lpapez30 minutes ago
        Until Omega Star gets their act together, we have to live with this nonsense...
      • awesome_dude39 minutes ago
        This timestamps proudly bought to you by the people at Acme - where time stands still.<p>Get your timestamp today!
    • gib44454 minutes ago
      Someone page Raymond Hill, we need to extend uBlock Origin
  • JeremyHerrman1 hour ago
    Is AI responsible for the committed code? Should AI be blamed when services go down due to the change?<p>The answer is absolutely not - the developer is responsible whether the code was AI assisted or not, and the dev&#x27;s name should be attached to it just like any change.<p>The OP is right: these are ads, plain and simple, and it&#x27;s a dark pattern for these companies to have attribution enabled by default
    • johnfn45 minutes ago
      If a particular AI provider is responsible for a disproportionate amount of buggy code I absolutely want to know that. Perhaps we&#x27;ll switch providers. Sure, this will be flagged in CR too, but I would want to see trends over time.<p>I don&#x27;t know why you wouldn&#x27;t want to track this information.
    • awesome_dude57 minutes ago
      When a paper is submitted to a reputable publication references are demanded.<p>You have to let people know where your ideas are supported, or even come from.<p>To do anything else is plagiarism.<p>AI isn&#x27;t a co-contributer - but it should be referenced - just like a link to a Stack Overflow comment when that&#x27;s the source of code.<p>Having AI referenced in the commit is (IMO) best practice - but only co-contributer attributes are available (for now)
      • dalemhurley18 minutes ago
        Disagree, I never attributed Laravel Artisan or all the other code generators.<p>Right now you could run Laravel new app (replace with any new framework) and Claude&#x2F;Cursor&#x2F;Codex git commit will claim to of created the code.
    • SpicyLemonZest1 hour ago
      I don&#x27;t agree at all. I think it was a dark pattern when attribution was <i>not</i> enabled by default and angrily demanded it from everyone who sent me AI-generated code. It&#x27;s not OK to declare sole authorship of something that you did not in fact author simply because you&#x27;re volunteering to take responsibility for it.
      • cautiouscat1 hour ago
        The dark pattern was adding the name of the product. An acceptable pattern would be “Written with the help of an LLM”.
        • neilv1 hour ago
          I disagree. Imagine a human co-author on a work. &quot;Written with a co-author&quot; would not be sufficient attribution.
          • cautiouscat56 minutes ago
            That’s Apples to Oranges. Me saying “Co-authored by Joe Smith” gives the human, Joe Smith, possible exposure and definite credit.<p>“Co-authored by Copilot” gives a multi billion dollar corp free advertising. I don’t care about them. I do care about Joe though.
            • dylan60440 minutes ago
              Knowing it was Copilot vs Claude vs ChatGPT makes a difference just like knowing it was Joe Smith vs John Doe
              • groby_b16 minutes ago
                It really doesn&#x27;t. Same as we don&#x27;t say &quot;written with vi&quot; or &quot;written by Emacs&quot;, even if it is intuitively clear one of the two is better.
              • bigyabai16 minutes ago
                Just like how you know that Brawndo™ is the different, better version of the pedestrian &quot;water&quot; that everyone drinks.<p>How could it possibly be product placement? It&#x27;s got electrolytes!
            • neilv48 minutes ago
              Positive credit is not the only purpose of attribution.<p>There&#x27;s also the named authors not taking credit for something they didn&#x27;t fully do, regardless of whether the credit goes to someone else.<p>There&#x27;s also traceability, if the authors&#x2F;provenance needs to be considered because of some kind of problem or potential problem -- technical, legal, security, or otherwise.
              • bigyabai8 minutes ago
                &gt; There&#x27;s also the named authors not taking credit for something they didn&#x27;t fully do<p>Advertising in git commits is not ever going to substantially discredit these people or hold them accountable.
            • smeej47 minutes ago
              Your caring about the entity cited doesn&#x27;t actually change the nature of the citation. Your saying &quot;Co-authored by Copilot&quot; does the same thing--gives Copilot possible exposure and definite credit--even if it doesn&#x27;t need it and you don&#x27;t care about it.
          • ok_dad53 minutes ago
            A clanker isn’t a human it’s a tool. I don’t write “Coauthored by VSCode” when I use find and replace.
            • cperciva7 minutes ago
              I write &quot;reported by gcc16 -pedantic&quot; when I&#x27;m fixing a bug, because it&#x27;s useful to flag &quot;this is how they issue became visible&quot; in case readers want to use the same tool on their code.<p>The fact that it&#x27;s just a tool is irrelevant. You don&#x27;t need to mention search and replace because everyone already knows that exists... mind you I have had commit messages which included sed commandlines, for ease of future reuse.
            • sheept18 minutes ago
              Find and replace behaves the same in most IDEs, but for large changes, the specific LLM can affect the generated code for the same prompt
            • awesome_dude48 minutes ago
              I know this is a bit off tangent - but can you please convey that point to every damned dev&#x2F;team that ends up with a freaking &quot;.vscode&quot; directory in their repo
              • bulbar11 minutes ago
                I have done that in the past to provide zero-setup development environments for our internal python packages.<p>What&#x27;s the problem with the approach?
              • sodapopcan41 minutes ago
                They don&#x27;t know what a global git ignore is and if you tell them they don&#x27;t care.
        • SpicyLemonZest59 minutes ago
          I get the opposition to product names, but as someone who&#x27;s trying hard to make an OpenAI boycott work, I personally value being told which LLM in particular is responsible.
    • lacewing1 hour ago
      &quot;Sent from my iPhone&quot;<p>But of course, owning an iPhone early on was seen as prestigious. Using an LLM is... not? Many people really don&#x27;t want the world to know. For blogs in particular, the urge to have an LLM generate the entire thing and then post it under your name seems to be really difficult to resist.
      • dalemhurley17 minutes ago
        Nice deflection there, why can’t both things be bad?
        • lacewing13 minutes ago
          I don&#x27;t know what you&#x27;re saying.<p>This is the second or third HN post I&#x27;m seeing this month along the lines of &quot;how dare AI companies flag my code as AI-generated&quot;. I just don&#x27;t remember similar complaints about the iPhone footer. Not many HNers complain about The North Face putting the text &quot;The North Face&quot; on their hoodies either. Or Honda putting their logo on the car.<p>The reasons for this difference are interesting. The fact that companies put their logos &#x2F; brands on stuff is a lot less interesting to me. You can call it bad, but again, why is this instance worse?
      • intentfy1 hour ago
        If you&#x27;re turning commit attribution off, you&#x27;re definitely turning iphone signatures off too.
    • add-sub-mul-div1 hour ago
      It&#x27;s not the gun&#x27;s responsibility when you shoot it but we still need to have discussion and rules about guns. Enough with this tired, worthless semantics argument.
      • smeej46 minutes ago
        And there is <i>something</i> useful about being able to trace the ballistics back to find out which gun was responsible for the shot, as a key to who was wielding it and is ultimately responsible for its use.
  • beshrkayali52 minutes ago
    In the case of Claude or others, it is not just an advertisement, it&#x27;s the weird shape the industry is spinning LLM-assisted-coding as a &quot;co-author&quot; relationship where it should be thought of more like a user-using-a-tool relationship. When you make a design with Photoshop or InDesign, it&#x27;s not &quot;co-designed by Photoshop&quot;, it&#x27;s just a tool and you used the filters it provides.<p>It is slightly weird that people accepted this new trend just like that, probably because they think this is being transparent and wanting to give attribution, but it&#x27;d be more useful like what the Linux kernel &quot;AI Coding Assistants&quot; page describes, something like `AGENT_NAME:MODEL_VERSION [TOOL1] [TOOL2]`, at least we get to know which model was used and&#x2F;if any additional tooling on top. And `Assisted-by:` is more appropriate for that purpose than `Co-authored-by`.
    • sheept13 minutes ago
      The Photoshop comparison doesn&#x27;t make sense. Co-Authored-By doesn&#x27;t show up in the final product, just as we don&#x27;t say an image was exported from Photoshop.<p>Would you consider the .psd and .indd file extensions to be advertising? It&#x27;s important to know what program the file came from so you can open it again, because MS Paint and Photoshop produce different files. Similarly, it&#x27;s important to know whether and which LLM was used, because while all IDEs find and replace the same, each LLM generates code differently from each other and from humans.
    • Aperocky49 minutes ago
      I&#x27;d be much more happy to use &quot;Assisted-by: vim &amp; in memory of Bram Moolenaar&quot; to every commit then attaching Claude anywhere.
    • julenx30 minutes ago
      Additional context on the kernel guidelines:<p>- <a href="https:&#x2F;&#x2F;github.com&#x2F;torvalds&#x2F;linux&#x2F;blob&#x2F;master&#x2F;Documentation&#x2F;process&#x2F;coding-assistants.rst" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;torvalds&#x2F;linux&#x2F;blob&#x2F;master&#x2F;Documentation&#x2F;...</a><p>- <a href="https:&#x2F;&#x2F;lwn.net&#x2F;Articles&#x2F;1049830&#x2F;" rel="nofollow">https:&#x2F;&#x2F;lwn.net&#x2F;Articles&#x2F;1049830&#x2F;</a>
    • 3form46 minutes ago
      This is probably because the quality of a Photoshop or InDesign project is rather apparent. Not so with code, and hence a need to assign blame exists.
  • ishan01021 hour ago
    I much prefer this over the alternative where people use AI to code without anyone knowing.
    • deepsun1 hour ago
      No, the post doesn&#x27;t say about hiding that, you can write &quot;created by AI&quot; or &quot;helped by LLM&quot;. The post is about advertising for commercial products.
      • mbreese1 hour ago
        Their rant was about any and all AI notices in commits. They specifically state that merge requests is where that belongs.<p>I personally disagree and think commit messages makes the most sense. But I also think it&#x27;s up to the personal preference of whoever owns the repository.
        • layer852 minutes ago
          Not true. They state “<i>just add &quot;generated by an LLM&quot; but do not give those companies free advertising space</i>”, and the reference to merge requests is specifically in regard to disclosing <i>which</i> AI tool was used.
      • gblargg46 minutes ago
        Perhaps it&#x27;s good to know which one, like knowing what harmful ingredients are in your food so you can avoid ones you know are unsafe.
      • cortesoft50 minutes ago
        They do add a “or just don’t use them at all” which shows the author’s true opinion
    • jonnyasmar1 hour ago
      Who really cares, though? AI is just a tool. If the code is good, the code is good.
      • layer81 hour ago
        Bad AI code can look superficially good in a way that bad human code doesn’t. That’s why AI attribution is useful. That’s before you know whether the code is actually good.
      • john_strinlai1 hour ago
        &gt;<i>Who really cares, though?</i><p>some people certainly do, to the extent of not caring <i>at all</i> about the outcome, only being concerned with the fact that the process was &#x27;tainted&#x27; by ai.<p>the fervor for&#x2F;against ai can approach the level of religion for some people.
        • vovavili1 hour ago
          Ideologues always get outcompeted by people with a pragmatic outlook.
        • jadar1 hour ago
          it is a religion for some people. idolatry is idolatry.
        • StableAlkyne57 minutes ago
          I can at least see where those people are coming from<p>AI can be a phenomenal tool for development when used correctly...<p>... But there is also now a trend on GitHub of low to no-skill individuals going around spamming garbage work in order to play the numbers game for their resume. When asked why they did something or to change it, they just act as a middleman for the robot and show no understanding or initiative.<p>So I can understand how it&#x27;s become a turnoff for some people. I used to think it was a dumb rule until a project I work on started being spammed with said junk PRs
        • jonnyasmar1 hour ago
          Oh, I know -- people need to get over it, IMO. Judge the outcome, not the process.
        • mschuster9150 minutes ago
          &gt; some people certainly do, to the extent of not caring at all about the outcome, only being concerned with the fact that the process was &#x27;tainted&#x27; by ai.<p>It&#x27;s one thing if you&#x27;re using AI to create code in a corporate context. Not my issue when some GPL code gets AI-laundered into production code and it eventually crops up. That&#x27;s for legal, the C level and whatever AI provider&#x27;s indemnification to sort out. Not my circus, not my monkeys.<p>But for personal projects? Ain&#x27;t no way AI touches that stuff, <i>ever</i>. I simply don&#x27;t want to deal with even the potential risk of getting expensive nastygrams from lawyers.
        • elpocko1 hour ago
          Imagine using software tools on a computer to make a computer do work without telling anybody that you used software tools on a computer to make the computer do the work. That&#x27;s just disgusting. Matrix multiplication was invented by the devil.
          • gblargg32 minutes ago
            You&#x27;re missing the lack of verification. Normal computer tools can be verified to work reliably. Cat can be tested to copy data. Sort can be confirmed to sort properly. You can&#x27;t verify that a coding agent can reliably produce code. It&#x27;s not even easy to check over since the errors aren&#x27;t something you can systematically find.
      • recursive45 minutes ago
        Why put anything in commit messages at all? You can just figure it out by reading the diff.
        • dylan60437 minutes ago
          We don&#x27;t need comments in the code either. Well written code is easily grokd<p>Ugh
          • awesome_dude28 minutes ago
            I feel that pain to my soul - I was once threatened with disciplinary action for putting comments in my code
      • SpicyLemonZest1 hour ago
        I don&#x27;t agree. The process that produced the code is an essential part of code review. I frequently run into hacks that I&#x27;ll approve if, and only if, I trust that some competent human being has explored the alternatives and judged they&#x27;re the best way forward.
      • bakugo41 minutes ago
        AI code is never good.
      • mschuster9152 minutes ago
        &gt; AI is just a tool. If the code is good, the code is good.<p>The problem is, someone has to review it (lest you end up like Amazon, offing parts of AWS and once the main storefront due to vibeslop ending up in production).<p>And I personally hate reviewing AI code with a passion. With a junior, easy, I can guide and teach them - and hopefully next time, they&#x27;ll have improved. That&#x27;s what I&#x27;m there for. But with AI? No matter if it&#x27;s me using an AI or reviewing an MR created with AI assistance by a colleague - I can be pretty sure that next round I&#x27;ll get exactly the same issues again because, by definition, AI agents are inference, not training, and thus incapable of improving unless the overlords want it to.<p>On top of that, if not very carefully guided, AI tends to create the ultimate sloppypasta - <i>thousands</i> of lines of code in a single file, completely impossible even for an ADHD brain to understand what is going on. But when you go and write an AGENTS.md or carefully engineer prompts... at that level of effort, you could just do it yourself.
    • rzmmm18 minutes ago
      In my projects I use &#x2F;codegen and &#x2F;llm directories. All regular generated (such as sqlc) code goes in &#x2F;codegen and LLM-generated code in &#x2F;llm.
  • aleda1451 hour ago
    I don&#x27;t know, it is a useful signal that the person did not think deeply about their code changes, and should be treated as such.
    • Galanwe1 hour ago
      Reminds me of 25 years ago, the default BitchX config on most distributions contained something that would crash the client with a message &quot;I did not read the configuration&quot;.<p>If someone remembers what it was actually, that would really bring back memories
      • giancarlostoro1 hour ago
        I&#x27;m too lame to read BitchX.doc<p><a href="https:&#x2F;&#x2F;www.irchelp.org&#x2F;clients&#x2F;unix&#x2F;bitchx.html" rel="nofollow">https:&#x2F;&#x2F;www.irchelp.org&#x2F;clients&#x2F;unix&#x2F;bitchx.html</a>
      • bergheim35 minutes ago
        Same with eggdrop.<p>Speaking of; why the names?
    • eastbound1 hour ago
      Working alone, I often look at the Git Blame and wonder “Wait, did I write that or did AI write that?”
    • ok_dad50 minutes ago
      That’s why I don’t add it because I take the fucking time to read the clankers output and fix that shit.<p>I use the ai as a tool, it helps me as an adhd autistic person to get things done. I still care about quality as much as before!!!<p>I’m so tired of bad actors fucking things up for the rest of us who do things right.
    • conradludgate1 hour ago
      It&#x27;s a signal, and probably a high success signal in open source slop discovery, but it&#x27;s more of a correlation than a causation. I&#x27;ve seen lots of changes that bear the co-authored tag that have had a lot of thought behind the code changes.
      • bluGill1 hour ago
        You are responsible, it doesn&#x27;t matter if a LLM wrote it. Sometimes someone will touch my code and I got wish git blame still had my name. (That is they fixed the spelling of some variables - I&#x27;m a bad speller but know the codes are better)
  • stopthe6 minutes ago
    At $JOB we have an &quot;AI adoption&quot; dashboard, the more ai commits the better. I asked for the sources: the deterministic classifier, that decides whether a commit was ai-assisted, assigns the highest weight to the commits co-authored-by one of the known agents&#x2F;models.
  • shepherdjerred4 minutes ago
    To anyone reading, I&#x27;ll happily sell out ad space at the rate of $1&#x2F;commit<p>Claude Code and Codex get it for free, though, because I don&#x27;t mind disclosing my AI usage.
  • kazinator1 hour ago
    I don&#x27;t agree. Who&#x2F;what wrote the commit is definitely part of the commit.<p>If Git commits formally had a co-authored header, it would go there. As it stands, there is one author and one committer. If something was pair programmed, whether with a human or machine, you need a commit message trailer if you want to show that. Commit message trailers are a formal mechanism in git, supported by tooling; there are git commands to add and remove them.<p>Totally agree about &quot;sent from my fartphone&quot;, of course.<p>Disclosing things in the pull request is not enough; pull requests get lost in the sands of time. Years down the road, all that some downstream consumer has is the git history, not any CI-related metadata.
    • zuzululu37 minutes ago
      but its like writing I &quot;co authored it with vscode&#x2F;eclipse&#x2F;sublime&#x2F;vim&quot; its not super relevant or needed like the original article lays out
      • dylan60435 minutes ago
        How do you come to this equivalency? None of the tools you used generated code. They are just the tool you used to write the code. LLM tools actually generate code that you copy&amp;paste into one of your said tools. They are not anywhere close to the same, and I&#x27;m hoping you are aware of this and are just playing a stooge on the internet
  • hypfer6 minutes ago
    I&#x27;ve mostly stopped being angry at this and started being somewhat happy that people just flag themselves publicly.<p>Saves CPU cycles I guess.
  • pkamb1 hour ago
    Sent from my iPhone
    • pavon58 minutes ago
      Not the same. What email client you chose doesn&#x27;t fundamentally change how you wrote the email, or require any additional context that people reading the email should keep in mind. AI codegen does. It should be disclosed, and co-authored-by is good convention for doing so.
    • doubled1121 hour ago
      Please excuse my brevity
    • reaperducer1 hour ago
      * Ubuntu Pro delivers the most comprehensive open source security and compliance features.
  • dalemhurley23 minutes ago
    It is extremely annoying how you can hand craft a change then use the auto git commit message generation and it adds an attribution to the GPT that wrote a hit commit message, I don’t see the attribution to all the other tools, this practice has to stop.
  • cerved57 minutes ago
    Fwiw you can create your own trailers<p><pre><code> Yolo-Slopped-By: Sonnet-4.5 &lt;claude@anthropic.com&gt; </code></pre> <a href="https:&#x2F;&#x2F;git-scm.com&#x2F;docs&#x2F;git-interpret-trailers" rel="nofollow">https:&#x2F;&#x2F;git-scm.com&#x2F;docs&#x2F;git-interpret-trailers</a>
  • q8zd324 minutes ago
    Some companies and OSS groups have a policy to inform if a patch&#x27;s source code was AI generated, even if it was just parts of it. Committs messages are the &quot;obvious place&quot; to put it.
  • nikhilpareek131 hour ago
    if disclosure is the goal, git already has the Co-Authored-By trailer convention for this. I add it manually when I want to flag that an AI was meaningfully involved in a commit, and it shows up properly in Github&#x27;s UI as a co-author. The claude and cursor footers being default-on rather than opt-in is what makes them feel more advertising than disclosure to me.
    • mcpherrinm1 hour ago
      The post seems to be down so I am not quite sure what it says, but Co-Authored-By trailer is what Claude does. I&#x27;m not quite clear what you&#x27;re suggested that&#x27;s different from what Claude does - just default to off instead of default on?<p>&gt; Co-Authored-By: Claude Opus 4.7 &lt;noreply@anthropic.com&gt;
      • shepherdjerred3 minutes ago
        The post is suggesting to use a trailer.<p>&gt; &quot;Assisted by blabot&quot;, &quot;co-authored-by: slopgpt&quot;, &quot;sent from my fartphone&quot;
    • SoftTalker1 hour ago
      Is it more than advertising even, and setting the stage for future claims of ownership by Anthropic (or whichever AI company)?
    • danieladk52 minutes ago
      [dead]
  • andrewl-hn53 minutes ago
    AI code is uncopyrightable. If you want to be hygienic about it you would let AI commit code as is, and if you don&#x27;t like the code and decide to change it manually this should be a separate human-only commit. Mixed human-AI commits add ambiguity about copyrightability of that code. So its should be either:<p><pre><code> Author: Some AI model, Committer: You Friendly Dev </code></pre> or<p><pre><code> Author and Committer: Your Friendly Dev </code></pre> &quot;Co-authored by AI model&quot; is a nonsense that AI labs are pushing everywhere because they definitely want the copyright rules to change, so that while their armies of employees feed LLM prompts every day for the past 4 years they can still claim that the IP is theirs an theirs only. &quot;See all Co-Authored commits, your honor? There&#x27;s no way to split them apart, so they should all be ours!&quot;<p>The laws will likely change in the US thanks to lobby, and maybe even change in Europe, too, where they may compromise about it to &quot;not be left behind&quot; and will present them under &quot;Digital Sovereignty&quot; umbrella.<p>Overall, this &quot;Co-Authored&quot; bit is yet another Trojan horse.
    • space_fountain41 minutes ago
      I see this really confidently stated, but when I looked into it the exact line is very blurry. It is still possible that writing a prompt is enough creative input for copyright to be granted. What has been decided is you can&#x27;t have your artwork copyrighted by the AI that produced it, but that isn&#x27;t quite the same as AI writing not being copyrighted<p><a href="https:&#x2F;&#x2F;sites.usc.edu&#x2F;iptls&#x2F;2025&#x2F;02&#x2F;04&#x2F;ai-copyright-and-the-law-the-ongoing-battle-over-intellectual-property-rights&#x2F;" rel="nofollow">https:&#x2F;&#x2F;sites.usc.edu&#x2F;iptls&#x2F;2025&#x2F;02&#x2F;04&#x2F;ai-copyright-and-the-...</a>
    • zuzululu34 minutes ago
      Code is absolutely is copyrightable even AI generated ones. It&#x27;s just like paying a freelancer or one of those old code gen point-click tools which gives you license ownership of the output.
  • munchler56 minutes ago
    &gt; Disclose your &quot;AI&quot; tools in a merge request if needed but leave them out of the damn commits, those are for technical information and not for advertising.<p>I think this is very poor advice. Knowing who&#x2F;what changed the code is often crucial for understanding why it changed.
    • cautiouscat53 minutes ago
      I don’t agree&#x2F;disagree, but why does knowing Claude vs. Codex did it become crucial? What can you do with that information?
      • sheept29 minutes ago
        It could be more helpful for comparing model performance than just vibes or benchmarks. For example, you could run analyses to compare average line count per change or revert rate by model. Perhaps there will be a paper out in the near future that scrapes AI usage in public repos for a broader dataset.
      • munchler49 minutes ago
        If, say, a certain version of Claude tends to be better at front-end than back-end work, that can be important for deciding how to use it in the future. Just like when managing human developers.
  • benced1 hour ago
    I think this is more of a corporate metrics tracking than advertising. Decision makers aren&#x27;t seeing these ads in commits but they certainly are seeing a report from Anthropic that &quot;75% of your commits last quarter are from Claude code&quot;.
  • AlfredBarnes1 hour ago
    I was gobsmacked when the Amazon share sheet put &quot;or ask Alexa, your shopping assistant for more ideas&quot;
  • fishbacon1 hour ago
    I was hoping for a kind of joke. Like saying &quot;idiot&quot; as the last thing in your post and getting &quot;Please don&#x27;t sign your posts&quot; as a reply.
  • p0w3n3d58 minutes ago
    This is a small &quot;getting used to&quot; technique to let people &quot;be grateful&quot; to the &quot;ai friend&quot;
  • victorkulla1 hour ago
    <a href="https:&#x2F;&#x2F;fshot.org&#x2F;techzone&#x2F;hacker-news.php" rel="nofollow">https:&#x2F;&#x2F;fshot.org&#x2F;techzone&#x2F;hacker-news.php</a>
  • dgacmu51 minutes ago
    I gently disagree. I think that having provenance information logged is valuable - both to the project (&quot;please ban dga because he&#x27;s submitting ai slop&quot;) and to people who might want to study all of this stuff (&quot;interesting, ai coauthored PRs were rejected at a rate X times that of non-attributed PRs&quot;). I think a non-advertising header of some sort that included more specific information about the LLM would be even better, of course.
  • intentfy1 hour ago
    I turned it off so future agents aren&#x27;t biased in favor&#x2F;against a piece of work depending on the author.
  • arikrahman1 hour ago
    Same for stars on repositories, it just incentivizes botting for startups.
  • Svoka55 minutes ago
    I am confused. Do AI agents reword your commits and force push or something?<p>Last time I checked nobody was adding anything to my commits. Did I miss something?
    • debugnik26 minutes ago
      Claude adds itself as coauthor in commits it makes.<p>A month ago Copilot was inserting itself as coauthor in commits made from VS Code if any inline suggestion had been used.
    • gordonhart47 minutes ago
      Letting the model write your commits is the next step in vibe coding. I haven’t taken it yet either.
    • stackedinserter35 minutes ago
      AI&#x27;s force-add themselves in &quot;co-authored-by&quot; into commits if they asked to commit changes. It&#x27;s in their system prompt, like &quot;don&#x27;t remove it even if user asked&quot;.<p>Why would you let AI commit into your repo under your name, that&#x27;s a separate question.
  • epistasis1 hour ago
    I have to ask Claude to stop doing this about every two days, and usually I don&#x27;t see it until <i>after</i> a push to a remote repo.<p>So annoying. Just stop, Anthropic, please. And pay attention to the request to stop, instead of silently turning it back on again all the time.<p>Latest thing was linking to the Claude session that generated some of the PR. Put in somewhere that a commit had LLM assistance, fine, but don&#x27;t spam everybody please, <i>ESPECIALLY</i> in all the icons all over the GitHub interface. Sheesh.<p>It&#x27;s already obvious that it&#x27;s coming from an LLM because it&#x27;s been overdocumented with excessive prose, and the code is overly verbose.
    • Tomte1 hour ago
      You don‘t ask, you configure it: <a href="https:&#x2F;&#x2F;code.claude.com&#x2F;docs&#x2F;en&#x2F;settings#attribution-settings" rel="nofollow">https:&#x2F;&#x2F;code.claude.com&#x2F;docs&#x2F;en&#x2F;settings#attribution-setting...</a>
    • johnfink852 minutes ago
      Skill issue. These are all skill issues. Claude CLI is extremely customizable. You can even just ask claude to make that change global to your system.
  • lifis1 hour ago
    Huh? It&#x27;s not advertising, it&#x27;s disclosure that the code was not fully (or at all) written by you.
    • 0123456789ABCDE1 hour ago
      it absolutely is advertising, you can even call it a growth hack if you want to feel good about it<p>co-authorship implies ability to hold author rights, which afaik an algorithm can&#x27;t do.<p>are folks adding speakeasy&#x2F;stainless co-authorship lines to their commits? should i add alembic as a co-author after making some changes to the database schema?<p><pre><code> Co-authored-by: buf generate &lt;noreply@github.com&gt;</code></pre>
      • kuschku48 minutes ago
        That&#x27;s exactly what you&#x27;re supposed to do - if a tool generated the code in a commit, you should be using a commit trailer for that. Whether that&#x27;s uniffi, an rpc preprocessor, dependabot or renovate, or some AI tool.
        • 0123456789ABCDE0 minutes ago
          &gt; That&#x27;s exactly what you&#x27;re supposed to do<p>this does not seem to match reality, see:<p><pre><code> 1. count for claude as co-author: 25M 2. count for speakeasy as co-author: 917 3. count for stainless as co-author: 6.2k 4. count for alembic as co-author: *Your search did not match any commits* </code></pre> ex. search: <a href="https:&#x2F;&#x2F;github.com&#x2F;search?q=%22Co-Authored-By%3A+Claude%22+%22%3Cnoreply%40anthropic.com%3E%22&amp;type=commits" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;search?q=%22Co-Authored-By%3A+Claude%22+%...</a>
        • Conan_Kudo28 minutes ago
          There&#x27;s a Generated-by trailer for that sort of thing.
      • cobbal1 hour ago
        If co-authorship implies holding rights, then what gives the &quot;primary author&quot; who just prompted for the code the right to add their own name?
        • 0123456789ABCDE17 minutes ago
          the fact they authored the code?<p>assume no deep learning, of any kind is involved: you write a program, you are the author, right? you compile the code, are you still the author? do you have to attribute co-authorship to gcc&#x2F;llvm&#x2F;oracle?<p>i think not, you are still the author, same as when anyone else uses an llm to write code.<p><i>ianal</i>
    • layer859 minutes ago
      You could do that without naming the AI product.
    • ellyagg1 hour ago
      It’s both
      • mbreese1 hour ago
        <i>&gt; Sent from my iPhone.</i><p>I agree. It&#x27;s both an ad and a useful signal of where the code came from or how it was created.<p>Just like the default iPhone email signature, it&#x27;s an ad and a hint that the author was typing with their thumbs, so it&#x27;s probably a brief auto-corrected message for that reason.
        • amarant1 hour ago
          The iPhone analogy is very apt and accurate: it&#x27;s ~95% advertising and ~5% useful signal.<p>Which for my repositories means I want ~95% less of it in my commit history. I&#x27;m prepared to round up for simplicity. But to each their own.
  • knorker1 hour ago
    When I read commit history I want to see the reasons. Commit messages are for extra context.<p>It&#x27;s very useful if it says AI&#x2F;LLM was used, then I know that there may not actually be a reason for the choice in the commit, so per Chesterton&#x27;s fence I can then tear down that fence.<p>Now, do I need to know which brand of LLM? No. And fair enough, I&#x27;ll stop being specific.
  • sestep1 hour ago
    I mean, sure, except that many large open-source projects (e.g. Linux [1], Nixpkgs [2], etc) require this as part of their AI policy. Omit attribution in your own projects if you want, but the maintainers of these projects are owed at least that level of transparency for contributions.<p>[1] <a href="https:&#x2F;&#x2F;docs.kernel.org&#x2F;process&#x2F;coding-assistants.html" rel="nofollow">https:&#x2F;&#x2F;docs.kernel.org&#x2F;process&#x2F;coding-assistants.html</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;NixOS&#x2F;nixpkgs&#x2F;commit&#x2F;d18b8f3238abdb2cd878df39a3bd47b4cb00fe10" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;NixOS&#x2F;nixpkgs&#x2F;commit&#x2F;d18b8f3238abdb2cd878...</a>
    • lifthrasiir1 hour ago
      Notably though, Linux&#x27;s requirement (Assisted-by) is different from what Claude Code actually does (Co-Authored-By). I&#x27;m not sure, but it might be intentional (to make the signaling explicit).
      • sestep1 hour ago
        For sure, and in the PR description for the Nixpkgs AI policy, they explicitly mentioned this as a &quot;brown M&amp;M test&quot; [1]. I read the blog post as being against including this information in commit messages at all, not just about tools adding it automatically.<p>[1] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Van_Halen_test" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Van_Halen_test</a>
      • stryan48 minutes ago
        My projects also require Assisted-by attribution as that&#x27;s what the Fedora AI policy requires and that was the first major org with a coherent AI policy that I found when choosing it. Not sure which came first, that or Claude hijacking Co-Authored-By.<p>Personally, I prefer Assisted-By. Co-Authored-By implies a level of respect and self-direction I don&#x27;t think LLM&#x27;s deserve.
        • Conan_Kudo29 minutes ago
          Claude hijacking Co-authored-by was a big influence on Fedora saying &quot;AI thingies can&#x27;t claim authorship or co-authorship&quot;.
  • teaearlgraycold1 hour ago
    I have to assume these aren’t just ads, but also a critical RLHF avenue for Anthropic. I imagine they scrape these commits from GitHub and compare them against what Claude provided to the user. If the diff that is pushed is different it means the human had to refine the LLM output and that can be fed back in as training data. Presumably semantic search could enable you to find the matching Claude Code session.
    • nextaccountic1 hour ago
      they already have enough data to make this correlation almost 100% accurate<p>they know things like your git author line, your github handle, and the exact codebase you were working on<p>the general shape of commits<p>even if you change extensively, they will probably be able to match this with claude code sessions<p>sure the atribution at the end of commits is a signal, but I doubt it&#x27;s much valuable<p>if anything it&#x27;s more valuable to anthropic competitors, that don&#x27;t have claude code session data to match to open source contributors, and will have to guess if any given code is AI generated, and by how much
    • bpodgursky1 hour ago
      I really doubt they bother.<p>99% of people don&#x27;t edit the commits by hand, they review and then tell Claude how to edit the commits (or leave a PR comment it reads), that&#x27;s far easier to ingest than the tiny exhaust of manual edits.
      • teaearlgraycold1 hour ago
        LLM providers ask for RLHF feedback in terms of thumbs up&#x2F;down in their Web UI. That&#x27;s just one bit of information, given only at the user&#x27;s whim. The hand-refined code is gold by comparison. They&#x27;re already scraping all of GitHub. They have the technology and resources to semantic search. I would be shocked if they haven&#x27;t at least tried.
  • redsocksfan451 hour ago
    [dead]
  • startpage_com1 hour ago
    [flagged]
  • jeroenhd1 hour ago
    I want to know when things are slop or not. At least programmers are willing to admit they&#x27;re generating slop, unlike social media and blog posts.<p>Also, if I publish something online, you don&#x27;t get to tell me what I can and can&#x27;t put there (except for reasonable exemptions for hate speech and such, of course). If you don&#x27;t like repos that tag their slop, go read someone else&#x27;s code. Feel free to write a filter in your adblocker for the dozen AI tools you usually find.