You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refresh near-expiry auto-session tokens before first covered-model use, invalidate cached sessions when the Copilot auth token changes, and retry Invalid auto-mode selector once after refreshing the session token at the Copilot service boundary.
Constraint: Copilot-Session-Token is bound to the auth token context and must not outlive auth token identity changes.
Rejected: Handling selector failures in route handlers | session-token injection and upstream workaround ownership belongs in src/services/copilot.
Confidence: high
Scope-risk: narrow
Directive: Keep auto-session retry single-attempt only; do not add generic retries around Copilot upstream errors.
Tested: bun run lint:all --fix; bun run build; bun test; bun run typecheck
Not-tested: Live Copilot backend probe with real credentials
Co-authored-by: OmX <omx@oh-my-codex.dev>
0 commit comments