Operations
Liveness and readiness probes.
Read the notification policy (who notifies the shopper per event family)
The versioned NotificationPolicy document (ADR 0017). Version 0 is the built-in default: every family NOBODY, nothing delivered. The document decides the notifier stamp of every ShopperNoticeDecided fact; the notice itself is delivered outside the network (the marketplace notifier is the storefront consuming the event).
Publish the next version of the notification policy (whole document)
Whole-document PUT (ADR 0017): the body carries one row per family. The next version number is derived (current + 1); every version is kept. Publishing version 1 is what wakes a family up — until then the posture is silence. No event is raised: v1 is analytics-free.
Liveness probe
Always 200 while the process runs; it checks no dependency.
Readiness probe
200 when the drain gate is open, Postgres answers a ping and Kafka answers a metadata request (an empty, non-nil topic list). Otherwise 503 with the problem type dependency-unavailable.