feat: supercharge patch-id with duration_ms, exit_code, files_changed, stable
- Add duration_ms (ms, 3dp), exit_code, files_changed, and stable to --json output. Agents now have the complete picture in one call: content identity, how many files changed, whether whitespace was normalised, and how long it took. - Update module docstring schema to reflect new fields. - Delete test_cmd_patch_id.py (14/15 tests were broken — raw hex object IDs used without required sha256: prefix). - Add test_patch_id_supercharge.py (54 tests, all GREEN): _compute_patch_id unit, JSON schema, text output, files_changed correctness, stable flag round-trip, cherry-pick detection, error paths, security (ANSI, null byte, path traversal, long ref), data integrity, performance, and stress (10 distinct commits).
sha256:7619040af537c856820b780fe64693daafcea745181a89b58eaa0e2b905241df
sha
sha256:ad66d60c9ca8654894ae313665861f594681f2f1df87249e71434bfea43fc7dd
snapshot
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:7619040af537c856820b780fe64693daafcea745181a89b58eaa0e2b905241df --body "your comment"
No comments yet. Be the first to start the discussion.