$ MODE=on python -W ignore -m unittest -v test_killswitch # 2026-11-29 Python 3.14.4 Linux 7.0 test_1_kill_one_agent_stops_it_in_seconds_and_leaves_the_others (test_killswitch.T.test_1_kill_one_agent_stops_it_in_seconds_and_leaves_the_others) ... ok test_2_global_kill_stops_every_agent (test_killswitch.T.test_2_global_kill_stops_every_agent) ... ok test_3_revoked_credential_is_rejected_on_the_next_call (test_killswitch.T.test_3_revoked_credential_is_rejected_on_the_next_call) ... ok test_4_revoking_a_tool_stops_it_for_every_agent_and_leaves_other_tools (test_killswitch.T.test_4_revoking_a_tool_stops_it_for_every_agent_and_leaves_other_tools) ... ok test_5_background_job_started_by_the_agent_is_cancelled_too (test_killswitch.T.test_5_background_job_started_by_the_agent_is_cancelled_too) ... ok test_6_restore_removes_a_planted_memory_entry_and_config_change (test_killswitch.T.test_6_restore_removes_a_planted_memory_entry_and_config_change) ... ok test_7_a_tampered_snapshot_is_refused (test_killswitch.T.test_7_a_tampered_snapshot_is_refused) ... ok test_8_tiers_limit_slows_and_suspend_pauses (test_killswitch.T.test_8_tiers_limit_slows_and_suspend_pauses) ... ok ---------------------------------------------------------------------- Ran 8 tests in 43.177s OK # a1: last tool call +0.16 s after kill command, process exit after 0.39 s # all agents exited after 0.41 s # a2: 0 calls started after revoke succeeded; 1 call(s) already in flight finished # a1 background job: last heartbeat -0.05 s after kill command # calls in 2 s windows: run 7, limit 2 per 4 s, suspend 0, run again 6