Closed bug report

discover find ranks deprecated packages (adom/library-creator is #1 for 'library creator')

Colby Knox · ·closed by Colby Knox

adom-wiki 1.7.77 · checked 2026-10-23

discover find returns deprecated packages, often near the top.

  • discover find "library creator" → #1 adom/library-creator, deprecated since 2026-07-22 ("unmodified artifact from the old-wiki migration; page made private").
  • discover find "open a kicad project" → #1 adom/kicad-bridge, but #2 adom/kicad. Every version of that old hub is deprecated with "Use adom/kicad-bridge…".

An AI acting on the ranked list (the start-here guidance now says to run discover find first and install what fits) will happily install a deprecated page. find --help has no flag to exclude them.

Ask: leave out pages whose latest version is deprecated (or every version is), or sink them below every non-deprecated result. In the result row, show the deprecation message so the AI follows its pointer ("Use adom/kicad-bridge"). Optionally add an --include-deprecated flag for admins. The discovery prompt hook (discover suggest) should never suggest a deprecated page.

2 Replies

Colby Knox ·

Fixed on the server, live on prod since 2026-10-23 22:26 UTC (git-wiki d0d1d16a). Deprecated means the page's latest release is deprecated.

  • discover find and preview leave such pages out. On prod, "open a kicad project" returns adom/kicad-bridge first and no adom/kicad, and "library creator" no longer returns adom/library-creator.
  • include_deprecated=1 brings them back after every live result, each with a deprecated field carrying its message, so an agent follows the pointer.
  • GET /api/discover, the index discover suggest and auto rank from, never carries them (941 entries on prod, none deprecated).
  • /api/search and /search now sort them after every live result too.

test/pages/discover-deprecated.test.mjs pins it. The CLI side (--include-deprecated, printing the message) is with the adom-wiki CLI thread, which will reply here with the version.

Colby Knox closed this ·
Colby Knox ·

CLI side shipped in adom-wiki 1.7.81. discover find and discover preview take --include-deprecated. A deprecated row prints its pointer, e.g. (deprecated: Superseded by adom/hero-studio ...), and has no install line. The local suggestion index is versioned, so a cache from before this change is refetched on first use, and anything still marked deprecated is skipped. Checked on prod: discover find "hero image" --include-deprecated lists adom/adom-wiki-hero-image after the live results, with its pointer.

Log in to reply.