mirror of
https://github.com/stablyai/orca.git
synced 2026-11-15 18:37:24 +00:00
- M1: a permanent refresh failure revokes only the login it refreshed (CAS on updated_at). - M2: dead logins (refresh_token_expired/reused/invalidated) are never retried; a new login clears it. - M3: the Codex account route only carries the token to /backend-api/codex/*, the plugin catalog and wham/usage (GET), seen live; plain segments only. - M4: one atomic INSERT enforces one live broker per person (409 broker_in_progress) and 6 starts/hour; broker sandboxes use 2 vCPUs. - L5: auth.json is read only after Codex exited 0. - L6: the 401 hook respects the refresher's backoff and dead logins. - L7: a cancel while the broker is starting wins: the sandbox goes and POST answers 409 cancelled. - L8: orca-sandbox-env writes the marker before the swap, recognises any Orca placeholder, and never overwrites a login already set aside.