Skip to content

feat(antigravity): make Carbon High the sole default reviewer and exempt Root send_message <450k - #130

Merged
futuregerald merged 1 commit into
mainfrom
feat/carbon-high-only-default-reviewers
Nov 18, 2026
Merged

futuregerald merged 1 commit into
mainfrom
feat/carbon-high-only-default-reviewers

Conversation

@futuregerald

Copy link
Copy Markdown
Owner

Summary

  • Make gemini-4-carbon-high the 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), and tracks.yaml metadata (~117k = 4 × 29.3k 4-worker Peer-Pipeline Swarm boot floor).
  • Document explicitly across Antigravity configs and skills—and enforce in internal/catalog/catalog_test.go—that claude-opus-5-5-high is 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 native CLAUDE.md / claude/ / shared/ model: opus frontmatter intact).
  • Exempt send_message in the Root Supervisor (not is_subagent and not is_swarm_worker) branch of autonomous_breaker.py below baton_hard_ceiling_tokens (<450k when BATON_HARD_CEILING_TOKENS > 0) so a warm Root Supervisor (310k–<450k) can relay mid-flight user instructions to active Child Orchestrators without tripping Baton Warn or Baton Block, while still blocking at >=450k and keeping is_subagent / is_swarm_worker send_message exempt at all estimates.

Background & Context

  • Previously, /start and peer-pipeline-swarm defaulted code-rev to claude-opus-5-5-high (45.0k floor, ~133k 4-worker boot floor) while /start-small used gemini-4-carbon-high. Standardizing all default adversarial reviews on gemini-4-carbon-high (29.3k floor, ~117k 4-worker boot floor) keeps default Antigravity review runs fast, uniform, and free of unintended Anthropic Opus spend unless explicitly requested in chat.
  • With Thin Root Supervisor + disposable TypeName: "self" Child Orchestrators (#129), a warm Root session (310k–<450k) needs send_message exempted in is_baton_exempt_call to forward mid-flight user messages to an active Child Orchestrator, while still stopping at the 450k hard ceiling.

Test Plan

  • PYTHONDONTWRITEBYTECODE=1 pytest -p no:cacheprovider -q internal/catalog/antigravity/hooks (135 passed, including test_root_send_message_allowed_below_450k_blocked_at_450k_and_subagent_always_allowed covering 320k non-consuming warn exemption, 360k/445k allow, BATON_HARD_CEILING_TOKENS=0 fallback block, >=450k block, and is_subagent + is_swarm_worker allow at >=450k)
  • PYTHONDONTWRITEBYTECODE=1 pytest -p no:cacheprovider -q internal/catalog/shared/skills/... (773 passed total across all Python suites)
  • test -z "$(gofmt -l .)" && go vet ./... && go test -count=1 ./... (all 9 Go packages pass, including TestAntigravityCarbonHighSoleDefaultReviewerInvariants)
  • ./scripts/sync-antigravity-from-local.sh (verified byte-for-byte ~/.gemini/ parity and zero PII/secret/host-path matches)

Rollback Plan

  • Revert this commit (git revert <sha>) and re-run skill-installer --target=antigravity --global --track=opinionated --yes to restore the previous Antigravity catalog rules and hook.

@futuregerald
futuregerald merged commit 09db45f into main Nov 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant