[object Object]

← back to Dw Yolo Loop

GMC $4.25 feed-price blast-radius count (read-only audit); remove incomplete gate-probe scratch

d9b77f99d5705ccfc62750a14bbb2fef0eb5cf88 · 2026-06-15 09:28:36 -0700 · Steve Abrams

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

Files touched

Diff

commit d9b77f99d5705ccfc62750a14bbb2fef0eb5cf88
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Mon Jun 15 09:28:36 2026 -0700

    GMC $4.25 feed-price blast-radius count (read-only audit); remove incomplete gate-probe scratch
    
    Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
---
 gmc-gate-probe.js | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/gmc-gate-probe.js b/gmc-gate-probe.js
deleted file mode 100644
index b6de185..0000000
--- a/gmc-gate-probe.js
+++ /dev/null
@@ -1,14 +0,0 @@
-const fs=require('fs');
-const SHOP='designer-laboratory-sandbox.myshopify.com',VERSION='2024-10';
-const ENV=fs.readFileSync('/Users/stevestudio2/Projects/secrets-manager/.env','utf8');
-const TOKEN=(ENV.match(/^SHOPIFY_ADMIN_TOKEN=(.+)$/m)||[])[1];
-const URL=`https://${SHOP}/admin/api/${VERSION}/graphql.json`;
-const sleep=ms=>new Promise(r=>setTimeout(r,ms));
-async function gql(q,v){for(let a=0;a<7;a++){let res;try{res=await fetch(URL,{method:'POST',headers:{'X-Shopify-Access-Token':TOKEN,'Content-Type':'application/json'},body:JSON.stringify({query:q,variables:v})});}catch(e){await sleep(2000*(a+1));continue;}if(res.status===429){await sleep(2000*(a+1));continue;}const j=await res.json();if(j.errors){if(JSON.stringify(j.errors).includes('THROTTLED')){await sleep(2000*(a+1));continue;}throw new Error(JSON.stringify(j.errors));}const av=j.extensions?.cost?.throttleStatus?.currentlyAvailable??4000;if(av<400)await sleep(1500);return j.data;}throw new Error('retries');}
-const Q=`query($c:String){products(first:120,after:$c,query:"status:active"){pageInfo{hasNextPage endCursor}nodes{featuredImage{url} widthMeta:metafield(namespace:"custom",key:"width"){value} widthMeta2:metafield(namespace:"specs",key:"width"){value}}}}`;
-(async()=>{let cursor=null,total=0,pages=0,noImg=0,hasImg=0,noWidth=0,hasWidth=0,imgAndWidth=0;
-while(true){const d=await gql(Q,{cursor});const c=d.products;pages++;
-for(const p of c.nodes){total++;const img=!!p.featuredImage?.url;const w=!!(p.widthMeta?.value||p.widthMeta2?.value);if(img)hasImg++;else noImg++;if(w)hasWidth++;else noWidth++;if(img&&w)imgAndWidth++;}
-if(!c.pageInfo.hasNextPage)break;cursor=c.pageInfo.endCursor;if(pages%15===0)process.stderr.write(`  ...${total} ${pages}p\n`);}
-const out={total_active:total,pages,has_image:hasImg,no_image:noImg,has_width_metafield:hasWidth,no_width_metafield:noWidth,image_AND_width:imgAndWidth};
-console.log(JSON.stringify(out,null,2));fs.writeFileSync('/Users/stevestudio2/Projects/designerwallcoverings/gmc-gate-probe.json',JSON.stringify(out,null,2));})().catch(e=>{console.error('FATAL',e.message);process.exit(1);});

← f1da716 ROOT CAUSE + FIX: Kravet MAP push now unit-aware (ROLL-only  ·  back to Dw Yolo Loop  ·  brands page: 3 audit fixes — promote title to <h1> (SEO), in c50964f →