Poppy cultivation, heroin production, terrorist attacks and territory controlled by the Taliban are now at or near record highs. President Ashraf Ghani said recently that Afghanistan’s military — and the government itself — would be in danger of imminent collapse, perhaps within days, if U.S. assistance stops.