Skip to content

fix: report native Claude CLI auth in status - #129364

Merged
shakkernerd merged 1 commit into
mainfrom
fix/native-auth-status
Aug 25, 2026
Merged

shakkernerd merged 1 commit into
mainfrom
fix/native-auth-status

Conversation

@shakkernerd

@shakkernerd shakkernerd commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Make /status report native Claude CLI authentication accurately.

This is a presentation follow-up to #129052, which changed Claude CLI authentication from copied OAuth state to a native runtime-owned label.

Root Cause

The status auth-mode normalizer recognized API keys, OAuth, tokens, AWS SDK auth, mixed auth, and unknown auth, but not the native mode introduced by the ownership change in #129052.

The runtime-alias precedence helper also allowed active OAuth or token auth to replace a selected API-key label, while omitting active native auth. As a result, /status could drop native (claude-cli) or show an environment API key instead of the authentication actually used.

Changes

  • recognize native as a status authentication mode
  • prefer active native runtime auth over a selected API-key label for equivalent runtime aliases
  • keep existing OAuth, token, and non-alias behavior unchanged
  • remove the copied Claude credential setup from the status regression fixture

Verification

  • 96 focused and sibling tests
  • formatting
  • Oxlint
  • core typecheck
  • autoreview
  • independent review

Refs #129333

@clawsweeper

clawsweeper Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added agents Agent runtime and tooling size: XS maintainer Maintainer-authored PR labels Aug 25, 2026
@shakkernerd shakkernerd self-assigned this Aug 25, 2026
@shakkernerd
shakkernerd force-pushed the fix/native-auth-status branch from f22f237 to 6e48bcb Compare August 25, 2026 14:05
@shakkernerd
shakkernerd merged commit 47ba4ab into main Aug 25, 2026
43 checks passed
@shakkernerd
shakkernerd deleted the fix/native-auth-status branch August 25, 2026 14:06
@shakkernerd

Copy link
Copy Markdown
Contributor Author

Fixed: /status now reports native Claude CLI authentication instead of dropping it or showing a selected API key.

@shakkernerd shakkernerd changed the title fix: show native Claude auth in status fix: report native Claude CLI auth in status Aug 25, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 26, 2026
Native Claude CLI authentication now appears in status output and takes precedence over a selected API key for equivalent runtime aliases.

Refs openclaw#129333.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling maintainer Maintainer-authored PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant