diff --git a/packages/views/common/task-transcript/agent-transcript-dialog.tsx b/packages/views/common/task-transcript/agent-transcript-dialog.tsx index 390dbcbaf..7a6351394 100644 --- a/packages/views/common/task-transcript/agent-transcript-dialog.tsx +++ b/packages/views/common/task-transcript/agent-transcript-dialog.tsx @@ -516,34 +516,39 @@ export function AgentTranscriptDialog({ (status anchors the left), who ran it, why it exists (trigger), and who's accountable. All diagnostics move to the โ“˜ popover. */}
-
+
{statusBadge} -
-
- {task.agent_id ? ( - - ) : ( -
- -
- )} - - {agentName || agentInfo?.name || ""} - -
- {/* Why this run exists: the trigger mechanism plus the - accountable human who's answerable for what the agent did. */} - {triggerLabel} + {/* Primary identity: the agent that ran this. It is the one + foreground entity โ€” avatar + medium weight. */} +
+ {task.agent_id ? ( + + ) : ( +
+ +
+ )} + + {agentName || agentInfo?.name || ""} + +
+ {/* Provenance, one muted secondary unit set apart from the agent: + who triggered the run and how โ€” reads as " ยท ", + not three peer entities. The person's avatar is dropped here so + two same-size faces don't read as two agents. */} +
{hasTriggeredBy && ( <> - + )} + {triggerLabel}
diff --git a/packages/views/issues/components/attribution-badge.tsx b/packages/views/issues/components/attribution-badge.tsx index 470316bbd..2e94cb651 100644 --- a/packages/views/issues/components/attribution-badge.tsx +++ b/packages/views/issues/components/attribution-badge.tsx @@ -49,10 +49,14 @@ export function AttributionBadge({ attribution, className, variant = "badge", + hideAvatar = false, }: { attribution?: TaskAttribution; className?: string; variant?: "badge" | "avatar" | "inline"; + /** Inline variant only: render the name without the avatar, so it does not + * compete with a nearby primary avatar (the transcript identity row). */ + hideAvatar?: boolean; }) { const { t } = useT("issues"); if (!attribution) return null; @@ -124,13 +128,15 @@ export function AttributionBadge({ className )} > - + {!hideAvatar && ( + + )} {name} }