Skip to content

pm search mis-parses quoted status:all queries and drops keywords #485

Closed

Description

@unbraind

Summary

When pm search is given a quoted hybrid query that starts with status:all, the parser rewrites it as a --status flag and consumes the remaining keywords into the status value. This leaves no positional keywords and the command errors.

Reproduction

pm --version
# 2026.7.5

pm search "status:all scene grounding" --limit 5

Actual result

Error: Missing required argument keywords
...
Recovery bundle:
  attempted_command: pm search --status "all scene grounding" --limit 5
  normalized_args: search --status all scene grounding --limit 5
  provided_fields: --status, --limit
  missing: keywords

Expected result

pm search "status:all scene grounding" --limit 5 should treat scene grounding as keywords while applying the status filter, or fail with a targeted inline-filter parse error that points to correct syntax.

Notes

  • This surfaced while implementing an all-status duplicate-check workflow.
  • Duplicate search performed before filing: no existing unbraind/pm-cli issue found for this specific quoted status:all parse behavior.

Activity

  1. coderabbitai commented on Jul 8, 2026

    @coderabbitai
    🔗 Related PRs

    #147 - fix: optimize agent list/search UX and smoke cleanup reliability [closed]
    #238 - Search: relevance ranking, filter parity, corpus enrichment & --min-score (GH-181, GH-157) [closed]
    #290 - feat(search): inline field:value query syntax + matched-text highlighting (GH-157) [merged]
    #310 - Fix status-all context filters [merged]


    📝 Issue Planner

    Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

    • Create Plan

    🧪 Issue enrichment is currently in open beta.

    You can configure auto-planning by selecting labels in the issue_enrichment configuration.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false

    💬 Have feedback or questions? Drop into our discord!

  2. unbraind commented on Jul 9, 2026

    @unbraind
    OwnerAuthor

    Fixed by #486. pm search now preserves inline field:value tokens for the search parser, with quoted/unquoted regression coverage and isolated temp-project proof.

  3. unbraind commented on Jul 11, 2026

    @unbraind
    OwnerAuthor

    pm tracker item:

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions