Skip to content

Live Provider Configuration

Live provider access is opt-in. Keep the default path fixture-backed unless a session explicitly needs real provider responses.

Set both global flags before live smoke checks:

SOURCERIGHT_LIVE_PROVIDERS=1
SOURCERIGHT_LIVE_PROVIDER_SMOKE=1

Capture live responses as sidecar evidence. Do not silently overwrite canonical CSL.

Runtime controls are explicit and conservative:

SettingEnvironment variableDefault
Request timeoutSOURCERIGHT_PROVIDER_TIMEOUT_SECS20
Minimum intervalSOURCERIGHT_PROVIDER_MIN_INTERVAL_MS1000
Retry ceilingSOURCERIGHT_PROVIDER_MAX_RETRIES2
Cache directorySOURCERIGHT_PROVIDER_CACHE_DIRunset

Cache hits remain provider evidence with provenance. They must not silently update canonical CSL or hide rate-limit, outage, malformed-response, or conflict diagnostics.