Bug: "что дальше?" and "расскажи про X" reach the model with no deterministic rule, and route to IntentFact #115

Contributor

Closes Vikunja #498.

Opened during an unattended overnight run: the diff-budget block was off (task overnight). Read the diff, not only the tests.

Acceptance criteria and quality gate are in TASK.md on this branch.
Review the review, not the diff — leave comments and the agent will apply them via task start 498.

Closes Vikunja #498. Opened during an unattended overnight run: the diff-budget block was off (`task overnight`). Read the diff, not only the tests. Acceptance criteria and quality gate are in `TASK.md` on this branch. Review the review, not the diff — leave comments and the agent will apply them via `task start 498`.
claude added 1 commit 2026-08-03 23:56:53 +02:00
Both shapes carry no question mark and no interrogative, so the model saw
them with nothing deterministic in front and routed both to fact. The fact
gate caught the write and re-ran the turn as a query, so nothing broke —
what they cost was a full model round trip for a decision two patterns can
make offline.

NarrativeQueryGrammars, wired after the agenda rules so that "расскажи,
что у меня сегодня" stays an agenda question. Two exclusions, both learned
from the fixture: a capture verb in the rest of the utterance means he
asked for a note, and an entertainment noun means chat — "расскажи анекдот
про программистов" is ru-chat-003, and my first pattern took it.

The fixture had no case for either shape, which is why they went unnoticed.
Added as ru-query-020 and ru-query-021: classifier+onnx 53/77 → 55/79
(68.8% → 69.6%), both new cases answered at stage 0, false clarifies
unchanged at 0.
kami self-assigned this 2026-08-04 12:45:36 +02:00
kami requested review from kami 2026-08-04 12:46:00 +02:00
kami approved these changes 2026-08-04 12:46:13 +02:00
kami left a comment
Owner

good to merge.

good to merge.
claude merged commit 761cf9f3e0 into task/479-bug-an-unconfigured-capability-does-not 2026-08-04 14:08:57 +02:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kami/Maven#115