From da8a711a60ca0d77b7169c4228fbcd893462feab Mon Sep 17 00:00:00 2001 From: damocles Date: Thu, 21 May 2026 22:24:37 +0200 Subject: [PATCH] forge_notify: explicit open/empty state, unknown states show raw value --- hive-ag3nt/src/forge_notify.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hive-ag3nt/src/forge_notify.rs b/hive-ag3nt/src/forge_notify.rs index 790c204..2a97547 100644 --- a/hive-ag3nt/src/forge_notify.rs +++ b/hive-ag3nt/src/forge_notify.rs @@ -195,7 +195,8 @@ async fn format_notification( let kind = match notif_state { "merged" => format!("{label} merged"), "closed" => format!("{label} closed"), - _ => format!("new {label}"), + "open" | "" => format!("new {label}"), + other => format!("{label}: {other}"), }; // Fetch subject only for body/author on new (open) items — not