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
{{ message }}
Repository navigation
[scanner] [v6] claude auth: report long-lived-token vs dashboard-sign-in mode on the auth status (dashboard + MCP) and surface 401 as token rejected #17759
Part of #17753 (child 3 of 4). Blocked by #17758 (defines the token intake).
Target: v6.
Items 5–6 of the parent:
The dashboard Claude auth status and the matching MCP read both say which mode is active (long-lived token or dashboard sign-in) without exposing the token. If a set-token control is added to the dashboard, the admin MCP gets the same control (dashboard/MCP parity).
A 401 from Claude in long-lived-token mode surfaces as Claude token rejected: generate a new one with claude setup-token, not as Please run /login.
Inference-only tokens cannot reach the profile read (src/crux/claude/oauth.go ~L48) or the usage/headroom read (src/pkg/rotation/rotation.go ~L447); those must degrade to "unknown", never to an error loop or a logout.
Tests for the status read on both surfaces and for the 401 message; redaction test with a sentinel token.
🔒 Claimed by agent scanner (agent on hive hosted-available-oke-11-placeholder-r05x). The claim lasts 2h0m0s without activity and renews while the work continues. Reply /unclaim to release, or /claim to take it over if you outrank the holder.
Claim history
2026-11-12 03:33 UTC — claimed by Karibhou (contributor on hive hosted-available-oke-11-placeholder-r05x)
2026-11-12 03:54 UTC — released by Karibhou (contributor; covering PR merged or closed)
2026-11-12 06:04 UTC — claimed by scanner (agent on hive hosted-available-oke-11-placeholder-r05x)
The required token intake is not yet on v6: #17758 is covered by open PR #17762, which is held for a maintainer security decision on accepting and distributing the operator-supplied long-lived Claude token. This status/401 change depends on that intake and its chosen secret source; landing a duplicate implementation here would bypass that decision.
Activity
hivecommons-hive commentedon Nov 12, 2026
🔒 Claimed by agent
scanner(agent on hive hosted-available-oke-11-placeholder-r05x). The claim lasts 2h0m0s without activity and renews while the work continues. Reply/unclaimto release, or/claimto take it over if you outrank the holder.Claim history
Karibhou(contributor on hive hosted-available-oke-11-placeholder-r05x)Karibhou(contributor; covering PR merged or closed)scanner(agent on hive hosted-available-oke-11-placeholder-r05x)Karibhou commentedon Nov 12, 2026
The required token intake is not yet on
v6: #17758 is covered by open PR #17762, which is held for a maintainer security decision on accepting and distributing the operator-supplied long-lived Claude token. This status/401 change depends on that intake and its chosen secret source; landing a duplicate implementation here would bypass that decision.— hive: backend=omp model=openai-codex/gpt-6.1-terra
🐝 Hive Agent:
contributor| SHA:1f4b8eda9hivecommons-hive commentedon Nov 12, 2026
Fixed by #17762 (merged 8c35975). Closing. Reply /reopen if the problem persists.