← Về thư mục
tests/test_guardian_shadow.py
- _real_request · function · L13-L43 — def _real_request( store: Store, *, decision_id: str, tool: str = "read_file", target: str = "a.txt", dangerous: bool = False, )
- test_hash_mismatch_fails_closed_and_does_not_execute · function · L46-L54 — def test_hash_mismatch_fails_closed_and_does_not_execute()
- test_guardian_cannot_create_standing_allow · function · L57-L62 — def test_guardian_cannot_create_standing_allow()
- test_shadow_allow_does_not_execute · function · L65-L85 — def test_shadow_allow_does_not_execute(tmp_path)
- test_shadow_attributes_a_hard_policy_boundary_to_policy · function · L88-L112 — def test_shadow_attributes_a_hard_policy_boundary_to_policy(tmp_path)
- test_shadow_fails_closed_when_request_copy_disagrees_with_durable_row · function · L115-L141 — def test_shadow_fails_closed_when_request_copy_disagrees_with_durable_row(tmp_path)
- test_flag_off_records_nothing · function · L144-L164 — def test_flag_off_records_nothing(tmp_path)