Skip to content

fix: remove CLAUDE_CODE_SIMPLE=1 breaking OAuth auth#88

Merged
fitz123 merged 1 commit intomainfrom
fix/remove-simple-env
Apr 4, 2026
Merged

fix: remove CLAUDE_CODE_SIMPLE=1 breaking OAuth auth#88
fitz123 merged 1 commit intomainfrom
fix/remove-simple-env

Conversation

@fitz123
Copy link
Copy Markdown
Owner

@fitz123 fitz123 commented Apr 4, 2026

Summary

  • Remove CLAUDE_CODE_SIMPLE=1 from bot/scripts/run-cron.sh and bot/src/cron-runner.ts
  • This env var breaks OAuth authentication since today's Anthropic subscription enforcement, causing all cron tasks to fail
  • Other DISABLE_* flags remain unchanged

Fixes #87

Test plan

  • Run a cron task and verify it completes without OAuth errors
  • Verify other DISABLE_* flags still take effect (no auto-memory, no background tasks, no nested crons)

🤖 Generated with Claude Code

CLAUDE_CODE_SIMPLE=1 was introduced to reduce CLI overhead for crons,
but since Claude CLI 2.1.81+ it triggers a fatal error during OAuth
authentication, causing all cron tasks to fail.

Remove the flag from both run-cron.sh and cron-runner.ts. The other
DISABLE_* flags are unaffected.

Fixes #87

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@fitz123 fitz123 merged commit e9f776a into main Apr 4, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CLAUDE_CODE_SIMPLE=1 breaks OAuth auth in Claude CLI 2.1.81+

1 participant