this post was submitted on 21 May 2025
38 points (100.0% liked)

WordPress

746 readers
1 users here now

A place to talk about WordPress the open source content management system. Also a place to ask for help with WordPress. Don't be rude, don't spam.

I check this once a week, so if you don't hear from me hit me up on Mastodon (phillycodehound@indieweb.social)

founded 2 years ago
MODERATORS
 

My boss thinks it's very cute to talk about AI as much as possible, and today asked if I'd heard of "vibe coding". I said yeah, and explained to my coworker that it's where you get a chatbot to write all your code.

My boss has just announced that he's vibe coding. I know the project he's working on. It took us months to put that codebase together, and there are a lot of very complex functions and plugins in that site that we've written to integrate with all the systems our client needs the site to use.

What am I supposed to do here? He's just letting a chatbot go rogue on the codebase. Do I just leave him to it with the full knowledge that it'll fall on me and my colleague to repair all this damage, presumably while being accused of breaking the site in the first place? I need the money from this job so unfortunately leaving isn't an option at this stage.

top 21 comments
sorted by: hot top controversial new old
[–] Amanduh@lemm.ee 42 points 1 month ago (1 children)

You don't have the code in git or something? Let him vibe code on his own local branch

[–] rayquetzalcoatl@lemmy.world 5 points 1 month ago (3 children)

We do have it on git, after long insistence on my part, but it's just a pain in the arse having to undo all of what he'll merge into main.

[–] TragicNotCute@lemmy.world 37 points 1 month ago (2 children)

Get really excited about vibe coding and tell your boss it works better if you make an AI specific branch. Toss main branch protections in and you’ve basically given your little brother an unplugged controller to play with.

[–] rayquetzalcoatl@lemmy.world 4 points 1 month ago

Genius 😂

[–] Melatonin@lemmy.dbzer0.com 3 points 1 month ago

This guy 🫡

[–] Amanduh@lemm.ee 4 points 1 month ago

Just don't let him mess with main at all...

[–] dream_weasel@sh.itjust.works 2 points 1 month ago

Time to change to rebase only workflow. Easy reverts.

[–] Leeks@lemmy.world 25 points 1 month ago (1 children)

Ask about security concerns of feeding your proprietary code to an AI where it will be used for training data.

[–] slazer2au@lemmy.world 32 points 1 month ago (1 children)

They likely don't care.

Better way to phrase it is 'Had legal signed off on allowing our IP and confidential data to be sent to AiProvider?'

[–] rayquetzalcoatl@lemmy.world 7 points 1 month ago

You're dead right that they don't care! Unfortunately we don't have a legal dept but not a bad shout on the confidential parts...

[–] Gladaed@feddit.org 25 points 1 month ago

Do you have source control? Constraint it to testing branches, read, test, and check before letting stuff go into production.

So just the regular workflow.

[–] makeshiftreaper@lemmy.world 16 points 1 month ago

If possible create local backups from before he let AI go loose. Likewise, save local copies of all of your commits and document all of your commits thoroughly. This way when things start breaking in the future you have documentation that shows that you didn't submit faulty code, and if the AI changes your work you have proof of what you did. Additionally if it manages to truly break something you get to be the hero and save the project

If you want to go the extra mile I'd pay attention to what your boss submits and either clean it up behind him, or log all of the issues and errors. Option 1 keeps them happy without breaking anything, option 2 lets you make a presentation and argument that vibe coding is bad practice

Generally just add some more work into your general "cover your ass" activities. Alternatively you could gather evidence of the dangers of vibe coding, present your case to your boss, and hope he realizes it's a bad idea. But this is lemmy and I know we're not a confrontational bunch

[–] pinball_wizard@lemmy.zip 7 points 1 month ago

I would save a local version of the code from before his AI bullshit, and get paid handsomely later to just copy and paste old unshitty code in to fix problems.

[–] oce@jlai.lu 5 points 1 month ago (1 children)

Assuming he's just a middle manager, just express your polite disagreement everytime it makes sense by writing in a way that will cover your butt when shit eventually hits the fan and higher ups step in. If he's the head of the company, maybe you should spend teaching time with him to avoid losing your job when the company fails.

[–] rayquetzalcoatl@lemmy.world 3 points 1 month ago (1 children)

Unfortunately it's a small agency, so him and the big boss work in tandem. They've both hauled me into meeting already about how I need to be more positive about AI 😂

[–] Nougat@fedia.io 4 points 1 month ago

“I am positive that AI will break shit.”

[–] Melatonin@lemmy.dbzer0.com 5 points 1 month ago

Hopefully you backed it up.

[–] Lightor@lemmy.world 3 points 1 month ago

You have git, let him break it all and then just revert. Pain is a great teacher, it's why I don't touch fire as often as I'd like.

[–] Flax_vert@feddit.uk 1 points 1 month ago (1 children)
[–] rayquetzalcoatl@lemmy.world 3 points 1 month ago (1 children)
[–] Flax_vert@feddit.uk 2 points 1 month ago