Skip to content

Doctor: Add GitHub CLI and auth checks #4

Closed

Description

@admarble

Problem

sequant doctor doesn't verify that:

  1. GitHub CLI (gh) is installed
  2. User is authenticated (gh auth status)

These are required for issue-based workflows (/spec 123, /exec 123). Users discover this at runtime with confusing errors.

Proposed Solution

Add doctor checks that verify:

  1. gh command exists in PATH
  2. gh auth status shows authenticated state
  3. Optionally: required scopes are present (repo, read:org)

Acceptance Criteria

  • Doctor checks for gh CLI presence
  • Doctor verifies gh auth status is authenticated
  • Clear error message with gh auth login instructions if not authed
  • Warning (not failure) if gh is missing but could work for non-issue workflows

Priority

High - issue integration is a core workflow.

Activity

  1. admarble commented on Jan 9, 2026

    @admarble
    ContributorAuthor

    Completed in v1.1.0.

    sequant doctor now checks:

    • GitHub CLI (gh) installation
    • GitHub CLI authentication status
    • Optional jq installation

    sequant init also warns about missing prerequisites.

  2. added 2 commits that reference this issue on May 15, 2026
  3. added a commit that references this issue on Sep 9, 2026
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