Skip to content

fix: identify unresolved MCP business terms in a single check - #323

Open
seyoung4503 wants to merge 1 commit into
fix/mcp-negative-limitfrom
fix/mcp-definition-diagnostics
Open

seyoung4503 wants to merge 1 commit into
fix/mcp-negative-limitfrom
fix/mcp-definition-diagnostics

Conversation

@seyoung4503

@seyoung4503 seyoung4503 commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant