Functiontest_terminal_bound_assistants_outrank_cursorCURSOR_* is set for every integrated terminal. Checking Cursor first would report cursor for anything spawned inside it, the same trap Codex
lib/crewai/tests/telemetry/test_coding_agent_detection.py:261