gabriel / muse public
refactor patch dev
AI Agent gabriel · 47 days ago · Apr 25, 2026 · Diff

refactor: purge all remaining user-from-config references

config_cmd.py - Module docstring: remove user.* from settable namespaces; add blocked entry - JSON schema in docstring: remove user key - get/set help text: remove user.* examples; redirect to muse auth whoami - run_read: remove dead [user] printing block (config_as_dict never populates it) - run_get/run_set docstrings: replace user.* examples with hub.url / domain.* - Error format hint: user.handle → hub.url

commit.py - Comment: 'read user.handle from config' → 'resolve from identity.toml' - Variable rename: config_name → identity_handle

test_cmd_config.py - ArgParsing tests: user.handle → hub.url as parse target - TestConfigValueHelpers: set_and_get_user_* → set_user_*_raises (blocked) - test_config_as_dict_includes_user → test_config_as_dict_no_user_section - TestConfigCLI: user.* invocations replaced with hub.url / domain.* - TestConfigE2E: workflow uses hub+domain; asserts user absent from JSON - TestConfigSecurity: injection test uses domain.label; user.type test asserts blocked - Use config_toml_path() for inline path construction

sha256:a980e1d6745629801924ff6f8c07e5a228ef96f50825ee8daf44a1703bbb9697 sha
sha256:e399af84760b4db2251681158c1fac91f2a391ec166dcce98bbfb758ae3ed0ac snapshot
← Older Oldest on dev
All commits
Newer → Latest on dev

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