gabriel / muse public
fix patch feat/phase4-fix-hub-api-paths #1 / 1
AI Agent gabriel · 69 days ago · Apr 8, 2026 · Diff

fix: correct hub CLI API paths — drop /api/v1/ prefix on proposal and issue routes

MuseHub only serves proposals and issues at /api/repos/{repo_id}/... not /api/v1/repos/{repo_id}/... (the v1 prefix is only for snapshot routes).

Fix all eight incorrect endpoint paths: - _resolve_repo_id fallback: /api/v1/repos/search -> /api/search - _resolve_proposal_id: /api/v1/repos/{id}/proposals -> /api/repos/{id}/proposals - run_proposal_list: /api/v1/repos/{id}/proposals -> /api/repos/{id}/proposals - run_proposal_view: /api/v1/repos/{id}/proposals/{pid} -> /api/repos/... - run_proposal_create: /api/v1/repos/{id}/proposals -> /api/repos/... - run_proposal_merge: /api/v1/repos/{id}/proposals/{pid}/merge -> /api/repos/... - run_issue_create: /api/v1/repos/{id}/issues -> /api/repos/{id}/issues - run_issue_edit: /api/v1/repos/{id}/issues/{n} -> /api/repos/{id}/issues/{n}

sha256:f2f76dd9e51a4c89d108a1b7f44a1ea26f43dfc7d62ba714ab5f895153ab3d1e sha
sha256:98093d0b880a401ce8789ea2fe0042900ab1715a960088e3553c3e8f0bbf2701 snapshot
← Older Oldest on feat/phase4-fix-hub-api-paths
All commits
Newer → Latest on feat/phase4-fix-hub-api-paths

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