A situated theory of agreement