Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →
ReleaseInsight · On RadarHacker News AI→ original

ADRs4AI stores reasoning, not code, in Git: the rationale behind decisions by humans and AI agents

The reasoning behind AI-assisted decisions disappears when a chat session closes. ADRs4AI offers a Git repository template where the AI formulates an open question, proposes options with a recommendation and a confidence level, and a human makes the decision in a single line. Everything is preserved as commits with justification, so the next agent or colleague does not start from scratch. For teams running several agents, this is a way to maintain project memory without a vector database.

AI-processed from Hacker News AI; edited by Hamidun News
ADRs4AI stores reasoning, not code, in Git: the rationale behind decisions by humans and AI agents
Source: Hacker News AI. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceHacker News AI ↗
Editor-in-Chief
Key metric #1Each entry includes the options, the AI's recommendation, its confidence, and the condition under which it would be wrong
Key metric #2There is an editor extension, an MCP server for agents, and a mobile Accept client
Key metric #3It is not a chat archive and not vector memory: it stores the decision and its rationale

Anyone who has spent months working with an AI agent knows the feeling: yesterday you spent an hour with the model discussing why the database should keep an edit history, and today a new session has no idea that conversation ever happened. The code is still in the repository, but the reasons it was written that way have evaporated. ADRs4AI, shown on Hacker News, tries to close this gap. It turns the reasoning of humans and AI into records that live in Git alongside the code.

What it is

An ADR (architecture decision record) is a long-established development format: a short note on what was decided and why. ADRs4AI carries that format into collaborative work with AI. It is a starter repository with record templates and seeds, a set of directives for agents, a protocol for incoming questions, and recipes for launching tasks. You can take it whole or in parts.

The authors' central thesis is that the most valuable by-product of a human working with AI is not the code or the draft, but the reasoning itself, and by default that reasoning gets lost. The method is meant to preserve the "why" so that decisions accumulate instead of disappearing.

How the working cycle looks

It starts with copying the template via the GitHub CLI. You then fill in the top block of the CLAUDE.md file (it can be rough) and make a first commit that records the start of the entry. After that, you "recruit" the agent: you offer it a mission and ask whether it accepts or has objections.

Next, you dictate or sketch your thoughts into the first "seed." The AI splits them into ADRs, keeping your own words, the options considered, the arguments, and the open questions. Every open question can be found with a single grep.

The material gives a representative example from a real project: how corrections should preserve what used to be considered true. The agent proposes three options: edit the records in place and rely on Git, only append corrections, or a hybrid with two temporal axes, one for when a fact became true and one for when it was observed. The AI author recommends the third.

Its argument: Git history shows when the bytes in the repository changed, but not when a release became valid or when a vendor made a statement. The recommendation comes with a confidence level ("high" that Git alone is not enough, "medium-high" that two axes will suffice for the first release) and a condition under which the decision would need to be revisited. The human's remaining task is to deliver a verdict in one line; in the example, this was done from a phone.

Tools around the method

Beyond the template, the authors describe an editor extension with trees of open questions, diagnostics that catch malformed records while you type, and links to specific questions. There is also an MCP server through which agents can query this dossier themselves. A mobile client lets you log in, import a repository, review questions, and send an answer as a real commit with a single tap on Accept. For multiple agents, a "team" mode is claimed, with wake-up by brief, so that the human stops acting as a courier between them.

What it is not, and what to keep in mind

The authors draw the boundaries themselves: this is not a chat archive, not vector-database "memory," not an orchestration platform, and not a claim that AI has a persistent personality. The method simply makes work resumable: records are kept, participants change, and the work continues.

The practical takeaway for developers and product managers is this: if you run a project together with agents, it is useful to demand from them not only answers but formulated questions: options, a recommendation, a confidence level, and what would refute the conclusion. This reduces the burden on the human, who spends attention only on the choice.

The caveats are obvious. The source contains no independent measurements of how much the method speeds up work, and the example comes from the author's own project. The idea relies on discipline and on the agent keeping records carefully. Still, the approach is cheap: it consists of ordinary files and commits that can be adopted gradually, starting with one seed and one question. The authors also cite academic work on "deliberative programming" and a versioned discussion protocol for human-AI collaboration, and the template itself has a DOI on Zenodo.

Story

Key Questions Answered

What it is?

An ADR (architecture decision record) is a long-established development format: a short note on what was decided and why. ADRs4AI carries that format into collaborative work with AI. It is a starter repository with record templates and seeds, a set of directives for agents, a protocol for incoming questions, and recipes for launching tasks. You can take it whole or in parts.

How the working cycle looks?

It starts with copying the template via the GitHub CLI. You then fill in the top block of the CLAUDE.md file (it can be rough) and make a first commit that records the start of the entry. After that, you "recruit" the agent: you offer it a mission and ask whether it accepts or has objections. Next, you dictate or sketch your thoughts into the first "seed." The AI splits them into ADRs, keeping your own words, the options considered, the arguments, and the open questions.

What are the key details on Tools around the method?

Beyond the template, the authors describe an editor extension with trees of open questions, diagnostics that catch malformed records while you type, and links to specific questions. There is also an MCP server through which agents can query this dossier themselves. A mobile client lets you log in, import a repository, review questions, and send an answer as a real commit with a single tap on Accept.

ZK
Zhemal Khamidun — Head of AI at Alpina Digital · MIPT (academic supervisor of the Tech Entrepreneurship department). Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Free · Waitlist · Hermes + DeepSeek

Free 2-Day Vibecoding & AI Agents Intensive

Day 1: the autonomous Hermes + DeepSeek AI agent — vibecoding and development on par with Claude Code / Codex / Gemini. Led by Jemal Hamidun, Head of AI at Alpina Digital and academic supervisor at MIPT. Right after you register with our bot Nika: the recording + 11 materials from the previous intensive.

Join the waitlist →Nomad AI Workspace
Jemal Hamidun

Editor-in-chief · Cite this analysis

Jemal Hamidun

Head of AI at Alpina Digital · Academic Supervisor of the Tech Entrepreneurship Department at MIPT

Head of AI & CPO of AlpinaGPT at Alpina Digital, Academic Lead of Tech Entrepreneurship at MIPT. Founder of Hamidun News and Vibe Academy.

Ready-to-paste citation for journalists, blogs and Telegram channels

Source: Hamidun News — ADRs4AI stores reasoning, not code, in Git: the rationale behind decisions by humans and AI agents https://news.hamidun.com/en/news/16876/adrs4ai-stores-reasoning-not-code-in-git-the-rationale-behin

What do you think?
Loading comments…