Please let us not make this system too automatized. We need flexibility there because wars can go for some time and circumstances may change.
Maybe you managed to conquer three enemy regions but they conquered four of yours. And then bam - you automatically offer peace.
And, of course, I already have on my list making all of these aspects of goals mutual, so that the defender has to declare their own intentions
Good idea.