Draft-only · No publish · No write-back to Global

Global → UK Catalogue Sync

A synchronisation receiver that fetches the authoritative Global master-catalogue (www.heorshe.com/api/master-catalog), validates the payload, stores a versioned snapshot with rollback, and reports reconciliation against the UK draft. This is a draft scaffold — it does not mutate UK product data, prices, inventory, SKUs or trade state, and it does not publish or write back to Global.

How this works

  1. Fetches www.heorshe.com/api/master-catalog (public, read-only).
  2. Validates the payload shape (version, schemaVersion, products, wholesaleSkus).
  3. Stores a versioned snapshot in an in-memory ring buffer (max 5, draft-only).
  4. Retains the previous approved version for rollback.
  5. Reports a diff (new/removed products & SKUs) against the previous snapshot.
  6. Reconciles against the UK draft's known counts (28 routes, 84 SKUs).
  7. Never marks a snapshot "applied" — applying is a separate, future, human-approved step.

No Cloud, no publish, no DNS, no write-back to Global, no mutation of UK prices, inventory, SKUs, media or trade state.