Repository navigation
chore(vendor): sync bridge grant rules from vscode_client - #172
Merged
Merged
Conversation
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.
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.
After vscode_client PR #204 changed the canonical bridge's grant rules, this repo's vendored copy was one of the workspace contract drifts. The old
vendor/bridge/grant.tsencoded every path again and scanned every binary suffix on each check.I synced
vendor/bridgefrom vscode_clientorigin/mainwith this repo'sscripts/sync-engine.sh, using a read-onlygit archiveexport of the canonical revision because the sibling checkout belongs to another thread and is behind. No repo-local vendor change was lost: the script reports the copy identical to the canonical source, and the only tracked change isvendor/bridge/grant.ts.Proof:
The 2 remaining drifts are in
mcpandweb_client, owned by their own threads; this repo's comparisons are clean.scripts/ci-local.sh allpassed lint, typecheck, 182 companion tests, links, and all 18 headless Lua files. Local e2e still cannot start because this worktree has no siblingreference_servercheckout orselvagedbinary; that is a pre-existing environment gap. With the synced bridge, the companion's cached grant reports remain faster than uncached validation: 100k synthetic paths measured 46.8 ms uncached versus 2.2 ms warm.Reviewed with review-loop: 1 round with opencode-go/hy4-flash-free. verdict: approved
Created with opencode-go/hy4-flash-free in pi.
Summary by CodeRabbit