Skip to content

fix(mcp): room recall pack keeps skipped reasons and applies limit after exclude_ids (#1391) - #1392

Merged
ajianaz merged 1 commit into
developfrom
fix/room-recall-pack-exclude-1391
Oct 9, 2026
Merged

ajianaz merged 1 commit into
developfrom
fix/room-recall-pack-exclude-1391

Conversation

@ajianaz

@ajianaz ajianaz commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

What

  • Pack mode of uteke_room_recall returns the pack (including skipped with excluded/budget reasons) instead of the fixed "No results fit the budget." text; the plain "No memories found in room." is kept for a room with no matches.
  • recall_room_packed removes exclude_ids before applying limit, so limit counts memories that can be selected; excluded hits are still reported in skipped.
  • Documents that min_score compares hybrid scores with fallback cosine scores.

Why

Closes #1391 (findings 1 and 2 from the post-merge review of #1389). Finding 3 (min_score scale mix) is documented only: I did not measure whether the scales diverge, so I did not change behaviour.

Testing

  • fmt, clippy -D warnings, cargo test --workspace, vecq-only core lib tests (658) green
  • New core test: limit 1 with the best hit excluded returns the next hit; all hits excluded gives empty selected and non-empty skipped
  • Not tested: the MCP handler branch against a live server (no unit seam for exec_room_recall)

🤖 Generated with Claude Code

…ter exclude_ids (#1391)

- pack mode returns the pack (with `skipped`) unless the room had no matches
- recall_room_packed removes exclude_ids before truncating to limit
- document that min_score compares hybrid and fallback cosine scores

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@github-actions

github-actions Bot commented Oct 9, 2026

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 122ff87 into develop Oct 9, 2026
15 checks passed
@ajianaz
ajianaz deleted the fix/room-recall-pack-exclude-1391 branch October 9, 2026 01:10
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.

fix(mcp): room recall pack mode hides skipped reasons and applies limit before exclude_ids

1 participant