fix: improve MCP path tracing and lineage evidence guidance - #145
Open
itu-itis24-buyukhelvacigilm24 wants to merge 1 commit into
Open
fix: improve MCP path tracing and lineage evidence guidance#145itu-itis24-buyukhelvacigilm24 wants to merge 1 commit into
itu-itis24-buyukhelvacigilm24 wants to merge 1 commit into
Conversation
Prefer the shipped get_lineage_paths_between tool when available, retain the CLI fallback, and clarify granularity, completeness, empty-result, and observed-vs-inferred reporting boundaries.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
get_lineage_paths_betweenMCP tool for exact asset or column path tracing when it is available.datahub lineage pathas the fallback and label bounded BFS results honestly.Why
The current lineage skill recommends the CLI first for specific path tracing and implies that MCP may not support it. The official DataHub MCP Server now advertises
get_lineage_paths_betweenfor exact lineage paths between assets or columns.While exercising the MCP lineage tools in a real agent workflow, we also found that agents need explicit evidence boundaries: dataset-level edges do not establish column lineage, a capped result is not a complete graph, and zero observed edges do not prove that no dependency exists.
Scope
This is a one-file guidance change. It does not modify DataHub core, the MCP server, or the existing
/datahub-auditrouting.Validation
Related
Complements #84, which updates
get_lineageparameters and column traversal. This PR covers exact path tracing and evidence-safe reporting semantics.