Architecture decision records
One page per decision that shapes the code: what was known (context), what was decided, what follows (consequences). An ADR is dated and never edited after the fact except to mark it superseded by a later one.
| # | Decision | Date |
|---|---|---|
| 0001 | Crates in layers, no back-edges, checked in CI | 2026-10-11 |
| 0002 | Typed ids that serialize to strings | 2026-10-11 |
| 0003 | No silent no-op | 2026-10-11 |
| 0004 | Plugins own what they register | 2026-10-11 |
| 0005 | Zones and blocks | 2026-10-11 |
| 0006 | The theme moves to egui-pop-core, egui-pop becomes the facade | 2026-10-11 |
| 0007 | Key resolution: focus depth, layers, removal | 2026-10-11 |
| 0008 | Persisted documents: versions, migrations, atomic writes | 2026-10-11 |
| 0009 | Three ways to bind a value | 2026-10-11 |
| 0010 | egui-pop wraps the application’s kernel through a host | 2026-10-12 |
| 0011 | Every feature’s life is reachable: observe, veto, replace, extend | 2026-10-12 |
| 0012 | The context stack: owned by the kernel, projected by the interface (analysis) | 2026-10-13 |
| 0013 | The mount contract: components declare needs, hosts declare offers (analysis) | 2026-10-14 |
| 0014 | Undo: histories owned by the kernel, routed by focus, projected by the interface (analysis) | 2026-10-14 |
| 0015 | The clipboard: typed items owned by the kernel, offered in several formats, hooked at each boundary (analysis) | 2026-10-18 |
| 0016 | One writer per value: a path’s writers are declared, a write names its scope | 2026-10-20 |
| 0017 | Links and outside content: one service opens them, an egui-native viewer shows what is safe, the rest goes outside (analysis) | 2026-10-28 |
| 0018 | Collector actions say whether agents may call them, through one step | 2026-11-03 |
| 0019 | Collector actions and value writes act as their caller | 2026-11-03 |
| 0020 | Answers carry their caller, and a dialog keeps its command’s flag | 2026-11-03 |
| 0021 | The origin goes along the chain of commands; deep links are remote | 2026-11-03 |
| 0022 | Sections and a toolbar row move into egui_stack as plain-egui cores; egui-pop wraps them (accepted, analysis) | 2026-11-03 |
| 0023 | Every command goes through the host’s dispatch; history walks are held to the writers | 2026-11-03 |
| 0024 | The debug bridge has a mode; commands say when they only read | 2026-11-03 |
| 0025 | Application windows are deferred viewports with an Rc shim; the main window is always the first | 2026-11-11 |
| 0026 | Layers have ranks, pinned under base layers at the bottom of the foreground | 2026-11-11 |
| 0027 | Every public module belongs to one component family, which says what it owns and refuses; cargo xtask families --check | 2026-11-15 |
| 0028 | A removed contributor’s work in flight is closed, refused or kept dormant, and said | 2026-11-15 |
| 0029 | What is not on the bus does not exist: a module knows the bus (requests, events, named listeners in a declared order), not its neighbours; the window lifecycle first | 2026-11-15 |
| 0030 | The bus is a contract the application supplies: the external bus-contract crate holds the traits, egui-pop-hooks is the default implementation, libraries take the bus at construction | 2026-11-16 |
Template: copy any of them; keep it to half a page.