← back to Roll On Fabric Fix
README.md
22 lines
# Roll-on-fabric fix (PREP — nothing live)
45 Mulberry fabrics carry a stray legacy `global.unit_of_measure = "Full Roll"` metafield alongside
the correct `global.Unit of measure = "YARD"`. This deletes the stray key (canonical YARD stays),
which also stops the roll-on-fabric canary's daily false-FAIL noise. Built 2026-08-01.
## Work-list (`data/worklist.json`) — 45, each pre-verified
Legacy key present AND canonical YARD present (safe to delete). Carries mf_id + full legacy def for undo.
## Fix
- `fix.py` — DELETEs the legacy metafield per product. DRY-RUN default; live needs `--apply` +
`ROLLFIX_CONFIRM=YES`; `--canary N`. `reverse.py` re-creates the exact legacy metafield (undo).
## Note
This removes the LIVE stray keys (~45 Mulberry). The ~407 Brunschwig the canary also flags are
mirror-stale FALSE POSITIVES (already clean live) — do NOT touch them; they clear when the mirror
sync is fixed (replace-not-merge, separate code task). Memo:
`~/.claude/yolo-queue/pending-approval/2026-08-01-roll-on-fabric-canary-decomposed.md`
## Go-live (Steve-gated)
`ROLLFIX_CONFIRM=YES python3 fix.py --apply --canary 5` → re-run the canary → widen to 45.