"""Pure-function utilities shared across services and tasks."""