There are difficult months ahead for those who work for the federal government, and those who depend on its programs.