Skip to content

feat(hire): carry the persona into the where-step - #1459

Merged
lilyshen0722 merged 1 commit into
mainfrom
feat/persona-carrythrough
Sep 1, 2026
Merged

lilyshen0722 merged 1 commit into
mainfrom
feat/persona-carrythrough

Conversation

@lilyshen0722

Copy link
Copy Markdown
Contributor

Sam's critique (2026-09-01): "+ Hire an agent" (persona catalog) and "Add a computer" both landed on /v2/agents/byo with the persona silently dropped at the handoff — V2PersonaCatalog navigated with no state, and the page rendered the identical generic form either way.

Now:

  • Catalog CTA hands over ?persona=<key>.
  • The where-step renders a persona context card — avatar, name · role, one-liner, and a Change action back to the catalog (byo-persona-context).
  • Agent name seeds from the persona (sam-scout), displayName becomes the persona's proper name, and the install request records config.persona so the choice survives server-side (true preset binding is the ADR-022 Phase-2 where-step; preset ids don't map to persona keys today).
  • The bare entry ("Add a computer") says plainly no colleague was picked, with a Browse colleagues link — the two CTAs no longer read as one flow.
  • Unknown persona key falls back to the bare entry.

Tests: 3 new (context card + name seeding, bare-entry honesty, unknown-key fallback); the 4 hosted-flow tests and layout invariants stay green. Real-browser pass after deploy (new CSS block).

🤖 Generated with Claude Code

https://claude.ai/code/session_01PTfziSyx2DzuwmibZHHY4s

Sam (2026-09-01): 'Hire an agent' and 'Add a computer' converged on the
same page with no indication of what persona was picked and why. The
catalog CTA now hands the choice over (?persona=<key>); the where-step
shows a context card (avatar, name, role, one-liner, Change), seeds the
agent name from the persona, records config.persona on the install, and
uses the persona's proper name as the displayName. The bare entry says
plainly that no colleague was picked and links back to the catalog —
the two header CTAs no longer read as the same flow.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01PTfziSyx2DzuwmibZHHY4s
@lilyshen0722
lilyshen0722 merged commit 712c9eb into main Sep 1, 2026
11 checks passed
@lilyshen0722
lilyshen0722 deleted the feat/persona-carrythrough branch September 1, 2026 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant