Skip to main content
Version: 1.3.0

A zip no longer contains a certificate without its proof

Version: 1.3.0 Date: 2026-11-03

Goal: A download must not return a certificate whose receipt is missing.

Solution: Chainpoint and ots stay in the zip only when the certificate and the receipt are both present. A missing half drops that proof type. Polygon stays only beside another included proof. Nothing left, or polygon alone, is 409 for an automatic agent and 422 for a manual one.

Files Modified:

  • src/domains/document/zip.service.ts - Drop incomplete proofs before the archive is built
  • src/core/proof-watcher/proof-watcher.service.ts - Prettier wrap so lint stays at zero
  • src/domains/document/zip.service.spec.ts - Cover a missing receipt and a polygon-only zip
  • certificate-zip.md - Download contract

Release fragment: fix-zip-requires-receipt