Skip to content

Project MCP viewer fields from their declared type - #91

Merged
trissim merged 1 commit into
mainfrom
codex/release-viewer-wire-projection
Jul 30, 2026
Merged

Project MCP viewer fields from their declared type#91
trissim merged 1 commit into
mainfrom
codex/release-viewer-wire-projection

Conversation

@trissim

@trissim trissim commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

Make McpViewerConnectionToolFields select its own dataclass-declared fields before strict typed reconstruction.

Why

Viewer tools carry both connection fields and request-specific fields. The strict python-introspect constructor must receive the connection projection, not the full viewer request mapping. Field ownership is derived from the dataclass itself; there is no parallel field list.

Verification

  • nominal transport reconstruction test includes an unrelated route_key and passes
  • generated transport enum schema test passes
  • Ruff and diff checks pass

Copilot AI review requested due to automatic review settings July 30, 2026 09:18
@trissim
trissim merged commit e2d641b into main Jul 30, 2026
@trissim
trissim deleted the codex/release-viewer-wire-projection branch July 30, 2026 09:18

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@augmentcode

augmentcode Bot commented Jul 30, 2026

Copy link
Copy Markdown

PR Risk Analyzer Agent🛡️

👀 Human Input Needed
A pair-review briefing is ready for you.

→ Pair Review Briefing

@augmentcode augmentcode Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deep Code Review Agent🐛

Review completed with 0 suggestions.

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.

2 participants