Skip to content

Architecture decision records

Each record captures one decision: the context that forced it, the options considered, and the consequences we accepted. Records are immutable once accepted; a changed decision gets a new record that amends or supersedes the old one. Proposals that precede decisions live in ../rfcs/.

ADR Title Status
0001 A library with a sans-IO core, replacing the template Accepted
0002 The name reflexr Accepted
0003 An independent sibling of artifactr, with aligned conventions Accepted, amended by lattice 0018
0004 Tenant-scoped streams with one log each Superseded by 0016
0005 Per-rule cursors: decide exactly, act at least once Accepted
0006 Rules as typed, serializable data Accepted, amended by 0041, 0051 and 0053
0007 Rule state as pure reducers, with the log as the clock Accepted
0008 Actions: agents, graphs and functions over one Reaction Accepted, amended by 0052
0009 Graph checkpoints at step boundaries Superseded by 0043
0010 Loop and spend safety Accepted
0011 Surfaces: ingest, REST, WebSocket, schedules and MCP Superseded by 0044
0012 Trunk-based development with RFCs, ADRs and evergreen docs Accepted, amended by 0048
0013 Quality gates Accepted, amended by 0048
0014 MIT license Accepted
0015 Reference implementation: incident response Accepted, amended by 0031 and 0048
0016 Tenants and workspaces, like artifactr Accepted, amended by 0053 and 0056
0017 The core's evaluation contract Accepted
0018 OpenTelemetry-native observability, with Langfuse primary Accepted, amended by 0055
0019 Typed feedback as events, mirrored to Langfuse Accepted
0020 evalr, a shared eval kit Accepted; its last amendment superseded by 0045, and its pin of evalr by 0048
0021 Contributor Compose and dev containers here, infrastructure in stackr Accepted; its dev container superseded by lattice ADR-0009, and its dashboard releases by 0050
0022 LiteLLM, proxy first, for routing and guardrails Accepted
0023 Libraries, and stackr as the infrastructure template Accepted, amended by 0048 and 0050
0024 Which chain a firing joins, and operator actions in the log Accepted
0025 Ports and adapters Accepted; its amendment superseded by 0045
0026 The reactor's evaluation: rules on workspaces, the depth of reflexr's facts, and rebuilds Accepted
0027 Executing runs Superseded by 0041
0028 Schedules, with cronsim for cron expressions Accepted
0029 Metric detail through SDK views, and the OpenTelemetry and Langfuse adapters Accepted; its score adapters superseded by 0045
0030 SQL storage with one dialect-neutral implementation Accepted
0031 The reference implementation's events and rules Accepted, amended by 0051
0032 The documentation site, and a brand shared by lattice Accepted, amended by 0046 and 0049
0033 Publishing the documentation site from main Accepted, amended by 0046 and 0049
0036 Typed run failures Accepted
0037 Joining stackr's network when it runs Accepted; its override superseded by lattice ADR-0009
0038 Dashboards generated, tested and released Accepted; its release assets superseded by 0050
0039 Namespaced event types Accepted; its reserved publishers amended by 0057
0040 Telemetry that composes across libraries, untraced polling and mirror cursors Accepted
0041 Executing runs Accepted, amended by 0066
0042 Cancel-safe storage Accepted
0043 Graph checkpoints Accepted
0044 Surfaces Accepted; partly superseded by 0047, its authorization amended by 0056
0045 Scores on evalr Accepted
0046 One docs build Accepted, amended by 0049
0047 Commands carried out once per id Accepted
0048 reflexr in lattice Accepted
0049 One site for lattice Accepted
0050 Dashboards from the checkout Accepted
0051 Qualified rule names Accepted
0052 Typed action parameters Accepted
0053 Stored rules, under one fixed configuration Accepted; its allow folded into authorize by 0056
0054 Installing, updating and archiving stored rules Accepted
0055 Reading stored rules: every pass, in their workspace, by namespace in metrics Accepted
0056 Access asked in every workspace method Accepted
0057 Reserved publishers Accepted
0058 An MCP client acts for its person Accepted
0059 The tenant on log records Accepted
0060 A NUL character is refused at the boundary Accepted
0061 The OpenAPI documents describe refusals Accepted
0062 Row-level security under the scoping Accepted
0063 A stored rule's history, read by its name Accepted
0064 The protocol schema names reflexr's own events Accepted
0065 An access token redacted from the spans' URLs Accepted, amended by lattice ADR-0018
0066 An epoch fences each attempt Accepted
0067 reflexr's commands: every action a command, or listed with its reason Accepted
0068 reflexr's provider: each call in its workspace, as its actor Accepted

To add a record, copy lattice's ADR template to the next number and add a row above.