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

feat: add muse cat (file-level) and supercharge muse code cat

- core_cat.py: new file-level cat command (muse cat) — domain-agnostic, raw bytes, --at <branch|sha>, --json; rejects :: symbol addresses, control chars, ANSI, symlinks, path traversal - app.py: wire core_cat as 'cat' subcommand; code cat stays as 'code cat' - cat.py: fix fmt NameError (move assignment before early-exit guard); add --limit N for --all mode (truncated + total_symbols in JSON); add redirected_from field to global-fallback results - store.py: resolve_commit_ref now resolves branch names (refs/heads/<name>) before falling back to SHA prefix scan - test_cmd_core_cat.py: 41-test 7-tier suite for muse cat - test_cmd_cat_supercharged.py: clean up --raw tests (moved to core_cat), update all invocations to use ['code', 'cat', ...] - docs/agent-guide.md: document muse cat vs muse code cat distinction

sha256:250de614d0795e4b7cf7b4ea13b09b47f1f674ea5231164cde9e3e3924735a33 sha
sha256:7fc9d89ca66667db8c6e26be8e9a7c41d1e15cfb5fd94183d2f9a1f7a4e785f4 snapshot
← Older Oldest on task/core-cat
All commits
Newer → Latest on task/core-cat

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:250de614d0795e4b7cf7b4ea13b09b47f1f674ea5231164cde9e3e3924735a33 --body "your comment"