claude-code - 💡(How to fix) Fix [BUG] Auto mode safety classifier blocks all bash commands when claude-opus-4-6 is temporarily unavailable [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#49469Fetched 2026-04-17 08:40:18
View on GitHub
Comments
1
Participants
2
Timeline
9
Reactions
0
Author
Timeline (top)
labeled ×5cross-referenced ×2commented ×1subscribed ×1

Error Message

Error: claude-opus-4-6[1m] is temporarily unavailable, so auto mode cannot determine the safety of Bash right now

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Error: claude-opus-4-6[1m] is temporarily unavailable, so auto mode cannot determine the safety of Bash right now Affected commands: python -m pytest, python script.py, databricks fs ls Expected: fail open for clearly safe commands, or degrade gracefully

What Should Happen?

Opus 1M should work

Error Messages/Logs

Steps to Reproduce

  1. Enable auto mode in Claude Code
  2. Start a long autonomous session with multiple Bash tool calls
  3. Observe: during any period of Opus 4.6 unavailability, all subsequent Bash calls fail — including commands already approved in the same session

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

2.1.111

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

No response

extent analysis

TL;DR

The issue can be mitigated by disabling auto mode in Claude Code or implementing a retry mechanism for Bash tool calls when Opus 4.6 is temporarily unavailable.

Guidance

  • Investigate the Opus 4.6 availability and its impact on Claude Code's auto mode to understand the root cause of the issue.
  • Consider implementing a retry mechanism with a reasonable timeout for Bash tool calls to handle temporary unavailability of Opus 4.6.
  • Review the Claude Code configuration to see if there are any settings that can be adjusted to degrade gracefully when Opus 4.6 is unavailable.
  • Test the behavior of Claude Code with auto mode disabled to see if it resolves the issue.

Example

No code snippet is provided as the issue does not contain sufficient information about the code.

Notes

The issue may be related to the interaction between Claude Code's auto mode and the Opus 4.6 model. The exact cause of the issue is unclear, and further investigation is needed.

Recommendation

Apply workaround: Implement a retry mechanism for Bash tool calls to handle temporary unavailability of Opus 4.6, as this is a more feasible solution given the current information.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Auto mode safety classifier blocks all bash commands when claude-opus-4-6 is temporarily unavailable [1 comments, 2 participants]