Repository navigation
feat(plugins): pass trusted caller identity to commands - #2
Merged
djgilcrease merged 1 commit intoNov 10, 2026
Merged
Conversation
djgilcrease
added a commit
that referenced
this pull request
Nov 17, 2026
…ntext feat(plugins): pass trusted caller identity to commands
djgilcrease
added a commit
that referenced
this pull request
Nov 18, 2026
…ntext feat(plugins): pass trusted caller identity to commands
djgilcrease
added a commit
that referenced
this pull request
Nov 19, 2026
…ntext feat(plugins): pass trusted caller identity to commands
djgilcrease
added a commit
that referenced
this pull request
Nov 20, 2026
…ntext feat(plugins): pass trusted caller identity to commands
djgilcrease
added a commit
that referenced
this pull request
Nov 22, 2026
…ntext feat(plugins): pass trusted caller identity to commands
djgilcrease
added a commit
that referenced
this pull request
Nov 23, 2026
…ntext feat(plugins): pass trusted caller identity to commands
djgilcrease
added a commit
that referenced
this pull request
Nov 24, 2026
…ntext feat(plugins): pass trusted caller identity to commands
djgilcrease
added a commit
that referenced
this pull request
Nov 26, 2026
…ntext feat(plugins): pass trusted caller identity to commands
djgilcrease
added a commit
that referenced
this pull request
Nov 27, 2026
…ntext feat(plugins): pass trusted caller identity to commands
djgilcrease
added a commit
that referenced
this pull request
Nov 28, 2026
…ntext feat(plugins): pass trusted caller identity to commands
djgilcrease
added a commit
that referenced
this pull request
Nov 29, 2026
…ntext feat(plugins): pass trusted caller identity to commands
djgilcrease
added a commit
that referenced
this pull request
Dec 1, 2026
…ntext feat(plugins): pass trusted caller identity to commands
djgilcrease
added a commit
that referenced
this pull request
Dec 2, 2026
…ntext feat(plugins): pass trusted caller identity to commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Project-scoped plugins cannot safely use agent-supplied project IDs: existing command handlers only receive untrusted JSON. Pass a separate optional SDK invocation context through the isolated worker protocol, with audience and authenticated environment/project/thread identity for thread MCP callers. Unscoped external MCP and peer-plugin calls carry no project identity; existing handlers remain compatible.
The host resolves identity from the credential's current thread, preserves descriptor permissions and the full-access/default write gate, and rejects stale thread callers. The external Shared Project Memory consumer lives in https://github.com/digitalxero/t3-project-memory; no memory feature or server-internal dependency is added here.
Validation: the new MCP assertion fails against the original handler (undefined context), then passes with this change. All 20 focused MCP and real worker-isolation tests pass.
vp run check:changed origin/t3/create-plugin-system --concurrency 1passes format, lint, knip, GraphQL, affected typechecks and all 45 selected tests. Only generic SDK/server boundaries changed; web/desktop/mobile use their existing plugin renderer. This does not claim native mobile or Electron runtime verification.Implemented by gpt-6.1-sol (high) through the Codex harness on behalf of Dj Gilcrease.