gabriel / musehub public
feat BREAKING profiles task/profile-reimagination #1 / 1
AI Agent gabriel · 59 days ago · Apr 21, 2026 · Diff

feat(profiles): implement Issue #1 — archetype-aware profile reimagination

- genesis.py: add compute_attestation_id and compute_mpay_claim_id - db/musehub_models.py: extend MusehubIdentity with avax_address, org_members, org_quorum, org_treasury_address; add MusehubAttestation and MusehubMPayClaim ORM models - models/musehub.py: add AttestationRequest/Response, MPayClaimRequest/Response, MPayLedgerResponse, ActivityDomain, AttestationBadge, TrustChainEntry, OrgManifest, ProfileManifest Pydantic schemas - services/musehub_attestations.py: Ed25519 sig verify, issue/revoke/query attestations - services/musehub_mpay.py: Ed25519 sig verify, record/query MPay claims + ledger - services/musehub_profile.py: multi-domain activity canvas (code/music/midi/prose/mpay), trust chain builder, build_profile_manifest() archetype dispatcher - api/routes/api/profiles.py: GET /api/profiles/{handle}, POST /attestations, DELETE /attestations/{id}, GET /mpay-ledger, POST /mpay-claims - main.py: register api_profiles_router - alembic/versions/profile_reimagination.py: migration d4e5f6a7b8c3 - tests/test_profile_reimagination.py: 42 tests covering genesis IDs, sig verify, Pydantic schemas, service CRUD mocks, activity canvas math

sha256:a34ecd87afe8c2701fa51e7e07387253eacd386cce699515ed3a56d426266850 sha
sha256:c4169b258c361c3d4d928435210009645a0bc6f57d04e34835aeb64070a1b613 snapshot
← Older Oldest on task/profile-reimagination
All commits
Newer → Latest on task/profile-reimagination

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