[object Object]

← back to Fentucci Naturals

TK-11664 Option B: codify Sample qty=2026+tracked carve-out (no Shopify write)

46f9c5c6ffeec2640b612b16a88d1a1859ff6d28 · 2026-09-14 08:33:35 -0700 · Steve Abrams

Steve-approved 2026-09-14. The $4.25 Sample being tracked+DENY+on_hand=2026 is
go-live.py's deliberate quote-only design (ruling 2026-07-26), NOT the TK-11357
$0-restamper fingerprint and NOT a "sample=no tracking" violation. Codified as an
inline CARVE-OUT block in go-live.py + a machine-readable data/sample-qty-carveout.json
with an explicit boundary: a $0 checkout-orderable variant stays an armed defect for
every canary. Documentation/config only — no Shopify or dw_unified write.

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

Files touched

Diff

commit 46f9c5c6ffeec2640b612b16a88d1a1859ff6d28
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Mon Sep 14 08:33:35 2026 -0700

    TK-11664 Option B: codify Sample qty=2026+tracked carve-out (no Shopify write)
    
    Steve-approved 2026-09-14. The $4.25 Sample being tracked+DENY+on_hand=2026 is
    go-live.py's deliberate quote-only design (ruling 2026-07-26), NOT the TK-11357
    $0-restamper fingerprint and NOT a "sample=no tracking" violation. Codified as an
    inline CARVE-OUT block in go-live.py + a machine-readable data/sample-qty-carveout.json
    with an explicit boundary: a $0 checkout-orderable variant stays an armed defect for
    every canary. Documentation/config only — no Shopify or dw_unified write.
    
    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---
 data/sample-qty-carveout.json | 31 +++++++++++++++++++++++++++++++
 scripts/go-live.py            | 18 ++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/data/sample-qty-carveout.json b/data/sample-qty-carveout.json
new file mode 100644
index 0000000..23a0f66
--- /dev/null
+++ b/data/sample-qty-carveout.json
@@ -0,0 +1,31 @@
+{
+  "ticket": "TK-11664",
+  "approved_by": "Steve",
+  "approved_at": "2026-09-14",
+  "option": "B — keep go-live.py's deliberate design; codify the carve-out (documentation/config only; NO Shopify or dw_unified write)",
+  "ruling_source": "Steve AskUserQuestion 2026-07-26 — activate Fentucci Naturals as QUOTE-ONLY, CMO-Paris precedent; the $4.25 Sample is the sole orderable item.",
+  "vendor": "Fentucci Naturals",
+  "sku_prefix": "DWFN-",
+  "carve_out": {
+    "what_is_intended": "Every ACTIVE Fentucci Naturals product's {DW_SKU}-Sample variant is set by scripts/go-live.py (step 3b) to: price=$4.25, inventory_management=shopify (tracked=true), inventory_policy=deny, on_hand=2026 at Location 5795643504 (15442 Ventura Blvd).",
+    "why": "Quote-only line with no per-yard price yet. Making the $4.25 Sample tracked+DENY+finite is the deliberate mechanism that keeps the Sample the single orderable item and prevents a $0 roll from being checkout-orderable.",
+    "matching_pattern": {
+      "vendor": "Fentucci Naturals",
+      "variant_sku_suffix": "-Sample",
+      "price": "4.25",
+      "inventory_management": "shopify",
+      "inventory_policy": "deny",
+      "on_hand": 2026
+    },
+    "do_not_reflag_as": [
+      "TK-11357 $0-orderable re-stamper fingerprint (that stamps qty=2026 onto a $0 SELLABLE variant; this is a $4.25 SAMPLE, price>0)",
+      "a violation of the general DW 'samples get no inventory tracking' convention"
+    ]
+  },
+  "boundary_NOT_muted": "This carve-out applies ONLY to the -Sample variant at price=$4.25. It narrows NOTHING for a $0-priced variant that is checkout-ORDERABLE — that remains an armed defect and MUST still fire on zero-price-restamp-tripwire, zero-price-orderable-fleet-canary, dw-inventory-stamp-guard-canary, and any future detector. A Sample whose price is NOT $4.25, or a non-Sample variant carrying qty=2026 at $0 orderable, is OUT of this carve-out and stays in scope.",
+  "self_revoke": "If a future audit finds a variant matching matching_pattern but the ruling has been reversed, or the price/policy shape drifts off the pinned values above, this record no longer applies and the variant falls back to a normal (flaggable) writer.",
+  "codified_in": [
+    "scripts/go-live.py (inline CARVE-OUT comment block near TARGET_QTY)",
+    "~/.claude/skills/fentucci-scraper-manager/SKILL.md (Pricing → Sample-tracking CARVE-OUT bullet)"
+  ]
+}
diff --git a/scripts/go-live.py b/scripts/go-live.py
index e56bede..3480cf5 100644
--- a/scripts/go-live.py
+++ b/scripts/go-live.py
@@ -44,6 +44,24 @@ HELD = os.path.join(ROOT, "data", "golive-held.jsonl")
 SHOP = "designer-laboratory-sandbox.myshopify.com"; API = "2024-10"
 LOCATION_GID = "gid://shopify/Location/5795643504"     # 15442 Ventura Blvd.
 TARGET_QTY = 2026
+# ─── CODIFIED CARVE-OUT (TK-11664, Steve-APPROVED 2026-09-14 — Option B) ──────────
+# The Sample variant of this QUOTE-ONLY line is DELIBERATELY set (step 3b below) to
+#   price=$4.25 · inventory_management=shopify (TRACKED) · inventory_policy=deny ·
+#   on_hand=TARGET_QTY(=2026) @ Location 5795643504.
+# This is the line's INTENDED quote-only mechanism per Steve's AskUserQuestion ruling
+# (2026-07-26, CMO-Paris precedent): the $4.25 Sample is the SOLE orderable item, and
+# it is made finite/tracked-DENY so a customer buys a sample, not a $0 roll.
+#
+# DO NOT re-flag this as a defect. Specifically it is NOT:
+#   • the TK-11357 "$0-orderable re-stamper" fingerprint — that stamps qty=2026 onto a
+#     $0 SELLABLE variant; here qty=2026 sits on a $4.25 SAMPLE (price>0), so the
+#     restamp/orderable detectors' price>0 guard correctly skips it.
+#   • a violation of the DW "samples get no inventory tracking" convention — this vendor
+#     is a documented carve-out from that rule (see fentucci-scraper-manager SKILL.md
+#     and data/sample-qty-carveout.json for the machine-readable record + its boundary).
+# The ONLY armed defect on this line is a $0-priced variant that is checkout-ORDERABLE;
+# that stays fully in scope for every canary. This carve-out narrows nothing there.
+# ─────────────────────────────────────────────────────────────────────────────────
 # Google & YouTube (29646651457) EXCLUDED per Steve's rule + GMC $4.25-leak guard.
 PUBLICATIONS = [22208643184, 22497296496, 29739483201, 29776969793, 37904089153,
     43657658419, 44234276915, 44317474867, 44317507635, 71898464307, 115856375859, 140027723827]

← 09562bf chore: v1.0.6 (TK-11471 session close — weight guard on the  ·  back to Fentucci Naturals  ·  TK-11438: migrate postgres pool to unix socket (darwin fallb 7ad86d7 →