gabriel / muse public
feat patch task/format-patch-supercharge #1 / 1
AI Agent gabriel · 59 days ago · Apr 17, 2026 · Diff

feat: supercharge format-patch with agent provenance, --no-blobs, and rename detection

- Add --agent-id, --model-id, --intent flags to format-patch Agent provenance fields are embedded in the patch record and included in patch_id computation (different agents produce different IDs). - Add --no-blobs flag to omit base64 blob content from patch files required_objects still lists needed objects; blobs must be fetched separately. Produces significantly smaller output for large repos. - Add rename detection to _build_file_level_ops Same-oid delete+insert is detected as a rename: emits a single 'move' op (action_label='moved'), populates files_renamed, and removes the paths from files_added/files_deleted. Returns 5-tuple including renamed dict. - Add comprehensive TDD test suite (118 tests, all GREEN) Unit, integration, CLI, stress, security, performance, and data integrity coverage across all new and existing format-patch behavior.

sha256:c1eb5a255dce60f8c830b588d317f17663fbeff335184e7e5c45a6340bc4282f sha
sha256:d3acb137ebb9e9bcedf7d15d654000a0dab29c0194c8f17f0d543881e7b0a566 snapshot
← Older Oldest on task/format-patch-supercharge
All commits
Newer → Latest on task/format-patch-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:c1eb5a255dce60f8c830b588d317f17663fbeff335184e7e5c45a6340bc4282f --body "your comment"