Skip to content

fix(cli): use correct dict key for codex auth file path in status output#448

Merged
teknium1 merged 1 commit into
NousResearch:mainfrom
PercyDikec:fix/status-codex-auth-store-key
Mar 6, 2026
Merged

fix(cli): use correct dict key for codex auth file path in status output#448
teknium1 merged 1 commit into
NousResearch:mainfrom
PercyDikec:fix/status-codex-auth-store-key

Conversation

@PercyDikec

Copy link
Copy Markdown
Contributor

What does this PR do?

hermes status reads the Codex auth file path with codex_status.get("auth_file"), but get_codex_auth_status() in auth.py returns it under "auth_store". This means the auth file path is silently dropped and never shown to the user.

Changed "auth_file" to "auth_store" in status.py to match the key returned by auth.py.

Related Issue

Fixes #447

Type of Change

  • Bug fix (non-breaking change that fixes an issue)

Changes Made

  • hermes_cli/status.py: Changed codex_status.get("auth_file") to codex_status.get("auth_store") (line 131) to match the dict key from get_codex_auth_status() in auth.py (line 1220)

How to Test

  1. Compare status.py line 131 with auth.py line 1220 - the dict key now matches
  2. Run hermes status after logging in to Codex - "Auth file:" line should now appear

Checklist

Code

  • I've read the Contributing Guide
  • My commit messages follow Conventional Commits
  • I searched for existing PRs to make sure this isn't a duplicate
  • My PR contains only changes related to this fix
  • I've tested on my platform: Ubuntu 24.04

Documentation & Housekeeping

  • N/A (one-word fix, no docs/config/schema changes)

@teknium1 teknium1 merged commit ecb8148 into NousResearch:main Mar 6, 2026
1 check passed
@teknium1

teknium1 commented Mar 6, 2026

Copy link
Copy Markdown
Contributor

Merged in ecb8148 🎉 Thanks @PercyDikec!

Good catch — get_codex_auth_status() in auth.py (line 1220) returns the path under "auth_store" but status.py was reading "auth_file". The key mismatch meant the auth file path was silently dropped from hermes status output even when logged in. Now displays correctly.

angelburgosrosado pushed a commit to angelburgosrosado/hermes-agent that referenced this pull request Apr 27, 2026
…uth file path in status output

Authored by PercyDikec. Fixes NousResearch#447. The status display used
codex_status.get('auth_file') but get_codex_auth_status() in auth.py
returns the path under 'auth_store' (line 1220). This one-char key
mismatch silently dropped the auth file path from 'hermes status'.
02356abc pushed a commit to 02356abc/hermes-agent that referenced this pull request May 14, 2026
…uth file path in status output

Authored by PercyDikec. Fixes NousResearch#447. The status display used
codex_status.get('auth_file') but get_codex_auth_status() in auth.py
returns the path under 'auth_store' (line 1220). This one-char key
mismatch silently dropped the auth file path from 'hermes status'.
olympus-terminal pushed a commit to olympus-terminal/hermes-agent that referenced this pull request May 16, 2026
…uth file path in status output

Authored by PercyDikec. Fixes NousResearch#447. The status display used
codex_status.get('auth_file') but get_codex_auth_status() in auth.py
returns the path under 'auth_store' (line 1220). This one-char key
mismatch silently dropped the auth file path from 'hermes status'.
Egavasyug pushed a commit to Egavasyug/hermes-agent that referenced this pull request Jun 10, 2026
…uth file path in status output

Authored by PercyDikec. Fixes NousResearch#447. The status display used
codex_status.get('auth_file') but get_codex_auth_status() in auth.py
returns the path under 'auth_store' (line 1220). This one-char key
mismatch silently dropped the auth file path from 'hermes status'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: hermes status never shows Codex auth file path due to wrong dict key

2 participants