gabriel / muse public
feat patch social task/social-domain-phase00 #1 / 1
AI Agent gabriel · 40 days ago · May 2, 2026 · Diff

feat(social): Phase 00 — SocialPlugin core domain plugin

Implements the full MuseDomainPlugin protocol for the social domain.

- muse/plugins/social/plugin.py: SocialPlugin with all 6 required methods (snapshot, diff, merge, drift, apply, schema). Merge is set-algebraic for posts/, reactions/, and graph/ namespaces; profile.json conflicts on concurrent edits from both branches. Follow graph uses per-person files (graph/follows/<handle>.json) so set-union is automatic. - muse/plugins/registry.py: registers SocialPlugin under domain key 'social' - tests/test_social_plugin.py: 43 tests across 6 classes — shape, schema, in-memory ops, merge semantics, and docstring coverage. All RED before implementation, all GREEN after.

sha256:fb3818f8b5ecd70c1f7d4b010eba61742d0c4994ef3abb96004a52dee9d12860 sha
sha256:69f4a437bc06d4764632e76ffc46ecda3c63437cab3664c391e3ec41907152dc snapshot
← Older Oldest on task/social-domain-phase00
All commits
Newer → Latest on task/social-domain-phase00

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