Skip to content

test: CI/PR workflow validation#1

Draft
evgeny-boger wants to merge 6 commits intomainfrom
test/ci-validation-1771202533
Draft

test: CI/PR workflow validation#1
evgeny-boger wants to merge 6 commits intomainfrom
test/ci-validation-1771202533

Conversation

@evgeny-boger
Copy link
Member

Summary

  • Adds two test files to validate the CI and PR creation workflow
  • This is a throwaway branch for testing purposes

Test plan

  • Verify branch was pushed correctly
  • Verify draft PR was created
  • Delete branch after validation

🤖 Generated with Claude Code

evgeny-boger and others added 6 commits February 16, 2026 02:33
Defense-in-depth repo scope enforcement for the GitHub MCP proxy:
- Default-deny for unknown tools (allowlist of known tools)
- Search query scoping: auto-inject repo:OWNER/REPO, block org:/user: qualifiers
- Block non-repo-scoped tools (search_users, search_orgs, get_teams, etc.)
- Inject owner/repo when tools omit them
- Server-side tool filtering via X-MCP-Toolsets/Tools/Readonly/Lockdown headers
- Sensible default toolsets: repos,issues,pull_requests,git,labels
- Lockdown mode enabled by default
- VM cannot override X-MCP-* headers
- Skip body re-serialization when unmodified

Also adds GitHub App token generation scripts and comprehensive tests
(unit + end-to-end with mock upstream server).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Remove unused github_app_token.sh (only github_app_token_demo.py is
  used by claude-vm.sh)
- Document token generation flow: GitHub App device flow with
  repository_id scoping
- Rename "Security layers" to "Defense-in-depth" to clarify these
  are additional layers on top of GitHub's token scoping

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The VM is already sandboxed, so the interactive confirmation for
--dangerously-skip-permissions is unnecessary. Pass IS_SANDBOX=1
env var when launching claude CLI.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This is a test commit to validate the CI/PR workflow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Another test commit for workflow validation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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