Repository navigation
fix(mcp): use chatbot embedding retrieval for ask security facts - #1155
northdpole wants to merge 3 commits into
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review: 1
Please check the settings in the CodeRabbit UI or the
|
47237e5 to
28952c7
Compare
1129c1f to
7e37a9d
Compare
1183b05 to
26a507d
Compare
7e37a9d to
fdda36d
Compare
fdda36d to
22f42fa
Compare
e2fb050 to
ca184cd
Compare
22f42fa to
d6126a4
Compare
ca184cd to
b93bd17
Compare
d6126a4 to
d2416dc
Compare
|
Also, the "Security fact pack" section in |
Share PromptHandler.retrieve_nearest_standard_for_prompt between chatbot and MCP ask so security facts use the same similarity path instead of text_search REST. Co-authored-by: Cursor <cursoragent@cursor.com>
Harden intent-guard, board year, CRE bait, clarify, and JuiceShop matching so staging MCP ask stops failing the small-24 edge set. Co-authored-by: Cursor <cursoragent@cursor.com>
ASVS/MASVS/SAMM levels and AIX layers were answered with bare Nest project_lookup (leaders / project stage). Add node_facts (curated facts stored as evidence docs), replace aix_facts/cre_facts, and fail closed so structure asks never resolve to a Nest project pick. - narrow evidence routing to structural cues, not bare brand tokens - facts surface on ask items only, gated on structural prompts - seed_node_facts re-embeds evidence docs only - add structure product-bad fixtures and Nest-vs-evidence tests Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
b7248bb to
a94289b
Compare
d2416dc to
2f9187c
Compare
Summary
PromptHandler.retrieve_nearest_standard_for_promptbetween chatbot and MCPaskso security facts use the same embedding similarity path instead oftext_searchREST.feat/oie-rq-fanout(feat(oie): RQ A→B→C fan-out and Admin OIE queue tab #1142), which includes the lint fix restoringvalidate_cron_lineand exempting admin/rest/v1/api-keysfrom OpenAPI coverage.Test plan
make lint(openapi-guardrail OK)python -m unittest application.tests.mcp_ask_test(14 tests)Made with Cursor