gabriel / muse public
feat patch cli feat/supported-commands-registry #2 / 5
AI Agent gabriel · 13 days ago · Jul 4, 2026 · Diff

feat(cli): auto-derive supported_commands in muse domains publish (muse#74 Phase 3)

sha256:1601d0de1bc62cecd33a30d56e96067b6fd03d87c27c63ac552ee52dd0aae14a sha
+25 ~4 symbols
sha256:dc559fcf6cd6e5eb8cf008691c28f88156c0bae40878d8104ef607398ecc1702 snapshot
+25
symbols added
~4
symbols modified
0
dead code introduced
Semantic Changes 29 symbols
+ TestAutoDeriveFromRealCliNamespace class class TestAutoDeriveFromRealCliNamespace L93–122
+ test_scr08_code_domain_gets_real_commands_not_hardcoded_five method method test_scr08_code_domain_gets_real_commands_not_hardcoded_five L94–110
+ test_scr09_identity_domain_gets_empty_list method method test_scr09_identity_domain_gets_empty_list L112–122
+ TestExplicitCapabilitiesOverride class class TestExplicitCapabilitiesOverride L125–159
+ test_scr10_explicit_supported_commands_key_overrides_auto_derive method method test_scr10_explicit_supported_commands_key_overrides_auto_derive L126–141
+ test_scr11_explicit_capabilities_without_supported_commands_key_falls_back_to_auto_derive method method test_scr11_explicit_capabilities_without_supported_commands_key_falls_back_to_auto_derive L143–159
+ TestUpdateBehaviorDeliberatelyUnchanged class class TestUpdateBehaviorDeliberatelyUnchanged L162–188
+ test_scr12_update_with_capabilities_and_no_supported_commands_key_stays_empty method method test_scr12_update_with_capabilities_and_no_supported_commands_key_stays_empty L163–188
+ _BASE_ARGS variable variable _BASE_ARGS L76–84
+ _make_repo function function _make_repo L43–55
+ _make_signing function function _make_signing L37–40
+ _mock_urlopen_capture function function _mock_urlopen_capture L58–73
+ _sent_supported_commands function function _sent_supported_commands L87–90
+ cli variable variable cli L32–32
+ CliRunner import import CliRunner L24–24
+ TYPE_CHECKING import import TYPE_CHECKING L22–22
+ __version__ import import __version__ L26–26
+ annotations import import annotations L16–16
+ json import import json L18–18
+ muse_dir import import muse_dir L27–27
+ pathlib import import pathlib L19–19
+ mock import import unittest.mock L20–20
+ request import import urllib.request L21–21
+ runner variable variable runner L34–34
~ muse/cli/commands/domains.py .py 1 symbol added, 1 symbol modified
+ get_supported_commands import import get_supported_commands L65–65

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