All answers

How do we capture engineering decisions automatically without asking engineers to write ADRs?

Brandon WaselnukBrandon Waselnuk·Dec 3, 2026·Context Engine · Engineering Insights

Capture the decisions where engineers already write them: pull request descriptions, review threads, tickets and Slack. Unblocked indexes those sources, answers why a choice was made with links to the original discussion, and a scheduled Routine can draft ADRs into a pull request for a person to approve. Decisions nobody wrote down anywhere still can't be recovered.

Most engineering decisions are already written down, just not as ADRs. They sit in pull request descriptions, review comments, tickets and Slack threads. The automatic route is to capture them there and skip the separate document. With Unblocked, you connect those sources once, and anyone can ask "why do we retry this call only twice?" and get an answer that links back to the pull request and thread where it was settled. If you still want a written decision log, a scheduled Unblocked Routine can draft ADRs from the week's discussions and open a pull request that a person approves. One limit is real: a decision made in a meeting and never typed anywhere can't be captured by any tool.

Decision capture is the practice of recording what was decided, why, and which options were ruled out, so the reasoning survives after the people who made it move on. In Unblocked's version, the capture step is indexing, and the record is assembled when someone asks.

Where engineering decisions live when nobody writes ADRs#

An architecture decision record (ADR) is a short document that "captures a single AD and its rationale" (adr.github.io). A decision log is the full set of a project's ADRs. With Unblocked, the log is the indexed trail of pull requests, tickets and threads, with drafted ADRs added on top. Microsoft warns that an unrecorded decision "will likely be forgotten, leading to repeated debates or later changes that unknowingly contradict the original intent" (Microsoft Azure Well-Architected Framework).

The trouble is the writing step. A February 2026 paper on architecture knowledge management says the work "is often a laborious process and is not adopted by developers and architects" (arXiv 2602.04445). Engineers skip the ADR, but they still argue the tradeoff somewhere:

  • Pull requests: the description and the review thread where someone asks "why not use the queue?"
  • Tickets: the Jira or Linear comments where scope was cut and the reason given.
  • Slack: the incident channel where the team chose a timeout after an outage.
  • Design docs: the Confluence, Notion or Google Docs page that compared two options.

Joined together, these partial pieces usually hold the decision, the options and the reason.

Where it was writtenWhat it usually holdsWhat it often misses
Pull request and review threadThe change, and objections raised in reviewOptions dropped before the code was written
Ticket commentsScope cuts and the stated reasonHow the code ended up
Slack threadThe live tradeoff, often after an incidentA clear final call
Design docOptions compared side by sideWhether the plan changed later
Commit historyWhat changed and whenWhy

Why the code alone can't tell you why#

The obvious shortcut is to point a model at the repository and ask it to write the ADRs. Research from 2026 says that loses the most important part. A small, preliminary study from September 2026 tested whether LLMs can pull design decisions out of source code commits. Its research method: run four LLMs on commits, then compare the output with 30 decisions that developers had written. The wording matched fairly well, but "the generated ADDs are often too long, implementation-focused, and miss the rationale behind the decision" (arXiv 2609.03721).

Context changes the result. An April 2026 paper built a corpus of sequential ADRs from 750 open-source repositories, gave models a project's earlier ADRs as context, and found that "context-aware prompting substantially improves ADR generation fidelity" (arXiv 2604.03826). For a team without ADRs, the nearest context is the talk around the code. A tool that reads only commits will keep writing records that say what changed and leave out why. Our post on why code was built a certain way covers this second, unwritten codebase in depth.

Two ways to capture engineering decisions automatically#

1. Answer on demand. Unblocked's docs list "Why did we decide to use 'electron-Foo'?" as a question you can ask (Unblocked docs), and answers link the files and threads they used (Cited Sources). Engineers ask in Slack, the web app or via MCP in Claude Code, Cursor (now Grok Build), Codex or GitHub Copilot. With Data Shield on, answers respect each source's permissions. See our answer on asking why code was written this way.

Agents use the same record: the review_implementation_plan MCP tool checks a plan against existing code and past decisions. For example, it can point to "a past decision about which failures to retry" (Unblocked docs).

2. Draft the log on a schedule. For ADR files in the repository, a Routine can run on a schedule such as weekly, research across connected sources and write first drafts. If your team uses Unblocked Code, it "can also start a coding task, and Unblocked opens a pull request when the task finishes" (Unblocked Routines docs). Instructions might read: "Find decisions made this week in merged pull requests, design docs and #architecture. Draft an ADR for each in docs/decisions with context, options, the decision and source links. Skip anything easy to reverse." A reviewer edits or rejects each draft. See more in our post on Unblocked Routines.

A Routine runs with its creator's permissions, so limit its data sources to channels and spaces whose content may appear in a repository file.

What no tool can capture#

If two engineers agree on a design in a hallway or on a call and nobody types it anywhere, there is nothing to index. Small habits close most of that gap:

  • Add a "Why this approach?" line to your pull request template. GitHub shows the template's contents "in the pull request body" for every new pull request (GitHub Docs).
  • After a design call, post a two-line summary in Slack.
  • When an answer is wrong because the real decision was made offline, correct it in the thread. Unblocked's Shared Memories keep corrections it can't verify "with an attribution, so future answers know who said it" (Unblocked docs).

When a formal ADR is still worth writing#

Some decisions deserve a deliberate record. Microsoft limits ADRs to "choices that affect the system's structure, key quality attributes, or are difficult to reverse," and recommends an append-only log where a changed decision gets a new record that supersedes the old one (Microsoft Learn). A database choice or an auth design fits that bar. A retry count does not.

For those few, a drafted ADR that a person signs off is a good trade. The Routine gathers the threads, and the engineer spends their time checking the reasoning instead of hunting for it. Everything below that bar can stay where it was decided, searchable and linked. That is decision-grade context for whoever reads it later.