Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Architecture Decision Records

This directory contains Architecture Decision Records (ADRs) - documents that capture important architectural decisions made during the development of Tenki Cloud.

What is an ADR?

An ADR is a document that captures an important architectural decision made along with its context and consequences. Each ADR describes a single decision and is immutable once accepted.

ADR Template

# ADR-XXX: Title

## Status

[Proposed | Accepted | Deprecated | Superseded by ADR-YYY]

## Context

What is the issue that we're seeing that is motivating this decision or change?

## Decision

What is the change that we're proposing and/or doing?

## Consequences

What becomes easier or more difficult to do because of this change?

### Positive

- List of positive consequences

### Negative

- List of negative consequences

## Alternatives Considered

What other options were evaluated and why were they rejected?

Current ADRs

Creating a New ADR

  1. Copy the template above
  2. Create a new file: XXX-short-description.md (increment XXX)
  3. Fill out all sections
  4. Submit PR for review
  5. Once accepted, the ADR becomes immutable

When to Write an ADR

Write an ADR when:

  • Selecting key technologies (databases, frameworks, protocols)
  • Defining major architectural patterns
  • Making security decisions
  • Choosing between significant alternatives
  • Deprecating existing patterns

ADR Lifecycle

  1. Proposed - Under discussion
  2. Accepted - Decision made and being implemented
  3. Deprecated - No longer recommended but still in use
  4. Superseded - Replaced by another ADR