gabriel / muse public
test auth dev
AI Agent gabriel · 144 days ago · Apr 27, 2026 · Diff

test(auth): add V–IX tiers for rotate — e2e, data integrity, stress, security, performance

All 7 testing tiers now covered for muse auth rotate: I–III unit (existing) IV hub-sync integration (existing) V e2e — two sequential rotations; wrong passphrase yields different key VI data integrity — identity.toml unchanged on hub failure (byte-for-byte); old fingerprint never reappears after successful rotation VII stress — 10 sequential rotations produce indexes 1–10 with unique fingerprints VIII security — passphrase/mnemonic not in output; no PEM files written to disk IX performance — rotation completes under 500 ms with stubbed hub

sha256:f1b46bb89459a72e0bc9f7cafda555bb41e2a6ed8f8acdd1b1c1f2e79668fc0d sha
+14 symbols
sha256:9f3ad18e9451f09583c5ecd404d1e6cff4eda6d3dbac10f894ee416a70d823c3 snapshot
+14
symbols added
0
dead code introduced
Semantic Changes 14 symbols
~ tests/test_auth_rotate.py .py 14 symbols added
+ TestRotateDataIntegrity class class TestRotateDataIntegrity L578–638
+ test_VI1_identity_toml_unchanged_on_hub_failure method method test_VI1_identity_toml_unchanged_on_hub_failure L581–613
+ test_VI2_old_fingerprint_not_written_back_after_rotate method method test_VI2_old_fingerprint_not_written_back_after_rotate L615–638
+ TestRotateE2E class class TestRotateE2E L526–570
+ test_V1_two_sequential_rotates_reach_index_2 method method test_V1_two_sequential_rotates_reach_index_2 L529–547
+ test_V2_rotate_with_wrong_passphrase_exits_nonzero method method test_V2_rotate_with_wrong_passphrase_exits_nonzero L549–570
+ TestRotatePerformance class class TestRotatePerformance L740–763
+ test_IX1_rotate_completes_under_500ms method method test_IX1_rotate_completes_under_500ms L743–763
+ TestRotateSecurity class class TestRotateSecurity L680–732
+ test_VIII1_passphrase_not_in_json_output method method test_VIII1_passphrase_not_in_json_output L683–698
+ test_VIII2_mnemonic_not_in_json_output method method test_VIII2_mnemonic_not_in_json_output L700–717
+ test_VIII3_no_pem_written_during_rotate method method test_VIII3_no_pem_written_during_rotate L719–732
+ TestRotateStress class class TestRotateStress L646–672
+ test_VII1_ten_sequential_rotations_monotonically_increase_index method method test_VII1_ten_sequential_rotations_monotonically_increase_index L649–672
← 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:f1b46bb89459a72e0bc9f7cafda555bb41e2a6ed8f8acdd1b1c1f2e79668fc0d --body "your comment"