fix: rename hub issue get→read, proposal view→read; add _enrich_hub_url_from_remote
- _enrich_hub_url_from_remote: when the hub URL stored by muse hub connect is a bare base URL (no owner/slug), look up a remote whose netloc matches and extract owner/slug from its path — so muse hub issue read <n> works after muse hub connect http://localhost:10003 without extra flags. - Rename 'muse hub issue get' → 'muse hub issue read' (consistent verb across CLI and MCP). - Rename 'muse hub proposal view' → 'muse hub proposal read' (same rationale). - TDD: 9 new tests covering _enrich_hub_url_from_remote, issue read subcommand existence, and proposal read subcommand existence.
sha256:ef355e07c81d05b0a18b59156ac63e1f1408961077305320018a5d3392ba31a0
sha
+17
~3
−1
symbols
sha256:f8832f3e0395d03f934e9afdd8486bf80fbf571eb07f7917d511ad781b5c4d28
snapshot
+17
symbols added
~3
symbols modified
−1
symbol removed
0
dead code introduced
Semantic Changes
21 symbols
~
register
+
test_enriches_bare_hub_url_with_owner_slug
method
method test_enriches_bare_hub_url_with_owner_slug L345–349
+
test_leaves_already_enriched_url_unchanged
method
method test_leaves_already_enriched_url_unchanged L351–355
+
test_returns_bare_url_when_no_matching_remote
method
method test_returns_bare_url_when_no_matching_remote L357–362
+
test_returns_bare_url_when_no_remotes_configured
method
method test_returns_bare_url_when_no_remotes_configured L364–367
← Older
Oldest on fix/hub-read-rename-and-url-enrich
All commits
Newer →
Latest on fix/hub-read-rename-and-url-enrich
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:ef355e07c81d05b0a18b59156ac63e1f1408961077305320018a5d3392ba31a0 --body "your comment"
No comments yet. Be the first to start the discussion.