ci: sync the Antigravity reviewer with the hardened template #338
All Vouch review confidence checks passed
Residual risk 0.24 = Change Risk (0.46) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.46 · 472 lines diff across 5 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.368
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #338"
general
weight: 0.35
cursor[bot]
Re-syncs the vendored Antigravity PR reviewer with the hardened
antigravity-pr-reviewtemplate (1451f73).Why
The reviewer runs
agywith--dangerously-skip-permissionson an untrusted diff. The old copy ran it from the checkout, so a prompt injection could plant.git/hooksor.git/configthat a later token-bearinggitcall would execute. It also passed agy every job environment variable exceptGH_TOKENandGITHUB_TOKEN.Changes
HOME(no MCP servers, skills, hooks or other repositories), read-only/usrand/etc, and a D-Bus proxy that exposes only its own keyring item. Verified: in the jail agy cannot read~/.config/ghor any repository, has no MCP tools, and theghtoken's keyring item and the bulkGetSecretscall areAccessDenied.$RUNNER_TEMPwith an allowlisted environment, and post-agygitignores hooks. Verified live on doublegate/Orbic-Rayhunter#1:/procshowed the sandbox as cwd and the only--add-dir, and plantedACTIONS_RUNTIME_TOKENandDATABASE_URLcanaries were absent from agy's environment.Checks run
bash scripts/agy-review-selftest.sh: all checks passedactionlinton the workflowNote: this PR's own review runs the scripts already on the default branch; the new copy takes effect after merge.
🤖 Generated with Claude Code
<!-- CURSOR_SUMMARY -->
---
<!-- /CURSOR_SUMMARY -->