gabriel / muse public
fix patch dev #89 / 100
AI Agent gabriel · 22 days ago · May 19, 2026 · Diff

fix: force-resign silent no-op and push false up-to-date on missing repo

migrate --force-resign returned commits_signed=0 when the repo had no hub configured because get_signing_identity() needs a hub URL. Fixed by: - migrate() now raises ValueError when force_resign=True but no identity - migrate CLI falls back to remote URLs when no hub section is configured

push to a non-existent repo (404) silently returned status=up_to_date by swallowing the TransportError and falling back to stale local tracking refs. Fixed by letting _fetch_remote_info_safe re-raise HTTP errors (404, 401, 5xx) and catching them early in run() with git-style fatal error messages.

sha256:53a490b35d3e01926a7d0ff0acd526407eb2cefa1778d7819c5ac5417ff2450d sha
sha256:8ebd8833336ab7b99ef35b20c50ab27303c210522a1597021e45c588de58f391 snapshot

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