↓ Skip to main content
If You Don't Understand It, You Can't Ship It

If You Don't Understand It, You Can't Ship It

·812 words·4 mins
Jay Johnston
Author
Jay Johnston
Full stack software engineer in Melbourne with 7+ years building production systems in Go, TypeScript and .NET, most recently on Google Cloud and Kubernetes.

A team I know of rebuilt Google Tag Manager from scratch.

Not because it was broken, and not because they had some special requirement nobody else in the world has. All they really needed to do was spin up some infrastructure. Instead, someone said the words I’ve heard far too often lately: “Just get Claude to build it.”

I get the appeal. If you own the code, you have more control. AI makes building things feel cheap and fast, and when all you have is a hammer, everything looks like a nail. But I keep coming back to a few questions. If nobody really understands what that code is doing, is it safe? Is it maintainable? And when the person who generated it moves on, who’s going to stop it from being exploited?

I’ve been thinking a lot about AI safety lately, and that story is where my head goes. Which surprised me a bit, because it’s not where I started.


Where I started was where I think everyone starts. Terminator. The Matrix. Decades of dystopian sci-fi have done a good job of training us to picture the robots turning on us.

And I won’t pretend I don’t wonder about the big stuff. Is this moving too fast? Is AI going to help humans flourish, or not? I think about the paperclip problem, the thought experiment where an AI told to make paperclips turns everything it can reach into paperclips, because nobody told it not to. I think about the Fermi paradox and whether there’s a reason the universe is so quiet. Will AI make us redundant? Is it sentient? Is it making us more stupid?

That last one is the one I can’t shake, because I think it’s already happening in small ways.

AI as we know it is built on top of human knowledge. Everything it can do, it learned from things people wrote, built and figured out. And yet the more we rely on it, the less we think for ourselves. There’s something uncomfortable about a tool that depends on human thinking while gently encouraging us to stop doing it.

The Tag Manager rebuild is a tiny version of that. Nobody stopped to think about whether a cheaper, better solution already existed. Nobody needed to understand the result, because the AI would just handle it. That’s not a robot uprising. It’s a pile of code nobody understands, sitting in production, waiting for someone to find the hole in it. But it’s the kind of AI risk I actually see.


The paperclip problem sounds like science fiction until you shrink it down to something like your inbox.

I read Tim Ferriss’s The 4-Hour Workweek, and the bit about virtual assistants has stuck with me. You get out what you put in. Ask an assistant to “clean up my inbox”, and if they delete the whole lot when what you really wanted was the junk gone, the important stuff kept and replies sent where they’re needed, that’s on you, not them. They did exactly what you asked.

An AI agent is the same, only faster and with more access. So the habits I lean on are pretty boring. I expect the AI to repeat back what it’s going to do before it does it. I default to having it plan rather than letting it run off and act automatically, and I’m careful about how much I let it do on its own. Getting good at that kind of communication is a skill, the same way prompt engineering was a skill a couple of years ago.

If I were leading a team like the one that rebuilt Tag Manager, I wouldn’t throw out the rulebook either. Normal pull request practice still applies, whether a person or an AI wrote the code. What I’d add is more over-the-shoulder reviews, where I sit with a developer and ask them to explain their code to me, even when I already know exactly what it does. Not on every PR. Just often enough that everyone expects the question and gets into the habit of being able to answer it.

The rule underneath it is simple enough to fit on a sticky note. If you don’t understand it, you can’t ship it.


So, am I worried about where all this is going?

Not really. I’m optimistic. I’m hoping for something closer to a Star Trek future than a Terminator one, where the machines handle the grunt work and we get to spend our time on the interesting stuff. I’m all for change. I just think we need to understand the change we’re making and what it might affect, rather than switching our brains off and hoping for the best.

That said, to steal a little from Mark Manson’s Everything Is F*cked, just in case I’ve got this wrong: I for one bow down to my AI overlords.


← Previous post

Don't Let AI Do Your Thinking for You

Don't Let AI Do Your Thinking for You

·1037 words·5 mins
AI is a fantastic tool, but if you let it write everything, you lose the one thing you need to review what it writes: understanding.

Next post →

My Desktop Lives in a Git Repo

My Desktop Lives in a Git Repo

·784 words·4 mins
I got sick of reformatting a drive and losing a setting every time. Nix fixed that, and it changed how I think about my desktop.