From c7d31346e05b7e2863a59cb48e4c476d15c5a728 Mon Sep 17 00:00:00 2001 From: dotta Date: Wed, 18 Mar 2026 07:08:19 -0500 Subject: [PATCH] Add instructions tab to sidebar tab preservation list The agent instructions tab was renamed from "prompts" to "instructions" in 6b355e1, but the sidebar valid tabs set was not updated to include the new name, causing tab preservation to fall back to dashboard. Co-Authored-By: Paperclip Co-Authored-By: Claude Opus 4.6 --- ui/src/components/SidebarAgents.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/SidebarAgents.tsx b/ui/src/components/SidebarAgents.tsx index 0b34f3a0..4931eea7 100644 --- a/ui/src/components/SidebarAgents.tsx +++ b/ui/src/components/SidebarAgents.tsx @@ -79,7 +79,7 @@ export function SidebarAgents() { const activeTab = agentMatch?.[2] ?? null; // Valid agent detail tabs — preserve across agent switches - const validTabs = new Set(["dashboard", "prompts", "skills", "configuration", "configure", "budget", "runs"]); + const validTabs = new Set(["dashboard", "instructions", "prompts", "skills", "configuration", "configure", "budget", "runs"]); return (