Files
DeepTutor/deeptutor/services
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-24 03:06:58 +08:00
2026-06-17 00:56:27 +08:00
2026-07-24 03:06:58 +08:00
2026-06-11 20:03:34 +08:00
2026-05-08 02:36:24 +08:00
2026-07-04 16:40:08 +08:00
2026-06-17 00:56:27 +08:00
2026-06-11 20:03:34 +08:00
2026-07-24 18:16:04 +08:00
2026-06-18 00:22:48 +08:00
2026-06-11 20:03:34 +08:00
2026-07-24 03:06:58 +08:00
2026-06-17 00:56:27 +08:00
2026-06-18 00:22:48 +08:00
2026-06-17 00:56:27 +08:00