Skip to content

pm search <exact-id> does not return the matching item #268

Closed

Description

@unbraind

Bug description

Searching for an item by its exact ID (e.g. pm search pm-fk49 or pm search fk49) returns zero results. Users must use pm get pm-fk49 instead. Title-based search works as expected.

Reproduction

pm search pm-fk49
pm search fk49
pm search "Game Engine & Core Architecture"

Expected behavior

Exact ID search should return the matching item, or at minimum document that ID search is not supported and suggest pm get.

Actual behavior

No results for ID queries.

Impact

Breaks common scripting and quick lookup workflows where the user already knows the ID.

Suggested fix

Add an ID prefix match in pm search (exact and partial), or expose a dedicated pm lookup <id> command.

Activity

  1. unbraind commented on Jun 18, 2026

    @unbraind
    OwnerAuthor

    Fixed by PR #266. Verified on head 9145887 with local coverage, release gates, and green GitHub checks before merge.

  2. unbraind commented on Jul 11, 2026

    @unbraind
    OwnerAuthor
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

    bugSomething isn't workingpm-cli

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions