Add regression coverage for GitHub guard write operations - #11371
Conversation
Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Adds regression coverage ensuring eight GitHub mutations remain explicitly classified as write-only operations.
Changes:
- Verifies explicit
WRITE_OPERATIONSmembership. - Prevents accidental read-write reclassification.
Show a summary per file
| File | Description |
|---|---|
guards/github-guard/rust-guard/src/tools.rs |
Adds write-classification regression tests. |
Review details
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Balanced
🔒 mcpg Read-Only Stress — gVisorSurface coverage: MCP tool calls + proxied CLI (REST) + GraphQL mutations
Overall: INCONCLUSIVE
No writes leaked. No Part B, D, or E writes succeeded. References: §31988931905
|
🔒 mcpg Read-Only Stress — defaultSurface coverage: MCP tool calls + proxied CLI (REST) + GraphQL mutations
Overall: INCONCLUSIVE
No writes leaked. No FAIL. References: §31988931916
|
🔒 mcpg Read-Only Stress — docker-sbxSurface coverage: MCP tool calls + proxied CLI (REST) + GraphQL mutations
Overall: INCONCLUSIVE
No writes leaked. The run is INCONCLUSIVE (not FAIL) per methodology. References: §31988932124
|
Eight release, issue, comment, and repository mutations require explicit write classification to prevent DIFC guard bypasses.
create_release,edit_release,delete_release, and `upload_release_asset are writes.delete_issue,update_issue_comment,delete_issue_comment, anddelete_repositoryare writes.WRITE_OPERATIONSmembership.