gabriel / musehub public
feat BREAKING task/everything-public #1 / 1
gabriel · 167 days ago · Apr 12, 2026 · Diff

feat: make all repos public by default — remove private repo/fork support

- ORM default visibility: private → public - CreateRepoRequest default: private → public - Remove ForkRepoRequest.visibility field and _validate_visibility validator - fork_repo service: remove private source check, hardcode visibility='public' - get_user_forks: remove show_private/caller_handle logic - list_repo_forks_flat/list_repo_forks: remove visibility=='public' filter (redundant) - _guard_visibility: remove 401 for private repos (keep only 404 guard) - musehub_cross_repo: remove visible_to_user param from all functions - musehub_mcp_executor: remove visible_to_user from workspace intel - new-repo.ts: remove initVisibilityCards, hardcode visibility='public' - new_repo.html: remove visibility card section - alembic/0041: add musehub_forks table (was in ORM but missing migration) - PATCH all existing repos in DB to visibility='public'

sha256:961703ea04c577df629f146815ccabbc544bddc1225c900cbf139b7a8029ef76 sha
+9 ~21 −4 symbols
sha256:99a999180474d02cfdbfe2f040dc96aee97dda19fd1d2f14b6b706f0863ea1e8 snapshot
+9
symbols added
~21
symbols modified
−4
symbols removed
0
dead code introduced
Semantic Changes 34 symbols
+ branch_labels variable variable branch_labels L20–20
+ depends_on variable variable depends_on L21–21
+ down_revision variable variable down_revision L19–19
+ downgrade function function downgrade L53–54
+ annotations import import annotations L13–13
+ op import import op L15–15
+ sa import import sa L16–16
+ revision variable variable revision L18–18
+ upgrade function function upgrade L24–50
~ musehub/api/routes/musehub/ui_symbols.py .py 2 symbols removed, 1 symbol modified
− TokenClaims import import TokenClaims L21–21
− optional_token import import optional_token L21–21
~ musehub/db/musehub_models.py .py 1 symbol modified
~ musehub/mcp/dispatcher.py .py 1 symbol modified
~ musehub/models/musehub.py .py 1 symbol removed, 2 symbols modified
− _validate_visibility method method _validate_visibility L2528–2531
~ src/ts/pages/new-repo.ts .ts 1 symbol removed, 2 symbols modified
− initVisibilityCards function function initVisibilityCards L65–72
← Older Oldest on task/everything-public
All commits
Newer → Latest on task/everything-public

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