[cddlm] early draft of deployment API