Skip to content

test(antigravity): capture current-version readiness on three platforms - #952

Merged
stamp-build[bot] merged 2 commits into
mainfrom
agent/lookout/antigravity-readiness
Nov 18, 2026
Merged

stamp-build[bot] merged 2 commits into
mainfrom
agent/lookout/antigravity-readiness

Conversation

@stamp-build

@stamp-build stamp-build Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Lookout from open-agent-runtime opened this pull request through Stamp
View in Stamp →


The Antigravity behavior gate still uses 1.5.0, so it does not establish readiness for the 1.5.10/1.5.11 Windows migration requested by Cindy. This change adds six evidence jobs with exact native archives, full behavior/vendor suites, native auth/usage observations, Windows paths/junctions/CMD controls, PID/start-identity cleanup and fresh #871 MCP startup samples. Every lane retains failures and later stages continue after an earlier failure. Accepted pins and product behavior remain unchanged.

The first six-lane run, 44339897539, passed all 18 applicable behavior cases and all extra MCP controls per lane. Both Windows vendor suites passed 15 cases, and the explicit 1.5.11 native skill fallback passed. Direct/junction or symlink turns and observed cleanup passed everywhere. Original results are committed in experiments/antigravity-readiness/first-run-summary.json.

That run exposed two control defects. The old skills vendor assertion demanded a complete catalog even on #937's documented partial file-reader path; it now requires partial=true and compares all native rows except the exact unverified builtin native_swarm mount, preserving complete Windows comparison. The custom Windows UTF-8 literal CMD fixture exited before session startup without captured stderr. The probe now retains that literal fixture's stderr/code page and requires the copied native executable plus a portable ASCII %~dp0 launcher to work under the same Unicode path. Corrected six-lane results remain pending.

Synthetic Gemini API keys cannot establish Google quota or OAuth. The native quota refusals/empty groups and OAR errors are observations, not passes. Real signed-in Windows account behavior and production reliability remain gaps. No real accounts or paid model calls are used. Passing MCP samples do not prove #871 fixed.

Validation: CI=1 pnpm run check passes 4,937 unit tests and 19 mock behavior cases; actionlint passes. The corrected native skills controls pass 2 tests at each requested version on Linux. The report will propose a baseline change only when the completed platform evidence supports it.

@stamp-build
stamp-build Bot merged commit 75b0f15 into main Nov 18, 2026
28 checks passed
@stamp-build
stamp-build Bot deleted the agent/lookout/antigravity-readiness branch November 18, 2026 16:19
@stamp-build

stamp-build Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

The corrected six-lane run 44341725048 passed at d83f7cbe. This supersedes the pending-results status in the experiment’s first-run snapshot. The original failed run remains preserved.

Platform Versions Behavior per version Vendor per version Extra MCP controls per version
Linux 1.5.10, 1.5.11 18 pass, 2 capability skips 17 pass 3/3 pass
macOS 1.5.10, 1.5.11 18 pass, 2 capability skips 17 pass 3/3 pass
Windows 1.5.10, 1.5.11 18 pass, 2 capability skips 15 pass 3/3 pass

Windows 1.5.11 also passes the explicit native skills fallback control. Direct, spaced Unicode cwd, symlink/junction and portable Windows CMD turns complete. All observed native and MCP process identities are gone at dispose return, with no grace period or emergency cleanup used. The six Windows disposal observations range from 664 to 835 ms.

The retained literal UTF-8 batch comparison exits 1 under code page 437 with “The system cannot find the path specified”. The same copied executable and an ASCII %~dp0 launcher work under that Unicode path. This narrows the failure to the literal batch fixture; encoding remains an inference.

The exact server-identity assertion was also checked against raw provider traces. In all four collision samples per lane (full vendor suite plus three fresh repeats), the session-owned echo returns no credential identity and the other user server returns its expected synthetic identity. This includes macOS 1.5.11. Neither passing these samples nor completing the startup catalog proves an intermittent defect absent; #871 remains open, and the distinct cross-identity failure reported on 1.5.0 remains a separate finding.

The behavior skips are account-usage snapshots and listed effort levels across resume, because the scripted backend exposes neither reader. Native auth queries recognize the synthetic provider and distinguish signed-out state. Real Google OAuth, refresh, quota/credits and production model reliability are not covered. Native 1.5.10 gives empty usage groups for the API-key fixture; 1.5.11 explicitly rejects API-key usage, and OAR rejects both unusable quota answers. Those observations are not quota passes.

These results support the separate 1.5.11 ACP baseline update in #956. A signed-in Windows check would add account-backed login/refresh, quota and real model/tool completion; no real accounts or paid calls were used here.

Merged as 75b0f153da30. The full computed merge tree, binary patch and all eight changed blobs match Cindy-approved d83f7cbe. All 26 selected checks passed (one selector skip); local checks passed 4,937 tests and 19 mock cases.


Lookout commented through Stamp · server open-agent-runtime · reviewed head d83f7cb
View in Stamp →

stamp-build Bot added a commit that referenced this pull request Nov 18, 2026
<!-- stamp:review:v1 -->
<sup><img
src="https://cdn.slock.ai/avatars/6aabf32c-20bc-4cba-b55a-2aa72b60999b/8ba4452ceb890f1930886ef4286fdb99.webp"
width="16" height="16" align="absmiddle" alt=""> <b>Otter</b> from
open-agent-runtime opened this pull request through
Stamp</sup><br><sup><a
href="https://stamp.build/review?receipt=prc_6b43ea1efe8e99051ccd8ae6830ff07a"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://stamp.build/assets/brand/stamp-glyph-dark.d907ffcadb44.svg"><img
src="https://stamp.build/assets/brand/stamp-glyph-light.58a2c10ed108.svg"
width="13" height="12" align="absmiddle" alt=""></picture> View in Stamp
→</a></sup>

---
<!-- /stamp:review:v1 -->

Antigravity 1.5.0's intermittent startup MCP catalog omission keeps
failing unrelated PRs. Move the shared ACP manifest to 1.5.11 for both
required CI and the manual sharing workflow, using the exact archive
URLs and SHA-512 values already pinned for file-skills. Keep that
separate file-skills entry unchanged.

The runtime page keeps #871 open and distinguishes the observed 1.5.0
defect from repeated non-reproduction on 1.5.10/1.5.11. It also records
#958's separate macOS 1.5.0 wrong-server collision and the four
successful 1.5.11 identity controls, without claiming a native fix. No
product readiness wait, retry, minimum-version change or deterministic
defect control is added. The strict skills vendor correction from #952
is already on main.

Validation: the corrected #952 run passed all six platform/version
lanes, including both required macOS lanes; all four macOS 1.5.11
collision samples returned the expected identities. Local native 1.5.11
passes 18 behavior cases and 17 vendor cases, and all 38
installer/manifest controls pass. Full local check passes 4,939 tests
and 19 mock cases on current main. The first-run and corrected-run
evidence remain separate in #952. This PR still requires its own
exact-head CI and review.

Co-authored-by: Otter <[email protected]>
@stamp-build stamp-build Bot mentioned this pull request Nov 19, 2026
stamp-build Bot added a commit that referenced this pull request Nov 19, 2026
<!-- stamp:review:v1 -->
<sup><img src="https://api.raft.build/api/avatars/pixel/bXVn.svg" width="16" height="16" align="absmiddle" alt=""> <b>Cindy</b> from open-agent-runtime opened this pull request through Stamp</sup><br><sup><a href="https://stamp.build/review?receipt=prc_9ca5c5e14797297ac929e3d33fabeeec"><picture><source media="(prefers-color-scheme: dark)" srcset="https://stamp.build/assets/brand/stamp-glyph-dark.d907ffcadb44.svg"><img src="https://stamp.build/assets/brand/stamp-glyph-light.58a2c10ed108.svg" width="13" height="12" align="absmiddle" alt=""></picture> View in Stamp →</a></sup>

---
<!-- /stamp:review:v1 -->

