Skip to content

fix(qoder): confirm versioned ModelProvider identities - #624

Merged
stamp-build[bot] merged 1 commit into
mainfrom
agent/otter/qoder-1.1.82
Nov 5, 2026
Merged

stamp-build[bot] merged 1 commit into
mainfrom
agent/otter/qoder-1.1.82

Conversation

@stamp-build

@stamp-build stamp-build Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

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


Qoder 1.1.82 changed the model identity reported by system/init, so opening with an explicit selector could fail before any prompt. Confirm that identity using the versioned native catalog: through 1.1.81 use serverModel.display_name; from 1.1.82 require a unique displayName, an exact selector and matching modelId. Init must match exactly. Duplicate names, including disabled entries, cannot confirm a selection.

The stable-version parser also chooses the launch protocol. If installation metadata has no version, launch probes --version once in the session environment and carries that resolved version into both confirmation and listing. An unreadable or non-stable version refuses before launch. No second version rule or label fallback is introduced.

Evidence and limits:

  • Native catalog/init controls pass on 1.1.81, 1.1.82 and 1.1.83, including a wire assertion for modelId and a public open with version metadata omitted. They submit no prompt or inference.
  • Bugen independently checked a Free account on 1.1.83 without inference: all 15 display names were unique; the enabled qfmodel entry matched modelId, and Qwen3.8-Flash matched init.
  • Execution CI remains pinned to 1.1.81 by ci(qoder): pin native replay checks to 1.1.81 #623. The separate replay regression still prevents execution validation on 1.1.82 and 1.1.83. This change does not claim to fix replay.
  • The report is in experiments/qoder-native/model-provider-2026-11-05.md. The investigation and upstream draft include the 1.1.83 HTTP 500 shape; no upstream post has been made.

Validation: 96 Qoder unit cases, six semantic mutation controls, native 1.1.81 behavior (17 passed) and full vendor (13 passed), full check (3,160 tests and 18 mock cases), build and clean package installation passed. Newer-version catalog controls passed on Linux; cross-platform results depend on PR CI.

Cindy approved this separate model mapping scope. Merge after 0.87.0; intended for 0.87.1. The original patch is unchanged after rebasing onto #623.

@stamp-build
stamp-build Bot merged commit 96cf9f4 into main Nov 5, 2026
36 checks passed
@stamp-build
stamp-build Bot deleted the agent/otter/qoder-1.1.82 branch November 5, 2026 05:29
stamp-build Bot added a commit that referenced this pull request Nov 5, 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>opened from existing branch <code>agent/cindy/release-0.87.1</code> @ <code>ad07c70fab84</code>, which the agent did not push</sup><br><sup><a href="https://stamp.build/review?receipt=prc_bb4fe9e984b0f3f78fde2870a7753f4a"><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 -->

Patch release: Qoder 1.1.82 and newer can open sessions with a selected model again. This fixes the known issue listed in 0.87.0. Nothing changes on other runtimes or on Qoder through 1.1.81.

## Qoder model selection (#624)
- Qoder 1.1.82 removed `serverModel.display_name` from its model catalog, so opening with an explicit `model` from `listModels()` could be refused before any prompt. OAR now confirms the selection from the catalog format that version uses.
- **Behaviour change from 1.1.82:** an explicit `model` must be the `value` (`ModelEntry.id`) of exactly one catalog entry. That entry's `modelId` must equal it, and its `displayName` must be unique across the whole catalog, disabled entries included, and must equal the model Qoder reports at init. A display name such as `Qwen3.8-Flash` is refused even when init reports the same name, and so is any selection whose name is ambiguous.
- Through 1.1.81 confirmation is unchanged: a differing init name must match `serverModel.display_name`.
- `listModels().resolvedId` uses the same mapping. On 1.1.82 and newer, a row with a `value` that cannot be verified is still listed, without `resolvedId`, and opening it is refused. The exported `projectQoderModels(payload, version)` takes a new optional `version` and needs it to do the same.
- If the installation has no version, launch still reads `--version` once, and now also uses that result for model confirmation and listing. As before, an unreadable or non-stable version is refused before launch.

## What was and was not verified on 1.1.82 and newer
- **Verified:** catalog and init fields on 1.1.82 and 1.1.83 on Linux with no prompt sent, plus a read of a real Free account's catalog and init on 1.1.83, using native calls rather than OAR's adapter.
- **Not verified:** a successful prompt, tools, resume or any other execution. Qoder's native replay, which OAR's tests use, stopped working in 1.1.82, so OAR's CI runs Qoder execution checks at 1.1.81 (#623). Daily version checks keep tracking the newest release, and each new Qoder release gets a native run that reads its catalog.

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

Co-authored-by: Cindy <[email protected]>
stamp-build Bot added a commit that referenced this pull request Nov 5, 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_81ed11c88576b817a0148b45d8dc30d7"><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 -->

Refresh the November 2-4 native runtime evidence and move the CodeBuddy
ACP CI pin from 2.179.1 to 2.179.3. CodeBuddy's ACP controls and OAR
suites pass; its duplicate immediate stream-json prompts remain
documented. Existing assertions and deadlines stay unchanged.

The dated Qoder failures remain as historical evidence. This branch now
includes main's Qoder 1.1.81 CI pin (#623) and version-aware model
confirmation (#624). Qoder 1.1.83's replay failure is still unresolved,
so the newer version has no successful execution claim. The report
distinguishes its HTTP 500 from the earlier 1.1.82 error 10500.

Kimi's follow-up native investigation separates the original symptom
from actual execution: 2.5.0 preserves initial MCP declarations while
current resume configuration determines the executable tools. Omission
or an empty list leaves advertised old calls failing; renamed tools
execute without being advertised. The runtime page and dated report now
state this precisely. CI remains at 2.4.1 until the same controls pass
after an upstream fix. OAR neither filters declarations nor refuses all
resumed MCP configuration.

The Kimi and Qoder investigation reports, reproduction scripts and
selected redacted evidence now live under `experiments/`. Public
documentation links directly to these repository files, including the
existing ModelProvider report. `docs/development.md` requires publicly
readable evidence. The Qoder runtime page describes the
model-confirmation fix already merged in #624; the dated November 4
report preserves its historical failure.

The separate agy CLI 1.5.0 probe records only its network-isolated
initialize handshake. The Antigravity transport migration stays in #622.
Cursor SDK 1.3.1 has local login/configuration and offline summarize
evidence only; the peer stays 1.2.0. The reports also retain Qwen
boundaries, DSH watched-path comparisons and Windows observations.

Validation:

- New main baseline: full check passes (3,181 tests and 18 mock behavior
cases). The original three commits have identical patches after rebase.
Follow-up revisions clarify current Kimi and Qoder behavior and publish
the supporting probes and selected evidence.
- Dated native results remain unchanged: Claude 2.1.318, Qwen 0.26.7 and
CodeBuddy 2.179.3 behavior/vendor controls passed. Both package builds
passed in those runs.
- Kimi 2.5.0's MCP declaration assertion and Qoder 1.1.83's execution
failures remain in the evidence; no successful run is inferred from
them. The Kimi follow-up compares 2.4.1, 2.5.0 and a diagnostic native
copy using local scripted providers.
- The copied native probes were rerun from their repository paths: Kimi
2.4.1 and 2.5.0 reproduce all four declaration/execution outcomes;
guarded Qoder 1.1.81 reads the replay and succeeds, while 1.1.82 is
refused during initialize without reading it. No account or paid
inference was used.
- Fresh cross-platform CI runs against the new baseline.

Rebased onto main `91c626a5` after #626. Only the experiment index
needed conflict resolution; both entries are preserved. Product, test
and evidence patches are unchanged. The v0.87.1 release freeze has been
lifted.

---------

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.

0 participants