Phase 3: multi-location bi-directional menu sync, canonical store, Square OAuth, images - #9
Merged
Merged
Conversation
…uare OAuth, images
…ioning, Yelp posting (#7) Co-authored-by: crewcricle <280911048+crewcricle@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…#8) Co-authored-by: crewcricle <280911048+crewcricle@users.noreply.github.com>
# Conflicts: # backend/main.py
This was referenced Jul 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Multi-location, bi-directional menu sync engine with canonical store, image sync, and Square OAuth.
Changes
menu_itemstable): all menu changes upsert canonical rows withcontent_hash(sha256 of name|price_cents|description|category|active) +origintracking.reconcile_itempushes to each target only whenlast_synced_hashdiffers. Square inbound sets Square's hash first so it never echoes back. Deterministic idempotency keys prevent duplicate creates.locationstable): GBP identity lives onlocationsnotclients. Backfills default location.resolve_client_from_locationrewritten (C2).drafts.location_id+menu_sync_log.location_idadded (C6).square_oauth.py,square_catalog.py,square_images.py,gbp_media.py,menu_images.pyPOST /webhooks/square/catalogwith HMAC-SHA256 verification, merchant_id resolution, watermark-based reconcile.017–022: all withservice_role_allRLS.GET/POST/PATCH /locations,POST /menu/{location_id}/items/{item_id}/image.Testing
119/119 unit tests pass, migrations apply cleanly on scratch Postgres, locations API smoke passes. Live Square/GBP deferred to post-deploy.
Session Details
(aside)to your comment to have me ignore it.