Repository navigation
refactor: the default limit is 10 for recall, search and list on every surface (#1439, part D1) - #1578
Merged
Conversation
…y surface (#1439, part D1)
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-code · BYOK · MIT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The default
limitis 10 for recall, search and list on every surface, and the list cap is 1000 on every surface.RECALL_DEFAULT_LIMIT, so HTTP and MCP;uteke recallvia its clap default).LIST_DEFAULT_LIMIT);ListPolicy::MCPbecomesListPolicy::HTTP, so MCP and the CLI get the 1000 cap they lacked. Search was already 10.default,maximum) anddocs/cli-reference.mdstate the new values. The cross-surface tests flip from "pins the divergence" to "pins the one behaviour".Why
#1439 PR D. The owner's decision of 2026-10-13, recorded in the cloud answer on #1439 and in uteke-cloud#173: default
limit10 on every surface for every list-style read (recall, search, list), ceilings 100 for recall-style and 1000 for list-style; cloud already implements it (contract 0.13.0). This supersedes the "default 20" written indocs/plans/2026-10-13-unified-surfaces.mdPhase 2, which predates that decision. It is a CORE-visible default change.Not in this part (next, as PR D part 2): MCP
atandinclude_meta, an invalid MCP listlimitbeing an error, andentity/categoryon the CLI via-server path.Testing
cargo test --workspace --locked, clippy-D warnings, fmt, docgen (no diff). Cora MCP review before committing: no findings.--limit 50explicitly (only the clap default of--limitchanged), so no fast50 run was needed for this PR.