[object Object]

← back to Secrets Manager

Coordonné Cotswolds: activate 29 wallcoverings LIVE (ACTIVE + Online Store + New Arrival, Google excluded 0/29) per DTD verdict B; 8 murals held with Coco Dávez batch

aaa98bd508f7361b8521e23db9b720f8d897d3d5 · 2026-07-22 09:56:24 -0700 · Steve Abrams

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Files touched

Diff

commit aaa98bd508f7361b8521e23db9b720f8d897d3d5
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Wed Jul 22 09:56:24 2026 -0700

    Coordonné Cotswolds: activate 29 wallcoverings LIVE (ACTIVE + Online Store + New Arrival, Google excluded 0/29) per DTD verdict B; 8 murals held with Coco Dávez batch
    
    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---
 .../cotswolds-activate-result.json                 | 182 +++++++++++++++++++++
 .../cotswolds-activate-wallcoverings.js            |  50 ++++++
 2 files changed, 232 insertions(+)

diff --git a/coordonne-collab-audit/cotswolds-activate-result.json b/coordonne-collab-audit/cotswolds-activate-result.json
new file mode 100644
index 0000000..8e4ff47
--- /dev/null
+++ b/coordonne-collab-audit/cotswolds-activate-result.json
@@ -0,0 +1,182 @@
+{
+  "activated": 29,
+  "err": 0,
+  "total": 29,
+  "google_publication_avoided": "gid://shopify/Publication/29646651457",
+  "results": [
+    {
+      "dwSku": "DWCO2-672813",
+      "shopify_id": "gid://shopify/Product/7896384503859",
+      "status": "ACTIVE",
+      "published": "Online Store"
+    },
+    {
+      "dwSku": "DWCO2-672814",
+      "shopify_id": "gid://shopify/Product/7896384995379",
+      "status": "ACTIVE",
+      "published": "Online Store"
+    },
+    {
+      "dwSku": "DWCO2-672815",
+      "shopify_id": "gid://shopify/Product/7896385454131",
+      "status": "ACTIVE",
+      "published": "Online Store"
+    },
+    {
+      "dwSku": "DWCO2-672816",
+      "shopify_id": "gid://shopify/Product/7896385781811",
+      "status": "ACTIVE",
+      "published": "Online Store"
+    },
+    {
+      "dwSku": "DWCO2-672817",
+      "shopify_id": "gid://shopify/Product/7896386142259",
+      "status": "ACTIVE",
+      "published": "Online Store"
+    },
+    {
+      "dwSku": "DWCO2-672818",
+      "shopify_id": "gid://shopify/Product/7896386338867",
+      "status": "ACTIVE",
+      "published": "Online Store"
+    },
+    {
+      "dwSku": "DWCO2-672819",
+      "shopify_id": "gid://shopify/Product/7896386568243",
+      "status": "ACTIVE",
+      "published": "Online Store"
+    },
+    {
+      "dwSku": "DWCO2-672820",
+      "shopify_id": "gid://shopify/Product/7896387059763",
+      "status": "ACTIVE",
+      "published": "Online Store"
+    },
+    {
+      "dwSku": "DWCO2-672821",
+      "shopify_id": "gid://shopify/Product/7896387354675",
+      "status": "ACTIVE",
+      "published": "Online Store"
+    },
+    {
+      "dwSku": "DWCO2-672822",
+      "shopify_id": "gid://shopify/Product/7896387715123",
+      "status": "ACTIVE",
+      "published": "Online Store"
+    },
+    {
+      "dwSku": "DWCO2-672823",
+      "shopify_id": "gid://shopify/Product/7896388042803",
+      "status": "ACTIVE",
+      "published": "Online Store"
+    },
+    {
+      "dwSku": "DWCO2-672829",
+      "shopify_id": "gid://shopify/Product/7896388567091",
+      "status": "ACTIVE",
+      "published": "Online Store"
+    },
+    {
+      "dwSku": "DWCO2-672830",
+      "shopify_id": "gid://shopify/Product/7896388763699",
+      "status": "ACTIVE",
+      "published": "Online Store"
+    },
+    {
+      "dwSku": "DWCO2-672831",
+      "shopify_id": "gid://shopify/Product/7896389091379",
+      "status": "ACTIVE",
+      "published": "Online Store"
+    },
+    {
+      "dwSku": "DWCO2-672832",
+      "shopify_id": "gid://shopify/Product/7896389582899",
+      "status": "ACTIVE",
+      "published": "Online Store"
+    },
+    {
+      "dwSku": "DWCO2-672833",
+      "shopify_id": "gid://shopify/Product/7896389812275",
+      "status": "ACTIVE",
+      "published": "Online Store"
+    },
+    {
+      "dwSku": "DWCO2-672834",
+      "shopify_id": "gid://shopify/Product/7896390828083",
+      "status": "ACTIVE",
+      "published": "Online Store"
+    },
+    {
+      "dwSku": "DWCO2-672835",
+      "shopify_id": "gid://shopify/Product/7896391483443",
+      "status": "ACTIVE",
+      "published": "Online Store"
+    },
+    {
+      "dwSku": "DWCO2-672836",
+      "shopify_id": "gid://shopify/Product/7896392106035",
+      "status": "ACTIVE",
+      "published": "Online Store"
+    },
+    {
+      "dwSku": "DWCO2-672837",
+      "shopify_id": "gid://shopify/Product/7896393056307",
+      "status": "ACTIVE",
+      "published": "Online Store"
+    },
+    {
+      "dwSku": "DWCO2-672838",
+      "shopify_id": "gid://shopify/Product/7896393580595",
+      "status": "ACTIVE",
+      "published": "Online Store"
+    },
+    {
+      "dwSku": "DWCO2-672839",
+      "shopify_id": "gid://shopify/Product/7896394301491",
+      "status": "ACTIVE",
+      "published": "Online Store"
+    },
+    {
+      "dwSku": "DWCO2-672840",
+      "shopify_id": "gid://shopify/Product/7896395350067",
+      "status": "ACTIVE",
+      "published": "Online Store"
+    },
+    {
+      "dwSku": "DWCO2-672841",
+      "shopify_id": "gid://shopify/Product/7896396038195",
+      "status": "ACTIVE",
+      "published": "Online Store"
+    },
+    {
+      "dwSku": "DWCO2-672842",
+      "shopify_id": "gid://shopify/Product/7896396791859",
+      "status": "ACTIVE",
+      "published": "Online Store"
+    },
+    {
+      "dwSku": "DWCO2-672843",
+      "shopify_id": "gid://shopify/Product/7896397676595",
+      "status": "ACTIVE",
+      "published": "Online Store"
+    },
+    {
+      "dwSku": "DWCO2-672844",
+      "shopify_id": "gid://shopify/Product/7896398168115",
+      "status": "ACTIVE",
+      "published": "Online Store"
+    },
+    {
+      "dwSku": "DWCO2-672845",
+      "shopify_id": "gid://shopify/Product/7896398856243",
+      "status": "ACTIVE",
+      "published": "Online Store"
+    },
+    {
+      "dwSku": "DWCO2-672846",
+      "shopify_id": "gid://shopify/Product/7896399085619",
+      "status": "ACTIVE",
+      "published": "Online Store"
+    }
+  ]
+}
\ No newline at end of file
diff --git a/coordonne-collab-audit/cotswolds-activate-wallcoverings.js b/coordonne-collab-audit/cotswolds-activate-wallcoverings.js
new file mode 100644
index 0000000..db9f7e2
--- /dev/null
+++ b/coordonne-collab-audit/cotswolds-activate-wallcoverings.js
@@ -0,0 +1,50 @@
+#!/usr/bin/env node
+// Activate the 29 Cotswolds WALLCOVERINGS (Steve-approved 2026-07-22, DTD verdict B).
+// Per SKU: add "New Arrival" tag -> status ACTIVE -> publish to Online Store ONLY.
+// EXPLICITLY does NOT publish to Google & YouTube (avoids the $4.25 sample GMC leak).
+// The 8 murals are NOT touched (held for the Coco Dávez mural batch).
+const fs = require('fs'), path = require('path');
+const ENV = fs.readFileSync(path.join(__dirname, '..', '.env'), 'utf8');
+const TOKEN = (ENV.match(/^SHOPIFY_ADMIN_TOKEN=(.+)$/m) || [])[1];
+const DOMAIN = 'designer-laboratory-sandbox.myshopify.com', VER = '2024-10';
+const ONLINE_STORE = 'gid://shopify/Publication/22208643184';
+const GOOGLE = 'gid://shopify/Publication/29646651457'; // must NEVER appear below
+if (!TOKEN) { console.error('no token'); process.exit(1); }
+const DRY = process.env.DRY === '1';
+
+async function gql(query, variables) {
+  const r = await fetch(`https://${DOMAIN}/admin/api/${VER}/graphql.json`, {
+    method: 'POST', headers: { 'X-Shopify-Access-Token': TOKEN, 'Content-Type': 'application/json' },
+    body: JSON.stringify({ query, variables }),
+  });
+  return r.json();
+}
+const M_TAGS = `mutation($id: ID!, $tags: [String!]!) { tagsAdd(id: $id, tags: $tags) { userErrors { message } } }`;
+const M_UPDATE = `mutation($input: ProductInput!) { productUpdate(input: $input) { product { id status } userErrors { field message } } }`;
+const M_PUBLISH = `mutation($id: ID!, $input: [PublicationInput!]!) { publishablePublish(id: $id, input: $input) { userErrors { field message } } }`;
+
+(async () => {
+  const created = JSON.parse(fs.readFileSync(path.join(__dirname, 'cotswolds-create-result.json'), 'utf8')).results;
+  const wall = created.filter(r => r.productType === 'Wallcovering' && r.shopify_id);
+  const results = []; let done = 0, err = 0;
+  for (const p of wall) {
+    const id = p.shopify_id;
+    if (DRY) { process.stderr.write(`[DRY] activate ${p.dwSku} ${p.title}\n`); results.push({ dwSku: p.dwSku, status: 'DRY' }); continue; }
+    const errs = [];
+    // 1) New Arrival tag
+    const t = await gql(M_TAGS, { id, tags: ['New Arrival'] });
+    (t?.data?.tagsAdd?.userErrors || []).forEach(e => errs.push('tag:' + e.message));
+    // 2) status ACTIVE
+    const u = await gql(M_UPDATE, { input: { id, status: 'ACTIVE' } });
+    (u?.data?.productUpdate?.userErrors || []).forEach(e => errs.push('update:' + e.message));
+    const newStatus = u?.data?.productUpdate?.product?.status;
+    // 3) publish to Online Store ONLY
+    const pub = await gql(M_PUBLISH, { id, input: [{ publicationId: ONLINE_STORE }] });
+    (pub?.data?.publishablePublish?.userErrors || []).forEach(e => errs.push('publish:' + e.message));
+    if (errs.length) { err++; results.push({ dwSku: p.dwSku, status: 'error', errors: errs }); process.stderr.write(`ERR ${p.dwSku}: ${errs.join('; ')}\n`); }
+    else { done++; results.push({ dwSku: p.dwSku, shopify_id: id, status: newStatus, published: 'Online Store' }); process.stderr.write(`OK ${p.dwSku} -> ACTIVE + Online Store + New Arrival\n`); }
+    await new Promise(r => setTimeout(r, 500));
+  }
+  fs.writeFileSync(path.join(__dirname, 'cotswolds-activate-result.json'), JSON.stringify({ activated: done, err, total: wall.length, google_publication_avoided: GOOGLE, results }, null, 2));
+  console.log(JSON.stringify({ activated: done, err, total: wall.length }, null, 2));
+})();

← ffff533 Coordonné Cotswolds (Ybarra & Serret): create 37 settlement-  ·  back to Secrets Manager  ·  auto-save: 2026-07-22T10:13:11 (2 files) — registry.json rou d27dd68 →