task/474-query-source-ordering-feeds-and-calendar
The querySources order predates the 2026-08-02 ruling that live search leads. An unconfigured feeds source claimed every news question and answered with a configuration status, so "что происходит сейчас в новостях про искусственный интеллект?" never reached the search sitting one source below. It now claims only when neither SearXNG nor the ZIMs are configured, which is the case the "не читаю ленты" line was written for — general knowledge would otherwise invent a bulletin. The calendar matches on a day word alone and sits above the weather, so "какая сегодня погода в Москве?" answered "на 02.08.2026 ничего нет." It now steps aside on weather wording, the same bail-out queryHome already does. "что нового в лентах?" routed system and answered "пока не умею", while the same question worded with "новостях" worked. FeedQueryGrammar routes it to query at stage 0, requiring an ask word and a feed noun so the bare greeting "что нового?" stays a greeting. Wired in the eval too, since the fixture is only worth anything while its grammar set is the daemon's. Also: the claiming source is now logged. /trace is the nudge-rule trace and carries no query-source field, so a wrong answer could not be told apart from a wrongly-ordered chain. Kiwix having no live coverage is filed separately as V-508 — it is a decision about search quality, not an ordering fix. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Description
No description provided
Languages
Go
97.1%
HTML
0.9%
Shell
0.6%
CSS
0.5%
Makefile
0.3%
Other
0.6%