tobogganSe connecter

louise

Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.

99 lignes · 11268 octetsBrut · Historique

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 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.

ADRTitleStatus
0001Language surface and syntaxAccepted
0002Memory model: Perceus RC, no GCAccepted; later sections Accepted (owner); a note (2026-10-15) Proposed
0003Effect handler lowering in the C backendAccepted; Revision 2 and a note Accepted (owner)
0004Actor model and schedulerAccepted; later sections and Revisions 2–5 Accepted (owner); a note (2026-10-15) and Revisions 6–8 Proposed
0005FFI and native dependenciesAccepted; Revision 1 Accepted (owner); a note (2026-10-12) and Revision 2 Proposed
0006Incremental analysis modelAccepted; a note (2026-11-01) Proposed
0007Type inference and traitsAccepted
0008Effect typingAccepted
0009HTML literalsAccepted
0010Lexically scoped effect handlersAccepted (owner)
0011The runtime's own context switchAccepted (owner)
0012Bytes, builders and HTTP connectionsAccepted (owner); Revisions 1 and 3 Accepted (owner); Revisions 2, 4 and 5 Proposed
0013Numeric code: uniform values, specialised evidenceAccepted (owner)
0014Arrays, owned extern parameters, and bigint promotionAccepted (owner)
0015C callbacks and bindingsAccepted (owner)
0016User-level cleanups: deferAccepted (owner)
0017Multi-shot resumptionsAccepted (owner)
0018Multi-parameter traits and higher-kinded typesAccepted (owner); Revision 1 and a note Proposed
0019User-defined derivesAccepted (owner)
0020Git dependencies and the lockfileAccepted (owner); Revision 1 Proposed
0021The name Louise and the .lse extensionAccepted (owner)
0022Console output on a writer threadAccepted (owner)
0023Pipe placeholders and function capturesAccepted (owner)
0024Errors as valuesAccepted (owner)
0025The build directoryAccepted (owner)
0026Functors and monads in the standard libraryAccepted (owner); a note Proposed
0027<> is the Semigroup trait's methodAccepted (owner)
0028Mailboxes under contention, and memory per actorProposed
0029Stable C unitsProposed
0030Release builds stay in one C unit (ThinLTO rejected for now)Proposed
0031Runtime variants: a checked runtime for tests, a fast one for releaseProposed
0032Cross-language ThinLTO between the runtime and the programProposed
0033Opaque types, so a module can protect its invariantsProposed
0034String interpolation through ShowProposed
0035Numbers: bit operations on Int, a Float's bits, and U64Proposed
0036clock and random, effects the runtime handlesProposed
0037Early returnProposed
0038TLS clients (and servers, Revision 1)Proposed; Revision 1 Proposed
0039Tail recursion modulo consProposed
0040Perceus v2: arities in Core, sized reuse, tokens across calls, @fipProposed; Revision 1 Accepted (owner); Revision 2 Proposed
0041GADTs and existential typesProposed; Revision 1 and a note Proposed
0042Smaller release binaries: stripped, folded, std without backtracesProposed
0043A Core optimiser: simplifier, specialisation, fusion, constructed product resultsProposed; two notes Proposed
0044Effect-row ergonomics: row aliases and the /_> markerB Accepted (owner), implemented; C Proposed
0045Unbox Float (and U64)Accepted (owner); Revision 1 Proposed
0046Cheaper calls (exact-arity direct calls; preemption on recursive-group entries)Accepted (owner); Revision 1 Proposed
0047Associated typesProposed
0048Tagged template literals and std templatersProposed
0049std/file: whole-file reads and writesProposed
0050std/crypto and std/base64: the SCRAM primitivesProposed; amended by 0067 and 0071 (Proposed)
0051@derive(MsgPack): deriving MessagePack encoders and decodersProposed
0052The postgres package: wire protocol, connection actors, pool, sql effectProposed
0053Streamed responses, and how a connection leaves the HTTP loopProposed
0054Precompiled renderers for HTML templatesProposed
0055Opt-in virtual time with sockets (LOUISE_VIRTUAL_TIME)Proposed
0056Split giant functions into tail-call chainsProposed
0057std's templaters are compiled syntax for the HTML treeProposed
0058Match continuations: shared occurrences and lifted arm bodiesProposed
0059The formatter is a pretty printer, and it has no settingsAccepted; Revisions 1–2, 4–8 Accepted (owner); Revision 3 Proposed
0060OS signals, graceful shutdown, and supervised applicationsProposed
0061A fast test loop: shared program, parallel tests, kept results, --watchProposed
0062Parens-free functions: application by juxtaposition, currying, labelled argumentsProposed
0063No ML functors, for now: traits, opaque types and effects cover what they would doProposed
0064Test-only code: @test import, [dev-dependencies], and the gen package (generators, fakes, shrinking property checks)Proposed
0065Row arguments (`async<<ioe>>`), and effects whose parameters are rows
0066Row evidence: a run-time form for rows that carry received handlers (revises ADR 0010)Proposed
0067Signature verification in std: Ed25519 over the runtime's ring (amends ADR 0050)Proposed
0068Borrowed closures: a second, borrowed-contract closure entry (runtime ABI 10)Proposed
0069Record workers: single-constructor parameters and results flattened into C parametersProposed
0070Dec, a fixed-point decimal for moneyProposed
0071Authenticated encryption in std: ChaCha20-Poly1305 and HKDF-SHA-256 over the runtime's ring (amends ADR 0050)Proposed
0072Distribution: actors across hosts, typed on the wire (Wire, opaque Subject, a runtime transport over mTLS)Proposed
0073std/table: tables any actor reads without a message (ETS / persistent_term); values shared via send::share, retained under sharded read locks, tables immortalProposed
0074Check only the std modules a program reaches (changes ADR 0006's model)Proposed
0075JSON is a package (packages/json): a hardened parser, a writer, @derive(ToJson) and path-reporting decodersProposed
0076Event sourcing is a package (packages/eventsourcing): deciders, aggregates, state caches, the event store in memory and PostgreSQL, projections, sealingProposed
0077Logging is a package (packages/log): levels, fields and handlers; web/access logs a request at a level from its status and pathProposed
0078event_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 forgottenProposed
0079URLs 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 deadlineProposed
0080multipart/form-data is a package (packages/multipart): limits on every count and size, only two part headers read, file names cut to their last segmentProposed
0081Rate 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
0082Bounded declaration-only @comptime evaluation into immutable staticsProposed
0083A persistent interpreter REPL is a transactional source sessionProposed