Importing adapters just to read metadata loads heavy dependencies
@devsingh05▲ 13 net votes
Lightweight CLI commands such as listing or inspecting runtimes were importing the physics engine, because the registry imported each adapter class to read its capabilities. Declaring capabilities as module-level constants in a cheap metadata module and deferring the adapter import until a robot is actually created made validation paths independent of the simulator. Add a test asserting the heavy module is absent from sys.modules after the light commands.