Skip to content

mcpx: settle mrtr-missing-capability-error-32021 by its recorded disposition (#7845) - #11230

Merged
dezren39 merged 1 commit into
mainfrom
queue/20033-7845-mcpx-32021-disposition
Nov 17, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/20033-7845-mcpx-32021-disposition

Conversation

@dezren39

@dezren39 dezren39 commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Settles conformance row mrtr-missing-capability-error-32021 by its recorded disposition instead of its unconditional reading (#7845).

What the spec actually requires, per revision-conflicts.md section E item 8 (recorded 2026-11-11, #1974 sweep): -32021 is owed only where a capability is a hard requirement of the request itself. Elicitation never is in mcpx's server - a question is optional to the call - so for a gateway (mcpx_call) call needing input from a client that declared no capability, the gateway brokers the question when an answerer exists and fails -32021 only when none can answer (the #2434 decision-3 rule, implemented by the ask seam in internal/daemon/hooks.go, PR #10771). The unconditional -32021 reading in the matrix row is the losing side of the recorded contradiction; the broker routing in canAsk is deliberate and stays.

Changes:

  • internal/conformance/coverage_messages.go: the row's Gap entry is replaced with a tested entry naming the gateway-path oracle: daemon.TestElicitWithoutAnswererIsMissingCapability, daemon.TestSampleWithoutAnswererIsMissingCapability, daemon.TestAPresentAnswererKeepsTheQuestionOpen, and the unchanged pass-through oracle mcpserver.TestAPassThroughUpstreamsMissingCapabilityIsRelayed.
  • docs/spec/conformance-matrix.md: regenerated (MCPX_UPDATE_MATRIX=1); the row now reads tested with those oracles.
  • docs/spec/revision-conflicts.md: item 8 records the application of the disposition to the matrix, with the gateway behaviour stated explicitly.

No behaviour change: canAsk, the ask seam, and pass-through relay are untouched. The neighbouring truth-up in task 20711 (#2438 steps 3-4) owns other coverage gap rows and the ERR-08 / conflict #8 disposition; this PR touches only this row and item 8's application note, so the doc keeps one disposition per contradiction.

Verified on the branch: internal/conformance full suite passes (including TestMatrix), the four daemon audience tests pass, the pass-through test passes, gofmt clean.

Fixes #7845


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@dezren39
dezren39 requested a review from a team as a code owner November 17, 2026 10:40
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-17T10:40:54.033844Z
We couldn’t complete this review. Comment @codex review to try again.
b6fa7ff PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@coderabbitai

coderabbitai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 41 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f75bd691-b68e-43e7-bd70-0563574638e2
Commits

Reviewing files that changed from the base of the PR and between ad78d91 and f4bd9b1.

Files selected for processing: 3

  • pkgs/mcpx/docs/spec/conformance-matrix.md
  • pkgs/mcpx/docs/spec/revision-conflicts.md
  • pkgs/mcpx/internal/conformance/coverage_messages.go
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

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

Labels

None yet

Projects

None yet

1 participant