[INFO] cloning repository https://github.com/build000r/clawgs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/build000r/clawgs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbuild000r%2Fclawgs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbuild000r%2Fclawgs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8e2982e7cc6225fa536ab0bb727bb20e4987e095
[INFO] testing build000r/clawgs against 1.97.0-beta.1 for beta-1.97-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbuild000r%2Fclawgs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/build000r/clawgs
[INFO] finished tweaking git repo https://github.com/build000r/clawgs
[INFO] tweaked toml for git repo https://github.com/build000r/clawgs written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/build000r/clawgs on toolchain 1.97.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/build000r/clawgs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1398ccf4099ce418d2b36428de070e5137a8e25edc53215d7cd0ad7db5b14f8f
[INFO] running `Command { std: "docker" "start" "-a" "1398ccf4099ce418d2b36428de070e5137a8e25edc53215d7cd0ad7db5b14f8f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1398ccf4099ce418d2b36428de070e5137a8e25edc53215d7cd0ad7db5b14f8f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1398ccf4099ce418d2b36428de070e5137a8e25edc53215d7cd0ad7db5b14f8f", kill_on_drop: false }`
[INFO] [stdout] 1398ccf4099ce418d2b36428de070e5137a8e25edc53215d7cd0ad7db5b14f8f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 906766b28f06ccfab5931ca6312c268d4db63f6ea87f4ea82eb32f8b89efa092
[INFO] running `Command { std: "docker" "start" "-a" "906766b28f06ccfab5931ca6312c268d4db63f6ea87f4ea82eb32f8b89efa092", kill_on_drop: false }`
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.4.13
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling clawgs v0.3.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.11s
[INFO] running `Command { std: "docker" "inspect" "906766b28f06ccfab5931ca6312c268d4db63f6ea87f4ea82eb32f8b89efa092", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "906766b28f06ccfab5931ca6312c268d4db63f6ea87f4ea82eb32f8b89efa092", kill_on_drop: false }`
[INFO] [stdout] 906766b28f06ccfab5931ca6312c268d4db63f6ea87f4ea82eb32f8b89efa092
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2e71063d32a8a267c856cce552d65c76a4fb63ffe66f6ac31037720fe9b97ddb
[INFO] running `Command { std: "docker" "start" "-a" "2e71063d32a8a267c856cce552d65c76a4fb63ffe66f6ac31037720fe9b97ddb", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling time-macros v0.2.25
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling nom v8.0.0
[INFO] [stderr]    Compiling getrandom v0.4.1
[INFO] [stderr]    Compiling bytecount v0.6.9
[INFO] [stderr]    Compiling uuid v1.23.1
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling num-cmp v0.1.0
[INFO] [stderr]    Compiling tempfile v3.26.0
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling time v0.3.45
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling num v0.4.3
[INFO] [stderr]    Compiling fraction v0.13.1
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling fancy-regex v0.11.0
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling iso8601 v0.6.3
[INFO] [stderr]    Compiling jsonschema v0.17.1
[INFO] [stderr]    Compiling clawgs v0.3.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 25.47s
[INFO] running `Command { std: "docker" "inspect" "2e71063d32a8a267c856cce552d65c76a4fb63ffe66f6ac31037720fe9b97ddb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2e71063d32a8a267c856cce552d65c76a4fb63ffe66f6ac31037720fe9b97ddb", kill_on_drop: false }`
[INFO] [stdout] 2e71063d32a8a267c856cce552d65c76a4fb63ffe66f6ac31037720fe9b97ddb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c344a592f7ae982393061c904844cd53af0a1a99a897c9f9c9688ef1a41827c1
[INFO] running `Command { std: "docker" "start" "-a" "c344a592f7ae982393061c904844cd53af0a1a99a897c9f9c9688ef1a41827c1", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/clawgs-7f7531791dc97204)
[INFO] [stdout] 
[INFO] [stdout] running 189 tests
[INFO] [stdout] test emit::engine::tests::compute_transcript_group_counts_skips_singletons ... ok
[INFO] [stdout] test emit::engine::tests::carry_forward_sessions_initializes_state_and_marks_suppressed ... ok
[INFO] [stdout] test emit::engine::tests::claimed_path_persists_across_sync_ticks ... ok
[INFO] [stdout] test emit::engine::tests::awaiting_user_context_sleeps_immediately ... ok
[INFO] [stdout] test emit::engine::tests::disabled_config_clears_awaiting_user_cue_without_sleep_mismatch ... ok
[INFO] [stdout] test emit::engine::tests::credential_failure_emits_first_inbound_action_cue ... ok
[INFO] [stdout] test emit::engine::tests::emitted_sleeping_update_serializes_rest_state_explicitly ... ok
[INFO] [stdout] test emit::engine::tests::cwd_change_invalidates_claimed_jsonl_path ... ok
[INFO] [stdout] test emit::engine::tests::emits_thought_for_eligible_active_session ... ok
[INFO] [stdout] test emit::engine::tests::first_inbound_awaiting_user_cue_sleeps_without_model_call ... ok
[INFO] [stdout] test emit::engine::tests::inbound_commit_ready_cue_sets_legacy_commit_candidate_without_transcript ... ok
[INFO] [stdout] test emit::engine::tests::idle_rest_state_uses_10_30_60_thresholds ... ok
[INFO] [stdout] test emit::engine::tests::initial_context_suppression_emits_passive_clear_for_stale_inbound_cues ... ok
[INFO] [stdout] test emit::engine::tests::changed_non_whitespace_chars_handles_multibyte_prefix_and_suffix ... ok
[INFO] [stdout] test emit::engine::tests::inbound_awaiting_user_cue_sets_sleeping_rest_state_without_transcript ... ok
[INFO] [stdout] test emit::engine::tests::exited_session_clears_visible_action_cues_after_model_failure ... ok
[INFO] [stdout] test emit::engine::tests::invalid_inbound_action_cues_are_not_treated_as_facts ... ok
[INFO] [stdout] test emit::engine::tests::inbound_action_cues_carry_without_transcript_context ... ok
[INFO] [stdout] test emit::engine::tests::first_inbound_commit_candidate_emits_when_model_fails ... ok
[INFO] [stdout] test emit::engine::tests::disabled_config_clears_existing_thought ... ok
[INFO] [stdout] test emit::engine::tests::no_op_scan_does_not_advance_emission_seq ... ok
[INFO] [stdout] test emit::engine::tests::model_completion_failure_suppresses_update_and_reports_error ... ok
[INFO] [stdout] test emit::engine::tests::meaningful_terminal_output_emits_thought ... ok
[INFO] [stdout] test emit::engine::tests::model_failure_still_emits_action_cue_state_change ... ok
[INFO] [stdout] test emit::engine::tests::repeat_active_syncs_stay_quiet ... ok
[INFO] [stdout] test emit::engine::tests::sanitize_thought_text_collapses_whitespace_and_truncates ... ok
[INFO] [stdout] test emit::engine::tests::session_deltas_report_started_changed_and_unchanged ... ok
[INFO] [stdout] test emit::engine::tests::duplicate_thought_still_emits_commit_candidate_change ... ok
[INFO] [stdout] test emit::engine::tests::session_needs_clear_returns_false_for_idle_holding_state ... ok
[INFO] [stdout] test emit::engine::tests::session_needs_clear_triggers_on_each_dirty_signal ... ok
[INFO] [stdout] test emit::engine::tests::rest_state_transition_emits_passive_update_without_thought ... ok
[INFO] [stdout] test emit::engine::tests::compute_transcript_group_counts_tallies_shared_keys ... ok
[INFO] [stdout] test emit::engine::tests::short_bootstrap_terminal_context_suppresses_first_thought ... ok
[INFO] [stdout] test emit::engine::tests::session_removal_drops_claim ... ok
[INFO] [stdout] test emit::engine::tests::strip_ansi_removes_escape_sequences_and_controls ... ok
[INFO] [stdout] test emit::engine::tests::transcript_without_commit_signal_clears_inbound_commit_candidate ... ok
[INFO] [stdout] test emit::engine::tests::sleeping_transition_uses_transcript_reply_text ... ok
[INFO] [stdout] test emit::engine::tests::trim_terminal_context_keeps_suffix_under_limit ... ok
[INFO] [stdout] test emit::engine::tests::waking_from_sleep_clears_waiting_thought ... ok
[INFO] [stdout] test emit::model_client::tests::build_grok_headless_args_uses_prompt_file_and_optional_model ... ok
[INFO] [stdout] test emit::model_client::tests::complete_with_models_reports_last_error ... ok
[INFO] [stdout] test emit::model_client::tests::complete_with_models_returns_first_successful_result ... ok
[INFO] [stdout] test emit::engine::tests::credential_failure_still_emits_action_cue_state_change ... ok
[INFO] [stdout] test emit::engine::tests::credential_failure_wake_clears_stale_sleeping_thought ... ok
[INFO] [stdout] test emit::engine::tests::ensure_client_carries_forward_when_override_backend_credentials_missing ... ok
[INFO] [stdout] test emit::engine::tests::multiple_historical_transcripts_bind_newest_candidate ... ok
[INFO] [stdout] test emit::model_client::tests::extract_openrouter_content_joins_array_parts ... ok
[INFO] [stdout] test emit::model_client::tests::extract_openrouter_content_reads_string_message ... ok
[INFO] [stdout] test emit::model_client::tests::auto_detect_chooses_grok_when_grok_is_runnable ... ok
[INFO] [stdout] test emit::model_client::tests::auto_detect_falls_back_to_openrouter_when_nothing_available ... ok
[INFO] [stdout] test emit::model_client::tests::extract_openrouter_content_returns_none_when_blank ... ok
[INFO] [stdout] test emit::model_client::tests::failure_preview_falls_back_to_stdout_when_stderr_blank ... ok
[INFO] [stdout] test emit::model_client::tests::failure_preview_prefers_stderr_when_present ... ok
[INFO] [stdout] test emit::model_client::tests::failure_preview_reports_when_both_blank ... ok
[INFO] [stdout] test emit::model_client::tests::failure_preview_truncates_long_output_to_500_chars ... ok
[INFO] [stdout] test emit::model_client::tests::interpret_openrouter_response_errors_when_2xx_body_is_not_json ... ok
[INFO] [stdout] test emit::model_client::tests::interpret_openrouter_response_returns_content_on_2xx_with_string_body ... ok
[INFO] [stdout] test emit::model_client::tests::interpret_openrouter_response_returns_none_when_content_is_blank ... ok
[INFO] [stdout] test emit::model_client::tests::interpret_openrouter_response_surfaces_status_with_body_preview_on_error ... ok
[INFO] [stdout] test emit::model_client::tests::interpret_openrouter_response_truncates_huge_error_body_to_500_chars ... ok
[INFO] [stdout] test emit::engine::tests::multiple_live_sessions_same_cwd_fall_back_to_terminal_only ... ok
[INFO] [stdout] test emit::model_client::tests::model_backend_as_str_roundtrips ... ok
[INFO] [stdout] test emit::model_client::tests::model_backend_from_env_value_rejects_unknown ... ok
[INFO] [stdout] test emit::model_client::tests::model_backend_from_env_value_maps_cli_aliases_to_grok ... ok
[INFO] [stdout] test emit::model_client::tests::openrouter_request_body_omits_reasoning_block_by_default ... ok
[INFO] [stdout] test emit::engine::tests::ensure_client_builds_real_client_when_credentials_validate ... ok
[INFO] [stdout] test emit::model_client::tests::grok_backend_uses_cli_default_model_when_unset ... ok
[INFO] [stdout] test emit::model_client::tests::grok_cli_client_new_uses_defaults_when_env_unset ... ok
[INFO] [stdout] test emit::model_client::tests::openrouter_request_body_suppresses_reasoning_when_requested ... ok
[INFO] [stdout] test emit::model_client::tests::openrouter_backend_falls_back_to_router_default_model ... ok
[INFO] [stdout] test emit::engine::tests::unique_transcript_context_claims_path_without_emitting_thought ... ok
[INFO] [stdout] test emit::model_client::tests::pick_nonempty_or_fallback_errors_when_both_empty ... ok
[INFO] [stdout] test emit::engine::tests::unusable_claimed_transcript_falls_back_to_valid_candidate ... ok
[INFO] [stdout] test emit::model_client::tests::pick_nonempty_or_fallback_uses_fallback_when_primary_blank ... ok
[INFO] [stdout] test emit::model_client::tests::thought_models_prefers_override ... ok
[INFO] [stdout] test emit::model_client::tests::pick_nonempty_or_fallback_returns_primary_when_present ... ok
[INFO] [stdout] test emit::protocol::tests::cold_cadence_must_be_at_least_warm ... ok
[INFO] [stdout] test emit::model_client::tests::temp_file_guard_removes_files_on_drop_and_tolerates_missing ... ok
[INFO] [stdout] test emit::protocol::tests::config_validation_rejects_unknown_backend ... ok
[INFO] [stdout] test emit::protocol::tests::config_validation_accepts_defaults ... ok
[INFO] [stdout] test emit::protocol::tests::daemon_inbound_message_type_returns_canonical_strings ... ok
[INFO] [stdout] test emit::protocol::tests::hot_cadence_must_be_in_range ... ok
[INFO] [stdout] test emit::protocol::tests::config_validation_accepts_known_backends ... ok
[INFO] [stdout] test emit::protocol::tests::normalize_converts_empty_prompts_to_none ... ok
[INFO] [stdout] test emit::protocol::tests::normalize_treats_whitespace_only_prompts_as_empty ... ok
[INFO] [stdout] test emit::protocol::tests::inbound_message_deserializes_legacy_sync_response_alias ... ok
[INFO] [stdout] test emit::protocol::tests::normalize_trims_surrounding_whitespace_on_prompts ... ok
[INFO] [stdout] test emit::protocol::tests::sync_request_deserializes_missing_backend_to_empty ... ok
[INFO] [stdout] test emit::protocol::tests::sync_request_deserializes_null_prompt_fields_to_none ... ok
[INFO] [stdout] test emit::protocol::tests::sync_request_serializes_expected_wire_shape ... ok
[INFO] [stdout] test emit::protocol::tests::sync_result_serializes_session_deltas_when_present ... ok
[INFO] [stdout] test emit::protocol::tests::hello_roundtrip_is_stable ... ok
[INFO] [stdout] test emit::protocol::tests::warm_cadence_must_be_at_least_hot ... ok
[INFO] [stdout] test emit::protocol::tests::sync_update_serializes_timing_and_cues ... ok
[INFO] [stdout] test parsers::claude::tests::extract_user_text_rejects_non_user_messages ... ok
[INFO] [stdout] test parsers::claude::tests::extract_user_text_supports_string_and_blocks ... ok
[INFO] [stdout] test parsers::claude::tests::text_action_filters_short_replies_by_character_count ... ok
[INFO] [stdout] test parsers::claude::tests::parse_claude_does_not_mark_tool_use_turn_as_awaiting_user ... ok
[INFO] [stdout] test parsers::claude::tests::parse_claude_extracts_task_tool_and_tokens ... ok
[INFO] [stdout] test parsers::codex::tests::dirty_check_command_recognizes_bare_git_diff_and_status_variants ... ok
[INFO] [stdout] test parsers::codex::tests::commit_command_ignores_dry_run ... ok
[INFO] [stdout] test parsers::claude::tests::parse_claude_marks_end_turn_text_as_awaiting_user ... ok
[INFO] [stdout] test parsers::codex::tests::extract_user_input_text_skips_empty_or_missing_blocks ... ok
[INFO] [stdout] test parsers::codex::tests::extract_user_input_text_returns_first_nonempty_input_block ... ok
[INFO] [stdout] test parsers::codex::tests::parse_codex_clears_awaiting_user_on_markup_prefixed_user_reply ... ok
[INFO] [stdout] test parsers::codex::tests::parse_codex_clears_awaiting_user_when_work_resumes ... ok
[INFO] [stdout] test parsers::codex::tests::parse_codex_collects_reasoning_actions_and_file_details ... ok
[INFO] [stdout] test parsers::codex::tests::parse_codex_current_shapes_preserve_task_and_commit_signal ... ok
[INFO] [stdout] test parsers::codex::tests::parse_codex_commit_dry_run_does_not_suppress_commit_candidate ... ok
[INFO] [stdout] test parsers::codex::tests::parse_codex_commit_before_later_edit_does_not_suppress_new_candidate ... ok
[INFO] [stdout] test parsers::codex::tests::parse_codex_diff_check_does_not_prove_dirty_tree_checked ... ok
[INFO] [stdout] test parsers::codex::tests::parse_codex_failed_commit_does_not_suppress_commit_candidate ... ok
[INFO] [stdout] test parsers::codex::tests::parse_codex_failed_validation_stdout_cannot_seed_running_session ... ok
[INFO] [stdout] test emit::model_client::tests::subprocess_write_failure_terminates_child ... ok
[INFO] [stdout] test parsers::codex::tests::parse_codex_failed_dirty_check_does_not_mark_commit_ready ... ok
[INFO] [stdout] test parsers::codex::tests::parse_codex_make_test_marks_commit_candidate_after_success ... ok
[INFO] [stdout] test parsers::codex::tests::parse_codex_ignores_empty_reasoning_entries ... ok
[INFO] [stdout] test parsers::codex::tests::parse_codex_extracts_task_function_call_and_tokens ... ok
[INFO] [stdout] test parsers::codex::tests::parse_codex_later_edit_ignores_stale_running_validation_completion ... ok
[INFO] [stdout] test parsers::codex::tests::parse_codex_second_edit_after_validation_clears_commit_candidate ... ok
[INFO] [stdout] test parsers::codex::tests::parse_codex_marks_final_answer_as_awaiting_user ... ok
[INFO] [stdout] test parsers::codex::tests::successful_command_output_only_trusts_metadata_header ... ok
[INFO] [stdout] test parsers::codex::tests::parse_codex_write_stdin_validation_marks_commit_candidate ... ok
[INFO] [stdout] test parsers::codex::tests::parse_codex_ignores_markup_and_oversized_user_inputs ... ok
[INFO] [stdout] test parsers::codex::tests::running_session_id_only_trusts_metadata_header ... ok
[INFO] [stdout] test parsers::codex::tests::user_response_item_text_accepts_short_non_ascii_message_over_1000_bytes ... ok
[INFO] [stdout] test parsers::codex::tests::user_response_item_text_rejects_short_markup_input ... ok
[INFO] [stdout] test parsers::codex::tests::user_response_item_text_rejects_known_harness_wrappers ... ok
[INFO] [stdout] test parsers::codex::tests::user_response_item_text_rejects_exactly_1000_chars ... ok
[INFO] [stdout] test parsers::codex::tests::validation_command_recognizes_make_swift_and_xcodebuild_flows ... ok
[INFO] [stdout] test parsers::codex::tests::user_response_item_text_preserves_user_html_or_xml_content ... ok
[INFO] [stdout] test parsers::tests::extract_timestamp_uses_entry_then_payload_scalars ... ok
[INFO] [stdout] test parsers::tests::truncate_limits_chars ... ok
[INFO] [stdout] test parsers::tests::read_jsonl_skips_bad_lines ... ok
[INFO] [stdout] test tests::claude_file_matches_cwd_returns_false_for_missing_file ... ok
[INFO] [stdout] test tests::claude_file_matches_cwd_returns_false_when_no_parseable_jsonl_lines ... ok
[INFO] [stdout] test parsers::tests::extract_tool_detail_prefers_file_path_then_command_then_pattern ... ok
[INFO] [stdout] test tests::claude_file_matches_cwd_returns_true_when_valid_json_lacks_cwd ... ok
[INFO] [stdout] test tests::codex_file_matches_cwd_returns_false_for_empty_file ... ok
[INFO] [stdout] test tests::codex_file_matches_cwd_returns_false_for_malformed_first_line ... ok
[INFO] [stdout] test tests::codex_file_matches_cwd_returns_false_for_missing_file ... ok
[INFO] [stdout] test emit::model_client::tests::grok_client_complete_reads_prompt_file_and_returns_trimmed_stdout ... ok
[INFO] [stdout] test tests::codex_file_matches_cwd_returns_false_when_payload_cwd_does_not_match ... ok
[INFO] [stdout] test tests::codex_file_matches_cwd_returns_false_when_payload_cwd_is_missing ... ok
[INFO] [stdout] test tests::codex_file_matches_cwd_returns_true_when_payload_cwd_matches_exactly ... ok
[INFO] [stdout] test tests::codex_file_matches_cwd_returns_false_when_first_line_is_not_session_meta ... ok
[INFO] [stdout] test emit::model_client::tests::openrouter_client_complete_falls_back_to_suppress_reasoning_when_first_response_blank ... ok
[INFO] [stdout] test tests::claude_discovery_exclusion_isolates_same_cwd_sessions ... ok
[INFO] [stdout] test tests::claude_discovery_filters_colliding_slug_by_exact_cwd ... ok
[INFO] [stdout] test tests::codex_discovery_skips_non_numeric_dirs_non_rollouts_and_malformed_headers ... ok
[INFO] [stdout] test tests::codex_excluding_newest_returns_next_matching_rollout ... ok
[INFO] [stdout] test tests::discover_auto_errors_when_home_is_missing ... ok
[INFO] [stdout] test tests::infer_claude_tool_from_assistant_message ... ok
[INFO] [stdout] test tests::infer_codex_tool_from_payload_marker ... ok
[INFO] [stdout] test tests::infer_codex_tool_from_response_item ... ok
[INFO] [stdout] test tests::infer_tool_errors_when_input_path_does_not_exist ... ok
[INFO] [stdout] test tests::infer_tool_errors_when_no_line_carries_a_tool_marker ... ok
[INFO] [stdout] test tmux::tests::bootstrap_busy_ignores_shells ... ok
[INFO] [stdout] test tmux::tests::build_marker_tag_is_unique_across_calls ... ok
[INFO] [stdout] test emit::model_client::tests::openrouter_client_complete_returns_content_from_canned_http_response ... ok
[INFO] [stdout] test tmux::tests::capture_start_keeps_one_line_minimum ... ok
[INFO] [stdout] test tmux::tests::infer_tool_matches_supported_agents ... ok
[INFO] [stdout] test tmux::tests::parse_batched_capture_bails_on_unterminated_marker ... ok
[INFO] [stdout] test tmux::tests::parse_batched_capture_extracts_each_pane_content ... ok
[INFO] [stdout] test tmux::tests::parse_batched_capture_records_empty_content_for_silent_pane ... ok
[INFO] [stdout] test tmux::tests::parse_batched_capture_returns_empty_when_no_markers_present ... ok
[INFO] [stdout] test tmux::tests::parse_batched_capture_stops_at_end_sentinel_and_ignores_trailing_data ... ok
[INFO] [stdout] test tmux::tests::parse_batched_capture_tolerates_missing_end_sentinel ... ok
[INFO] [stdout] test tmux::tests::parse_batched_capture_with_ignores_old_static_marker_in_pane_content ... ok
[INFO] [stdout] test tmux::tests::parse_pane_line_decodes_tmux_fields ... ok
[INFO] [stdout] test tmux::tests::tmux_server_missing_recognizes_expected_errors ... ok
[INFO] [stdout] test tmux::tests::tracker_builds_exited_snapshot_for_missing_tracked_pane ... ok
[INFO] [stdout] test tmux::tests::tracker_keeps_non_agent_foreground_command_busy_when_observation_is_unchanged ... ok
[INFO] [stdout] test tmux::tests::tracker_refreshes_last_activity_when_replay_text_changes ... ok
[INFO] [stdout] test tmux::tests::tracker_preserves_last_activity_when_observation_is_unchanged ... ok
[INFO] [stdout] test tests::exclusion_does_not_cross_cwd_boundaries ... ok
[INFO] [stdout] test tests::discover_for_tool_finds_codex_rollout ... ok
[INFO] [stdout] test emit::model_client::tests::openrouter_client_complete_surfaces_status_error_from_remote ... ok
[INFO] [stdout] test tests::excluding_all_returns_none ... ok
[INFO] [stdout] test tests::excluding_empty_set_returns_newest ... ok
[INFO] [stdout] test emit::model_client::tests::openrouter_complete_errors_when_api_key_missing ... ok
[INFO] [stdout] test emit::model_client::tests::thought_models_collects_nonempty_env_overrides_in_order ... ok
[INFO] [stdout] test emit::model_client::tests::validate_backend_credentials_accepts_runnable_grok_binary ... ok
[INFO] [stdout] test emit::model_client::tests::validate_backend_credentials_rejects_missing_openrouter_key ... ok
[INFO] [stdout] test emit::model_client::tests::validate_backend_credentials_accepts_present_openrouter_key ... ok
[INFO] [stdout] test emit::model_client::tests::auto_detect_prefers_openrouter_when_api_key_set ... ok
[INFO] [stdout] test emit::model_client::tests::validate_backend_credentials_rejects_missing_grok_binary ... ok
[INFO] [stdout] test tests::excluding_newest_returns_second ... ok
[INFO] [stdout] test tests::discover_auto_prefers_newer_codex_rollout ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 189 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.57s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/clawgs-f6bf318772bd7fed)
[INFO] [stdout] 
[INFO] [stdout] running 11 tests
[INFO] [stdout] test tests::default_tmux_socket_path_falls_back_to_username ... ok
[INFO] [stdout] test tests::bind_tmux_socket_refuses_regular_file ... ok
[INFO] [stdout] test tests::claude_hook_event_tag_tolerates_invalid_input ... ok
[INFO] [stdout] test tests::claude_hook_event_tag_compacts_common_fields ... ok
[INFO] [stdout] test tests::default_tmux_socket_path_uses_override_when_present ... ok
[INFO] [stdout] test tests::tmux_emit_args_reject_too_large_interval ... ok
[INFO] [stdout] test tests::remove_existing_socket_is_noop_for_missing_path ... ok
[INFO] [stdout] test tests::bind_tmux_socket_replaces_existing_socket ... ok
[INFO] [stdout] test tests::tmux_socket_timeout_never_returns_zero_duration ... ok
[INFO] [stdout] test tests::tmux_emit_args_reject_zero_interval ... ok
[INFO] [stdout] test tests::run_tmux_emit_loop_surfaces_scan_errors_after_socket_event ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/cli_demo.rs (/opt/rustwide/target/debug/deps/cli_demo-cb828f4fe4c862e1)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test demo_extract_rejects_invalid_tool_values ... ok
[INFO] [stdout] test demo_extract_claude_outputs_embedded_input_and_snapshot ... ok
[INFO] [stdout] test demo_extract_codex_outputs_embedded_input_and_snapshot ... ok
[INFO] [stdout] test demo_emit_outputs_canonical_exchange_without_backends ... ok
[INFO] [stdout] test demo_extract_preserves_limit_validation ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/cli_extract.rs (/opt/rustwide/target/debug/deps/cli_extract-088fb2128ee1abe4)
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test pretty_flag_outputs_multiline_json ... ok
[INFO] [stdout] test extract_temp_codex_fixture_commit_seen_suppresses_candidate ... ok
[INFO] [stdout] test extract_current_codex_fixture_normalizes_actions_and_commit_signal ... ok
[INFO] [stdout] test extract_temp_codex_fixture_commit_before_later_edit_can_be_ready_again ... ok
[INFO] [stdout] test extract_temp_codex_fixture_without_validation_is_not_commit_candidate ... ok
[INFO] [stdout] test extract_codex_fixture_emits_schema_v2 ... ok
[INFO] [stdout] test extract_temp_codex_fixture_second_edit_reports_fresh_validation_missing ... ok
[INFO] [stdout] test extract_temp_codex_fixture_without_dirty_check_emits_dirty_check_cue ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/emit_stdio.rs (/opt/rustwide/target/debug/deps/emit_stdio-2b0e21672b227a92)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test emit_stdio_legacy_backend_aliases_map_to_grok_missing_binary_errors ... ok
[INFO] [stdout] test emit_stdio_uses_fake_grok_binary_for_live_thought ... ok
[INFO] [stdout] test emit_stdio_reports_missing_openrouter_key_as_sync_result ... ok
[INFO] [stdout] test emit_stdio_writes_hello_and_sync_result ... ok
[INFO] [stdout] test emit_stdio_rejects_invalid_inbound_action_cue_evidence ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/golden_contract.rs (/opt/rustwide/target/debug/deps/golden_contract-57ac460ac54ae35d)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test demo_extract_claude_matches_golden_contract ... ok
[INFO] [stdout] test fixture_extract_codex_matches_golden_contract ... ok
[INFO] [stdout] test demo_emit_matches_golden_contract ... ok
[INFO] [stdout] test demo_extract_codex_matches_golden_contract ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/schema_sync.rs (/opt/rustwide/target/debug/deps/schema_sync-fa34bb2de7fe5608)
[INFO] [stdout] 
[INFO] [stdout] running 16 tests
[INFO] [stdout] test claude_hook_reference_is_valid_and_targets_notify_command ... ok
[INFO] [stdout] test emit_protocol_hello_example_matches_crate_version ... ok
[INFO] [stdout] test emit_v1_backend_schema_stays_historical ... ok
[INFO] [stdout] test emit_v2_backend_schema_matches_runtime_aliases ... ok
[INFO] [stdout] test action_cue_schema_evidence_matches_runtime_rules ... ok
[INFO] [stdout] test schema_files_are_valid_json ... ok
[INFO] [stdout] test emit_schema_rejects_unknown_session_delta_field ... ok
[INFO] [stdout] test emit_hello_validates ... ok
[INFO] [stdout] test emit_error_validates ... ok
[INFO] [stdout] test emit_sync_request_validates_omitted_optional_prompts ... ok
[INFO] [stdout] test emit_sync_result_validates ... ok
[INFO] [stdout] test extract_codex_output_validates ... ok
[INFO] [stdout] test emit_sync_request_validates ... ok
[INFO] [stdout] test extract_claude_output_validates ... ok
[INFO] [stdout] test extract_schema_rejects_unknown_or_empty_action_cue_evidence ... ok
[INFO] [stdout] test emit_schema_rejects_unknown_or_empty_action_cue_evidence ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/tmux_emit.rs (/opt/rustwide/target/debug/deps/tmux_emit-b1df84d4a6ebd598)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test claude_hook_notify_ignores_absent_daemon_and_invalid_stdin ... ok
[INFO] [stdout] test scan_sessions_maps_tmux_panes_to_session_snapshots ... ok
[INFO] [stdout] test claude_hook_notify_sends_compact_event_to_socket ... ok
[INFO] [stdout] test tmux_emit_once_writes_hello_and_sync_result ... ok
[INFO] [stdout] test tmux_notify_triggers_immediate_rescan ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.32s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests clawgs
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "c344a592f7ae982393061c904844cd53af0a1a99a897c9f9c9688ef1a41827c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c344a592f7ae982393061c904844cd53af0a1a99a897c9f9c9688ef1a41827c1", kill_on_drop: false }`
[INFO] [stdout] c344a592f7ae982393061c904844cd53af0a1a99a897c9f9c9688ef1a41827c1
