fix: enforce required gstack across Claude Code and Copilot#2229
Open
time-attack wants to merge 6 commits into
Open
fix: enforce required gstack across Claude Code and Copilot#2229time-attack wants to merge 6 commits into
time-attack wants to merge 6 commits into
Conversation
Generate one Node CommonJS enforcement hook, fail closed when project context or the global install cannot be verified, and cover cmd and PowerShell execution paths. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Catch project hook resolution and load failures in the cross-shell Node launcher, returning a sanitized structured denial instead of a module-loader error. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
Merging to
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here |
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.
A project could say gstack was required but Copilot could still open a skill when gstack was missing. The official main branch reproduces this today.
Now Claude Code and Copilot stop the skill and explain how to install gstack. When gstack is installed, the skill opens normally.
What changed
Skillname and Copilot’s lowercaseskillname.Real-runner verification
Using Copilot CLI 1.0.70 with gstack deliberately absent:
RUNNER_SKILL_EXECUTED.success: false,code: denied, and never executed.Both CLI processes exited 0, so verification used the actual tool result and execution token rather than the process exit code.
Live repository gate
The identical probe failed on official main and passed with this branch:
Secondary checks
No version or release files changed.
This directly supersedes #2217 with the combined fix and real-runner verification.