## Problem `sequant doctor` doesn't verify that the Claude Code CLI (`claude`) is installed. This is a critical dependency - without it, none of the skills work. Users who run `sequant init` may get a green doctor check but then fail when trying to use `/spec` or `/exec`. ## Proposed Solution Add a doctor check that verifies: 1. `claude` command exists in PATH 2. Optionally: `claude --version` returns a valid version ## Acceptance Criteria - [ ] Doctor checks for `claude` CLI presence - [ ] Clear error message if missing with install link - [ ] Check is marked as critical (causes failure, not warning) ## Priority High - this is the core dependency for all sequant functionality.
Activity
admarble commentedon Jan 9, 2026
📋 Plan Review: Doctor Claude Code CLI Check
Acceptance Criteria Checklist
AC-1: Doctor checks for
claudeCLI presencecommandExistsAC-2: Clear error message if missing with install link
https://docs.anthropic.com/en/docs/claude-codeAC-3: Check is marked as critical (causes failure)
process.exit(1)called"fail"not"warn"Implementation Plan
src/commands/doctor.tssrc/commands/doctor.test.tsAssumptions to Validate
claudeOpen Questions
Effort Estimate
feature/3-doctor-add-claude-code-cli-check(ready for/exec)Generated by
/specworkflowadmarble commentedon Jan 10, 2026
📋 Updated Plan Review: Doctor Claude Code CLI Check
Acceptance Criteria with Verification
claudeCLI presencecommandExistsprocess.exit(1)Verification Criteria
AC-1: CLI Presence Check
commandExists("claude")returns true/falsedoctorCommand({})executesAC-2: Install Link
https://docs.anthropic.com/en/docs/claude-codeAC-3: Critical Failure
process.exit(1)calledImplementation Plan
src/commands/doctor.tssrc/commands/doctor.test.tsAssumptions Validated
claudeOpen Questions
Recommended Workflow
Phases:
exec → qaQuality Loop: disabled
Reasoning: Low-complexity feature following established patterns
Ready for Execution
Worktree exists:
feature/3-doctor-add-claude-code-cli-checkGenerated by
/specworkflowfeat(#3): Add Claude Code CLI check to doctor command
admarble commentedon Jan 10, 2026
🚀 Implementation Complete
AC Coverage Summary
claudeCLI presenceFiles Changed
src/commands/doctor.ts- Added Claude Code CLI check (check Document Windows support and WSL requirements #10)src/commands/doctor.test.ts- Added 3 unit testsChecks Run
npm test- 159 tests pass (including 3 new Claude CLI tests)npm run build- TypeScript compilation successfulPR Created
PR #46: #46
Implementation Notes
commandExists("claude")fromlib/system.js"fail"(critical), not"warn"https://docs.anthropic.com/en/docs/claude-codeGenerated by
/execworkflowadmarble commentedon Jan 10, 2026
🔍 QA Review for Issue #3
AC Coverage
claudeCLI presencecommandExists("claude"), same pattern as GitHub CLI checkhttps://docs.anthropic.com/en/docs/claude-code"fail"(not"warn"), triggersprocess.exit(1)Coverage: 3/3 AC items fully met
Quality Metrics
any)Code Review
Strengths:
commandExistsfromlib/system.js- no code duplicationMinor Items (non-blocking):
Verdict: ✅ READY_FOR_MERGE
Implementation fully satisfies all acceptance criteria with clean code and comprehensive test coverage.
Next Steps
/docs 3for feature documentationGenerated by
/qaworkflowchore: bump version to 1.2.0
feat(#3): Add Claude Code CLI check to doctor command (#46)
feat(#111): update /fullsolve to invoke child skills and add --chain …
feat(#111): update /fullsolve to invoke child skills and add --chain …
feat(#3): Add Claude Code CLI check to doctor command
chore(#1505): name each noteSuppressed context by its enclosing funct…
refactor(#1508): point the three noteSuppressed labels in phase-execu…