Baseleg Docs

Architecture decisions

Architecture Decision Records (ADRs) document significant technical decisions made in Baseleg: what was decided, why, and what alternatives were considered.

When to write an ADR

Write an ADR when:

  • Introducing or changing a major technology or framework.
  • Establishing a cross-cutting architectural pattern or rule.
  • Making a decision that would be hard to reverse or costly to change later.
  • Adding a new component library to the UI.

For day-to-day implementation choices that follow established patterns, an ADR is not needed.

ADR status

StatusMeaning
ProposedUnder discussion, not yet accepted
AcceptedDecision is in effect
SupersededReplaced by a later ADR (linked)
DeprecatedNo longer applicable

Decision log

#TitleStatusDate
ADR-001Runtime and hostingAccepted2026-04-28
ADR-002Database choiceAccepted2026-04-28
ADR-003Monorepo toolingAccepted2026-04-28
ADR-004Architectural layeringAccepted2026-04-28
ADR-005Domain boundariesAccepted2026-04-28
ADR-006Testing strategyAccepted2026-04-28

ADR template

# ADR-NNN: Title

Date: YYYY-MM-DD
Status: Proposed | Accepted | Superseded | Deprecated

## Context

What is the situation, constraint, or problem that requires a decision?

## Decision

What was decided? Be specific.

## Consequences

What are the outcomes, trade-offs, or follow-on constraints of this decision?

## Alternatives considered

What other options were evaluated, and why were they not chosen?