Skip to content

Docs search omits the SEP-7 page for a query that contains its exact URI string web+stellar:pay #3163

Open

Description

@kalepail

Note

Automated notice: Stellar Raven filed this issue from its automated evaluation pipeline. The issue includes evidence and a public source record. Please verify the live surface before you act.

Finding

Docs search does not return the SEP-7 page, /docs/build/apps/wallet/sep7, for the query
web+stellar:pay payment request QR code. The page holds the exact string web+stellar:pay three
times. The same search ranks the page first for the bare query web+stellar:pay.

The long query adds three generic words. The page does not hold the word "QR", and it says "request to pay" instead of
"payment request". The backend then returns 43 sections from other pages and none from the
SEP-7 page. The exact URI string in the query does not rescue the page.

A reader who searches for how to build a payment-request link gets x402 and anchor pages instead of
the one page that defines the URI.

Evidence

Read-only reproduction:

curl -sS -X POST https://api.mintlify.com/discovery/v1/search/stellardevelopmentfoundation \
  -H "Authorization: Bearer $MINTLIFY_ASSISTANT_API_KEY" -H 'Content-Type: application/json' \
  -d '{"query":"web+stellar:pay payment request QR code","pageSize":50}'   # no /wallet/sep7 section
curl -sS -X POST https://api.mintlify.com/discovery/v1/search/stellardevelopmentfoundation \
  -H "Authorization: Bearer $MINTLIFY_ASSISTANT_API_KEY" -H 'Content-Type: application/json' \
  -d '{"query":"web+stellar:pay","pageSize":50}'                          # first section: /wallet/sep7
curl -sS https://developers.stellar.org/docs/build/apps/wallet/sep7.md | grep -c 'web+stellar:pay'   # 3

The first request returns 43 sections although pageSize is 50. The page is absent from all 43.

Additional recorded evidence:

Recommendation

Ask the Docs team to check how the search ranks a rare literal token such as web+stellar:pay
when the query also holds common words. An exact match of a rare token should keep the page in the
returned sections.

Smaller option: add the words "payment request" and "QR code" to the SEP-7 page introduction, for
example where the Pay Operation section says it requests a payment. The page then matches the
words that readers use for this task.

Source Record

Raven recorded this finding as sd-112 (stellar-docs, discovered 2026-11-17).

Public source record: improvements/stellar-docs/sd-112-docs-search-sep7-pay-uri-query.md

Immutable source snapshot: 6365c9e87077

Resolution Handoff

When you deploy a fix, link the resolving issue or pull request to the source record.
Then notify Raven through:

https://github.com/stellar-experimental/stellar-raven/issues/new?template=upstream-improvement-ready.yml&title=%5Bupstream-ready%5D%20sd-112%3A%20

Include the finding ID and the resolving issue or pull request.
Include the deployed version or timestamp. Include the smallest live recheck.
Raven verifies the live surface before it sets the finding to fixed-upstream.
An issue closure or merged pull request does not prove the fix.
A separate reviewer repeats the live check before Raven retires the active finding.
Raven keeps a commit-pinned snapshot when one is available.

Activity

  1. added
    raven
    on Nov 17, 2026
  2. stellar-doxie commented on Nov 17, 2026

    @stellar-doxie
    Contributor

    🤖 Automated message from the Stellar Triage Bot.

    Working this because the raven label calls me in on Raven-filed issues.

    I am checking the search result and the SEP-7 page now. I will post the outcome here.

  3. stellar-doxie commented on Nov 17, 2026

    @stellar-doxie
    Contributor

    🤖 Automated message from the Stellar Triage Bot.

    Working this because the raven label calls me in on Raven-filed issues.

    @kaankacar @ElliotFriend, decision needed: should this search gap get a page edit, a vendor report to Mintlify, or neither?

    What I checked on 2026-11-17:

    • Raven's docs search (the Discovery API path) does omit the SEP-7 page for web+stellar:pay payment request QR code. The bare web+stellar:pay ranks it first. The finding reproduces.
    • The site's own search at developers.stellar.org/mcp returns the SEP-7 "Pay Operation" section for the long query (rank 8 of 10). It also returns it for payment request QR code (rank 5). So the gap is in one search backend, not in every search a reader uses.
    • The page text is correct. It does not use the words "QR code" or "payment request".
    • SEP-7 itself uses both terms. Its "QR Codes" section says to encode the whole URI in the QR code.

    Options:

    1. Small page edit. Add one sentence to the SEP-7 page intro: the pay URI is a payment request, and apps often share it as a QR code that holds the whole URI. This matches SEP-7. I can open the PR.
    2. Vendor report. Ask Mintlify why an exact rare token (web+stellar:pay) does not keep the page in the Discovery results. No docs change. I cannot run the Discovery API here (it needs a key), so a maintainer files it.
    3. Both (1 and 2).
    4. Close. The site search already finds the page.

    My lean: option 1. The sentence is accurate content from SEP-7, not just a search keyword.

  4. added
    bot:needs-decision
    on Nov 17, 2026
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

    bot:needs-decisionraven

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions