garage44.eu/jeroen/cartopolis

logclone: git clone https://garage44.eu/jeroen/cartopolis.git

.. /docs/adr/README.md

raw

Architecture Decision Records (ADRs)

Archived 2026-07-26. Numbered ADRs were replaced by topic notes in docs/notes/ plus required commit bodies — see retired/adr-system.md for the reasoning. These files are kept for history: read them, don't add to them, and don't re-propose the form. Everything below describes the retired process.

This directory contains Architecture Decision Records for Cartopolis, documenting architectural decisions and technology choices. ADRs help maintain consistency and provide context for future development.

The abstract layer (docs/abstract/) defines goals (G-*), principles (P-*), roadmap tiers, and documentation resolution. New ADRs should set Aligns with in metadata (see template.md). Optional: Roadmap tier and Doc resolution when the ADR is tied to a roadmap row.

Quick Start for AI Assistants

Before making architectural decisions:

  1. Read abstract/vision.md and abstract/principles.md
  2. Read abstract/roadmap.md and abstract/adr-resolution.md
  3. Skim abstract/capability-map.md for themes and linked ADRs
  4. Search ADRs in index.md for relevant decisions
  5. Cite ADRs and G-* / P-* in plans
  6. Create new ADRs using template.md (Aligns with G-* / P-* or N/A with reason)

After successful implementation:

ADR Format

Each ADR contains:

Location

Rust ecosystem (implementation hints)

Server and protocol ADRs (006–016 and later, as added) include recommended crates where they help: e.g. tokio + tokio-util framing, postcard/serde for payloads, refinery + rusqlite for migrations, figment + clap for config, tracing for observability. Prefer workspace dependency versions in [workspace.dependencies] (ADR-015) instead of duplicating versions per crate.