fix(knowledge): treat a reach of nothing as a bounded set of nothing - #8113
Conversation
A member who reads no document in the bases, such as one with no source of their own yet, resolved as an unbounded reach: the vector leg then scanned the sliced sources for readable rows it could not find until its deadline, and the keyword leg ranked every match to the same end, so a search that could return nothing spent every budget it had. A counted reach of zero is now a bounded empty set, remembered like any reach, and both legs answer at once. An index the planner has no rows for keeps its old answer, since a bound of zero looks at nothing.
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
There was a problem hiding this comment.
All reported issues were addressed across 2 files
Reply with feedback, questions, or to request a fix.
Fix all with cubic | Re-trigger cubic
…robe path Emptiness decides completeness, not strategy, so it is never remembered: a member who gains a readable document is answered on their next search, and the count of a reach of nothing costs almost nothing. A saturated probe whose count then finds nothing answers the same bounded empty set.
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
Summary
Type of Change
Testing
vitestoverlib/knowledgeandapp/api/knowledge(191 files, 3307 tests),bun run lint,bun run check:auditsand nativetsc --noEmitpassChecklist