Repository navigation
ci: re-sync the Antigravity reviewer with the hardened template - #263
Conversation
Re-syncs the vendored reviewer scripts and .github/AGY-REVIEWER.md byte for byte from the antigravity-pr-review template at 023b552. Local workflow overrides are preserved. - Jail (AGY_ISOLATION=bwrap): agy's own --sandbox does not confine reads, so agy runs in a bubblewrap jail. It gets an empty private HOME, read-only /usr and /etc, and only the review sandbox writable. D-Bus goes through an xdg-dbus-proxy that allows GetSecret on agy's own keyring item only. - Egress (AGY_EGRESS=filtered): the jail's only network path is a CONNECT proxy for exact Google hosts. Every allowed host is TLS-intercepted with a per-run CA, and each request is rebuilt with the proxy's own Host header and a body forwarded exactly once, which blocks Host-header fronting to Cloud Storage. AGY_EGRESS_PATH_RULES limits www.googleapis.com to the userinfo call. - Output: credential-shaped strings are redacted, and the comment says so. The archive and the assembled body are re-scanned, and anything redaction cannot remove stops the post. - The environment is an allowlist; the checkout is never agy's workspace; the egress log carries verdict counts only. Verification: agy-review-selftest.sh all checks passed; actionlint clean. The same scripts are live on nine other repositories. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: c3f9a46e-750b-4863-b8fb-7d489470faa4) |
Antigravity review (Gemini via Ultra)Re-syncs the Antigravity PR reviewer workflow, scripts, documentation, and self-test suite with the hardened template (adding a Blocking issuesNone found. Suggestions
Nitpicks
Automated first-pass review by |
Summary
Re-syncs the vendored Antigravity PR reviewer from the
antigravity-pr-reviewtemplate at023b552. This repository's own workflow overrides are preserved. The same scripts are already merged on nine other repositories (RustyNES_MiSTer, CrypTrade, RustySNES, Rusty2600, VeridianOS, GH-ListRollup, Infinity-Context, CyberChef-MCP, Orbic-Rayhunter).AGY_ISOLATION=bwrap): agy runs in a bubblewrap jail. It gets an empty privateHOMEand read-only/usrand/etc, and only the review sandbox is writable. D-Bus is filtered to agy's own keyring item.AGY_EGRESS=filtered): the jail's only network path is a TLS-intercepting proxy. It allows exact Google hosts only and rebuilds every request, which blocksHost-header fronting to Cloud Storage.Note on this PR's own review
A PR is reviewed by the reviewer on the default branch, so this PR's review still runs the previous reviewer. The new one takes effect once this merges.
Verification
bash scripts/agy-review-selftest.sh: all checks passed.actionlint: clean.🤖 Generated with Claude Code
Note
High Risk
Changes how untrusted PR diffs execute on a self-hosted runner (jail, network proxy, credential handling); bugs could break reviews or weaken isolation, though the direction is defensive and heavily self-tested.
Overview
Re-syncs the Antigravity PR reviewer scripts and docs from the hardened template while keeping this repo’s workflow overrides.
agy-review.shis the bulk of the change:agyruns in a bubblewrap jail (emptyHOME, filtered D-Bus to its keyring item, private temp sandbox instead of writing large diffs under.agy-review-work/), gets an allowlistedenv -ienvironment, and on filtered egress uses an embedded TLS-intercepting CONNECT proxy with exact host/path rules so reviews cannot exfiltrate tokens via arbitrary HTTPS. Credential-shaped output is redacted (with fail-closed posting) and archived rounds are redacted and cumulative “dropped rounds” counts are preserved via newagy_body_dropped_count.The workflow raises
timeout-minutesto 80 andAGY_LOCK_WAITto 1860 (queue behind other repos’ reviews), bumps default print-timeout guidance to 10m, and skips the review step with a warning whenscripts/agy-review.shis missing on the default branch.agy-review-selftest.shgrows large to pin jail/egress/proxy behavior, cleanup ordering, UTF-8/script capture fixes, and lock/timeout budgeting..github/AGY-REVIEWER.mddocuments the security model and drops the requirement to append/.agy-review-work/to.gitignore.Reviewed by Cursor Bugbot for commit 83aeedf. Bugbot is set up for automated code reviews on this repo. Configure here.