fix(mobile): stand the Live Activity's Done row where the working row stands

DA
22m ago
+14-17

On the Lock Screen, once no agent works, "āœ“ Done" and "āœ‰ N need you" were drawn as one group centered across the activity. Dean asked for Done to line up with the working state's "3 working … 1 needs you" and stay vertically centered.

What changed

  • ActivityContentView (apps/mobile/live-activity/AgentsLiveActivity.swift) now draws a single VStack with the working state's own header HStack { CountLabel; Spacer; WaitingLabel } in both states. Only AgentList is conditional on running > 0. The done mark therefore stands at the count's leading edge and the asks at their trailing edge, and the even .padding(16) centers the lone row vertically, as before. No offsets.
  • The expanded Dynamic Island's Done header is unchanged and keeps its center region. DoneHeader's doc now says it is the island's.
  • The file header's sentence saying Done is "centered then" was rewritten. #11036 rewrites the same paragraph; its agent agreed to restack onto this one if it lands later.
  • The fixture's Done state (-liveActivity done, src/live-activity/use-live-activity.ts) now keeps the working fixture's one ask waiting, so a Done shot shows both labels. No flow launches done today.

Testing

  • No tests were added or run locally. This is layout in a widget extension, which no vitest test reaches, and this sandbox has no Xcode. CI runs the Linux checks.
  • Before merge: a Mac native build through the Mac queue, with the iOS 26 symbol audit, and Lock Screen before/after shots (Done light and dark, with a Working frame beside them) for Dean. Please don't merge until then.

šŸ¤– Generated with Claude Code

Summary by CodeRabbit

  • Style
    • The completed Lock Screen activity now uses a header layout consistent with the working state, keeping the completion indicator, count, and waiting status aligned.
    • Spacing remains consistent when no agents are running, and the agent list is shown only when there are active agents.