fix(#2632): drop stale /api/bash-tasks reference from api_todos doc

This commit is contained in:
iris 2026-07-22 17:48:58 +02:00 committed by mara
commit d0ac48299a

View file

@ -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;