Skip to content

[bug] guild init should skip detected clients whose CLI binary is not on PATH #90

@kunallanjewar

Description

@kunallanjewar

Summary

guild init registers MCP entries against detected clients (Claude Code, Codex, Cursor, etc.) but treats "config file present" as proof the client is usable. If the client's CLI binary is missing from PATH, the registration writes a config that points at a non-resolvable binary and confuses later invocations.

Affected files

  • internal/install/clients.go
  • internal/install/mcp_install.go

Acceptance

  • For each detected client, guild init verifies the corresponding CLI binary resolves via exec.LookPath before writing its config entry.
  • Skipped clients are surfaced in the init summary with a clear "binary not found on PATH" reason so the user can fix it.
  • Regression test covers a detected-but-missing-binary case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: installguild init / mcp install / releasebugSomething isn't workingsize: S< 50 lines

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions