r/TechLeader • • 5d ago Bravo

I checked my own vibe coded app before launch. I need to warn you about what I found

700 Upvotes

After the $88,982 codex post here i got scared enough to actually check my app before sharing it. i'm not a dev, i built a booking app for my partner's studio with cursor and claude over the summer. supabase, stripe, openai for a little chat helper, resend for emails.

i asked a friend who does backend for a living to sit with me for an hour. we only used the browser and devtools, nothing fancy.

first thing he did was open the network tab and then search the javascript files. my openai key was in there. so was my stripe secret key, the sk_live_ one, not the publishable one. so was the resend key. plain text, in the files every visitor downloads.

my .env was gitignored so i thought i was fine. turns out anything starting with VITE_ gets put into the frontend on purpose. claude named them that way so the chat worked from the browser, and it worked, so i never asked why.

second thing he did was type my domain followed by /.env. it wasn't there, thank god, because my host serves only the build folder. but he checked my server logs and there were 212 requests for /.env in the 2 weeks the app had been online. bots try it on every site, all day. nobody had even heard of my app yet.

third thing, the openai key had no spending limit. so the key was public, bots were already probing, and the only thing between me and one of those bills was nobody having looked yet.

what i did that night. rotated all 3 keys, because deleting them from the code does nothing if someone already copied them. put a $20 hard cap on openai, not an alert, a cap. moved the openai and stripe calls into supabase edge functions so the browser never touches a key. and i stopped keeping a .env file around at all, the keys live in infisical now and get pulled in when the functions run.

one evening, and most of it was the rotating.

if you built something with AI and you've never checked, do these two things today. run your build, open the output folder and search for sk- and key. then check whether your api keys have a hard cap. it takes 5 minutes and i really wish i'd done it before launch, not after.


r/TechLeader • • 13d ago

We compared 1,400 of our PRs from before and after agents

527 Upvotes

I got curious and pulled our team's PRs from 6 months before we went heavy on agents and the 6 months after. 9 engineers, same product, roughly 700 PRs in each period.

What changed:

- median PR size went from about 140 lines to 410

- time from PR opened to merged went from 19 hours to 31

- coderabbit comments per PR roughly doubled, from around 3 to 6, which mostly tracks the size

- reverts went from 11 to 26

- PRs per engineer per week went from 3.1 to 3.4, so barely moved

That last one surprised me most. We feel much faster, and individual tickets are faster, but the number of things we actually merge per person barely changed. The time just moved from writing to reviewing and fixing.

I know it's one team and a messy comparison, we also hired 2 people and changed some processes in between. But I'd love to know if anyone else has run their own numbers like this. Did your throughput actually go up, or did it just move somewhere else?


r/TechLeader • • 21d ago

as a lead i now ask "why" all day and nobody knows

191 Upvotes

i counted this week. i asked some version of "why is it done this way" 14 times in reviews. i got a real answer 3 times.

the other 11 were "the agent did that", "it was in the plan claude made", or a very confident guess.

and i'm not even mad, the code mostly works. but my whole job used to be making sure someone on the team understood the system. now i'm the only one asking questions and nobody has the answers, including me.

we're trying braidkit on a sample project (private beta) to see if writing down the agent's decisions during the session helps. too early to say. but i'm more curious what other leads are doing.

do you require people to explain agent code before review, or did you give up on that? and how do you keep at least one human who actually understands each part of the system?


r/TechLeader • • 17d ago

ramblings of a tech lead...

175 Upvotes

in a world where your agent can write your jira story's description - you dont have to really think - the agent writes the story, and you skim it - it sounds plausible - its good enough, right?

you pass it off, ask for your pm to review it - he pulls up the story, and rather than carefully considering the ideas on the virtual page, he asks his agent to review it.

so now were just passing around an average guess of an opinion on a average guess of a proposal of a task.

then we get on a meeting - sprint planning they call it - and no human earning a salary has considered the work that should go into the sprint. no one actually understands a thing that is being proposed. we end up going in circles until the hour is up. i leave the meeting wondering what just happened?

its like we're looking at the page, but we're not seeing anything. nothing is entering our consciousness. are we still conscious i wonder?

a colleague who i get along with quite well laughed at me the other day, i shared my screen and he asked me why i'm writing a jira story "manually". it felt like he asked me: "why are you spending your time thinking?" - both sides saw the question as ludicrous but for different reasons.

im not going to pretend that writing Jira stories is a spiritually fulfilling endeavour. i am not going to tell you even that corporate knowledge work is my life's mission. sorry to my senior leadership but its not.

but while we're here - spending a huge portion of our lives "doing" this work - wouldn't it be fulfilling if we committed to the zen of it all. if we actually put our minds to thinking, powered by an army of agents who can write pretty good code, the possibilities seem endless.

im doubling down:
our humanity is the point. outsourcing it wont save us.

so yeah, write your jira stories by hand. think it out. spend the time. show up on the meeting and actually be there in mind, body and spirit. or simply get out. get out of whatever is making you turn off your brain. if youre not motivated, its probably not what youre meant to be doing.


r/TechLeader • • May 12 '26

Why did every engineer we hired after headcount 20 reduced our per-person productivity?

89 Upvotes

A few years ago I joined a company that had just raised a Series B. We had 14 engineers and a pretty clear roadmap. Within a year and a half we grew to 35 engineers because in theory, more people equals more output. That assumption was wrong in a way I didn't understand until I spent some time trying to calculate.

We started to ship fewer features per engineer as we grew. At 14 people every engineer shipped roughly one meaningful improvement per sprint. By 25 people we were down to maybe 0.6. By 35 it was closer to 0.4. The total output was higher but only because we kept hiring, and the curve was flattening faster than I expected.

The talent wasn't the issue because the new hires were genuinely great. What changed was the amount of time they could spend doing their actual job vs coordination meeting time and chores around the actual job. Every new person expanded the communication graph, which meant more meetings, more alignment, more status updates, more review cycles, more handoff delays. A feature that used to need two people now needed four approvals. A decision that used to be a Slack thread turned into a 45-minute meeting with a dozen people in it. And this last thing is a pattern I saw in multiple companies, we don't want to exclude anyone so everyone is invited, even though half of the attendees spend the whole meeting on Slack anyway.

My understanding is that the first few engineers you add generate a lot of value because the overhead they introduce is near zero. But beyond some threshold every new engineer doesn't just cost their salary but also coordination work, communication work, management work, etc. The overhead from the growth starts consuming more value than the new person produces, and suddenly you're hiring just to manage the complexity that hiring created which ends up sacrificing profitability.

Has anyone actually calculated the coordination cost per new hire before making a decision to hire? At what team size did you notice per-person productivity starting to decrease, and what did you do when you saw it? Is 20 some kind of special number of that was just my experience?


r/TechLeader • • Oct 02 '26

AI is running our team now and Im the only one worried

84 Upvotes

I'm starting to think about stepping down as lead.

My team doesn't really have anyone steering anymore. My manager and his manager are all in on agents, and the agents are basically running the team now, not us.

Last week I went through our sprint board properly for the first time in a while. Of the 34 tickets we closed, 31 were opened, written and merged through agents. Specs drafted by Claude, PRs by Codex, first review by coderabbit / bugbot. The humans mostly clicked approve.

Everyone thinks we're moving faster than any team in the company, and on paper we are. Meanwhile nobody can tell me why half of those changes exist, and the one incident we had took 2 days to fix because nobody had read the code it came from.

My manager built a whole internal dashboard over the weekend in one prompt and sent it to the team with "look what I made, not bad huh".

I've tried to slow things down twice. I don't think I can talk them out of it. Sometimes you just have to let them find out.


r/TechLeader • • 4d ago

Interviewing candidates whose projects are great and who can't explain them

83 Upvotes

I've been doing interviews for our backend team for about 3 years. I go into every one wanting the person to do well. It's less work for me if they're good, and honestly I just like seeing people get the job.

This round has been rough though. Almost every candidate has a portfolio that would have been impressive 2 years ago. Deployed apps, clean READMEs, real users sometimes. Then we talk about it and it falls apart:

- asked why they picked Postgres over something else, "that's what it set up"
- asked what they'd change if traffic went 10x, nothing, not even a guess
- asked about a bug they fixed, couldn't remember one

I'm not against people using AI to build, I use it all day. Our interview isn't even hard. I just want 10 minutes of someone thinking out loud about something they made.

Sorry if this reads like a vent. I've done 11 interviews this month and I'm kind of drained, I end up feeling bad for them after. How do other interviewers handle this, and for candidates, is this something people are prepping for now?


r/TechLeader • • Sep 30 '26

Our new hires approve agent PRs without reading them

49 Upvotes

So a few weeks ago I was rethinking how we onboard new devs. For years the first week was pairing on a small ticket, reading through the codebase with someone, then shipping one tiny change. But everyone on the team writes basically all their code through Claude now, so that week didn't look like the actual job anymore.

I put together a new first-week task and my manager liked it enough that we ran it with the 3 people who started this month. They get an agent-generated PR that touches billing logic with 4 bugs we planted on purpose. Normally coderabbit / bugbot would flag most of that, so we switch them off for this one. Then we watch how they review it and what they do next.

What surprised me is that none of them really read the diff. They read the PR description, asked the agent "is this safe to merge", and approved. 2 of the 3 caught none of the bugs. When I asked why, one of them said reading code is what the tools are for.

I'm honestly not sure if they're wrong or I'm the one who's behind. If this is how everyone works now, what is a review even supposed to be? And how long until someone upstairs asks why they need me doing it at all...


r/TechLeader • • 18d ago

Are we losing actual technical stewardship, or am I just running into bad teams?

43 Upvotes

I've worked on teams with highly respected senior and staff engineers, and I've worked on teams where there's a pretty massive gap between someone's title and what they actually bring to the table.

One thing I've noticed is that the teams with the strongest engineering cultures tend to have senior engineers who have strong technical opinions, care deeply about architectural decisions, establish standards, and aren't afraid to challenge things when they see problems. But can also keep moving.

Recently, I've been on a few teams where the senior/staff engineers seem to just be leading a pod, taking on the harder assignments, or being the person with the most contextual knowledge -- rather than being the stewards for overall standards, patterns and architecture to ensure the team isn't going down a dark path.

What's particularly frustrating is seeing senior+ engineers recognize that the codebase is accumulating slop, acknowledge that implementations are getting worse, and then essentially shrug their shoulders and say, "Yeah, it's all slop now lol"

I'm on a team where I'm increasingly convinced that a lot of engineers are generating code through agents without really understanding what they're shipping. many early career engineers. So my mindset is rather than just complaining about the quality of the output, I've been approaching it as a technical leadership problem: we need better architectural boundaries, established patterns, standards, and guardrails. We need to make it easier for engineers and their agents to produce code that fits the architecture rather than letting every implementation become its own interpretation of how things should work. aka "if yall are just gonna prompt engineer, lemme set up things to be a little better output since you all dont know how to prompt it correctly, or simply dont care"

I've been slowly working toward that, essentially carving into the mountain.

What confuses me is that other senior and staff engineers on the team seem largely indifferent. Some acknowledge the problem but accept it as the new normal. Others don't seem to recognize there's a problem at all. And its not a matter of "we tried that and it didn't work". they gave up before even starting.

And I genuinely don't understand that mentality. Maybe im just on a crap team?

I look at some "staff" engineers PRs, and its half slop themselves. I ask a staff engineer "whats the standard pattern for [x]" and they say "idk, lets ask [agent] if we have one". and it feels like im the only one asking the obvious super easy questions like "hey why do like a quarter of our services have literal duplicate test files? "(because each persons agent is making new ones in new locations) and why am I the first person to notice this? how has nobody seen this issue? are we literally heads down in our prompt engines? is this just a bad team or have we forgotten about technical stewardship?


r/TechLeader • • Sep 28 '26

