On a fresh Codex Security state directory, codex-security login status reports Not logged in even when the existing Codex CLI session is authenticated. Running a scan imports the available credentials, after which the same status command succeeds.
Reproduction: authenticate with Codex, create a fresh Codex Security state directory, and run codex-security login status before the first scan.
Expected: the status command reflects usable existing Codex authentication without requiring a scan first.
On a fresh Codex Security state directory,
codex-security login statusreportsNot logged ineven when the existing Codex CLI session is authenticated. Running a scan imports the available credentials, after which the same status command succeeds.Reproduction: authenticate with Codex, create a fresh Codex Security state directory, and run
codex-security login statusbefore the first scan.Expected: the status command reflects usable existing Codex authentication without requiring a scan first.