You say past,agreements are no guarantee. If a law is passed in a previous Congressional session is it good when session ends? If the funds were authorized as part of legislation passed and signed then why is that authorization not still in place? Was there other legislation passed to overturn the original authorizing the wall?
Here is a link to understanding how that works.... It explain it far better than I can. Good luck.
http://www.crfb.org/papers/updated-appropriations-101-1