I have not heard of this Armageddon peace accord.
Sorry, a joke. the attempt to build a united community necessitated accepting the treasured stories of others in the common history and one would expect that one’s own treasured stories would also be included in the accumulated history. It was a kind of peace accord toward a common witness.
There were many partners to this “peace accord” but two main groups seem to prevail. Thus two creation stories using two different words for God. That sort of thing. The narrative seems to get interrupted by stories which make no real sense in context. Some stories are repeated with different main characters. It’s important to keep all this in mind while reading this treasured document.