# Keeping a build log while working with AI

URL: https://ekom.blog/keeping-a-build-log-while-working-with-ai/
Published: 2026-06-26
Author: Ekom
Topics: Build with AI

> Why a short build log helps when you build with AI, what to write in it and how to restart chats from it.

Three weeks into a project, you open the file and don't recognise your own work. Why is this function here? Why did you pick that library? What was the bug you fixed on Tuesday, and did it come back?

When you build with AI, this gets worse. Chats are long, answers are many, and the reasoning lives in a conversation you may never scroll back to. The cheapest fix is a build log: a plain document where you write down what you did, what happened and what you decided.

It takes two minutes per session. It saves hours.

## What a build log is

A build log is a running diary of a project, written for your future self. Not a polished document. Not a README. Just dated notes in your own words.

It's different from a changelog, which tells users what changed in each release. A build log is private and messy and includes the dead ends, which is exactly what makes it useful. (If you're writing the public kind, see writing a changelog people read.)

## Why it matters more with AI

- Chats are a poor memory. Long threads get cut off, rewritten or lost. If you work across several chats, as in working on a project over many AI chats, the log is the thread that connects them.

- AI doesn't remember your decisions. A fresh chat doesn't know you rejected a library last week. A log lets you paste in the background in ten seconds.

- Generated code arrives without a story. You get the result, not the reasoning. Your notes supply the "why".

- You'll want to retrace your steps. When a bug appears, "what did I change last?" is the first question.

## What to write down

Keep each entry short. A good entry has four parts:

- Date.

- What I tried or changed. One or two lines.

- What happened. It worked, it broke, it half-worked.

- What's next, or what I decided.

An imagined example of a few entries:

2026-06-26
Tried: asked for a date-range overlap function for the holiday page.
Result: worked for normal cases, failed when start and end were equal.
Fix: changed < to <=. Added a test for same-day leave.
Next: add CSV export.

2026-06-27
Tried: switched from storing dates as Date objects to ISO strings.
Result: sorting is simpler, no more off-by-one days.
Decision: keep ISO strings from now on.

Notice what's there: failures, fixes and decisions. The decisions are the gold. In a month you'll thank yourself for "keep ISO strings from now on".

## Record the prompts that worked

When a prompt produces something good, copy it into the log, along with a line on what you asked for. When one goes badly, note that too: "asking for the whole app in one go produced code that wouldn't run".

That habit connects naturally to keeping a prompt library, which I covered in saving and reusing your best prompts. The log holds the story; the library holds the best tools.

## Record the decisions and the reasons

Decisions are the part memory loses fastest. Whenever you choose between options, write:

- What you chose.

- What you rejected.

- Why, in one line.

"Used localStorage, not a database, because it's a personal tool and I don't want hosting costs." Six months on, that sentence stops you reopening a settled question. If the reason no longer holds, you know that too.

## Record the problems

When a bug takes you more than ten minutes, write down:

- The symptom (the exact error message, copied).

- What you tried.

- What fixed it.

Next time you meet the same error, a search through your log finds the answer faster than searching the internet. Over time it becomes your own troubleshooting manual, much like the notes that experienced site managers keep. Debugging gets quicker when you know your own patterns, as discussed in prompts that fix bugs vs prompts that create new ones.

## Where to keep it

Choose the simplest thing you'll open:

Option
Why choose it

A text or Markdown file in the project folder
Lives with the code; easy to search

A notes app
Quick on a phone

A document you share with a collaborator
Everyone sees the same story

Issues or notes in a code hosting service
Linkable, if you already use one

My advice is the file in the project folder, named BUILD-LOG.md or similar, with the newest entry at the top. If you use version control, commit it with the code.

## Make it a habit

A log only works if it's cheap. Some ways to keep it cheap:

- Write at the end of a session, while it's fresh. Two minutes.

- Use a template, so you never face a blank page. Date, tried, result, next.

- Let AI summarise. At the end of a long chat, ask: "Summarise what we built, what we changed, what failed and what's left, in five bullet points." Read it, correct it, paste it into the log. You get a draft for free; you supply the judgement.

- Don't edit old entries to look smarter. The point is an honest record.

## Use the log to restart a chat

The best payoff comes when you open a fresh conversation. Paste in:

- A two-line description of the project.

- The last few log entries.

- The decisions list.

- The file or function you're working on.

Here's the background and my build log so far. Continue from the last entry. Don't change decisions listed under "Decisions" without asking me first.

That last instruction is useful. Without it, a new chat may cheerfully reverse choices you made for good reasons.

## Looking back

Once a project is finished or abandoned, read the log from the beginning. You'll see patterns: where you lost time, which kinds of prompts worked, when you should have stopped. That's how you improve at building, not just at finishing the current thing. The lessons from a project belong in the log before they fade.

## Key takeaways

- A build log is a private, dated diary of what you tried, what happened and what you decided.

- It matters more with AI because chats are poor memory.

- Record decisions with a reason, and errors with their fixes.

- Keep it in a plain file near the project.

- Use it to start fresh chats quickly.

## FAQ

### How detailed should it be?

Detailed enough that you could resume after a month away. Three or four lines per session is usually plenty.

### Is it the same as a README?

No. A README explains how to use the project. A build log records how it got built.

### Should I share it?

Only if you want to. Strip out anything private first, especially keys and personal data.

## Related reading

- Working with JSON when you are not a developer

- Building a workout log with AI

- Prompt chaining: building in steps

What did you decide on your last project that you've already half-forgotten?

---

From Ekom (https://ekom.blog/). More: https://ekom.blog/llms.txt
