Integrations (Adapters)
Rule
Rules for external service integrations.
- MUST: Fail fast with no silent fallbacks.
- MUST: Throw typed errors (e.g.,
ServiceError) for misconfiguration or upstream non-2xx responses. - SHOULD: Provide test-only mocks in separate adaptors and wire them only in tests.
- SHOULD: Validate configuration at boot to avoid partial functionality.