Skip to content

fix(plugin-raven): track SearchConfig's top_k default of 2 - #25

Merged
ypflll merged 1 commit into
mainfrom
fix/raven-default-top-k
Sep 11, 2026
Merged

ypflll merged 1 commit into
mainfrom
fix/raven-default-top-k

Conversation

@ypflll

@ypflll ypflll commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

The multi-source release (#7) narrowed the top_k default from 5 to 2 across the
engine's SearchConfig, Hermes's DEFAULTS, and both TypeScript hosts' topK.
raven-plugin.toml is the one place that was left behind, and the line has not
been touched since the file was created.

Raven's plugin registry (admit_slice) fills a declared default for every key the
operator leaves out, so a zero-config Raven is the only host injecting five full
SKILL.md bodies per search where the other four inject two. On the default path
(mode: on_demand with an empty model) no gate is built either, so pool_size
collapses to top_k and those five are each source's top hit however weakly it
matched — RRF ranks by position within a source, not by match strength.

Verification

Ran Raven's own admit_slice over the plugin's config_schema with an empty
operator slice: top_k resolves to 2 and now equals SearchConfig().top_k.

The multi-source release (#7) narrowed the default from 5 to 2 across the
engine, Hermes and both TypeScript hosts. This schema was the one place
left behind, and the line has not been touched since the file was created.

Raven's plugin registry fills a declared default for every key the
operator leaves out, so a zero-config Raven was the only host injecting
five full skill bodies per search instead of two — and on the default
path there is no gate, so those five are each source's top hit however
weakly it matched.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@ypflll
ypflll force-pushed the fix/raven-default-top-k branch from 38361d7 to 68ebb41 Compare September 11, 2026 02:16
@ypflll
ypflll merged commit c82ca38 into main Sep 11, 2026
27 checks passed
@ypflll
ypflll deleted the fix/raven-default-top-k branch September 11, 2026 02:19
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.

2 participants