Instead of executing cqsearch/codequery from seed-gen/patcher, we should use a REST API so we have better isolation.