Architecture decision records
Each ADR records one significant decision: context, decision, alternatives, consequences and status.
| Status | Meaning |
|---|---|
| Proposed | Written and (where noted) implemented, awaiting the project owner's review |
| Accepted | Approved by the owner |
| Superseded | Replaced by a later ADR, which links back |
No ADR is accepted yet. The MVP implements the proposed decisions so they can be evaluated against working code; changing one means writing a new ADR that supersedes it, not editing history.
| ADR | Decision | Status |
|---|---|---|
| 0001 | Rust workspace with five library crates | Proposed |
| 0002 | egui/eframe with a custom editor widget | Proposed |
| 0003 | Rope text storage with char offsets as the canonical unit | Proposed |
| 0004 | Tree-sitter for syntax, LSP for semantics, threads without an async runtime | Proposed |
| 0005 | Declarative extensions now; out-of-process code later | Proposed |
| 0006 | Profiles as defaults; lazy shared services with idle grace | Proposed |
| 0007 | Per-folder trust gating code execution | Proposed |
| 0008 | Separate AI crate, previewed user-initiated requests | Proposed |
| 0009 | 1 MiB syntax limit and per-keystroke parse budget | Proposed |
Template
# NNNN: Title
- Status: Proposed | Accepted | Superseded by NNNN
- Date: YYYY-MM-DD
## Context
## Decision
## Alternatives considered
## Consequences
## Validation