[object Object]

← back to Designer Wallcoverings

gmc-autoadd-block: read-only investigation of June-18 Google auto-add mechanism (no write made; autoPublish already false)

9ee288386e684e14d07882cf6c4b183cf285bf96 · 2026-06-15 09:09:55 -0700 · Steve Abrams

Files touched

Diff

commit 9ee288386e684e14d07882cf6c4b183cf285bf96
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Mon Jun 15 09:09:55 2026 -0700

    gmc-autoadd-block: read-only investigation of June-18 Google auto-add mechanism (no write made; autoPublish already false)
---
 scripts/gmc-autoadd-block/BEFORE-STATE.json | 10 ++++++++++
 scripts/gmc-autoadd-block/investigate.sh    | 21 +++++++++++++++++++++
 2 files changed, 31 insertions(+)

diff --git a/scripts/gmc-autoadd-block/BEFORE-STATE.json b/scripts/gmc-autoadd-block/BEFORE-STATE.json
new file mode 100644
index 00000000..c8d222f2
--- /dev/null
+++ b/scripts/gmc-autoadd-block/BEFORE-STATE.json
@@ -0,0 +1,10 @@
+{
+  "captured": "2026-06-15",
+  "store": "designer-laboratory-sandbox.myshopify.com",
+  "api": "2024-10",
+  "publications": {
+    "Online Store":        { "id": "gid://shopify/Publication/22208643184", "autoPublish": false },
+    "Google & YouTube":    { "id": "gid://shopify/Publication/29646651457", "autoPublish": false, "catalog": "gid://shopify/AppCatalog/4977852467", "catalogStatus": "ACTIVE" }
+  },
+  "note": "Google publication autoPublish was ALREADY false at investigation time — no Shopify-side change made. Sample product gid://shopify/Product/1494828515440 is published to all 13 channels incl. Google & Online Store (working listing, left untouched)."
+}
diff --git a/scripts/gmc-autoadd-block/investigate.sh b/scripts/gmc-autoadd-block/investigate.sh
new file mode 100755
index 00000000..3caaaf3f
--- /dev/null
+++ b/scripts/gmc-autoadd-block/investigate.sh
@@ -0,0 +1,21 @@
+#!/usr/bin/env bash
+# GMC June-18 auto-add investigation — READ-ONLY Shopify probe.
+# Determines whether the Google auto-add is controllable from Shopify
+# (autoPublish flag on the Google publication) or is a Merchant-Center-side
+# automatic-feeds / free-listings mechanism (NOT controllable from Shopify).
+#
+# Author: steve@designerwallcoverings.com
+# Usage: bash investigate.sh   (reads SHOPIFY_ADMIN_TOKEN from secrets-manager/.env)
+set -euo pipefail
+TOKEN=$(grep '^SHOPIFY_ADMIN_TOKEN=' "$HOME/Projects/secrets-manager/.env" | cut -d= -f2)
+STORE="designer-laboratory-sandbox.myshopify.com"
+API="2024-10"
+gql() {
+  curl -s -X POST "https://$STORE/admin/api/$API/graphql.json" \
+    -H "X-Shopify-Access-Token: $TOKEN" -H "Content-Type: application/json" \
+    -d "{\"query\":\"$1\"}"
+}
+echo "== Publications =="
+gql '{ publications(first:50){ edges{ node{ id name app{ handle } } } } }' | python3 -m json.tool
+echo "== autoPublish state (the automatic-additions lever) =="
+gql '{ google: publication(id:\"gid://shopify/Publication/29646651457\"){ name autoPublish supportsFuturePublishing catalog{ id status } } online: publication(id:\"gid://shopify/Publication/22208643184\"){ name autoPublish } }' | python3 -m json.tool

← 45675134 Roll-Readiness Dossier audit 2026-06-14 (ranked JSON + summa  ·  back to Designer Wallcoverings  ·  China Seas de-header: stage mfr full-res primaries (757) + c 4b084049 →