Repository navigation
feat(atlas): query-time parameter contract v1 (#5774) - #8259
Conversation
Versioned per-query parameter contract (query-parameters-v1.json in atlas-proto) shared by CLI, raw SearchRequest and atlas-core with matching names: shard_top_k/global_top_k independent, RRF k and per-signal weights as query-time controls, Expand-N carried through. Non-default controls with no implementation yet (Jaccard, planner/spell, query-class hint, rewritten/both variants) are rejected clearly instead of silently ignored. --raw = planner off, spell off, verbatim, no expansion; never bypasses sensitivity/filter checks. Defaults preserve current production behavior, provisional until held-out measurements exist. Tests: cargo test -p atlas-core (65 passed); cargo test -p atlas-search --test cli_parity (11 passed).
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 44 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
agent-note:v1 |
Refs #5774 (does not close it — per its acceptance, #5774 stays open until the designed controls are usable AND defaults have measured evidence; the defaults here preserve current production behavior and remain provisional).
Implements the Atlas query-time parameter contract v1 (task 13641):
pkgs/atlas-search/crates/atlas-proto/query-parameters-v1.json, shared by the CLI, raw SearchRequest and atlas-core; names match across surfaces (CLI adds only--).--raw: planner off, spell off, verbatim query, no expansion; sensitivity/filter checks are not bypassed (raw + non-zero expand is rejected).Tests (oracle: the contract's parity/validation rules + unchanged default behavior):
cargo test -p atlas-core— 65 passed (incl. new fusion parameter test and shard fanout tests)cargo test -p atlas-search --test cli_parity— 11 passedOpen in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.