What's Changed in v1.6.3
🛡️ Prompt Hardening Against Unverified Sweeping Claims
-
No Unverified Universal Affirmations: Explicitly instructs Gemini to avoid making sweeping, universal, or exhaustive assertions (such as "all actions/dependencies are pinned to SHAs" or "all endpoints validate input") in prose fields (
summaryandgeneral_feedback) unless verified across every occurrence in the diff (#43, #45). -
Zero-Cost & Zero-Latency Quality Guard: Fixes unanchored praise directly at the prompt/instruction level, eliminating false-positive compliments without introducing the latency penalty or
$2\times$ token cost multiplier of a multi-pass verification critic loop. -
Synchronised Fallback & Test Coverage: Updated both
gemini-review.tomland the default fallback base prompt inload_system_instruction, backed by unit test coverage.
📜 Rolled-In Highlights from Previous Releases
v1.6.2: Vertex AI Billing Cost Attribution & Commit Status De-duplication
- Vertex AI Billing Labels: Automatically attaches
component=gemini-review-actionandrepo=owner_repolabels to Vertex AI API requests for direct Cloud Billing cost attribution and export aggregation. - GitHub API Exponential Backoff & Retry: Adds automatic retries for transient GitHub 5xx server errors and network resets.
- Accurate Commit Status Signals: Eliminates duplicate Commit Status API calls during standard
pull_requestruns while preserving updates for slash-command/gemini-reviewretries. - Pricing Refinements: Zero-rate cache read pricing support and storage caveats for token-based cache pricing models.
v1.6.1: Cost Estimation Telemetry & Fork PR Security
- Dollar Cost Reporting: Automatically calculates and reports estimated review costs directly in the tokenomics summary table based on published rates, cached input discounts, and promotional pricing.
- Fork PR Security Workflow: Gracefully skips automatic PR runs from external forks where secrets are inaccessible, guiding maintainers to trigger reviews securely via
/gemini-review. - No Silent Drops: Validates that GitHub accepted review payloads and fails loudly in CI if delivery fails.
v1.6.0: Dynamic Context Selection in Sparse Mode
- AI-Powered Dynamic Context Selection: When repository size exceeds the sparse threshold (1.5 MB), Gemini dynamically evaluates candidate files and selects up to 8 of the most relevant modules (callers, dependencies, tests, utilities) to include in full context.
- Core Safeguard Budget: Guaranteed inclusion of core config and documentation files (
README.md,pyproject.toml,package.json, etc.).
v1.5.2: Default Model Upgrade to Gemini 3.7 Flash
- Upgraded default model across reviews and issue triaging to
gemini-3.7-flash.
v1.5.1: Code Suggestion Sanitisation & Auto-Indentation
- Sanitised inline code suggestion formatting by stripping outer fences, line-number prefixes, and auto-aligning indentation to match target code nesting.
v1.5.0: Multi-Axis Code Quality Review Directives
- Enhanced review prompt directives with senior engineering evaluation standards, constructive structural remedies, and refined dependency discipline.
Full Changelog: v1.6.2...v1.6.3