) : null}
>
@@ -1201,336 +1202,348 @@ export const MemberCard = memo(function MemberCard({
) : null}
+
+ {showLaunchBadge ? (
+
-
- {renderLinkifiedText(launchFailureReason, {
- linkClassName: 'underline underline-offset-2 hover:text-red-200',
- stopPropagation: true,
- getLinkLabel: getLaunchFailureLinkLabel,
- })}
-
+ {launchVisualState === 'starting_stale' ? (
+
+ ) : (
+
+ )}
+
+ {launchBadgeLabel}
+
+ {canRelaunchOpenCode ? (
+
+
+
+ {retryingLaunch ? (
+
+ ) : (
+
+ )}
+
+
+
+ {retryLaunchError ??
+ (retryingLaunch ? restartActionBusyLabel : restartActionIdleLabel)}
+
+
+ ) : null}
+
+ ) : showFailedLaunchBadge ? (
+
+
+
+
+
+
+ {displayPresenceLabel}
+
+
+
+ {spawnError ?? 'Spawn failed'}
+
+ {showCopyDiagnostics ? (
+
+ ) : null}
+ {canSkipFailedLaunch ? (
+
+
+
+ {skippingLaunch ? (
+
+ ) : (
+
+ )}
+
+
+
+ {skipLaunchError ??
+ (skippingLaunch ? 'Skipping teammate...' : 'Skip for this launch')}
+
+
+ ) : null}
+ {canRetryLaunch ? (
+
+
+
+ {retryingLaunch ? (
+
+ ) : (
+
+ )}
+
+
+
+ {retryLaunchError ??
+ (retryingLaunch ? `${restartActionBusyLabel}...` : restartActionIdleLabel)}
+
+
+ ) : null}
+
+ ) : showSkippedLaunchBadge ? (
+
+
+
+
+
+
+ {displayPresenceLabel}
+
+
+
+
+ {spawnEntry?.skipReason ?? 'Skipped for this launch'}
+
+
+ {canRetryLaunch ? (
+
+
+
+ {retryingLaunch ? (
+
+ ) : (
+
+ )}
+
+
+
+ {retryLaunchError ??
+ (retryingLaunch ? `${restartActionBusyLabel}...` : restartActionIdleLabel)}
+
+
+ ) : null}
+
+ ) : showRuntimeAdvisoryBadge ? (
+
+
+
+
+
+
+ {runtimeAdvisoryLabel}
+
+
+
+
+ {runtimeAdvisoryTitle ?? runtimeAdvisoryLabel}
+
+
+ {canRelaunchRuntimeAdvisoryOpenCode ? (
+
+
+
+ {retryingLaunch ? (
+
+ ) : (
+
+ )}
+
+
+
+ {retryLaunchError ??
+ (retryingLaunch ? `${restartActionBusyLabel}...` : restartActionIdleLabel)}
+
+
+ ) : null}
+ {showRuntimeAdvisoryDiagnostics ? (
+
+ ) : null}
+
+ ) : !activityTask ? (
+
+ {isRemoved ? 'removed' : displayPresenceLabel}
+
+ ) : null}
+ {showStartingSkeleton ? (
+
+ ) : (
+
0 ? `${completed}/${totalTasks} completed` : undefined}
+ >
+
+ {member.taskCount} {member.taskCount === 1 ? 'task' : 'tasks'}
+
+ {totalTasks > 0 && (
+
+ )}
+ {/* NOTE: lead context bar disabled — usage formula is inaccurate */}
+
+ )}
+ {!isRemoved && (
+
+
+
+ {
+ e.stopPropagation();
+ onSendMessage?.();
+ }}
+ >
+
+
+
+ Send message
+
+
+
+ {
+ e.stopPropagation();
+ onAssignTask?.();
+ }}
+ >
+
+
+
+ Assign task
+
+
+ )}
+ {canRestoreMember ? (
+
+
+
+ {restoringMember ? (
+
+ ) : (
+
+ )}
+
+
+
+ {restoreMemberError ?? (restoringMember ? 'Restoring teammate...' : 'Restore')}
+
+
) : null}
- {showLaunchBadge ? (
-
- {launchVisualState === 'starting_stale' ? (
-
- ) : (
-
- )}
-
- {launchBadgeLabel}
-
- {canRelaunchOpenCode ? (
-
-
-
- {retryingLaunch ? (
-
- ) : (
-
- )}
-
-
-
- {retryLaunchError ??
- (retryingLaunch ? restartActionBusyLabel : restartActionIdleLabel)}
-
-
- ) : null}
-
- ) : showFailedLaunchBadge ? (
-
-
-
-
-
-
- {displayPresenceLabel}
-
-
-
- {spawnError ?? 'Spawn failed'}
-
- {showCopyDiagnostics ? (
-
- ) : null}
- {canSkipFailedLaunch ? (
-
-
-
- {skippingLaunch ? (
-
- ) : (
-
- )}
-
-
-
- {skipLaunchError ??
- (skippingLaunch ? 'Skipping teammate...' : 'Skip for this launch')}
-
-
- ) : null}
- {canRetryLaunch ? (
-
-
-
- {retryingLaunch ? (
-
- ) : (
-
- )}
-
-
-
- {retryLaunchError ??
- (retryingLaunch ? `${restartActionBusyLabel}...` : restartActionIdleLabel)}
-
-
- ) : null}
-
- ) : showSkippedLaunchBadge ? (
-
-
-
-
-
-
- {displayPresenceLabel}
-
-
-
-
- {spawnEntry?.skipReason ?? 'Skipped for this launch'}
-
-
- {canRetryLaunch ? (
-
-
-
- {retryingLaunch ? (
-
- ) : (
-
- )}
-
-
-
- {retryLaunchError ??
- (retryingLaunch ? `${restartActionBusyLabel}...` : restartActionIdleLabel)}
-
-
- ) : null}
-
- ) : showRuntimeAdvisoryBadge ? (
-
-
-
-
-
-
- {runtimeAdvisoryLabel}
-
-
-
-
- {runtimeAdvisoryTitle ?? runtimeAdvisoryLabel}
-
-
- {canRelaunchRuntimeAdvisoryOpenCode ? (
-
-
-
- {retryingLaunch ? (
-
- ) : (
-
- )}
-
-
-
- {retryLaunchError ??
- (retryingLaunch ? `${restartActionBusyLabel}...` : restartActionIdleLabel)}
-
-
- ) : null}
- {showRuntimeAdvisoryDiagnostics ? (
-
- ) : null}
-
- ) : !activityTask ? (
-
- {isRemoved ? 'removed' : displayPresenceLabel}
-
- ) : null}
- {showStartingSkeleton ? (
-
- ) : (
+ {launchFailureReason ? (
0 ? `${completed}/${totalTasks} completed` : undefined}
+ data-testid="member-launch-failure-reason"
+ className="col-span-2 col-start-2 min-w-0 whitespace-pre-wrap break-words text-[10px] font-medium leading-snug text-red-300/90"
+ title={rawLaunchFailureReason}
>
-
- {member.taskCount} {member.taskCount === 1 ? 'task' : 'tasks'}
-
- {totalTasks > 0 && (
-
- )}
- {/* NOTE: lead context bar disabled — usage formula is inaccurate */}
+
+ {renderLinkifiedText(launchFailureReason, {
+ linkClassName: 'underline underline-offset-2 hover:text-red-200',
+ stopPropagation: true,
+ getLinkLabel: getLaunchFailureLinkLabel,
+ })}
+
- )}
- {!isRemoved && (
-
-
-
- {
- e.stopPropagation();
- onSendMessage?.();
- }}
- >
-
-
-
- Send message
-
-
-
- {
- e.stopPropagation();
- onAssignTask?.();
- }}
- >
-
-
-
- Assign task
-
-
- )}
- {canRestoreMember ? (
-
-
-
- {restoringMember ? (
-
- ) : (
-
- )}
-
-
-
- {restoreMemberError ?? (restoringMember ? 'Restoring teammate...' : 'Restore')}
-
-
) : null}