Skip to content

Fresh instance: 'System failure: claudeAuth disconnected' notification before any Claude agent exists #3932

Done

Description

@integry

Problem

On a freshly launched Fly instance (0.9.4 release-candidate test, Sprites runtime), the Inbox's first item is a System failure: "System component unhealthy: claudeAuth. claudeAuth reported 'disconnected'; administrator attention may be required." It was raised minutes after setup, before any Claude agent was configured. A new user's first notification is a false alarm.

Do

  • Do not report claudeAuth (or any per-agent auth component) as unhealthy when no enabled agent of that type exists. Report it only for configured, enabled agents, and name the agent (claude agent: not signed in).
  • "Not signed in yet" on a new agent is a setup state, not a system failure: show it on the agent card (it already is) and, at most, as a setup to-do, not as a failure notification.
  • On remote runtimes (Sprites, Fly Machines), base the status on the stored credentials (as the agent cards do), not on a local ~/.claude that does not exist on the control-plane Machine.
  • Check other component health checks for the same fresh-instance false alarms (Codex, Pi, OpenCode, Vibe, Antigravity, Docker on Fly).

Tests: fresh instance with no agents raises no auth failure; adding a Claude agent without login shows the card state but no system failure; a configured agent whose login expires still notifies.

Activity

  1. propr-dev commented on Nov 30, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using codex agent with gpt-6.2-sol model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: codex
    • Model: gpt-6.2-sol
    • Branch: 3932/gpt-6.2-sol-fresh-instance-system-fai-20261130-2251-fyk
    • Base Branch: 3758-epic-runtime-abstraction-sc0
    • Worktree: issue-3932-20261130-2251-gpt-6.2-sol-fyk

    🔍 Track Task Execution

  2. integry commented on Dec 1, 2026

    @integry
    OwnerAuthor

    Done in #3933, which merged into the runtime epic; the epic merged into main with #3774 and ships in 0.9.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions