There is a concept in computing that is called Game Theory, which at one time was as hot an item as artificial intelligence is at this moment. A well known test during that period was the so-called "prisoner's dilemma", where two prisoners were being questioned turn after turn. The details of the game you can easily find out yourself, but the most successful strategy to win this "game" proved to be surprisingly simple.
Four simple steps, no complex predictions or strategies, just Tit for Tat:
Uncompromising Alignment: It begins with 100% cooperation. It never fires the first shot. It does not create unnecessary chaos or burn energy on unprovoked aggression.
Instant Retaliation: The exact millisecond an opponent defects, Tit for Tat strikes back in the very next round. There is zero hesitation. It refuses to be a pushover, sending an immediate signal that exploitation carries an instant, heavy tax.
Total Re-entry: The moment the opponent stops defecting and returns to cooperation, Tit for Tat drops the past completely. It doesn't whine, it doesn't lecture, and it doesn't seek extra revenge. The slate is wiped clean, and mutual progress resumes.
Absolute Clarity: It is entirely predictable. It doesn't try to be clever or opaque. The opponent knows exactly what triggers a strike and exactly what rewards alliance.