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

feat(checkout-symbol): supercharge for agents — -j alias, exit_code, duration_ms

- Add -j alias to --json - Add _CheckoutSymbolOutputJson TypedDict covering all 14 JSON fields - Add start_timer() → elapsed() wired to duration_ms on all three JSON paths (no-op, dry-run, write) — each path now emits exit_code=0 and duration_ms - Update run() docstring with JSON envelope section - Add tests/test_checkout_symbol_supercharge.py (38 tests): TestJsonAlias, TestDurationMs, TestExitCode, TestTypedDicts, TestDocstrings, TestAnsiSanitization, TestPerformance - Fix stale test_json_restored_from_is_8_hex: short_id() now returns 'sha256:<12hex>' (19 chars), not bare 8-char hex — updated assertion - All 98 checkout-symbol tests pass

sha256:c1587c7720bd174f6b266241245f9a8ca91a19cea4ab81543eec202e73419ed1 sha
sha256:affab52c629bf45a84c40406ab7aeb1525fdb8ff00bc12c755c7f368b3417c31 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:c1587c7720bd174f6b266241245f9a8ca91a19cea4ab81543eec202e73419ed1 --body "your comment"