gabriel / muse public
refactor patch dev
AI Agent gabriel · 52 days ago · Apr 20, 2026 · Diff

refactor: utility anti-pattern sweep — split_sig/split_pubkey, removeprefix fixes, prod bug fixes

- Add split_sig() and split_pubkey() to _types.py: string analogs of split_id() for cryptographic values; replaces all manual removeprefix('ed25519:') calls - Document Cryptographic Value Codec section in docs/agent-guide.md with canonical prefix rules and full utility reference table - Fix gc.py: four algo-prefix glob bugs silently collecting nothing (*.msgpack → */*.msgpack for commits/snapshots, */*/*/*.msgpack for tags) - Fix harmony.py: resolve_escalation NameError (esc_dir → dest.parent) - Fix rebase.py: NameError t0 not defined before _run_replay_loop call - Sweep test_update_ref_supercharge: add --json to 21 _ur() calls - Sweep removeprefix pattern across 8 test files; use split_id/split_sig/ snapshot_path/tag_path/release_path/escalation_path at every boundary - Fix test_integrity_I5: fake_id for repo_id/release_id, correct path helpers - Fix test_harmony_phase4: escalation_path replaces 6 manual constructions - Fix test_directories_feature: status untracked check used wrong key - Fix test_ls_tree_supercharge: error payload key assertion too narrow

sha256:47319766550ec1688724e840a1e71a8f9a7a3ec469a018c0c4c6affa8342b794 sha
sha256:56d1350e78357049b1ec0f95f963dac1436945133d2982c4081474782c2b143d snapshot
← Older Oldest on dev
All commits
Newer → Latest on dev

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:47319766550ec1688724e840a1e71a8f9a7a3ec469a018c0c4c6affa8342b794 --body "your comment"