Luis Pater
514d09f746
feat(codex): guide recovery when automatic credential renewal becomes impossible
- Classify terminal Codex refresh grant failures (`refresh_token_reused`, `refresh_token_expired`, `refresh_token_invalidated`, `token_revoked`, `invalid_client`, `invalid_grant`, and HTTP 401) as non-retryable, track rejected outer and SIWC refresh tokens independently, and defer retry checks until `access_token` expiry while keeping valid access tokens available for inference.
- Expose structured renewal states, recovery stages, sanitized refresh diagnostics, targeted account-matching OAuth re-authentication (`POST /v8/management/oauth/auth-url`), and pinned inference verification (`POST /v8/management/credentials/verify`) across Management API v8 and the TUI.
- Add unit and workflow regression tests covering terminal vs. transient refresh handling, per-partition SIWC/outer isolation, incomplete stream rejection, quota cooldown preservation, and secret redaction.
Closes: #5783
2026-10-30 07:06:33 +08:00
..
2026-10-29 23:25:54 +08:00
2026-10-29 19:29:28 +08:00
2026-10-29 12:32:47 +08:00
2026-10-25 22:45:00 +08:00
2026-10-29 14:44:33 +08:00
2026-10-27 10:24:02 +08:00
2026-10-20 18:46:02 +08:00
2026-10-20 18:46:02 +08:00
2026-10-20 18:46:02 +08:00
2026-10-20 18:46:02 +08:00
2026-10-29 14:44:33 +08:00
2026-10-29 14:44:33 +08:00
2026-10-26 18:40:53 +08:00
2026-10-26 20:36:51 +08:00
2026-10-29 14:44:33 +08:00
2026-10-26 20:36:51 +08:00
2026-10-26 23:33:12 +08:00
2026-10-25 02:10:05 +08:00
2026-10-26 20:36:51 +08:00
2026-10-26 20:36:51 +08:00
2026-10-24 20:42:16 +08:00
2026-10-20 18:46:02 +08:00
2026-10-21 08:44:10 +08:00
2026-10-21 08:44:10 +08:00
2026-10-19 22:07:14 +08:00
2026-10-29 15:57:38 +08:00
2026-10-26 10:09:56 +08:00
2026-10-22 17:21:21 +08:00
2026-10-29 14:39:43 +08:00
2026-10-29 14:39:43 +08:00
2026-10-26 15:58:41 +08:00
2026-10-26 20:36:51 +08:00
2026-10-21 00:23:55 +08:00
2026-10-26 15:58:41 +08:00
2026-10-19 12:59:13 +08:00
2026-10-26 20:36:51 +08:00
2026-10-26 20:36:51 +08:00
2026-10-18 20:57:01 +08:00
2026-10-23 08:09:28 +08:00
2026-10-30 07:06:33 +08:00
2026-10-26 10:09:56 +08:00
2026-10-21 20:19:05 +08:00
2026-10-19 19:00:41 +08:00
2026-10-26 10:09:56 +08:00
2026-10-26 10:09:56 +08:00
2026-10-30 07:06:33 +08:00
2026-10-18 20:57:01 +08:00
2026-10-29 14:42:21 +08:00
2026-10-21 23:04:23 +08:00
2026-10-30 07:06:33 +08:00
2026-10-30 07:06:33 +08:00
2026-10-27 04:29:38 +08:00
2026-10-29 14:42:21 +08:00
2026-10-29 15:16:53 +08:00
2026-10-27 18:35:03 +08:00
2026-10-27 04:29:38 +08:00
2026-10-27 15:32:41 +08:00
2026-10-28 18:33:51 +08:00
2026-10-26 10:09:56 +08:00
2026-10-27 15:32:41 +08:00
2026-10-30 07:06:33 +08:00
2026-10-28 18:33:51 +08:00
2026-10-27 04:29:38 +08:00
2026-10-30 07:06:33 +08:00
2026-10-28 18:33:51 +08:00
2026-10-28 18:33:51 +08:00
2026-10-23 08:09:28 +08:00
2026-10-28 18:33:51 +08:00
2026-10-30 07:06:33 +08:00
2026-10-27 15:32:41 +08:00
2026-10-20 17:05:03 +08:00
2026-10-27 16:19:45 +08:00
2026-10-27 16:19:45 +08:00
2026-10-23 17:04:24 +08:00
2026-10-21 10:33:05 +08:00
2026-10-23 18:03:10 +08:00
2026-10-29 14:44:33 +08:00
2026-10-26 21:07:08 +08:00
2026-10-26 23:33:12 +08:00
2026-10-21 02:19:42 +08:00
2026-10-21 02:19:42 +08:00
2026-10-25 21:36:40 +08:00
2026-10-29 14:44:33 +08:00
2026-10-27 09:49:17 +08:00
2026-10-19 22:07:14 +08:00
2026-10-22 21:05:27 +08:00
2026-10-24 14:43:50 +08:00
2026-10-24 14:43:50 +08:00
2026-10-29 15:57:38 +08:00
2026-10-29 15:57:38 +08:00
2026-10-19 22:07:14 +08:00
2026-10-20 17:17:41 +08:00
2026-10-30 02:29:35 +08:00
2026-10-29 15:57:38 +08:00
2026-10-30 02:29:35 +08:00
2026-10-18 20:57:01 +08:00
2026-10-18 20:57:01 +08:00
2026-10-22 21:05:27 +08:00
2026-10-25 22:34:48 +08:00
2026-10-29 15:57:38 +08:00
2026-10-29 14:40:08 +08:00
2026-10-25 11:39:33 +08:00
2026-10-25 11:39:33 +08:00
2026-10-29 14:40:08 +08:00
2026-10-29 15:57:38 +08:00
2026-10-29 14:40:08 +08:00
2026-10-20 17:05:03 +08:00
2026-10-18 20:57:01 +08:00
2026-10-25 22:34:48 +08:00
2026-10-29 15:57:38 +08:00