gabriel / muse public
feat BREAKING shelf task/shelf-created-by-structured #1 / 1
AI Agent gabriel · 1 day ago · Jun 20, 2026 · Diff

feat(shelf): created_by is now a structured object {handle, kind}; resolve handle from user.handle config

sha256:afb6f72afb8eebdf5d182c77e96f4a0c6c9818c7eff48c54b8917560fceac661 sha
+16 ~16 symbols
sha256:3a39cc7bf3dcc8db84a6efbc3b2dd70feef8e402a1122e767c5e10409821724a snapshot
+16
symbols added
~16
symbols modified
0
dead code introduced
Semantic Changes 32 symbols
~ muse/cli/commands/shelf.py .py 3 symbols added, 10 symbols modified
+ _CreatedBy class class _CreatedBy L123–127
+ _resolve_created_by function function _resolve_created_by L477–489
+ get_config_value import import get_config_value L87–87
~ tests/test_cmd_shelf.py .py 13 symbols added, 6 symbols modified
+ TestCreatedByResolutionIntegration class class TestCreatedByResolutionIntegration L1891–1996
+ test_CB_06_save_with_configured_handle method method test_CB_06_save_with_configured_handle L1894–1913
+ test_CB_07_explicit_by_wins_over_config method method test_CB_07_explicit_by_wins_over_config L1915–1937
+ test_CB_08_no_handle_config_falls_back_to_human method method test_CB_08_no_handle_config_falls_back_to_human L1939–1958
+ test_CB_09_programmatic_api_resolves_created_by method method test_CB_09_programmatic_api_resolves_created_by L1960–1979
+ test_CB_10_autoshelf_muse_resolves_as_agent method method test_CB_10_autoshelf_muse_resolves_as_agent L1981–1996
+ TestResolveCreatedByHelper class class TestResolveCreatedByHelper L1846–1888
+ test_CB_01_explicit_non_human_returns_agent method method test_CB_01_explicit_non_human_returns_agent L1849–1854
+ test_CB_02_explicit_by_returned_as_is method method test_CB_02_explicit_by_returned_as_is L1856–1862
+ test_CB_03_human_with_config_returns_handle method method test_CB_03_human_with_config_returns_handle L1864–1875
+ test_CB_04_human_without_config_falls_back method method test_CB_04_human_without_config_falls_back L1877–1888
+ _identity_toml function function _identity_toml L1830–1838
+ _write_hub_config function function _write_hub_config L1841–1843
← Older Oldest on task/shelf-created-by-structured
All commits
Newer → Latest on task/shelf-created-by-structured

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