Skip to content

Release 0.2.39: AI Mode search reads the top 20 and suggests where to start - #533

Merged
neuromechanist merged 5 commits into
mainfrom
staging
Nov 13, 2026
Merged

neuromechanist merged 5 commits into
mainfrom
staging

Conversation

@neuromechanist

Copy link
Copy Markdown
Contributor

Promotes staging to main for 0.2.39 (Prepare release has set the version).

What reaches production

Order

This release needs OSA 0.8.21 in production (OpenScience-Collective/osa#754): an older OSA refuses 20 rows with a 422 and the panel stays hidden. It merges only once https://api.osc.earth/osa/health reports 0.8.21.

No widget pin change: OSA 0.8.21 changes no widget code.

Testing

  • AI Mode search: natural-language placeholder; overview reads the top 20 and lists up to 10 picks #532: unit tests (4949), lint, typecheck, build and the Cloudflare preview green; checked on test.nemar.org (placeholder; overview reads every match staging has, in ranking order).
  • The overview endpoint with 20 live NEMAR results on the OSA dev server.
  • After merge: https://nemar.org/version.json reports 0.2.39, and an AI Mode search on nemar.org/discover shows the new overview.

nemar-bot and others added 5 commits November 12, 2026 08:25
…20 and lists up to 10 picks (#532)

* AI Mode search: say natural language in the Home placeholder (#531)

* Discover: the AI overview reads the top 20 matches, not only the page's 10 (#531)

* AI overview: list up to ten picks with their titles, then where to start (#531)

* CHANGELOG: AI overview reads the top 20, lists up to ten picks (#531)

* AI overview: tolerate non-string hit fields, no id-as-title on a pick, no NaN limit (#531)

* AI overview: picks list keeps list semantics, names each chip by id and title (#531)

role=list and aria-label on the ordered list (Safari drops list semantics
under list-style none), an accessible name of id and title on each chip, and
a visually hidden separator between a title and its reason. The panel and the
follow-up message share the Top picks label. Source-order test added.

* AI overview: follow-up message breaks glued web addresses and pipes, keeps the suggestion (#531)

A scheme glued to a word (see2https://...) is now broken, since the widget
links any https?:// run with no word boundary, and | becomes a space so no
line turns into a table row. When the lead-in and the suggestion do not fit,
the lead-in is cut at a sentence (at least SEED_MIN_LEAD_IN_CHARS) to keep the
suggestion whole; only a suggestion too long for that is dropped. Tests for
each path; the 2000-character bound holds throughout.

* AI overview: rows follow the ranking, odd search rows never drop the panel (#531)

The request walks the hits in ranking order and reads a hit that has a card
as the card, so a card with an unusable id no longer falls behind lower hits.
A hit or card that is not an object is skipped, and a title, description or
modality that is not text reads as empty. The parser lists a repeated pick
once, caps distinct picks at ten, and reads a null suggestion as none.

* Docs: ADR 0032 amendment and CHANGELOG for the round-1 review fixes (#531)

* ci: rerun the Pages preview after a catalog API error during the build

* AI overview seed: neutralise adjacent text segments as one run, no image marker before a dataset link (#531)

Round-2 review: a web address split across two text segments, or a '!'
right before [id](...), still reached the widget as a link or an image.
Tests added for both.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying nemar-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 83d6572
Status: ✅  Deploy successful!
Preview URL: https://ec5a266c.nemar-website.pages.dev
Branch Preview URL: https://staging.nemar-website.pages.dev

View logs

@neuromechanist
neuromechanist merged commit fccb159 into main Nov 13, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant