Skip to content

ADR-driven workflows for AI-assisted engineering

Most teams experimenting with AI coding assistants discover the same failure mode quickly: the model produces plausible code that does not fit the system already in place. The fix is not a better prompt alone. It is a better engineering frame — one that makes intent, constraints, and decisions legible before implementation starts.

AI is most useful when it operates inside a defined architectural context. That context does not need to be heavyweight, but it must be explicit:

  • What problem is being solved?
  • What boundaries already exist?
  • Which decisions are settled, and which are still open?

Architecture Decision Records (ADRs) are a practical way to capture that context. They are short, durable, and reviewable. In an AI-assisted workflow, they become more than team memory: they are input material that keeps generated work aligned with deliberate design.

If ADRs describe why, the repository structure and workflow docs describe how work should happen. Treating documentation as code means:

  • decisions live next to the system they govern,
  • changes to workflow rules are versioned like any other engineering artifact,
  • humans and agents read the same sources of truth.

This is the pattern behind Architecture to Commit (A2C): architecture and documentation guide implementation rather than trailing behind it.

flowchart TB
    A[Intent and constraints] --> B[Write ADR]
    B --> C[Docs-as-code in repo]
    C --> D[Implementation plan]
    D --> E[AI-assisted build]
    E --> F[Review vs ADR]
    F -->|architectural fit| G[Merge and ship]
    F -->|decision drift| B

The loop is intentional: when implementation diverges from accepted decisions, you update or clarify the ADR rather than letting the codebase become the only source of truth.

An ADR-driven AI workflow shifts the center of gravity:

Without ADR discipline With ADR discipline
Prompt describes desired code Prompt references accepted decisions
Review focuses on syntax Review focuses on architectural fit
Rework from hidden assumptions Rework from explicit trade-offs
Docs updated after the fact Docs shape the work upfront

The goal is not slower delivery. The goal is auditable delivery — work that remains understandable after the assistant session ends.

You do not need a full methodology on day one. A workable first step:

  1. Write one ADR for the next meaningful change.
  2. Link it from the overview or README where agents and contributors start.
  3. Require implementation plans to cite the ADR they satisfy.
  4. Review merges for decision drift, not just code style.

That alone improves AI-assisted work more than most tooling experiments.

AI-assisted engineering is not separate from systems architecture. It is another reason to be clear about design. The teams that benefit most are not the ones with the flashiest models — they are the ones whose architectural intent is easy to find, easy to read, and hard to accidentally violate.