Files
DeepTutor/deeptutor/services/codex_auth
connectedGraph e64f5bdcd0 fix(codex-auth): resolve credentials to admin root for partner scopes (#713)
When chatting with a partner or executing subtasks under partner context, the system installs a synthetic user scope (e.g. partner_ada) and redirects PathService workspace root to data/partners/<id>/workspace.

As a result, _codex_user_root() resolved to the partner's virtual user root where no Codex credentials existed, immediately failing with:
Error calling Codex: Sign in to Codex before using this model.

Fix: Detect if the current user ID belongs to a synthetic partner (starts with PARTNER_USER_PREFIX) and resolve to the admin/owner's user root instead, allowing partners to inherit and use the owner's active Codex login token.

Closes #711
2026-07-27 20:54:41 +08:00
..
2026-07-26 23:19:09 +08:00
2026-07-26 23:19:09 +08:00