gabriel / muse public
feat patch cat task/cat-supercharge #1 / 1
AI Agent gabriel · 60 days ago · Apr 16, 2026 · Diff

feat(cat): supercharge with --raw, --limit, total_symbols, redirected_from; fix fmt NameError

- --raw flag: read raw file content at working tree or --at <ref>; single-file JSON returns flat {file_path, content, size_bytes, source_ref}; multi-file uses {files:[]} - --limit N: cap --all results; JSON includes truncated: bool + total_symbols - total_symbols: always in --all --json output (pre-filter count, stable across --kind) - redirected_from: JSON field on results that came from global-fallback (wrong file specified) - Fix UnboundLocalError: fmt/as_json now assigned before the 'no addresses' guard - Fix test_blob_not_found: fake manifest used bare hex, needs sha256: prefix - 40 new tests in test_cmd_cat_supercharged.py, all green

sha256:6a6d2b4a0aebae5547a9ffb0656bc757a6d868c03aeda82cd242789010ff6d9d sha
sha256:44a1a0c57665414834be024e7f9563bc98bdbfdea1b8d596de85919411bbca23 snapshot
← Older Oldest on task/cat-supercharge
All commits
Newer → Latest on task/cat-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:6a6d2b4a0aebae5547a9ffb0656bc757a6d868c03aeda82cd242789010ff6d9d --body "your comment"