Files
buzz/mobile/lib/features/agents
morgmart c24b0f472e Open the new Bestie's chat after creating it (#8972)
Stacked on #8957 (Kenny's Bestie onboarding).

In #8957, tapping the empty Bestie slot opens Create agent, and saving a
first agent makes it Bestie, but you land back on home and need a second
tap to start talking. This takes you straight into the new Bestie's chat
once creation finishes, which matches where the group DM landed: pick a
name and avatar first, then you're chatting with it.

- Creating a first agent from the empty slot opens its chat.
- Cancelling, or creating an agent that doesn't become Bestie (you
already own others), still returns home as before.
- The slot stays disabled while the create flow is open, so a double tap
during the account check can't open it twice.
- Opening an existing Bestie is unchanged; that code just moved into a
shared step.

Validation: new widget test covers both the create and cancel paths, and
it fails without the change. The mobile widget tests touched by the
launcher pass (508), and `flutter analyze` is clean on the changed
files.

Not yet checked: creating an agent on a real device. #8957's recording
also stops before submit, so the real create → chat handoff (including
how long the new agent takes to appear) still needs a device run.

---------

Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
Signed-off-by: kenny lopez <klopez4212@gmail.com>
Signed-off-by: Tom Brow <tomb@squareup.com>
Co-authored-by: Carl <carl@agents.local>
Co-authored-by: kenny lopez <klopez4212@gmail.com>
Co-authored-by: Terp <5856f6900e8e0a4e0ea1f4f8d2ee33e4753d2119bc122f94ecafc660b46c0511@buzz.block.builderlab.xyz>
Co-authored-by: Tom Brow <tomb@squareup.com>
Co-authored-by: Morgarita <6e967af659416160ab4f2fd56d74c8c6f273791ee7bfc9468a1be37c387947be@buzz.block.builderlab.xyz>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 12:59:20 -08:00
..