A version change can move the authorization boundary

Google's September 17 release note replaces the May preview with antigravity-preview-09-2026. Remote runs that consume only text need the new agent identity; local tool dispatch and parsed function calls get a new file contract. File parameters now use PascalCase, and editing moves from whole-file writes to range replacements. The new edit tool is replace_file_content, with TargetFile, StartLine, EndLine, TargetContent, and ReplacementContent.

That raises the application's question: which observed file state authorizes that exact change? A syntactically accepted tool call can still target an obsolete range after a human inserts a line. This note develops an original, unexecuted fixture for one disposable file. It neither changes Kumyu's tool runner nor invokes a paid agent.

The deprecation table lists October 5, 2026 for the May preview and cautions that listed dates are the earliest possible retirement dates. As of this October 4 observation, that is an announced boundary, not evidence of a completed shutdown. Do not keep an old request dispatcher as a silent recovery branch.

From screen actions to a concrete file contract

Anthropic's October 2024 computer-use announcement made screen observation and action a public agent interface. Google's May 19, 2026 release-note section introduced its managed Antigravity preview; the September section changes its file contract. These are distinct provider events, not a claim that one product descends from the other. The durable engineering problem is keeping a proposed action tied to the environment that produced it.

The current Antigravity guide describes a Google-hosted Linux environment and supports restricting tools. A hosted execution environment and a local dispatcher have different owners, so note which side a hook claim covers before applying it. This note does not infer the local dispatcher API or the provider's line-index conventions from an abbreviated release table.

  1. 1Proposal: one permitted file and its current digest
  2. 2Observe the intended range
  3. 3Propose one replacement
  1. 1Authorization: tool identity, path, and state check
  2. 2Authorize the exact edit
  3. 3Verify the resulting file
  1. 1Rejection: unknown tool, changed digest, or mismatched target
  2. 2Reject before mutation
  3. 3Record the reason
Consider the sequence and each role.

This original schematic separates the contract's proposal, authorization, and rejection stages.

A hook that exists may not cover the action

The official hook documentation matches container tool names using RE2 patterns. Its suffix example does not include replace_file_content; a rule covering names ending in _file leaves that edit operation uncovered. Audit coverage against the actual tool identities, including shell execution as a separate path to modifying files.

The same document treats a crash, HTTP error, timeout, or unrecognized decision JSON as approval. An explicit denial cancels the call, but an unavailable hook is not a denial, so a remote pre-tool hook alone cannot satisfy a requirement that authorization failures stop mutation. This is documented provider behavior, not a penetration-test result.

For a local implementation, the policy proposed here is direct: evaluate permission inside the sole mutation path and proceed only on an explicit success. An unknown name, invalid arguments, unavailable policy, or a failed state comparison terminates the request. For a hosted design whose only veto is the documented hook, keep sensitive writes disabled until a separate enforced boundary exists. Adding prompt text or hook patterns does not change the runtime's failure semantics.

Rehearse one edit with disposable state

Use an offline worksheet before implementing an integration; number its lines from one for readability, and verify the provider's range and newline semantics separately before a real call. The fixture has three lines — name=demo, mode=draft, owner=fixture — and the only permitted change is the middle line to mode=reviewed. These strings are original exercise data.

Case Condition Required worksheet outcome
Authorized edit Current file digest, exact target text, allowed file and new tool identity One replacement; the first and third lines are unchanged.
Concurrent insertion A line is inserted after observation Reject the stale digest before writing.
Wrong text The range no longer contains the recorded target Reject; do not search for another occurrence.
Escaping path The proposed path resolves outside the fixture, including a symbolic link Reject before opening a writable handle.
Policy failure The checker times out or gives no valid decision Reject and leave bytes unchanged.
Obsolete request Old tool name or old parameter casing Reject the unsupported contract.

A local implementation must make the state comparison and the mutation one serialized operation on that file; checking a digest, releasing the file, and writing later opens a race. Keep the target unavailable to concurrent writers for this small rehearsal, and do not build a reusable editing framework before a second consumer needs one. Verify the final bytes, not the success message. A correct diff can still fail a project build, so define a separate semantic check for the file.

Diagnose the first failed boundary

Record tool identity, normalized path, input digest, decision, expected diff, final digest, elapsed time, and stop reason. Use only the disposable file; logging a production file or a full function payload can expose secrets. A schema rejection points at the contract, a digest mismatch at stale observation, and unexpected final bytes at a mutation or concurrency problem — keep these separate from model task quality.

Set one request deadline and a small file-size limit. Offline work consumes time and local resources; a later hosted rehearsal may incur model, sandbox, network, and storage costs, so check current account terms before authorizing one. No agent request, remote file write, hook-failure injection, or performance/security benchmark was executed for this article; the proposed outcomes are acceptance criteria, not measurements.

Community reports need the right product identity

The readable September 23 Reddit thread discusses desktop v2.16.0, WSL, and reopening conversations. Comments describe Linux model availability and an IDE-extension edit-replay problem; exact builds, payloads, and reproductions are absent. These are community reports about particular surfaces; they verify neither Gemini API file tools nor hosted hooks. Their useful lesson is to record product surface and version before diagnosing an apparent regression.

Continue with the computer-use evaluation worksheet; this note adds file-contract and authorization-failure cases to its observed-state discipline. It claims neither a successful migration nor an automatically safe agent.

MENTAL MODEL / REASONING ORDER

From an announcement to your own decision.

Primary sources

Compare the announcement with the conditions in the paper and official documentation.

Sources

Publication dates belong to the source; access dates record when it was checked. Community observations are separate from official statements.

01
Gemini API release notes — September 17 and May 19 sections ↗ai.google.devPublished: 2026-09-17 · Accessed: 2026-10-04
02
Gemini API Antigravity agent guide ↗ai.google.devPublished: Unknown · Accessed: 2026-10-04
03
Gemini API agent hooks — matcher and failure semantics ↗ai.google.devPublished: Unknown · Accessed: 2026-10-04
04
Gemini API deprecations — managed agents ↗ai.google.devPublished: Unknown · Accessed: 2026-10-04
05
Anthropic: Introducing computer use ↗www.anthropic.comPublished: 2024-10-22 · Accessed: 2026-10-04
06
Reddit google_antigravity: Antigravity 2 release v2.16.0 ↗www.reddit.comPublished: 2026-09-23 · Accessed: 2026-10-04
Saved in this browser only.