diff --git a/hive-agent/src/web_ui/stats.rs b/hive-agent/src/web_ui/stats.rs index 9a239e66..8bf59747 100644 --- a/hive-agent/src/web_ui/stats.rs +++ b/hive-agent/src/web_ui/stats.rs @@ -51,8 +51,7 @@ async fn fetch_reminder_stats( /// Connects to the in-agent harness socket (`HIVE_AGENT_SOCKET`) and calls /// `ListTodos`. Returns `{ "todos": [...] }` where each entry is a /// `LooseEnd::Todo` (subsystem, key, summary, source, `age_seconds`). Returns -/// an empty array when the socket is unavailable — best-effort, same -/// silent-failure contract as `/api/bash-tasks`. +/// an empty array when the socket is unavailable — best-effort, silent failure. pub(super) async fn api_todos() -> Response { use tokio::io::{AsyncBufReadExt as _, AsyncWriteExt as _, BufReader}; use tokio::net::UnixStream;