On the canonical connection for smooth envelopes