Architecture decision records¶
ADRs record the decisions that shape the library: what was decided, why, and what follows from
it. ADRs 0002–0011 summarise the decision log in §2 of the design spec
(big-bang.md),
grouped by topic. Later ADRs record decisions made during implementation. Where an ADR and the
spec disagree, the newer ADR wins and says what it supersedes.
| ADR | Decision | Status | Spec decisions |
|---|---|---|---|
| 0001 | Only reads are resent after a request may have reached Salesforce | accepted | — |
| 0002 | A new, general-purpose library, shipped in stages | accepted | D1, D2, D3, D4, D5, D24, D25, O14, O15 |
| 0003 | Async first, with a generated sync twin | accepted | D6, O2, O5 |
| 0004 | One request pipeline on httpx; core depends on httpx only | accepted | D7, D8 (transport), D16, O7, O10 |
| 0005 | Login flows as config objects; rotation-safe refresh | accepted | D8 (auth), D9, D10, O11 |
| 0006 | Typed errors with one shape; opt-in tags; no client-side validation | accepted | D11, D12, D13 |
| 0007 | Plain dicts, opaque cursors, cached describes | accepted | O6, O9, O12 |
| 0008 | Canonical logs and free usage tracking | accepted | D15, D27 |
| 0009 | Framework integrations, testing support and quality gates | accepted | D17, D22, D28 |
| 0010 | Org automation, lead convert and merge | accepted | D14, D26 |
| 0011 | Docs site, versioning and releases | accepted | D18, D19, D20, D21, D23, O1, O3, O4, O8, O13 |
| 0012 | Request headers are keyword arguments, scoped to the resources that document them | accepted | D30 |
| 0013 | Events are pulled through one async iterator | accepted | D31 |
To propose a change to one of these decisions, open an issue first (see AGENTS.md). A new ADR
gets the next number and is never rewritten after acceptance. If a later ADR replaces it, mark it
superseded and link the replacement.