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

fix: remove stale key_path positional arg from _load_signing call sites

run_request, run_curl, and run_payment were passing getattr(args, 'key_path', None) as a positional arg to _load_signing(hub, agent_id=None), which only accepts 2 params. This caused TypeError at runtime on every muse sign subcommand call. The --key-path flag was removed from the parser in the PEM cleanup but the three call sites were not updated.

Removes the stale arg from all three sites. CS-1 through CS-4 confirm the fix and verify agent_id is now forwarded correctly.

sha256:7a4bb8feb4b6188be2fd4805763560e19508da525faa251de0106b20429e7435 sha
+6 ~3 symbols
sha256:e5f18ec21595a9dde29e04cec72c8fd3205deee8c320d9ef9639b558d1372c22 snapshot
+6
symbols added
~3
symbols modified
0
dead code introduced
Semantic Changes 9 symbols
~ tests/test_cmd_sign.py .py 6 symbols added
+ TestLoadSigningCallSites class class TestLoadSigningCallSites L516–620
+ _signing method method _signing L532–533
+ test_CS1_run_header_no_type_error method method test_CS1_run_header_no_type_error L535–552
+ test_CS2_run_curl_no_type_error method method test_CS2_run_curl_no_type_error L554–570
+ test_CS3_run_payment_no_type_error method method test_CS3_run_payment_no_type_error L572–590
+ test_CS4_agent_id_forwarded_by_run_header method method test_CS4_agent_id_forwarded_by_run_header L592–620
← 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:7a4bb8feb4b6188be2fd4805763560e19508da525faa251de0106b20429e7435 --body "your comment"