Adr authoring

From magnus919/hermes-profiles · View interactive version

Adr authoring is an AI agent skill from the GitHub repository magnus919/hermes-profiles. Architecture Decision Records — decision capture, rationale documentation, alternatives analysis, and consequence tracking. Maps ADRs to Artifact Pyramid layers (navigation index→L1, active ADRs→L2, superseded ADRs→L3). Use when the technical-architect profile needs to document architectural decisio

How to use this skill

Skill file

ADR Authoring

Architecture Decision Records for capturing design rationale. ADRs supply the temporal dimension — decisions over time — that structure-only views (C4) miss.

ADR-to-Pyramid Mapping

| ADR State | Pyramid Layer | Path |

|-----------|--------------|------|

| Navigation index | L1 (Summary) | 01-summary/adr-index.md |

| Active ADRs | L2 (Analysis) | 02-analysis/architecture-decisions/ADR-NNN.md |

| Superseded ADRs | L3 (Dossiers) | 03-dossiers/adr-superseded.md |

Without ADRs, an agent sees a snapshot of the structure but cannot reconstruct the path that led to it. Active ADRs in L2 provide the decision rationale. Superseded ADRs in L3 preserve the history of rejected alternatives.

ADR Lifecycle

ADRs progress through six stages, each with a gate criterion:

Initiating → Researching → Evaluating → Implementing → Maintaining → Sunsetting

| Stage | Status | Pyramid Layer | Consumer |

|-------|--------|--------------|----------|

| Initiating | proposed | L2 (02-analysis/) | Engineers evaluating |

| Researching | proposed | L2 (02-analysis/) | Engineers evaluating |

| Evaluating | proposed | L2 (02-analysis/) | Engineers deciding |

| Implementing | accepted | L2 (02-analysis/) | Implementers, reviewers |

| Maintaining | accepted | L2 (02-analysis/) | New team members, auditors |

| Sunsetting | deprecated/superseded | L3 (03-dossiers/) | Historians |

All live ADRs (proposed + accepted) stay in L2. Only superseded/deprecated ADRs move to L3. Proposed ADRs that are rejected should be moved to L3 with status rejected and a note on why.

Alternative Lifecycle: AWS ADR Process

AWS Prescriptive Guidance defines a complementary lifecycle with a structured review process for teams that prefer formal immutability over living documents.

States: proposed → accepted | rejected | superseded

Key difference: AWS treats ADRs as strictly immutable once accepted. Changing a decision requires a new ADR that supersedes the old one. The community ADR repo's teamwork advice prefers mutable living documents with date-stamped updates. Choose the model that fits your team's culture.

AWS Review Process:

  1. Proposal — any team member creates an ADR in proposed state. The author is the ADR owner.
  2. Review meeting — dedicated time slot with structured format:
  1. Decision — three outcomes:
  1. Superseding — new decision invalidates an accepted ADR? Create a new ADR. On acceptance, update old ADR status to superseded and move it to L3.
[Identify need] → [Draft (proposed)] → [10-15m silent read] → [Discuss]
                      ↓                     ↓                     ↓
                 [Rework/review] ← [Needs rework]          [Accepted] → [Immutable]
                                                           [Rejected] → [L3]

Template Selection

| When | Template | Sections |

|------|----------|----------|

| Quick decision, single rationale | Nygard | Status, Context, Decision, Consequences |

| Multi-option trade-off analysis | MADR | Decision Drivers, Considered Options, Pros/Cons, Links |

| High-stakes, regulatory, compliance | Tyree & Akerman | 12 sections: Issue, Positions, Argument, Implications, etc. |

| Vendor/procurement decision | Business Case | Evaluation criteria, Cost/SWOT, Recommendations |

| QA/contract-driven environment | Planguage | Tag, Gist, Priority, Stakeholders, Risks |

Full catalog with section-by-section guidance in references/adr-format.md.

File Naming Conventions

Use present tense imperative verb phrases, lowercase-dashes, .md extension:

001-choose-database.md
002-format-timestamps.md
003-manage-secrets.md

Status lives in the document header, not the filename — status changes shouldn't require renames.

Teamwork & Governance

See references/adr-format.md for the full governance model and teamwork questions.

Contents

Canonical Reference

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.