Skip to content

MCP worktree_list skips project validation #86

@wollax

Description

@wollax

Problem

worktree_list MCP tool doesn't call load_config, so it doesn't validate that an Assay project exists before listing worktrees. The other three worktree MCP tools do check config. This means worktree_list could show unrelated worktrees in a non-Assay directory or fail with a generic git error.

Solution

Solution

Add load_config call to worktree_list for consistency with other worktree MCP tools, even if config values aren't needed for the operation itself.


Created via Kata PR review backlog

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogKata backlog issues

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions