← Về thư mục
tests/test_auto_mode_faults.py
- _sha · function · L18-L22 — def _sha(value: object) -> str
- _rooted_store · function · L25-L30 — def _rooted_store(tmp_path: Path, name: str = "openai4s.db") -> tuple[Store, str]
- _start · function · L33-L58 — def _start( store: Store, root: str, *, run_id: str = "run-1", turn_id: str = "turn-1", execution_id: str = "execution-1", owner_instance_id: str = "daemon-test", ) -> dict
- _candidate · function · L61-L73 — def _candidate(store: Store, *, run_id: str = "run-1") -> dict
- _start_result_review · function · L76-L100 — def _start_result_review( store: Store, *, run_id: str = "run-1", review_run_id: str = "review-pass", audit_id: str = "audit-pass", ) -> dict
- _issue_review · function · L103-L141 — def _issue_review(store: Store, *, run_id: str = "run-1") -> dict
- _pending_permission · function · L144-L176 — def _pending_permission( store: Store, root: str, *, decision_id: str, expires_at: int | None = None, ) -> dict
- _bound_repair · function · L179-L216 — def _bound_repair( store: Store, root: str, tmp_path: Path, *, repair_id: str = "repair-1" ) -> dict
- test_permission_audit_fails_closed_for_expired_or_raced_decision · function · L219-L286 — def test_permission_audit_fails_closed_for_expired_or_raced_decision(tmp_path)
- test_permission_assessment_is_audit_only_and_idempotent · function · L289-L337 — def test_permission_assessment_is_audit_only_and_idempotent(tmp_path)
- test_permission_owner_tamper_fails_closed_on_replay_export_and_audit · function · L340-L390 — def test_permission_owner_tamper_fails_closed_on_replay_export_and_audit(tmp_path)
- test_permission_action_tamper_after_audit_start_fails_closed · function · L393-L458 — def test_permission_action_tamper_after_audit_start_fails_closed(tmp_path)
- test_missing_audit_owner_fails_closed_on_projection_and_public_audit · function · L468-L519 — def test_missing_audit_owner_fails_closed_on_projection_and_public_audit( tmp_path, subject_kind: str, owner_table: str, unsafe_claim: str )
- test_permission_completion_event_tamper_cannot_publish_allow · function · L522-L571 — def test_permission_completion_event_tamper_cannot_publish_allow(tmp_path)
- test_contradictory_result_review_completion_is_rejected · function · L583-L629 — def test_contradictory_result_review_completion_is_rejected( tmp_path, status: str, severity: str | None, message: str )
- test_audit_page_validation_work_is_bounded_by_requested_page · function · L632-L691 — def test_audit_page_validation_work_is_bounded_by_requested_page(tmp_path, monkeypatch)
- measure · function · L633-L685 — def measure(audit_count: int) -> tuple[int, int]
- counted_proof · function · L661-L664 — def counted_proof(args, *kwargs)
- test_overlapping_audit_pagination_pairs_before_filtering · function · L694-L755 — def test_overlapping_audit_pagination_pairs_before_filtering(tmp_path)
- test_repair_requires_current_restorable_checkpoint_and_fresh_review · function · L758-L993 — def test_repair_requires_current_restorable_checkpoint_and_fresh_review(tmp_path)
- test_repair_completion_rejects_pending_permission_before_sealing · function · L996-L1053 — def test_repair_completion_rejects_pending_permission_before_sealing(tmp_path)
- test_outcome_unknown_pauses_and_revokes_restart_continuation · function · L1056-L1133 — def test_outcome_unknown_pauses_and_revokes_restart_continuation(tmp_path)
- test_failed_repair_uses_aggregate_known_failure_across_groups · function · L1136-L1195 — def test_failed_repair_uses_aggregate_known_failure_across_groups(tmp_path)
- test_partial_commit_failure_pauses_instead_of_retrying · function · L1198-L1270 — def test_partial_commit_failure_pauses_instead_of_retrying(tmp_path)
- test_unstarted_repair_attempt_cannot_be_laundered_as_unknown · function · L1273-L1305 — def test_unstarted_repair_attempt_cannot_be_laundered_as_unknown(tmp_path)
- test_revert_after_bound_effect_abandons_repair_admission · function · L1308-L1405 — def test_revert_after_bound_effect_abandons_repair_admission(tmp_path)
- test_cross_connection_start_is_exactly_once · function · L1408-L1449 — def test_cross_connection_start_is_exactly_once(tmp_path)
- worker · function · L1419-L1427 — def worker() -> None
- test_reopen_cannot_hide_an_older_active_run_on_the_same_branch · function · L1452-L1491 — def test_reopen_cannot_hide_an_older_active_run_on_the_same_branch(tmp_path)
- test_restart_replays_same_run_with_new_process_owner · function · L1494-L1512 — def test_restart_replays_same_run_with_new_process_owner(tmp_path)