gabriel / musehub public
feat patch social task/social-domain-phase02 #1 / 1
AI Agent gabriel · 47 days ago · May 2, 2026 · Diff

feat(social): Phase 02 — MuseHub Social API

Add three-layer Social API to musehub:

- GET /api/social/{handle}: cursor-paginated posts feed (reads social-domain repo snapshot manifest, loads post objects, sorts newest-first) - GET /api/social/{handle}/stream: SSE real-time subscription (delivers social_delta events when new social-domain pushes land for a handle) - musehub/services/musehub_social.py: in-process SSE subscriber registry (subscribe_handle / unsubscribe_handle / fan_out_to_subscribers) plus get_social_feed service that reads directly from the Muse object store

28/28 tests GREEN across TestSocialApiShape, TestSocialApiFeed, TestSocialFanOut, TestSocialFeedService, TestSocialApiDocstrings.

sha256:7473b37760ad25d37ddad07e9c1a6c671a33ee6ee9e3349056467cd1987493f6 sha
sha256:c3dd819cae0e1b74a313c54853e3697ba00396775783b75cac1ecc9214563354 snapshot
← Older Oldest on task/social-domain-phase02
All commits
Newer → Latest on task/social-domain-phase02

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