Skip to content

Add ci-snitch doctor - #173

Merged
vertti merged 1 commit into
mainfrom
feat/doctor-command
Jul 15, 2026
Merged

Add ci-snitch doctor#173
vertti merged 1 commit into
mainfrom
feat/doctor-command

Conversation

@vertti

@vertti vertti commented Jul 15, 2026

Copy link
Copy Markdown
Owner

Fixes ROADMAP H4 (was 7.3) — completes the H section (H11 versioned migrations stays deliberately deferred).

ci-snitch doctor validates the environment, one line per check:

ok   token: resolved
ok   github api: reachable, core 4969/5000, graphql 4860/5000 remaining
ok   cache: ~/Library/Caches/ci-snitch/data.db
ok   git remote: vertti/ci-snitch
  • All checks run even after a failure — the point is a complete report; any hard failure exits non-zero
  • git remote is informational (note …): not being inside a repo is a normal way to run the tool
  • API check reports both rate pools (matching the D6 budgeting)

Tests: the check-runner contract (all-pass, failure-continues-but-errors, informational-never-fails); real checks verified live above.

Validates the environment with one line per check: token resolution,
GitHub API reachability (reports both rate pools), cache database
openable, and git remote detection (informational — not being in a
repo is a normal way to run the tool). All checks run even after a
failure so the report is complete; any hard failure exits non-zero.

Completes the H section (H11 stays deliberately deferred).
(ROADMAP H4, was 7.3)
@vertti
vertti enabled auto-merge July 15, 2026 14:41
@vertti
vertti merged commit 343580c into main Jul 15, 2026
1 check passed
@vertti
vertti deleted the feat/doctor-command branch July 15, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant