Repository navigation
refactor(server): read [tier] from uteke.toml (#1418) - #1419
Merged
Merged
Conversation
uteke-serve now passes hot_days, warm_days and hot_boost from [tier] to the store at open, as the CLI does; absent keys keep the core defaults (7 / 30 days, boost 0.1). Third step of #1355. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-code · BYOK · MIT |
This was referenced Oct 13, 2026
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
uteke-servereads[tier](hot_days,warm_days,hot_boost) from uteke.toml and passes it to the store at open (resolve_tier), as the CLI does. Absent keys keep the core defaults (7 days, 30 days, boost 0.1), so existing deployments without the section are unchanged.Why
Closes #1418, step C of #1355. The server opened the store with the default
TierConfigand ignored the section the CLI honours;hot_boostchanges recall scores andwarm_daysis the age at which memories count as cold.Testing
-D warnings,cargo test --workspacegreen; 2 new unit tests (defaults equal the core defaults; file values are applied and a partial section keeps the other defaults)uteke-serveand a fake OpenAI-compatible embedder,strategy=vector: after the memory was accessed once, a second (different) query scored 0.9349 with the default tier and 1.125 with[tier] hot_boost = 0.5, so the section reaches the scoring. (A repeated identical query is served from the recall cache and keeps the first score, so the check uses a different query.)[tier]section now uses it, which can change scores and what counts as cold. Not tested: the effect ofwarm_dayson the lifecycle jobs🤖 Generated with Claude Code