gabriel / musehub public
test patch task/identity-tests-and-docstrings #1 / 1
AI Agent gabriel · 48 days ago · May 1, 2026 · Diff

test: belt-and-suspenders coverage for identity plugin phases 1–6

- Add test_identity_belt_and_suspenders.py with 19 new tests covering: - _commit_key_rotation_to_identity_repo: no-op guards + correct HEAD update - State integrity: identity repo HEAD pubkey consistent with MusehubAuthKey fingerprint - Concurrent stress: 50+ simultaneous read_object_bytes calls across all storage paths - Security edge cases: malformed pubkey, corrupted JSON, empty paths all return None - Update docstrings in identities.py: - get_identity: document merge strategy (repo HEAD > DB enrichment) - _read_identity_record_from_repo: expand to describe the full traversal path - _row_to_dict: document the canonical-truth merge logic

sha256:f15e86f04c55358e06df845eb5024feebbe4c34d0143c0cef1d0debbfa6c60ba sha
sha256:84d244395d76f602a6e1466eba88290a5a8ca6cb79cf5c3e8e8ac99ef318a255 snapshot
← Older Oldest on task/identity-tests-and-docstrings
All commits
Newer → Latest on task/identity-tests-and-docstrings

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