gabriel / muse public
feat patch task/hub-agent-ergonomics #1 / 1
AI Agent gabriel · 50 days ago · Apr 22, 2026 · Diff

feat: absorb git/GitHub muscle-memory flags in hub repo commands

hub repo create: accept --visibility public|private as alias for --private. Agents trained on GitHub CLI reach for --visibility reflexively; rejecting with a generic argparse error wastes a round-trip. Now maps cleanly: --visibility public → visibility=public (same as default) --visibility private → visibility=private (same as --private) --visibility X + --private contradicts → clear error

hub repo list: accept --owner with an actionable error explaining that no server-side owner filter exists and showing the exact python pipe pattern to filter client-side. Previously argparse's generic rejection gave agents no path forward.

9 new tests in TestRepoCreateVisibilityAlias + TestRepoListOwnerFlag.

sha256:ca5afc66a5c19bc2a46045467732df67c35e721faa52082d31c46f708fc29ea3 sha
sha256:0e5efb63f074602632521db888be561800f355fc36e203ae9be4634f95a641ca snapshot
← Older Oldest on task/hub-agent-ergonomics
All commits
Newer → Latest on task/hub-agent-ergonomics

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