Skip to content

Require canonical sources in MCP trigger writes - #427

Merged
asselstine merged 3 commits into
mainfrom
codex/fix-mcp-trigger-source-input
Nov 24, 2026
Merged

asselstine merged 3 commits into
mainfrom
codex/fix-mcp-trigger-source-input

Conversation

@asselstine

@asselstine asselstine commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Require explicit sources for the MCP create_trigger and update_trigger tools. A missing source list must fail rather than creating or replacing a configured trigger with only a manual source.
  • Do not accept the old events field. The REST trigger contract is unchanged.
  • Cover the advertised tool schema, canonical Linear webhook persistence, and rejection of invalid inputs without changing saved configuration.

Plugin metadata

The installed plugin catalog is managed outside this repository. If it still advertises events, refresh the custom MCP connection and verify the newly discovered tool definitions show sources. This PR does not change the installed catalog or subscribe a ChatGPT task to an Event.

Validation

  • All 8 MCP Events integration tests passed against disposable PostgreSQL.
  • Generated OpenAPI and docs validation passed; git diff --check passed.
  • Local Worker runtime was blocked by the sandbox; GitHub CI will verify the Worker lane.

@asselstine
asselstine marked this pull request as draft November 24, 2026 15:22
@asselstine asselstine changed the title Accept legacy MCP trigger source input Require canonical sources in MCP trigger writes Nov 24, 2026
@asselstine
asselstine marked this pull request as ready for review November 24, 2026 15:30
@asselstine
asselstine merged commit 4cf4c96 into main Nov 24, 2026
8 checks passed
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