# Architecture Decision Records Each ADR records one decision: the context, the decision itself, its consequences, and the alternatives rejected. **Statuses:** - `Proposed` — awaiting review. - `Accepted (owner)` — accepted by the project owner; engineering review still pending (issue #44). - `Accepted` — reviewed by the engineering team. - `Superseded by NNNN`. A revision or note added to an ADR has its own status line, under its heading. **Review rule:** org policy requires engineering review of architecture, type-system and runtime decisions. ADRs 0001–0009, with the Revision 1 of ADRs 0001–0004, and the [runtime ABI](../runtime-abi.md) were accepted on 2026-10-08 (issue #2). Everything else that is `Proposed` or `Accepted (owner)` — whole ADRs, revisions and notes — awaits engineering review: **issue #44 lists it**, and is where reviews are recorded. The table says which parts of each ADR are which. | ADR | Title | Status | |---|---|---| | [0001](0001-language-surface.md) | Language surface and syntax | Accepted | | [0002](0002-memory-model.md) | Memory model: Perceus RC, no GC | Accepted; later sections Accepted (owner); a note (2026-10-15) Proposed | | [0003](0003-effect-lowering.md) | Effect handler lowering in the C backend | Accepted; Revision 2 and a note Accepted (owner) | | [0004](0004-actor-model.md) | Actor model and scheduler | Accepted; later sections and Revisions 2–5 Accepted (owner); a note (2026-10-15) and Revisions 6–8 Proposed | | [0005](0005-ffi.md) | FFI and native dependencies | Accepted; Revision 1 Accepted (owner); a note (2026-10-12) and Revision 2 Proposed | | [0006](0006-incremental-model.md) | Incremental analysis model | Accepted; a note (2026-11-01) Proposed | | [0007](0007-type-inference-and-traits.md) | Type inference and traits | Accepted | | [0008](0008-effect-typing.md) | Effect typing | Accepted | | [0009](0009-html-literals.md) | HTML literals | Accepted | | [0010](0010-lexical-handlers.md) | Lexically scoped effect handlers | Accepted (owner) | | [0011](0011-context-switch.md) | The runtime's own context switch | Accepted (owner) | | [0012](0012-bytes-and-http.md) | Bytes, builders and HTTP connections | Accepted (owner); Revisions 1 and 3 Accepted (owner); Revisions 2, 4 and 5 Proposed | | [0013](0013-numeric-code.md) | Numeric code: uniform values, specialised evidence | Accepted (owner) | | [0014](0014-arrays-and-bigint.md) | Arrays, owned extern parameters, and bigint promotion | Accepted (owner) | | [0015](0015-c-callbacks-and-bindings.md) | C callbacks and bindings | Accepted (owner) | | [0016](0016-defer.md) | User-level cleanups: `defer` | Accepted (owner) | | [0017](0017-multishot.md) | Multi-shot resumptions | Accepted (owner) | | [0018](0018-multi-parameter-traits-and-hkt.md) | Multi-parameter traits and higher-kinded types | Accepted (owner); Revision 1 and a note Proposed | | [0019](0019-user-defined-derives.md) | User-defined derives | Accepted (owner) | | [0020](0020-git-dependencies.md) | Git dependencies and the lockfile | Accepted (owner); Revision 1 Proposed | | [0021](0021-the-name-louise.md) | The name Louise and the `.lse` extension | Accepted (owner) | | [0022](0022-console-output.md) | Console output on a writer thread | Accepted (owner) | | [0023](0023-pipe-placeholders-and-capture.md) | Pipe placeholders and function captures | Accepted (owner) | | [0024](0024-errors-as-values.md) | Errors as values | Accepted (owner) | | [0025](0025-build-directory.md) | The build directory | Accepted (owner) | | [0026](0026-functors-and-monads-in-std.md) | Functors and monads in the standard library | Accepted (owner); a note Proposed | | [0027](0027-semigroup.md) | `<>` is the `Semigroup` trait's method | Accepted (owner) | | [0028](0028-mailboxes-and-actor-memory.md) | Mailboxes under contention, and memory per actor | Proposed | | [0029](0029-stable-c-units.md) | Stable C units | Proposed | | [0030](0030-release-builds-in-one-unit.md) | Release builds stay in one C unit (ThinLTO rejected for now) | Proposed | | [0031](0031-runtime-variants.md) | Runtime variants: a checked runtime for tests, a fast one for release | Proposed | | [0032](0032-cross-language-lto.md) | Cross-language ThinLTO between the runtime and the program | Proposed | | [0033](0033-opaque-types.md) | Opaque types, so a module can protect its invariants | Proposed | | [0034](0034-string-interpolation.md) | String interpolation through `Show` | Proposed | | [0035](0035-numbers-bits-and-u64.md) | Numbers: bit operations on `Int`, a `Float`'s bits, and `U64` | Proposed | | [0036](0036-clock-and-random-effects.md) | `clock` and `random`, effects the runtime handles | Proposed | | [0037](0037-early-return.md) | Early `return` | Proposed | | [0038](0038-tls-client.md) | TLS clients (and servers, Revision 1) | Proposed; Revision 1 Proposed | | [0039](0039-trmc.md) | Tail recursion modulo cons | Proposed | | [0040](0040-perceus-v2.md) | Perceus v2: arities in Core, sized reuse, tokens across calls, `@fip` | Proposed; Revision 1 Accepted (owner); Revision 2 Proposed | | [0041](0041-gadts-and-existentials.md) | GADTs and existential types | Proposed; Revision 1 and a note Proposed | | [0042](0042-smaller-release-binaries.md) | Smaller release binaries: stripped, folded, std without backtraces | Proposed | | [0043](0043-a-core-optimiser.md) | A Core optimiser: simplifier, specialisation, fusion, constructed product results | Proposed; two notes Proposed | | [0044](0044-effect-row-ergonomics.md) | Effect-row ergonomics: row aliases and the `/_>` marker | B Accepted (owner), implemented; C Proposed | | [0045](0045-unbox-float.md) | Unbox Float (and U64) | Accepted (owner); Revision 1 Proposed | | [0046](0046-cheaper-calls.md) | Cheaper calls (exact-arity direct calls; preemption on recursive-group entries) | Accepted (owner); Revision 1 Proposed | | [0047](0047-associated-types.md) | Associated types | Proposed | | [0048](0048-tagged-templates.md) | Tagged template literals and std templaters | Proposed | | [0049](0049-std-file.md) | `std/file`: whole-file reads and writes | Proposed | | [0050](0050-scram-primitives.md) | `std/crypto` and `std/base64`: the SCRAM primitives | Proposed; amended by 0067 and 0071 (Proposed) | | [0051](0051-msgpack.md) | `@derive(MsgPack)`: deriving MessagePack encoders and decoders | Proposed | | [0052](0052-postgres-package.md) | The `postgres` package: wire protocol, connection actors, pool, `sql` effect | Proposed | | [0053](0053-streamed-responses.md) | Streamed responses, and how a connection leaves the HTTP loop | Proposed | | [0054](0054-precompiled-renderers.md) | Precompiled renderers for HTML templates | Proposed | | [0055](0055-virtual-time-opt-in.md) | Opt-in virtual time with sockets (`LOUISE_VIRTUAL_TIME`) | Proposed | | [0056](0056-split-giant-functions.md) | Split giant functions into tail-call chains | Proposed | | [0057](0057-compiled-std-templaters.md) | std's templaters are compiled syntax for the HTML tree | Proposed | | [0058](0058-match-continuations.md) | Match continuations: shared occurrences and lifted arm bodies | Proposed | | [0059](0059-the-formatter.md) | The formatter is a pretty printer, and it has no settings | Accepted; Revisions 1–2, 4–8 Accepted (owner); Revision 3 Proposed | | [0060](0060-signals-and-applications.md) | OS signals, graceful shutdown, and supervised applications | Proposed | | [0061](0061-a-fast-test-loop.md) | A fast test loop: shared program, parallel tests, kept results, `--watch` | Proposed | | [0062](0062-parens-free-functions.md) | Parens-free functions: application by juxtaposition, currying, labelled arguments | Proposed | | [0063](0063-no-ml-functors.md) | No ML functors, for now: traits, opaque types and effects cover what they would do | Proposed | | [0064](0064-test-only-code.md) | Test-only code: `@test import`, `[dev-dependencies]`, and the `gen` package (generators, fakes, shrinking property checks) | Proposed | | [0065](0065-row-arguments.md) | Row arguments (`async<>`), and effects whose parameters are rows | Proposed | | [0066](0066-row-evidence.md) | Row evidence: a run-time form for rows that carry received handlers (revises ADR 0010) | Proposed | | [0067](0067-signature-verification-in-std.md) | Signature verification in std: Ed25519 over the runtime's `ring` (amends ADR 0050) | Proposed | | [0068](0068-borrowed-closures.md) | Borrowed closures: a second, borrowed-contract closure entry (runtime ABI 10) | Proposed | | [0069](0069-record-workers.md) | Record workers: single-constructor parameters and results flattened into C parameters | Proposed | | [0070](0070-dec.md) | `Dec`, a fixed-point decimal for money | Proposed | | [0071](0071-authenticated-encryption-in-std.md) | Authenticated encryption in std: ChaCha20-Poly1305 and HKDF-SHA-256 over the runtime's `ring` (amends ADR 0050) | Proposed | | [0072](0072-distribution.md) | Distribution: actors across hosts, typed on the wire (`Wire`, opaque `Subject`, a runtime transport over mTLS) | Proposed | | [0073](0073-std-table.md) | `std/table`: tables any actor reads without a message (ETS / `persistent_term`); values shared via `send::share`, retained under sharded read locks, tables immortal | Proposed | | [0074](0074-std-closure.md) | Check only the std modules a program reaches (changes ADR 0006's model) | Proposed | | [0075](0075-json-package.md) | JSON is a package (`packages/json`): a hardened parser, a writer, `@derive(ToJson)` and path-reporting decoders | Proposed | | [0076](0076-eventsourcing-package.md) | Event sourcing is a package (`packages/eventsourcing`): deciders, aggregates, state caches, the event store in memory and PostgreSQL, projections, sealing | Proposed | | [0077](0077-log-package.md) | Logging is a package (`packages/log`): levels, fields and handlers; `web/access` logs a request at a level from its status and path | Proposed | | [0078](0078-an-event-can-be-redacted.md) | `event_store.redact` gives one stored event new data in place (same position, version, kind and partition, sealed again under its own context), and `state_cache.forget` drops a cached state: how apps erase what a person asked to have forgotten | Proposed | | [0079](0079-url-and-fetch-packages.md) | URLs and an HTTP client are packages (`packages/url`, `packages/fetch`): RFC 3986 parsing and resolution; one GET that checks every address of a host, refuses private ones, never follows redirects and is killed at its deadline | Proposed | | [0080](0080-multipart-package.md) | `multipart/form-data` is a package (`packages/multipart`): limits on every count and size, only two part headers read, file names cut to their last segment | Proposed | | [0081](0081-packages-from-the-apps-infrastructure.md) | Rate limits, retries and secret files are packages (`packages/resilience`, `packages/throttle`, `packages/secrets`), promoted from the apps' copies; `fetch.request` sends any method with a body (0079 Revision 1) | Proposed | | [0084](0084-capability-roots.md) | Filesystem capability roots, the implicit-row model, lexical fakes and remote denial | Proposed |