Skip to content

feat(context7): probe the top candidates instead of asking on an ambiguous library match #12589

Description

@kyle-sexton

Refs: #7005

Why

The confirm-gate audit in #7005 classed this gate reversible-local with the proposal probe-first
(record row 21, pinned commit a2efc66). The owner approved that class on 2026-11-02 (decision).
probe-first means: run the read-only probe that answers the question instead of asking it.

Record: confirm-gates.md

Where (main at 1c559c7)

plugins/context7/skills/lookup/context/lookup.md:42: "5. For ambiguous cases, ask the user before
guessing".

Change

On an ambiguous library match, query the top candidates' documentation (read-only) and pick the one
whose docs answer the question, naming the pick and the runner-up in the reply. Ask only when the
probe leaves two candidates that fit equally.

Done when

  • Line 42's step runs the candidate queries before any question.
  • A question remains only for the case the probe cannot settle, and the step says so.
  • The reply names the chosen library and the alternative it rejected.

Activity

  1. added
    needs-triage
    on Nov 3, 2026
  2. github-actions commented on Nov 3, 2026

    @github-actions
    Contributor

    Proposed work class: work-class: scoped
    Basis: automated intake triage; the lanes App applied this class.

    Size: Small
    Complexity: Low
    Uncertainty: Known
    Flags: none
    Blocked by: none

    Understood: change step 5 of the context7 lookup skill so an ambiguous library match probes the top candidates' docs (read-only), picks the one that answers the question, and names the pick and runner-up. It asks only when the probe can't separate two candidates. The scope and done-when are exact, and the issue links the owner's approval of the probe-first class in #7005. No likely duplicates found among open issues.

    Automated triage, applied by the lanes App.

  3. added and removed
    needs-triage
    on Nov 3, 2026
  4. added
    status: ready
    on Nov 3, 2026
  5. added
    admission-deferred
    agent-ready
    and removed
    admission-deferred
    on Nov 3, 2026
  6. github-actions commented on Nov 3, 2026

    @github-actions
    Contributor
    No description provided.
  7. github-actions commented on Nov 3, 2026

    @github-actions
    Contributor
    No description provided.
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

    agent-readystatus: ready

    Type

    Fields

    Work status

    agent-ready

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions