Skip to content

chore: refresh live probe model defaults - #153

Merged
xxchan merged 2 commits into
mainfrom
fix/probe-model-defaults-2026-10-06
Oct 6, 2026
Merged

xxchan merged 2 commits into
mainfrom
fix/probe-model-defaults-2026-10-06

Conversation

@xxchan

@xxchan xxchan commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

The live probes still selected gpt-5.3-codex-spark, which the current account rejects before testing the runtime. Use the verified Codex gpt-6-luna and Pi exe-dev-openai/gpt-6-luna@llm defaults in both probes. Add a single-runtime --model override to resume-other-cwd.ts so other logins/providers can supply their own model, as they already can with live-contract.ts.

Validation: pnpm run check passed. Real Codex and Pi basic turns passed without --model; the Codex different-directory probe recalled the codeword and ran its tool in the new directory. Pi's explicit model override completed the first turn, then retained its expected refusal to resume in another directory. Missing and ambiguous model overrides reject before opening a session. These are manual experiment defaults, with no package API or runtime adapter change.

Separate follow-up to #152; it does not block the 0.25.0 SDK release.

The initial Windows Codex job hit the existing 5-second readiness-probe timeout before any test case. The unchanged final head passed all 13 CI jobs on a debug rerun; original failure, retry and diagnostic limits are retained in issue #57. Main CI also passed after merge.

@xxchan
xxchan force-pushed the fix/probe-model-defaults-2026-10-06 branch from 27eccfd to 4a32e82 Compare October 6, 2026 09:46
@xxchan
xxchan merged commit 2a261a1 into main Oct 6, 2026
25 of 26 checks passed
@xxchan
xxchan deleted the fix/probe-model-defaults-2026-10-06 branch October 6, 2026 09:59
xxchan added a commit that referenced this pull request Oct 7, 2026
Release OAR and CLI 0.26.0. This PR changes only the two package version
fields.

**New**
- cursor `login` and `authStatus` through the SDK's own `Cursor.auth`
(#146): the URL is relayed as an `auth_url` event and the login ends on
its own once the user signs in on any device; nothing is pasted back.
`LoginAccount.expiresAt` (a `UtcInstant`) carries the expiry of cursor's
minted key (90 days). Needs `@cursor/sdk` 1.0.36, which 0.25.0 already
pins. Passed a real-account checklist on a fresh Linux machine. `oar
login cursor` works through the existing command.
- `experiments/cursor-login`: the real SDK login against a local mock
backend, to run on every `@cursor/sdk` upgrade (#150).

**Fixes**
- Executable probes (`--version`, `--help`, login status) default to 15
seconds instead of 5, after repeated Windows `.CMD` start-up timeouts
(#155, closes #57).
- Account usage: a probe that times out or fails to start rejects
instead of answering `unsupported` (claude, kimi); `timeoutMs` bounds
the whole read, default 30 seconds for claude, kimi and grok (#156).
- CLI: `oar installation`, `models`, `usage`, `skills`, `mcps`, `tools`
and the MCP `runtimes` tool report a failing runtime in its own entry
instead of losing every runtime's output; the exit code is 1 when any
failed (#156).

**Not host-facing**: live probe model defaults (#153), cursor docs
(#157).

Validation: `pnpm run check` passed locally on #146 after its rebase;
all 13 checks passed on the final heads of #146 and #150. After this PR
passes CI and merges, tag its exact squash commit as `v0.26.0` to
trigger npm trusted publishing.

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

Co-authored-by: exe.dev user <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
stamp-build Bot added a commit that referenced this pull request Nov 2, 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_1fa4dd995bda681621703ef81c293b8b"><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 -->

Claude and Codex resumed prompts were refused after observing only the
first resumed request. Native compaction changes that result: Claude's
replacement and append, and Codex's append, use the newly supplied value
after compaction. Omitting them instead drops the saved override at that
point. This change forwards those native options and removes the
incorrect refusals.

`Runtime.resumedSessionOptions` declares two independent facts per
option: when a different supplied value takes effect, and what omission
does. The optional map uses `SessionOptions` keys; absent entries mean
untested. Claude, Codex, Qwen, Pi SDK/RPC and Pi Durable have measured
declarations. Refusal declarations remain authoritative. OAR does not
compare prompt strings, inject instructions or add a compaction control.

All declared prompt options have native regressions for supplied and
omitted values before and after compaction. Claude uses `/compact`, Qwen
uses `/compress`, and Codex/Pi use native automatic compaction. Qwen
must report native completion with a smaller token count; Qwen/Pi must
also place a unique native summary in the next main request's history.
Sequential resumes track the current saved value. A registry-wide test
fixes the declaration inventory and prohibits overlap with refused
options.

Host migration: pass the current Claude/Codex prompts on every resume to
retain them after compaction. Codex replacement instructions survive
omission. Grok append-only sessions are the exception: omit append on
resume to retain the saved value; to change it, also supply replacement
instructions. A retained native Grok compaction probe supports that
exception. The spec, runtime pages, public JSDoc, root example and
decision reversing #469 are updated; the old dated report keeps its
original text with a correction. [Evidence and release-note
draft](https://github.com/botiverse/oar/blob/e052eb83297fd77e1c2481e0280ab6acbad62953/experiments/resume-prompts-2026-11-02.md).

Validation:
- Complete local check: 2,991 tests and 18 mock behaviors; build passed.
Packed public type consumption was verified for the unchanged exported
types.
- All 19 declaration-driven native controls passed; the full Durable
vendor file also passed.
- Eight original Claude/Codex mutation controls and eight added Qwen/Pi
runtime/dimension mutation runs failed their expected assertions.
Durable's incorrect `saved_until_compaction` declaration now fails after
compaction; Qwen/Pi's incorrect `saved` declaration expects the
preceding resume's new marker.
- Existing Claude/Codex/Grok behavior and vendor regressions passed.

Local native observations are Linux x64 against scripted providers.
Cross-platform validation is pending this revision's CI. Codex
declarations were exercised with local compaction; ChatGPT remote
compaction was only inspected in native source, not exercised.
Conditional Grok/OpenCode support and unmeasured Qoder/CodeBuddy
omission remain undeclared. Qwen's compaction-status attribution is a
separate task (#156).

Task #153. No version bump; release timing belongs to Cindy.

---------

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

2 participants