Yet clearly the trick of "is it dyed or not" is tracked somewhere, because workshop orders allow you to distinguish "use dyed cloth only". Perhaps a memory-light way would be to check for thread with any decorations, not specifically dyes. Thread will only ever naturally be decorated via dye, any other decorations would have to be modded in. So, instead of checking, "Does this have red, blue, black, silver, or green dye?" it could instead check "Does this have anything?" That's ultimately the only thing I found missing, otherwise a streamlined textile production would be very easy and powerful.
Although I must say, using the job item-material tool and repeating job orders is fun. Can specifically order to keep honey-coated goat liver with ale in stock, by setting a kitchen's order to change the materials requested, and then setting a workflow to keep meals stocked. It also makes very high-value food production easier, just order a kitchen to use dwarven syrup, rock nut leaves, and whatever else you need to balance value vs. stack size to make valuable meals and boost dwarven morale or conduct hilariously lucrative trade.