NousResearch/hermes-agent

xAI OAuth entitlement classifier misreading unauthenticated 403 responses

Cluster 29344. Data as of

Nothing open on GitHub. Fix merged in #30872 on 23 May 2026. Check it covers your case.

The short answer

0open issues
0open PRs
3items grouped
Known?
Yes. 3 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #30872. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #30872. That is separate from the fix event.
Still open
Nothing open on GitHub.

The members concern the xAI OAuth entitlement-failure classifier, which is reported to over-match a 'bad-credentials' 403 and may block automatic refresh of stale tokens in long-running TUI sessions. Two pull requests propose honoring the WKE=unauthenticated disambiguator (referencing #29344), one noting it applies at both classifier sites.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #30872 fix(xai-oauth): honor WKE=unauthenticated disambiguator at both classifier sites (#29344)

    merged to main

    files: agent/agent_runtime_helpers.py, run_agent.py, tests/run_agent/test_codex_xai_oauth_recovery.py

1 PR closed without merging

From the close comments: merged via another change 1

  • #29348 fix(xai-oauth): honor [WKE=unauthenticated] disambiguator in entitlement classifier (#29344) · merged via another change → #30872, #26847
Closed issues · 1
  • Closed#29344[Bug]: _is_entitlement_failure over-matches xAI 'bad-credentials' 403 — long-running TUI sessions can't auto-refresh stale OAuth tokens
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. 1.00 means every pair is linked.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Merged PRs
#30872
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
23 May 2026

For your agent

The same facts, typed.