diff --git a/frontend/src/app/boards/[boardId]/page.tsx b/frontend/src/app/boards/[boardId]/page.tsx
index c697c649..ea364a03 100644
--- a/frontend/src/app/boards/[boardId]/page.tsx
+++ b/frontend/src/app/boards/[boardId]/page.tsx
@@ -1158,11 +1158,18 @@ export default function BoardDetailPage() {
return emoji ?? agentInitials(agent);
};
- const agentStatusLabel = (agent: Agent) => {
- if (workingAgentIds.has(agent.id)) return "Working";
- if (agent.status === "online") return "Active";
- if (agent.status === "provisioning") return "Provisioning";
- return "Offline";
+ const agentRoleLabel = (agent: Agent) => {
+ // Prefer the configured identity role from the API.
+ if (agent.identity_profile && typeof agent.identity_profile === "object") {
+ const rawRole = (agent.identity_profile as Record
- {agentStatusLabel(agent)} + {agentRoleLabel(agent)}