Skip to content

Pin the last research subject onto follow-ups - #53

Merged
devbadya merged 2 commits into
mainfrom
cursor/research-follow-up-topic-430e
Sep 10, 2026
Merged

Pin the last research subject onto follow-ups#53
devbadya merged 2 commits into
mainfrom
cursor/research-follow-up-topic-430e

Conversation

@devbadya

Copy link
Copy Markdown
Owner

After Wer ist der Bundeskanzler?, a follow-up like und der von Frankreich? was searched as a fragment. topic.ts already pinned the last weather city into the prompt; it now pins the last research office or question the same way.

When the line is injected

  • The last successful research call, or the last researchable user question if the eval history has no tool card
  • Only on a follow-up (und …, what about …)
  • Recency wins, so an older Frankfurt does not leak onto a chancellor follow-up

When it stays off

  • A complete new question (Wer ist Elon Musk?, What is the capital of France?)
  • A follow-up that names a different person (und Elon Musk?)
  • und der von Frankreich? is a place modifier, not a new person, so the office stays

The research-question skill has a follow-up exemplar so the model is shown to keep the office and add the place.

This is working memory in the current chat, not the model training itself. Auto-saving every answer into IndexedDB would double the GPU cost of a turn and fill recall with stale world facts. Durable memory stays explicit: the Memory panel, or remember that….

pnpm check is green (1,335 tests). Generation was not run: this VM has no GPU adapter.

Open in Web Open in Cursor 

cursoragent and others added 2 commits September 10, 2026 09:33
Research already extracts a name or figure onto the first line of the digest.
The 0.8B model still invents a different one, or quotes the office instead of
the incumbent. reviewAnswer now treats that line the way it already treats the
calculator: if the draft drops it, one correction asks for it back.

The check stays shy. A surname standing in for the full name, a German decimal,
and a figure rounded the way extractFigure already treats as one reading all
pass. A biography digest with no Answer line is left alone.

When the wind-down round comes back empty, budgetFallback now hands over that
same one-liner instead of an apology.

Co-authored-by: Sebastian <devbadya@users.noreply.github.com>
After *Wer ist der Bundeskanzler?*, a follow-up like *und der von Frankreich?*
was searched as a fragment. topic.ts already pinned the last weather city;
it now pins the last office or question the same way, and recency decides
which one, so an older Frankfurt does not leak onto a chancellor follow-up.

A complete new question, or a follow-up that names a different person
(*und Elon Musk?*), stays unpinned. The research skill has a follow-up
exemplar so the model is shown to keep the office and add the place.

Co-authored-by: Sebastian <devbadya@users.noreply.github.com>
@devbadya
devbadya marked this pull request as ready for review September 10, 2026 10:37
@devbadya
devbadya merged commit 64c8193 into main Sep 10, 2026
1 check 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.

2 participants