From 8fe0725e1da6d6cdadcc5ccec7770b1af6d0e188 Mon Sep 17 00:00:00 2001 From: iris Date: Wed, 20 May 2026 13:14:27 +0200 Subject: [PATCH] fix: handle ReminderRollup in agent/manager response patterns Add the ReminderRollup variant to exhaustive pattern matches in both hive-ag3nt and hive-m1nd binaries. --- hive-ag3nt/src/bin/hive-ag3nt.rs | 1 + hive-ag3nt/src/bin/hive-m1nd.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/hive-ag3nt/src/bin/hive-ag3nt.rs b/hive-ag3nt/src/bin/hive-ag3nt.rs index 18c5e96..0b1cf10 100644 --- a/hive-ag3nt/src/bin/hive-ag3nt.rs +++ b/hive-ag3nt/src/bin/hive-ag3nt.rs @@ -271,6 +271,7 @@ async fn serve( | AgentResponse::QuestionQueued { .. } | AgentResponse::LooseEnds { .. } | AgentResponse::PendingRemindersCount { .. } + | AgentResponse::ReminderRollup { .. } | AgentResponse::Whoami { .. }, ) => { tracing::warn!("recv produced unexpected response kind"); diff --git a/hive-ag3nt/src/bin/hive-m1nd.rs b/hive-ag3nt/src/bin/hive-m1nd.rs index 8037ee8..213b050 100644 --- a/hive-ag3nt/src/bin/hive-m1nd.rs +++ b/hive-ag3nt/src/bin/hive-m1nd.rs @@ -229,6 +229,7 @@ async fn serve( | ManagerResponse::Logs { .. } | ManagerResponse::LooseEnds { .. } | ManagerResponse::PendingRemindersCount { .. } + | ManagerResponse::ReminderRollup { .. } | ManagerResponse::Whoami { .. }, ) => { tracing::warn!("recv produced unexpected response kind");