Lodemark  |  Chad D. Russell

The Trust Series: Building with AI

Part 1

Why I started paying attention again

The ground is shifting under our feet again. Every big change in technology works this way, and the people that tend to feel it most are the ones accidentally standing in the wrong place. I was in telecom when dedicated trunks gave way to IP switching. I was at Salesforce when software stopped being something you installed. Some of you were there with me, everyone has been impacted by it.

I was a functional solutions guy. Before the “architect” title came into play. When the work was about figuring out what the system ought to do and how people interact with it, and then handing the building to people better at it (much better at). I am not an engineer, a coder, a person that can follow A-Z step-by-step without veering and I have never claimed to be.

Then I spent eighteen years in mineral management, running Lodemark, in a corner of the world where the software, quite frankly, is not very good. I built a management platform for the firm because what I could buy did not do the job, and I have been tinkering with it for years, because the design part, where you solve problems, is the part I like most.

Over those years, I dug into most of the technologies that came and went. Some were big, like blockchain, but I never saw how they changed anyone’s day-to-day work. Others were flashes in the pan. None of them really grabbed hold. I was raising kids, coaching soccer, running a business, and everything else that goes along with trying to be present in your own life. But the designer in me kept an ear up, kept tinkering.

I’d had a vision for something once, but never the means or talent to build it. Then, like everyone else when the first consumer versions of AI came out, I played around: a soccer team logo, a recipe, a business problem. Clearly, something with this new wave was different, but I couldn’t put my finger on what I could do about it. So, I added technology conferences back to the calendar with the industry ones. Then a conversation with a good friend, and consultant worth your time, Rich Nazzaro, sparked my curiosity, my need to mess with things again. We talked about what was coming, and the parallel to the moment SaaS took hold.

It really wasn’t the technology that got my attention about language models or “AI”. It was that some of the same questions that followed SaaS or other technological shifts around for years were rearing their heads again, just with different syntax. The biggest one, as always:

How do you know you can trust what the thing tells you or what it’s doing?

That question is not academic where I sit, and not unique to my position. Our job is to hand a client an answer about their own property, their own resources, assets, and money, and provide them with the best options so they can act on it.

Since January, I have been diving into it twelve and fourteen hours a day. Not to show how hard I work, but because I am self-taught (always have been) and the only method I know is to find what breaks and what I can fix. Or in this case, find out what breaks, what works, or seems to work, only to find out it’s fool’s gold and fix it again.

The models got better as I was working with them and we all know they are moving faster than we can keep up. Some of what I ran into has since been closed by the models themselves. But, I know why those problems existed, not just what the workaround was.

Plenty of what I hit is obvious to somebody more technical, and that is fine, that’s not what this is about.

Next week we’ll look at what I really f’d up. Wonder if any of you share the experience, or what was just my own dumb mistake thinking I’m smarter than I am.

Part 2

Fifty-seven measuring cups.

There are fifty-seven measuring cups in my kitchen.

I like to cook, mess around in the kitchen really, see what happens when you change things a bit. Not bake, that takes too much precision. It started back in the olden days, as my daughter calls them, of the ’90s. I was going to school in Denmark and had no easy way to eat besides to cook for myself.

I have to be in a certain mindset to follow a recipe step-by-step since it slows me down and takes some of the fun out of it. Now, I don’t mind doing it the first run on a recipe someone else made, but after that I change it to my style and my palate, or I should say my family’s palate. An unintended consequence of this hobby is that it has turned my son into a food snob, and my biggest critic.

It’s also why when my wife follows a recipe I use, it doesn’t come out the same as when I cook it. It’s not the grandmother thing, leaving something out on purpose so yours is never as good. I tasted something new somewhere, wanted to try an alteration, and forgot to write it down.

Fifty-seven measuring cups isn’t literal, but it is where the real problem was noticed. I am going to explain how that happened, because it’s where I really f’d up and wasted my most precious commodity: time.

