# Architecture Decision Records This folder contains lightweight ADRs documenting significant architectural decisions made on the EnCoach platform. Each ADR is numbered, dated, and immutable once "Accepted" — if a decision is revisited, open a new ADR that supersedes the old one instead of rewriting history. ## Index | # | Title | Status | |---|-------|--------| | [0001](0001-canonical-directory-layout.md) | Canonical `backend/` and `frontend/` directory layout | Accepted | | [0002](0002-jwt-refresh-token-flow.md) | JWT access + refresh tokens with revocation ledger | Accepted | | [0003](0003-paginated-response-envelope.md) | Canonical paginated response envelope | Accepted | | [0004](0004-rag-metadata-and-chunking.md) | RAG metadata + chunking for vector store | Accepted | ## Writing a new ADR 1. Copy [`0000-template.md`](0000-template.md) to the next number. 2. Fill in **Context**, **Decision**, **Consequences**. 3. Keep it short (1 page). Link to source files or PRs for detail. 4. Update the index above and open a PR.