---
title: "Shared Patterns Index"
description: "Oliver Agency standard library implementations — reuse before writing from scratch"
updated: 2026-05-15
---

# Shared Patterns

Cross-project reusable implementations for Oliver Agency standard libraries.
Read these before writing any HTTP client, logger, config loader, or migration.

| Article | Summary | Updated |
|---------|---------|---------|
| [[wiki/shared-patterns/httpx-async-client\|httpx-async-client]] | Async HTTP client patterns — auth headers, retries, Mailgun gotcha, ADO PATCH | 2026-05-15 |
| [[wiki/shared-patterns/structlog-setup\|structlog-setup]] | structlog configuration — two real styles, request-id middleware, stdlib bridge | 2026-05-15 |
| [[wiki/shared-patterns/pydantic-settings-env\|pydantic-settings-env]] | BaseSettings patterns — Azure AD, Box API, 4 gotchas (reserved `model` field, case sensitivity) | 2026-05-15 |
| [[wiki/shared-patterns/alembic-migrations\|alembic-migrations]] | Async Alembic setup — alembic.ini, env.py, 5 gotchas (nullable, Enum drop, server_default) | 2026-05-15 |
