Users
User listing and per-user tasks
List users (for assignment pickers and member management)
List users (for assignment pickers and member management). Pass `?email=<exact-match>` to look up a single user by email — used by the MCP / `pt` CLI assignee resolver to translate the INF-125 agent-claim convention email (`agent+<class>@constellation.local`) into a UUID. **Both modes are tenant-scoped to the caller’s active organisation; cross-tenant matches are never returned.** Membership is not required: the listing is keyed on `identity.users.tenant_id`, not on `user_tenant_memberships`, so it returns synthetic agent users whether or not they hold a membership row (customer tenants carry none; the dogfood tenant keeps deliberate org-scoped ones — DIR-69). That is why the assignee resolver reads this endpoint rather than the membership-scoped `/api/people`. Note the listing is not filtered by status, so soft-deleted and suspended users still appear (the `?email=` lookup does filter them).
List tasks assigned to a specific user within the active organisation
List tasks assigned to a specific user within the active organisation. Guest members only see tasks on projects they collaborate on. Returns 404 if the target user is not visible to the requester.