Repository navigation
ci: pin Claude, Codex and Qwen behavior installs - #887
Merged
Merged
Conversation
stamp-build Bot
added a commit
that referenced
this pull request
Nov 17, 2026
<!-- stamp:review:v1 --> <sup><img src="https://api.raft.build/api/avatars/pixel/ZXll.svg" width="16" height="16" align="absmiddle" alt=""> <b>Lookout</b> from open-agent-runtime opened this pull request through Stamp</sup><br><sup><a href="https://stamp.build/review?receipt=prc_805ef38ffb8f675d4977e359bcda7806"><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 --> New upstream runtime releases can fail unrelated PRs before OAR is tested. This completes #887 by separating accepted CI inputs from daily upstream candidates. No accepted runtime or SDK version changes. - Centralize existing ordinary CI and Windows ACP pins by test purpose. The shared installer requires HTTPS npm tarballs with SHA-512 integrity and verifies the downloaded digest, installs under a private prefix/HOME, and requires the native `--version` to equal the selected pin before publishing its executable path. Failures retain their stage and artifact identity. - Add `runtime-latest.yml`, scheduled at 06:17 UTC and manually dispatchable, with read-only permissions and no checkout credentials on disk. Native and SDK candidate jobs use no shared pnpm cache. Discovery freezes exact versions, URLs and digests once; changed native candidates run the supported OS suites; minimum, replay and historical controls are excluded. Pi/Pi AI/Durable/Chord/undici and Cursor use disposable SDK checkouts. Discovery/install failures stay red, and no baseline is promoted. - Move only CodeBuddy's live public installer smoke to daily. Retain fake-npm installer coverage and pinned ACP contracts in the gate. Split the packed-host check into accepted Pi overrides for the gate and original published ranges for daily; keep all import, type, bundle and single-copy assertions. Both floating checks run daily even when top-level versions are unchanged. The 41-job ordinary matrix, existing native versions, four Antigravity archive URLs/digests and the manual Grok cold-start control are preserved. Minimum, replay and helper pins remain separate. SDK baselines still come from package manifests and the lockfile. Version-specific probes in `experiments/runtime-versions.ts` remain bump prerequisites; daily success alone is not acceptance. Exact CLI pins do not freeze npm transitive ranges or runner images. Validation: `CI=1 pnpm run check` passed (4737 tests and 19 mock cases); both packed-host modes passed; actionlint passed for all three changed workflows. Tests cover once-only resolution, missing/corrupt artifacts, channel disagreement, partial discovery failures, and real offline npm installs that must reject a wrong native version. On Linux, all 14 distinct accepted CLI versions passed real download/integrity/install/native-version checks. Frozen Qwen 0.28.0 passed 17 behavior and 22 vendor cases using an isolated HOME and local provider. Both SDK preparation paths installed the current frozen SDK set and passed type checking; no newer SDK compatibility is claimed. No real accounts or paid model calls. The first head finished 39/41 CI checks: macOS hit the retained Antigravity MCP readiness failure (#871), and Windows exposed the sub-millisecond timeout assertion from #885, assigned to a separate fix. Both original logs and the failed-process artifact are preserved. This revised head still requires all CI checks. After merge, I will dispatch the daily workflow and retain the first scheduled run before closing the moved-coverage follow-up. The workflow does not run on PR events. --------- Co-authored-by: Lookout <[email protected]>
Merged
stamp-build Bot
added a commit
that referenced
this pull request
Nov 17, 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_59fd6b010bdb25aaad7a394187504b08"><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 model listing reads each model's effort menu while that model is selected, Qoder installations older than OAR's verified minimum are reported as needing an update, and `orient()` reports skill counts for more runtimes. ## Antigravity: each model's effort menu (#902), behavior change OAR 0.111 to 0.114 took non-default models' effort levels from the `session/new.models.availableModels` combinations. A reported signed-in catalog omitted the combinations for a non-default model, leaving that model without its effort menu. `listModels()` now selects every model on its temporary session with `session/set_config_option` (no prompt is sent), reads the `thought_level` menu Antigravity returns for that model, then restores the original model and effort and confirms both before closing. - A model whose menu is absent while selected has no effort fields: it has no effort setting. On the measured account, Sonnet 4.6, Opus 4.6 thinking and GPT-OSS are like this, and listing now confirms it by selecting them. - A failed switch, an unconfirmed selection or an empty menu gives that model `effortUnavailableReason`, never another model's levels. Only the original model's reported effort becomes `defaultEffort`. - If restoration cannot be confirmed, the whole listing fails rather than leave the selection changed. Listing falls back to the `availableModels` combinations when the starting selection cannot be restored from its reported fields, or when the first selection is not supported (method not found). - **Cost:** N selections plus restoration on the same temporary conversation. Measured on a signed-in Linux agy 1.5.10 account: 1.5 to 8.5 ms per selection. In a separate control that left a different model selected without restoring it, a fresh session still started on the saved default. Each listing still creates one Antigravity conversation record, as before; we suggest hosts cache the list per Antigravity version. - **Not yet verified:** a non-default Gemini model with its own effort menu (the reported Gemini 4 Hydrogen case). The measured account offered no such model. ## Qoder: minimum version 1.1.78 (#903) A Qoder CLI older than 1.1.78, or with an unreadable or prerelease version, was reported available, and every session then failed with "Qoder refused get_settings". `qoderRuntime.minVersion` is now `"1.1.78"`, and `installation()` returns `{ kind: "unsupported", code: "version_unsupported", via: "executable", command, reason, installedVersion?, requiredVersion: "1.1.78" }` for such an installation, the same shape as Antigravity's and Pi RPC's floors, so a host can offer an upgrade. The check is in `installation()`; a host that builds its own installation object and passes it to `session()` gets no version check. ## `orient()` skill counts (#886), behavior change The customization probe counts user skills by `SkillEntry.scope === "user"` instead of the native `source` label. In a complete discovered catalog, it leaves the count out when any skill has no `scope`. Qwen, DSH, Factory, Cursor, Codex, Grok, OpenCode, Kimi and Pi can now report a skills count where a native label hid it before; Devin and Antigravity report one only when every skill is built-in (then 0). Commands, MCP servers and tools keep the previous `source` rule. ## Also - CI: PR and main CI install exact runtime versions from `.github/runtime-versions.json` and verify the installed version; a scheduled run tests the newest releases separately and labels known failures; pull requests run only the behavior backends their change can reach, on Linux (#822, #887, #890, #893, #896, #901). Decision recorded in docs/design/decisions.md (#889, #892). - Evidence: Claude limit-reset refusal of remotely changed dialog text (#881), Antigravity signed-in model-menu probe (#895). - Tests: Windows cleanup evidence requires the recorded timeout (#885, #891); Pi input vendor cases keep their session traces (#898). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Cindy <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claude, Codex and Qwen behavior jobs currently resolve an unversioned npm package on every run. A newly published runtime can therefore change a pull request's test input or block the release gate, as the Qwen 0.28.0 tarball 404 did.
Add
.github/runtime-versions.jsonwith the accepted Claude 2.1.326, Codex 0.169.0 and Qwen 0.27.4 versions and links to the successful native CI jobs that reported them. The three-platform behavior matrix reads each exact package spec through a dependency-free Node helper. Missing entries, malformed files, non-exact versions and invalid package names fail before npm runs, with no fallback to latest.This is the first, partial fix in the accepted CI version plan. CodeBuddy's live installer and clean-install's published Pi ranges remain for the second PR. Exact top-level runtime versions also do not freeze npm transitive dependency ranges. Existing matrices, behavior and vendor commands, deadlines, caches and artifact uploads are retained.
Validation:
CI=1 pnpm run checkpasses on main a28863d with this change: 4722 tests, including 38 helper cases, plus 19 mock behavior cases; typecheck and lint pass. The helper regression cases exercise successful reads from another working directory and failure paths without npm or model calls; a parsed workflow comparison verifies that only the three installation steps changed. Cross-platform native verification will run in the existing CI jobs.