Keeping quality up when your whole team works through agents

37 Upvotes

Keeping quality up when your whole team works through agents

I know this has been talked to death, but I keep failing to have this conversation with my own team without it turning into a pro vs anti AI argument, so I'm trying here.

Some background: I lead a team of 6 at a mid-sized company. Before this year we were known as the team that shipped clean stuff.

Then agents happened. Everyone uses them for almost everything now, and our merged PRs went from about 40 a month to about 110.

What I can't figure out is how to turn that into better product instead of just more product. Our best work used to come from someone really understanding the problem before writing anything. Now the PRs look fine, tests pass, coderabbit / claude review clean up the obvious stuff, and when something breaks in prod the person who "wrote" it has a vague idea of how it works at best.

I'm not looking for the "AI bad" or "just add more agents" answers, more from leads who have actually had this problem and found something that works.

TL;DR: team output is up almost 3x, understanding of what we ship is down, and I don't know how to fix the second without killing the first. How are you keeping quality up?


r/TechLeader • • May 19 '26

I was on a team where the CEO ignored every bottom-up warning from engineering for two years and then blamed the market when the product stalled. The roadmap was set in stone and customer feedback was treated as a distraction

37 Upvotes

I joined a company where the CEO had a very clear vision of what the product should become, with a three year roadmap, detailed feature list, and slide decks full of confident projections. The problem was that the engineers and middle managers who talked to customers every day kept coming back with signals that didn't match the roadmap. Customers were asking for simpler integrations and reliability improvements, not the ambitious new platform features the CEO had planned. Every sprint retrospective, the same feedback surfaced. And every time, leadership dismissed it as noise from people who didn't see the big picture.

Two years later, the company had spent millions building a product suite that nobody was asking for while ignoring the core product that was slowly breaking under its own complexity. The CEO held an all hands and said the market wasn't ready for their vision yet. But the market had been telling us exactly what it wanted the whole time. We just weren't listening.

I've been reading about this dynamic between dogmatic and pragmatic strategy modes, and from what I've seen the trouble starts when you commit to the wrong mode for too long. The money keeps coming in and the complexity keeps growing, and the gap between what leadership wants and what the market needs gets wider until something breaks.

Has anyone else here worked somewhere where the roadmap was set in stone and the CEO treated customer feedback as a distraction?


r/TechLeader • • Sep 12 '26

Code review bottleneck after AI, how are teams handling it?

27 Upvotes

Hey folks!

I'm an engineering manager at a mid sized company, three squads, each with a PM and a designer attached. Over the last two quarters the devs have got a lot faster and we assumed product and design would become the constraint, so we put effort there first. They did not become the constraint. The queue is sitting in review instead. We merged around 40 PRs a week in March and we are at 110 now with the same four people qualified to approve anything that touches billing, and those four are also the people writing the hardest changes. We have coderabbit on the repos which takes the first pass and genuinely helps with the volume, but somebody senior still has to be the one who says yes.

I would really like to hear from anyone who has been through this already. Did you widen who is allowed to approve, cut down what needs approval at all, or just accept that the queue is longer now? Anything is welcome!


r/TechLeader • • Sep 16 '26

Should juniors still read every line of an agent PR

22 Upvotes

12 years in, I lead a team of 6. Two of them are juniors and both ship agent PRs all day. The PRs are fine. Tests pass, coderabbit leaves a couple of comments, they fix them, merged. They are faster than I was at their age by a lot.

What worries me is they have never had a PR fall apart on them. The bot catches the small stuff before it hurts, the agent writes the fix, and they never sit with a bad decision long enough to learn why it was bad. I learned most of what I know from things breaking.

So I am thinking of making them read every line of every agent PR, even when the review is clean. That will slow them down and they will hate it. The other option is trust the process and accept they learn differently.

What do you do with juniors right now? Read everything, or let the tools carry it


r/TechLeader • • 17d ago

Senior Tech Leads, What Advice Would You Give a New Tech Lead

21 Upvotes

I recently stepped into my first Tech Lead role, and I’m looking for advice from more experienced tech leads.

