FWIW the way it happened was that I entered the latest changes to the pending comment code via the repl. So when the server restarted, it had the initial version of the code, which enforced pending comments sitewide instead of per thread.
Hmm... is it possible that there's a spam filter automatically triggering on posts containing just a link(which the first version of the comment was)?