agreement ... will
This question is discussed at length in
On Social Contract
, Book II, Chapter 3, on "Whether the General Will Can Err."