Explanation › Decisions

Explanation

Architecture decisions

An architecture decision record (ADR) writes down one decision about how arche-lang is built, released or shaped, and why. Each decision has one home here. When a decision changes, a new record replaces the old one and says so.

What an ADR is here#

An ADR is a short page in this folder. It records a decision that is hard to undo or that people and agents must follow: where the core ends, how a change lands on main, how a release reaches the site. It does not explain how to use a feature: the guides and the reference do that.

Read the ADRs before you change something they cover. If you need to break one, write a new ADR first, and mark the old one as superseded.

A decision about a model is something else: the decision declaration of the language records it in the model (the specification).

The template#

Copy this into a new file and fill each part in plain words:

# NNN. The decision, as a short title

One or two sentences: what was decided.

- **Status:** Proposed, Accepted, Accepted and being implemented, or Superseded.
- **Date:** when it was decided.
- **Supersedes:** the ADR it replaces, or none.
- **Superseded by:** the ADR that replaces it, or none.

## Context

What made the decision necessary: the facts, the problem, what was tried.

## Decision

What we do now. Say it as a rule someone can follow.

## Consequences

What gets better, what it costs, and what is left open.

Numbering#

  • Each ADR is NNN-short-title.md, with a number of three digits.
  • Numbers go up by one and are never reused.
  • An ADR is not rewritten once it is accepted, apart from its status and its links. A changed decision is a new ADR. The new one lists the old one under Supersedes, and the old one gets Superseded by and the status Superseded.

The decisions#

ADR Decision Status
001 The 1.0 core, and extensions outside it Accepted; FPGA is behind the API, the others follow
002 Changes land through a merge gate; main stays green Accepted
003 Release and deploy by version, with a manifest Accepted
004 Editions, and old spellings as errors with their rewrite Accepted
005 The 1.0 breadth pause, lifted one extension at a time Accepted; its 1.0 list is in 008
006 Offline first: everything ships in the extension Accepted; its cost is under review
007 The names: arche-lang, archec and Arche Accepted
008 The 1.0 promise covers the core and the stable extensions Accepted
009 Eleven more extensions are stable Accepted
010 arche-lang's compiler is written in arche-lang Accepted and being implemented