PEP-178: под каким аккаунтом подписка — почта рядом с названием #169

Merged
peppa-bot merged 0 commits from refs/pull/169/head into main 2026-11-16 18:35:00 +00:00
peppa-bot commented 2026-11-16 16:26:53 +00:00 (Migrated from git.telecom.quest)

PM 16.11: «Claude — asel» and «Claude 2 — asel» — which one is which login?

Claude's setup-token only has the user:inference scope: the profile API answers 403, so Peppa cannot learn the account by itself.

  • Account e-mail per subscription (subscription.account:<id> in settings, accountEmail on the subscription and pool rows; hidden from non-admins for others' subscriptions, PEP-121).
  • ChatGPT: the e-mail comes from the sign-in itself (id_token in the subscription's auth.json); already signed-in ones are filled in when «Подписки» opens (backfillCodexAccounts).
  • Claude: optional «Почта аккаунта Claude» next to the code — in the project wizard and on «Подписки»; and «Изменить» on every subscription row for the superadmin (name + account e-mail).
  • Shown next to the name: «Claude — asel · asel-main@example.com».
  • Stacked on PEP-177 (PR #168). Tests in subscriptions.test.ts; checked on a database copy in the browser.

🤖 Generated with Claude Code

PM 16.11: «Claude — asel» and «Claude 2 — asel» — which one is which login? Claude's setup-token only has the `user:inference` scope: the profile API answers 403, so Peppa cannot learn the account by itself. - Account e-mail per subscription (`subscription.account:<id>` in settings, `accountEmail` on the subscription and pool rows; hidden from non-admins for others' subscriptions, PEP-121). - ChatGPT: the e-mail comes from the sign-in itself (id_token in the subscription's `auth.json`); already signed-in ones are filled in when «Подписки» opens (`backfillCodexAccounts`). - Claude: optional «Почта аккаунта Claude» next to the code — in the project wizard and on «Подписки»; and «Изменить» on every subscription row for the superadmin (name + account e-mail). - Shown next to the name: «Claude — asel · asel-main@example.com». - Stacked on PEP-177 (PR #168). Tests in `subscriptions.test.ts`; checked on a database copy in the browser. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: peppa-bot/peppa#169
No description provided.