Skip to content

Allow Alternatives and Consequences sections in an architecture decision record - #10

Merged
tom2drum merged 2 commits into
mainfrom
adr-format
Nov 19, 2026
Merged

tom2drum merged 2 commits into
mainfrom
adr-format

Conversation

@tom2drum

Copy link
Copy Markdown
Collaborator

Description

Resolves #7

.agents/rules/adr.md said two things that pulled apart: its opening promised that a record "carries the evidence and the trade-off", and its template allowed only a status and a Decision of one to three sentences. The rule now keeps the template as the default and names what a record may add:

  • Two optional sections, Alternatives then Consequences, and no others. One is added only when the Decision, kept to its limit, would lose evidence a future reader needs to judge the decision again. Measurements and tables go under the section they support.
  • The Decision stands alone. A reader who stops after it knows what was decided and why, so a section backs the reasoning and is never the only place it lives.
  • Plans for later work go to a tracking issue, which the record may link. A condition that would end or reverse the decision ("until X ships") stays in the Decision.

ADR 0001 is laid out under the new rule: the dropped submodule design is back as Alternatives, the phase 1 costs as Consequences, and the phase 2 plan stays in #6.

Decisions a reader would otherwise have to reverse-engineer:

  • Why not keep the template strict. Under the "template binds" ruling in Share the frontend repositories' agent setup from this repository as their home repo #5, ADR 0001's three sections were folded into a Decision of three sentences, one of them about ninety words long. The limit was met by packing, and the record lost the list of what the submodule design cost.
  • Why not make sections the norm. Six older records in frontend use Why / Consequences / Follow-ups. Why repeats what the Decision must already say, and Follow-ups holds plans, so neither is in the list.
  • The optional sections are described below the template, not inside it. A section shown in the template gets filled in.
  • Older records are left as they are. The rule governs new records; the template's header and title are unchanged.
  • The frozen copy of the rule in frontend is not updated, so the two disagree until phase 2 removes it (Phase 2 of the home repo: shared tools, shared configs and the skill split #6).

Breaking or incompatible changes

None.

Additional information

pnpm lint:doc-links passes.

🤖 Generated with Claude Code

…sion cannot hold the evidence

The rule's opening promised evidence while its template allowed only a status and a
short Decision. The template stays the default; two optional sections are named, with
the test for adding one, and plans for later work go to a tracking issue.

ADR 0001 is laid out under the new rule.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@tom2drum tom2drum added the documentation Improvements or additions to documentation label Nov 19, 2026

@tom2drum tom2drum left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛑 Blocked — 1 major open

blocker 0 · major 1 · nit 0 · not anchorable 0

Axes: spec (skipped — home has no spec) · standards · correctness

— Reviewed by cursor (Grok 4.7)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

@tom2drum tom2drum left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Cleared — 0 blockers, 0 majors open

blocker 0 · major 0 · nit 0 · not anchorable 0

Axes: spec (skipped — home has no spec) · standards · correctness

— Reviewed by cursor (Grok 4.7)

@tom2drum
tom2drum merged commit 9aa3108 into main Nov 19, 2026
1 check passed
@tom2drum
tom2drum deleted the adr-format branch November 19, 2026 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make the ADR rule and its template agree on evidence sections

1 participant