[api] better Sphinx management in clockwork