Senior players can ignore this, you recycle all your common/uncommon gear.
I tried to sell some bad common gear at market price but that was impossible:

Lowest possible selling price is a lot higher than the gear on the market.
And the price on common pants is soon higher than crafting them.

So the easy fix is just to set lowest possible price to a tiny bit lower than cheapest parts on the market.
But maybe vibe coding can't handle such a difficult algorithm.