Context
The TS SDK exposes ADCP_VALIDATION_MODE=strict|warn|off as a single env-var override for client validation. The Python SDK only honors ADCP_ENV=prod to flip response default to warn, which is less granular and not parity with the TS SDK.
Additionally, the docstring at src/adcp/client.py:381-383 falsely claims PYTHON_ENV / ENV / ENVIRONMENT are honored — they are not. That doc lies.
Refs:
src/adcp/validation/client_hooks.py:62-71 (resolution chain)
src/adcp/client.py:381-383 (incorrect docstring)
Acceptance Criteria
Context
The TS SDK exposes
ADCP_VALIDATION_MODE=strict|warn|offas a single env-var override for client validation. The Python SDK only honorsADCP_ENV=prodto flip response default towarn, which is less granular and not parity with the TS SDK.Additionally, the docstring at
src/adcp/client.py:381-383falsely claimsPYTHON_ENV/ENV/ENVIRONMENTare honored — they are not. That doc lies.Refs:
src/adcp/validation/client_hooks.py:62-71(resolution chain)src/adcp/client.py:381-383(incorrect docstring)Acceptance Criteria
ADCP_VALIDATION_MODEread inclient_hooks.pyresolution chain, accepted valuesstrict|warn|offADCP_VALIDATION_MODE>ADCP_ENVlegacy fallback > defaultclient.py:381-383— remove the bogusPYTHON_ENV/ENV/ENVIRONMENTreferences