gabriel / muse public
feat patch breakage dev
AI Agent gabriel · 55 days ago · Apr 19, 2026 · Diff

feat(breakage): supercharge for agents — -j alias, exit_code, duration_ms in JSON

- Add -j alias for --json (matches all other supercharged commands) - Add _BreakageOutputJson TypedDict covering all 11 existing keys plus exit_code + duration_ms - Add start_timer() → elapsed() wired to duration_ms in JSON envelope - exit_code in JSON mirrors computed process exit (0=clean, 1=errors/strict-warnings) — NOT hardcoded 0 - Update run() docstring with JSON envelope section documenting exit_code and duration_ms - Add tests/test_breakage_supercharge.py (38 tests): TestJsonAlias, TestDurationMs, TestExitCode, TestTypedDicts, TestDocstrings, TestAnsiSanitization, TestPerformance

sha256:62d4abbeadfbdc06aff93b4ad8aa39622aaff6dcc6f6881848d6efb32e3d36bb sha
sha256:5226a2cd3cfda21a46c97dfd85eb0ba000f51f6067671bd578c9a0246074289d 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:62d4abbeadfbdc06aff93b4ad8aa39622aaff6dcc6f6881848d6efb32e3d36bb --body "your comment"