gabriel / muse public
feat patch mv task/mv-supercharge #1 / 1
AI Agent gabriel · 59 days ago · Apr 17, 2026 · Diff

feat(mv): agent supercharge — TypedDicts, exit_code, duration_ms, JSON error routing

- Add _MvErrorJson TypedDict: status, error, exit_code - Extend _MvResultJson with duration_ms and exit_code fields - Add _emit_error(output_json, msg, code) — routes errors to stdout JSON in --json mode - Add t0/duration_ms timing to all JSON output paths (success, dry_run) - Add exit_code: 0 to all success JSON envelopes - Convert all 4 error paths in run() to use _emit_error - Update module docstring with full agent contract (exit_code, duration_ms, error schema) - Fix test_cmd_mv.py: _sha() now returns sha256:-prefixed IDs (unblocks 26 failures) - Add tests/test_mv_supercharge.py: 29 tests across 7 coverage tiers

sha256:89a186c86e72370d9bcea5c5e9d6161c9f109559babe71363ffd71b2c29692cf sha
sha256:f57b04b672a6c4e07228c477291f014e8f463550bc13eb7981711d872e6cdbef snapshot
← Older Oldest on task/mv-supercharge
All commits
Newer → Latest on task/mv-supercharge

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