Repository navigation
Description
Bug type
Behavior bug (incorrect output/state without crash)
Beta release blocker
No
Summary
openclaw models list reports authenticated Claude CLI-routed models with unknown availability (Auth - / available: null) even though the same native login is valid.
Steps to reproduce
- Authenticate the native Claude CLI and confirm
claude auth status --jsonreportsloggedIn: true. - Configure an Anthropic model with
agentRuntime.id: "claude-cli". - Run
openclaw models listoropenclaw models list --json. - Inspect the configured Anthropic model row.
Expected behavior
The configured model reports Auth yes / available: true, matching the verified native Claude CLI login and the refreshed Gateway model catalog.
Actual behavior
The table reports Auth -, and JSON reports available: null.
OpenClaw version
Live reproduction used OpenClaw 2026.8.1 (e53b535). Source inspection used current main at e00d46b19b63.
Operating system
macOS 26.6.1 (Apple Silicon)
Install method
Source checkout; the running binary was built from e53b535.
Model
anthropic/claude-opus-5
Provider / routing chain
OpenClaw standalone CLI -> bundled Anthropic provider -> native Claude CLI runtime
Additional provider/model setup details
The Anthropic model is configured with agentRuntime.id: "claude-cli". The native Claude CLI login is valid.
Logs
$ claude auth status --json | jq '{loggedIn}'
{
"loggedIn": true
}
$ openclaw models list | rg 'Model|anthropic/claude-opus-5'
Model Input Ctx Local Auth Tags
anthropic/claude-opus-5 text+image 1000k no - configured,alias:opus
$ openclaw models list --json | jq '.models[] | select(.key == "anthropic/claude-opus-5") | {key, available}'
{
"key": "anthropic/claude-opus-5",
"available": null
}
$ openclaw models list --all --json | jq '.models[] | select(.key == "anthropic/claude-opus-5") | {key, available}'
{
"key": "anthropic/claude-opus-5",
"available": null
}
$ openclaw models list --help | rg -- '--refresh' || echo 'no --refresh option'
no --refresh option
$ openclaw models list --json | jq '.models[] | select(.key == "openai/gpt-5.5") | {key, available}'
{
"key": "openai/gpt-5.5",
"available": true
}
$ openclaw gateway call models.list --json --timeout 30000 --params '{"view":"configured","refresh":true}' \
| jq '.models[] | select(.provider == "anthropic" and .id == "claude-opus-5") | {provider,id,available}'
{
"provider": "anthropic",
"id": "claude-opus-5",
"available": true
}Screenshots, recordings, and evidence
Current main creates the standalone auth index without passing preparedRuntimeAuthModes or preparedRuntimeAuthMaterializations (list.list-command.ts#L127; model-auth-availability.ts#L625-L655). Synthetic-auth metadata alone produces unknown availability.
Related work: #129326, #129332, and #129346. Both PR merge commits are ancestors of the reproduced build. The observed standalone and refreshed Gateway outputs now disagree. PR #129346 correctly prevents structural synthetic-auth metadata alone from proving a native login; this report is not requesting a revert.
This is distinct from #126429, which covers secondary CLI backend IDs, and #129766, which covers Model Providers UI card aggregation. This report is limited to the primary claude-cli route in the standalone command.
Impact and severity
- Affected: users inspecting configured Anthropic models routed through native Claude CLI
- Severity in this reproduction: cosmetic; this report covers incorrect inspection output, not a routing failure
- Frequency: all seven configured Claude CLI-routed Anthropic rows in the observed run; one representative row is shown above
- Consequence: the standalone and refreshed Gateway listings disagree about the same configured model
Additional information
Suggested direction: determine why the refreshed Gateway resolves availability to true, then expose the same verified signal through the existing standalone auth-resolver boundary if appropriate. Preserve the default command's nonprompting, lazy behavior; do not import Anthropic plugin internals into core, infer login from plugin ownership, copy credentials, or revert #129346 wholesale.
AI-assisted investigation and drafting. The terminal and source evidence above were reproduced and checked directly.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
clawsweeper commentedon Aug 27, 2026
Codex review: this still needs some work.
Summary
The upstream repair is merged, but the open closing reference in Agi-Asi#11 triggers the keep-open guard.
Reproducibility: no. current-main failure was reproduced in this read-only review; current source replaces the reported standalone path, and the merged repair records real native-login proof.
Root-cause cluster
Relationship:
supersededCanonical: #130749
Summary: The merged upstream repair owns the original detailed-list omission; later Gateway restart and Control UI selection reports have different triggers.
Members:
canonical: fix(models): verify native CLI auth in detailed lists #130749 - Merged repair with native-login proof for the reported standalone detailed-list failure.adjacent_distinct: claude-cli models reportavailable: falseafter Gateway restart on main, hiding the Control UI Effort picker (regression after #157459) #158922 - Reports readiness loss after Gateway restart and partial refresh rather than the original standalone auth-index omission.adjacent_distinct: [Bug]: Control UI shows "No provider credential" and rejects Claude CLI model selection with native-only Claude login #186358 - Reports Control UI selection rejection while models.list already reports the native route as available.Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.
Next step
Resolve the open closing reference in Agi-Asi#11 before reconsidering cleanup; current evidence indicates no new upstream repair.
Review details
Best possible solution:
Retain the shared catalog projection and provider-owned native authentication facts, with explicit refresh when discovery is needed.
Do we have a high-confidence way to reproduce the issue?
No current-main failure was reproduced in this read-only review; current source replaces the reported standalone path, and the merged repair records real native-login proof.
Is this the best way to solve the issue?
The shared availability owner addresses the CLI/Gateway disagreement while preserving native credential ownership and the documented distinction between unknown readiness and verified login.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model internal, reasoning medium; reviewed against 8487c89fbedd; fix evidence: commit 7cac905c1eee, main fix timestamp 2026-08-30T03:26:36Z.
Label changes
Label changes:
No label changes.
Label justifications:
P2: The reported failure concerns incorrect inspection output without a demonstrated routing failure.impact:auth-provider: The affected output reports authentication readiness for native Claude CLI model routes.Evidence reviewed
What I checked:
src/commands/models/list.list-command.ts:126, 8487c89fbedd)src/agents/model-auth-availability.cli-runtime.ts:145, 8487c89fbedd)src/gateway/server-methods/models-list-result.cli-runtime-availability.test.ts:115, 8487c89fbedd)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.Reviewed October 31, 2026, 7:27 AM ET / 11:27 UTC.
clawsweeper commentedon Aug 27, 2026
🦞🔧
ClawSweeper is automatically building this issue.
The issue review finished and no active implementation pull request was found.
Automatic implementation progress:
clawsweeper:manual-onlyorclawsweeper:human-review.Result: implementation blocked.
16 remaining items
openclaw-barnacle commentedon Oct 24, 2026
This issue has been automatically marked as stale after 7 days without qualifying human activity.
Without new human activity, Barnacle may close it as not planned 7 days after this message was posted. This is administrative inactivity cleanup, not a claim that the problem is fixed.
A human update restarts the inactivity clock; a new PR head also restarts it. A maintainer can add no-stale for a durable hold, or bad-barnacle to suppress Barnacle. Remove the hold when work can resume.
openclaw-barnacle commentedon Nov 1, 2026
Closing as not planned after the inactivity notice and full retest/update grace. This is an administrative close; the reported problem has not been confirmed fixed. Please reopen with current reproduction details if it still occurs.