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 | Python library with a sans-IO core | Accepted |
| 0002 | One write path: commands through Workspace.commit |
Accepted |
| 0003 | Artifact types are Pydantic subclasses with library-defined patch kinds | Accepted |
| 0004 | Optimistic concurrency and append-only revisions | Accepted, narrowed by ADR-0071 |
| 0005 | One durable event log per workspace | Accepted, amended by 0021 |
| 0006 | Agent integration as a pydantic-ai capability | Accepted, amended by 0017 |
| 0007 | Live output is owned by the caller, not the log | Accepted |
| 0008 | Agent perception: change notes, fresh rendering, steering | Accepted; its steering amended by 0055 |
| 0009 | Write policies and non-blocking proposals | Accepted |
| 0010 | Pausing with pydantic-ai deferred tools | Accepted, and an amendment |
| 0011 | Workspace-scoped artifacts and tenant-scoped handles | Accepted |
| 0012 | Surfaces: WebSocket thread protocol, REST commands, MCP | Superseded by 0048 |
| 0013 | A library with adapters and a reference implementation | Accepted |
| 0014 | Trunk-based development with RFCs, ADRs and evergreen docs | Accepted, amended by 0052 |
| 0015 | Quality gates | Accepted, amended by 0052 |
| 0016 | MIT license | Accepted |
| 0017 | Application toolsets register on the agent; the capability emits capability events | Accepted |
| 0018 | Core's host contract: needs, commit and record | Accepted |
| 0019 | One storage protocol behind workspace handles | Accepted |
| 0020 | Running agents in threads | Accepted; its messages and thread claims amended by 0055 |
| 0021 | SQL storage with one dialect-neutral implementation | Accepted |
| 0022 | Surfaces over one command handler | Superseded by 0048 |
| 0023 | The documentation site | Accepted, amended by 0026, 0050 and 0053 |
| 0024 | The reference implementation as a workspace member | Accepted, amended by 0052 |
| 0025 | Distributed as artifactr-ai, imported as artifactr | Accepted |
| 0026 | Publishing the documentation site from main | Accepted, amended by 0050 and 0053 |
| 0027 | OpenTelemetry-native observability, with Langfuse primary | Accepted |
| 0028 | Typed feedback as events, mirrored to Langfuse | Accepted |
| 0029 | evalr, a shared eval kit | Accepted |
| 0030 | Contributor Compose and dev containers here, infrastructure in stackr | Accepted; its dev container superseded by lattice ADR-0009, and its dashboard releases by 0054 |
| 0031 | LiteLLM, proxy first, for routing and guardrails | Accepted |
| 0032 | Libraries, and stackr as the infrastructure template | Accepted, amended by 0052 and 0054 |
| 0033 | Trace links on runs and revisions | Accepted |
| 0034 | Ports and adapters for integrations | Accepted |
| 0035 | A turn is its own trace | Accepted, amended by 0059 |
| 0036 | Metric cardinality through SDK views | Accepted |
| 0037 | Feedback targets and evaluators | Accepted |
| 0038 | Feedback as scores, through ports | Superseded by 0049 |
| 0039 | The Langfuse adapter | Accepted; its score adapters superseded by 0049 |
| 0040 | Joining stackr's network when it runs | Accepted; its override superseded by lattice ADR-0009 |
| 0041 | Dashboards generated, tested and released | Accepted; its release assets superseded by 0054 |
| 0042 | Typed run failures | Accepted, amended by 0095 |
| 0043 | The LiteLLM adapter | Accepted |
| 0044 | The evalr adapter | Accepted; its amendment superseded by 0049, and its pin of evalr by 0052 |
| 0045 | A message id is used once in a workspace | Accepted |
| 0046 | Telemetry that composes across libraries, untraced polling and mirror cursors | Accepted |
| 0047 | Cancel-safe storage | Accepted |
| 0048 | Surfaces over the runner | Accepted; its recorded message's run amended by 0055, its authorization by 0056 |
| 0049 | Scores on evalr | Accepted |
| 0050 | One docs build | Accepted, amended by 0053 |
| 0051 | Notices: messages that start no turn | Accepted; its direct messages amended by 0055 |
| 0052 | artifactr in lattice | Accepted |
| 0053 | One site for lattice | Accepted |
| 0054 | Dashboards from the checkout | Accepted |
| 0055 | Turns from the log | Accepted; its batching amended by 0057, its claim by 0069, its hand-over by 0070, and amendments |
| 0056 | Access asked in every workspace method | Accepted, amended by 0058 and 0062 |
| 0057 | A turn acts for one author | Accepted |
| 0058 | A tenant's workspaces, listed by what each actor may open | Accepted |
| 0059 | A turn starts from an empty context | Accepted |
| 0060 | The tenant on log records | Accepted |
| 0061 | A NUL character is refused at the boundary | Accepted |
| 0062 | Restricted items left out of every read | Accepted |
| 0063 | The OpenAPI documents describe refusals | Accepted |
| 0064 | Asking for a thread's next turn | Accepted |
| 0065 | run_started names its messages |
Accepted |
| 0066 | Row-level security under the scoping | Accepted |
| 0067 | A turn's failed series starts at zero | Accepted |
| 0068 | An access token redacted from the spans' URLs | Accepted, amended by lattice ADR-0018 |
| 0069 | A claim fences the writes that consume | Accepted |
| 0070 | A runner looks again for what a dead holder was asked | Accepted |
| 0071 | A lease on an artifact | Accepted |
| 0072 | Native files are manifests over JSON Patch | Accepted |
| 0073 | Checks that refuse a command before it commits | Accepted |
| 0074 | Forms and dashboards in artifactr.ui, behind the forms extra |
Accepted |
| 0075 | Forms refused at the boundary, through the checks | Accepted |
| 0076 | The form schema, an allow-list compiled to Pydantic | Accepted |
| 0077 | Formats and sizes, checked by artifactr's own code | Accepted |
| 0078 | The agent's toolset for forms, and no apps yet | Accepted |
| 0079 | Forms' unverified items, settled | Accepted |
| 0080 | Integrations on or off per workspace | Accepted |
| 0081 | A gate before access: integrations switched off answer NotEnabled | Accepted |
| 0082 | Mini apps: the agent's tools, and HTML that loads nothing | Accepted |
| 0083 | ask_user asks questions with options, and takes answers per question |
Accepted |
| 0084 | What a run records of its calls and its failure, and who reads it | Accepted |
| 0085 | Connected apps: an operator's own FreeCAD or Blender, through a vetted MCP server | Accepted, amended by 0087 and 0089 |
| 0086 | Diagrams' data: an element-scoped patch and its checks | Accepted |
| 0087 | A connected app's hourly limit, read from settings | Accepted |
| 0088 | Excalidraw's phase 0: what the canvas costs and needs | Accepted |
| 0089 | A connected app's tools, narrowed per workspace | Accepted |
| 0090 | Diagrams drawn by the agent, through a converter | Accepted |
| 0091 | Diagrams' tombstones swept, and their revisions thinned | Accepted, amended by 0094 |
| 0092 | A diagram's images, uploaded by a person and read where it names them | Accepted |
| 0093 | Presence: who has an artifact open, passed on and never stored | Accepted |
| 0094 | Diagrams' revisions thinned to one an actor every ten minutes | Accepted |
| 0095 | A run that waits on nothing is failed, and a message that starts nothing is told | Accepted |
| 0096 | A run counts each model request exactly, live and at its end | Accepted |
| 0097 | A message chooses the model of the turn it starts | Accepted |
| 0098 | A mini app's HTML read by its own tool, whose results skip prompt-injection | Accepted |
| 0099 | artifactr's tools as capabilities, called through the enforcer, whose policy asks approval | Accepted |
| 0100 | artifactr's commands: every action a command, or listed with its reason | Accepted |
| 0101 | A run paused on an enforcer's approval names it, and is answered in its store | Accepted |
| 0102 | An approval a run asked is withdrawn when the run ends before it pauses on it | Accepted |
| 0103 | artifactr's catalog bound to its workspaces and runner: every command a client may call | Accepted |
To add a record, copy lattice's ADR template to the next number and add a row above.