[INFO] cloning repository https://github.com/ifquant/xagents [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ifquant/xagents" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifquant%2Fxagents", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifquant%2Fxagents'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0c3e3529fb4d401f4b4c539b5df71f1d231241e6 [INFO] testing ifquant/xagents against 1.98.0-beta.1 for beta-1.98-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fifquant%2Fxagents" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ifquant/xagents [INFO] finished tweaking git repo https://github.com/ifquant/xagents [INFO] tweaked toml for git repo https://github.com/ifquant/xagents written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ifquant/xagents on toolchain 1.98.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ifquant/xagents 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.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 831a89cd050abf1c777c47e735194d62d39190cba7d1a516f5eafa840c58a9f1 [INFO] running `Command { std: "docker" "start" "831a89cd050abf1c777c47e735194d62d39190cba7d1a516f5eafa840c58a9f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "831a89cd050abf1c777c47e735194d62d39190cba7d1a516f5eafa840c58a9f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "831a89cd050abf1c777c47e735194d62d39190cba7d1a516f5eafa840c58a9f1" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "831a89cd050abf1c777c47e735194d62d39190cba7d1a516f5eafa840c58a9f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "831a89cd050abf1c777c47e735194d62d39190cba7d1a516f5eafa840c58a9f1" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling anstyle-parse v1.0.0 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling anstyle v1.0.14 [INFO] [stderr] Compiling colorchoice v1.0.5 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling clap_lex v1.1.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling anstream v1.0.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling uuid v1.23.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling clap_derive v4.6.0 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling tokio v1.51.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling clap v4.6.0 [INFO] [stderr] Compiling xagents-core v0.1.0 (/opt/rustwide/workdir/crates/core) [INFO] [stderr] Compiling xagents-tools v0.1.0 (/opt/rustwide/workdir/crates/tools) [INFO] [stderr] Compiling xagents-session v0.1.0 (/opt/rustwide/workdir/crates/session) [INFO] [stderr] Compiling xagents-brains v0.1.0 (/opt/rustwide/workdir/crates/brains) [INFO] [stderr] Compiling xagents-protocol v0.1.0 (/opt/rustwide/workdir/crates/protocol) [INFO] [stderr] Compiling xagents-runtime v0.1.0 (/opt/rustwide/workdir/crates/runtime) [INFO] [stdout] warning: unused import: `LazyLock` [INFO] [stdout] --> crates/runtime/src/lib.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::{Arc, LazyLock, Mutex}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RuntimeCommandKind` and `RuntimeCommandScope` [INFO] [stdout] --> crates/runtime/src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | RuntimeCommandKind, RuntimeCommandMetadata, RuntimeCommandOutput, RuntimeCommandResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | RuntimeCommandScope, SessionCompaction, SessionId, SessionMemoryPacket, SessionSnapshot, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/runtime/src/lib.rs:2536:13 [INFO] [stdout] | [INFO] [stdout] 2536 | let mut live_sessions = self.live_sessions.lock().expect("live session registry"); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cancel_live_session` and `pop_next_live_session_command` are never used [INFO] [stdout] --> crates/runtime/src/lib.rs:2252:8 [INFO] [stdout] | [INFO] [stdout] 1478 | impl AgentRuntime { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 2252 | fn cancel_live_session(&self, session_id: &SessionId) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2754 | fn pop_next_live_session_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_live_session_command_boundary_test_hook` is never used [INFO] [stdout] --> crates/runtime/src/lib.rs:12510:10 [INFO] [stdout] | [INFO] [stdout] 12510 | async fn wait_for_live_session_command_boundary_test_hook(_session_id: &SessionId) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_deferred_live_session_command_admission_test_hook` is never used [INFO] [stdout] --> crates/runtime/src/lib.rs:12513:4 [INFO] [stdout] | [INFO] [stdout] 12513 | fn run_deferred_live_session_command_admission_test_hook( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling xagents-cli v0.1.0 (/opt/rustwide/workdir/crates/cli) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.27s [INFO] running `Command { std: "docker" "inspect" "831a89cd050abf1c777c47e735194d62d39190cba7d1a516f5eafa840c58a9f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "831a89cd050abf1c777c47e735194d62d39190cba7d1a516f5eafa840c58a9f1" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling xagents-protocol v0.1.0 (/opt/rustwide/workdir/crates/protocol) [INFO] [stderr] Compiling xagents-brains v0.1.0 (/opt/rustwide/workdir/crates/brains) [INFO] [stdout] warning: unused import: `LazyLock` [INFO] [stdout] --> crates/runtime/src/lib.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::{Arc, LazyLock, Mutex}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RuntimeCommandKind` and `RuntimeCommandScope` [INFO] [stdout] --> crates/runtime/src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | RuntimeCommandKind, RuntimeCommandMetadata, RuntimeCommandOutput, RuntimeCommandResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | RuntimeCommandScope, SessionCompaction, SessionId, SessionMemoryPacket, SessionSnapshot, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/runtime/src/lib.rs:2536:13 [INFO] [stdout] | [INFO] [stdout] 2536 | let mut live_sessions = self.live_sessions.lock().expect("live session registry"); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cancel_live_session` and `pop_next_live_session_command` are never used [INFO] [stdout] --> crates/runtime/src/lib.rs:2252:8 [INFO] [stdout] | [INFO] [stdout] 1478 | impl AgentRuntime { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 2252 | fn cancel_live_session(&self, session_id: &SessionId) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2754 | fn pop_next_live_session_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_live_session_command_boundary_test_hook` is never used [INFO] [stdout] --> crates/runtime/src/lib.rs:12510:10 [INFO] [stdout] | [INFO] [stdout] 12510 | async fn wait_for_live_session_command_boundary_test_hook(_session_id: &SessionId) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling xagents-cli v0.1.0 (/opt/rustwide/workdir/crates/cli) [INFO] [stdout] warning: function `run_deferred_live_session_command_admission_test_hook` is never used [INFO] [stdout] --> crates/runtime/src/lib.rs:12513:4 [INFO] [stdout] | [INFO] [stdout] 12513 | fn run_deferred_live_session_command_admission_test_hook( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling xagents-core v0.1.0 (/opt/rustwide/workdir/crates/core) [INFO] [stderr] Compiling xagents-tools v0.1.0 (/opt/rustwide/workdir/crates/tools) [INFO] [stderr] Compiling xagents-runtime v0.1.0 (/opt/rustwide/workdir/crates/runtime) [INFO] [stderr] Compiling xagents-session v0.1.0 (/opt/rustwide/workdir/crates/session) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 20.53s [INFO] running `Command { std: "docker" "inspect" "831a89cd050abf1c777c47e735194d62d39190cba7d1a516f5eafa840c58a9f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "831a89cd050abf1c777c47e735194d62d39190cba7d1a516f5eafa840c58a9f1" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `LazyLock` [INFO] [stderr] --> crates/runtime/src/lib.rs:9:22 [INFO] [stderr] | [INFO] [stderr] 9 | use std::sync::{Arc, LazyLock, Mutex}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `RuntimeCommandKind` and `RuntimeCommandScope` [INFO] [stderr] --> crates/runtime/src/lib.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | RuntimeCommandKind, RuntimeCommandMetadata, RuntimeCommandOutput, RuntimeCommandResult, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 40 | RuntimeCommandScope, SessionCompaction, SessionId, SessionMemoryPacket, SessionSnapshot, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> crates/runtime/src/lib.rs:2536:13 [INFO] [stderr] | [INFO] [stderr] 2536 | let mut live_sessions = self.live_sessions.lock().expect("live session registry"); [INFO] [stderr] | ----^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `cancel_live_session` and `pop_next_live_session_command` are never used [INFO] [stderr] --> crates/runtime/src/lib.rs:2252:8 [INFO] [stderr] | [INFO] [stderr] 1478 | impl AgentRuntime { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 2252 | fn cancel_live_session(&self, session_id: &SessionId) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 2754 | fn pop_next_live_session_command( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `wait_for_live_session_command_boundary_test_hook` is never used [INFO] [stderr] --> crates/runtime/src/lib.rs:12510:10 [INFO] [stderr] | [INFO] [stderr] 12510 | async fn wait_for_live_session_command_boundary_test_hook(_session_id: &SessionId) {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `run_deferred_live_session_command_admission_test_hook` is never used [INFO] [stderr] --> crates/runtime/src/lib.rs:12513:4 [INFO] [stderr] | [INFO] [stderr] 12513 | fn run_deferred_live_session_command_admission_test_hook( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `xagents-runtime` (lib) generated 6 warnings (run `cargo fix --lib -p xagents-runtime` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xagents_brains-76a6984dbf28f912) [INFO] [stdout] [INFO] [stdout] running 41 tests [INFO] [stdout] test tests::builtin_brain_registry_resolves_provider_instances_for_profile ... ok [INFO] [stdout] test tests::brain_registry_rejects_multiple_model_bindings ... ok [INFO] [stdout] test tests::null_brain_provider_exposes_typed_critic_capability ... ok [INFO] [stdout] test tests::planner_route_accepts_context_packet_with_nested_legacy_memory_packet ... ok [INFO] [stdout] test tests::planner_route_does_not_frontload_history_based_strong_confirmation_stop ... ok [INFO] [stdout] test tests::planner_route_can_emit_explicit_delegation_step ... ok [INFO] [stdout] test tests::null_brain_provider_exposes_typed_planner_capability ... ok [INFO] [stdout] test tests::builtin_brain_registry_validates_binding_lists ... ok [INFO] [stdout] test tests::planner_route_frontloads_history_based_weak_resumed_confirmation_when_budget_is_low ... ok [INFO] [stdout] test tests::planner_route_frontloads_history_based_wrap_up_request ... ok [INFO] [stdout] test tests::planner_route_frontloads_dominant_history_based_stop_reason_without_history_vectors ... ok [INFO] [stdout] test tests::planner_route_frontloads_history_based_wrap_up_request_over_mixed_low_budget_history ... ok [INFO] [stdout] test tests::planner_route_frontloads_knowledge_follow_up_when_planner_budget_is_low ... ok [INFO] [stdout] test tests::planner_route_preserves_dominant_low_budget_control_kind_in_frontloaded_artifact ... ok [INFO] [stdout] test tests::planner_route_understands_structured_critic_review_observation ... ok [INFO] [stdout] test tests::planner_route_stops_repeated_resumed_append_strong_confirmations ... ok [INFO] [stdout] test tests::planner_route_merges_structured_knowledge_delegation_result ... ok [INFO] [stdout] test tests::planner_route_stops_repeated_resumed_append_confirmations_even_without_low_budget ... ok [INFO] [stdout] test tests::planner_route_frontloads_repeated_stop_wrap_up_request_without_history_vectors ... ok [INFO] [stdout] test tests::planner_route_keeps_single_step_when_planner_budget_is_not_low ... ok [INFO] [stdout] test tests::planner_route_understands_structured_external_observation ... ok [INFO] [stdout] test tests::planner_route_understands_structured_review_observation ... ok [INFO] [stdout] test tests::planner_route_understands_structured_permission_denied_observation ... ok [INFO] [stdout] test tests::planner_route_understands_structured_delegation_observation ... ok [INFO] [stdout] test tests::planner_route_understands_structured_timeout_observation ... ok [INFO] [stdout] test tests::planner_route_understands_structured_tool_failure_observation ... ok [INFO] [stdout] test tests::planner_route_uses_structured_knowledge_delegation_merge_directive ... ok [INFO] [stdout] test tests::planner_route_uses_structured_action_delegation_merge_directive ... ok [INFO] [stdout] test tests::planner_route_uses_resume_provenance_history_for_weak_resumed_confirmation ... ok [INFO] [stdout] test tests::planner_route_uses_plan_control_kind_history_for_weak_resumed_confirmation_fallback ... ok [INFO] [stdout] test tests::planner_route_uses_dominant_resume_confirmation_pattern_when_history_is_mixed ... ok [INFO] [stdout] test tests::planner_route_uses_explicit_status_answer_history_for_resumed_follow_up ... ok [INFO] [stdout] test tests::planner_route_stops_repeated_resumed_append_confirmations ... ok [INFO] [stdout] test tests::brain_registry_rejects_non_model_planner_binding ... ok [INFO] [stdout] test tests::builtin_brain_registry_resolves_bindings ... ok [INFO] [stdout] test tests::planner_route_frontloads_low_budget_weak_resumed_confirmation_when_budget_is_low ... ok [INFO] [stdout] test tests::planner_route_frontloads_repeated_stop_weak_confirmation_even_without_multiple_append ... ok [INFO] [stdout] test tests::planner_route_frontloads_repeated_stop_wrap_up_request ... ok [INFO] [stdout] test tests::planner_route_understands_context_packet_wrapped_timeout_observation ... ok [INFO] [stdout] test tests::planner_route_frontloads_dominant_history_stop_over_mixed_confirmation_history ... ok [INFO] [stdout] test tests::planner_route_frontloads_permission_denied_follow_up_when_budget_is_low ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 41 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/xagents_cli-781310a9d03e3555) [INFO] [stdout] [INFO] [stdout] running 107 tests [INFO] [stdout] test tests::aggregate_option_output_lines_are_stable ... ok [INFO] [stdout] test tests::aggregate_comparison_output_lines_include_non_empty_dimensions_in_order ... ok [INFO] [stdout] test tests::approve_subcommand_builds_runtime_approval_command ... ok [INFO] [stdout] test tests::baseline_non_consuming_resumed_output_lines_are_stable ... ok [INFO] [stdout] test tests::baseline_planner_consumption_output_lines_are_stable ... ok [INFO] [stdout] test tests::baseline_resumed_append_output_lines_are_stable ... ok [INFO] [stdout] test tests::bucket_size_validation_rejects_zero ... ok [INFO] [stdout] test tests::cancel_subcommand_builds_runtime_cancel_command ... ok [INFO] [stdout] test tests::current_non_consuming_resumed_output_lines_are_stable ... ok [INFO] [stdout] test tests::cli_help_describes_explicit_run_session_id ... ok [INFO] [stdout] test tests::current_status_answer_output_lines_are_stable ... ok [INFO] [stdout] test tests::cli_help_describes_remote_request_command ... ok [INFO] [stdout] test tests::cli_help_describes_schema_bundle_command ... ok [INFO] [stdout] test tests::cli_help_describes_remote_snapshot_command ... ok [INFO] [stdout] test tests::cli_help_describes_resume_continue_boundary ... ok [INFO] [stdout] test tests::cli_help_describes_remote_forward_command ... ok [INFO] [stdout] test tests::cli_help_describes_session_control_commands ... ok [INFO] [stdout] test tests::cli_help_uses_real_binary_name ... ok [INFO] [stdout] test tests::deny_subcommand_builds_runtime_approval_command ... ok [INFO] [stdout] test tests::deny_subcommand_keeps_optional_request_id_in_selector ... ok [INFO] [stdout] test tests::dominant_resume_stop_reason_delta_output_lines_are_stable ... ok [INFO] [stdout] test tests::dominant_resume_stop_reason_count_output_lines_are_stable ... ok [INFO] [stdout] test tests::global_trace_query_result_output_lines_are_stable ... ok [INFO] [stdout] test tests::global_trace_query_result_output_lines_include_comparison ... ok [INFO] [stdout] test tests::dominant_resume_confirmation_pattern_count_output_lines_are_stable ... ok [INFO] [stdout] test tests::grouped_count_output_lines_are_stable ... ok [INFO] [stdout] test tests::outcome_delta_output_lines_are_stable ... ok [INFO] [stdout] test tests::path_count_output_lines_are_stable ... ok [INFO] [stdout] test tests::plan_control_kind_count_output_lines_are_stable ... ok [INFO] [stdout] test tests::path_delta_output_lines_are_stable ... ok [INFO] [stdout] test tests::deny_command_requires_reason_flag ... ok [INFO] [stdout] test tests::grouped_delta_output_lines_are_stable ... ok [INFO] [stdout] test tests::plan_control_kind_delta_output_lines_are_stable ... ok [INFO] [stdout] test tests::profile_name_accepts_simple_ids ... ok [INFO] [stdout] test tests::profile_name_rejects_path_like_ids ... ok [INFO] [stdout] test tests::raw_trace_header_output_lines_are_stable ... ok [INFO] [stdout] test tests::raw_trace_node_output_lines_are_stable ... ok [INFO] [stdout] test tests::raw_trace_output_lines_are_stable ... ok [INFO] [stdout] test tests::remote_control_session_snapshot_pretty_json_output_is_stable_json_object ... ok [INFO] [stdout] test tests::remote_control_request_record_pretty_json_output_is_stable_json_object ... ok [INFO] [stdout] test tests::remote_control_response_envelope_pretty_json_output_is_stable_json_object ... ok [INFO] [stdout] test tests::remote_forward_command_output_errors_for_malformed_json ... ok [INFO] [stdout] test tests::remote_request_command_output_errors_for_unknown_request_id ... ok [INFO] [stdout] test tests::remote_request_command_output_uses_registered_runtime_request_record ... ok [INFO] [stdout] test tests::remote_forward_command_output_errors_for_missing_request_file ... ok [INFO] [stdout] test tests::remote_forward_command_output_rejects_live_only_attached_lease_request_kinds ... ok [INFO] [stdout] test tests::readme_documents_current_schema_bundle_contract ... ok [INFO] [stdout] test tests::remote_forward_command_output_rejects_live_only_attach_request_kinds ... ok [INFO] [stdout] test tests::remote_forward_command_output_rejects_live_runtime_only_request_kind ... ok [INFO] [stdout] test tests::aggregate_option_output_lines_skip_absent_options ... ok [INFO] [stdout] test tests::resume_confirmation_source_count_output_lines_are_stable ... ok [INFO] [stdout] test tests::dominant_resume_confirmation_pattern_delta_output_lines_are_stable ... ok [INFO] [stdout] test tests::resume_confirmation_source_delta_output_lines_are_stable ... ok [INFO] [stdout] test tests::resume_provenance_delta_output_lines_are_stable ... ok [INFO] [stdout] test tests::resume_stop_reason_delta_output_lines_are_stable ... ok [INFO] [stdout] test tests::resumed_session_output_lines_are_stable ... ok [INFO] [stdout] test tests::resume_stop_reason_count_output_lines_are_stable ... ok [INFO] [stdout] test tests::resumed_append_state_delta_output_lines_are_stable ... ok [INFO] [stdout] test tests::resume_provenance_count_output_lines_are_stable ... ok [INFO] [stdout] test tests::resumed_append_state_count_output_lines_are_stable ... ok [INFO] [stdout] test tests::runtime_cancel_command_output_keeps_session_handle_format ... ok [INFO] [stdout] test tests::runtime_deny_command_output_keeps_session_handle_format ... ok [INFO] [stdout] test tests::remote_snapshot_command_output_uses_runtime_snapshot_contract ... ok [INFO] [stdout] test tests::baseline_status_answer_output_lines_are_stable ... ok [INFO] [stdout] test tests::runtime_approve_command_output_keeps_session_handle_format ... ok [INFO] [stdout] test tests::run_command_accepts_explicit_session_id ... ok [INFO] [stdout] test tests::resumed_session_output_lines_include_pending_approval_details ... ok [INFO] [stdout] test tests::schema_bundle_pretty_json_exposes_session_snapshot_properties ... ok [INFO] [stdout] test tests::schema_bundle_pretty_json_exposes_remote_control_contract_properties ... ok [INFO] [stdout] test tests::aggregate_stats_output_lines_include_non_empty_dimensions_in_order ... ok [INFO] [stdout] test tests::approve_subcommand_keeps_optional_request_id_in_selector ... ok [INFO] [stdout] test tests::current_planner_consumption_output_lines_are_stable ... ok [INFO] [stdout] test tests::current_resumed_append_output_lines_are_stable ... ok [INFO] [stdout] test tests::outcome_count_output_lines_are_stable ... ok [INFO] [stdout] test tests::session_trace_summary_output_lines_are_stable ... ok [INFO] [stdout] test tests::stop_aware_outcome_count_output_lines_are_stable ... ok [INFO] [stdout] test tests::stop_aware_outcome_delta_output_lines_are_stable ... ok [INFO] [stdout] test tests::time_bucket_count_output_lines_are_stable ... ok [INFO] [stdout] test tests::time_bucket_delta_output_lines_are_stable ... ok [INFO] [stdout] test tests::trace_context_output_lines_include_stop_aware_outcome ... ok [INFO] [stdout] test tests::trace_counter_output_lines_are_stable ... ok [INFO] [stdout] test tests::trace_detail_default_options_are_not_query_options ... ok [INFO] [stdout] test tests::trace_detail_rejects_query_filters ... ok [INFO] [stdout] test tests::trace_detail_rejects_query_presentation_options ... ok [INFO] [stdout] test tests::trace_identity_output_lines_are_stable ... ok [INFO] [stdout] test tests::trace_identity_output_lines_skip_absent_request ... ok [INFO] [stdout] test tests::trace_list_session_header_output_lines_are_stable ... ok [INFO] [stdout] test tests::trace_query_bounds_reject_inverted_time_windows ... ok [INFO] [stdout] test tests::trace_query_result_output_lines_are_stable ... ok [INFO] [stdout] test tests::trace_resume_signal_output_lines_are_stable ... ok [INFO] [stdout] test tests::trace_resume_signal_output_lines_skip_absent_signals ... ok [INFO] [stdout] test tests::trace_summary_output_lines_are_stable ... ok [INFO] [stdout] test tests::session_handle_output_lines_are_stable ... ok [INFO] [stdout] test tests::trace_context_output_lines_are_stable ... ok [INFO] [stdout] test tests::trace_query_bounds_accept_valid_ranges ... ok [INFO] [stdout] test tests::trace_query_bounds_reject_inverted_count_range ... ok [INFO] [stdout] test tests::schema_bundle_pretty_json_exposes_additional_schema_object_properties ... ok [INFO] [stdout] test tests::remote_forward_command_output_uses_transport_neutral_request_contract ... ok [INFO] [stdout] test tests::schema_bundle_pretty_json_preserves_top_level_schema_shapes ... ok [INFO] [stdout] test tests::schema_bundle_pretty_json_exposes_execution_event_variants ... ok [INFO] [stdout] test tests::schema_bundle_pretty_json_exposes_schema_object_properties ... ok [INFO] [stdout] test tests::schema_bundle_pretty_json_exposes_all_top_level_schema_objects ... ok [INFO] [stdout] test tests::schema_bundle_pretty_json_output_is_stable_json_object ... ok [INFO] [stdout] test tests::schema_bundle_pretty_json_exposes_tool_error_kind_enum_values ... ok [INFO] [stdout] test tests::schema_bundle_pretty_json_exposes_tool_result_error_definition ... ok [INFO] [stdout] test tests::schema_command_output_exposes_remote_manager_bridge_variant_schemas ... ok [INFO] [stdout] test tests::schema_command_output_preserves_schema_bundle_contract ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 107 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xagents_core-ef9fb8e9e108e81b) [INFO] [stdout] [INFO] [stdout] running 65 tests [INFO] [stdout] test tests::coding_default_constructor_does_not_auto_approve_shell ... ok [INFO] [stdout] test tests::checked_in_coding_profile_matches_constructor ... ok [INFO] [stdout] test tests::checked_in_coding_profile_does_not_auto_approve_shell ... ok [INFO] [stdout] test tests::agent_profile_loads_from_json_file ... ok [INFO] [stdout] test tests::control_request_record_falls_back_for_legacy_pending_request_without_request_id ... ok [INFO] [stdout] test tests::control_request_record_reuses_pending_request_id_when_present ... ok [INFO] [stdout] test tests::control_request_record_projects_resolved_tool_approval_summary ... ok [INFO] [stdout] test tests::critic_review_observation_round_trips ... ok [INFO] [stdout] test tests::legacy_coordinator_observation_recorded_defaults_resumed_metadata ... ok [INFO] [stdout] test tests::legacy_coordinator_planned_defaults_non_consuming_resumed_to_false ... ok [INFO] [stdout] test tests::legacy_plan_control_metadata_defaults_optional_fields ... ok [INFO] [stdout] test tests::legacy_agent_profile_defaults_new_control_plane_and_brain_fields ... ok [INFO] [stdout] test tests::legacy_domain_profile_defaults_new_control_plane_and_brain_fields ... ok [INFO] [stdout] test tests::legacy_delegation_result_defaults_critic_notes ... ok [INFO] [stdout] test tests::legacy_planning_artifact_defaults_queue_update_action ... ok [INFO] [stdout] test tests::legacy_resumed_input_observation_defaults_typed_fields ... ok [INFO] [stdout] test tests::legacy_planner_decision_recorded_defaults_non_consuming_resumed_to_false ... ok [INFO] [stdout] test tests::legacy_planner_context_packet_defaults_nested_memory_packet_fields ... ok [INFO] [stdout] test tests::delegation_observation_round_trips ... ok [INFO] [stdout] test tests::execution_event_round_trips ... ok [INFO] [stdout] test tests::external_observation_request_round_trips ... ok [INFO] [stdout] test tests::checked_in_domain_blank_profile_matches_constructor ... ok [INFO] [stdout] test tests::legacy_planner_context_packet_defaults_top_level_resumed_fields ... ok [INFO] [stdout] test tests::legacy_tool_failure_observation_defaults_typed_fields ... ok [INFO] [stdout] test tests::legacy_task_queue_recorded_defaults_resume_metadata ... ok [INFO] [stdout] test tests::legacy_turn_completed_defaults_stop_driver_to_none ... ok [INFO] [stdout] test tests::legacy_session_snapshot_defaults_pending_approval ... ok [INFO] [stdout] test tests::permission_denied_observation_round_trips ... ok [INFO] [stdout] test tests::legacy_session_compaction_defaults_nested_memory_packet_fields ... ok [INFO] [stdout] test tests::model_follow_up_directive_round_trips ... ok [INFO] [stdout] test tests::legacy_session_compaction_defaults_memory_packet ... ok [INFO] [stdout] test tests::plan_decision_control_metadata_round_trips ... ok [INFO] [stdout] test tests::planner_context_packet_round_trips ... ok [INFO] [stdout] test tests::legacy_session_memory_packet_defaults_typed_fields ... ok [INFO] [stdout] test tests::pending_tool_approval_deserializes_without_request_id ... ok [INFO] [stdout] test tests::load_legacy_agent_profile_file_defaults_new_control_plane_and_brain_fields ... ok [INFO] [stdout] test tests::load_legacy_domain_profile_file_defaults_new_control_plane_and_brain_fields ... ok [INFO] [stdout] test tests::remote_control_cancel_envelope_round_trips ... ok [INFO] [stdout] test tests::remote_control_request_record_projects_attach_payload ... ok [INFO] [stdout] test tests::remote_control_request_record_round_trips ... ok [INFO] [stdout] test tests::remote_control_response_envelope_round_trips ... ok [INFO] [stdout] test tests::remote_control_session_snapshot_round_trips ... ok [INFO] [stdout] test tests::remote_control_request_envelope_round_trips ... ok [INFO] [stdout] test tests::remote_control_response_envelope_round_trips_attach_payload ... ok [INFO] [stdout] test tests::remote_control_request_record_projects_cancel_envelope ... ok [INFO] [stdout] test tests::remote_manager_request_result_round_trips ... ok [INFO] [stdout] test tests::remote_manager_cancel_result_round_trips ... ok [INFO] [stdout] test tests::remote_control_session_snapshot_carries_admitted_viewer_attach_without_attach_payload ... ok [INFO] [stdout] test tests::remote_manager_bridge_messages_round_trip ... ok [INFO] [stdout] test tests::remote_manager_session_view_round_trips_without_runtime_handle_fields ... ok [INFO] [stdout] test tests::review_observation_round_trips ... ok [INFO] [stdout] test tests::runtime_attached_reconnect_deferred_cancel_command_result_round_trips ... ok [INFO] [stdout] test tests::runtime_cancel_command_metadata_stays_runtime_first ... ok [INFO] [stdout] test tests::runtime_command_result_round_trips ... ok [INFO] [stdout] test tests::runtime_attached_reconnect_command_result_round_trips ... ok [INFO] [stdout] test tests::runtime_pending_tool_approval_command_result_round_trips ... ok [INFO] [stdout] test tests::runtime_attached_reconnect_interrupt_command_result_round_trips ... ok [INFO] [stdout] test tests::runtime_pending_tool_approval_commands_use_control_request_metadata ... ok [INFO] [stdout] test tests::state_machine_moves_through_tool_flow ... ok [INFO] [stdout] test tests::legacy_plan_decision_defaults_control_metadata ... ok [INFO] [stdout] test tests::session_snapshot_remote_control_requests_round_trip ... ok [INFO] [stdout] test tests::timeout_observation_round_trips ... ok [INFO] [stdout] test tests::tool_failure_observation_round_trips ... ok [INFO] [stdout] test tests::remote_control_session_snapshot_carries_completed_attach_request_with_attach_payload ... ok [INFO] [stdout] test tests::attached_reconnect_lease_token_round_trips ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 65 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xagents_protocol-382fa3110ad2395a) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test tests::schema_bundle_contract_preserves_existing_order_and_appends_bridge_messages_at_tail ... ok [INFO] [stdout] test tests::schema_bundle_schema_requires_all_exported_schema_properties ... ok [INFO] [stdout] test tests::schema_bundle_schema_has_expected_top_level_property_set ... ok [INFO] [stdout] test tests::remote_control_request_envelope_schema_exposes_target_and_payload_fields ... ok [INFO] [stdout] test tests::remote_manager_bridge_message_schemas_export_variant_contracts ... ok [INFO] [stdout] test tests::tool_call_schema_exposes_invocation_fields ... ok [INFO] [stdout] test tests::execution_event_schema_exposes_planning_and_tool_fields ... ok [INFO] [stdout] test tests::tool_result_schema_exposes_result_fields ... ok [INFO] [stdout] test tests::schema_bundle_exposes_expected_top_level_schema_shapes ... ok [INFO] [stdout] test tests::session_snapshot_schema_exposes_resume_recovery_fields ... ok [INFO] [stdout] test tests::remote_control_session_snapshot_schema_exposes_manager_view_fields ... ok [INFO] [stdout] test tests::planner_context_packet_schema_exposes_resume_and_budget_fields ... ok [INFO] [stdout] test tests::tool_result_schema_exposes_error_kind_enum_values ... ok [INFO] [stdout] test tests::tool_result_schema_exposes_nested_error_fields ... ok [INFO] [stdout] test tests::schema_bundle_serializes_expected_top_level_keys ... ok [INFO] [stdout] test tests::remote_control_request_record_schema_exposes_lifecycle_fields ... ok [INFO] [stdout] test tests::schema_bundle_lookup_helpers_follow_top_level_contract ... ok [INFO] [stdout] test tests::session_compaction_schema_exposes_summary_and_memory_packet_fields ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xagents_runtime-75f063e04b1087cc) [INFO] [stdout] [INFO] [stdout] running 403 tests [INFO] [stdout] test tests::apply_remote_control_cancel_ignores_unknown_request_id ... ok [INFO] [stdout] test tests::attach_live_session_convenience_api_maps_attached_to_some_and_non_attachable_states_to_none ... ok [INFO] [stdout] test tests::apply_remote_manager_cancel_rejects_cross_actor_request_before_mutation ... ok [INFO] [stdout] test tests::apply_remote_manager_cancel_rejects_cross_session_request_before_mutation ... ok [INFO] [stdout] test tests::attach_reconnect_session_blocks_terminalizing_live_generation ... ok [INFO] [stdout] test tests::attach_reconnect_session_attaches_current_live_generation ... ok [INFO] [stdout] test tests::apply_remote_manager_request_returns_response_record_and_refreshed_view ... ok [INFO] [stdout] test tests::apply_remote_control_cancel_updates_registered_record ... ok [INFO] [stdout] test tests::attach_reconnect_session_reports_missing_for_unknown_session ... ok [INFO] [stdout] test tests::attached_live_handle_can_interrupt_current_generation ... ok [INFO] [stdout] test tests::apply_remote_manager_cancel_returns_cancelled_record_and_refreshed_view ... ok [INFO] [stdout] test tests::attach_reconnect_session_reports_live_cancelled_generation ... ok [INFO] [stdout] test tests::attach_reconnect_session_preserves_cancel_reason_and_live_generation_overlap ... ok [INFO] [stdout] test tests::attached_reconnect_action_attempt_matches_existing_blocked_results ... ok [INFO] [stdout] test tests::attached_reconnect_deferred_cancel_attempt_reinspects_when_enqueue_race_loses_current_claim ... ok [INFO] [stdout] test tests::action_prompt_uses_bound_action_provider ... ok [INFO] [stdout] test tests::attached_reconnect_deferred_cancel_coalesces_with_existing_live_handle_cancel ... ok [INFO] [stdout] test tests::approval_resume_executes_pending_tool_call ... ok [INFO] [stdout] test tests::attach_reconnect_session_blocks_waiting_for_approval_with_request_id_preserved ... ok [INFO] [stdout] test tests::attached_reconnect_interrupt_attempt_reinspects_when_interrupt_race_loses_current_claim ... ok [INFO] [stdout] test tests::attached_reconnect_lease_action_matches_handle_release_path ... ok [INFO] [stdout] test tests::attached_reconnect_lease_inspection_matches_handle_inspection ... ok [INFO] [stdout] test tests::attached_reconnect_deferred_cancel_attempt_returns_typed_blocked_states ... ok [INFO] [stdout] test tests::attached_reconnect_release_attempt_matches_raw_release_success_path ... ok [INFO] [stdout] test tests::approved_pending_approval_handle_reports_not_waiting_after_resolution ... ok [INFO] [stdout] test tests::attached_reconnect_release_attempt_reinspects_when_release_race_loses_current_claim ... ok [INFO] [stdout] test tests::attached_reconnect_release_attempt_returns_typed_blocked_states ... ok [INFO] [stdout] test tests::budget_exhaustion_is_reported ... ok [INFO] [stdout] test tests::attached_reconnect_interrupt_attempt_matches_existing_success_path ... ok [INFO] [stdout] test tests::cancel_session_and_interrupt_live_session_project_same_cancel_control_request ... ok [INFO] [stdout] test tests::cancel_session_and_interrupt_live_session_share_one_cancel_resolution ... ok [INFO] [stdout] test tests::attached_reconnect_interrupt_attempt_returns_typed_blocked_states ... ok [INFO] [stdout] test tests::cancel_session_clears_pending_tool_approval ... ok [INFO] [stdout] test tests::attach_reconnect_session_matches_attach_reconnect_admission_for_each_outcome_class ... ok [INFO] [stdout] test tests::apply_remote_control_cancel_persists_cancelled_record_to_latest_snapshot ... ok [INFO] [stdout] test tests::blocked_attach_reconnect_boundaries_beat_ownership_conflict ... ok [INFO] [stdout] test tests::attach_reconnect_session_keeps_completed_failed_and_timed_out_distinct ... ok [INFO] [stdout] test tests::cancel_session_is_idempotent ... ok [INFO] [stdout] test tests::apply_remote_manager_cancel_uses_persisted_request_state_after_restart ... ok [INFO] [stdout] test tests::capability_registry_rejects_permission_allowlist_tools_not_enabled ... ok [INFO] [stdout] test tests::capability_registry_rejects_unknown_brain_binding ... ok [INFO] [stdout] test tests::capability_registry_rejects_unknown_planner_router_binding ... ok [INFO] [stdout] test tests::capability_registry_validates_builtin_profiles ... ok [INFO] [stdout] test tests::cancelled_pending_tool_denial_is_rejected_explicitly ... ok [INFO] [stdout] test tests::capability_registry_rejects_non_model_planner_brain_binding ... ok [INFO] [stdout] test tests::claim_aware_reconnect_admission_matches_attach_reconnect_session_for_attachable_and_conflict ... ok [INFO] [stdout] test tests::cancel_session_rejects_terminal_sessions ... ok [INFO] [stdout] test tests::cannot_approve_resolved_pending_tool_call_twice ... ok [INFO] [stdout] test tests::concurrent_cancel_session_callers_share_one_cancel_resolution ... ok [INFO] [stdout] test tests::cancelled_pending_tool_request_id_approval_is_rejected_explicitly ... ok [INFO] [stdout] test tests::count_prior_planner_rounds_ignores_non_consuming_decisions ... ok [INFO] [stdout] test tests::continue_session_rejects_cancelled_session ... ok [INFO] [stdout] test tests::critic_can_review_failed_execution ... ok [INFO] [stdout] test tests::critic_review_prefers_typed_critic_response ... ok [INFO] [stdout] test tests::critic_review_uses_explicit_critic_binding ... ok [INFO] [stdout] test tests::critic_timeout_policy_uses_control_plane_timeout ... ok [INFO] [stdout] test tests::current_generation_command_queue_cleanup_keeps_older_generation_queue_isolated ... ok [INFO] [stdout] test tests::current_reconnect_owner_can_interrupt_current_generation ... ok [INFO] [stdout] test tests::continue_session_reuses_context_and_turn_counter ... ok [INFO] [stdout] test tests::default_model_backed_router_understands_critic_review_observation ... ok [INFO] [stdout] test tests::default_model_backed_router_understands_external_result_follow_up ... ok [INFO] [stdout] test tests::default_model_backed_router_understands_review_observation ... ok [INFO] [stdout] test tests::default_model_backed_router_understands_timeout_observation ... ok [INFO] [stdout] test tests::default_model_backed_router_understands_tool_failure_observation ... ok [INFO] [stdout] test tests::ambiguous_status_follow_up_uses_memory_after_prior_status_answer ... ok [INFO] [stdout] test tests::attached_reconnect_deferred_cancel_attempt_matches_existing_success_path ... ok [INFO] [stdout] test tests::attached_reconnect_deferred_cancel_drains_at_next_boundary_before_follow_up_turn ... ok [INFO] [stdout] test tests::continue_session_marks_resumed_preplanned_queue_as_preplanned ... ok [INFO] [stdout] test tests::critic_review_can_trigger_replanning_follow_up ... ok [INFO] [stdout] test tests::deferred_live_cancel_does_not_report_success_if_live_generation_unregistered_before_enqueue ... ok [INFO] [stdout] test tests::deferred_live_cancel_coalesces_same_generation_requests_before_boundary ... ok [INFO] [stdout] test tests::cancel_session_interrupts_first_turn_before_snapshot_exists ... ok [INFO] [stdout] test tests::cancel_session_interrupts_in_flight_continue_session_tool_call ... ok [INFO] [stdout] test tests::cancel_session_interrupts_in_flight_approved_tool_call ... ok [INFO] [stdout] test tests::action_delegation_merge_directive_can_replace_parent_queue ... ok [INFO] [stdout] test tests::denied_pending_approval_handle_reports_not_waiting_after_resolution ... ok [INFO] [stdout] test tests::deferred_live_cancel_arriving_during_boundary_coalesces_without_residue ... ok [INFO] [stdout] test tests::disabled_profile_router_skips_resumed_heuristic_routing ... ok [INFO] [stdout] test tests::denial_resume_replans_from_pending_boundary ... ok [INFO] [stdout] test tests::dispatch_cancel_command_remains_idempotent_for_cancelled_session ... ok [INFO] [stdout] test tests::dispatch_command_executes_attached_reconnect_release ... ok [INFO] [stdout] test tests::deferred_live_cancel_arriving_during_post_turn_boundary_keeps_worker_turn_stopped ... ok [INFO] [stdout] test tests::dispatch_command_executes_attached_reconnect_deferred_cancel ... ok [INFO] [stdout] test tests::dispatch_command_executes_attached_reconnect_interrupt ... ok [INFO] [stdout] test tests::dispatch_command_executes_builtin_cancel_session ... ok [INFO] [stdout] test tests::dispatch_command_returns_typed_blocked_error_for_pending_tool_approval ... ok [INFO] [stdout] test tests::dominant_resume_confirmation_pattern_overrides_mixed_history ... ok [INFO] [stdout] test tests::dispatch_command_pending_tool_approval_selector_prefers_request_id ... ok [INFO] [stdout] test tests::dispatch_command_executes_pending_tool_approval_approve ... ok [INFO] [stdout] test tests::explicit_knowledge_prompt_fails_without_knowledge_binding ... ok [INFO] [stdout] test tests::dispatch_command_executes_pending_tool_approval_deny ... ok [INFO] [stdout] test tests::forward_remote_control_request_executes_attach_controller_and_returns_attach_payload ... ok [INFO] [stdout] test tests::failed_streaming_tool_preserves_stdout_chunks_before_failure ... ok [INFO] [stdout] test tests::forward_remote_control_request_executes_cancel_session ... ok [INFO] [stdout] test tests::forward_remote_control_request_executes_reconnect_controller_and_returns_attach_payload ... ok [INFO] [stdout] test tests::forward_remote_control_request_keeps_attach_viewer_as_admitted_only ... ok [INFO] [stdout] test tests::forward_remote_control_request_stores_completed_attach_payload_after_success ... ok [INFO] [stdout] test tests::freshly_inspected_pending_approval_handle_reports_resolvable ... ok [INFO] [stdout] test tests::delegatable_model_step_emits_worker_delegation_events ... ok [INFO] [stdout] test tests::handle_remote_manager_bridge_message_overwrites_forged_request_scope_before_dispatch ... ok [INFO] [stdout] test tests::full_shell_flow_persists_session ... ok [INFO] [stdout] test tests::handle_remote_manager_bridge_message_routes_open_to_opened_view ... ok [INFO] [stdout] test tests::handle_remote_manager_bridge_message_routes_cancel_to_cancel_result ... ok [INFO] [stdout] test tests::forward_remote_control_request_executes_pending_approval_approve ... ok [INFO] [stdout] test tests::deferred_live_cancel_drains_at_next_post_turn_boundary_before_follow_up_turn_is_consumed ... ok [INFO] [stdout] test tests::history_based_status_confirmation_takes_precedence_over_low_budget_branch ... ok [INFO] [stdout] test tests::history_based_stop_dominant_strong_confirmation_keeps_direct_resume ... ok [INFO] [stdout] test tests::history_based_stop_dominant_weak_confirmation_uses_planner_instead_of_direct_resume ... ok [INFO] [stdout] test tests::history_based_stop_wrap_up_request_uses_planner_and_clean_stop_artifact ... ok [INFO] [stdout] test tests::history_window_compaction_preview_truncates_utf8_safely ... ok [INFO] [stdout] test tests::handle_remote_manager_bridge_message_routes_request_to_request_result ... ok [INFO] [stdout] test tests::inspect_attach_reconnect_admission_blocks_terminalizing_live_generation ... ok [INFO] [stdout] test tests::deferred_live_cancel_clears_generation_local_queue_after_finalize ... ok [INFO] [stdout] test tests::history_based_status_confirmation_can_resume_without_low_budget ... ok [INFO] [stdout] test tests::inspect_attach_reconnect_admission_prefers_persisted_cancel_reason_over_live_cancelled_fallback ... ok [INFO] [stdout] test tests::inspect_attach_reconnect_admission_reports_attachable_live_generation ... ok [INFO] [stdout] test tests::inspect_attach_reconnect_admission_blocks_waiting_for_approval_before_missing ... ok [INFO] [stdout] test tests::inspect_attach_reconnect_admission_reports_live_cancelled_generation ... ok [INFO] [stdout] test tests::inspect_attach_reconnect_admission_reports_missing_for_unknown_session ... ok [INFO] [stdout] test tests::deferred_live_cancel_projects_same_resolved_control_request_as_immediate_cancel ... ok [INFO] [stdout] test tests::inspect_attached_reconnect_action_availability_keeps_current_owner_snapshot_before_later_release ... ok [INFO] [stdout] test tests::inspect_attached_reconnect_action_availability_projects_current_owner_without_request ... ok [INFO] [stdout] test tests::inspect_attached_reconnect_action_availability_projects_released_reclaimed_and_stale_states ... ok [INFO] [stdout] test tests::inspect_attached_reconnect_action_availability_projects_terminalizing_and_cancelled_states ... ok [INFO] [stdout] test tests::inspect_attached_reconnect_handle_matrix_keeps_current_owner_snapshot_before_later_release ... ok [INFO] [stdout] test tests::inspect_attach_reconnect_admission_reports_cancelled_boundary ... ok [INFO] [stdout] test tests::inspect_attached_reconnect_handle_matrix_projects_current_owner_without_request ... ok [INFO] [stdout] test tests::inspect_attached_reconnect_handle_matrix_projects_released_reclaimed_and_stale_states ... ok [INFO] [stdout] test tests::inspect_attached_reconnect_handle_matrix_projects_cancelled_boundary_with_resolved_request ... ok [INFO] [stdout] test tests::inspect_attached_reconnect_action_availability_projects_waiting_request_and_blocked_actions ... ok [INFO] [stdout] test tests::inspect_attached_reconnect_handle_reports_cancelled_boundary ... ok [INFO] [stdout] test tests::inspect_attached_reconnect_handle_reports_current_owner ... ok [INFO] [stdout] test tests::inspect_attached_reconnect_handle_reports_reclaimed_same_generation_claim ... ok [INFO] [stdout] test tests::inspect_attached_reconnect_handle_reports_released_claim ... ok [INFO] [stdout] test tests::inspect_attached_reconnect_handle_reports_stale_live_generation ... ok [INFO] [stdout] test tests::inspect_attached_reconnect_handle_matrix_projects_waiting_request_and_boundary ... ok [INFO] [stdout] test tests::inspect_attached_reconnect_handle_reports_terminalizing_boundary ... ok [INFO] [stdout] test tests::inspect_claim_aware_reconnect_admission_ignores_old_generation_stale_claim ... ok [INFO] [stdout] test tests::inspect_claim_aware_reconnect_admission_reports_attachable_without_claim ... ok [INFO] [stdout] test tests::inspect_claim_aware_reconnect_admission_reports_missing_for_unknown_session ... ok [INFO] [stdout] test tests::inspect_control_request_matrix_keeps_attachable_snapshot_before_later_claim ... ok [INFO] [stdout] test tests::inspect_claim_aware_reconnect_admission_reports_ownership_conflict_for_current_claim ... ok [INFO] [stdout] test tests::inspect_control_request_matrix_keeps_completed_no_request_boundary_visible ... ok [INFO] [stdout] test tests::inspect_control_request_matrix_keeps_waiting_snapshot_consistent_after_later_cancel ... ok [INFO] [stdout] test tests::inspect_control_request_matrix_projects_waiting_request_and_boundary ... ok [INFO] [stdout] test tests::inspect_control_request_matrix_surfaces_same_process_ownership_conflict ... ok [INFO] [stdout] test tests::inspect_control_request_projects_cancelled_session ... ok [INFO] [stdout] test tests::inspect_control_request_naturally_projects_cancelled_pending_overlap ... ok [INFO] [stdout] test tests::inspect_control_request_projects_resolved_approved_tool_approval ... ok [INFO] [stdout] test tests::inspect_control_request_projects_resolved_denied_tool_approval ... ok [INFO] [stdout] test tests::inspect_live_session_prefers_cancelled_over_terminalizing_when_both_flags_are_set ... ok [INFO] [stdout] test tests::inspect_live_session_returns_attached_for_current_live_generation ... ok [INFO] [stdout] test tests::inspect_live_session_returns_cancelled_with_current_task_id_and_generation ... ok [INFO] [stdout] test tests::inspect_attach_reconnect_admission_keeps_completed_failed_and_timed_out_distinct ... ok [INFO] [stdout] test tests::inspect_live_session_returns_not_live_for_missing_session ... ok [INFO] [stdout] test tests::inspect_live_session_returns_terminalizing_with_current_task_id_and_generation ... ok [INFO] [stdout] test tests::inspect_control_request_reports_pending_tool_approval ... ok [INFO] [stdout] test tests::inspect_pending_tool_approval_action_availability_keeps_current_snapshot_after_later_cancel ... ok [INFO] [stdout] test tests::inspect_pending_tool_approval_action_availability_reports_current_handle_available ... ok [INFO] [stdout] test tests::inspect_pending_tool_approval_action_availability_reports_missing_snapshot_blocked ... ok [INFO] [stdout] test tests::inspect_pending_tool_approval_action_availability_reports_cancelled_blocked ... ok [INFO] [stdout] test tests::inspect_claim_aware_reconnect_admission_keeps_blocked_and_terminal_states_distinct ... ok [INFO] [stdout] test tests::inspect_pending_tool_approval_handle_matrix_reports_cancelled_request ... ok [INFO] [stdout] test tests::inspect_pending_tool_approval_action_availability_reports_stale_handle_blocked ... ok [INFO] [stdout] test tests::inspect_pending_tool_approval_handle_matrix_keeps_current_snapshot_after_later_cancel ... ok [INFO] [stdout] test tests::inspect_pending_tool_approval_handle_matrix_reports_stale_handle_with_current_request ... ok [INFO] [stdout] test tests::inspect_pending_tool_approval_recovers_event_only_pending_boundary_without_task_id ... ok [INFO] [stdout] test tests::inspect_pending_tool_approval_handle_matrix_reports_missing_snapshot ... ok [INFO] [stdout] test tests::inspect_pending_tool_approval_handle_matrix_reports_resolved_not_waiting_request ... ok [INFO] [stdout] test tests::inspect_pending_tool_approval_action_availability_reports_resolved_not_waiting_blocked ... ok [INFO] [stdout] test tests::deferred_live_cancel_same_generation_duplicates_preserve_single_resolution_summary ... ok [INFO] [stdout] test tests::inspect_pending_tool_approval_returns_waiting_with_current_pending_approval ... ok [INFO] [stdout] test tests::inspect_pending_tool_approval_returns_cancelled_for_cancelled_session ... ok [INFO] [stdout] test tests::inspect_remote_control_session_snapshot_for_unknown_session_returns_empty_requests_and_missing_boundary ... ok [INFO] [stdout] test tests::handle_remote_manager_bridge_message_uses_persisted_request_state_after_restart ... ok [INFO] [stdout] test tests::inspect_remote_control_session_snapshot_reflects_cancelled_request_records ... ok [INFO] [stdout] test tests::inspect_remote_control_session_snapshot_keeps_request_registry_consistent_after_later_cancel ... ok [INFO] [stdout] test tests::inspect_remote_control_session_snapshot_includes_completed_attach_controller_record_with_attach_payload ... ok [INFO] [stdout] test tests::inspect_remote_control_session_snapshot_includes_admitted_attach_viewer_without_attach_payload_and_sorts_requests ... ok [INFO] [stdout] test tests::inspect_remote_manager_session_view_keeps_snapshot_and_attach_admission_on_one_observation ... ok [INFO] [stdout] test tests::inspect_remote_manager_session_view_projects_reconnecting_controller_and_viewer_boundaries ... ok [INFO] [stdout] test tests::inspect_remote_manager_session_view_projects_controller_attachable_admission ... ok [INFO] [stdout] test tests::inspect_session_control_action_availability_keeps_attachable_snapshot_before_later_claim ... ok [INFO] [stdout] test tests::inspect_session_control_action_availability_projects_attachable_live_session ... ok [INFO] [stdout] test tests::inspect_session_control_action_availability_projects_ownership_conflict_live_session ... ok [INFO] [stdout] test tests::inspect_session_control_action_availability_projects_cancelled_and_completed_states ... ok [INFO] [stdout] test tests::inspect_session_control_boundary_reports_attached_live_generation ... ok [INFO] [stdout] test tests::inspect_session_control_boundary_reports_live_cancelled_generation ... ok [INFO] [stdout] test tests::inspect_session_control_action_availability_projects_waiting_for_approval ... ok [INFO] [stdout] test tests::inspect_session_control_boundary_reports_missing_for_unknown_session ... ok [INFO] [stdout] test tests::inspect_session_control_boundary_reports_persisted_completed_boundary ... ok [INFO] [stdout] test tests::inspect_session_control_boundary_prefers_persisted_cancel_reason_over_live_cancelled_fallback ... ok [INFO] [stdout] test tests::inspect_session_control_boundary_reports_persisted_timed_out_boundary ... ok [INFO] [stdout] test tests::inspect_remote_manager_session_view_carries_persisted_requests_after_restart ... ok [INFO] [stdout] test tests::inspect_session_control_boundary_reports_terminalizing_live_generation ... ok [INFO] [stdout] test tests::inspect_session_control_boundary_reports_waiting_pending_handle_with_request_id ... ok [INFO] [stdout] test tests::inspect_remote_control_session_snapshot_falls_back_to_persisted_requests_after_restart ... ok [INFO] [stdout] test tests::inspected_pending_approval_handle_can_be_approved_through_thin_resolution_path ... ok [INFO] [stdout] test tests::knowledge_prompt_uses_bound_knowledge_provider ... ok [INFO] [stdout] test tests::inspect_session_control_boundary_reports_persisted_failed_boundary ... ok [INFO] [stdout] test tests::inspect_pending_tool_approval_returns_not_waiting_for_missing_or_non_waiting_session ... ok [INFO] [stdout] test tests::inspected_pending_approval_handle_can_be_denied_through_thin_resolution_path ... ok [INFO] [stdout] test tests::inspect_session_control_boundary_reports_persisted_cancelled_boundary ... ok [INFO] [stdout] test tests::legacy_snapshot_backed_pending_approval_without_request_id_is_rejected_by_request_id_api_but_call_id_path_still_works ... ok [INFO] [stdout] test tests::legacy_snapshot_backed_pending_approval_without_request_id_rejects_request_id_denial_but_keeps_call_id_denial_path ... ok [INFO] [stdout] test tests::legacy_snapshot_backed_pending_approval_without_request_id_still_resolves_through_call_id_fallback ... ok [INFO] [stdout] test tests::delegation_completion_records_typed_replanning_observation ... ok [INFO] [stdout] test tests::external_result_model_follow_up_stops_without_directive ... ok [INFO] [stdout] test tests::attached_reconnect_action_attempt_matches_existing_success_paths ... ok [INFO] [stdout] test tests::ambiguous_status_follow_up_without_history_still_uses_planner ... ok [INFO] [stdout] test tests::initial_natural_language_can_route_to_knowledge_path ... ok [INFO] [stdout] test tests::approved_pending_tool_timeout_preserves_tool_failure_lineage ... ok [INFO] [stdout] test tests::continue_session_after_timeout_reenters_runtime_loop_without_reviving_timed_out_turn ... ok [INFO] [stdout] test tests::model_backed_router_prefers_typed_planner_artifact_response ... ok [INFO] [stdout] test tests::model_backed_router_uses_explicit_planner_binding ... ok [INFO] [stdout] test tests::live_handle_interrupts_first_turn_before_snapshot_exists ... ok [INFO] [stdout] test tests::model_follow_up_directive_parser_accepts_structured_json ... ok [INFO] [stdout] test tests::natural_language_worker_turn_uses_model_provider_binding ... ok [INFO] [stdout] test tests::new_live_generation_is_not_blocked_by_old_reconnect_claimant ... ok [INFO] [stdout] test tests::knowledge_success_can_trigger_replanning_follow_up_turn ... ok [INFO] [stdout] test tests::non_streaming_tool_keeps_buffered_execute_stdout_event ... ok [INFO] [stdout] test tests::low_budget_status_follow_up_confirmation_without_history_uses_planner ... ok [INFO] [stdout] test tests::old_generation_claim_cannot_interrupt_newer_live_generation ... ok [INFO] [stdout] test tests::older_claim_id_on_same_generation_cannot_interrupt_newer_claimant ... ok [INFO] [stdout] test tests::older_generation_pending_deferred_cancel_does_not_block_new_generation_enqueue ... ok [INFO] [stdout] test tests::older_same_generation_claim_cannot_queue_deferred_cancel_after_reclaim ... ok [INFO] [stdout] test tests::continue_session_can_resume_unfinished_queue_directly ... ok [INFO] [stdout] test tests::open_remote_manager_bridge_returns_current_view ... ok [INFO] [stdout] test tests::ownership_conflict_loser_cannot_interrupt ... ok [INFO] [stdout] test tests::parse_filesystem_tool_call_preserves_empty_path ... ok [INFO] [stdout] test tests::parse_search_tool_call_preserves_missing_or_empty_path ... ok [INFO] [stdout] test tests::parse_shell_tool_call_preserves_empty_command ... ok [INFO] [stdout] test tests::pending_tool_approval_action_attempt_blocks_cancelled ... ok [INFO] [stdout] test tests::pending_tool_approval_action_attempt_blocks_missing_snapshot ... ok [INFO] [stdout] test tests::low_planner_budget_frontloads_permission_denied_recovery_into_single_queue ... ok [INFO] [stdout] test tests::pending_tool_approval_action_attempt_blocks_not_waiting ... ok [INFO] [stdout] test tests::pending_tool_approval_action_attempt_blocks_stale_handle ... ok [INFO] [stdout] test tests::open_remote_manager_bridge_carries_persisted_requests_after_restart ... ok [INFO] [stdout] test tests::low_budget_preplanned_wrap_up_request_resumes_queue_directly ... ok [INFO] [stdout] test tests::pending_tool_approval_action_attempt_matches_deny_success_path ... ok [INFO] [stdout] test tests::pending_tool_approval_handle_call_id_mutation_still_resolves_when_request_id_matches ... ok [INFO] [stdout] test tests::plan_control_kind_history_can_drive_history_based_status_confirmation ... ok [INFO] [stdout] test tests::plan_control_kind_history_can_drive_low_budget_status_confirmation ... ok [INFO] [stdout] test tests::permission_denial_fails_the_task ... ok [INFO] [stdout] test tests::planner_frontloaded_history_based_confirmation_uses_stop_queue_action ... ok [INFO] [stdout] test tests::planner_frontloaded_low_budget_confirmation_keeps_replace_queue_action ... ok [INFO] [stdout] test tests::pending_tool_approval_action_attempt_matches_approve_success_path ... ok [INFO] [stdout] test tests::planner_frontloaded_repeated_resume_confirmation_stops_after_multiple_appends ... ok [INFO] [stdout] test tests::planner_frontloaded_resume_confirmation_preserves_dominant_control_kind ... ok [INFO] [stdout] test tests::planner_probe_without_artifact_does_not_consume_last_round ... ok [INFO] [stdout] test tests::planner_exhaustion_after_tool_failure_records_recovery_class ... ok [INFO] [stdout] test tests::planner_router_registry_resolves_builtin_binding ... ok [INFO] [stdout] test tests::planner_timeout_policy_skips_slow_planner_route ... ok [INFO] [stdout] test tests::post_turn_command_queue_can_cancel_session_before_follow_up_turn_is_consumed ... ok [INFO] [stdout] test tests::low_planner_budget_frontloads_follow_up_into_single_queue ... ok [INFO] [stdout] test tests::post_turn_command_queue_drains_once_and_clears_session_local_state ... ok [INFO] [stdout] test tests::post_turn_dispatched_command_failure_records_failure_stop_driver ... ok [INFO] [stdout] test tests::post_turn_hook_can_stop_after_completed_worker_tool_turn ... ok [INFO] [stdout] test tests::post_turn_hook_error_finalizes_failed_session_and_clears_live_state ... ok [INFO] [stdout] test tests::previous_attached_live_handle_becomes_stale_after_newer_generation ... ok [INFO] [stdout] test tests::reconnect_interrupt_projects_same_cancel_control_request ... ok [INFO] [stdout] test tests::reconnect_owner_interrupt_preserves_terminalizing_guard ... ok [INFO] [stdout] test tests::register_remote_control_request_stores_admission_record ... ok [INFO] [stdout] test tests::released_attached_reconnect_handle_cannot_queue_deferred_cancel_or_leave_orphan_queue ... ok [INFO] [stdout] test tests::released_reconnect_claim_cannot_interrupt ... ok [INFO] [stdout] test tests::released_reconnect_claim_returns_claim_aware_inspection_to_attachable ... ok [INFO] [stdout] test tests::releasing_reconnect_claim_allows_later_attach ... ok [INFO] [stdout] test tests::remote_attach_request_record_downgrades_from_admitted_to_blocked_without_payload ... ok [INFO] [stdout] test tests::remote_control_attach_viewer_admission_uses_claim_aware_boundary_but_stays_admitted ... ok [INFO] [stdout] test tests::remote_control_attached_interrupt_admission_projects_current_owner ... ok [INFO] [stdout] test tests::remote_control_cancel_admission_is_admitted_for_live_controller_request ... ok [INFO] [stdout] test tests::remote_control_pending_approve_admission_projects_waiting_request ... ok [INFO] [stdout] test tests::remote_control_request_record_can_project_cancel_lifecycle ... ok [INFO] [stdout] test tests::remote_control_request_record_projects_admitted_session_cancel ... ok [INFO] [stdout] test tests::remote_control_request_record_projects_rejected_viewer_mutation ... ok [INFO] [stdout] test tests::remote_control_viewer_cancel_request_is_rejected ... ok [INFO] [stdout] test tests::repeated_resumed_append_confirmation_stops_even_without_low_budget ... ok [INFO] [stdout] test tests::repeated_resumed_append_strong_confirmation_uses_planner_instead_of_direct_resume ... ok [INFO] [stdout] test tests::repeated_resumed_append_weak_confirmation_uses_planner_instead_of_direct_resume ... ok [INFO] [stdout] test tests::repeated_stop_dominant_strong_confirmation_uses_planner_without_multiple_append_state ... ok [INFO] [stdout] test tests::repeated_stop_wrap_up_request_uses_planner_instead_of_direct_resume ... ok [INFO] [stdout] test tests::repeated_stop_wrap_up_request_uses_planner_without_multiple_append_state ... ok [INFO] [stdout] test tests::request_id_raw_approval_executes_pending_tool_call ... ok [INFO] [stdout] test tests::external_result_model_follow_up_executes_explicit_next_step ... ok [INFO] [stdout] test tests::resolved_pending_tool_request_id_denial_is_rejected_as_not_waiting ... ok [INFO] [stdout] test tests::resume_context_accepts_legacy_compaction_with_nested_legacy_memory_packet ... ok [INFO] [stdout] test tests::max_critic_reviews_policy_forces_review_fallback_path ... ok [INFO] [stdout] test tests::custom_planner_router_can_override_resumed_routing ... ok [INFO] [stdout] test tests::request_id_raw_denial_replans_from_pending_boundary ... ok [INFO] [stdout] test tests::resume_session_is_read_only_while_continue_reenters_runtime_loop ... ok [INFO] [stdout] test tests::low_planner_budget_frontloads_delegation_merge_into_single_queue ... ok [INFO] [stdout] test tests::noop_post_turn_hook_preserves_worker_follow_up_behavior ... ok [INFO] [stdout] test tests::model_backed_planner_can_emit_explicit_delegation_step ... ok [INFO] [stdout] test tests::knowledge_delegation_merge_directive_can_append_parent_queue ... ok [INFO] [stdout] test tests::permission_denial_can_trigger_replanning ... ok [INFO] [stdout] test tests::low_planner_budget_frontloads_timeout_recovery_into_single_queue ... ok [INFO] [stdout] test tests::resumed_natural_language_turn_consumes_context_summary ... ok [INFO] [stdout] test tests::resumed_status_check_without_active_queue_uses_memory_summary ... ok [INFO] [stdout] test tests::runtime_command_availability_matches_attached_deferred_cancel_availability ... ok [INFO] [stdout] test tests::runtime_command_availability_matches_attached_interrupt_availability ... ok [INFO] [stdout] test tests::runtime_command_availability_matches_attached_release_availability ... ok [INFO] [stdout] test tests::runtime_command_availability_matches_pending_approve_availability ... ok [INFO] [stdout] test tests::runtime_command_availability_matches_pending_deny_availability ... ok [INFO] [stdout] test tests::runtime_command_availability_matches_session_cancel_availability_when_available ... ok [INFO] [stdout] test tests::low_budget_status_follow_up_confirmation_resumes_queue_directly ... ok [INFO] [stdout] test tests::runtime_command_registry_exposes_attached_reconnect_deferred_cancel ... ok [INFO] [stdout] test tests::runtime_command_registry_exposes_builtin_cancel_command ... ok [INFO] [stdout] test tests::runtime_command_registry_exposes_pending_tool_approval_commands ... ok [INFO] [stdout] test tests::runtime_command_availability_matches_session_cancel_availability_when_completed ... ok [INFO] [stdout] test tests::runtime_rejects_permission_allowlist_tool_not_enabled_before_start ... ok [INFO] [stdout] test tests::runtime_rejects_permission_allowlist_tool_not_enabled_before_continue ... ok [INFO] [stdout] test tests::runtime_rejects_unknown_tool_allowlist_before_start ... ok [INFO] [stdout] test tests::runtime_rejects_unknown_tool_allowlist_before_continue ... ok [INFO] [stdout] test tests::same_process_control_action_attempt_matches_attached_blocked_states ... ok [INFO] [stdout] test tests::same_process_control_action_attempt_matches_attached_deferred_cancel_success_path ... ok [INFO] [stdout] test tests::runtime_turn_checkpoint_prevents_duplicate_finalize_checkpoint ... ok [INFO] [stdout] test tests::same_process_control_action_attempt_matches_attached_release_success_path ... ok [INFO] [stdout] test tests::same_process_control_action_attempt_matches_pending_approve_success_path ... ok [INFO] [stdout] test tests::same_process_control_action_attempt_matches_pending_blocked_states ... ok [INFO] [stdout] test tests::same_process_control_action_attempt_matches_attached_interrupt_success_path ... ok [INFO] [stdout] test tests::same_process_control_action_attempt_matches_session_attach_success_path ... ok [INFO] [stdout] test tests::same_process_control_action_attempt_matches_session_blocked_states ... ok [INFO] [stdout] test tests::same_process_control_action_attempt_matches_pending_deny_success_path ... ok [INFO] [stdout] test tests::same_process_control_action_availability_matches_attached_blocked_states ... ok [INFO] [stdout] test tests::same_process_control_action_availability_matches_attached_deferred_cancel_inspection ... ok [INFO] [stdout] test tests::same_process_control_action_attempt_matches_session_cancel_success_path ... ok [INFO] [stdout] test tests::same_process_control_action_availability_matches_attached_interrupt_inspection ... ok [INFO] [stdout] test tests::same_process_control_action_availability_matches_attached_reconnect_blocked_states ... ok [INFO] [stdout] test tests::same_process_control_action_availability_matches_attached_reconnect_inspection ... ok [INFO] [stdout] test tests::same_process_control_action_availability_matches_attached_release_inspection ... ok [INFO] [stdout] test tests::same_process_control_action_availability_matches_pending_approve_inspection ... ok [INFO] [stdout] test tests::same_process_control_action_availability_matches_blocked_states ... ok [INFO] [stdout] test tests::same_process_control_action_availability_matches_session_attach_inspection ... ok [INFO] [stdout] test tests::resume_context_carries_plan_control_kind_history ... ok [INFO] [stdout] test tests::same_process_control_action_availability_matches_pending_deny_inspection ... ok [INFO] [stdout] test tests::post_turn_hook_context_includes_worker_tool_metadata ... ok [INFO] [stdout] test tests::second_same_process_attach_reconnect_returns_explicit_ownership_conflict ... ok [INFO] [stdout] test tests::same_process_control_action_availability_matches_session_cancel_inspection ... ok [INFO] [stdout] test tests::second_cancel_via_session_id_reuses_existing_cancelled_result ... ok [INFO] [stdout] test tests::search_turn_can_schedule_follow_up_read ... ok [INFO] [stdout] test tests::serial_tool_batch_aborts_on_second_call_failure_and_keeps_first_call_replayable ... ok [INFO] [stdout] test tests::serial_tool_batch_still_triggers_worker_tool_post_turn_hook_policy ... ok [INFO] [stdout] test tests::serial_tool_batch_still_allows_search_follow_up_replanning ... ok [INFO] [stdout] test tests::session_cancel_resolution_lock_registry_cleans_up_after_success_and_error_paths ... ok [INFO] [stdout] test tests::session_control_action_attempt_blocks_ownership_conflict_attach ... ok [INFO] [stdout] test tests::serial_tool_batch_preserves_per_call_event_order_with_single_turn_completion ... ok [INFO] [stdout] test tests::session_control_action_attempt_matches_attach_reconnect_success_path ... ok [INFO] [stdout] test tests::session_control_action_attempt_blocks_waiting_terminal_and_terminal_states ... ok [INFO] [stdout] test tests::session_memory_packet_prefers_explicit_plan_control_confirmation_source ... ok [INFO] [stdout] test tests::session_memory_packet_reconstructs_resume_confirmation_source_history_from_plan_control ... ok [INFO] [stdout] test tests::session_memory_packet_reconstructs_resumed_append_state ... ok [INFO] [stdout] test tests::serial_tool_batch_cancelled_second_call_preserves_first_completion_and_second_cancel_lineage ... ok [INFO] [stdout] test tests::session_cancel_resolution_test_hooks_are_isolated_per_session ... ok [INFO] [stdout] test tests::session_control_action_attempt_matches_cancel_session_success_path ... ok [INFO] [stdout] test tests::session_resume_preserves_pending_approval_request_id_from_waiting_snapshot ... ok [INFO] [stdout] test tests::stale_attachable_handle_rechecks_current_boundary_before_claiming ... ok [INFO] [stdout] test tests::stale_generation_command_queue_does_not_leak_into_newer_generation ... ok [INFO] [stdout] test tests::stale_live_handle_cannot_interrupt_new_generation_with_same_session_id ... ok [INFO] [stdout] test tests::stale_live_handle_cannot_queue_deferred_cancel_for_newer_generation ... ok [INFO] [stdout] test tests::spawn_depth_limit_is_enforced ... ok [INFO] [stdout] test tests::stale_live_session_cancelled_handle_does_not_see_new_generation ... ok [INFO] [stdout] test tests::stale_live_session_unregister_keeps_new_generation_registered ... ok [INFO] [stdout] test tests::stale_live_interrupt_leaves_control_request_observation_unchanged ... ok [INFO] [stdout] test tests::stale_pending_tool_approval_handle_request_id_rejects_even_when_call_id_matches ... ok [INFO] [stdout] test tests::stale_pending_tool_call_approval_is_rejected ... ok [INFO] [stdout] test tests::resume_context_carries_preplanned_queue_provenance ... ok [INFO] [stdout] test tests::stale_reconnect_release_does_not_clear_newer_claim ... ok [INFO] [stdout] test tests::start_task_with_session_id_preserves_explicit_session_identity ... ok [INFO] [stdout] test tests::snapshot_backed_remote_control_request_lookup_survives_runtime_restart ... ok [INFO] [stdout] test tests::stale_pending_tool_call_request_id_approval_is_rejected ... ok [INFO] [stdout] test tests::static_permission_gate_allows_only_when_all_policy_layers_match ... ok [INFO] [stdout] test tests::static_permission_gate_requires_global_auto_allow ... ok [INFO] [stdout] test tests::static_permission_gate_requires_permission_allowlist_membership ... ok [INFO] [stdout] test tests::static_permission_gate_requires_tool_allowlist_membership ... ok [INFO] [stdout] test tests::stale_reconnect_interrupt_leaves_control_request_observation_unchanged ... ok [INFO] [stdout] test tests::strong_status_confirmation_blocks_repeated_stop_dominance_but_keeps_history_based_direct_resume ... ok [INFO] [stdout] test tests::snapshot_backed_remote_requests_survive_snapshot_rewrite_after_restart ... ok [INFO] [stdout] test tests::streaming_tool_stdout_chunks_are_persisted_before_completion ... ok [INFO] [stdout] test tests::timeout_is_reported ... ok [INFO] [stdout] test tests::tool_call_without_auto_allow_persists_waiting_for_approval ... ok [INFO] [stdout] test tests::start_task_with_session_id_rejects_existing_persisted_session ... ok [INFO] [stdout] test tests::resumed_natural_language_can_route_to_action_path ... ok [INFO] [stdout] test tests::planner_queue_can_execute_multiple_steps_without_replanning ... ok [INFO] [stdout] test tests::model_follow_up_append_is_recorded_in_queue_events ... ok [INFO] [stdout] test tests::weak_status_confirmation_requires_resume_provenance_history ... ok [INFO] [stdout] test tests::weak_status_resume_shortcut_policy_requires_planner_for_stop_aware_chains ... ok [INFO] [stdout] test tests::waiting_for_approval_is_not_live_but_is_visible_in_pending_approval_inspection ... ok [INFO] [stdout] test tests::worker_spawn_policy_can_disable_child_agents ... ok [INFO] [stdout] test tests::review_observation_can_trigger_replanning_when_critic_cannot_spawn ... ok [INFO] [stdout] test tests::resumed_status_check_skips_planner_route_and_uses_context_summary ... ok [INFO] [stdout] test tests::planner_queue_continues_after_model_step_without_replanning ... ok [INFO] [stdout] test tests::resumed_last_output_replay_treats_output_as_printf_data ... ok [INFO] [stdout] test tests::resume_context_carries_queue_aware_memory_packet ... ok [INFO] [stdout] test tests::resumed_plain_text_request_can_route_to_last_output_tool_plan ... ok [INFO] [stdout] test tests::start_task_with_session_id_rejects_live_session_collision ... ok [INFO] [stdout] test tests::tool_failure_can_trigger_replanning_when_critic_is_disabled ... ok [INFO] [stdout] test tests::tool_validation_failure_preserves_typed_error_kind_in_replanning ... ok [INFO] [stdout] test tests::what_next_status_check_does_not_resume_unfinished_queue_directly ... ok [INFO] [stdout] test tests::tool_timeout_can_trigger_replanning_when_critic_is_disabled ... ok [INFO] [stdout] test tests::tool_success_can_trigger_replanning_follow_up_turn ... ok [INFO] [stdout] test tests::non_preplanned_wrap_up_request_still_uses_planner_route ... ok [INFO] [stdout] test tests::resumed_new_request_still_uses_planner_instead_of_restoring_queue ... ok [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xagents_session-9404507d87f66477) [INFO] [stdout] test tests::timed_out_shell_process_does_not_keep_running ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 403 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 10.31s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 99 tests [INFO] [stdout] test tests::file_session_store_appends_existing_event_log ... ok [INFO] [stdout] test tests::file_session_store_creates_missing_state_root_on_write ... ok [INFO] [stdout] test tests::file_session_store_rejects_file_state_root ... ok [INFO] [stdout] test tests::file_session_store_rejects_symlink_state_files ... ok [INFO] [stdout] test tests::file_session_store_treats_index_file_placeholders_as_empty ... ok [INFO] [stdout] test tests::inspect_control_request_naturally_projects_cancelled_pending_overlap ... ok [INFO] [stdout] test tests::cross_session_recent_sort_prefers_newer_trace_timestamp ... ok [INFO] [stdout] test tests::planner_observation_description_includes_typed_tool_failure_fields ... ok [INFO] [stdout] test tests::planning_trace_nodes_expose_non_consuming_resumed_status_checks ... ok [INFO] [stdout] test tests::inspect_control_request_projects_snapshot_backed_approved_pending_resolution ... ok [INFO] [stdout] test tests::planning_trace_nodes_expose_observe_plan_execute_merge_sequence ... ok [INFO] [stdout] test tests::inspect_control_request_projects_cancelled_snapshot_into_resolved_summary ... ok [INFO] [stdout] test tests::planning_trace_nodes_expose_preplanned_coordinator_nodes ... ok [INFO] [stdout] test tests::planning_trace_nodes_expose_resume_queue_nodes ... ok [INFO] [stdout] test tests::planning_trace_nodes_expose_stop_aware_queue_outcomes ... ok [INFO] [stdout] test tests::planning_trace_nodes_expose_resumed_append_queue_nodes ... ok [INFO] [stdout] test tests::numbered_state_files_require_20_digit_json_names ... ok [INFO] [stdout] test tests::planning_trace_summaries_follow_recent_activity_order ... ok [INFO] [stdout] test tests::planning_trace_summary_captures_dominant_resume_stop_reason_from_resumed_observation ... ok [INFO] [stdout] test tests::planning_trace_summary_uses_frontloaded_confirmation_control_metadata ... ok [INFO] [stdout] test tests::planning_trace_summary_captures_stop_aware_outcome_from_queue_stop ... ok [INFO] [stdout] test tests::file_session_store_ignores_invalid_session_ids_from_indexes ... ok [INFO] [stdout] test tests::inspect_control_request_projects_denied_pending_resolution ... ok [INFO] [stdout] test tests::file_session_store_rejects_symlink_state_root ... ok [INFO] [stdout] test tests::pending_tool_approval_survives_compaction_active_window ... ok [INFO] [stdout] test tests::file_session_store_rejects_path_traversal_session_ids ... ok [INFO] [stdout] test tests::file_session_store_treats_missing_state_root_as_empty_on_read ... ok [INFO] [stdout] test tests::append_and_resume_round_trip ... ok [INFO] [stdout] test tests::resume_accepts_legacy_resumed_input_observation_without_typed_fields ... ok [INFO] [stdout] test tests::resume_accepts_legacy_coordinator_planned_without_non_consuming_resumed ... ok [INFO] [stdout] test tests::resume_accepts_legacy_resume_task_queue_without_resume_provenance ... ok [INFO] [stdout] test tests::resume_accepts_legacy_stop_task_queue_without_stop_reason ... ok [INFO] [stdout] test tests::resume_accepts_legacy_planner_decision_without_control_metadata ... ok [INFO] [stdout] test tests::resume_accepts_legacy_tool_failure_observation_without_typed_fields ... ok [INFO] [stdout] test tests::resume_accepts_legacy_compaction_without_memory_packet ... ok [INFO] [stdout] test tests::resume_context_drops_approved_tool_approval ... ok [INFO] [stdout] test tests::resume_context_drops_resolved_tool_approval ... ok [INFO] [stdout] test tests::resume_context_recovers_pending_tool_approval_from_event_log ... ok [INFO] [stdout] test tests::resume_falls_back_when_trace_summary_index_is_invalid ... ok [INFO] [stdout] test tests::resume_accepts_legacy_delegation_result_without_critic_notes ... ok [INFO] [stdout] test tests::resume_accepts_legacy_task_queue_without_resume_metadata ... ok [INFO] [stdout] test tests::inspect_control_request_falls_back_for_legacy_pending_snapshot_without_request_id ... ok [INFO] [stdout] test tests::resume_falls_back_when_trace_summary_index_is_missing ... ok [INFO] [stdout] test tests::resume_context_recovers_snapshot_pending_tool_approval_without_request_event ... ok [INFO] [stdout] test tests::resume_treats_event_file_placeholder_as_empty ... ok [INFO] [stdout] test tests::resume_accepts_legacy_compaction_with_nested_legacy_memory_packet ... ok [INFO] [stdout] test tests::resume_falls_back_when_trace_summary_index_is_not_file ... ok [INFO] [stdout] test tests::resume_context_does_not_restore_snapshot_pending_after_later_approval ... ok [INFO] [stdout] test tests::append_persists_trace_summary_index ... ok [INFO] [stdout] test tests::resume_treats_state_file_placeholders_as_absent ... ok [INFO] [stdout] test tests::search_supports_outcome_resume_stop_reason_resumed_append_state_grouping ... ok [INFO] [stdout] test tests::resume_ignores_non_state_snapshot_and_compaction_files ... ok [INFO] [stdout] test tests::search_supports_outcome_resume_stop_reason_dominant_pattern_grouping ... ok [INFO] [stdout] test tests::search_reports_stop_aware_outcome_aggregate_stats ... ok [INFO] [stdout] test tests::search_reports_resumed_append_aggregate_stats ... ok [INFO] [stdout] test tests::search_supports_outcome_resume_confirmation_source_resumed_append_state_grouping ... ok [INFO] [stdout] test tests::search_supports_path_outcome_resumed_append_state_grouping ... ok [INFO] [stdout] test tests::file_session_store_rewrites_snapshot_without_temp_sidecar ... ok [INFO] [stdout] test tests::search_supports_dominant_resume_stop_reason_grouping ... ok [INFO] [stdout] test tests::file_session_store_can_search_across_sessions ... ok [INFO] [stdout] test tests::search_supports_path_resume_confirmation_source_resumed_append_state_grouping ... ok [INFO] [stdout] test tests::resume_context_recovers_snapshot_pending_tool_approval_without_request_id ... ok [INFO] [stdout] test tests::search_supports_path_resume_stop_reason_resumed_append_state_grouping ... ok [INFO] [stdout] test tests::search_supports_path_outcome_resume_stop_reason_dominant_pattern_grouping ... ok [INFO] [stdout] test tests::search_supports_resume_confirmation_source_resumed_append_state_grouping ... ok [INFO] [stdout] test tests::search_supports_dominant_resume_confirmation_pattern_grouping ... ok [INFO] [stdout] test tests::search_supports_path_dominant_resume_confirmation_pattern_grouping ... ok [INFO] [stdout] test tests::search_supports_path_resume_confirmation_source_plan_control_kind_grouping ... ok [INFO] [stdout] test tests::session_record_groups_events_by_planning_trace ... ok [INFO] [stdout] test tests::search_supports_resume_stop_reason_dominant_pattern_grouping ... ok [INFO] [stdout] test tests::session_trace_query_filters_and_paginates ... ok [INFO] [stdout] test tests::session_trace_query_filters_and_sorts_by_planner_rounds_consumed ... ok [INFO] [stdout] test tests::session_trace_query_filters_and_sorts_by_non_consuming_resumed_count ... ok [INFO] [stdout] test tests::session_trace_query_filters_and_sorts_by_resumed_append_count ... ok [INFO] [stdout] test tests::session_trace_query_filters_and_sorts_by_status_answer_count ... ok [INFO] [stdout] test tests::session_trace_query_filters_by_dominant_resume_confirmation_pattern ... ok [INFO] [stdout] test tests::session_trace_query_filters_by_dominant_resume_stop_reason ... ok [INFO] [stdout] test tests::search_supports_resumed_append_state_grouping ... ok [INFO] [stdout] test tests::search_supports_stop_aware_outcome_grouping ... ok [INFO] [stdout] test tests::session_trace_query_filters_by_resume_confirmation_source ... ok [INFO] [stdout] test tests::session_trace_query_filters_and_sorts_by_plan_control_kind ... ok [INFO] [stdout] test tests::session_trace_query_filters_by_resume_provenance ... ok [INFO] [stdout] test tests::session_trace_query_respects_update_window ... ok [INFO] [stdout] test tests::session_trace_query_filters_by_resume_stop_reason ... ok [INFO] [stdout] test tests::trace_preview_text_truncates_utf8_safely ... ok [INFO] [stdout] test tests::storage_stem_accepts_only_valid_session_ids ... ok [INFO] [stdout] test tests::trace_event_description_includes_typed_tool_lifecycle_fields ... ok [INFO] [stdout] test tests::session_trace_query_sorts_by_stop_aware_outcome ... ok [INFO] [stdout] test tests::search_supports_resume_stop_reason_resumed_append_state_grouping ... ok [INFO] [stdout] test tests::search_supports_plan_control_kind_grouping ... ok [INFO] [stdout] test tests::search_supports_resume_confirmation_source_plan_control_kind_grouping ... ok [INFO] [stdout] test tests::search_supports_resume_stop_reason_grouping ... ok [INFO] [stdout] test tests::aggregate_stats_support_time_buckets_and_top_n ... ok [INFO] [stdout] test tests::search_supports_composite_plan_control_kind_grouping ... ok [INFO] [stdout] test tests::search_supports_outcome_resume_confirmation_source_plan_control_kind_grouping ... ok [INFO] [stdout] test tests::search_supports_outcome_dominant_resume_confirmation_pattern_grouping ... ok [INFO] [stdout] test tests::search_supports_compare_window_deltas ... ok [INFO] [stdout] test tests::search_supports_path_outcome_dominant_resume_confirmation_pattern_grouping ... ok [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xagents_tools-e302cbc56dac1b70) [INFO] [stdout] test tests::search_supports_three_way_plan_control_kind_grouping ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 99 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test tests::filesystem_rejects_empty_path_argument ... ok [INFO] [stdout] test tests::filesystem_rejects_missing_required_arguments ... ok [INFO] [stdout] test tests::search_rejects_absolute_paths_outside_working_dir ... ok [INFO] [stdout] test tests::filesystem_rejects_paths_outside_working_dir ... ok [INFO] [stdout] test tests::filesystem_rejects_unsupported_action_before_path_resolution ... ok [INFO] [stdout] test tests::search_rejects_empty_path_argument ... ok [INFO] [stdout] test tests::search_rejects_missing_or_empty_pattern_argument ... ok [INFO] [stdout] test tests::filesystem_read_returns_file_content ... ok [INFO] [stdout] test tests::filesystem_rejects_symlink_escape_from_working_dir ... ok [INFO] [stdout] test tests::tool_specs_express_executor_validation_contracts ... ok [INFO] [stdout] test tests::shell_tool_spec_is_not_auto_allowed ... ok [INFO] [stdout] test tests::tool_specs_only_mark_readonly_tools_auto_allowed ... ok [INFO] [stdout] test tests::shell_rejects_missing_command_argument ... ok [INFO] [stdout] test tests::shell_rejects_empty_command_argument ... ok [INFO] [stdout] test tests::shell_rejects_file_working_directory ... ok [INFO] [stdout] test tests::search_treats_dash_prefixed_pattern_as_data ... ok [INFO] [stdout] test tests::search_runs_from_canonical_working_directory ... ok [INFO] [stdout] test tests::search_reports_workspace_relative_paths ... ok [INFO] [stdout] test tests::shell_runs_from_canonical_working_directory ... ok [INFO] [stdout] test tests::shell_execute_streaming_preserves_split_utf8_stdout_chunks ... ok [INFO] [stdout] test tests::shell_execute_streaming_emits_stdout_before_completion ... ok [INFO] [stdout] test tests::shell_execute_streaming_drains_large_stderr_without_task_leak ... ok [INFO] [stdout] test tests::shell_process_is_killed_when_execution_future_is_dropped ... ok [INFO] [stdout] test tests::shell_execution_can_be_cancelled_by_context ... ok [INFO] [stderr] Doc-tests xagents_brains [INFO] [stdout] test tests::shell_streaming_execution_can_be_cancelled_by_context ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.31s [INFO] [stdout] [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] [stderr] Doc-tests xagents_core [INFO] [stderr] Doc-tests xagents_protocol [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] [stdout] [INFO] [stderr] Doc-tests xagents_runtime [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] [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] [stderr] Doc-tests xagents_session [INFO] [stderr] Doc-tests xagents_tools [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] [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" "831a89cd050abf1c777c47e735194d62d39190cba7d1a516f5eafa840c58a9f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "831a89cd050abf1c777c47e735194d62d39190cba7d1a516f5eafa840c58a9f1", kill_on_drop: false }` [INFO] [stdout] 831a89cd050abf1c777c47e735194d62d39190cba7d1a516f5eafa840c58a9f1