The accord under which North Korea agreed to abandon all its nuclear programs in exchange for economic and diplomatic benefits has been bogged down by Pyongyang 's failure to produce a declaration of those programs by the end of last year .