feat
patch
identity
task/identity-migration-backfill
#1 / 1
feat(identity): migration backfill — identity repos for pre-Phase-1 identities
- Add musehub/maintenance/identity_backfill.py backfill_identity_repos(session) creates identity repos for all identities that don't already have one. Idempotent — skips existing repos. Resolves pubkey from most-recently-created MusehubAuthKey for human/agent. Org identities: pubkey=None, quorum from org_quorum column. Skips soft-deleted identities. Returns {total, created, skipped} summary dict. - Add 9-test TDD suite: test_identity_repo_migration.py creates repo for human/agent/org, null pubkey for keyless identity, idempotent (no duplicate repo, single commit), skips deleted, return counts
Cumulative: 75 tests GREEN (66 phase tests + 9 migration tests, +1 quorum = 76).
sha256:2686a326eba5e65c950da7840fa1512e564b31a0857fa001dac8f5ab5337d1a0
sha
sha256:12eec2ef9c3a44a1a4422196526970a04059f9a4537964e21d1f392b58bfe3e0
snapshot
← Older
Oldest on task/identity-migration-backfill
All commits
Newer →
Latest on task/identity-migration-backfill
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:2686a326eba5e65c950da7840fa1512e564b31a0857fa001dac8f5ab5337d1a0 --body "your comment"
No comments yet. Be the first to start the discussion.