Skip to content

docs(recall): correct the default salience/recency weights (#1408) - #1409

Merged
ajianaz merged 1 commit into
developfrom
docs/correct-boost-weights
Oct 9, 2026
Merged

ajianaz merged 1 commit into
developfrom
docs/correct-boost-weights

Conversation

@ajianaz

@ajianaz ajianaz commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

What

Fixes the statement added in #1406 that the CLI weights default to 0.15 and the server to 0.1. The default is 0.1 in both; the configured [recall] weight (default 0.15) is used only when --salience / --recency are passed explicitly. Corrects the two flag rows for the same reason and adds a note that scores drift up slightly as a memory is recalled.

Why

Closes #1408. My claim was wrong: crates/uteke-cli/src/commands/recall.rs falls back to the engine default (0.1) when the flag is absent, and measuring the same store through the CLI and through the server gave the same 0.1 recency boost.

Testing

  • Docs only; no code or generated files change.
  • Measured, not assumed: on a fresh store three consecutive CLI --explain recalls gave salience_boost 0.025, 0.02676, 0.02977, which is the drift the new note quotes.
  • The CLI default-weight behaviour is read from recall.rs; I did not test --salience with a non-default configured weight.

🤖 Generated with Claude Code

The default weight is 0.1 in the CLI and in uteke-serve; the configured
[recall] weight (0.15) only applies with an explicit --salience/--recency.
Also notes that scores drift up as a memory is recalled.

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 475e8ca into develop Oct 9, 2026
15 checks passed
@ajianaz
ajianaz deleted the docs/correct-boost-weights branch October 9, 2026 06:50
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.

docs(recall): correct the default salience/recency weights (0.1 everywhere unless the flag is explicit)

1 participant