test(auth): supercharge auth suite — 7-tier coverage, remove key_source, keychain-secure
- Remove key_source field from IdentityEntry, _load_all, _dump_identity (always HD now) - Fix n_words bug in run_keygen: actual mnemonic length, not theoretical word_count() - Add --type human|agent filter to whoami --all - Add provisioned_by, hd_path to _WhoamiJson, _ShowJson, _KeygenJson TypedDicts - Rewrite test_auth_hd_persistence to assert mnemonic NOT in TOML (keychain-secure design) - Fix mnemonic-in-TOML assertion to use regex (avoids false match on tmp-path substring) - Add test_cmd_auth_supercharged: TypedDict completeness, type filter, show fields - Fill 7-tier gaps: recover (data_integrity, stress, perf), register (stress, perf), logout (stress, perf), show (stress) — 48 new tests, 259 total passing
sha256:cc7f945f8247348bbf940d1b26eb0d766a39951fd4bbb9327a9e6e72ffb9b751
sha
+119
~37
−28
symbols
sha256:7b25dc131721a3ca0835f017127c2c443abbff5ce3192a897f0c372667893e52
snapshot
+119
symbols added
~37
symbols modified
−28
symbols removed
0
dead code introduced
Semantic Changes
184 symbols
+
test_mnemonic_word_count_in_keygen_typeddict
method
method test_mnemonic_word_count_in_keygen_typeddict L116–121
+
test_different_mnemonic_different_fingerprint
method
method test_different_mnemonic_different_fingerprint L691–724
+
test_show_json_agent_has_provisioned_by
method
method test_show_json_agent_has_provisioned_by L387–392
+
test_show_json_algorithm_value_correct
method
method test_show_json_algorithm_value_correct L380–385
+
test_show_json_key_path_value_correct
method
method test_show_json_key_path_value_correct L372–378
+
test_provisioned_by_fingerprint_in_show_typeddict
method
method test_provisioned_by_fingerprint_in_show_typeddict L152–155
+
test_provisioned_by_in_show_typeddict
method
method test_provisioned_by_in_show_typeddict L147–150
+
test_show_50_repeated_calls_consistent
method
method test_show_50_repeated_calls_consistent L509–548
+
test_show_with_50_identities_returns_correct_entry
method
method test_show_with_50_identities_returns_correct_entry L457–507
+
test_type_with_ansi_injection_rejected
method
method test_type_with_ansi_injection_rejected L399–404
+
test_type_with_newline_injection_rejected
method
method test_type_with_newline_injection_rejected L406–411
+
test_whoami_json_hd_entry_has_hd_path
method
method test_whoami_json_hd_entry_has_hd_path L330–344
+
test_whoami_json_no_hd_path_when_absent
method
method test_whoami_json_no_hd_path_when_absent L346–351
+
test_provisioned_by_in_whoami_typeddict
method
method test_provisioned_by_in_whoami_typeddict L162–165
+
test_whoami_all_json_agent_has_provisioned_by
method
method test_whoami_all_json_agent_has_provisioned_by L317–323
+
test_whoami_json_agent_has_provisioned_by
method
method test_whoami_json_agent_has_provisioned_by L303–308
+
test_whoami_json_human_no_provisioned_by
method
method test_whoami_json_human_no_provisioned_by L310–315
+
test_type_agent_includes_provisioned_by
method
method test_type_agent_includes_provisioned_by L289–296
+
test_type_filter_no_match_exits_nonzero
method
method test_type_filter_no_match_exits_nonzero L251–255
+
test_type_filter_no_match_json_exits_nonzero
method
method test_type_filter_no_match_json_exits_nonzero L257–260
+
test_type_invalid_value_exits_nonzero
method
method test_type_invalid_value_exits_nonzero L262–266
−
test_keygen_hd_force_overwrites_identity
method
method test_keygen_hd_force_overwrites_identity L235–241
−
test_mnemonic_absent_from_json_object
method
method test_mnemonic_absent_from_json_object L226–233
−
test_keygen_hd_json_mnemonic_word_count_present
method
method test_keygen_hd_json_mnemonic_word_count_present L384–398
−
test_hd_path_prime_and_slash_preserved
method
method test_hd_path_prime_and_slash_preserved L346–357
−
test_mnemonic_with_quotes_round_trips
method
method test_mnemonic_with_quotes_round_trips L332–344
−
test_keygen_hd_then_load_identity_under_3s
method
method test_keygen_hd_then_load_identity_under_3s L454–466
−
test_10_successive_registers_preserve_mnemonic
method
method test_10_successive_registers_preserve_mnemonic L477–496
−
test_concurrent_identity_writes_do_not_corrupt
method
method test_concurrent_identity_writes_do_not_corrupt L498–518
−
test_hd_fields_preserved_after_register
method
method test_hd_fields_preserved_after_register L273–282
−
test_register_second_time_still_preserves_mnemonic
method
method test_register_second_time_still_preserves_mnemonic L295–304
+
test_handle_with_special_chars_round_trips
method
method test_handle_with_special_chars_round_trips L443–452
+
test_hd_path_prime_and_slash_preserved
method
method test_hd_path_prime_and_slash_preserved L431–441
+
test_entry_without_hd_fields_has_no_hd_keys
method
method test_entry_without_hd_fields_has_no_hd_keys L149–158
+
test_keygen_json_has_mnemonic_word_count
method
method test_keygen_json_has_mnemonic_word_count L324–342
+
test_keygen_json_mnemonic_content_absent
method
method test_keygen_json_mnemonic_content_absent L308–322
+
test_mnemonic_not_in_toml_after_keygen
method
method test_mnemonic_not_in_toml_after_keygen L344–359
+
test_keygen_then_load_identity_under_3s
method
method test_keygen_then_load_identity_under_3s L508–521
+
test_10_successive_registers_preserve_hd_fields
method
method test_10_successive_registers_preserve_hd_fields L532–551
+
test_20_successive_saves_preserve_hd_path
method
method test_20_successive_saves_preserve_hd_path L553–578
+
test_hd_path_preserved_after_register
method
method test_hd_path_preserved_after_register L388–397
+
test_mnemonic_not_in_toml_after_register
method
method test_mnemonic_not_in_toml_after_register L399–408
~
HOSTNAME
~
HUB
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:cc7f945f8247348bbf940d1b26eb0d766a39951fd4bbb9327a9e6e72ffb9b751 --body "your comment"
No comments yet. Be the first to start the discussion.