Skip to content

[Bug]: Claude Code startup reports exit 1 with completed-looking JSON stdout #4125

@kokisanai

Description

@kokisanai

What happened?

A Discord user reported that Open Design could not start Claude Code even though standalone Claude Code works. The Open Design error shows exit 1 while stdout contains what looks like a completed Claude Code JSON result:

Could not start Claude Code: exit 1 · stdout: ":0},"inference_geo":"","iterations":[],"speed":"standard"},"modelUsage":{},"permission_denials":[],"terminal_reason":"completed","fast_mode_state":"off","uuid":"3e593d5f-c14a-4935-bc03-7c521091c145"}.

The user confirmed:

  • Standalone Claude Code works: yes.
  • Open Design version: 0.9.0.
  • Diagnostics were requested from the user in Discord.

Discord signal

Expected behavior

If Claude Code completes a request or emits a structured failure, Open Design should classify the outcome correctly and show an actionable error. It should not collapse the run into a generic "could not start" message when stdout already contains useful structured data.

Actual behavior

Open Design reports that Claude Code could not start with exit 1, while stdout appears to contain completed run metadata (terminal_reason":"completed").

Related issues

Possibly related to #4102, but that issue was closed after the reporter traced their case to a local proxy/VPN setup. This Discord report is from another user and still needs diagnostics, so tracking it separately unless logs prove it is the same root cause.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions