
running 102 tests
test detect::manifest::tests::bottom_non_empty_lines_uses_bottom_occurrence_for_repeated_text ... ok
test detect::manifest::tests::manifest_validation_keeps_skip_rules_neutral ... ok
test detect::manifest::tests::manifest_validation_rejects_excessive_gate_depth ... ok
test detect::manifest::tests::manifest_validation_rejects_excessive_matchers ... ok
test detect::manifest::tests::manifest_validation_rejects_unknown_fields_empty_rules_invalid_regions_and_regexes ... ok
test detect::manifest::tests::manifest_validation_rejects_excessive_rule_count ... ok
test detect::manifest::tests::all_bundled_manifests_parse_and_validate ... ok
test detect::manifest::tests::compiled_rules_are_shared_until_manifest_reload ... ok
test detect::manifest::tests::local_override_shadows_cached_remote_manifest ... ok
test detect::manifest::tests::end_anchored_footer_gates_allow_only_auxiliary_tail ... ok
test detect::manifest::tests::detection_uses_cached_manifest_until_explicit_reload ... ok
test detect::manifest::tests::fallback_explain_preserves_active_manifest_version ... ok
test detect::manifest::tests::known_agent_no_match_defaults_to_idle_fallback ... ok
test detect::manifest::tests::invalid_local_override_falls_back_to_cached_remote_manifest ... ok
test detect::manifest::tests::screen_regions_extract_structure_without_classifying_agent_state ... ok
test detect::manifest::tests::older_cached_remote_manifest_does_not_shadow_newer_bundled_manifest ... ok
test detect::manifest::tests::top_non_empty_lines_requires_a_canonical_positive_bounded_count ... ok
test detect::manifest::tests::top_non_empty_lines_requires_engine_three_when_declared ... ok
test detect::manifest::tests::top_non_empty_lines_uses_top_occurrence_for_repeated_text ... ok
test detect::manifest::tests::opencode_214_footer_is_working_under_bundled_manifest ... ok
test detect::manifest::tests::opencode_214_footer_variants_under_bundled_manifest ... ok
test detect::manifest::tests::opencode_busy_footer_is_working_under_bundled_manifest ... ok
test detect::manifest::tests::opencode_status_footer_boundaries_under_bundled_manifest ... ok
test detect::manifest_update::tests::catalog_parses_known_agents_and_rejects_duplicates ... ok
test detect::manifest_update::tests::catalog_rejects_unsafe_paths ... ok
test detect::manifest_update::tests::manifest_version_compares_dotted_numeric_segments ... ok
test detect::manifest_update::tests::manifest_version_rejects_non_numeric_segments ... ok
test detect::manifest::tests::osc_regions_use_separate_inputs_and_share_rule_priority ... ok
test detect::manifest::tests::paired_alternatives_require_complete_gates_at_bottom_buffer ... ok
test detect::manifest::tests::remote_manifest_loads_between_local_override_and_bundled ... ok
test detect::manifest::tests::rule_semantics_apply_gates_priority_and_line_regex ... ok
test detect::tests::canonical_agent_labels_are_strict ... ok
test detect::tests::cmdline_argv0_agent_name_canonicalizes_known_aliases ... ok
test detect::tests::cmdline_argv0_agent_name_requires_exact_agent_basename ... ok
test detect::tests::every_agent_has_a_canonical_interactive_executable ... ok
test detect::tests::every_agent_label_round_trips_through_canonical_and_alias_parsers ... ok
test detect::tests::hermes_installer_signature_allows_another_install_root ... ok
test detect::tests::hermes_installer_signature_rejects_incidental_source_and_unsafe_roots ... ok
test detect::tests::identify_agent_in_job_canonicalizes_nix_wrapped_aliases_from_cmdline_argv0 ... ok
test detect::tests::identify_agent_in_job_detects_bun_wrapped_omp ... ok
test detect::tests::identify_agent_in_job_detects_cline_native_binaries ... ok
test detect::tests::identify_agent_in_job_detects_cline_node_wrapper ... ok
test detect::tests::identify_agent_in_job_detects_hermes_installer_capture ... ok
test detect::tests::identify_agent_in_job_detects_interactive_letta_entrypoints ... ok
test detect::tests::identify_agent_in_job_detects_nix_wrapped_codex_from_cmdline_argv0 ... ok
test detect::tests::identify_agent_in_job_detects_node_wrapped_kimi_package_cli ... ok
test detect::tests::identify_agent_in_job_detects_node_wrapped_mastracode_package_cli ... ok
test detect::tests::identify_agent_in_job_detects_node_wrapped_pi_bundled_cli ... ok
test detect::tests::identify_agent_in_job_detects_node_wrapped_pi_package_cli ... ok
test detect::tests::identify_agent_in_job_detects_node_wrapped_qwen ... ok
test detect::tests::identify_agent_in_job_detects_opencode2_as_opencode ... ok
test detect::tests::identify_agent_in_job_detects_opencode_exe_from_argv0_path ... ok
test detect::tests::identify_agent_in_job_detects_opencode_exe_from_pnpm_package ... ok
test detect::tests::identify_agent_in_job_detects_powershell_file_wrapped_claude ... ok
test detect::tests::identify_agent_in_job_detects_python_script_named_codex ... ok
test detect::tests::identify_agent_in_job_detects_python_version_wrapped_hermes ... ok
test detect::tests::identify_agent_in_job_detects_shell_wrapped_pi ... ok
test detect::tests::identify_agent_in_job_detects_windows_cmd_wrapped_codex ... ok
test detect::tests::identify_agent_in_job_detects_windows_cursor_install ... ok
test detect::tests::identify_agent_in_job_falls_back_when_process_group_leader_is_unrecognized ... ok
test detect::tests::identify_agent_in_job_ignores_herdr_powershell_shell_integration_argv ... ok
test detect::tests::identify_agent_in_job_ignores_invalid_windows_cursor_install_paths ... ok
test detect::tests::identify_agent_in_job_ignores_node_eval_argument_named_codex ... ok
test detect::tests::identify_agent_in_job_ignores_non_cli_pi_package_scripts ... ok
test detect::tests::identify_agent_in_job_ignores_noninteractive_letta_processes ... ok
test detect::tests::identify_agent_in_job_ignores_python_c_argument_named_codex ... ok
test detect::tests::identify_agent_in_job_ignores_shell_c_argument_named_codex ... ok
test detect::tests::identify_agent_in_job_prefers_recognized_process_group_leader ... ok
test detect::tests::identify_agent_in_job_prefers_wrapped_codex ... ok
test detect::tests::identify_agent_in_job_rejects_hermes_installer_helper_modes ... ok
test detect::tests::identify_agent_in_job_rejects_hermes_source_outside_installer_invocation ... ok
test detect::tests::identify_agent_in_job_rejects_unrelated_cline_mentions ... ok
test detect::tests::identify_agent_in_job_resolves_cursor_agent_symlink_argv0 ... ok
test detect::tests::identify_case_insensitive ... ok
test detect::tests::identify_known_agents ... ok
test detect::tests::identify_unknown_processes ... ok
test detect::tests::mastracode_is_hook_authority_without_screen_manifest ... ok
test detect::tests::no_agent_returns_unknown ... ok
test detect::tests::parse_known_agent_labels ... ok
test detect::tests::session_identity_integrations_leave_state_to_screen_detection ... ok
test detect::tests::wrapped_agent_name_from_runtime_argv_ignores_plain_shell_flags ... ok
test server::autodetect::tests::is_server_listening_returns_false_for_nonexistent_path ... ok
test server::autodetect::tests::is_server_listening_returns_false_for_stale_socket ... ok
test server::autodetect::tests::is_server_listening_returns_false_when_listener_dropped ... ok
test server::autodetect::tests::is_server_listening_returns_true_for_live_socket ... ok
test server::autodetect::tests::read_server_status_at_reads_ping_response ... ok
test server::autodetect::tests::server_daemon_command_clears_socket_overrides_for_explicit_session ... ok
test server::autodetect::tests::server_daemon_command_passes_current_dir_as_startup_cwd ... ok
test server::autodetect::tests::validate_running_server_compatibility_fails_when_status_api_missing ... ok
test server::autodetect::tests::validate_running_server_compatibility_names_session_commands_for_protocol_mismatch ... ok
test server::autodetect::tests::wait_for_server_socket_succeeds_after_delay ... ok
test server::autodetect::tests::wait_for_server_socket_succeeds_immediately ... ok
test server::autodetect::tests::wait_for_server_socket_times_out ... ok
test detect::manifest::tests::skip_rule_suppresses_state_update_without_visible_state_evidence ... ok
test detect::manifest_update::tests::auto_update_does_not_reload_agents_whose_check_failed ... ok
test detect::manifest_update::tests::auto_update_reloads_manifest_cache_after_remote_commit ... ok
test detect::manifest_update::tests::auto_update_reloads_manifest_cache_when_remote_is_already_current ... ok
test detect::manifest_update::tests::cache_reload_ignores_retained_status_for_unchecked_agent ... ok
test detect::manifest_update::tests::process_agent_manifest_commits_newer_manifest_atomically ... ok
test detect::manifest_update::tests::process_agent_manifest_rejects_downgrade_and_keeps_cached_manifest ... ok
test detect::manifest_update::tests::process_agent_manifest_rejects_equal_version_content_change ... ok
test detect::manifest_update::tests::process_agent_manifest_skips_same_version_same_content ... ok

test result: ok. 102 passed; 0 failed; 0 ignored; 0 measured; 3546 filtered out; finished in 11.90s

