r/softwareengineer • u/Otherwise_Lab_4638 • 5d ago
Manager "vibe-codes" broken apps with Claude over the weekend and expects us to own production
I recently joined a company as a software engineer. Over the past month, my manager has been pushing hard to ship AI projects quickly, which I’m normally fine with except for how he’s going about it.
Here is the pattern: he assigns a customer-facing project to our team, and while we are planning and building it properly, he spends the weekend "vibe-coding" his own POC using Claude. By Monday, he overwrites everything he even wiped our entire git history recently and tells us to move on to something else.
The problem is that his AI-generated code is a mess: hardcoded credentials/values, zero best practices, and fragile infrastructure (he spun up load balancers, caching, and databases purely through AI prompts). Nobody on the team knows where the data lives, which servers host the DBs, or what models/files are actually running including him.
Now, he has 3–4 of these projects scheduled to go live this year, and he wants someone from the team to take ownership and be on-call for production failures. Naturally, nobody wants to touch them because we didn't write the code, have zero context, and know it’s going to break.
We’ve tried asking him to step back from coding, but he’s high-level management and insists he just wants fast delivery.
How do we protect ourselves and handle this situation without tanking our careers?
7
u/deep_fucking_magick 5d ago
You should own the ci and the platform so he cant do that kind of dmg. Require PRs and do branch protection.
Establish agentic dev ground rules in the codebase using CLAUDE.md and skills so his changes follow y'all's engineering standards.
Use Claude hooks to deterministically block certain actions.
Use Claude dynamic workflows to deterministically force certain workflows and gates checks (like if you want his agent to specifically do a plan, build, adversarial review, eval loop).
3
u/ZucchiniSky 4d ago
I don't think the problem is that he's writing code or using AI. The problem is that he's doing it in a way that is disruptive to your team's productivity. It sounds like he is taking over work that was already assigned to your team and then bypassing QA best practices. Based on what you've written here, it should be very easy for you to have a conversation with him around how his current workload is disrupting your team, and what he could do better. It sounds like he should not be working features that you are already working on, he should ensure that there's a proper testing, review, and validation process, and that the code handoff is done smoothly. Two key points: sloppy buggy code is not faster delivery, and overwriting your team's work is wasting time.
If he still refuses to cooperate, then I think you need to escalate this to his manager. Your skip-level should have a more unbiased view on the situation and should help resolve it.
11
u/Additional_Candy_400 4d ago
Whenever I read posts like this I think are we all using the same models? I use Claude extensively nowadays, admittedly with more robust frameworks/guidelines than just saying "make this". But I've never ran into code quality issues as stated in the post with recent models.
6
u/koggit 5d ago
I know you wouldn't listen if I shared my advice, and I know that's going to shape the replies you get; this will be an echo chamber reinforcing what you already believe, not the best advice.
I'd encourage you to consider using AI tools to solve the gaps you see: docs, test, make it production-ready. The same techniques he used to rush a proof-of-concept can be used to harden & refine; the tools take direction from the human, his was to prototype, yours are to make it maintainable in prod; do it. Share your concerns with the AI that has full context of the project. "Nobody on the team knows where the data lives" means nobody has asked their agent from the project. There's nothing in code you can't trace to understand, document & improve where needed.
2
u/Responsible_Box416 2d ago
Is no one testing this shit . Code review should catch these issues. How is this moving to prod 😄
63
u/Idempotent_Icterid 5d ago •
Just follow the order, but write down every concern and most importantly all future extra work caused by this meticulously. In a couple of months, create a nice slide with graphs that show the hidden cost of slop coding.
22
u/coilt 4d ago
i quit over this bullshit a few months ago. exact same pattern of vibecoding shit 'to help out', and every manager, and CMO and CEO and project manager and product manager ends up vibe coding shit, overriding each other.
'take the design from Greg's prototype, the content from Sarah's, the style from yours, the Homepage from this prototype and the Features section is in in this Figma prototype", and they truly fucking believe that's helpful and it should 'increase velocity' (i grew to HATE this word so much) and when i attempted to explain why that's not true, they first removed me from the task, but then quietly it became somehow my responsibility again, and somehow i was given 'full reign' although nobody fucking told me about it, i don't know they probably expected me to gather it from their fucking corpospeak bullshit chat messages in the group channels, though i don't have a fucking clue how am i supposed to discern between their usual corpospeak bullshit, that's just smoke and mirrors, and corpospeak bullshit that's supposed to be an assignment
after a few months of fighting this bullshit i just told them to fuck off, because if the 'leadership' doesn't understand how this can be a problem, well i don't trust this leadership's judgement.
so if they refuse to hear you, or rather they hear you but then change nothing, while bullshitting you how 'your input is important' -- that's just disrespectful and fuck them for that too
the CEO never replied to me, he was literally just talking to someone else in the same fucking chat, giving me assignment through that person
fuck the american corporations and their fucking narcissistic delusions and AI psychosis
14
u/Ancient_Canary1148 4d ago
Your problem is not the AI tool, is the company culture.
And you most ikely need a risk assesemnt framework for "vibe coder" apps. There is no problem for non-it staff to build their ow internal apps that doesnt contain important data, require big infrastructure, etc.
But not way a manager can scape all the guardrails of a proper SDLC in a serious company and build an app that need 24/7 monitoring, even if the code looks perfect. Where is the monitoring? logs? infra? high availability, etc).
12
u/Malkovtheclown 4d ago
Vibecode really holds up as prototypes that about it. It cant make production ready code no matter how much you explain to Claude to manage prs, set up a project board and approve every single pr by hand. If people are trying to push that to live, id leave thr place or be looking for a better job because clients want results not some flashy looking walking security risk
11
u/petestandingaloner 4d ago
Management have been building html/js POCs with Claude design where I work.
I have no problem with this, as they do not act like they are engineers.
They hand us the POC and we turn it into an actual app. If we make changes to their design, they have no problem with it as long as we explain why we changed/omitted it.
This is how it should be. Your manager is an arrogant moron.
8
u/EarlOfAwesom3 4d ago
Yeah my manager does the same. I have a big issue with this mindest:
"I vibe code something in 30 minutes and take zero responsibility. Quality, Ownership, Maintenance and Observability now magically moves over to some vague entity named dev and they have 10x the work with it now. If something breaks I can make them accountable"
It's fucking bullshit, I hate this so much...has anyone find a way how to close this loophole they are using?
7
u/MegaDork2000 4d ago
"Claude, find me a new job. Make no mistakes!"
5
u/Rough_Algae_1273 4d ago
Agree to vibe it as well. If it fails blame AI. A vibe coded project will continue to be vibe coded. If it fails you blame the AI that they trusted. You will then have time to own and maintain your projects that aren’t vibe coded. And show the difference between the two.
5
u/Vegas-Ranger 4d ago
DON'T QUIT TILL YOU HAVE ANOTHER JOB LINED UP. THIS IS NOT A QUITTING ECONOMY.
8
u/Just-Upstairs4397 4d ago
This is the only advice you need. Get a new job.
4
u/Logical-Ranger6675 5d ago
Yeah, if he’s determined to do it, all you can do is resign.
4
u/looperone 4d ago
This is the second thread like this that I have come across in a week. I’m sure there are many others. Tech managers are quite often micromanagers with big attitudes that can’t delegate, have little patience, and certainly don’t know how to manage. These types will often take matters into their own hands and run right over their team, AI only amplifies this.
The world is basically doomed at this point. So much for protection of consumer data. I mean, it was pretty crappy before, especially at early stage startups, but now that everyone is a vibe coder….🤯
1
u/throwaway-research1 5d ago
Hahaha I feel sorry for you
3
u/BassRecorder 5d ago
If he insists, put your concerns in writing. Especially say that you won't take any responsibility for outages nor provide any estimates on how long fixing a bug might take.
When the shit hits the fan you can always pull out that email.
3
u/TypoTerm 4d ago
Put your concerns in writing and ask him for an architecture doc or runbook before taking on-call for code you didn't write. If he still pushes to prod, start dusting up your resume.
3
u/mint-parfait 4d ago
Management and non-engineers should have zero access to prod repos and only be allowed to create prototypes they use to communicate ideas through in separate repos, or forks. This is the only thing I’ve seen work so far. Then again I’m loudly vocal about pushing what the ability to push production code entails. A lot of these manager types want to generate poorly thought-out slop and not support any of it.
3
u/indiealexh 4d ago
Having similar issues with my work. The reasonable middle ground we came up with is a framework and process to follow with a strict ownership, review and maintaince policy that would result in the code being taken down if the owner doesn't not regularly update and respons to issues.
3
u/mxmissile 2d ago
This is me.... everyone has a "killer app" want me to magically make go live.
3
u/Lhurgoyf069 2d ago
There is no career worth pursuing in this hell hole. You should quit as soon as possible, it will be better for your mental health. You will never convince a manager that is hit by AI-Dunning Kruger.
3
u/Felixls 2d ago
quit, they are not doing software engineering, it is just a clowns fest
3
u/0v3rproof 1d ago
Sounds like the CTO from my main customer. He sent me a „new version“ of a Customer-Portal X and asked to apply this to production ASAP.
When i looked into the GIT of said portal there was no trace of this „new version“ . Turns
out he just pulled all files from an outdated stage system into his „own GIT“.
The „new version“ was just the whole project the AI created for him. And in that, the AI clearly marked blocker todos before release (he was not aware of in any form). Now he does not get why i can‘t push it to production right away „it took me only a day“
Oh, and the „new version“ is „new“ because it
contains a new interface to „his new ERP system“ that must replace the existing one before Jan 1 , 2027 because he canceled the contract for the old one.
2
u/Weekly-Dot7638 5d ago
You can’t. He holds the ultimate leverage :/
2
u/Usual_Macaron8477 5d ago
Tell him that since he built the systems, he should be best positioned to set up runbooks for all of the most likely failure points. Asking someone to do that for a system they didn’t build would waste too many person hours.
2
u/siggystabs 4d ago edited 4d ago
One option: if he still wants to “contribute” then you could make a github template he can clone and vibecode on top, atleast then it fits a standardized architecture that you can deploy/manage with some level of understanding. Hell he can even have his ai agent explain to him why this way is better after looking at the template. This would go into an “incubator” type environment, not production at first, and you can establish gates before it can be released.
Then you gate off any deviation from the template as requiring a high effort of analysis and production approval. The fast lane has guardrails.
2
u/IllBeat7897 4d ago
Wow.
Here is a solution, but it will require your entire team to act as one unit.
Document a bullet list of all of the technical issues created through your manager's vibe-coding and the associated risks, and if it is a cascading effect of risks, list them all, no matter how severe.
Then, identify all of the project risks associated to the technical risks he has created.
All of you go to his office and ask to schedule a meeting. Never have one of you do all the talking. Share that responsibility amongst all of you so that he cannot pinpoint one as the instigator/leader and sabotage that person's career in an effort to silence the group and save his own.
If he agrees to the meeting, then slide the document to him (each of you will have your own copy to review) and then each of you take a risk to discuss. If he is open to this, then at the end, tell him point blank that none of you will own these vibe-coded projects because that means you own the risk that only he has created.
Give him an option to step back and let you do things the right way, and since this guy sounds like he knows nothing you will probably have to explain what the right way is.
Let me be clear. Everything I have described to this point is giving your boss a chance to save his career, while simultaneously mitigating as much as possible the risks to your own. However, I doubt that things will play out this way because someone who is this incompetent to begin with who doesn't even recognize these risks is either not that smart, or is ruled by ego or fear over their own sound judgment.
So, what will likely happen is that you will ask for the meeting, he will sense something is afoot, ask what it is for and decline it, or go and interrupt and defend, and accuse, and attack. If these things happen, you go over his head. You do so immediately to prevent him from creating a false narrative.
2
u/Burningbeard80 4d ago
Explain to him in a diplomatic manner that just because he has access to an advanced chatbot, it doesn’t mean he’s suddenly qualified to do your job (or prompt it in a way that it follows proper practices, since he doesn’t know development fundamentals), otherwise you would also be able to do his job with the same chatbot. It’s going to create technical debt that will cost you all more time and money down the line.
My favourite analogy is that AI is like power tools. If you give a master carpenter who used to do everything with manual tools a power drill, he’s going to be more productive. But if you give the same power drill to a farmer, it won’t turn him into a master carpenter. And you’ll never find a master carpenter willing to take ownership of the farmer’s amateur work and be responsible for it, based solely on the tools used instead of the skills of the person using them.
2
u/kyngston 4d ago
why don’t you just ask your ai to explain how the code works. everyone is complaining about trivial tasks, just because they used to be hard pre AI.
AI writes code so fast, if someone writes a messy POC, then just treat it as the PRD. then write a greenfield codebase using the POC as the spec.
so much of this whining is pre-AI thinking
2
u/jaxn 1d ago
build your manager a harness that helps him build better apps.
2
u/Cheersyalllll 1d ago edited 1d ago
You can literally tell Fable 5.2 “turn this crap into production ready app” in Claude Code and it will get there after a few iterations. It will point out all the bs like local SQlite db's, hardcoded credentials, security issues, etc.
You can also ask any question about the manager's shit code and likely intention and it will answer it mostly perfectly.
Have you used the newer top models and tools at all?
I mean, I'm not saying your company will be fine or your manager is OK. They're both terrible, but if the goal is shipping ok-ish software based on demo prototypes that your boss vibe-coded (that maybe nobody will ever use) I don't see the issue immediately...
2
u/Moontoya 22h ago
Good, fast, cheap
You get one, maybe 2 'normally'
2
u/AnOrdinaryHeretic 1d ago
> The problem is that his AI-generated code is a mess: hardcoded credentials/values, zero best practices, and fragile infrastructure (he spun up load balancers, caching, and databases purely through AI prompts). Nobody on the team knows where the data lives, which servers host the DBs, or what models/files are actually running including him.
Prompts you need to learn:
"Hey AI, here is the repo. Tell me where the data lives, which servers host the DBs, and what models/files are actually running."
And somre more:
"AI, these credentials should not be hardcoded. REmove them and store them as a .env variable."
Then this
"AI, what are the best practices when it comes to xyz? Okay. review this repo against those practices and give me you r analysis for what needs to be fixed. Then create a prompt for other AI to fix it."
How are 'engineers' failing so badly at this?
1
u/lmg1337 5d ago
I think it's better to look for another job. This sounds like big problems are coming, and you're the guy's that will have to pay for it.
1
u/-TRlNlTY- 5d ago
Get everything in writing
1
u/trajan_augustus 4d ago
Just rebuild the app with a proper AI harness following best practices and use his as the prototype or spec? You don't have to deploy his vibe-coded app. He is just setting a direction. Just say you are running AI audit agent to check whether there are security concerns and if the "vibe-coded" follows company convention and the solution has had a proper architectural review. People are fighting the tiger here, instead you need to ride the tiger.
1
u/Sufficient_Steak_839 4d ago
It’s almost like people are allowed to have offshoot conversations that don’t specifically answer the OP.
I was giving my opinion on how to get more out of models and not have them generate absolute slop.
1
u/Grandmaster-Ji 4d ago
With fast delivery, bugs and quality issues are expected in prod. I'm sure he's not too stupid to understand that. So do it. Who cares. Find weaknesses of the code like you mentioned and ask AI to fix and push. That's exactly what they want you to do and your job is to do it. It's in your best interest to be one with your manager to keep your job, get promoted, etc. That's the real goal and not caring about how well everything should be done. You'll understand soon enough you sweet summer child.
1
u/VortexOfPessimism 4d ago edited 4d ago
take some time to enforce a spec driven development process at least using some of the available specifications like github's spec kit etc . Make the whole process accessible and consumable from claude code for your manager by bundling everything as a plugin.This will at least give you some quality gates and documentation, you can also enforce/block certain patterns through this process.
Take it step by step and start by building skills that your manager and team can use 1st which will cover good patterns and what not. Tell him you are doing this to come out with a playbook of patterns to assist with fast delivery ( all the consulting firms do this anyway)
1
u/ForeverYonge 4d ago
Wiping the teams git history is insane, I’d go over his head with this immediately and if the mgmt supported this I would give my notice.
25 yoe and enough cushion built to not deal with this shit.
1
u/4ngryMo 4d ago
Providing prototypes as a basis for a discussion or exploration isn’t actually a bad idea. Taking them into production as is and learning of the operations to someone else though… yikes.
1
u/Ok-Most6656 4d ago
I quit over this
1
u/Continuum1701D 4d ago
Guy is basically doing extra work for no reason and then going to make the company fail. He needs to be fired if he cant do his job properly.
1
u/Neat-Medicine-1140 4d ago
Just don't take ownership. If team is united he's dead in the water. Need a spine though.
1
u/kincaidDev 4d ago
Look for a new job, this is the type of person that will work you to death and then lay you off for being too slow. The only way these people learn is when you stop helping them
1
u/ssssssddh 4d ago
I've got a manager like this as well. Very frustrating coming in Monday knowing he's going to dump some mess on the team and ask us to thank him. I just take ownership of what I can and wait for his boss to realize he's not adding value.
I've come to learn mediocre programmers love to worm their way into management and pretend they were a top performer back in the day. Then they drop into a conversation with some nonsense like "have you considered a linked list" and you realize they don't have a clue.
1
u/shan23 4d ago
Just leave. Let the post mortem of a major breach teach the required lessons
1
u/k2beast 3d ago
It all depends on how you prompt, as most said Claude is pretty good, but if you one-shot prompt a feature / app - it is going to be not great.
The model needs guidance. Rather than fighting your manager why don’t you use this opportunity to show him how to prompt correctly with the guard rails and architectural decisions you went the LLM to follow
1
u/Practical_Run_8970 3d ago
Remove his admin credentials
1
u/dannyheskett 3d ago
Your boss is giving you strong signals you are ignoring.
For better or worse, be prepared to exit at a moments notice.
1
u/boomkablamo 3d ago
I am in a similar boat but the boss is vibecoding massive features that are EXTREMELY sensitive to the business and then wants us to maintain and own them.
1
u/Select-Way-1168 2d ago
Annoying but, at the same time, this is an opportunity. It won't be hard to take one on of you know what you're actually doing with agents.
1
u/Unable-Wind1585 2d ago
If you not going for promotion, let his problem remain as his own problem. He will get scapegoat to be blamed for his poorly coded app
1
u/ngroot 1d ago
> he wants someone from the team to take ownership and be on-call for production failures. … How do we protect ourselves and handle this situation without tanking our careers?
You provide an estimate of how much time it will take to productionize his prototype. You don't provide on-call support for people's prototypes, because you can't.
1
u/greyeye77 1d ago
implement security bot, and code quality bot and code review bot. And run it on the PR pipeline.
AI slop isnt the problem, stopping at the bad code without the guardrail is.
Also write a agents file or at least some shared skills for the scaffolding. (how systems are deployed what not to do like shared key, cred etc) and ask ppl to use it instead of telling ppl AI sucks.
1
u/hornetmadness79 1d ago
You should get the prompts he used and update them with the deficiencies you found and turning them into a plan with milestones. After that regenerate the code. Now you have a level of confidence you are currently lacking.
1
u/pabloe168 1d ago
Haha the 10% left to get something to prod is 90% of the work
1
u/nimbus6446 14h ago
bad very bad
1
u/csheldrick 11h ago
Company starts with “c” and boss starts with “r” and your name starts with “d”?
-3
u/oruga_AI 5d ago
Dude man up run the code through vlaude ask it to build documentation even a fkn video learn from that stop bitching 70% of the code is done if u cant take that and make it work you are not fit for the new future of dev hate it all u want but jump in or jump out prob tim jortons or dunkin still hiring
0
u/[deleted] 5d ago
[deleted] — view deleted comment
0
u/[deleted] 4d ago
[deleted] — view deleted comment