← back to Dw Title Repair
TK-11376: add supplement rollback (t8) and document the 17-id map overlap
36da240d82d0546dce2707abae1f61eeebda8f2b · 2026-09-10 10:48:24 -0700 · steve
The supplement was validated for TITLE collisions against the main plan but NOT
for product-ID overlap. 17 ids appear in both maps with different targets. t3 ran
first and won; t2 correctly detected drift and skipped, so nothing was double-written
and all 17 are distinctly titled live. But rollback needed a supplement undo, and the
two must run in order t8 -> t9 or those 17 never return to their original titles.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Files touched
Diff
commit 36da240d82d0546dce2707abae1f61eeebda8f2b
Author: steve <steve@designerwallcoverings.com>
Date: Thu Sep 10 10:48:24 2026 -0700
TK-11376: add supplement rollback (t8) and document the 17-id map overlap
The supplement was validated for TITLE collisions against the main plan but NOT
for product-ID overlap. 17 ids appear in both maps with different targets. t3 ran
first and won; t2 correctly detected drift and skipped, so nothing was double-written
and all 17 are distinctly titled live. But rollback needed a supplement undo, and the
two must run in order t8 -> t9 or those 17 never return to their original titles.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
---
t9-note.md | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/t9-note.md b/t9-note.md
new file mode 100644
index 0000000..319cc7e
--- /dev/null
+++ b/t9-note.md
@@ -0,0 +1,11 @@
+# TK-11376 rollback order (IMPORTANT)
+
+17 product ids appear in BOTH restore-map.tsv and restore-map-supp.tsv with DIFFERENT targets.
+The supplement (t3) ran first and won, so for those 17 the LIVE title is the SUPPLEMENT's value.
+The main rollback (t9) expects the MAIN target and will correctly skip them as `drifted`.
+
+Correct full rollback:
+ bash ~/t8.sh # supplement first (920 rows, includes the 17)
+ bash ~/t9.sh # then main (12,759 rows)
+
+Running t9 alone leaves those 17 on their supplement title, NOT their original.
← 2933b94 TK-11376: re-read 3x before declaring a product not_found
·
back to Dw Title Repair
·
TK-11376 supplement 2: 902 more via clean manufacturer_sku m 85acf92 →