Ukraine and Russia agreed in principle to a limited ceasefire on Wednesday, though it remained to be seen when it might take effect and what possible targets would be protected.