"""Compatibility tests after the Phase 4 migration.""" from pathlib import Path def test_lambda_agent_api_module_is_importable(): from sdk.upstream_agent_api import AgentApi assert AgentApi is not None def test_agent_session_module_is_intentionally_stubbed(): contents = Path(__file__).resolve().parents[2] / "sdk" / "agent_session.py" assert "replaced by direct AgentApi usage" in contents.read_text()