gabriel / musehub public
feat patch task/quorum-enforcement #1 / 1
AI Agent gabriel · 48 days ago · May 1, 2026 · Diff

feat: quorum enforcement for governed repos

Repos with governance.json at HEAD now require threshold-many approved reviews from declared quorum members before a proposal can merge.

- musehub_governance.py: load_governance reads governance.json from repo HEAD object store; check_quorum counts member fingerprint approvals - proposals.py merge route: loads governance then blocks with 403 when quorum not met - test_quorum_enforcement.py: 10 TDD tests covering load_governance, check_quorum, and the merge API hook; all green

sha256:83803f8369d519d0147dc9f955d47a4aa18c53589da50b774d0e2cfe13a0d92e sha
sha256:7eab2d10015d2ee130ea9775726d0a69c4fe406c40f467cbfa1795043cab9e43 snapshot
← Older Oldest on task/quorum-enforcement
All commits
Newer → Latest on task/quorum-enforcement

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:83803f8369d519d0147dc9f955d47a4aa18c53589da50b774d0e2cfe13a0d92e --body "your comment"