Repository navigation
Add end-to-end guard coverage for Copilot automation tools - #16801
Conversation
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
🔒 mcpg Read-Only Stress — defaultSurface coverage: MCP tool calls + proxied CLI (REST) + GraphQL mutations
Overall: INCONCLUSIVE No write leaked in any part (Overall is not FAIL). Gaps: Part B write tools never appear in the gh-aw
|
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for this test-only expansion of regression coverage across all 11 Copilot automation tools.
No open issues 🎉
What changed in this PR
Adds regression coverage for all 11 Copilot automation tools through the GitHub guard’s combined resource-labeling pipeline. The classification and labeling rules already exist; this PR changes tests only.
Changes:
- Checks read, write, and read-write classifications.
- Verifies public/private repository secrecy, personal-definition protection, and reader/writer integrity.
- Confirms descriptions retain repository and automation identifiers.
| File | Description |
|---|---|
guards/github-guard/rust-guard/src/lib.rs |
Adds table-driven pipeline coverage for all 11 automation tools across public and private repositories. |
Review effort: Balanced (adaptive)
The issue identified missing mutation classifications and DIFC rules for 11 Copilot automation tools. Those rules already exist in this checkout; this change adds regression coverage through the combined resource-labeling pipeline.
No production behavior changes.