If a program could program itself?.... (AI)

That's the point, you will never have dependability!