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