feat: add muse apply command — apply .patch files to working tree
Implements _parse_patch, _apply_hunk, register, and run. - Parses unified diff (with mail-format header stripping) - Handles --check (validate without writing), --json output - Rejects path traversal and .muse/ internal paths - Supports format-patch → apply round-trip - 16 tests: unit, integration, security, stress — all green
sha256:c54a29a70951ebb33f9f8d65ec9e65101402d48ce03a713cdee4572ff997a579
sha
sha256:aa0205711ec0dae67052ccd9e3299289d301f8219cbb16242f3e1c347fbd8e7a
snapshot
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:c54a29a70951ebb33f9f8d65ec9e65101402d48ce03a713cdee4572ff997a579 --body "your comment"
No comments yet. Be the first to start the discussion.