← Về thư mục
tests/test_permission_repository.py
- _repository · function · L21-L31 — def _repository(tmp_path)
- test_rule_upsert_normalizes_identity_and_delete · function · L34-L77 — def test_rule_upsert_normalizes_identity_and_delete(tmp_path)
- test_resolution_preserves_exact_globs_specificity_and_absolute_deny · function · L80-L131 — def test_resolution_preserves_exact_globs_specificity_and_absolute_deny(tmp_path)
- test_scope_projection_and_default_seed_reset_semantics · function · L134-L187 — def test_scope_projection_and_default_seed_reset_semantics(tmp_path)
- test_seed_upgrade_adds_defaults_and_revokes_legacy_skill_edit_allow · function · L190-L223 — def test_seed_upgrade_adds_defaults_and_revokes_legacy_skill_edit_allow(tmp_path)
- test_seed_security_upgrade_revokes_markerless_legacy_skill_edit_allow · function · L226-L242 — def test_seed_security_upgrade_revokes_markerless_legacy_skill_edit_allow(tmp_path)
- test_seed_security_upgrade_preserves_stricter_skill_edit_rules · function · L246-L270 — def test_seed_security_upgrade_preserves_stricter_skill_edit_rules(tmp_path, decision)
- test_seed_rules_commit_before_marker_and_recover_after_marker_failure · function · L273-L300 — def test_seed_rules_commit_before_marker_and_recover_after_marker_failure(tmp_path)
- fail_marker · function · L276-L277 — def fail_marker(_key, _value)
- test_concurrent_upserts_share_one_rule_identity · function · L303-L324 — def test_concurrent_upserts_share_one_rule_identity(tmp_path)
- upsert · function · L308-L316 — def upsert(index)
- test_store_facade_and_frame_project_cascades_remain_aggregate · function · L327-L395 — def test_store_facade_and_frame_project_cascades_remain_aggregate(tmp_path)
- test_durable_permission_request_is_append_only_and_terminal_is_immutable · function · L398-L443 — def test_durable_permission_request_is_append_only_and_terminal_is_immutable(tmp_path)
- test_pending_permission_request_times_out_on_read · function · L446-L470 — def test_pending_permission_request_times_out_on_read(tmp_path)
- test_permission_request_is_atomically_bound_to_action_ledger · function · L473-L524 — def test_permission_request_is_atomically_bound_to_action_ledger(tmp_path)
- test_permission_request_rolls_back_when_action_group_is_unknown · function · L527-L536 — def test_permission_request_rolls_back_when_action_group_is_unknown(tmp_path)
- test_restart_once_grant_is_exact_and_consumed_atomically · function · L539-L625 — def test_restart_once_grant_is_exact_and_consumed_atomically(tmp_path)
- consume · function · L575-L583 — def consume(_index)
- test_restart_once_grant_hashes_the_complete_untruncated_arguments · function · L628-L684 — def test_restart_once_grant_hashes_the_complete_untruncated_arguments(tmp_path)
- test_restart_once_grant_fails_closed_when_stored_action_hash_is_corrupt · function · L687-L741 — def test_restart_once_grant_fails_closed_when_stored_action_hash_is_corrupt(tmp_path)
- test_existing_permission_request_table_gains_restart_continuation_columns · function · L744-L785 — def test_existing_permission_request_table_gains_restart_continuation_columns(tmp_path)