← Về thư mục
tests/test_auto_mode_portability_regressions.py
- _canonical · function · L28-L29 — def _canonical(value: object) -> str
- _digest · function · L32-L33 — def _digest(value: object) -> str
- _quarantine_value · function · L36-L37 — def _quarantine_value() -> str
- _domain · function · L40-L64 — def _domain(tmp_path: Path, name: str) -> tuple[Store, SessionDomainService, str]
- workspace · function · L55-L58 — def workspace(root_frame_id: str, branch_id: str) -> Path
- _record_verified_run · function · L67-L141 — def _record_verified_run( store: Store, root: str, *, run_id: str, candidate_id: str, marker: str, created_at: int, ) -> None
- _package_auto_mode · function · L144-L147 — def _package_auto_mode(package: bytes) -> dict[str, Any]
- test_session_domain_round_trip_scopes_reused_candidate_ids_per_run · function · L150-L184 — def test_session_domain_round_trip_scopes_reused_candidate_ids_per_run(tmp_path)
- _event · function · L187-L204 — def _event( events: list[dict[str, Any]], event_type: str, scope: dict[str, str], payload: dict[str, Any], ) -> dict[str, Any]
- _ordered_owner_projection · function · L207-L489 — def _ordered_owner_projection() -> tuple[dict[str, Any], dict[str, str]]
- _completed_owner_projection · function · L492-L550 — def _completed_owner_projection() -> dict[str, Any]
- _repair_binding_projection · function · L553-L600 — def _repair_binding_projection() -> tuple[dict[str, Any], str]
- _direct_import · function · L603-L622 — def _direct_import( store: Store, projection: dict[str, Any], *, project_id: str, version_id_map: dict[str, str] | None = None, ) -> tuple[dict[str, Any], str]
- test_imported_owner_and_finding_order_follows_start_cursor · function · L625-L666 — def test_imported_owner_and_finding_order_follows_start_cursor(tmp_path)
- test_local_owner_status_cannot_use_imported_inert_state · function · L677-L687 — def test_local_owner_status_cannot_use_imported_inert_state(collection, status)
- test_run_trust_falls_back_for_legacy_packages_and_rejects_invalid_override · function · L690-L707 — def test_run_trust_falls_back_for_legacy_packages_and_rejects_invalid_override()
- test_imported_started_owners_remain_inert_without_completion_proof · function · L710-L764 — def test_imported_started_owners_remain_inert_without_completion_proof(tmp_path)
- test_repair_execution_binding_is_not_a_second_primary_start · function · L767-L792 — def test_repair_execution_binding_is_not_a_second_primary_start()
- test_repair_execution_binding_must_exist_on_its_owner · function · L795-L815 — def test_repair_execution_binding_must_exist_on_its_owner()
- test_repair_owner_group_must_have_one_ordered_binding_event · function · L818-L838 — def test_repair_owner_group_must_have_one_ordered_binding_event()
- test_repair_binding_event_order_must_match_owner_order · function · L841-L886 — def test_repair_binding_event_order_must_match_owner_order()
- test_session_package_round_trip_preserves_two_repair_bindings_in_order · function · L889-L1060 — def test_session_package_round_trip_preserves_two_repair_bindings_in_order( tmp_path, )
- workspace · function · L1016-L1019 — def workspace(root_frame_id: str, branch_id: str) -> Path
- test_repair_execution_binding_must_reference_known_repair_and_owner_run · function · L1063-L1125 — def test_repair_execution_binding_must_reference_known_repair_and_owner_run()
- test_confirmed_fresh_restart_share_round_trip_preserves_mixed_run_trust · function · L1128-L1289 — def test_confirmed_fresh_restart_share_round_trip_preserves_mixed_run_trust( tmp_path, monkeypatch )
- SilentHub · class · L1131-L1139 — class SilentHub
- emitter · method · L1132-L1133 — def emitter(self, _root_frame_id)
- broadcast · method · L1135-L1136 — def broadcast(self, _root_frame_id, _event)
- drop_frame · method · L1138-L1139 — def drop_frame(self, _root_frame_id)
- FakeRecoveryRuntime · class · L1141-L1153 — class FakeRecoveryRuntime
- fresh_manifests · method · L1142-L1143 — def fresh_manifests(self)
- run · method · L1145-L1146 — def run(self, _plan)
- kernel_status_event · method · L1148-L1153 — def kernel_status_event(self, result, recovery_id)
- _parity_projection · function · L1295-L1300 — def _parity_projection() -> dict[str, Any]
- _review_status_bogus · function · L1303-L1304 — def _review_status_bogus(projection: dict[str, Any]) -> None
- _permission_status_bogus · function · L1307-L1308 — def _permission_status_bogus(projection: dict[str, Any]) -> None
- _candidate_status_bogus · function · L1311-L1312 — def _candidate_status_bogus(projection: dict[str, Any]) -> None
- _bad_policy_version · function · L1315-L1317 — def _bad_policy_version(projection: dict[str, Any]) -> None
- _missing_review_attempt · function · L1320-L1321 — def _missing_review_attempt(projection: dict[str, Any]) -> None
- _mismatched_review_attempt · function · L1324-L1325 — def _mismatched_review_attempt(projection: dict[str, Any]) -> None
- _failed_permission_allows · function · L1328-L1332 — def _failed_permission_allows(projection: dict[str, Any]) -> None
- test_shared_and_direct_import_reject_the_same_invalid_graphs · function · L1347-L1374 — def test_shared_and_direct_import_reject_the_same_invalid_graphs( tmp_path, name: str, mutate: Mutation )
- _permission_audit_projection · function · L1377-L1486 — def _permission_audit_projection(count: int) -> dict[str, Any]
- _event_select_count · function · L1489-L1511 — def _event_select_count(tmp_path: Path, count: int) -> int
- test_direct_import_audit_event_select_count_is_constant · function · L1514-L1518 — def test_direct_import_audit_event_select_count_is_constant(tmp_path)
- test_second_session_round_trip_preserves_source_claim_and_stays_inert · function · L1521-L1574 — def test_second_session_round_trip_preserves_source_claim_and_stays_inert(tmp_path)