Skip to content

Auth: distinguish CLI installation, sign-in status, and verified backend access #75

Closed

Description

@CompleteDotTech

Problem and triage

Settings can report Claude as ready without checking whether its executable exists or the user is signed in. The health handler treats successful model discovery as readiness, while Claude returns a static model catalog.

Priority: P2 (normal); type: bug; status: ready for implementation. This is a confirmed source-level false-positive, not a reproduced provider outage. Fix it before building new account controls. No authentication or model requests were performed during triage.

Evidence

Scope and acceptance criteria

  • Represent executable availability/version, authentication state, and successful model access separately. Unknown, signed out, unavailable, checking, and failed must not become ready by default.
  • Use documented, bounded CLI status operations: Claude auth status and Codex app-server account state where supported. Capability-detect older versions and return an honest unknown state.
  • Keep model discovery useful without treating static/cached results as an authentication or entitlement check. Do not run paid inference when opening Settings.
  • Associate cached status with executable/configuration/account identity; invalidate it when those change. A late response from an obsolete check must not overwrite the current state.
  • Add typed, minimal status IPC and understandable Settings feedback; inspect no raw CLI credential files and expose no bearer tokens.
  • Tests prove missing executable + static catalog, signed-out status, unsupported status command, timeout, stale async results, and successful sign-in refresh. UI tests prove the displayed distinctions.
  • Update docs/status.md and applicable README setup guidance; pass build, units and UI e2e for the change.

Dependencies and coordination

No hard dependency on a new provider. Coordinate shared backend lifecycle and model retry behavior with PR #68; reconcile its final implementation before landing overlapping changes. Provider auth issues should consume this status contract rather than each introducing incompatible readiness flags.

Boundaries

This issue does not implement sign-in, switch accounts, revoke credentials, add providers, or create an API execution mode. A successful CLI status check proves reported authentication; a separately authorized completed turn is the evidence for actual model access.

Follow-up issues

Suggested label: bug. Priorities are recorded in the issue bodies because repository label editing is not available to the submitting account.

Activity

  1. added a commit that references this issue on Oct 3, 2026
    da91240
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions