improvement(search): accept several same-kind native queries per account and cap oversized read limits - #8407
waleedlatif1 wants to merge 7 commits into
Conversation
…unt and cap oversized read limits
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
…ess native queries
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
All reported issues were addressed across 6 files
Reply with feedback, questions, or to request a fix.
Fix all with cubic | Re-trigger cubic
…unds or boolean operators
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
Summary
read_documentcaps alimitabove 8 to 8 instead of refusing it. The server already returns at most 8 chunks, and the model still sees the 1–8 rangeType of Change
Testing
workspace-search.test.ts: aread_documentcall with limit 9 succeeds and returns 8 chunks. This test fails on the previous code, which refused the callmothership-assistant-tools.test.ts: a query with no kind alongside kinded queries on one account is still refusedbun run lint,bun run check:audits(52 audits),type-check, and the contracts, live-search, and knowledge tool suites passChecklist
test-auditauthoring gate)