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

feat(clones): supercharge for agents — -j alias, exit_code, duration_ms, _ClonesOutputJson

- Add -j alias to --json - Add _ClonesOutputJson TypedDict covering all 17 JSON envelope fields - Import start_timer; wire elapsed() to duration_ms in JSON output - Add exit_code=0 to JSON output - Update run() docstring with JSON envelope section - Add tests/test_clones_supercharge.py (39 tests): TestJsonAlias, TestDurationMs, TestExitCode, TestTypedDicts, TestDocstrings, TestAnsiSanitization, TestPerformance - Fix 4 stale assertions in test_cmd_clones.py: short_id() now returns 12-char hex (not 8) for raw hashes and 'sha256:<12hex>' (not bare 8 hex) for sha256-prefixed commit IDs; determinism test now pops duration_ms before comparing - All 105 clones tests pass

sha256:e641ef877058c01e87e96f73d4eb75bb62cd0c5ac98d7556b34e85f737e1a419 sha
sha256:93971dceae5689344a1c2789c82a822f15e01242a00fc3d62095222222396a0c 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:e641ef877058c01e87e96f73d4eb75bb62cd0c5ac98d7556b34e85f737e1a419 --body "your comment"