From d0ac48299a00295aa8e504e2aa5334b1fadb06d9 Mon Sep 17 00:00:00 2001 From: iris Date: Wed, 22 Jul 2026 17:48:58 +0200 Subject: [PATCH] fix(#2632): drop stale /api/bash-tasks reference from api_todos doc --- hive-agent/src/web_ui/stats.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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;