I have a big binder of recipes I keep covered in chicken-scratch. Picture one of these recipes with the handwriting, slightly legible, all in the same color. It says use the blue measuring cup. Somebody replaced the blue cup two years ago with a new one, same color and a different size. The recipe is not wrong-looking. It is just wrong, and you will never catch it trying to follow the recipe, only when you sit down to taste it.

At Lodemark we run a monthly process, a monthly process that was perfect for automation. We had all the components, and we knew how they all fit together. So, we built it and we ran through it four or five times (at least), documenting as we went: RAGs, swim lanes, bullet points, you name it. And every time it felt like starting from scratch.

The written procedure named the program to use, the steps to follow, the decisions to make, normal process stuff. But when we analyzed it from end to end, it turned out to be the previous month’s work, hard wired to two finished files and date-stamped for that month. It never touched what the document said it processed.

So, we worked backwards from a leftover output file to find what happened, so I looked at what was in the drawer. Fifty-seven versions of the programs that one process runs on, and thirteen versions of the procedure telling you which of the fifty-seven to use. Every program versioned, every procedure time stamped so we thought we were running the newest and updating the newest each time. All of these programs at one time were the working program. Any one of them is sitting right there, it opens, it runs, and it is the wrong one, and nothing about it looks like an error until we’re two hours down in the process trying to figure out what the heck is happening. What was broken was one sentence in a document: use the blue measuring cup.

Confused? You should be. The best way I can picture what we found is one of those movie scenes where someone is tracking down ‘who done it’ and their evidence board has turned into a Crazy Board, red string running all over one wall then spilling onto the next ones. Outputs giving us answers that looked right on sight, but something smelled and tasted off.

I don’t believe the number is the problem. You get that number when every individual fix is correct and nothing ever retires, when you keep your old pots and pans or measuring cups “just in case” one of them was the trick that made everything work.

The most frustrating thing is we had the check that would have caught this, we had approached it six months earlier, and set it aside. But now we have four blue cups in the same drawer… son of a…

Part 3

Four blue cups

At the beginning of September, I finally dug into the question that I wish I’d had time to thoroughly dig into sooner. Are we even sure we’re using the latest revisions of everything? For some reason, one monthly process that we ran by hand through disparate systems had become our kryptonite. I’m guessing you know the answer to this already.

Last week I left you with four blue cups in the same drawer. In our case, the cups are versions of the same program, and the recipe is the written procedure that tells you which one to use. But we will stay in the kitchen, I think it’s easier to visualize there.

Four blue cups, same color, same shape, every one of them serves its purpose, but only one holds the amount the recipe calls for.

Now, I told you I don’t bake, it takes too much precision. I cook. I taste as I go, I change things, I try to remember to write down the changes that improved things in my legendary illegible handwriting. I typically know which pages I changed something on and never wrote down (my wife can vouch for that). I know which ones to question, and I don’t trust any of them, which is fine, because if something’s off, I’ll taste it before it gets to the table.

The recipe for our monthly close process came out as a baker’s recipe. Typed, dated, a version number at the top, every step spelled out exactly, written up by the AI sessions so cleanly that, quite frankly, it looked like the most precise thing in my binder. The very first line said, “Before you start, make sure you have the right blue cup.” Then it said use the oldest of the four, even though there were three newer ones in the same drawer.

For the most part, baking doesn’t let you taste your way out of that. You follow the measurements, it goes in the oven, and you find out how you did when it comes out. You already know from last week how that one came out.

I’d like to tell you that was all the AI’s doing. It wasn’t. At the end of August, a few days before I asked that question, I made that recipe myself. I sat in the seat of the person who does it every month and went through it step by step, the way they would. And I found things. The recipe said there was no mixer in this kitchen, so you’d be doing it all by hand, and there had been a stand mixer sitting on the counter for a couple of weeks. We fixed that, and a handful of other things, every one of them real, and I came out of it thinking that recipe was in pretty good shape. Not one of the fixes changed the cup.

