Repository navigation
fix: identify unresolved MCP business terms in a single check - #323
Open
seyoung4503 wants to merge 1 commit into
Open
seyoung4503 wants to merge 1 commit into
seyoung4503 wants to merge 1 commit into
Conversation
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.
When several business terms are unresolved, the MCP resolver returned only a generic failure. Actual Spider traces (local003/local202/local279) then repeated individual lookups to discover missing definitions. Report all unresolved requested terms in one failure, using the existing exact scoped lookup. Confirmed terms are not listed as missing.
Fail-closed behavior is unchanged: no receipt is issued, a failed check revokes the previous receipt, inferred definitions remain untrusted, and no metadata is registered. This improves diagnostics; it does not claim to resolve ambiguous business meaning or improve benchmark accuracy yet.
Validation: 62 combined MCP/context-candidate/safety/benchmark tests pass, including a mixed known/unknown batch and revoked-receipt execution denial. Ruff and diff checks pass.
Stacked on #322. Implementation verification: reuse O (same definitions lookup, no second store scan); cause O (opaque missing-term diagnostics); logging O (existing reject/audit path); failures O (still rejects); env N/A; comments O; tests O; authorization O (PR only); call path O (resolve -> missing list -> agent clarification); async unchanged; configuration/deployment N/A.
CI note: GitHub currently exposes only a passing notification workflow, not a test gate; test evidence above is local execution. Full SQLite500/135 evaluation is running on immutable revision 3e53302.