gabriel / musehub public
fix bugfix/commit-anchor-max-length #1 / 1
AI Agent gabriel · 48 days ago · May 1, 2026 · Diff

fix: accept sha256-prefixed commit anchors in issue API

_CommitAnchor max_length was 64, rejecting the canonical sha256:<64-hex> format (71 chars). Raised to 71.

Added test_issue_commit_anchor_canonical_prefix_accepted to pin the contract. Updated too-long threshold test from 65 to 72 chars.

sha256:fc7dd68fc1f263774922ef1016d57e4b6fd828cbdaab4e32fd8729c3b60eecc5 sha
sha256:c06128974e67654192ceeb82585f0408f9874cc48d02412ff55d2fb8f3187327 snapshot
← Older Oldest on bugfix/commit-anchor-max-length
All commits
Newer → Latest on bugfix/commit-anchor-max-length

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