Changelog entry
Alliance governance: vote tallying + auto-execution (P3.2B)
2026-03-23
- Proposals now automatically resolve at tick-time when their voting window closes (deterministic, server-authoritative).
- Three threshold modes supported per proposal: **Simple majority** (>50%), **Supermajority** (>66%), and **Leader override** (leader YES vote auto-passes).
- Quorum check enforced: a configurable minimum number of member votes must be cast or the proposal is rejected.
- Passed proposals auto-execute: `DECLARE_WAR` activates alliance war mode, `ENACT_EMBARGO` creates an active embargo, `LIFT_EMBARGO` lifts an existing embargo, `KICK_MEMBER` removes the member, `PROMOTE_MEMBER`/`DEMOTE_OFFICER` updates the member's role, and `ELECT_LEADER` transfers alliance leadership.
- Emergency proposals (`isEmergency: true`) require supermajority to pass.
- A `GovernanceProposalResolved` event is logged to the alliance event log for each resolved proposal.