A few days later I asked my question, and then the AI and I went through every page in the binder that mentions the blue cup. There were twenty-seven, and the binder couldn’t agree with itself: between the recipes in the binder they named nine different “blue” cups. It gets better. Put it to a vote, and the binder picks the wrong cup, the same one that first line sends you to. Grab a page at random and two times out of three you’re holding the wrong cup. That’s when it made sense why that process had become our kryptonite. Every month started with a recipe that looked perfect and a drawer full of cups that all looked right.

If you’d asked me before we counted, I’d have said somebody got sloppy with the binder. I don’t believe that anymore. Sloppy doesn’t type it up, date it and spell out every measurement. Sloppy doesn’t sit down and walk the whole recipe through either, and I did. I trusted that recipe because it looked like a baker wrote it, and every fix I made only made it look more like one.

Wonder how many of you have a fresh date at the top of your own binder and an old cup in the first line.

And a little further down that same recipe, we’d added a note about that first line.

Next week I’ll dig into the fixes that were the opposite of fixes.

Part 4

So many sticky notes

Last week I left you with a note. A little further down in the baker’s recipe, we’d added a note about the first line. The note had a title, Version Truth, and in plain terms said: “Don’t trust the line above me. Three pages in this binder disagree about which blue cup to use, go find a fourth page for the answer.”

Picture yourself at the counter with the binder open to what you’ve been told is a perfectly crafted recipe. The oven is heating, all your ingredients are ready to go, and you see a sticky note telling you not to trust the recipe you’re about to follow, and that you need to look in the back of the binder. So, you put the measuring cup down and start flipping through the binder. Now you’re not baking anymore, you’re doing research. That’s what the start of our process looked like for us, and why it always felt like we had never run it before.

And Version Truth, the seemingly most important note, wasn’t even the first note! It was the fourth.

The first note came in the middle of August. One of the AI sessions sat down with the whole recipe and worked out which cup was right at every step. A long, careful write-up, filed in the binder. With a sticky note. Leaving the very first line completely untouched.

The second came two weeks later. Another session found mistakes in the instructions printed on a cup and corrected them in the binder, leaving the first line untouched. I’m still not sure what cup that session was looking at.

The third came the very next day. Another session worked out the right cup all over again. But did it fix the recipe? Nope, that would be crazy and way too easy. So it stuck another sticky note in the back of the binder with the rest, saying in plain words that the first line of the recipe is wrong.

The fourth was my walkthrough. We revised the recipe, put a new date at the top, and stuck Version Truth right under the first line. And, of course, we left the first line, because why would you read the VERY FIRST LINE?

And no, I don’t get to blame the AI for this part, I was directing three of the four. After the fourth version, it finally dawned on me what was happening. Writing a note, a process to follow, feels like fixing something. You found the problem, you wrote it down, mapped it out, and you feel good about it. Picture a drawer so full of sticky notes it won’t close, and me pointing at the drawer as evidence that we were being diligent. It ended up being the opposite, it was proof that nothing was actually getting fixed, it was just talk about fixing things.

My own binder works for me because I remember why I wrote nearly every scribble in it, and why the scribble was even necessary. My wife cooking from the same binder gets the notes without the memory, which is why her version never tastes like mine. It’s set up for failure. A recipe isn’t really for the person who wrote it. The recipe is for the next person in the kitchen. Hopefully, the recipe can be used in anyone’s kitchen. With AI, the next person at the counter is every session, every time. The AI doesn’t remember last month. You can try and force it to remember, write note after note directing it where to go and what to use, but every session walks into the kitchen the way my wife walks up to my binder, reads every note, believes all of them, and has no way of knowing which one to trust.

So at the beginning of September, I asked for a new fix, one card, and one place. My exact words were “Do you have the fix to put the kryptonite in a lead box?”

And we did it right, or so I convinced myself. We took the blue cup out of the recipe completely, so the first line just sends you to a new place, the cabinet door, to read the “actual” recipe. We taped one card inside the door, the only place any cup is written down: which cup, what ingredients, where to find them. And we threw the Version Truth sticky note away, because there was seemingly nothing left for it to warn about. The AI even wrote on the card “this cannot drift.” We put in taste checks to make sure it was coming out right, and I thought we’d finally beaten it.

