Skip to content

Architecture Decision Records ​

Architecture Decision Records (ADRs) capture context, decision, and consequences for choices that affect multiple specifications and implementations.

ADRs explain why standards exist. Specifications describe what is required.

Format ​

Each ADR is a markdown file:

text
ADR-NNN-short-title.md

Recommended sections: Title, Status, Context, Decision, Consequences.

Index ​

IDTitleTopicStatus
ADR-001Storage ModelFile layout under .apiscope/, tree/request separation, index manifestsPlanned
ADR-002Generated CollectionScanned collection lifecycle, rescan merge, dirty statePlanned
ADR-003Environment ModelVariable resolution, generated vs user environmentsPlanned
ADR-004History StructureHistory v2 day-based layout, privacy, replayPlanned

Individual ADR files will be added as decisions are formally recorded.

Relationship to specifications ​

DocumentAnswers
SpecificationWhat is required for conformance
JSON Schema (future)Machine-validatable field rules
ADRWhy the design was chosen

Example: ADR-002 explains merge policy rationale; Workspace v1 states observable outcomes.

Contributing ​

New ADRs should address decisions with multi-spec or long-term impact, reference affected specification paths, and avoid restating entire specifications.

Apache-2.0 Licensed