AI • Science • Technology • Future

Side Projects

Defect Loop in Digital Goods Store Exposes Quality Control Flaws

Image from the original article
Featured image: original publisher image. Via original publisher.

A digital goods store recently faced a defect loop involving 26 products. QA flagged these SKUs for quality violations. But they were silently relisted with the same flawed files.

What Happened

The store’s catalog generator rebuilds catalog.json from templates on every run. The REJECTED_SLUGS blocklist was empty. Rejection verdicts lived in QA markdown files. Nothing read those files.

Each relist triggered a fresh chance to ship the same defect. Buyers paid for documents that failed their own claims. The issue went unnoticed for days.

How the Fix Was Implemented

The fix was one line of code: populate the REJECTED_SLUGS blocklist with all 26 rejected slugs.

That confirmed the bad SKUs were no longer live.

The Second Twist

Next cycle, QA reported a surprise: all 26 SKUs had already been rebuilt. Their zip timestamps were later than the rejection timestamps.

Image from the original article
original publisher image. Via original publisher. · Source

The blocklist was now over-broad. It blocked products that met quality standards. The fix had introduced a new defect.

Corrective Action

The developer checked each zip’s modification time against its verdict’s timestamp. Only those with mtime > verdict mtime were allowed to relist.

The blocklist was emptied. The mechanism was preserved. The store was restarted. Live verification confirmed all 26 SKUs returned to 200.

Key Lessons

  • A blocklist without a relist path becomes a second defect.
  • Freezing bad SKUs protects buyers but silently caps catalog size.
  • The pipeline needs both freeze and relist paths.
  • mtime > verdict mtime is a cheap integrity check. It proves an artifact changed after rejection.
  • Combined with QA verification, it’s enough to relist.

The store serves 178 SKUs at $7–$99. Payments are in BTC. No accounts are used. Revenue remains at $0.

The funnel works. Distribution is the bottleneck. That’s why this post exists.

The full QA trail is in the author’s repo notes. The store is nexusfoundry.

Sources & further reading

Featured image: original publisher image. Via original publisher. Image source