This is part 3 of My First Agentic Coding: Field Notes, a series about the five months I spent growing software through instructions to Claude Code alone, without writing a line of code myself. Each part covers one topic.
In short:
An ADR (Architecture Decision Record) is a short document that records one design decision and the reasons behind it. CLAUDE.md describes a project as it is now and is loaded at the start of every session. An ADR, by contrast, records why something was decided at the time, and you consult it when you need it. In my projects, ADRs live in docs/adr/, one file per decision, like this (headings only, translated from Japanese):
## Status
## Context
## Decision
## Consequences
## Alternatives
The tool I'm building, JSVisualizer, is a web app that runs a JavaScript program one step at a time and visualizes what happens. (A separate series introduces it.) As of November 4, 2026, it has 52 ADRs.
Yet I have never had my own criteria for what deserves an ADR. As I described in part 1, at a stopping point I just said "Document this and commit," and Claude decided the rest. On top of that, I've read almost none of the ADRs it wrote.
In part 1, I promised to discuss in part 3 whether this was a good idea. The short answer: half of it worked, and half of it fell short.
The quotes from my sessions below are translated from Japanese.
I started JSVisualizer on May 25, and for the first three weeks there were no ADRs.
As the code grew, I began to worry that I would forget my own past design decisions. I told Claude I wanted to keep a record of our sessions for future design and maintenance, and Claude suggested ADRs. The format itself was Claude's idea.
On June 14, ADR-001 through 015 were created all at once. Claude pieced together three weeks of decisions from the git log and design documents.
ADRs are meant to be written when the decision is made, so this isn't a model to follow. I see it as a mistake on my part. But after that one catch-up batch, starting with ADR-020, almost every ADR was written on the same day as its decision.
JSInterpreter, the library JSVisualizer depends on, was even later. Its ADR-001 through 011 were written in August, during my retrospective.
The process was simple. At the end of a session, I'd say "Document this and commit," and Claude would decide that something was worth an ADR and write it.
I never once turned down one of Claude's suggestions. A few times, I asked for a particular decision to be documented with extra care. So my involvement came down to two things: asking at stopping points, and emphasizing especially important decisions.
Looking back over the 52 ADRs, a pattern emerges. Conventions the whole codebase follows, merging or removing features, and fixes involving language semantics became ADRs. Small display tweaks were handled by editing CLAUDE.md.
That looks like a sensible line. But it isn't my line. It's a pattern I found afterward by looking at the judgments Claude made session by session.
So far, this is a story of delegation working. I never had to think up ADR criteria, and the record kept growing. The problem was what fell through the cracks when I delegated everything.
On October 5, I reported three bugs in a row. (The heat map shows how many times each line ran. The execution trace lists executed statements one row at a time.) Claude fixed all three, but only one got an ADR.
| Bug | ADR |
|---|---|
console.log(010) printed10 |
Claude wrote one ( JSInterpreter ADR-012 , in Japanese, like the other ADRs linked here) |
| The heat map showed twice the actual run count | None |
| The execution trace showed the same statement twice | None |
The 010 fix involved a choice. In JavaScript, it's 8 in sloppy mode and a syntax error in strict mode. Choosing one is a decision, so Claude recorded the reasons and alternatives in an ADR. Claude had first implemented the sloppy-mode rule and changed course after I asked, "By the way, what happens in strict mode?" The ADR also lists that first approach among the alternatives.
For the other two, Claude didn't write an ADR. They looked like ordinary bug fixes, so I understand why. But I wanted them on record:
I want to keep a record of why this happened and why it's worth fixing, so please add an ADR.
The resulting ADR-042 explains that both bugs had the same cause. Under the definition in ADR-008, a single statement like console.log('A', i); takes two steps: "start of statement" and "call completed." But both views treated one step as "one execution" or "one row." The definition and its use had drifted apart. ADR-042 also records a decision: keep the definition as it is, and have the views build a "statement execution" unit on their side.
What I learned: when a bug comes from misreading a spec, the record of the fix becomes a record of how to read the spec correctly. The next time someone builds a view, it can prevent the same misreading. Even fixes that Claude didn't turn into ADRs were worth keeping.
There's also an example of the opposite: Claude turning a casual request of mine into a proper record.
On November 4, I had Claude investigate why JSInterpreter stopped on deep recursion. After reading the measurements, I said:
I've decided not to fix the recursion depth for now. But please make a note in the JSInterpreter project of what we found this time.
Claude turned this into ADR-014. It contains the measurements, the cause, the decision not to fix it for now, and options for when it's revisited. Things that weren't measured are marked "not measured."
A decision not to fix something leaves no trace in git or in the code. Without the ADR, the next person to hit the problem would have to measure everything again. Leaving it to Claude to decide what form my "note" should take worked well.
This is the heart of this post.
On September 24, an "Arrays" column was added to the execution trace, showing a small diagram of each array on every row. The diagram puts labels at the positions of variables used as indexes, such as i. (JSVisualizer calls these "pointers.")
On November 2, while looking at an assignment for my class, I noticed something wrong with that column. For code where the index is just a number, like table[3] = 25;, no array was shown at all.
Claude traced the cause to ADR-037, written on September 24. It said to "draw only arrays where at least one pointer is detected," and the code did exactly that. Claude changed the code to always draw arrays and wrote ADR-048 as a decision to "change the earlier design policy."
After reading the report, I replied:
In the earlier design, what I meant was: "If a variable used as an index is found, treat its value as an array index and draw it." I never intended to show only the arrays where an index variable was found.
What I had in mind was "if an index variable is found, put a label at that position." The condition "if none is found, don't draw the array" was never my intent.
Claude replied:
ADR-048 is written as "changing the earlier design policy," so I'll rewrite it as "fixing ADR-037, which was implemented and recorded differently from the intent."
ADR-048 was rewritten, and ADR-037 got a note in its status and in the relevant passage saying "fixed in ADR-048." The body of ADR-037 was left as written, as a record of that time.
If I had let it pass, the ADR history would have kept telling a story that never happened: "At first the design filtered arrays, and later it changed." A change of policy and a correction to the record mean very different things to someone reading them later.
That isn't the end of the story. When I reread the session logs for this post, I found the condition in Claude's plan from September 24:
Scan the arrays in arrayVarNames from that step's envMap, and use detectPointerVars(envMap, arrName, arr, subscriptVars, arrayVarNames) to render only the arrays where at least one pointer was detected at that step,
I did read this plan before approving it, but I only skimmed it. It looked fine, so I approved it. Looking back, I think this happened because I didn't read it carefully.
In part 1, I wrote that you can reject an approach at the plan stage. This is the flip side. The plan was about 4,700 characters long, and this line was surrounded by function names. Reading it now, I can see it means "programs whose indexes are plain numbers won't show any arrays." But it doesn't say that in so many words.
If Claude writes the ADRs, they record what Claude sees: the code, its understanding of my instructions, and the approved plan. ADR-037 followed the approved plan, so from Claude's point of view, nothing was wrong. The intent in my head doesn't get into an ADR unless I put it into words and check.
An ADR is supposed to record why a decision was made. When you delegate it to an AI, the "why" can end up holding a description of the implementation instead.
ADR-037's status was "Accepted." But that word was Claude's. I never read the ADR, let alone accepted it. In fact, I've read almost none of the ADRs. I started keeping them so the record would be there when I needed it, and I didn't read them as they were written. As I said in part 1, I don't read the code either. If you only skim the plan and read neither the code nor the ADRs, a mismatch with your intent stays until you notice it in use. This time, that took 39 days.
Still, keeping the record paid off. Because ADR-037 existed, I could see what had supposedly been decided, and I could say "That's not what I meant." It did serve the purpose I started it for: being there when needed. What was missing was a check at the moment of deciding.
I'd split what to delegate from what to keep.
| Delegate | Keep for yourself |
|---|---|
| The first call on whether something becomes an ADR | Asking at stopping points, and flagging important decisions |
| The format and wording of ADRs | Asking for the "why" behind bug fixes to be recorded |
| Organizing things like measurements | Checking that plans and decisions match your intent |
The last check is the one I most want to change. Reading every plan and every ADR carefully is a lot of work. So I'd ask Claude to report each decision and its reason in two or three lines.
You might think this is unnecessary. What was decided and why should already have been agreed on in the conversation before the ADR is written. Even so, I think a report and a check would catch mismatches with my intent much earlier.
The key is to have Claude report what the user will experience, not implementation details. If ADR-037's condition had been described as "Programs whose indexes are plain numbers won't show any arrays," I think I would have said "No" on the spot. Before approving a plan, you could ask something like:
Before I approve this, please explain, without implementation terms, what won't be displayed under this plan and for which kinds of programs.
Note that "Document this and commit" only started producing ADRs after ADRs were already in place. If you're starting out, I'd first ask, "Please record decisions and their reasons as ADRs in docs/adr/," and add rules to CLAUDE.md, for example:
## ADRs
- When a change involves an important design decision, add an ADR in the same commit.
- After writing an ADR, report the decision, the reason, and its effect on users in two or three lines.
- When a bug is caused by what an existing ADR says, check with the human whether that ADR matched their intent.
- Distinguish "a change of policy" from "a correction to the record." Don't rewrite the original ADR's body; add a note instead.
These instructions and rules are examples I came up with while looking back, not things I have actually done. The following instruction for recording a bug fix is one I actually sent (translated here):
I want to keep a record of why this happened and why it's worth fixing, so please add an ADR.
Next time: "The AI reads old documents and writes new mistakes." ADRs may keep getting written, but the documents that pull them together fall behind. And outdated text left in CLAUDE.md gets carried into the new text the AI writes.
The models used in the exchanges in this post were Claude Sonnet 4.6 in June, Claude Sonnet 5 in September, and Claude Opus 5.5 in October and November.