Release v26.04.14.2 — Discuss failure mode fixes #33
Reference in New Issue
Block a user
Delete Branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Fixes a hallucination path in the article-discuss flow that fired when either the article body came back empty or RAG pulled in unrelated orphan notes that looked more relevant than the generic seed prompt.
seed_article_discussionraises a newEmptyArticleErroron empty body;/briefingand/newsdiscuss routes return 422 instead of staging an empty synthetic tool result for the model to confabulate around.build_contextskips RAG auto-injection (semantic + keyword fallback) whenuser_messagematchesARTICLE_DISCUSS_SEED. The article itself is the only context the user wants on turn one. Follow-up turns keep RAG on since user-driven prompts drive the query.EmptyArticleErrorfires, so the user doesn't end up with a phantom chat entry.Test plan
/news), no empty assistant bubble (for briefing).