Governance: multi-collective, signed-voting, referenda, and runtime wiring#2804
Governance: multi-collective, signed-voting, referenda, and runtime wiring#2804lorismoulin wants to merge 9 commits into
Conversation
🛡️ AI Review — Skeptic (security review)VERDICT: SAFE BASELINE scrutiny: l0r1s is an established contributor with repository write permission; no Gittensor allowlist hit found; governance-umbrella -> devnet-ready. Cached PR metadata reports 0 changed files, 0 additions, and 0 deletions. FindingsNo findings. ConclusionNo malicious code or security vulnerability is present in the cached diff because this PR currently contains no file changes. Re-run Skeptic after substantive commits are pushed. 🔍 AI Review — Auditor (domain review)VERDICT: 👍 Gittensor: UNKNOWN; author has repository write permission and substantial prior contribution history. Diff is empty, with no overlapping changed files. The prefetched PR diff is empty ( No spec-version bump is required. I did not run builds or tests because there is no changed code to confirm. FindingsNo findings. ConclusionApproved for the current empty diff only. The stacked governance PRs still need their own full domain reviews before they are merged into this umbrella branch. |
|
🔄 AI review updated — Skeptic: SAFE Auditor: 👍 |
|
🔄 AI review updated — Skeptic: SAFE Auditor: 👍 |
|
🔄 AI review updated — Skeptic: SAFE Auditor: 👍 |
Bring multi-collective, signed-voting, referenda, and runtime wiring into the single governance umbrella branch.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Consolidated the stacked governance PRs into this single PR.
Please review here going forward. |
Summary
Single PR for the Subtensor on-chain governance stack (consolidates #2804–#2808).
Introduces a two-stage on-chain governance flow for root calls: proposers submit, the Triumvirate approves or rejects, and the Economic + Building review set can fast-track, delay, or cancel enactment.
Included layers
pallet-multi-collective— generic membership pallet for multiple named collectives (CollectiveId), membership extrinsics, rotation hooks, benchmarks/weights.pallet-signed-voting— signed aye/nay voting backend with voter snapshots, tally updates, and cleanup.pallet-referenda— track-based referendum state machine, decision strategies, scheduling, dispatch safety.Docs
pallets/multi-collective/README.mdpallets/signed-voting/README.mdpallets/referenda/README.mddocs/governance/README.mdruntime/src/governance/README.mdSupersedes
This PR now contains the full stack previously split across:
[Governance 1/4] Introduce pallet-multi-collective[Governance 2/4] Introduce pallet-signed-voting[Governance 3/4] Introduce pallet-referenda[Governance 4/4] Runtime wiringThose stacked PRs are closed in favor of this single review surface.
Testing