Certificate jobs go through Hotep
Version: 1.3.0 Date: 2026-11-03
Goal: The watcher must enqueue a certificate without a Vercel token on Neo. That token expires after twelve hours.
Solution: The queue publish calls Hotep /api/queues/certificates/publish with the service token. Retries use the same call. A failed head on the certificate bucket counts as absent and the retry still sends the proof to Hotep. For an automatic document, a zip whose PDF is not stored publishes the job and answers 409. A manual document still renders in the request. Neo no longer reads VERCEL_QUEUE_*. A preview behind Vercel SSO gets x-vercel-protection-bypass when HOTEP_PROTECTION_BYPASS is set.
Files Modified:
src/core/hotep/hotep.service.ts- Publish callsrc/domains/document/zip.service.ts- Queue a missing automatic certificate and answer 409src/core/certificates/certificate-queue.service.ts- A failed head still republishessrc/core/proof-watcher/proof-watcher.service.ts- Run the certificate sweep on startupsrc/core/config/certificate-queue.config.ts- Drop the queue credentials
Release fragment: fix-queue-publish