From 42874356968c5b9593d0d65a3c941b0c17409427 Mon Sep 17 00:00:00 2001 From: damocles Date: Mon, 20 Jul 2026 18:24:06 +0200 Subject: [PATCH] chore(#2038): scope observe_mcp_health to pub(crate) per review --- hive-agent/src/events.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hive-agent/src/events.rs b/hive-agent/src/events.rs index 0b50c828..1d2538ec 100644 --- a/hive-agent/src/events.rs +++ b/hive-agent/src/events.rs @@ -680,7 +680,7 @@ impl Bus { /// after a core bounce) went silent. Emitted every degraded turn on /// purpose: whether it persists across fresh turns is the signal that /// picks the real fix. - pub fn observe_mcp_health(&self, v: &serde_json::Value) { + pub(crate) fn observe_mcp_health(&self, v: &serde_json::Value) { if v.get("type").and_then(|t| t.as_str()) != Some("system") || v.get("subtype").and_then(|s| s.as_str()) != Some("init") {