diff --git a/apps/fabro-web/app/components/stage-insights-sidebar.tsx b/apps/fabro-web/app/components/stage-insights-sidebar.tsx
index 91ad60cd1..71ffa5094 100644
--- a/apps/fabro-web/app/components/stage-insights-sidebar.tsx
+++ b/apps/fabro-web/app/components/stage-insights-sidebar.tsx
@@ -104,16 +104,18 @@ export function StageInsightsSidebar({ stage, contextWindow }: StageInsightsSide
-
-
-
+ {todoStats.total > 0 && (
+
+
+
+ )}
@@ -535,9 +537,12 @@ function McpSection({ servers }: { servers: McpServerProjection[] }) {
function PermissionBadge({ level, collapsed }: { level: PermissionLevel | null; collapsed: boolean }) {
const { Icon, label, color, title } = permissionVisual(level);
if (collapsed) {
+ // Collapsed footer is a static affordance, not a danger signal —
+ // always use the neutral lock so a "Full access" stage doesn't
+ // splash red in the corner of the page.
return (
-
+
);
}
@@ -559,12 +564,15 @@ function permissionVisual(level: PermissionLevel | null): {
title: string;
} {
switch (level) {
+ // Permission badges are informational, not warning signals. The icon
+ // shape (lock / pencil / bolt) carries the level distinction; colors
+ // stay in the neutral foreground palette so no level looks alarming.
case PermissionLevel.READ_ONLY:
return { Icon: LockClosedIcon, color: "text-fg-3", label: "Read-only", title: "Agent can read but not modify files or run commands" };
case PermissionLevel.READ_WRITE:
- return { Icon: PencilSquareIcon, color: "text-amber", label: "Read/write", title: "Agent can read and modify files" };
+ return { Icon: PencilSquareIcon, color: "text-fg-2", label: "Read/write", title: "Agent can read and modify files" };
case PermissionLevel.FULL:
- return { Icon: BoltIcon, color: "text-coral", label: "Full access", title: "Agent can read, modify files, and run commands" };
+ return { Icon: BoltIcon, color: "text-fg-2", label: "Full access", title: "Agent can read, modify files, and run commands" };
case null:
default:
return { Icon: LockClosedIcon, color: "text-fg-muted", label: "Unknown", title: "Permission level not yet reported" };