After weeks of rising tension, Afghanistan and Pakistan have agreed to a fragile ceasefire, but the peace feels razor-thin.