The card lasted all of three days, and the only reason it lasted that long is because I had to work on some other more pressing issues. In those three days we made five new versions of one of the cups on that card, and the card still named the old one. On the third day, one of the AI sessions opened the cabinet, looked right at the card, wrote down that every line on it was current, correct and it was sure because it cannot drift, and closed the door. All written with total confidence, and FLAT OUT wrong.

The only reason I found out is that, just in case, I’d put one last check outside the recipe. I’d told the sessions: if you ever catch yourself going back to look up which version to use, the fix has failed, and I want to hear about it. One of them did, thankfully, a little tattletale.

So much for the lead box.

Putting the cup on one card didn’t make the card true. One card just made the wrong cup easier to believe.

Next week, the tool we had all along. And yes, it was in the kitchen the whole time.

Part 5

Gobble gobble? Every check said done.

I left the last part with a teaser about a tool, but Thanksgiving’s coming, so let me start with a turkey.

You may have lived this before, or at the very least seen the opposite play out in Christmas Vacation. The bird’s been in all afternoon, the aromas are filling the kitchen, even that so-called side dish with sweet potatoes and marshmallows. Everyone is hungry for the 3pm “dinner”. The little plastic pop-up timer popped right on schedule, but you don’t completely trust it, so you use your high-tech, digital, Wi-Fi-enabled thermometer. It says it’s good to go. Everyone’s at the table, the kitchen island, wherever you and your family break the T-day bread. You start carving the turkey after your yearly tradition of watching a YouTube video on how to carve a turkey, the whole family is waiting somewhat patiently, and the middle is still raw.

Every check said done: the eye check from the outside, the cheap pop-up that came with the turkey, and your overly expensive, not-sure-it’s-really-necessary, high-tech thermometer. And every check was telling the truth. The crust was brown. The timer really did pop. The thermometer really did read right. They were just measuring the wrong spot.

Last week I described to you a drawer stuffed with sticky notes, and you might think the lesson is that we never checked anything. It’s worse. We checked constantly, continuously, heck, we had checks of checks, and every check passed. The first line of our recipe, the one from Part 3, said: “Before you start, make sure you have the right blue cup.” Our version of the pop-up timer. It even listed the exact weight of the blue cup to use. Pull the cup, weigh it, perfect match, check passed. Every single time. But the recipe named the old cup.

And here’s the tool I teased last week. A baker doesn’t trust a measuring cup, a baker weighs everything, and for a baker’s recipe like ours we had the baker’s tool: a scale. Our check was based on a thorough weighing we did back in July. We pulled every cup out of the drawer and weighed each one, to make sure none of the “new” cups were just old ones with a fresh label. Every cup passed. We wrote it up, felt pretty good about ourselves, and put the scale back in the drawer.

So picture yourself at the counter. Recipe read. Cup weighed. Prep ingredients set out. Taste checks lined up for when it comes out of the oven. Every light green, and the AI happily confirming every one of them. Everything is set, everything looks under control, no way anything can go wrong, no whammies.

And the dish still came out wrong. Every one of those checks was a pop-up timer, a fancy thermometer stuck in the wrong end. Each one asked a question about the cup: is it here, is it the weight the recipe says, is it really new. Not one asked whether the recipe was still pointing at the right cup.

The part that gets me, and the reason this mistake is so dangerous, is that nobody was being careless. We ran every check we had, and each one came back fine. That’s still on me, I’m the one who decided what we were checking. In my kitchen, the worst that happens from this is that my son becomes Gordon Ramsay in a failed kitchen. But in our business, it’s our clients counting on what we tell them about their own property and their own money.

So, in October, we changed the rule, and now the fancy thermometer goes in the thickest part of the bird, every time. When a new cup is needed, it can’t go in the drawer until every recipe in the binder that calls for it has the old cup crossed out and the new one written in. And if an old recipe really does have to use an old cup, it’s written down why. We have already seen the check play out. Earlier this month a new cup tried to slip in while a card still named the old one. It got stopped before it even got near the counter. Nobody had to find out at the table, and this time I was spared being called a donkey.

