Repository navigation
feat(antigravity): make Carbon High the sole default reviewer and exempt Root send_message <450k - #130
Merged
Conversation
…mpt Root send_message below 450k
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
gemini-4-carbon-highthe sole default adversarial reviewer (plan-rev,code-rev,sec-rev,sql-rev,editor-rev) across all Antigravity/Gemini rules, templates, skills (/start,/begin,/lifecycle,/start-small,/peer-pipeline-swarm,/comprehensive-code-review,/antigravity-orchestration,/future-model-router), andtracks.yamlmetadata (~117k=4 × 29.3k4-worker Peer-Pipeline Swarm boot floor).internal/catalog/catalog_test.go—thatclaude-opus-5-5-highis strictly opt-in and must never be spawned or used as a fallback unless explicitly requested by the user in chat (preserving Claude Code CLI's nativeCLAUDE.md/claude//shared/model: opusfrontmatter intact).send_messagein the Root Supervisor (not is_subagent and not is_swarm_worker) branch ofautonomous_breaker.pybelowbaton_hard_ceiling_tokens(<450kwhenBATON_HARD_CEILING_TOKENS > 0) so a warm Root Supervisor (310k–<450k) can relay mid-flight user instructions to active Child Orchestrators without trippingBaton WarnorBaton Block, while still blocking at>=450kand keepingis_subagent/is_swarm_workersend_messageexempt at all estimates.Background & Context
/startandpeer-pipeline-swarmdefaultedcode-revtoclaude-opus-5-5-high(45.0kfloor,~133k4-worker boot floor) while/start-smallusedgemini-4-carbon-high. Standardizing all default adversarial reviews ongemini-4-carbon-high(29.3kfloor,~117k4-worker boot floor) keeps default Antigravity review runs fast, uniform, and free of unintended Anthropic Opus spend unless explicitly requested in chat.TypeName: "self"Child Orchestrators (#129), a warm Root session (310k–<450k) needssend_messageexempted inis_baton_exempt_callto forward mid-flight user messages to an active Child Orchestrator, while still stopping at the450khard ceiling.Test Plan
PYTHONDONTWRITEBYTECODE=1 pytest -p no:cacheprovider -q internal/catalog/antigravity/hooks(135 passed, includingtest_root_send_message_allowed_below_450k_blocked_at_450k_and_subagent_always_allowedcovering320knon-consuming warn exemption,360k/445kallow,BATON_HARD_CEILING_TOKENS=0fallback block,>=450kblock, andis_subagent+is_swarm_workerallow at>=450k)PYTHONDONTWRITEBYTECODE=1 pytest -p no:cacheprovider -q internal/catalog/shared/skills/...(773 passedtotal across all Python suites)test -z "$(gofmt -l .)" && go vet ./... && go test -count=1 ./...(all 9 Go packages pass, includingTestAntigravityCarbonHighSoleDefaultReviewerInvariants)./scripts/sync-antigravity-from-local.sh(verified byte-for-byte~/.gemini/parity and zero PII/secret/host-path matches)Rollback Plan
git revert <sha>) and re-runskill-installer --target=antigravity --global --track=opinionated --yesto restore the previous Antigravity catalog rules and hook.