Skip to content

Governance: multi-collective, signed-voting, referenda, and runtime wiring#2804

Open
lorismoulin wants to merge 9 commits into
devnet-readyfrom
governance-umbrella
Open

Governance: multi-collective, signed-voting, referenda, and runtime wiring#2804
lorismoulin wants to merge 9 commits into
devnet-readyfrom
governance-umbrella

Conversation

@lorismoulin

@lorismoulin lorismoulin commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

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

  1. pallet-multi-collective — generic membership pallet for multiple named collectives (CollectiveId), membership extrinsics, rotation hooks, benchmarks/weights.
  2. pallet-signed-voting — signed aye/nay voting backend with voter snapshots, tally updates, and cleanup.
  3. pallet-referenda — track-based referendum state machine, decision strategies, scheduling, dispatch safety.
  4. Runtime wiring — Subtensor concrete governance model, root-registration integration, docs, benchmarks, and TypeScript E2E suites.

Docs

Supersedes

This PR now contains the full stack previously split across:

Those stacked PRs are closed in favor of this single review surface.

Testing

cargo test -p pallet-multi-collective
cargo test -p pallet-signed-voting
cargo test -p pallet-referenda
# plus Subtensor integration tests / TypeScript E2E governance suites in ts-tests/

@github-actions

github-actions Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

🛡️ 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. /tmp/ai-review-context/pr-diff.patch is empty, so there are no PR-side .github/ai-review/* or .github/copilot-instructions.md changes to flag in this snapshot.

Findings

No findings.

Conclusion

No 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 (pr-diff.patch is 0 bytes) and pr-files.json lists no changed files, so there is no runtime, pallet, node, dependency, or tooling change to audit. The PR body is substantive and accurately describes this as an umbrella branch for stacked governance PRs.

No spec-version bump is required. I did not run builds or tests because there is no changed code to confirm.

Findings

No findings.

Conclusion

Approved 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.

@github-actions

Copy link
Copy Markdown
Contributor

🔄 AI review updated — Skeptic: SAFE Auditor: 👍

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

🔄 AI review updated — Skeptic: SAFE Auditor: 👍

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

🔄 AI review updated — Skeptic: SAFE Auditor: 👍

Bring multi-collective, signed-voting, referenda, and runtime wiring into the single governance umbrella branch.
@vercel

vercel Bot commented Jul 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
subtensor Error Error Jul 14, 2026 5:34pm

Request Review

@IntiTechnologies

Copy link
Copy Markdown
Contributor

Consolidated the stacked governance PRs into this single PR.

Please review here going forward.

@IntiTechnologies IntiTechnologies changed the title Governance umbrella Governance: multi-collective, signed-voting, referenda, and runtime wiring Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants