FFFFFFF.FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF....FF.FF.F [100%] =================================== FAILURES =================================== ____________ test_bootstrap_is_dormant_and_does_not_read_activation ____________ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_bootstrap_is_dormant_and_0') def test_bootstrap_is_dormant_and_does_not_read_activation(tmp_path: Path): > spec, authority, activated, bot, _adapter_obj, controller = _bootstrap(tmp_path, record=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/gateway/test_diagnostic_isolation.py:377: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _________ test_pre_activation_delivery_fails_without_rows_or_provider __________ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_pre_activation_delivery_f0') @pytest.mark.asyncio async def test_pre_activation_delivery_fails_without_rows_or_provider(tmp_path: Path): > _spec_obj, authority, activated, bot, _adapter_obj, controller = _bootstrap( tmp_path, record=False ) tests/gateway/test_diagnostic_isolation.py:388: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _______ test_wrong_user_and_stale_generation_are_rejected_before_loader ________ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_wrong_user_and_stale_gene0') def test_wrong_user_and_stale_generation_are_rejected_before_loader(tmp_path: Path): > spec, authority, activated, bot, _adapter_obj, controller = _bootstrap(tmp_path) ^^^^^^^^^^^^^^^^^^^^ tests/gateway/test_diagnostic_isolation.py:398: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError ________________ test_restart_generation_cannot_activate_again _________________ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_restart_generation_cannot0') def test_restart_generation_cannot_activate_again(tmp_path: Path): > spec = _spec() ^^^^^^^ tests/gateway/test_diagnostic_isolation.py:419: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError ________ test_authenticated_activation_is_one_use_and_reaches_provider _________ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_authenticated_activation_0') @pytest.mark.asyncio async def test_authenticated_activation_is_one_use_and_reaches_provider(tmp_path: Path): > spec, authority, activated, bot, _adapter_obj, controller = _bootstrap(tmp_path) ^^^^^^^^^^^^^^^^^^^^ tests/gateway/test_diagnostic_isolation.py:443: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _____________________ test_spec_less_authority_is_rejected _____________________ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_spec_less_authority_is_re0') def test_spec_less_authority_is_rejected(tmp_path: Path): > spec = _spec() ^^^^^^^ tests/gateway/test_diagnostic_isolation.py:467: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError __________ test_public_generic_delivery_is_rejected_without_lifecycle __________ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_public_generic_delivery_i0') @pytest.mark.asyncio async def test_public_generic_delivery_is_rejected_without_lifecycle(tmp_path: Path): > spec, authority, activated, bot, _adapter_obj, controller = _bootstrap(tmp_path) ^^^^^^^^^^^^^^^^^^^^ tests/gateway/test_diagnostic_isolation.py:490: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError __ test_production_binding_rejects_untrusted_adapter_before_activation[none] ___ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_production_binding_reject0') kind = 'none' @pytest.mark.parametrize( "kind", ("none", "simple_namespace", "exact_adapter_fake_bot", "subclass"), ) def test_production_binding_rejects_untrusted_adapter_before_activation( tmp_path: Path, kind: str, ): > spec, authority, activated, bot, _adapter_obj, _bound_controller = _bootstrap( tmp_path, record=False, ) tests/gateway/test_diagnostic_isolation.py:529: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _ test_production_binding_rejects_untrusted_adapter_before_activation[simple_namespace] _ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_production_binding_reject1') kind = 'simple_namespace' @pytest.mark.parametrize( "kind", ("none", "simple_namespace", "exact_adapter_fake_bot", "subclass"), ) def test_production_binding_rejects_untrusted_adapter_before_activation( tmp_path: Path, kind: str, ): > spec, authority, activated, bot, _adapter_obj, _bound_controller = _bootstrap( tmp_path, record=False, ) tests/gateway/test_diagnostic_isolation.py:529: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _ test_production_binding_rejects_untrusted_adapter_before_activation[exact_adapter_fake_bot] _ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_production_binding_reject2') kind = 'exact_adapter_fake_bot' @pytest.mark.parametrize( "kind", ("none", "simple_namespace", "exact_adapter_fake_bot", "subclass"), ) def test_production_binding_rejects_untrusted_adapter_before_activation( tmp_path: Path, kind: str, ): > spec, authority, activated, bot, _adapter_obj, _bound_controller = _bootstrap( tmp_path, record=False, ) tests/gateway/test_diagnostic_isolation.py:529: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _ test_production_binding_rejects_untrusted_adapter_before_activation[subclass] _ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_production_binding_reject3') kind = 'subclass' @pytest.mark.parametrize( "kind", ("none", "simple_namespace", "exact_adapter_fake_bot", "subclass"), ) def test_production_binding_rejects_untrusted_adapter_before_activation( tmp_path: Path, kind: str, ): > spec, authority, activated, bot, _adapter_obj, _bound_controller = _bootstrap( tmp_path, record=False, ) tests/gateway/test_diagnostic_isolation.py:529: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError ____________ test_production_bootstrap_rejects_sealed_test_adapter _____________ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_production_bootstrap_reje0') def test_production_bootstrap_rejects_sealed_test_adapter(tmp_path: Path): > spec, authority, activated, bot, adapter, _controller = _bootstrap( tmp_path, record=False, ) tests/gateway/test_diagnostic_isolation.py:567: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _____ test_private_test_adapter_and_bootstrap_require_exact_token_and_type _____ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_private_test_adapter_and_0') def test_private_test_adapter_and_bootstrap_require_exact_token_and_type( tmp_path: Path, ): > spec, authority, activated, bot, adapter, _controller = _bootstrap( tmp_path, record=False, ) tests/gateway/test_diagnostic_isolation.py:587: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError ___ test_diagnostic_controller_and_host_constructors_require_factory_tokens ____ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_diagnostic_controller_and0') def test_diagnostic_controller_and_host_constructors_require_factory_tokens( tmp_path: Path, ): > spec, authority, activated, bot, _adapter_obj, controller = _bootstrap( tmp_path, record=False, ) tests/gateway/test_diagnostic_isolation.py:628: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _____ test_transport_constructor_requires_factory_token_before_activation ______ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_transport_constructor_req0') def test_transport_constructor_requires_factory_token_before_activation(tmp_path: Path): > spec, authority, activated, bot, adapter, _controller = _bootstrap( tmp_path, record=True, ) tests/gateway/test_diagnostic_isolation.py:667: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError __ test_untrusted_activate_argument_has_zero_routes_reservations_and_provider __ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_untrusted_activate_argume0') @pytest.mark.asyncio async def test_untrusted_activate_argument_has_zero_routes_reservations_and_provider( tmp_path: Path, ): > spec, authority, activated, bot, _adapter_obj, controller = _bootstrap(tmp_path) ^^^^^^^^^^^^^^^^^^^^ tests/gateway/test_diagnostic_isolation.py:692: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _ test_activation_derives_customer_and_trainer_routes_from_registered_runtime __ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_activation_derives_custom0') def test_activation_derives_customer_and_trainer_routes_from_registered_runtime( tmp_path: Path, ): > _spec_obj, _authority, _activated, _bot, _adapter_obj, controller = _bootstrap( tmp_path ) tests/gateway/test_diagnostic_isolation.py:727: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError ____ test_activation_rejects_caller_supplied_routes_before_rows_or_provider ____ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_activation_rejects_caller0') def test_activation_rejects_caller_supplied_routes_before_rows_or_provider( tmp_path: Path, ): > _spec_obj, authority, activated, bot, _adapter_obj, controller = _bootstrap( tmp_path ) tests/gateway/test_diagnostic_isolation.py:746: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _ test_bootstrap_control_must_match_registered_owner_before_activation[8--100-59] _ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_bootstrap_control_must_ma0') owner_user_id = 8, review_chat_id = -100, review_topic_id = 59 @pytest.mark.parametrize( ("owner_user_id", "review_chat_id", "review_topic_id"), ( (8, -100, 59), (7, -101, 59), (7, -100, 60), ), ) def test_bootstrap_control_must_match_registered_owner_before_activation( tmp_path: Path, owner_user_id: int, review_chat_id: int, review_topic_id: int, ): > spec = _spec() ^^^^^^^ tests/gateway/test_diagnostic_isolation.py:781: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _ test_bootstrap_control_must_match_registered_owner_before_activation[7--101-59] _ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_bootstrap_control_must_ma1') owner_user_id = 7, review_chat_id = -101, review_topic_id = 59 @pytest.mark.parametrize( ("owner_user_id", "review_chat_id", "review_topic_id"), ( (8, -100, 59), (7, -101, 59), (7, -100, 60), ), ) def test_bootstrap_control_must_match_registered_owner_before_activation( tmp_path: Path, owner_user_id: int, review_chat_id: int, review_topic_id: int, ): > spec = _spec() ^^^^^^^ tests/gateway/test_diagnostic_isolation.py:781: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _ test_bootstrap_control_must_match_registered_owner_before_activation[7--100-60] _ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_bootstrap_control_must_ma2') owner_user_id = 7, review_chat_id = -100, review_topic_id = 60 @pytest.mark.parametrize( ("owner_user_id", "review_chat_id", "review_topic_id"), ( (8, -100, 59), (7, -101, 59), (7, -100, 60), ), ) def test_bootstrap_control_must_match_registered_owner_before_activation( tmp_path: Path, owner_user_id: int, review_chat_id: int, review_topic_id: int, ): > spec = _spec() ^^^^^^^ tests/gateway/test_diagnostic_isolation.py:781: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError ___________ test_active_host_rejects_post_activation_route_injection ___________ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_active_host_rejects_post_0') def test_active_host_rejects_post_activation_route_injection(tmp_path: Path): > _spec_obj, authority, activated, bot, _adapter_obj, controller = _bootstrap( tmp_path ) tests/gateway/test_diagnostic_isolation.py:825: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError ___________ test_durable_detach_revokes_cached_routes_before_ingress ___________ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_durable_detach_revokes_ca0') def test_durable_detach_revokes_cached_routes_before_ingress(tmp_path: Path): > _spec_obj, authority, activated, bot, _adapter_obj, controller = _bootstrap( tmp_path ) tests/gateway/test_diagnostic_isolation.py:839: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _ test_sealed_activation_delivery_records_exact_terminal_destination_and_body __ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_sealed_activation_deliver0') @pytest.mark.asyncio async def test_sealed_activation_delivery_records_exact_terminal_destination_and_body( tmp_path: Path, ): > _spec_obj, authority, activated, bot, _adapter_obj, controller = _bootstrap(tmp_path) ^^^^^^^^^^^^^^^^^^^^ tests/gateway/test_diagnostic_isolation.py:914: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError __ test_malformed_or_missing_message_id_is_unknown_and_never_resends[missing] __ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_malformed_or_missing_mess0') receipt = namespace() @pytest.mark.asyncio @pytest.mark.parametrize( "receipt", ( SimpleNamespace(), SimpleNamespace(message_id=None), SimpleNamespace(message_id=True), SimpleNamespace(message_id=" "), ), ids=("missing", "none", "boolean", "blank"), ) async def test_malformed_or_missing_message_id_is_unknown_and_never_resends( tmp_path: Path, receipt: object, ): bot = FakeBot(receipt=receipt) > _spec_obj, authority, activated, bot, _adapter_obj, controller = _bootstrap( tmp_path, bot=bot, ) tests/gateway/test_diagnostic_isolation.py:955: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError ___ test_malformed_or_missing_message_id_is_unknown_and_never_resends[none] ____ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_malformed_or_missing_mess1') receipt = namespace(message_id=None) @pytest.mark.asyncio @pytest.mark.parametrize( "receipt", ( SimpleNamespace(), SimpleNamespace(message_id=None), SimpleNamespace(message_id=True), SimpleNamespace(message_id=" "), ), ids=("missing", "none", "boolean", "blank"), ) async def test_malformed_or_missing_message_id_is_unknown_and_never_resends( tmp_path: Path, receipt: object, ): bot = FakeBot(receipt=receipt) > _spec_obj, authority, activated, bot, _adapter_obj, controller = _bootstrap( tmp_path, bot=bot, ) tests/gateway/test_diagnostic_isolation.py:955: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError __ test_malformed_or_missing_message_id_is_unknown_and_never_resends[boolean] __ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_malformed_or_missing_mess2') receipt = namespace(message_id=True) @pytest.mark.asyncio @pytest.mark.parametrize( "receipt", ( SimpleNamespace(), SimpleNamespace(message_id=None), SimpleNamespace(message_id=True), SimpleNamespace(message_id=" "), ), ids=("missing", "none", "boolean", "blank"), ) async def test_malformed_or_missing_message_id_is_unknown_and_never_resends( tmp_path: Path, receipt: object, ): bot = FakeBot(receipt=receipt) > _spec_obj, authority, activated, bot, _adapter_obj, controller = _bootstrap( tmp_path, bot=bot, ) tests/gateway/test_diagnostic_isolation.py:955: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError ___ test_malformed_or_missing_message_id_is_unknown_and_never_resends[blank] ___ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_malformed_or_missing_mess3') receipt = namespace(message_id=' ') @pytest.mark.asyncio @pytest.mark.parametrize( "receipt", ( SimpleNamespace(), SimpleNamespace(message_id=None), SimpleNamespace(message_id=True), SimpleNamespace(message_id=" "), ), ids=("missing", "none", "boolean", "blank"), ) async def test_malformed_or_missing_message_id_is_unknown_and_never_resends( tmp_path: Path, receipt: object, ): bot = FakeBot(receipt=receipt) > _spec_obj, authority, activated, bot, _adapter_obj, controller = _bootstrap( tmp_path, bot=bot, ) tests/gateway/test_diagnostic_isolation.py:955: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError ___________ test_timeout_persists_one_unknown_terminal_and_reraises ____________ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_timeout_persists_one_unkn0') @pytest.mark.asyncio async def test_timeout_persists_one_unknown_terminal_and_reraises(tmp_path: Path): bot = FakeBot(error=TimeoutError("provider timeout")) > _spec_obj, authority, activated, bot, _adapter_obj, controller = _bootstrap( tmp_path, bot=bot, ) tests/gateway/test_diagnostic_isolation.py:982: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _________ test_cancellation_persists_one_unknown_terminal_and_reraises _________ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_cancellation_persists_one0') @pytest.mark.asyncio async def test_cancellation_persists_one_unknown_terminal_and_reraises(tmp_path: Path): started = asyncio.Event() release = asyncio.Event() bot = FakeBot(started=started, release=release) > _spec_obj, authority, activated, bot, _adapter_obj, controller = _bootstrap( tmp_path, bot=bot, ) tests/gateway/test_diagnostic_isolation.py:1004: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _ test_close_first_admission_race_has_zero_reservation_and_provider_calls[close] _ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_close_first_admission_rac0') terminal = 'close' @pytest.mark.asyncio @pytest.mark.parametrize("terminal", ("close", "expire", "stop")) async def test_close_first_admission_race_has_zero_reservation_and_provider_calls( tmp_path: Path, terminal: str, ): > _spec_obj, authority, activated, bot, _adapter_obj, controller = _bootstrap(tmp_path) ^^^^^^^^^^^^^^^^^^^^ tests/gateway/test_diagnostic_isolation.py:1031: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _ test_close_first_admission_race_has_zero_reservation_and_provider_calls[expire] _ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_close_first_admission_rac1') terminal = 'expire' @pytest.mark.asyncio @pytest.mark.parametrize("terminal", ("close", "expire", "stop")) async def test_close_first_admission_race_has_zero_reservation_and_provider_calls( tmp_path: Path, terminal: str, ): > _spec_obj, authority, activated, bot, _adapter_obj, controller = _bootstrap(tmp_path) ^^^^^^^^^^^^^^^^^^^^ tests/gateway/test_diagnostic_isolation.py:1031: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _ test_close_first_admission_race_has_zero_reservation_and_provider_calls[stop] _ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_close_first_admission_rac2') terminal = 'stop' @pytest.mark.asyncio @pytest.mark.parametrize("terminal", ("close", "expire", "stop")) async def test_close_first_admission_race_has_zero_reservation_and_provider_calls( tmp_path: Path, terminal: str, ): > _spec_obj, authority, activated, bot, _adapter_obj, controller = _bootstrap(tmp_path) ^^^^^^^^^^^^^^^^^^^^ tests/gateway/test_diagnostic_isolation.py:1031: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _____ test_provider_first_admission_race_terminalizes_before_detach[close] _____ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_provider_first_admission_0') terminal = 'close' @pytest.mark.asyncio @pytest.mark.parametrize("terminal", ("close", "expire", "stop")) async def test_provider_first_admission_race_terminalizes_before_detach( tmp_path: Path, terminal: str, ): started = asyncio.Event() release = asyncio.Event() bot = FakeBot(started=started, release=release) > _spec_obj, authority, activated, bot, _adapter_obj, controller = _bootstrap( tmp_path, bot=bot, ) tests/gateway/test_diagnostic_isolation.py:1054: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError ____ test_provider_first_admission_race_terminalizes_before_detach[expire] _____ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_provider_first_admission_1') terminal = 'expire' @pytest.mark.asyncio @pytest.mark.parametrize("terminal", ("close", "expire", "stop")) async def test_provider_first_admission_race_terminalizes_before_detach( tmp_path: Path, terminal: str, ): started = asyncio.Event() release = asyncio.Event() bot = FakeBot(started=started, release=release) > _spec_obj, authority, activated, bot, _adapter_obj, controller = _bootstrap( tmp_path, bot=bot, ) tests/gateway/test_diagnostic_isolation.py:1054: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _____ test_provider_first_admission_race_terminalizes_before_detach[stop] ______ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_provider_first_admission_2') terminal = 'stop' @pytest.mark.asyncio @pytest.mark.parametrize("terminal", ("close", "expire", "stop")) async def test_provider_first_admission_race_terminalizes_before_detach( tmp_path: Path, terminal: str, ): started = asyncio.Event() release = asyncio.Event() bot = FakeBot(started=started, release=release) > _spec_obj, authority, activated, bot, _adapter_obj, controller = _bootstrap( tmp_path, bot=bot, ) tests/gateway/test_diagnostic_isolation.py:1054: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError ______ test_detach_fence_failure_revokes_local_routes_and_provider[close] ______ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_detach_fence_failure_revo0') monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x76f173dca030> terminal = 'close' @pytest.mark.parametrize("terminal", ("close", "expire", "stop")) @pytest.mark.asyncio async def test_detach_fence_failure_revokes_local_routes_and_provider( tmp_path: Path, monkeypatch, terminal: str, ): > _spec_obj, authority, activated, bot, _adapter_obj, controller = _bootstrap( tmp_path ) tests/gateway/test_diagnostic_isolation.py:1086: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _____ test_detach_fence_failure_revokes_local_routes_and_provider[expire] ______ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_detach_fence_failure_revo1') monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x76f173dbb470> terminal = 'expire' @pytest.mark.parametrize("terminal", ("close", "expire", "stop")) @pytest.mark.asyncio async def test_detach_fence_failure_revokes_local_routes_and_provider( tmp_path: Path, monkeypatch, terminal: str, ): > _spec_obj, authority, activated, bot, _adapter_obj, controller = _bootstrap( tmp_path ) tests/gateway/test_diagnostic_isolation.py:1086: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError ______ test_detach_fence_failure_revokes_local_routes_and_provider[stop] _______ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_detach_fence_failure_revo2') monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x76f174525af0> terminal = 'stop' @pytest.mark.parametrize("terminal", ("close", "expire", "stop")) @pytest.mark.asyncio async def test_detach_fence_failure_revokes_local_routes_and_provider( tmp_path: Path, monkeypatch, terminal: str, ): > _spec_obj, authority, activated, bot, _adapter_obj, controller = _bootstrap( tmp_path ) tests/gateway/test_diagnostic_isolation.py:1086: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _ test_transport_mutation_before_provider_is_terminal_unknown_and_provider_zero[adapter] _ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_transport_mutation_before0') mutation = 'adapter' @pytest.mark.asyncio @pytest.mark.parametrize( "mutation", ("adapter", "bot", "object", "destination", "binding"), ) async def test_transport_mutation_before_provider_is_terminal_unknown_and_provider_zero( tmp_path: Path, mutation: str, ): > spec, authority, activated, bot, adapter, controller = _bootstrap(tmp_path) ^^^^^^^^^^^^^^^^^^^^ tests/gateway/test_diagnostic_isolation.py:1121: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _ test_transport_mutation_before_provider_is_terminal_unknown_and_provider_zero[bot] _ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_transport_mutation_before1') mutation = 'bot' @pytest.mark.asyncio @pytest.mark.parametrize( "mutation", ("adapter", "bot", "object", "destination", "binding"), ) async def test_transport_mutation_before_provider_is_terminal_unknown_and_provider_zero( tmp_path: Path, mutation: str, ): > spec, authority, activated, bot, adapter, controller = _bootstrap(tmp_path) ^^^^^^^^^^^^^^^^^^^^ tests/gateway/test_diagnostic_isolation.py:1121: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _ test_transport_mutation_before_provider_is_terminal_unknown_and_provider_zero[object] _ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_transport_mutation_before2') mutation = 'object' @pytest.mark.asyncio @pytest.mark.parametrize( "mutation", ("adapter", "bot", "object", "destination", "binding"), ) async def test_transport_mutation_before_provider_is_terminal_unknown_and_provider_zero( tmp_path: Path, mutation: str, ): > spec, authority, activated, bot, adapter, controller = _bootstrap(tmp_path) ^^^^^^^^^^^^^^^^^^^^ tests/gateway/test_diagnostic_isolation.py:1121: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _ test_transport_mutation_before_provider_is_terminal_unknown_and_provider_zero[destination] _ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_transport_mutation_before3') mutation = 'destination' @pytest.mark.asyncio @pytest.mark.parametrize( "mutation", ("adapter", "bot", "object", "destination", "binding"), ) async def test_transport_mutation_before_provider_is_terminal_unknown_and_provider_zero( tmp_path: Path, mutation: str, ): > spec, authority, activated, bot, adapter, controller = _bootstrap(tmp_path) ^^^^^^^^^^^^^^^^^^^^ tests/gateway/test_diagnostic_isolation.py:1121: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _ test_transport_mutation_before_provider_is_terminal_unknown_and_provider_zero[binding] _ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_transport_mutation_before4') mutation = 'binding' @pytest.mark.asyncio @pytest.mark.parametrize( "mutation", ("adapter", "bot", "object", "destination", "binding"), ) async def test_transport_mutation_before_provider_is_terminal_unknown_and_provider_zero( tmp_path: Path, mutation: str, ): > spec, authority, activated, bot, adapter, controller = _bootstrap(tmp_path) ^^^^^^^^^^^^^^^^^^^^ tests/gateway/test_diagnostic_isolation.py:1121: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _____ test_unknown_duplicate_mapping_is_exact_in_process_and_after_restart _____ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_unknown_duplicate_mapping0') @pytest.mark.asyncio async def test_unknown_duplicate_mapping_is_exact_in_process_and_after_restart( tmp_path: Path, ): bot = FakeBot(receipt=SimpleNamespace(message_id=None)) > spec, authority, activated, bot, _adapter_obj, controller = _bootstrap( tmp_path, bot=bot, ) tests/gateway/test_diagnostic_isolation.py:1162: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError __ test_audit_pending_duplicate_mapping_and_reconcile_are_exact_after_restart __ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_audit_pending_duplicate_m0') @pytest.mark.asyncio async def test_audit_pending_duplicate_mapping_and_reconcile_are_exact_after_restart( tmp_path: Path, ): > spec, authority, activated, bot, _adapter_obj, controller = _bootstrap(tmp_path) ^^^^^^^^^^^^^^^^^^^^ tests/gateway/test_diagnostic_isolation.py:1196: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError __ test_sent_audited_duplicate_mapping_is_exact_in_process_and_after_restart ___ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_sent_audited_duplicate_ma0') @pytest.mark.asyncio async def test_sent_audited_duplicate_mapping_is_exact_in_process_and_after_restart( tmp_path: Path, ): > spec, authority, activated, bot, _adapter_obj, controller = _bootstrap(tmp_path) ^^^^^^^^^^^^^^^^^^^^ tests/gateway/test_diagnostic_isolation.py:1254: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _ test_activation_record_replacement_after_activation_has_zero_provider_and_rows _ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_activation_record_replace0') @pytest.mark.asyncio async def test_activation_record_replacement_after_activation_has_zero_provider_and_rows( tmp_path: Path, ): > _spec_obj, authority, activated, bot, _adapter_obj, controller = _bootstrap(tmp_path) ^^^^^^^^^^^^^^^^^^^^ tests/gateway/test_diagnostic_isolation.py:1287: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _ test_activation_pin_body_destination_mutation_after_activation_has_zero_provider_and_rows[pin] _ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_activation_pin_body_desti0') mutation = 'pin' @pytest.mark.asyncio @pytest.mark.parametrize("mutation", ("pin", "body", "destination")) async def test_activation_pin_body_destination_mutation_after_activation_has_zero_provider_and_rows( tmp_path: Path, mutation: str, ): > _spec_obj, authority, activated, bot, _adapter_obj, controller = _bootstrap(tmp_path) ^^^^^^^^^^^^^^^^^^^^ tests/gateway/test_diagnostic_isolation.py:1310: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _ test_activation_pin_body_destination_mutation_after_activation_has_zero_provider_and_rows[body] _ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_activation_pin_body_desti1') mutation = 'body' @pytest.mark.asyncio @pytest.mark.parametrize("mutation", ("pin", "body", "destination")) async def test_activation_pin_body_destination_mutation_after_activation_has_zero_provider_and_rows( tmp_path: Path, mutation: str, ): > _spec_obj, authority, activated, bot, _adapter_obj, controller = _bootstrap(tmp_path) ^^^^^^^^^^^^^^^^^^^^ tests/gateway/test_diagnostic_isolation.py:1310: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _ test_activation_pin_body_destination_mutation_after_activation_has_zero_provider_and_rows[destination] _ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_activation_pin_body_desti2') mutation = 'destination' @pytest.mark.asyncio @pytest.mark.parametrize("mutation", ("pin", "body", "destination")) async def test_activation_pin_body_destination_mutation_after_activation_has_zero_provider_and_rows( tmp_path: Path, mutation: str, ): > _spec_obj, authority, activated, bot, _adapter_obj, controller = _bootstrap(tmp_path) ^^^^^^^^^^^^^^^^^^^^ tests/gateway/test_diagnostic_isolation.py:1310: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError __ test_wrong_user_message_and_callback_ingress_have_zero_downstream[message] __ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_wrong_user_message_and_ca0') ingress = 'message' @pytest.mark.asyncio @pytest.mark.parametrize("ingress", ("message", "callback")) async def test_wrong_user_message_and_callback_ingress_have_zero_downstream( tmp_path: Path, ingress: str, ): > _spec_obj, authority, activated, bot, _adapter_obj, controller = _bootstrap(tmp_path) ^^^^^^^^^^^^^^^^^^^^ tests/gateway/test_diagnostic_isolation.py:1357: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _ test_wrong_user_message_and_callback_ingress_have_zero_downstream[callback] __ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_wrong_user_message_and_ca1') ingress = 'callback' @pytest.mark.asyncio @pytest.mark.parametrize("ingress", ("message", "callback")) async def test_wrong_user_message_and_callback_ingress_have_zero_downstream( tmp_path: Path, ingress: str, ): > _spec_obj, authority, activated, bot, _adapter_obj, controller = _bootstrap(tmp_path) ^^^^^^^^^^^^^^^^^^^^ tests/gateway/test_diagnostic_isolation.py:1357: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _ test_detached_diagnostic_spaces_never_fall_through_to_generic_ingress[message] _ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_detached_diagnostic_space0') ingress = 'message' @pytest.mark.asyncio @pytest.mark.parametrize("ingress", ("message", "callback")) async def test_detached_diagnostic_spaces_never_fall_through_to_generic_ingress( tmp_path: Path, ingress: str, ): > _spec_obj, authority, activated, bot, _adapter_obj, controller = _bootstrap( tmp_path ) tests/gateway/test_diagnostic_isolation.py:1423: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _ test_detached_diagnostic_spaces_never_fall_through_to_generic_ingress[callback] _ tmp_path = PosixPath('/home/cube/projects/richard/traning coach/task-12-independent-verification-r8/gateway/basetemp/fb00d7765c/test_detached_diagnostic_space1') ingress = 'callback' @pytest.mark.asyncio @pytest.mark.parametrize("ingress", ("message", "callback")) async def test_detached_diagnostic_spaces_never_fall_through_to_generic_ingress( tmp_path: Path, ingress: str, ): > _spec_obj, authority, activated, bot, _adapter_obj, controller = _bootstrap( tmp_path ) tests/gateway/test_diagnostic_isolation.py:1423: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gateway/test_diagnostic_isolation.py:347: in _bootstrap spec = _spec() ^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError _______ test_candidate_provenance_requires_the_activated_child_instance ________ def test_candidate_provenance_requires_the_activated_child_instance(): > spec = _spec() ^^^^^^^ tests/gateway/test_diagnostic_isolation.py:1498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _spec() -> DiagnosticIsolationSpecV1: destination = ("-100", "71") destination_digest = hashlib.sha256( json.dumps(destination, separators=(",", ":")).encode("utf-8") ).hexdigest() > return DiagnosticIsolationSpecV1( owner_digest="1" * 64, test_bot_digest="2" * 64, customer_destination_digest=destination_digest, trainer_destination_digest="4" * 64, operator_destination_digest="5" * 64, profile_digest="6" * 64, max_provider_timeout_seconds=2, expires_at="2099-01-01T00:00:00Z", approved_by="owner", approved_at="2026-01-01T00:00:00Z", ) E TypeError: DiagnosticIsolationSpecV1.__init__() got an unexpected keyword argument 'trainer_destination_digest' tests/gateway/test_diagnostic_isolation.py:51: TypeError =========================== short test summary info ============================ FAILED tests/gateway/test_diagnostic_isolation.py::test_bootstrap_is_dormant_and_does_not_read_activation FAILED tests/gateway/test_diagnostic_isolation.py::test_pre_activation_delivery_fails_without_rows_or_provider FAILED tests/gateway/test_diagnostic_isolation.py::test_wrong_user_and_stale_generation_are_rejected_before_loader FAILED tests/gateway/test_diagnostic_isolation.py::test_restart_generation_cannot_activate_again FAILED tests/gateway/test_diagnostic_isolation.py::test_authenticated_activation_is_one_use_and_reaches_provider FAILED tests/gateway/test_diagnostic_isolation.py::test_spec_less_authority_is_rejected FAILED tests/gateway/test_diagnostic_isolation.py::test_public_generic_delivery_is_rejected_without_lifecycle FAILED tests/gateway/test_diagnostic_isolation.py::test_production_binding_rejects_untrusted_adapter_before_activation[none] FAILED tests/gateway/test_diagnostic_isolation.py::test_production_binding_rejects_untrusted_adapter_before_activation[simple_namespace] FAILED tests/gateway/test_diagnostic_isolation.py::test_production_binding_rejects_untrusted_adapter_before_activation[exact_adapter_fake_bot] FAILED tests/gateway/test_diagnostic_isolation.py::test_production_binding_rejects_untrusted_adapter_before_activation[subclass] FAILED tests/gateway/test_diagnostic_isolation.py::test_production_bootstrap_rejects_sealed_test_adapter FAILED tests/gateway/test_diagnostic_isolation.py::test_private_test_adapter_and_bootstrap_require_exact_token_and_type FAILED tests/gateway/test_diagnostic_isolation.py::test_diagnostic_controller_and_host_constructors_require_factory_tokens FAILED tests/gateway/test_diagnostic_isolation.py::test_transport_constructor_requires_factory_token_before_activation FAILED tests/gateway/test_diagnostic_isolation.py::test_untrusted_activate_argument_has_zero_routes_reservations_and_provider FAILED tests/gateway/test_diagnostic_isolation.py::test_activation_derives_customer_and_trainer_routes_from_registered_runtime FAILED tests/gateway/test_diagnostic_isolation.py::test_activation_rejects_caller_supplied_routes_before_rows_or_provider FAILED tests/gateway/test_diagnostic_isolation.py::test_bootstrap_control_must_match_registered_owner_before_activation[8--100-59] FAILED tests/gateway/test_diagnostic_isolation.py::test_bootstrap_control_must_match_registered_owner_before_activation[7--101-59] FAILED tests/gateway/test_diagnostic_isolation.py::test_bootstrap_control_must_match_registered_owner_before_activation[7--100-60] FAILED tests/gateway/test_diagnostic_isolation.py::test_active_host_rejects_post_activation_route_injection FAILED tests/gateway/test_diagnostic_isolation.py::test_durable_detach_revokes_cached_routes_before_ingress FAILED tests/gateway/test_diagnostic_isolation.py::test_sealed_activation_delivery_records_exact_terminal_destination_and_body FAILED tests/gateway/test_diagnostic_isolation.py::test_malformed_or_missing_message_id_is_unknown_and_never_resends[missing] FAILED tests/gateway/test_diagnostic_isolation.py::test_malformed_or_missing_message_id_is_unknown_and_never_resends[none] FAILED tests/gateway/test_diagnostic_isolation.py::test_malformed_or_missing_message_id_is_unknown_and_never_resends[boolean] FAILED tests/gateway/test_diagnostic_isolation.py::test_malformed_or_missing_message_id_is_unknown_and_never_resends[blank] FAILED tests/gateway/test_diagnostic_isolation.py::test_timeout_persists_one_unknown_terminal_and_reraises FAILED tests/gateway/test_diagnostic_isolation.py::test_cancellation_persists_one_unknown_terminal_and_reraises FAILED tests/gateway/test_diagnostic_isolation.py::test_close_first_admission_race_has_zero_reservation_and_provider_calls[close] FAILED tests/gateway/test_diagnostic_isolation.py::test_close_first_admission_race_has_zero_reservation_and_provider_calls[expire] FAILED tests/gateway/test_diagnostic_isolation.py::test_close_first_admission_race_has_zero_reservation_and_provider_calls[stop] FAILED tests/gateway/test_diagnostic_isolation.py::test_provider_first_admission_race_terminalizes_before_detach[close] FAILED tests/gateway/test_diagnostic_isolation.py::test_provider_first_admission_race_terminalizes_before_detach[expire] FAILED tests/gateway/test_diagnostic_isolation.py::test_provider_first_admission_race_terminalizes_before_detach[stop] FAILED tests/gateway/test_diagnostic_isolation.py::test_detach_fence_failure_revokes_local_routes_and_provider[close] FAILED tests/gateway/test_diagnostic_isolation.py::test_detach_fence_failure_revokes_local_routes_and_provider[expire] FAILED tests/gateway/test_diagnostic_isolation.py::test_detach_fence_failure_revokes_local_routes_and_provider[stop] FAILED tests/gateway/test_diagnostic_isolation.py::test_transport_mutation_before_provider_is_terminal_unknown_and_provider_zero[adapter] FAILED tests/gateway/test_diagnostic_isolation.py::test_transport_mutation_before_provider_is_terminal_unknown_and_provider_zero[bot] FAILED tests/gateway/test_diagnostic_isolation.py::test_transport_mutation_before_provider_is_terminal_unknown_and_provider_zero[object] FAILED tests/gateway/test_diagnostic_isolation.py::test_transport_mutation_before_provider_is_terminal_unknown_and_provider_zero[destination] FAILED tests/gateway/test_diagnostic_isolation.py::test_transport_mutation_before_provider_is_terminal_unknown_and_provider_zero[binding] FAILED tests/gateway/test_diagnostic_isolation.py::test_unknown_duplicate_mapping_is_exact_in_process_and_after_restart FAILED tests/gateway/test_diagnostic_isolation.py::test_audit_pending_duplicate_mapping_and_reconcile_are_exact_after_restart FAILED tests/gateway/test_diagnostic_isolation.py::test_sent_audited_duplicate_mapping_is_exact_in_process_and_after_restart FAILED tests/gateway/test_diagnostic_isolation.py::test_activation_record_replacement_after_activation_has_zero_provider_and_rows FAILED tests/gateway/test_diagnostic_isolation.py::test_activation_pin_body_destination_mutation_after_activation_has_zero_provider_and_rows[pin] FAILED tests/gateway/test_diagnostic_isolation.py::test_activation_pin_body_destination_mutation_after_activation_has_zero_provider_and_rows[body] FAILED tests/gateway/test_diagnostic_isolation.py::test_activation_pin_body_destination_mutation_after_activation_has_zero_provider_and_rows[destination] FAILED tests/gateway/test_diagnostic_isolation.py::test_wrong_user_message_and_callback_ingress_have_zero_downstream[message] FAILED tests/gateway/test_diagnostic_isolation.py::test_wrong_user_message_and_callback_ingress_have_zero_downstream[callback] FAILED tests/gateway/test_diagnostic_isolation.py::test_detached_diagnostic_spaces_never_fall_through_to_generic_ingress[message] FAILED tests/gateway/test_diagnostic_isolation.py::test_detached_diagnostic_spaces_never_fall_through_to_generic_ingress[callback] FAILED tests/gateway/test_diagnostic_isolation.py::test_candidate_provenance_requires_the_activated_child_instance 56 failed, 7 passed in 2.03s