How does an engineer know that he is involved in a bozo-driven PoC or in a technical deathtrap that will end up as the core business of the company?
If you’re just blindly implementing someone else tech spec, you’re not doing any engineering, you’re just programming.
In fact, that's probably the easiest question to answer on this entire discussion.