Purpose
-------
Provide a version-compatibility check between OCT and the ``oc_diagnostics``
runtime package.
Responsibilities
----------------
- Define the supported ``oc_diagnostics`` version range.
- Query the installed ``oc_diagnostics`` version via ``importlib.metadata``.
- Return a human-readable warning or info string when the installed version
is out of range or absent; return ``None`` when compatible.
Diagnostics
-----------
Domain: OCT-CORE
Levels:
L2 — lifecycle
L3 — semantic details
L4 — deep tracing
Contracts
---------
- Must not import ``oc_diagnostics`` at module level (avoids circular deps).
- Must not require the ``packaging`` library; uses tuple-based comparison.
- Must be safe to call when ``oc_diagnostics`` is not installed.