[object Object]

← back to Sanderson Onboard

chore: lint (0 fixes) + refactor (dedup isVerified in reconcile_from_feed) + v1.1.1 (session close, TK-10873)

c27e3d8f9c9461ef8a20bff089e2602238e68cba · 2026-08-30 23:57:57 -0700 · Steve Abrams

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

Files touched

Diff

commit c27e3d8f9c9461ef8a20bff089e2602238e68cba
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Sun Aug 30 23:57:57 2026 -0700

    chore: lint (0 fixes) + refactor (dedup isVerified in reconcile_from_feed) + v1.1.1 (session close, TK-10873)
    
    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---
 VERSION                         | 2 +-
 tk10873/reconcile_from_feed.mjs | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/VERSION b/VERSION
index 9084fa2..524cb55 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.1.0
+1.1.1
diff --git a/tk10873/reconcile_from_feed.mjs b/tk10873/reconcile_from_feed.mjs
index d8993da..37c9350 100644
--- a/tk10873/reconcile_from_feed.mjs
+++ b/tk10873/reconcile_from_feed.mjs
@@ -50,7 +50,8 @@ function main() {
     if (row.action !== 'REPRICE') { v2.push(row); continue; }
     const f = feed.get(row.mfr_sku);
     const { price, source, changed } = reconcilePrice(row, f);
-    if (source.startsWith('S1_feed')) {
+    const isVerified = source.startsWith('S1_feed');
+    if (isVerified) {
       if (changed) repriced_from_feed++; else unchanged_confirmed++;
     } else {
       held_unverified++;
@@ -60,7 +61,6 @@ function main() {
     // they must NOT sit in the reprice-now set. Reclassify them OUT of REPRICE so only
     // feed-verified prices are reprice-eligible. Sellable price field = feed retail_usd
     // (= trade/0.65/0.85, the Option-A contract), NOT ssp_usd (which is the MSRP).
-    const isVerified = source.startsWith('S1_feed');
     v2.push({
       ...row,
       action: isVerified ? 'REPRICE' : 'HELD_UNVERIFIED',

← 42a6e25 TK-10873: final handoff / decision package — consolidates 9  ·  back to Sanderson Onboard  ·  TK-10873: restore-map-first live reprice runbook (277 rows, 6493047 →