Return the context an Expanse worker needs to run an automation-route Task.
Context an Expanse worker needs to execute an automation-route Task.
Flattens the routing slice (vendor_id, automation_id, environment) off the related automation_route so the worker never has to know about the connector Environment model. Consumed by GET /internal/tasks/{task_id}.