{"record":{"id":"ec6ae34894ef9ca3","repo":"zeroclaw-labs/zeroclaw","slug":"acp-server-requires-the-channel-acp-server-featu","errorCode":null,"errorMessage":"ACP server requires the `channel-acp-server` feature","messagePattern":"ACP server requires the `channel-acp-server` feature","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"src/main.rs","lineNumber":3933,"sourceCode":"                                .with_outcome(::zeroclaw_log::EventOutcome::Unknown)\n                                .with_attrs(::serde_json::json!({\"error\": e.to_string()})),\n                                \"Failed to open ACP session store\"\n                            );\n                        })\n                        .ok();\n                let server = if let Some(store) = store {\n                    std::sync::Arc::new(channels::acp_server::AcpServer::new_with_store(\n                        config, acp_config, store,\n                    ))\n                } else {\n                    std::sync::Arc::new(channels::acp_server::AcpServer::new(config, acp_config))\n                };\n                server.run().await\n            }\n            #[cfg(not(feature = \"channel-acp-server\"))]\n            {\n                let _ = (max_sessions, session_timeout);\n                anyhow::bail!(\"ACP server requires the `channel-acp-server` feature\")\n            }\n        }\n\n        Commands::Gateway { gateway_command } => {\n            match gateway_command {\n                Some(zeroclaw::GatewayCommands::Restart {\n                    port,\n                    host,\n                    allow_degraded_security,\n                }) => {\n                    let _nag = gate_security_posture(&config, allow_degraded_security)?;\n                    let (port, host) = resolve_gateway_addr(&config, port, host);\n                    let addr = format!(\"{host}:{port}\");\n                    ::zeroclaw_log::record!(\n                        INFO,\n                        ::zeroclaw_log::Event::new(module_path!(), ::zeroclaw_log::Action::Note)\n                            .with_attrs(::serde_json::json!({\"addr\": addr})),\n                        \"🔄 Restarting ZeroClaw Gateway on\"","sourceCodeStart":3915,"sourceCodeEnd":3951,"githubUrl":"https://github.com/zeroclaw-labs/zeroclaw/blob/88bb9c8533fc57ed7a03e36ca7c9ed2bf8336dcc/src/main.rs#L3915-L3951","documentation":"Error \"ACP server requires the `channel-acp-server` feature\" thrown in zeroclaw-labs/zeroclaw.","triggerScenarios":"Thrown at src/main.rs:3933 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Rebuild with the channel-acp-server feature: `cargo build --release --features channel-acp-server`.","Use a build that includes the ACP server channel feature."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"88bb9c8533fc57ed7a03e36ca7c9ed2bf8336dcc","analyzedAt":"2026-08-23T01:07:41.857Z","schemaVersion":2},"datasetVersion":"2026-08-23T08:06:27.607Z"}