I’m definitely not the strongest developer or code reviewer on the team. My strengths are more on the broader technical side: DevOps process and tooling, test automation, performance testing and tuning, observability, cloud infrastructure, and understanding how the different parts of our system fit together.

We have two senior developers who are stronger than me when it comes to coding, code reviews and even architecture.

One of my biggest uncertainties is how to lead them and coordinate their work and also build trust.

Also, other questions i would love to have advice on:

- What responsibilities do you think I should prioritise in my first few months?

- What are some common mistakes new Tech Leads make?

- How do you structure your day? (ppl flood me with meetings and my chat is crazy)

- How do you identify where your time and effort will bring the most value?

- How do you measure if you are doing good job?

Thanks in advance !


r/TechLeader • • 17d ago

Giving feedback to a fellow senior who pastes AI answers into reviews

19 Upvotes

There's a recently promoted senior on my team, maybe 5 years of experience against my 11. Good guy, very quick, but lately every review comment he leaves reads like he pasted my PR into a chat and copied the answer back.

Last week he left 14 comments on one of my PRs. Three of them asked me to handle errors that are already handled two lines below. One suggested a library we removed in the spring. When I replied "this is already handled on line 48, did you see it?" he answered "good point, the AI must have missed that".

I didn't respond yet. I'm honestly a bit stuck.

  1. He's not my report, we're the same level, so I don't know if it's my place to say anything.

  2. I don't want to sound like the old guy who's against AI, because I use it all day too.

  3. Going to our manager feels like throwing him under the bus over something small.

  4. But it's not small for me, I spent most of an afternoon answering comments that weren't real.

What would you do? Talk to him directly, raise it with the manager, or just stop replying to the generated ones and see if he notices? Would love to hear how it went for people who've been in this spot.


r/TechLeader • • 1d ago

How do you interview seniors when their job is reviewing agents

15 Upvotes

I've been running system design interviews for senior candidates this month and something has changed.

Candidates with 8 to 10 years of experience, strong CVs, and when I ask them to design something like a rate limiter or a notification service, a lot of them struggle to start. When I ask about their current job it makes sense. They plan work, prompt agents, review PRs and present results. Most haven't designed something from scratch in a year or two.

I'm not sure that's their fault. That is the job now at a lot of companies. But I'm still hiring for someone who can make the big decisions when the agent gets it wrong.

So I'm torn. Do I keep the classic design interview, switch to "here's an agent's design doc, what's wrong with it", or something else entirely?

For other leads who hire: what are you actually testing for in senior interviews now?


r/TechLeader • • 2d ago

I'm the only person who knows where our prod keys live and I'm going on leave in 3 weeks

15 Upvotes

Preface this by saying I know this is my own fault.

Small team, 6 devs, I've been here longest. Over 4 years every prod credential ended up going through me. Some are in our cloud secret manager, some are in a 1password vault only I have the master for, some are in env vars on a box I set up in 2022, and a couple I honestly only know because I typed them in once and remember where.

My kid is due in 3 weeks and I'm off for 2 months. My manager asked me to "write it all down" and I've been staring at an empty doc for two days because writing it down means admitting how bad it is.

The annoying part is I cant even blame anyone. Every time it was faster for me to just do it. Nobody else ever needed to know, until now.

A friend at another company said just move everything into one place before I go, infisical or vault or doppler or whatever, and give two people access. Probably right. But 3 weeks of migrating secrets while handing over everything else feels like exactly how something breaks while I'm gone and nobody knows how to fix it.

Anyone been the key person like this? Did you migrate before leaving or just hand over a messy doc and hope?


r/TechLeader • • Sep 19 '19

In your experience, how would you accelerate a new hire from newbie to productive developer in the most efficient and effective way possible?

14 Upvotes

r/TechLeader • • Sep 03 '19

Managers who don't share what they know with their team...

Post image
14 Upvotes

r/TechLeader • • Jul 08 '19

"An employer once said, "What if I train my people and they leave?" I say, what if you don't train them... and they stay..." -- Evan Kirshenbaum

