Skip to content

similar_failures with empty description silently returns zero matches #8

Description

@royalpinto007

Problem

similar_failures with an empty description tokenizes to nothing, so every overlap is empty and the caller gets {matches: []} with no signal that the input was bad.

Where

src/mcp.ts + src/search.ts (overlap filter).

Acceptance

Add a failing test first posting similar_failures with {"description": " "}, expecting -32602. Then fix.

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions