feat: expose guided_query in core and document core/Alliance gate def… - #167
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (17)
📝 WalkthroughWalkthroughMoves the Changesguided_query Promotion to Core
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #167 +/- ##
=======================================
Coverage ? 87.56%
=======================================
Files ? 40
Lines ? 1664
Branches ? 554
=======================================
Hits ? 1457
Misses ? 207
Partials ? 0 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@coderabbitai full review again |
|
✅ Action performedFull review finished. |
|
@coderabbitai full review again. don't skip |
|
(ʕ •ᴥ•ʔ)∫ ✅ Action performedFull review finished. |
Summary
Exposes
guided_queryon the core entry point (setupCoreServer/ package root), documents the intentionaldisableSuggestFlowsplit between core and Alliance, and adds cross-entry-point tests to lock in that behavior.guided_querytosrc/core/server/tools/, register insetupCoreServer, updateCORE_SERVER_INSTRUCTIONS,docs/TOOLS.md, andCHANGELOG.md. Alliance keeps a thin re-export; duplicate registration removed fromsetupAllianceServer.resolveConfig/resolveAllianceConfigand extenddocs/CONFIGURATION.mdanddocs/MIGRATION.mdwith the decision and cross-entry warning.src/__tests__/cross-entry-point.test.tsfor default config values,FLOW_GATEbehavior, and coreguided_queryregistration.Test plan
npm run ci(281 tests, typecheck, lint, format, coverage)guided_queryworks viaguided-query-tool.test.ts(core-only mocks)FLOW_GATEon Alliancequerywithout prior suggestRelated issues
Summary by CodeRabbit
Release Notes
guided_queryis now part of the core tool surface (available via core setup) for single-call retrieval.disableSuggestFlow) behavior and added migration/config guidance for switching entry points.FLOW_GATEerrors when suggest parameters aren’t prepared first.