From 98ad1a8fe7fb19ffc9eea60ca8b2d17e9993746a Mon Sep 17 00:00:00 2001 From: Gabriel Kaszewski Date: Sun, 25 Oct 2026 23:39:04 +0100 Subject: [PATCH] docs: adr 0013 accuracy --- docs/adr/0013-config-and-bootstrap.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/adr/0013-config-and-bootstrap.md b/docs/adr/0013-config-and-bootstrap.md index 2af5842a..2ca5dc20 100644 --- a/docs/adr/0013-config-and-bootstrap.md +++ b/docs/adr/0013-config-and-bootstrap.md @@ -25,9 +25,10 @@ raw environment strings. **`bootstrap` crate.** Replaces `composition` and `infra-wiring`. It is the only crate that names concrete adapters. It exposes `build_server(&AppConfig) -> ServerApp { router, addr }`, `build_worker(&AppConfig) -> WorkerApp { service }`, `build_server_on(&AppConfig, SqlitePool)` (the -same router on a caller-provided pool, for tests) and `init_tracing`. `DbPool` and -`EventBusBackend` live here. `application` keeps a small application-owned `AppConfig` / -`WrapUpConfig` built from the `config` sections, so use-case deps structs and their test fixtures +same router on a caller-provided pool, for tests) and `init_tracing`. Bootstrap runs +on `SqlitePool`; the event-bus backend is chosen inside bootstrap and not re-exported. `application` +keeps small application-owned `AppSettings` / `WrapUpSettings` types built from the `config` +sections, so use-case deps structs and their test fixtures are unchanged, and `application` no longer pulls `sqlx` or `anyhow`. **Binaries are thin.** `server` and `worker` do dotenv, `config::load`, `init_tracing`, one