The agreement would keep most federal funding in place for the departments of Defense, Labor, Transportation and Housing and Urban Development.