Thumbnail self.quotes
14 Upvotes

r/TechLeader • • Jun 17 '19

Are whiteboard interviews a complete nonsense?

14 Upvotes

I’ve read this article by Ben Halpern (The Practical Dev) on dev.to: https://dev.to/ben/embrace-how-random-the-programming-interview-is and it got me thinking.

Do you personally run whiteboard interviews when screening candidates? How helpful are they in finding the right person?


r/TechLeader • • Oct 19 '26

First time Tech lead, need guidance.

13 Upvotes

Hey everyone,

I have around 7 years of experience as a software developer and got laid off about 4 months ago. Fortunately, I’ve landed a new role that’s a level above my previous one, and I’ll be leading a team of 7-8 developers across multiple time zones.

This will be my first time officially working as a tech lead. I’ve mentored junior developers before, but this role will involve working with a mix of junior developers and senior engineers with 10+ years of experience.

I’m excited about the opportunity, but I also want to make sure I approach it the right way. I know being a tech lead is about more than just writing code, and managing a team with people who have significantly more experience than me will be a new challenge.

For those who have been in a similar position:
What do you wish you had known before becoming a tech lead?

How do you earn the respect of senior developers without trying to prove yourself all the time?
How do you balance coding, technical decisions, meetings, and people management?
Any tips for leading a team spread across multiple time zones?
What are some common mistakes new tech leads make?

Would appreciate any advice, personal experiences, or resources that helped you transition into the role.


r/TechLeader • • Oct 17 '26

How are you cutting a security backlog that tripled once AI wrote half the code?

13 Upvotes

About 70% of our code comes from Claude and Codex now and our security backlog went from around 400 open findings in March to over 1,300. Snyk and Dependabot keep adding more, most of it in generated code and packages we never actually call.

We already sort by severity and whether it's internet facing. That worked until the volume buried it, now even the critical list doesn't fit in a sprint. Last month we added coderabbit's security scan because it opens the fix as a PR instead of another ticket, which helps on what it catches, but it doesn't touch the old dependency pile.

Is anyone actually getting this number down, or is everyone just sorting the list differently?


r/TechLeader • • Jul 10 '26

Bad feeling as a tech lead

12 Upvotes

I recently became a Tech Lead after being a backend developer. (Well it's almost 6 months, is that recently?)

I'm finding the role harder than I expected. I had very bad moments where everybody pings all the time (more than 80 chats at the same time). That was 3 months ago, I was stressed but also I felt In going my job. With time, people stopped to ping me and now I chat with 20 people in a day and all messages are from my team and close people.

Here is my concern now. I feel like the team can do their job without me (proved while my paternity leave. 3 weeks), and also when I try to take on technical problems (like fixing a difficult bug) mostly I can't solve them on my own and end up asking other for help. This is not bad but I feel like a kind of failure.

I want to be close to every day problem and stay close to the code. I don't want to become a manager who's disconnected from the technical side.

Did anyone else feel this way when they became a Tech Lead? How did you figure out where you were actually adding value?

Maybe I'm just looking for approvals or something like "you are doing good" but honestly recently I feel like I'm not adding anything special in my role.

TI recently became a Tech Lead after being a backend developer.

I'm finding the role harder than I expected. I feel like the team can do their job without me, and when I try to take on technical problems (like fixing a difficult bug), I sometimes can't solve them on my own and end up asking other engineers for help.

The company wanted someone who would stay close to the code, and I want that too. I don't want to become a manager who's disconnected from the technical side.

Did anyone else feel this way when they became a Tech Lead? How did you figure out where you were actually adding value?

Thanks in advance. Any recommendations will be well received.


r/TechLeader • • Jul 11 '19

Is technical recruiting broken?

12 Upvotes

I've spotted this article the other day: https://leerob.io/blog/technical-recruiting-is-broken/ and this paragraph stayed with me:
'The bottom line is: the people you're trying to recruit already have a job. The focus needs to be on selling them the position.'

Would you agree with that? Is that something you've been using when hiring for your team?