Skip to content

test(grok): run a real slow command on Windows in the interject vendor test - #722

Merged
stamp-build[bot] merged 2 commits into
mainfrom
cindy/grok-interject-windows-test
Nov 10, 2026
Merged

stamp-build[bot] merged 2 commits into
mainfrom
cindy/grok-interject-windows-test

Conversation

@stamp-build

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

Copy link
Copy Markdown
Contributor

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


Fixes the new Windows failure in the Grok interject vendor test (CI run 42880524360, found by Otter): Grok on Windows ran sleep 4; echo ... as sleep with the argument 4;, which failed in about 70 ms, so the slow-tool window the test relies on did not exist. The steer was accepted and the abort was rejected; the records of that run were not kept, so the exact order and rejection code are unknown.

  • The slow command is one word per platform: ping -n 5 127.0.0.1 on Windows, sleep 4 elsewhere; the model's follow-up no longer depends on the command's output.
  • Before the steer and before the abort the test asserts the tool is still running, so a turn that ended early fails loudly.
  • On failure the session records are written under OAR_TRIAL_RUN_DIR/grok-interject/, next to the provider evidence.

Test only. Both cases pass live on Grok 1.0.77 (Linux); Windows is checked by the observation job.

🤖 Generated with Claude Code

Cindy and others added 2 commits November 10, 2026 14:16
…r test

On Windows Grok ran `sleep 4; echo ...` as sleep with the argument "4;",
which failed in about 70 ms, so the turn ended before the steer and the
abort found nothing to stop (CI run 42880524360, Otter). The slow command
is now one word per platform (ping on Windows, sleep elsewhere), the test
asserts the tool is still running before the steer and the abort, and a
failure keeps the session records next to the provider evidence.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
stamp-build Bot added a commit that referenced this pull request Nov 10, 2026
…#724)

<!-- 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_9a958b05d7b1fb676154c5961376cf53"><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 -->

Record the November 10 core runtime inventory, reproducible native
controls and selected results. Antigravity 1.5.5 and Claude 2.1.322
pass; Kimi 2.5.3 keeps stale MCP declarations after resume, OpenCode
2.2.7 keeps its cold-start and v1 vendor limitations, and Durable 1.5.2
still lacks the watchEvents export used by OAR. Reuse today's Pi SDK/RPC
1.5.2 evidence and keep Qwen's unreleased stream-id change under
follow-up.

Update only the OpenCode isolated-cleanup CI installation and
exact-version expectation to 2.2.7. The Linux cleanup control passes,
with its behavior assertions and deadlines unchanged. Other runtime
pins, production sharing, product dependencies and implementation remain
unchanged. Windows observations preserve three Grok failures and the
earlier Claude/CodeBuddy failures; the Grok interject fixture repair is
independently handled by #722.

Validation: full repository check (3,832 tests and 18 mock behavior
cases) and both package builds passed after rebasing onto main at
6412c1d. Native behavior/vendor controls and their retained failures
are detailed in experiments/runtime-version-checks/2026-11-10.md and its
selected JSON. New-version execution evidence is limited to Linux with
local or synthetic providers; cross-platform cleanup results remain for
this PR's CI.

Co-authored-by: Otter <[email protected]>
@stamp-build
stamp-build Bot merged commit 2083f1e into main Nov 10, 2026
40 checks passed
@stamp-build
stamp-build Bot deleted the cindy/grok-interject-windows-test branch November 10, 2026 22:30
@stamp-build stamp-build Bot mentioned this pull request Nov 11, 2026
stamp-build Bot added a commit that referenced this pull request Nov 11, 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_b4346693e3c47eae60e940c1fb2d21c3"><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 -->

Minor release: Codex refusals are typed (an outdated Codex, an unreadable config.toml, and refused turns); Antigravity gets sign-in and status through agy's own login; Cursor moves to SDK 1.3.1.

## Upgrade notes
- **Cursor hosts must install `@cursor/[email protected]`.** The optional peer is an exact version and moves from 1.2.0 to 1.3.1 (#725).
- **`RejectionCode` gains `session_not_found`.** An exhaustive TypeScript switch over it must handle the new value.

## Codex refusals (#726)
- **An outdated Codex fails the open as `RuntimeFailureError` with `code: "runtime_outdated"`** (`failure: "invalid_request"`). The message names the running version (from `initialize`'s `userAgent`, else the installation's probed version, else "version unreported") and the first release that has what OAR sent. That covers `serviceTier: "default"` or `"priority"` before 0.129.0 and `thread/settings/update` (setting a resumed thread's effort) before 0.133.0.
- **An unreadable `config.toml` fails the open with `code: "runtime_config_invalid"`.** The message keeps Codex's words, including the file, line and column. Codex starts on its defaults and refuses only at `thread/start` / `thread/resume`.
- **Refused `turn/start`, `turn/steer` and `thread/queue/add` keep Codex's JSON-RPC error as `native` and are classified by its code.**
  - `thread not found` is the new rejection code `session_not_found`. This process no longer has the thread, so open a new Session with `resume`.
  - Input over Codex's limit is `runtime_refused` with `failure: "input_too_large"`.
  - A full request queue is `runtime_refused` with `failure: "overloaded"`.
  - A configuration that does not load, or a model provider the thread cannot use, is `runtime_refused` with `failure: "invalid_request"`.
  - Anything else stays `runtime_refused` without a class.
- **`failure` is new on the rejected response body, on `ControlOutcome`, and on rejected `DeliverResult` and `SteerOrQueueResult`.** `RuntimeFailureCode` is exported.
- Evidence: nine npm releases between 0.118.0 and 0.135.0, and 0.154.0, over raw app-server stdio ([probe](https://github.com/botiverse/oar/blob/main/experiments/codex-old-releases/README.md)), plus the 0.167.0 source for the turn/start paths. `docs/runtimes/codex.md` also notes that the Codex Desktop CLI can be older than the `codex` on PATH.

## Antigravity sign-in and status (#720)
- **`login`** runs `agy acp --login`. It relays agy's Google URL as `auth_url`, then asks the host with a `manual_code` prompt for the authorization code or the landing URL. OAR writes the answer only to agy's stdin, never reads or writes the credential, and asks again on a blank answer. With `openBrowser: false`, a do-nothing launcher keeps the browser closed on Linux (checked live) and macOS (from reading agy's binary, not run); on Windows, agy starts its browser launcher by absolute path, so the login returns `browser_suppression_unavailable` before anything runs.
- **`authStatus`** runs `agy models`. It reports `logged_in`, or `logged_out` on agy's "Please sign in", and `unknown` otherwise.
- **No `logout`**: agy refuses `/logout` outside its interactive UI, and OAR does not delete the token itself.
- This reverses OAR's earlier no-login stance for Antigravity, at the project owner's decision (`docs/design/decisions.md`). Google warns that third-party access with an Antigravity login breaks its terms; its [Antigravity terms](https://antigravity.google/terms) (section 6) name it as grounds for suspending the Antigravity and/or Gemini CLI accounts. Whether a host offers this is the host's and the user's call.
- Live status: the URL and prompt shape come from agy 1.5.5. A full successful sign-in through OAR has not been run yet; the first one will happen in Raft.

## Other
- Grok's Windows vendor test now runs a real slow command (#722).
- November 10 and 11 native runtime checks and OpenCode cleanup notes (#724, #725).

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

Co-authored-by: Cindy <[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