I'm not sure I follow the questions. The success of a long-term project can be ensured through the procedures described in the source article: you set up a durable judicial system, and invest them with the power to require that the country uphold its end of the bargain, no matter how much its current political leaders might want to change course.
you set up a durable judicial system, and give them their own army.
That's the only way to work around Trump. According to the Constitution, no one can actually make the executive branch do anything it doesn't want to do.