Development in the AI Era
All articles

The Corrections Are the Documentation

When I first told my boss I was retiring, it was with an eight-month lead time. I wanted to help the company through its first international acquisition and provide decent documentation for the final handover. The most important part of my handover turned out to be what an AI got wrong about our systems. Every item was something no one would glean from reading the code. I’ve started to keep a list like it on the work I’m doing now.

The Handover We Planned

Three months before I retired, my boss and I, along with the team, agreed on a plan for the roughly forty applications still actively running. I would spend one session a week with the team covering one application. They would then send me any questions or concerns about that particular application. I would either transcribe the answers or we would cover it at the beginning of the next session. Each application would get a write-up of its functionality and idiosyncrasies, along with when it was added to the catalog and why. I cataloged the main support developer and what type of system each application ran on along with what it tied to in the ecosystem. I dictated how the program at the production lines behaved, and used an AI to write a survival guide for somebody’s first thirty days based on the gathered notes. I used this process multiple times to help identify gaps in the knowledge base we were building. By the time I left there were over twenty documents and diagrams detailing the applications and their connections. Unfortunately, like most handovers, not all of the documents were finished, or even started.

The Interviewer

Like most experienced developers, I’ve worked on such a variety of applications that certain aspects and coding ‘hacks’ have become second nature. They have become so ingrained in my development process I don’t think about adding them to any of the documentation. To avoid that in this instance, I built an AI interviewer whose only responsibility was to ask me about one subject until the answers ran out. It would take those and write up an extensive document based on what I’d said along with gathering relevant data from the internet. It had no idea what I considered obvious, so it asked for clarifications. I would also tell it when to go do some research once I realized the topic might be lost on a new hire, even an experienced developer if they were new in the industry. A clarification from one of the interviews became its own in-depth interview into how resin gets selected and validated at the line. The biggest benefit was the AI never got tired of asking for the whys, hows and whats to help me divulge the nuggets that I had accumulated over my tenure.

The Draft That Was Wrong

In “AI Has Left the Building” I called AI “a fantastic tool to generate the first draft of system documentation, especially for old codebases where the original developer is no longer part of the team.” Before I left, I did exactly that against the whole ecosystem, while the original developer, being me, was still in the building.

The draft it produced read well and was completely believable. It was so off course on so many things a person who walked the warehouse or plant floor would notice. It had operators using a web application to select resin when they actually used the line program to choose it. It had the line program writing straight to the central database when it actually saves locally first. It expanded a three-letter acronym for the blending system into a different machine for a different industry. Wherever it ran into something unknown, it wrote “likely” and kept going without asking for any clarification.

The answers and clarification were only in my head, and fixing the draft put them on paper. Another AI generated write-up from a meeting transcript where people discussed production processes disagreed with my own transcribed dictation about why a line locks itself out. I compared the two versions and spoke with a few of the operators, and the meeting write-up was the right one.

After I corrected the draft documents that were being used, we fed them back into the knowledge base system that we were building. I reran the prompt that generated the documents to verify it picked up the corrections. If I hadn’t made those corrections, a new hire would have spent hours going down rabbit holes that would have wasted a lot of effort and time.

What the Code Can’t Carry

Given enough time, a developer with the code and a good AI draft could recover what a system does. The reasons behind the who and the why lived only in my head. Arguing with a wrong paragraph made me say why the plant works the way it does along with what it does. So I kept a detailed list of what I corrected. It is the knowledge debt I wrote about earlier in this series, written down while the person holding it could still pay it.

Ford Motor Company went through a bigger version of this. Over three years Ford says it hired 350 veteran engineers, many of them former employees, to help train younger staff and reprogram AI tools that weren’t getting the job done. Charles Poon, its vice president of vehicle hardware engineering, said, “Mistakenly we thought that by just introducing artificial intelligence and ingesting the design requirements that we had, that that would produce a high-quality product.” If they had had a formal process for reviewing what the AI understood from the requirement, they would likely have found many of the issues earlier, when they would have been easier and probably cheaper to fix.

The List I Keep Now

I’m building a data capture program and have already included a lessons file in its repository. I’ve added more than a hundred entries so far, each stating what happened and the rule from now on. The AI I work with daily runs on a set of standing rules, and most of them are corrections of mine, with the date and my words beside them. One of the simpler ones was for my calendar:

Email and calendar check (October 29): Whenever you check my email, check my calendar too. The rule went in after an event moved and the morning report quoted the old time it had saved. My words: “please include a calendar update whenever you do the gmail check.”

Another one of the rules taught me something important about the handover process. After six or so of its generated scripts failed in one day and two did actual damage, I asked it, “why haven’t you written a rule for you to double check your scripts before you run them?” The rule that would have prevented the damage was already written down, in a note it only loads when working on that subject. So it moved the rule into the startup file it reads at the beginning of every session. It taught me a correction has to sit where the next reader will see it, whether that reader is a new hire or a machine.

While the Builder Is Down the Hall

The AI that wrote my first draft of the knowledge documents was describing applications and processes it had never run inside a plant. This adds a deadline to the whole exercise, since it only works while the person who can say “no, that’s wrong” still works there.

I didn’t finish everything I wanted, and I doubt any handover is truly complete. Of everything I tried, the easiest way to get the majority written down was to let a machine ask and guess and then tell it where it was wrong.

First published on LinkedIn, November 9, 2026. Discuss this on LinkedIn