Skip to content

refactor: the default limit is 10 for recall, search and list on every surface (#1439, part D1) - #1578

Merged
ajianaz merged 1 commit into
developfrom
refactor/unify-list-1439
Oct 29, 2026
Merged

ajianaz merged 1 commit into
developfrom
refactor/unify-list-1439

Conversation

@ajianaz

@ajianaz ajianaz commented Oct 29, 2026

Copy link
Copy Markdown
Collaborator

What

The default limit is 10 for recall, search and list on every surface, and the list cap is 1000 on every surface.

  • Recall: 5 -> 10 (RECALL_DEFAULT_LIMIT, so HTTP and MCP; uteke recall via its clap default).
  • List: 5 over HTTP and 20 over MCP and the CLI -> 10 everywhere (LIST_DEFAULT_LIMIT); ListPolicy::MCP becomes ListPolicy::HTTP, so MCP and the CLI get the 1000 cap they lacked. Search was already 10.
  • MCP tool schemas (default, maximum) and docs/cli-reference.md state 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 limit 10 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 in docs/plans/2026-10-13-unified-surfaces.md Phase 2, which predates that decision. It is a CORE-visible default change.

Not in this part (next, as PR D part 2): MCP at and include_meta, an invalid MCP list limit being an error, and entity/category on the CLI via-server path.

Testing

  • Core and server cross-surface tests flipped; cargo test --workspace --locked, clippy -D warnings, fmt, docgen (no diff). Cora MCP review before committing: no findings.
  • The LongMemEval harness passes --limit 50 explicitly (only the clap default of --limit changed), so no fast50 run was needed for this PR.

@github-actions

Copy link
Copy Markdown

🔍 Cora AI Code Review

✅ No issues found. Code looks good!


Review powered by cora-code · BYOK · MIT

@ajianaz
ajianaz merged commit 9f4d0a7 into develop Oct 29, 2026
14 checks passed
@ajianaz
ajianaz deleted the refactor/unify-list-1439 branch October 29, 2026 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant