Skip to content

fix: refuse malformed MCP quote data - #7

Open
kkkhs wants to merge 1 commit into
jbisaccia-9:mainfrom
kkkhs:agent/malformed-mcp-quote
Open

fix: refuse malformed MCP quote data#7
kkkhs wants to merge 1 commit into
jbisaccia-9:mainfrom
kkkhs:agent/malformed-mcp-quote

Conversation

@kkkhs

@kkkhs kkkhs commented Aug 29, 2026

Copy link
Copy Markdown

What does this change?

Closes #4. Malformed MCP quote payloads now fail closed as missing quotes instead of raising out of the connector. The toy MCP server can emit bad quote data, and the regression test asserts quote-sanity refuses the order.

Why?

Unparseable quote data should stop an order at the existing quote-sanity gate rather than escaping the gate stack as a connector exception.

Checklist

  • Gate/eval suite still passes locally
  • Any threshold change is in config, with a reason in this PR description
  • No real PII, credentials, or proprietary data added

@jbisaccia-9
jbisaccia-9 marked this pull request as ready for review September 4, 2026 15:21
@jbisaccia-9

Copy link
Copy Markdown
Owner

Thanks for contributing! This is a solid fix.

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.

Add a malformed-JSON-RPC toy MCP server case -> quote-sanity refusal

2 participants