feat(functions): Cirque Colors store filter and indie source batch 2 survey #388
All Vouch review confidence checks passed
Residual risk 0.23 = Change Risk (0.52) × (1 − Review Confidence (0.56)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 650 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 96% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #388"
general
weight: 0.35
mattmck
What
Batch 2 of the indie Shopify sources for #273. No new store is added: every remaining Shopify candidate's terms forbid automated access, and the brief says not to add those. The batch delivers the Cirque Colors store filter instead, which is the biggest catalog gain available right now.
connectors/store-filters/cirque-colors.ts, registered inSHOPIFY_STORE_PRODUCT_FILTERS). Cirque'sproduct_typeholds the finish or line (Jelly, Magnetic, Crème, Retired Colors…), so the generic gate kept only 10 of 415 products. The filter now keeps 328 of 415: 293 color, 23 topper, 7 treatment, 4 base coat and 1 top coat by the rule classifier. It drops 85 products: sets, duos, trios, quads, bundles, nail-art kits, tools, charms, stickers, remover, wipes, the gift card, the(100% off)free gifts and the creator profile pages. The bundle tag drops 2 more. Unit tests use a trimmed fixture of the full 2026-10-19 catalog (tests/fixtures/cirque-colors-products.json).shopify-generic.ts). Cirque tags real shades and coats with nail-art tutorial names such as "Abstract Dry Brush", and those tags hit the June tag blocklist. When a store filter keeps such a product, the connector now records the rule category (the one materialization stores) instead ofaccessory. Materialization already re-classified products, so this fixes the normalized record and makes it consistent with what gets stored.classifyProductCategoryanddocs/queries/catalog-hygiene-audit.sqlnow read base coat, top coat and treatment wording in the name, title and product type before the tags. Cirque tags every coat "Top & Base Coat", which made "Looking Glass Top Coat" abase_coat; it is now atop_coat. The next product-category backfill re-files any existing shade whose title and tags disagree in this way.docs/seed_data_sources.sql). Before this change, the seed'sON CONFLICToverwroteenabledand replaced all ofmetadata, which is the issue CodeRabbit raised on the indie migration. A reseed now keeps an existing row'senabledand every metadata key it already has (notes, recorded approval,metadata.ingestion). Missing keys are still filled in.metadata.verificationis merged with the seed's values winning, so re-survey facts reach existing rows. The Cirque seed row recordsstoreFilterPass: 328.docs/indie-sources-2026-10.mdgets a new Batch 2 section; the roadmap §4 catalog-shades row has the dry-run counts; the Functions README covers the connector, data source and store filter sections; the CLAUDE.md connector bullet is updated.Per-store results
| Store | Result |
|---|---|
| Mooncat, Cupcake Polish | Already enabled sources (no change) |
| ILNP | WooCommerce, products.json 404: not a
shopify-genericsource || KBShimmer | Cloudflare challenge (403) |
| Painted Polish | Big Cartel: needs its own connector |
| Stella Chroma, Lemming Lacquer, Sweet & Sour, Maniology, What's Up Nails, F.U.N, Glam Polish, Moon Shine Mani, Dreamland | Terms carry a scraping clause: not added |
| Nails.INC, Ninja Polish | Terms forbid reproducing content without written permission (Ninja is also a multi-brand reseller): not added |
| Great Lakes Lacquer, Bee's Knees, Kathleen & Co, Sassy Sauce, Clionadh | Already sources |
| ~35 other guessed domains | No storefront answer, password page or not Shopify |
Dry-run counts. I ran the connector's own gate (
classifyIngestedProduct+ store filter +isBundle, built from this branch) over each store's downloadedproducts.json:Judgment calls
products.jsonfrom stores whose terms have no such clause or that have already signed off (Cirque, Great Lakes). For the others I made one?limit=1request plus the terms page, the same method as the first survey.ShopifyGenericConnector.pullProductswith Cirque products and checks the categories.20261019013349049_add-more-indie-shopify-sourcesstill has the open CodeRabbit thread on #375 about its Down section. Committed migrations are protected by the repo hook and already applied, so I left it alone. The seed fix here covers the reseed side.Decisions needed
1. Ask the scraping-clause stores for written OK? The best candidates are Stella Chroma, Lemming Lacquer, Sweet & Sour, F.U.N Lacquer, Glam Polish and Moon Shine Mani. I recommend asking the first three, then adding each disabled and pending with the agreement recorded in notes. This blocks any further indie Shopify growth.
2. The +10k target. Indie Shopify is nearly exhausted without store agreements: this batch adds about 316 shades. I recommend prioritizing a non-Shopify route (affiliate/retailer feeds,
docs/data-sources-research.md). This blocks the roadmap §4 metric.No store had odd pagination or rate limiting: Cirque has 2 pages of 250 and Great Lakes 1.
Verification
npm run typecheck✅,npm run lint✅ (0 errors; 11 pre-existing web warnings)npm test --workspace=swatchwatch-functions: 2214 pass, 0 fail (includes 10 new Cirque tests and a coat-precedence classifier test)docs-sync-checkeragent: flagged the CLAUDE.md connector bullet, now updatedPart of #273
🤖 Generated with Claude Code