From a47282d9088ad081876dc976a5565c71272e5952 Mon Sep 17 00:00:00 2001 From: Sam & Claude Date: Sun, 28 Jun 2026 07:13:54 +0200 Subject: [PATCH] fix: cargo fmt on probe_capabilities call MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR #258 introduced a long line that cargo fmt wants reformatted. No functional change — just formatting. Sam & Claude --- crates/colibri-daemon/src/socket.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/crates/colibri-daemon/src/socket.rs b/crates/colibri-daemon/src/socket.rs index b2563b2..9da83de 100644 --- a/crates/colibri-daemon/src/socket.rs +++ b/crates/colibri-daemon/src/socket.rs @@ -648,9 +648,11 @@ pub async fn autospawn_agent_if_configured(state: &SharedState) { let caps = probe_capabilities(); match state.store.try_lock() { Ok(store) => { - if let Err(e) = - store.register_agent(aid, serde_json::to_value(&caps).unwrap_or_default(), Some(&hostname)) - { + if let Err(e) = store.register_agent( + aid, + serde_json::to_value(&caps).unwrap_or_default(), + Some(&hostname), + ) { warn!(agent_id = %aid, error = %e, "autospawn: failed to register agent in store"); } else { info!(agent_id = %aid, hostname = %hostname, capabilities = ?caps, "autospawn: agent registered for task work"); -- 2.45.3