Skip to content

[2.1] Fixes 36435: Guide MCP clients through context-first memory discovery - #38709

Merged
Vishnuujain merged 1 commit into
2.1from
backport/2.1/pr-38011
Nov 25, 2026
Merged

Vishnuujain merged 1 commit into
2.1from
backport/2.1/pr-38011

Conversation

@gh-bot-collate

Copy link
Copy Markdown

Automated backport of #38011 to 2.1.

Source PR #38011
Author @iamkiayun
Merge commit c6d946bb1a6b3b7884dafe1fdb5434296e468ac1
Method Clean cherry-pick — identical to the commit on main.

Opened from openmetadata-collate, which holds the credentials needed to open a PR here. It merges itself once this branch's required checks pass — no review needed. If a check fails it stays open and the author of #38011 is asked to look.

resolver run

…#38011)

* Fixes #36435: guide MCP clients through memory-first discovery

* Clarify conflicting approved memory guidance

Preserve available provenance and surface conflicting approved claims without treating approval as truth. Keep retrieved memory text below user instructions and existing access and safety rules.

* Fixes #36435: Require anchored memory discovery before answering

* Clarify company_context lookup scopes

Related to #38205. Preserve the context-first workflow and existing retrieval policy.

* trim memory guidance

* Distinguish searchable and readable Company Context notes in MCP guidance

* memory search checks anchors

* resolve memory-only index

---------

Co-authored-by: Vishnu Jain <[email protected]>
(cherry picked from commit c6d946b)
@gh-bot-collate
gh-bot-collate Bot requested a review from a team as a code owner November 25, 2026 14:35
@gh-bot-collate
gh-bot-collate Bot requested review from pmbrull and removed request for a team November 25, 2026 14:35
@gh-bot-collate gh-bot-collate Bot added the safe to test Add this label to run secure Github workflows on PRs label Nov 25, 2026
@gh-bot-collate

Copy link
Copy Markdown
Author

🤖 This backport will not merge itself: 2.1 has no required status checks, so there is nothing for auto-merge to wait on. Merge it by hand once CI is green.

@Vishnuujain
Vishnuujain merged commit e66e0cb into 2.1 Nov 25, 2026
44 of 45 checks passed
@Vishnuujain
Vishnuujain deleted the backport/2.1/pr-38011 branch November 25, 2026 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test Add this label to run secure Github workflows on PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants