feat(#1957): wire gh-identity plugin into workspace-server - #2024
Merged
Merged
Conversation
This was referenced Apr 24, 2026
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.
Summary
Cherry-pick f190ff4 from
feat/1957-gh-identity-plugin-wireup(PR #1977, closed due to stale base SHA). Rebuilt cleanly from current staging HEAD.Changes
github.com/Molecule-AI/molecule-ai-plugin-gh-identitydependency to go.mod (v0.0.0-20260424033845)provisionhook.NewRegistry()in main.go alongside github-app-auth plugin (usesRegistry.Mutators()to merge chains)MOLECULE_AGENT_ROLEinjection in both provision paths (provisionWorkspace + provisionWorkspaceCP) for role-aware plugin attributionRegistry.Mutators()method to pkg/provisionhook/mutator.go for cross-plugin registry mergingMotivation
Tracks molecule-core#1957 — gh-identity plugin needs
MOLECULE_AGENT_ROLEinjected into workspace env vars at provision time so the plugin can perform per-agent attribution via env injection + gh wrapper.Test plan
🤖 Generated with Claude Code