• mad_lentil@lemmy.ca
    link
    fedilink
    English
    arrow-up
    48
    ·
    2 days ago

    It’s such a nice treat when I don’t see it on a new project, especially on Microsoft’s GitHub.

    • 9point6@lemmy.world
      link
      fedilink
      arrow-up
      67
      ·
      2 days ago

      All it takes to remove Claude attribution is something like this

      git filter-branch -f --msg-filter 'sed "/Claude/d"'
      

      That’s before realising things like DeepSeek don’t add the trailer

      Be pleased that people are generally not trying to hide it, but also don’t trust its absence, look at the commit patterns

      • cx40@piefed.ca
        link
        fedilink
        English
        arrow-up
        4
        ·
        2 days ago

        How does Claude attribution appear in the first place? I’ve written code with it before and it never shows up in GitHub.

        • 9point6@lemmy.world
          link
          fedilink
          arrow-up
          23
          ·
          2 days ago

          If you tell Claude to commit for you it adds it then

          Which highlights another situation of people telling it to let them handle the committing

        • MangoCats@feddit.it
          link
          fedilink
          arrow-up
          11
          arrow-down
          4
          ·
          2 days ago

          Do you let Claude write your commit messages?

          The reason I do is because it makes the agents more capable of working with the code in the future, they put more info into the commit messages than I do and when they look back the commit messages help them navigate the change history better.

          Also, if you see a commit message that just looks whacked, completely missing the actual objective - that might be a Claude hallucination.

          • not_IO@lemmy.blahaj.zoneOP
            link
            fedilink
            English
            arrow-up
            17
            arrow-down
            9
            ·
            1 day ago

            do you need clauds help in the bathroom too?

            maybe it needs that data about you too to understand you better

              • bignose@programming.dev
                link
                fedilink
                English
                arrow-up
                7
                arrow-down
                2
                ·
                14 hours ago

                Working professionals are, if at all competent to be committing code to a professional code base, entirely capable of writing their own commit messages.

                If they can’t write the commit message, they can’t sufficiently explain in writing the commit they just made to anyone. So, they should not be working professionally on a code base.

                If they are capable of writing the commit message with their own understanding in their own words, but they choose not to communicate their understanding in the commit message? Also disqualifying, they should not be working professionally on a code base. Human communication is essential to this work.

                That this is a controversial position, is a clear sign of the Slopocalypse.

                • xmo748@programming.dev
                  link
                  fedilink
                  arrow-up
                  4
                  arrow-down
                  3
                  ·
                  13 hours ago

                  Now I definitely know you haven’t seen a real professional codebase. Professional git repos are full of one sentence commit messages with little to no explanation of what’s in the change set.

                  Humans suck at communication, especially when there’s pressure to get product features out the door. AI driven repos are full of beautifully summarized commits with clear explanations of architectural choices, change motivation, etc.

          • cx40@piefed.ca
            link
            fedilink
            English
            arrow-up
            2
            ·
            2 days ago

            If I ask an LLM to do something, the commit message is usually just the prompt. If it’s for code I wrote myself, my process is to take the message, read it over, then edit appropriately before running git commit myself. It seems that this last step is what does it.

      • mad_lentil@lemmy.ca
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 days ago

        I definitely do. But yeah a lot of people on GH are worried about employability and a big part of that is showing you’re down with big corpo tech.

  • thr0w4w4y2@sh.itjust.works
    link
    fedilink
    arrow-up
    4
    arrow-down
    4
    ·
    16 hours ago

    I write my own shell scripts and ruby on rails, but I ask Claude to create branches, manage commits, do all the force pushed to update it all, keep my local copy up to date, do all the things with the git origin etc. So Claude shows up as a contributor but didn’t do any of the work.

    I’m fine with that though because I’ve destroyed git history so many times, or messed up commits and broken everything, or needed to do some complex invert paths thing. It’s just better to leave all that to Claude.

  • rockSlayer@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    24
    arrow-down
    1
    ·
    edit-2
    2 days ago

    It is with great pride that I can say that a GCP-HPC pure-bash application I’ve been working is completely AI free.

    For the interested, it’s something I was working on while bored at work has been blessed as good use of time for the benefit of our dry lab. I’m hoping to be allowed to open source it. It’s basically a git-like interface between GCP head nodes and GCP buckets

    • Carrot@lemmy.today
      link
      fedilink
      arrow-up
      4
      ·
      1 day ago

      I’ve been working on a fully open source Obsidian Notes clone for over a year, and now that the decompilation AI tool just dropped I’m not sure people will believe me when I say I didn’t use AI

    • MangoCats@feddit.it
      link
      fedilink
      arrow-up
      8
      arrow-down
      19
      ·
      2 days ago

      Congrats, we all had AI free apps 2 years ago, and for the 50 years before that… Keep calm and carry on, what worked then, still works now.

      Or, freak out - you just might consider having an agent like Opus 5.5 review your code and write you a report of its findings… if you don’t, others will - that’s the new landscape. If you do get “findings” in the report, I’d be curious to hear if any of them were both valid and concerning. I’m sure you won’t care about a lot of what it finds, but you might just be surprised by some things it does find.

            • Robust Mirror@aussie.zone
              link
              fedilink
              arrow-up
              1
              arrow-down
              2
              ·
              10 hours ago

              That’s fine. It is probably worth noting human written code that has been reviewed by 1000s of humans are having valid critical bugs found in them by AI. No one is forcing you to use it but humans aren’t magically perfect just because you don’t like AI.

              • rockSlayer@lemmy.blahaj.zone
                link
                fedilink
                English
                arrow-up
                3
                ·
                edit-2
                1 hour ago

                Any critical security vulnerabilities will be the fault of Google. This app is a glorified filepusher manipulating bash strings into standard path structures for google buckets.

                Edit: to describe more precisely, it’s a bunch of bash functions that manipulate a bash string for the commands gcloud storage ls and gcloud storage cp. It has some useful functionality beyond that, such as tracking projects and project versions for collaborative purposes, but this is a mask on top of existing commands.

      • rm_rf@sh.itjust.works
        link
        fedilink
        arrow-up
        7
        arrow-down
        3
        ·
        2 days ago

        Opus reviewing an entire codebase is pretty impressive. I use it a lot for some hobbyist stuff and its great at finding bugs, security issues, and just basic stuff like spelling/grammer mistakes.

        But of course, on Lemmy you’ll get downvoted because “ai bad”

        • MangoCats@feddit.it
          link
          fedilink
          arrow-up
          5
          arrow-down
          1
          ·
          1 day ago

          of course, on Lemmy you’ll get downvoted because “ai bad”

          There was a time that was 100% true, I’m seeing a bit more from different points of view lately.

          24 months ago I wasn’t saying “ai bad” I was saying “ai nearly useless.”

  • gTsintzas@programming.dev
    link
    fedilink
    English
    arrow-up
    17
    ·
    2 days ago

    I’m seeing Claude as a contributor all the time in random repos, but like, how does that even happen? In my experience with “agentic” coding, the agent does not get credit for commits, even if all diffs were made by them. What kind of workflows do people have for Claude to credit itself in a commit?

    • MangoCats@feddit.it
      link
      fedilink
      arrow-up
      27
      arrow-down
      1
      ·
      2 days ago

      Claude has established precedent that Claude credits itself on commits unless you direct it not to. I don’t fight it, I would rather people looking back know… Yes, I used this tool - no, it’s not “responsible” for the code, I am.

    • Supercrunchy@programming.dev
      link
      fedilink
      arrow-up
      6
      ·
      2 days ago

      Same for me, but that’s because I have a rule saying to the claude to not interact with git unless instructed, and I commit manually after reviewing every line of code changed. The bot runs in its own container, isolated from all credentials, so it can’t push commits and can’t access production. I also hate that the super long commit messages, so I just want to write it myself.

      Basically if you are surrenderinf your entire PC to AI, then you’ll not get those commit messages authored by claude.

      All my colleagues instead gave it access to the whole work pc including ssh keys, and the bot can do whatever the fuck it wants with the whole repo on github. It co-authors every single commit. Our master branch pushed straight to prod, and is not protected, and all our team is repo admin anyway. It’s complete insanity, bordering criminal negligence.

    • malwieder@feddit.org
      link
      fedilink
      English
      arrow-up
      9
      ·
      2 days ago

      GitHub parses “Co-authored-by” trailers Claude Code adds to all its commits by default.

    • Appoxo@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      2
      ·
      1 day ago

      I have seen commits that were coauthored or something.
      Maybe the official AI plugin makes github able to sign a commit by two entities?