Which still leaves me with the question I’ve been dodging: if we could have been checking the recipe all along, why did it take until October?

We’ll save that for next time, and just so you know, we had written it down months before any of this went wrong. Now, where’s the YouTube video for that?

Part 6

A note in the margin

In the last post, I left you with the question I’d been dodging: why did it take until October to check the recipe?

There’s no YouTube video for this one, so we’re going to need a cookbook.

Every family has that one hand-me-down recipe. The grease-stained card with a handwritten scribble in the margin: “If you use a convection oven, drop the heat 25 degrees.” Now, the note only matters every so often, the day somebody uses a shiny new oven.

We had one of those notes. Ours was written in April.

Back then, we were just starting to write down the recipes we have been cooking since 1974. We wanted them to be useful for anyone, including an AI that could walk into the kitchen like it was the first time. In April the AI was more like a voice on the phone. It could read me a recipe, talk me through a step, check my math, but based on some of my experiences at the time (maybe another overly worded series in the future) there was no way I would let it touch a thing in the kitchen.

Remember the scale from the last part? Here’s what I didn’t tell you. Back in April, months before that July weighing, I asked, shouldn’t we be weighing every new cup the moment it came into the kitchen? Not once in a while, not after something comes out of the oven wrong. Every cup, every time. Seems like a simple check, if anything in the drawer ever changed and nobody said so, the scale would catch it.

The AI’s answer was no, it wouldn’t matter. It said it couldn’t put anything in the drawer, only people could, and a person knows when they’ve put a cup away. In other words, why weigh cups at the door when you’re the only one with a key?

The reasoning seemed solid, or it could have been I was sick of building checks to make sure AI was doing what it said it would do. I let it go and figured I’m not writing the code, those coding skills have been in another room since the turn of the century. When Alton Brown tells you to skip the turkey derrick, you skip the turkey derrick. I couldn’t defend this one at the time.

But I didn’t let it go completely, we wrote it in the margin: if we ever move to a setup where the AI can put cups in the drawer itself, add the check then. The AI wrote an expiration date on its own advice, and we filed the note in the binder with everything else.

Then July happened, and you can probably guess where this is going. We moved some of the kitchen and let the AI start cooking alongside us, opening drawers, making new cups, and putting them away all by itself. The new oven was in the kitchen, and nobody went back to the note in the margin.

Well, almost nobody.

In August one of the AI sessions dug the note out, read every word, and wrote down plainly that the condition had come true, and the check was never added. Then the session filed the whole thing as work we owed, in the back of the binder. If you read Part 4, you already know where this ended up. Yep, one more sticky note in the drawer that wouldn’t close.

By October we had built a check for old cups, three different ways. Every one of them could tell you a cup was off. Not one of them could actually KEEP the cup out of the drawer. When all this finally landed on my desk, the only thing I could say was, “How did we miss this again?” The drawer check went on that same day.

When I finally lined up the dates, all I could do was shake my head. The note is dated April 15. The oldest of the blue cups from Part 3 is dated June 18. The fix was sitting in our binder nine weeks before the first of those cups was even made. Nine weeks!

That note sitting in the margin from April to October is the whole point of all this. It’s the idea you tabled or got talked out of with what seemed like sound reasoning at the time. It’s what ends up mattering most when something in the kitchen changes.

Next time, I hand the recipe to someone who has never cooked in my kitchen.

Part 7

A recipe or a memory?

Last time I said I’d hand the recipe to someone who had never cooked in my kitchen.

You know the moment. It’s Thanksgiving, people want to help, and someone wants to make the stuffing, but everyone is expecting your stuffing. The one you’ve made every year since forever and have to write down again every year because you keep forgetting to stick it in the binder with the rest of your recipes. So, you start explaining. About a handful of this, maybe a cup of that, a little bit of those, taste it, add more of what you think is missing, and you’ll know it’s ready when it tastes right. They smile and stare at you with all the confidence of a lost puppy.

