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
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:62d4abbeadfbdc06aff93b4ad8aa39622aaff6dcc6f6881848d6efb32e3d36bb --body "your comment"
No comments yet. Be the first to start the discussion.