Skip to content

Document Windows support and WSL requirements #10

Closed

Description

@admarble

Problem

Sequant's bash hooks require a Unix shell. Windows users need WSL but this isn't clearly documented. Users on Windows may have confusing failures.

Current State

  • README mentions Windows needs WSL
  • No detailed setup guide for Windows
  • No troubleshooting for Windows-specific issues

Proposed Solution

Add Windows-specific documentation:

README Addition

```markdown

Windows Users

Sequant requires WSL (Windows Subsystem for Linux) on Windows.

  1. Install WSL: `wsl --install`
  2. Install dependencies inside WSL
  3. Run Claude Code from WSL terminal
    ```

Troubleshooting Addition

Common Windows issues:

  • "bash not found" → Install WSL
  • Line ending issues → Configure git autocrlf
  • Path issues → Use WSL paths

Acceptance Criteria

  • Clear Windows requirements in README
  • WSL setup guide linked or included
  • Windows troubleshooting section
  • Doctor check warns if running on Windows without WSL (if detectable)

Priority

Low-Medium - important for Windows users but smaller audience.

Activity

  1. admarble commented on Jan 9, 2026

    @admarble
    ContributorAuthor

    Plan Review

    Acceptance Criteria Checklist

    AC-1: Clear Windows requirements in README

    • Verification: Manual review
    • Test: Windows user can understand WSL requirements from Platform Support section
    • Assumption: Platform Support table (lines 126-140) is the right location

    AC-2: WSL setup guide linked or included

    • Verification: Manual review
    • Test: User can follow steps to install WSL and configure for Sequant
    • Assumption: Microsoft's WSL docs are stable for linking

    AC-3: Windows troubleshooting section

    • Verification: Manual review
    • Test: User finds solutions for bash not found, line endings, and path issues
    • Assumption: These three issues cover most common Windows problems

    AC-4: Doctor check warns on Windows without WSL

    • Verification: Unit test
    • Test: sequant doctor shows warning on native Windows, passes in WSL
    • Assumption: WSL detection is reliable (/proc/version contains "Microsoft" or "WSL")

    Implementation Plan

    Phase 1: Documentation Updates

    1. Expand README.md Platform Support section with:
      • Clear WSL requirements explanation
      • Link to Microsoft WSL setup guide
      • What works natively vs requires WSL
    2. Add "Windows Issues" section to docs/troubleshooting.md:
      • "bash not found" → Install WSL solution
      • Line ending issues → Configure git autocrlf
      • Path issues → Use WSL paths guidance

    Phase 2: Doctor Command Enhancement

    1. Add WSL detection helper to src/lib/system.ts
    2. Add Windows/WSL check to src/commands/doctor.ts:
      • Detect native Windows (not WSL)
      • Show warning recommending WSL
    3. Add unit tests in src/commands/doctor.test.ts

    Effort Breakdown

    • Documentation: ~30 min
    • Doctor check: ~30 min
    • Testing: ~15 min

    Recommended Workflow

    Phases: exec → qa
    Quality Loop: disabled
    Reasoning: Documentation-focused with small code change. Unit test provides sufficient verification.


    📋 Ready for /exec 10 after approval.

  2. added a commit that references this issue on Jan 9, 2026
    44c602e
  3. admarble commented on Jan 9, 2026

    @admarble
    ContributorAuthor

    Implementation Complete

    AC Coverage

    AC Status Details
    AC-1: Clear Windows requirements in README ✅ Done Added "Windows Users" section with feature matrix
    AC-2: WSL setup guide linked ✅ Done Added quick setup steps + link to Microsoft docs
    AC-3: Windows troubleshooting section ✅ Done Added 4 common issues: bash, line endings, paths, npm
    AC-4: Doctor warns on Windows ✅ Done isNativeWindows() and isWSL() detection added

    Files Changed (5 files, +193 lines)

    • README.md - Added Windows Users section with feature matrix and WSL setup guide
    • docs/troubleshooting.md - Added Windows Issues section with 4 common problems/solutions
    • src/lib/system.ts - Added isNativeWindows() and isWSL() detection functions
    • src/commands/doctor.ts - Added Platform check that warns on native Windows
    • src/commands/doctor.test.ts - Added unit tests for Windows platform detection

    Tests

    • ✅ All 147 tests passing
    • ✅ Build succeeds

    Branch

    feature/10-document-windows-support-and-wsl-requirements pushed and ready for PR.


    Ready for /qa 10 review.

  4. admarble commented on Jan 9, 2026

    @admarble
    ContributorAuthor

    QA Review

    AC Coverage

    AC Description Status
    AC-1 Clear Windows requirements in README ✅ MET
    AC-2 WSL setup guide linked or included ✅ MET
    AC-3 Windows troubleshooting section ✅ MET
    AC-4 Doctor warns on Windows without WSL ✅ MET

    Coverage: 4/4 AC items fully met


    Quality Metrics

    Metric Value Status
    Type issues 0 ✅
    Deleted tests 0 ✅
    Files changed 5 ✅
    Lines +/- +193 / -2 -
    Tests 13/13 passing ✅
    Build Success ✅

    Code Review

    Strengths:

    • Clean, focused implementation
    • Comprehensive documentation for common Windows issues
    • Good unit test coverage for platform detection
    • WSL detection using /proc/version is industry-standard

    No blocking issues found.


    Verdict: ✅ READY_FOR_MERGE

    All acceptance criteria met with high-quality implementation. Ready for PR creation and final review.


    Documentation: Before merging, run /docs 10 to generate feature documentation (optional for docs-focused changes).

  5. added a commit that references this issue on Sep 9, 2026
    f469892
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