Architecture Decision Records¶
One file per decision. Nygard format. Once Accepted, an ADR is immutable —
a new ADR supersedes it (with a Supersedes: ADR-NNNN header in both directions).
Numbering¶
0001–0099— retroactive backfills of decisions already embodied by the codebase.0100+ — forward-looking decisions made after this log was instituted.
Index¶
| ID | Title | Status |
|---|---|---|
| 0001 | Pure stdlib — no external dependencies | Accepted |
| 0002 | Per-module independent semver via <path>/vX.Y.Z tags |
Accepted |
| 0003 | New(baseURL, apiKey) → *Client constructor shape |
Accepted |
| 0004 | Functional-options configuration (Option + With*) |
Accepted |
| 0005 | Per-module APIError struct implementing error |
Accepted |
| 0006 | httptest-only test policy — no live API calls |
Accepted |
| 0007 | OAuth2 flow helpers — device / auth-code / PKCE / refresh | Accepted |
| 0008 | JSON-RPC / XML-RPC / GraphQL clients reuse REST-client patterns | Accepted |
| 0009 | Local replace ../ directives in committed go.mod files |
Accepted (cleanup deferred) |
Template¶
See 0000-template.md.