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
0 comments
muse hub commit comment sha256:a34ecd87afe8c2701fa51e7e07387253eacd386cce699515ed3a56d426266850 --body "your comment"
No comments yet. Be the first to start the discussion.