If the only person who can follow the recipe is the person who wrote it, is it a recipe or a memory?

That was us. We’ve been cooking the same recipes for mineral owners since 1974, and for most of those years the best recipe lived in a few people’s heads and a lot of chicken-scratch. This system worked fine for us, because the people who wrote the recipes were the ones cooking them. Most of what we’re automating now is not new, although we’ve added a few impressive things since we started this journey, but those are for another time. The biggest breakthrough is finally having a way to write everything down well enough for somebody else to cook and get the same dish.

So, what does a recipe need before you can hand it to someone else? The recipe needs to be written for the person who wasn’t there when it was invented. A card with the exact weight of every cup the recipe calls for, so the scale from Part 5 gets used every time, not once a year. Every ingredient laid out on the counter before you start. One way to start, think one big button, not various temperatures depending on the type and age of the oven. A note every time, what went in and what came out, so the next change is one we make on purpose.

After it’s complete, two signatures. One from the newly appointed cook in your kitchen, the one who stands at the counter, recipe in hand, scanning each step with the hesitation of someone tasting the process for the very first time. One from me, stating that it’s actually the dish we meant to make. But the cook’s signature is the one that matters.

This goes back to my story in Part 4 about my wife and my recipe binder. She sees the notes with no memory of why, which is exactly why her version never tastes like mine. As it happens, that’s also the best test there is. And the AI is the perfect newly appointed cook. Every AI session walks into the kitchen like it’s the first time, because for the AI, it is. No longer just checks of checks. We changed the test.

It used to be whether the dish came out right. Now it’s whether somebody who has never seen the kitchen can make it, and whether the recipe knows when to stop. My son, the Gordon Ramsay to my Kitchen Nightmares, has been running that test on my cooking for years. He doesn’t care what the recipe says, only how it tastes.

In the software world, it has a name, user acceptance testing, or UAT. Just a good old fashioned UAT, and it earns my friend Rich another shout out. We were talking about people forgetting how to UAT, or never having heard of it, which makes sense for anyone who has never implemented a new system or process, or been part of one. The mention of it brought me back to my analyst days, locked in a bunker (slight overstatement), testing for hours on end, sleeping on client couches and under empty boardroom tables (no overstatement), good times.

One of our AI cooks wrote, in its own words, “I ran this from the page alone.” And partway through, it stopped cooking. An ingredient it didn’t expect was on the counter, one that hadn’t been approved yet, and the recipe said, plainly, don’t go any further until it is. The AI cook this time didn’t guess, didn’t “make it work,” and didn’t feel bad about stopping. The bowl went down, the reason went on paper, and that’s where the run ended.

When I read the note, stopping was absolutely the right call. That ingredient wasn’t meant for this recipe and had no business going in. For me, that one stop is worth more than every run that came out perfect, because it’s the process itself telling us no, before anything went in the oven.

Thirty-one of our recipes are now written down this way. We were at thirteen when I started drafting this series a couple of months ago. Large meals, side dishes, appetizers, desserts, and a couple of cocktails. All of them are good, some are really good, but not all perfect, I still have to nudge some here and there, throw some extra spice in. A lot have been cooked cold by a new cook and signed by me. The rest are somewhere in between, needing my extra hand or just not ready to come out of the test kitchen.

Well, I left something out. This story is about building automation with AI, so handing over a recipe doesn’t quite cut it. The goal is not really to have to read the recipe at all, it’s to press a button and get a reliable outcome, to press a button and be presented a Thanksgiving dinner. Can someone walk into your kitchen, press a button and get what they want?

Yes, they can and did. The button worked. One press, a full dinner. It was so anticlimactic. Months of tireless work, what used to take hours, days even, and it’s just “press here,” “ping,” and it’s done. Tastes good, now let’s watch TV.

Next time, the wrap-up. What I had to take back out. Like the daily update emails that seemed great in the beginning but now flood your inbox and you just flat out ignore, with the intention of unsubscribing, but you have a thousand other more important things to do and you’ll do it “tomorrow.”

To be continued...