haechandev
AI & work

Why I do not ask AI to build right away

How conversation, decision records, and documentation indexes give AI-assisted development a sound starting point.

August 15, 2026

At first, I used AI quite simply. I described what I wanted and kept building if the answer sounded plausible. It was fast and convenient.

The problem was not poor code. AI treated things I had not decided as if they were settled. Later, correcting the questions I had skipped took more time than fixing the code.

A plausible answer may not be an answer yet

This happened while designing a memory system for an AI-assisted project. I thought relevant memories just needed to be supplied to a task. AI immediately suggested including a few reliable memories first and keeping ambiguous ones as candidates.

That sounded reasonable, but implementation became harder because we had not defined what a memory was.

Confirmed product decisions differ from working notes. Discarded hypotheses, mandatory rules, and optional background also differ. We were discussing what to include before deciding its storage format, provenance, and validity.

I paused and asked:

Before setting that criterion, should we first understand how this memory is stored?

We returned to more basic questions:

  • Who records this information, and when?
  • How do we distinguish decisions from thoughts under review?
  • What must the next task know?
  • What can be retrieved only when needed?

AI’s next answer changes after this conversation. Getting an answer may take a little longer, but far fewer assumptions need to be reversed later.

Keep decisions after the conversation

Saving entire conversations as memory did not work well. They are hard to reread and mix settled decisions with passing ideas.

I try to keep four things:

  1. The problem we are solving.
  2. The choice we made.
  3. Why we made it.
  4. What remains undecided.

For example, deciding how much memory to supply should record more than “use less.” It should preserve the reason and exceptions: start with small, reliable information, separately retain rules whose omission is risky, and retrieve candidates when the task needs them.

These records help my future self and the next AI task understand why the system was built this way.

Build routes to documents

I organize docs by product, features, architecture, engineering, operations, and agent workflows. The number of Markdown files matters less than how quickly a person or AI can reach the relevant criteria.

docs/
  00-index.md             # Starting point for every task
  product/README.md       # Product scope and policies
  features/README.md      # Features by role
  architecture/README.md  # Module boundaries and shared structure
  engineering/README.md   # Implementation contracts and rules
  ops/README.md           # Operations and verification
  agent/README.md         # AI and developer workflows
  _generated/doc-map.md   # Metadata-generated document map

00-index.md routes tasks by their nature: does this change product scope, permissions, data structures, or only design? Each area’s README then leads to more specific documents.

A reservation change may require state transitions, payment relationships, role permissions, and audit history as well as product requirements. Adjusting spacing does not need the entire payment policy. An index also helps decide what does not need to be read now.

Give AI only the documents it needs

More context does not automatically mean deeper understanding. My process is:

  1. Classify the task at the documentation home.
  2. Find reference documents through the area index.
  3. Bundle only the feature, architecture, and implementation rules needed for this change.
  4. Update relevant documents when implementation introduces a new decision.

Before adding a document, I decide whether it belongs to product, architecture, or operations. Its metadata records the type, owner area, roles that should read it, and related screens and modules. A generated map then makes those documents discoverable as the collection grows.

Links connect product decisions to architecture, and architecture to operating standards and implementation rules. Each document explains its own responsibility and points to the next relevant decision.

Narrow by folder, then by metadata

Folders alone become insufficient as documentation grows. Architecture can contain unrelated policies for reservations, permissions, payments, and file handling. I add metadata such as:

title: Reservation state transitions
status: active
doc_type: architecture
owner_lane: backend
required_for: [backend-agent, frontend-integration-agent]
surface: [main-app, clinic-admin]
modules: [reservation, payment]
tags: [reservation, state, payment, cancellation]

These values are search indexes, allowing the document map to group content by backend responsibility, the reservation module, or the clinic administrator surface.

For a change to payment handling when canceling a reservation, I first narrow candidates to reservation and payment, check which surfaces are affected, and read the required backend and frontend criteria. Then I search the bodies for cancellation, refunds, and specific states.

Metadata narrows which documents to read; body search and links find the evidence needed for this decision. Tags point toward the content rather than replacing it.

Preserve the order of judgment before implementation

This approach will not get every answer right initially. New facts can overturn earlier decisions.

When that happens, I discuss what changed, revise the decision record, and then change implementation against that reference. Otherwise, the next AI task may bring back an outdated premise.

AI accelerates implementation, but defining the problem, correcting the order of questions, and choosing what to preserve as a decision remain human work. Delegating to AI means creating better questions together and building a structure that lets the answers inform the next decision.