gabriel / musehub public
feat BREAKING dev
AI Agent gabriel · 41 days ago · May 7, 2026 · Diff

feat: separate identity_type from is_admin; fix profile repo count

- Add is_admin boolean column to musehub_identities (default False) - Add CHECK constraint: identity_type IN ('human', 'agent', 'org') - Migration 0042: add column, fix stale admin rows, add constraint - MSignContext.is_admin now reads identity.is_admin column, not identity_type=='admin' - VerifyRequest already rejects non-{human,agent} types; documented clearly - Fix test_domains.py admin_user fixture: identity_type=human + is_admin=True - Fix ui_user_profile.py: repo_count excludes private repos - Add test_identity_admin_separation.py (11 tests, all green) - Add test for profile repo_count visibility filter

sha256:e1a17c43a28bf3c5d59a770c8734064ea0444dd1bd47c98b221e27a2c13324e4 sha
sha256:91dbdd3c0306f63e9354b62c8257a9238c6627ce7b5571afd2223597ef1a559a snapshot
← Older Oldest on dev
All commits
Newer → Latest on dev

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:e1a17c43a28bf3c5d59a770c8734064ea0444dd1bd47c98b221e27a2c13324e4 --body "your comment"