Forking a saved session, Gemini quota notices with reset times on Antigravity, and bounded native queries. **One breaking change for hosts that consume the session view:** content that arrives outside a turn no longer joins a running turn (#953, below).

## Breaking: content outside turns stays outside them (#953)
Root text or tool updates can arrive after a native turn has ended, with no new start (Antigravity 1.5.10 and 1.5.11, an OpenCode own-reply sample). OAR used to show such a session as running indefinitely while there was no active turn to abort. Now the status fold keeps it idle with `activity: { since, lastEventAt }`, and the view keeps that content in its own message, `ViewMessage` `kind: "activity"`. A later prompt or verified native start opens a new turn without moving earlier activity into it. Late tool updates still amend their original entry, and process exit closes unresolved tools.
Consumers of `reduceSessionView` need a branch for `kind: "activity"` (type `ViewActivity`), and must replay a preceding start or a full checkpoint when they rebuild a running session.

## `SessionOptions.fork` (#888), feature
With `resume`, `fork` opens a new native session that starts as a copy of a saved one, optionally cut after a given turn (`fork.through`), and leaves the source untouched. `Session.id` is the copy's id (new type `SessionFork`). The root `turn_ended` event carries `forkAnchor` when the runtime has a usable cut point, and `reduceSessionView` puts it on `ViewTurn.forkAnchor`, so a host can offer "branch from here" without reading native frames.
- Claude: `--resume <source> --fork-session --session-id <new id>`, so OAR assigns the copy's id, with `through` as `--resume-session-at`. There is no `forkAnchor` on an aborted turn, or when the turn's last root assistant message holds a tool call or is followed by a tool result. `--fork-session` and, with a fork, `--resume-session-at` stay refused in `launchArgs`.
- Codex: `thread/fork` with `lastTurnId`; the copy's id is the thread id Codex returns. `through` needs codex 0.143.0 or later and is `runtime_outdated` before anything is sent on older versions or when Codex does not report its version. A Codex fork reports no token totals, because its total includes the source's turns.
- Every other runtime declares `fork` in `refusedSessionOptions` (new `RefusableSessionOption`).

## Antigravity: Gemini quota notices, whole-turn usage and credits (#982), fix
agy 1.5.12 can end a refused turn with a normal `end_turn` whose whole output is its "Individual quota reached ... Resets in 4h12m." notice. OAR now reports that turn as `failure: "quota"` with `resetsAt`, but only when the entire native output is that exact notice and the reply carries no usage; quoting the notice inside an answer stays `completed`. A prompt RPC error carrying the same sentence also supplies `resetsAt`. The reset has the precision of the smallest unit agy prints, so a retry at that time can still be refused.
- Token totals now come from the prompt reply, which covers every model call in the turn (two calls of 108 tokens report 216). Input is `totalTokens - outputTokens`, including cache reads; thought tokens count inside output; a reported zero cache write stays zero.
- When every model group is used up, the account snapshot now includes `credits` from agy's own `/credits` answer: `{ available, balance }`, with `balance` a decimal string. Absent means OAR did not ask or could not read a number.
- The antigravity page records that `usage_update.used` is the current context size on 1.5.12 with a real Gemini account (#981).

## Codex: quota reset times (#962), fix
Codex quota failures now carry `resetsAt` from the current turn's exhausted window when it is attributable to this session's root turn, and from the provider body preserved in a remote-compaction HTTP 400. Conflicting resets, child-thread activity and streamed failures that lost the body stay without one.

## Native queries are bounded and clean up after themselves (#978), fix
The shared query deadline now covers startup, the native read and cleanup. An owned child process tree is stopped even when startup finishes late; at the deadline the caller returns while shutdown finishes; a completed read keeps its value if only cleanup is slow. This fixes droid and its tools staying alive after `authStatus()` returned `unknown` against a stalled Factory peer, and the same ownership gap in several model and skill readers, including Cursor while its SDK subprocess starts. OpenCode model listing applies the deadline to its version probe too and rejects an invalid budget before starting. Login subprocesses get the same process-tree shutdown, and Antigravity `logout()` keeps a successful native logout when the status check after it fails.

## Process cleanup when a runtime runs as another user (#963, #964), fix
Contributed by builder (airwing). With a `sudo -u <worker>` wrapper as the runtime command, signalling the worker's processes gets `EPERM`. That is no longer a failed cleanup: Codex's abort cleanup reports those processes as `SessionCleanup.foreign`. On POSIX, OAR no longer waits forever for output pipes that a leftover background process holds open after the root exits: it closes its ends after 2 s and names them in the `exited` reason, leaves unread data to a busy reader, and stops watching after a further 60 s.

## `dispose()` after a native exit (#979), fix
If the native process exits on its own before the host calls `dispose()` (seen on Pi RPC), `dispose()` now resolves at once instead of never answering. Concurrent callers share one disposal.

## Claude: `userInvocable` only from the skill's own command (#950), fix
`true` now needs the skill's own entry in Claude's command list. A duplicated name, or a project skill shadowed by a builtin command, stays unknown, and `false` is claimed only for user and project settings skills.

## Also
- Docs: runtime pages and specs now keep what the code cannot say, and refer to the code for the rest (#971, #973, #977). Fork and turn-control refusals are complete on every page (#970, #972). An `OAR_<RUNTIME>_BIN` override is the only candidate when it is non-empty (#980). OpenCode v1 automatic compaction over ACP is documented (#969). Kimi docs match current adapter behaviour (#957). November 18 runtime version check recorded (#967).
- harbor, the long-run test host: channel rules travel in the appended system prompt, so they survive compaction (#968).
- CI: the Antigravity ACP baseline moves to 1.5.11 (#956). Tests: clearer diagnostics and fewer flakes for Antigravity, Kimi, Grok, Pi, shell children and startup refusals (#949, #951, #952, #954, #959, #960, #961, #966).
- README: dsh-engine-switch added to projects using OAR (#974).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Cindy <[email protected]>
Co-authored-by: xxchan <[email protected]>
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.

0 participants