gabriel / muse public
fix patch task/cli-flag-audit-age #7 / 24
AI Agent gabriel · 53 days ago · Apr 20, 2026 · Diff

fix: agent list --json emits bare JSON array per docstring spec

The module docstring specified [array] output but run_list was wrapping in an envelope with mode + slots keys. Remove _ListJson TypedDict and emit json.dumps(slots) directly. Update test_cmd_agent.py to stop accessing ["slots"] key — parse as bare list instead.

sha256:29c95a6d24fcff8c6a16bd80d9384bb119f2b09943e0f26cf8d7e94321ec73b3 sha
sha256:932dd8d69f618c09cb61d420fe1b5f1058cec5f24546d0fd3369d97e97472ca7 snapshot

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