feat(mists): Phase 3 — DB model, Pydantic wire models, service layer, migration, and 81-test suite
- MusehubMist ORM class appended to musehub_models.py (25 columns, 4 composite indices, self-referential fork FK with SET NULL) - 7 Pydantic wire models in musehub/models/mists.py (MistResponse, MistListEntry, MistListResponse, MistCreateRequest, MistUpdateRequest, MistForkResponse, MistEmbedResponse) with validators for visibility, tags (XSS/null/length), and filename - 9 async service functions in musehub/services/musehub_mists.py: create, get, list (keyset pagination), fork (depth-limited to 5), update, delete, increment_view, increment_embed, get_forks - Alembic migration 0048 (down_revision=0047) - 81-test suite across 8 tiers: unit, integration, edge cases, stress, data integrity, performance, security, docstrings — all green
0 comments
muse hub commit comment sha256:bf218c635e12eb3f5b298df0d3bac3026c510d6d21269fc2fbc8ebeb0d5d82c7 --body "your comment"
No comments yet. Be the first to start the discussion.