Skip to content

No fallback to bare mode for summary generation #1022

@NoahCardoza

Description

@NoahCardoza

My organization recently switched over to Enterprise Accounts and And now the session summary always fails because of the bare flag isn't compatible. In other steps, there is a fallback, but not for the session summary generation.

🗂️  Generating session summary...
🤖 ...⚠️  Failed to generate session summary: Claude CLI error: Command failed with exit code 1: claude --bare --settings 
---
Command:

claude --bare --settings [REDACTED] -p --output-format stream-json --verbose --model sonnet --add-dir [REDACTED] --no-session-persistence --resume [REDACTED]

Relevant output:

{"type":"assistant","content":[{"type":"text","text":"Invalid API key · Fix external API key"}],"error":"authentication_failed"}

{"type":"result","is_error":true,"api_error_status":401,"result":"Invalid API key · Fix external API key","terminal_reason":"completed"}

Environment:

Claude Code version: 2.1.159

Model: claude-sonnet-4-6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions